summaryrefslogtreecommitdiff
path: root/Build/source/libs
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-04-18 22:38:26 +0000
committerKarl Berry <karl@freefriends.org>2024-04-18 22:38:26 +0000
commit488c1c703069d235e225c2f4576c65a690a0d449 (patch)
tree666d96090e50030a04d6ca11cf8c49d4de1ae0a3 /Build/source/libs
parent44a329792efd28a3e800cc47341d26b1eb4425d8 (diff)
reautoconf
git-svn-id: svn://tug.org/texlive/trunk@70986 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs')
-rwxr-xr-xBuild/source/libs/cairo/configure15
-rwxr-xr-xBuild/source/libs/configure26
-rwxr-xr-xBuild/source/libs/gmp/configure15
-rwxr-xr-xBuild/source/libs/harfbuzz/configure30
-rwxr-xr-xBuild/source/libs/libpng/configure15
-rwxr-xr-xBuild/source/libs/mpfi/configure15
-rwxr-xr-xBuild/source/libs/mpfr/configure15
-rwxr-xr-xBuild/source/libs/pixman/configure15
-rwxr-xr-xBuild/source/libs/zlib/configure15
-rwxr-xr-xBuild/source/libs/zziplib/configure15
10 files changed, 130 insertions, 46 deletions
diff --git a/Build/source/libs/cairo/configure b/Build/source/libs/cairo/configure
index 5f018773ecb..b7fa5e5b1d9 100755
--- a/Build/source/libs/cairo/configure
+++ b/Build/source/libs/cairo/configure
@@ -6447,8 +6447,19 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
extern void foo(void);
void foo(void){printf("foo\n");}
_ACEOF
-# FIXME: Add tests for non-GNU compilers
-for kpse_flag in '-fvisibility=hidden -fvisibility-inlines-hidden' '-fvisibility=hidden'; do
+# Maybe other compiler need other tests; patches needed.
+#
+# The idea, maybe, is to use both flags when they are supported, but
+# old C++ compilers, as well as C, don't support
+# -fvisibility-inlines-hidden, so test just -fvisibility=hidden too?
+#
+for kpse_flag in "-fvisibility=hidden -fvisibility-inlines-hidden" \
+ "-fvisibility=hidden"; do
+ if test x"C" = xC \
+ && echo "$kpse_flag" | grep inlines-hidden >/dev/null; then
+ # C does not support this additional flag; just skip the test.
+ continue
+ fi
CFLAGS="$kpse_save_flags -Werror $kpse_flag"
if ac_fn_c_try_compile "$LINENO"
then :
diff --git a/Build/source/libs/configure b/Build/source/libs/configure
index 48b8eabffd3..68aea89ae3e 100755
--- a/Build/source/libs/configure
+++ b/Build/source/libs/configure
@@ -751,8 +751,6 @@ enable_etex
enable_etex_synctex
enable_ptex
enable_ptex_synctex
-enable_eptex
-enable_eptex_synctex
enable_uptex
enable_uptex_synctex
enable_euptex
@@ -1553,8 +1551,6 @@ Optional Features:
--disable-etex-synctex build e-TeX without SyncTeX support
--enable-ptex compile and install pTeX
--disable-ptex-synctex build pTeX without SyncTeX support
- --enable-eptex compile and install e-pTeX
- --disable-eptex-synctex build e-pTeX without SyncTeX support
--enable-uptex compile and install upTeX
--disable-uptex-synctex build upTeX without SyncTeX support
--disable-euptex do not compile and install e-upTeX
@@ -4550,28 +4546,6 @@ test "x$enable_web2c:$enable_ptex" = xyes:yes && {
need_ptexenc=yes
need_zlib=yes
}
-# Check whether --enable-eptex was given.
-if test ${enable_eptex+y}
-then :
- enableval=$enable_eptex;
-fi
-case $enable_eptex in #(
- yes | no) :
- ;; #(
- *) :
- enable_eptex=no ;;
-esac
-
-# Check whether --enable-eptex-synctex was given.
-if test ${enable_eptex_synctex+y}
-then :
- enableval=$enable_eptex_synctex;
-fi
-
-test "x$enable_web2c:$enable_eptex" = xyes:yes && {
- need_ptexenc=yes
- need_zlib=yes
-}
# Check whether --enable-uptex was given.
if test ${enable_uptex+y}
then :
diff --git a/Build/source/libs/gmp/configure b/Build/source/libs/gmp/configure
index f82009c98ad..861cad486dc 100755
--- a/Build/source/libs/gmp/configure
+++ b/Build/source/libs/gmp/configure
@@ -5912,8 +5912,19 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
extern void foo(void);
void foo(void){printf("foo\n");}
_ACEOF
-# FIXME: Add tests for non-GNU compilers
-for kpse_flag in '-fvisibility=hidden -fvisibility-inlines-hidden' '-fvisibility=hidden'; do
+# Maybe other compiler need other tests; patches needed.
+#
+# The idea, maybe, is to use both flags when they are supported, but
+# old C++ compilers, as well as C, don't support
+# -fvisibility-inlines-hidden, so test just -fvisibility=hidden too?
+#
+for kpse_flag in "-fvisibility=hidden -fvisibility-inlines-hidden" \
+ "-fvisibility=hidden"; do
+ if test x"C" = xC \
+ && echo "$kpse_flag" | grep inlines-hidden >/dev/null; then
+ # C does not support this additional flag; just skip the test.
+ continue
+ fi
CFLAGS="$kpse_save_flags -Werror $kpse_flag"
if ac_fn_c_try_compile "$LINENO"
then :
diff --git a/Build/source/libs/harfbuzz/configure b/Build/source/libs/harfbuzz/configure
index fb021dff2c5..a179969feb9 100755
--- a/Build/source/libs/harfbuzz/configure
+++ b/Build/source/libs/harfbuzz/configure
@@ -7754,8 +7754,19 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
extern void foo(void);
void foo(void){printf("foo\n");}
_ACEOF
-# FIXME: Add tests for non-GNU compilers
-for kpse_flag in '-fvisibility=hidden -fvisibility-inlines-hidden' '-fvisibility=hidden'; do
+# Maybe other compiler need other tests; patches needed.
+#
+# The idea, maybe, is to use both flags when they are supported, but
+# old C++ compilers, as well as C, don't support
+# -fvisibility-inlines-hidden, so test just -fvisibility=hidden too?
+#
+for kpse_flag in "-fvisibility=hidden -fvisibility-inlines-hidden" \
+ "-fvisibility=hidden"; do
+ if test x"C" = xC \
+ && echo "$kpse_flag" | grep inlines-hidden >/dev/null; then
+ # C does not support this additional flag; just skip the test.
+ continue
+ fi
CFLAGS="$kpse_save_flags -Werror $kpse_flag"
if ac_fn_c_try_compile "$LINENO"
then :
@@ -7804,8 +7815,19 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
extern void foo(void);
void foo(void){printf("foo\n");}
_ACEOF
-# FIXME: Add tests for non-GNU compilers
-for kpse_flag in '-fvisibility=hidden -fvisibility-inlines-hidden' '-fvisibility=hidden'; do
+# Maybe other compiler need other tests; patches needed.
+#
+# The idea, maybe, is to use both flags when they are supported, but
+# old C++ compilers, as well as C, don't support
+# -fvisibility-inlines-hidden, so test just -fvisibility=hidden too?
+#
+for kpse_flag in "-fvisibility=hidden -fvisibility-inlines-hidden" \
+ "-fvisibility=hidden"; do
+ if test x"C++" = xC \
+ && echo "$kpse_flag" | grep inlines-hidden >/dev/null; then
+ # C does not support this additional flag; just skip the test.
+ continue
+ fi
CXXFLAGS="$kpse_save_flags -Werror $kpse_flag"
if ac_fn_cxx_try_compile "$LINENO"
then :
diff --git a/Build/source/libs/libpng/configure b/Build/source/libs/libpng/configure
index cde9141410e..30fb8e63747 100755
--- a/Build/source/libs/libpng/configure
+++ b/Build/source/libs/libpng/configure
@@ -6169,8 +6169,19 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
extern void foo(void);
void foo(void){printf("foo\n");}
_ACEOF
-# FIXME: Add tests for non-GNU compilers
-for kpse_flag in '-fvisibility=hidden -fvisibility-inlines-hidden' '-fvisibility=hidden'; do
+# Maybe other compiler need other tests; patches needed.
+#
+# The idea, maybe, is to use both flags when they are supported, but
+# old C++ compilers, as well as C, don't support
+# -fvisibility-inlines-hidden, so test just -fvisibility=hidden too?
+#
+for kpse_flag in "-fvisibility=hidden -fvisibility-inlines-hidden" \
+ "-fvisibility=hidden"; do
+ if test x"C" = xC \
+ && echo "$kpse_flag" | grep inlines-hidden >/dev/null; then
+ # C does not support this additional flag; just skip the test.
+ continue
+ fi
CFLAGS="$kpse_save_flags -Werror $kpse_flag"
if ac_fn_c_try_compile "$LINENO"
then :
diff --git a/Build/source/libs/mpfi/configure b/Build/source/libs/mpfi/configure
index 03b687185c5..4855156c1f7 100755
--- a/Build/source/libs/mpfi/configure
+++ b/Build/source/libs/mpfi/configure
@@ -5689,8 +5689,19 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
extern void foo(void);
void foo(void){printf("foo\n");}
_ACEOF
-# FIXME: Add tests for non-GNU compilers
-for kpse_flag in '-fvisibility=hidden -fvisibility-inlines-hidden' '-fvisibility=hidden'; do
+# Maybe other compiler need other tests; patches needed.
+#
+# The idea, maybe, is to use both flags when they are supported, but
+# old C++ compilers, as well as C, don't support
+# -fvisibility-inlines-hidden, so test just -fvisibility=hidden too?
+#
+for kpse_flag in "-fvisibility=hidden -fvisibility-inlines-hidden" \
+ "-fvisibility=hidden"; do
+ if test x"C" = xC \
+ && echo "$kpse_flag" | grep inlines-hidden >/dev/null; then
+ # C does not support this additional flag; just skip the test.
+ continue
+ fi
CFLAGS="$kpse_save_flags -Werror $kpse_flag"
if ac_fn_c_try_compile "$LINENO"
then :
diff --git a/Build/source/libs/mpfr/configure b/Build/source/libs/mpfr/configure
index 4ea91bc291e..e40002f47e9 100755
--- a/Build/source/libs/mpfr/configure
+++ b/Build/source/libs/mpfr/configure
@@ -5779,8 +5779,19 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
extern void foo(void);
void foo(void){printf("foo\n");}
_ACEOF
-# FIXME: Add tests for non-GNU compilers
-for kpse_flag in '-fvisibility=hidden -fvisibility-inlines-hidden' '-fvisibility=hidden'; do
+# Maybe other compiler need other tests; patches needed.
+#
+# The idea, maybe, is to use both flags when they are supported, but
+# old C++ compilers, as well as C, don't support
+# -fvisibility-inlines-hidden, so test just -fvisibility=hidden too?
+#
+for kpse_flag in "-fvisibility=hidden -fvisibility-inlines-hidden" \
+ "-fvisibility=hidden"; do
+ if test x"C" = xC \
+ && echo "$kpse_flag" | grep inlines-hidden >/dev/null; then
+ # C does not support this additional flag; just skip the test.
+ continue
+ fi
CFLAGS="$kpse_save_flags -Werror $kpse_flag"
if ac_fn_c_try_compile "$LINENO"
then :
diff --git a/Build/source/libs/pixman/configure b/Build/source/libs/pixman/configure
index 705835c9ea4..2270ba85737 100755
--- a/Build/source/libs/pixman/configure
+++ b/Build/source/libs/pixman/configure
@@ -6218,8 +6218,19 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
extern void foo(void);
void foo(void){printf("foo\n");}
_ACEOF
-# FIXME: Add tests for non-GNU compilers
-for kpse_flag in '-fvisibility=hidden -fvisibility-inlines-hidden' '-fvisibility=hidden'; do
+# Maybe other compiler need other tests; patches needed.
+#
+# The idea, maybe, is to use both flags when they are supported, but
+# old C++ compilers, as well as C, don't support
+# -fvisibility-inlines-hidden, so test just -fvisibility=hidden too?
+#
+for kpse_flag in "-fvisibility=hidden -fvisibility-inlines-hidden" \
+ "-fvisibility=hidden"; do
+ if test x"C" = xC \
+ && echo "$kpse_flag" | grep inlines-hidden >/dev/null; then
+ # C does not support this additional flag; just skip the test.
+ continue
+ fi
CFLAGS="$kpse_save_flags -Werror $kpse_flag"
if ac_fn_c_try_compile "$LINENO"
then :
diff --git a/Build/source/libs/zlib/configure b/Build/source/libs/zlib/configure
index 17e9e36c368..6492ecf5235 100755
--- a/Build/source/libs/zlib/configure
+++ b/Build/source/libs/zlib/configure
@@ -5869,8 +5869,19 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
extern void foo(void);
void foo(void){printf("foo\n");}
_ACEOF
-# FIXME: Add tests for non-GNU compilers
-for kpse_flag in '-fvisibility=hidden -fvisibility-inlines-hidden' '-fvisibility=hidden'; do
+# Maybe other compiler need other tests; patches needed.
+#
+# The idea, maybe, is to use both flags when they are supported, but
+# old C++ compilers, as well as C, don't support
+# -fvisibility-inlines-hidden, so test just -fvisibility=hidden too?
+#
+for kpse_flag in "-fvisibility=hidden -fvisibility-inlines-hidden" \
+ "-fvisibility=hidden"; do
+ if test x"C" = xC \
+ && echo "$kpse_flag" | grep inlines-hidden >/dev/null; then
+ # C does not support this additional flag; just skip the test.
+ continue
+ fi
CFLAGS="$kpse_save_flags -Werror $kpse_flag"
if ac_fn_c_try_compile "$LINENO"
then :
diff --git a/Build/source/libs/zziplib/configure b/Build/source/libs/zziplib/configure
index b335108be26..3cd8fe68171 100755
--- a/Build/source/libs/zziplib/configure
+++ b/Build/source/libs/zziplib/configure
@@ -6340,8 +6340,19 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
extern void foo(void);
void foo(void){printf("foo\n");}
_ACEOF
-# FIXME: Add tests for non-GNU compilers
-for kpse_flag in '-fvisibility=hidden -fvisibility-inlines-hidden' '-fvisibility=hidden'; do
+# Maybe other compiler need other tests; patches needed.
+#
+# The idea, maybe, is to use both flags when they are supported, but
+# old C++ compilers, as well as C, don't support
+# -fvisibility-inlines-hidden, so test just -fvisibility=hidden too?
+#
+for kpse_flag in "-fvisibility=hidden -fvisibility-inlines-hidden" \
+ "-fvisibility=hidden"; do
+ if test x"C" = xC \
+ && echo "$kpse_flag" | grep inlines-hidden >/dev/null; then
+ # C does not support this additional flag; just skip the test.
+ continue
+ fi
CFLAGS="$kpse_save_flags -Werror $kpse_flag"
if ac_fn_c_try_compile "$LINENO"
then :