texlive[69219] Build/source: do not bother with TL_* envvars, just

commits+karl at tug.org commits+karl at tug.org
Tue Dec 26 18:22:21 CET 2023


Revision: 69219
          https://tug.org/svn/texlive?view=revision&revision=69219
Author:   karl
Date:     2023-12-26 18:22:21 +0100 (Tue, 26 Dec 2023)
Log Message:
-----------
do not bother with TL_* envvars, just require setting PATH

Modified Paths:
--------------
    trunk/Build/source/ChangeLog
    trunk/Build/source/reautoconf

Modified: trunk/Build/source/ChangeLog
===================================================================
--- trunk/Build/source/ChangeLog	2023-12-26 00:43:05 UTC (rev 69218)
+++ trunk/Build/source/ChangeLog	2023-12-26 17:22:21 UTC (rev 69219)
@@ -1,3 +1,9 @@
+2023-12-26  Karl Berry  <karl at freefriends.org>
+
+	* reautoconf: don't bother with environment variables;
+	because the autotools have many subprograms, setting PATH
+	is what makes sense.
+
 2023-12-23  Karl Berry  <karl at tug.org>
 
 	* reautoconf with autoconf-2.72.

Modified: trunk/Build/source/reautoconf
===================================================================
--- trunk/Build/source/reautoconf	2023-12-26 00:43:05 UTC (rev 69218)
+++ trunk/Build/source/reautoconf	2023-12-26 17:22:21 UTC (rev 69219)
@@ -38,11 +38,7 @@
   -v, --verbose   verbosely report processing (default)
       --warn-obsolete  do not pass -Wno-obsolete
 
-Environment variables:
-  TL_AUTOCONF:   program to use instead of autoconf from PATH
-  TL_AUTOHEADER: program to use instead of autoheader from PATH
-  TL_AUTOMAKE:   program to use instead of automake from PATH
-  TL_ACLOCAL:    program to use instead of aclocal from PATH
+All programs are found along PATH.
 
 This script should be invoked only from the top level of the TeX Live
 source tree.
@@ -81,28 +77,17 @@
   exit 1
 fi
 
-: ${TL_AUTOCONF=autoconf}
-echo "$0: using \"$TL_AUTOCONF\" = `$TL_AUTOCONF --version | sed 1q`"
-: ${TL_AUTOHEADER=autoheader}
-echo "$0: using \"$TL_AUTOHEADER\" = `$TL_AUTOHEADER --version | sed 1q`"
-: ${TL_AUTOMAKE=automake}
-echo "$0: using \"$TL_AUTOMAKE\" = `$TL_AUTOMAKE --version | sed 1q`"
-: ${TL_ACLOCAL=aclocal}
-echo "$0: using \"$TL_ACLOCAL\" = `$TL_ACLOCAL --version | sed 1q`"
-echo "$0:       if you want to use different versions, set TL_AUTOCONF,"
-echo "$0:               TL_AUTOHEADER, TL_AUTOMAKE, and/or TL_ACLOCAL."
+echo "$0: using `autoconf --version | sed 1q`"
+echo "$0: using `autoheader --version | sed 1q`"
+echo "$0: using `autom4te --version | sed 1q`"
+echo "$0: using `automake --version | sed 1q`"
+echo "$0: using `aclocal --version | sed 1q`"
+echo "$0:       if you want to use different versions, set PATH."
 
-# Give users a chance to quit here
-# and set TL_AUTOCONF, TL_AUTOHEADER, TL_AUTOMAKE, and/or TL_ACLOCAL
+# Give users a chance to quit here.
 $do_cmd sleep 4
 $do_say "$0: starting at `date`."
 
-AUTOCONF=$TL_AUTOCONF
-AUTOHEADER=$TL_AUTOHEADER
-AUTOMAKE=$TL_AUTOMAKE
-ACLOCAL=$TL_ACLOCAL
-export AUTOCONF AUTOHEADER AUTOMAKE ACLOCAL
-
 do_it () {
   test x"$do_say" = x: || printf "\f "
   $do_say "$0: running \"$@\""



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