summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-04-21 15:16:49 +0000
committerKarl Berry <karl@freefriends.org>2024-04-21 15:16:49 +0000
commit919aa6620de6253cba2f8c674e4025eb1df82f59 (patch)
treeb7961cc7ec3ceb24e8fbab25b9b1578d6d659b14
parent8c8cc404cf29472be56cc2406cc4ebad8f06729e (diff)
AC_USE_SYSTEM_EXTENSIONS unconditionally
git-svn-id: svn://tug.org/texlive/trunk@71024 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/web2c/ChangeLog6
-rwxr-xr-xBuild/source/texk/web2c/configure15
-rw-r--r--Build/source/texk/web2c/configure.ac15
3 files changed, 22 insertions, 14 deletions
diff --git a/Build/source/texk/web2c/ChangeLog b/Build/source/texk/web2c/ChangeLog
index 35f9de31157..96014fdc24d 100644
--- a/Build/source/texk/web2c/ChangeLog
+++ b/Build/source/texk/web2c/ChangeLog
@@ -1,3 +1,9 @@
+2024-04-21 Karl Berry <karl@freefriends.org>
+
+ * configure.ac (AC_USE_SYSTEM_EXTENSIONS): make it unconditional,
+ since otherwise we get:
+make[5]: *** No rule to make target 'basechsuffix.', needed by 'lib.a'. Stop.
+
2024-04-18 Karl Berry <karl@freefriends.org>
* configure.ac (AC_USE_SYSTEM_EXTENSIONS) [enable_luatex]: call this.
diff --git a/Build/source/texk/web2c/configure b/Build/source/texk/web2c/configure
index caa82e5f0f8..0ea00d05113 100755
--- a/Build/source/texk/web2c/configure
+++ b/Build/source/texk/web2c/configure
@@ -3990,13 +3990,15 @@ WEB2CVERSION=2025/dev
# LuaTeX requires system extensions for socket support.
-# Must be at the very beginning.
+# Must be at the very beginning or warnings about compiler tests.
# SyncTeX and plenty of others unconditionally define GNU_SOURCE,
-# so it probably wouldn't hurt to always use system extensions,
-# but maybe it is cleaner not to, in the case of cut-down sources.
-if test "x$enable_luatex" = xyes; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using system extensions, since LuaTeX is enabled" >&5
-printf "%s\n" "$as_me: using system extensions, since LuaTeX is enabled" >&6;}
+# so it's probably more consistent to always use it.
+
+# Also, we can't easily make it conditional on LuaTeX only because then
+# OBJEXT ends up defined as the empty string (error: no way to make
+# "basechsuffix."), which seems odd, but whatever.
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: using system extensions" >&5
+printf "%s\n" "$as_me: using system extensions" >&6;}
@@ -5267,7 +5269,6 @@ then :
fi
-fi
am__api_version='1.16'
diff --git a/Build/source/texk/web2c/configure.ac b/Build/source/texk/web2c/configure.ac
index 19f05bdd6cd..2f3fb57905a 100644
--- a/Build/source/texk/web2c/configure.ac
+++ b/Build/source/texk/web2c/configure.ac
@@ -34,14 +34,15 @@ WEB2CVERSION=tex_live_version()
AC_SUBST([WEB2CVERSION])
# LuaTeX requires system extensions for socket support.
-# Must be at the very beginning.
+# Must be at the very beginning or warnings about compiler tests.
# SyncTeX and plenty of others unconditionally define GNU_SOURCE,
-# so it probably wouldn't hurt to always use system extensions,
-# but maybe it is cleaner not to, in the case of cut-down sources.
-if test "x$enable_luatex" = xyes; then
- AC_MSG_NOTICE([using system extensions, since LuaTeX is enabled])
- AC_USE_SYSTEM_EXTENSIONS
-fi
+# so it's probably more consistent to always use it.
+
+# Also, we can't easily make it conditional on LuaTeX only because then
+# OBJEXT ends up defined as the empty string (error: no way to make
+# "basechsuffix."), which seems odd, but whatever.
+AC_MSG_NOTICE([using system extensions])
+AC_USE_SYSTEM_EXTENSIONS
KPSE_COMMON([web2c programs])