texlive[71024] Build/source/texk/web2c: AC_USE_SYSTEM_EXTENSIONS

commits+karl at tug.org commits+karl at tug.org
Sun Apr 21 17:16:50 CEST 2024


Revision: 71024
          https://tug.org/svn/texlive?view=revision&revision=71024
Author:   karl
Date:     2024-04-21 17:16:49 +0200 (Sun, 21 Apr 2024)
Log Message:
-----------
AC_USE_SYSTEM_EXTENSIONS unconditionally

Modified Paths:
--------------
    trunk/Build/source/texk/web2c/ChangeLog
    trunk/Build/source/texk/web2c/configure
    trunk/Build/source/texk/web2c/configure.ac

Modified: trunk/Build/source/texk/web2c/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/ChangeLog	2024-04-20 23:42:22 UTC (rev 71023)
+++ trunk/Build/source/texk/web2c/ChangeLog	2024-04-21 15:16:49 UTC (rev 71024)
@@ -1,3 +1,9 @@
+2024-04-21  Karl Berry  <karl at 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 at freefriends.org>
 
 	* configure.ac (AC_USE_SYSTEM_EXTENSIONS) [enable_luatex]: call this.

Modified: trunk/Build/source/texk/web2c/configure
===================================================================
--- trunk/Build/source/texk/web2c/configure	2024-04-20 23:42:22 UTC (rev 71023)
+++ trunk/Build/source/texk/web2c/configure	2024-04-21 15:16:49 UTC (rev 71024)
@@ -3990,14 +3990,15 @@
 
 
 # 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;}
 
 
 
@@ -4008,6 +4009,7 @@
 
 
 
+
 # Expand $ac_aux_dir to an absolute path.
 am_aux_dir=`cd "$ac_aux_dir" && pwd`
 
@@ -5267,7 +5269,6 @@
 
 fi
 
-fi
 
 am__api_version='1.16'
 

Modified: trunk/Build/source/texk/web2c/configure.ac
===================================================================
--- trunk/Build/source/texk/web2c/configure.ac	2024-04-20 23:42:22 UTC (rev 71023)
+++ trunk/Build/source/texk/web2c/configure.ac	2024-04-21 15:16:49 UTC (rev 71024)
@@ -34,15 +34,16 @@
 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])
 
 AM_CONDITIONAL([cross], [test "x$cross_compiling" = xyes])



More information about the tex-live-commits mailing list.