texlive[69183] abort reautoconf if an autoreconf fails; adapt

commits+karl at tug.org commits+karl at tug.org
Thu Dec 21 19:43:50 CET 2023


Revision: 69183
          https://tug.org/svn/texlive?view=revision&revision=69183
Author:   karl
Date:     2023-12-21 19:43:50 +0100 (Thu, 21 Dec 2023)
Log Message:
-----------
abort reautoconf if an autoreconf fails; adapt lcdf-typetools

Modified Paths:
--------------
    trunk/Build/source/ChangeLog
    trunk/Build/source/reautoconf
    trunk/Build/source/texk/lcdf-typetools/ChangeLog
    trunk/Build/source/texk/lcdf-typetools/configure.ac

Property Changed:
----------------
    trunk/Build/source/texk/lcdf-typetools/configure.ac

Modified: trunk/Build/source/ChangeLog
===================================================================
--- trunk/Build/source/ChangeLog	2023-12-21 15:16:53 UTC (rev 69182)
+++ trunk/Build/source/ChangeLog	2023-12-21 18:43:50 UTC (rev 69183)
@@ -1,3 +1,7 @@
+2023-12-21  Karl Berry  <karl at freefriends.org>
+
+	* reautoconf (do_it): abort the run if any command fails.
+
 2023-02-25  Karl Berry  <karl at tug.org>
 
 	* Build: show full uname -a.

Modified: trunk/Build/source/reautoconf
===================================================================
--- trunk/Build/source/reautoconf	2023-12-21 15:16:53 UTC (rev 69182)
+++ trunk/Build/source/reautoconf	2023-12-21 18:43:50 UTC (rev 69183)
@@ -3,7 +3,7 @@
 # This "reautoconf" script at the root of the TeX Live source tree 
 # runs autoreconf (from PATH) in all relevant TL directories.
 #
-# Copyright 2008-2021 Karl Berry.
+# Copyright 2008-2023 Karl Berry.
 # Copyright 2004-2009 Peter Breitenlohner.
 # Copyright 2005 Olaf Weber.
 #
@@ -29,7 +29,7 @@
   By default, also pass -Wno-obsolete, because Autoconf 2.70
   and later deprecated many widely used macros. See Build/m4/README for
   a lengthy discussion of this. To see the obsolete warnings (perhaps
-  because you want to spend time fixing them), use --warn-obsolete here.
+  because you want to spend time fixing them), use --warn-obsolete.
 
 Options:
   -h, --help      display this help and exit successfully
@@ -104,10 +104,12 @@
 export AUTOCONF AUTOHEADER AUTOMAKE ACLOCAL
 
 do_it () {
+  test x"$do_say" = x: || printf "\f "
   $do_say "$0: running \"$@\""
   $do_cmd "$@"
   if test $? -ne 0; then
-    echo "exit status of $*: $?" >&2
+    echo "$0: goodbye, exit status of $*: $?" >&2
+    exit 1
   fi
 }
 
@@ -116,7 +118,7 @@
         `find libs utils texk -type d -name ac | sed 's,/ac\$,,'`"
 fi
 
-# Autoreconf in all directories
+# Run autoreconf in all directories.
 for dir in $list; do
 
   if test ! -d "$dir"; then

Modified: trunk/Build/source/texk/lcdf-typetools/ChangeLog
===================================================================
--- trunk/Build/source/texk/lcdf-typetools/ChangeLog	2023-12-21 15:16:53 UTC (rev 69182)
+++ trunk/Build/source/texk/lcdf-typetools/ChangeLog	2023-12-21 18:43:50 UTC (rev 69183)
@@ -1,3 +1,11 @@
+2023-12-21  Karl Berry  <karl at freefriends.org>
+
+	* configure.ac (AC_CONFIG_FILES): write out all the
+	<subdir>/Makefile values separately (as the original configure.ac
+	does), instead of using an m4_foreach_w loop. Automake has given
+	an error with the creation via the loop for many versions now, and
+	we just never noticed.
+
 2023-09-01  Akira Kakuto  <kakuto at jcom.zaq.ne.jp>
 
 	Import lcdf-typetools-2.110.

Modified: trunk/Build/source/texk/lcdf-typetools/configure.ac
===================================================================
--- trunk/Build/source/texk/lcdf-typetools/configure.ac	2023-12-21 15:16:53 UTC (rev 69182)
+++ trunk/Build/source/texk/lcdf-typetools/configure.ac	2023-12-21 18:43:50 UTC (rev 69183)
@@ -1,6 +1,8 @@
+dnl $Id$
 dnl Process this file with autoconf to produce a configure script.
 dnl
-dnl   Copyright (C) 2009-2014 Peter Breitenlohner <tex-live at tug.org>
+dnl   Copyright 2014-2023 Karl Berry <tex-live at tug.org>
+dnl   Copyright 2009-2014 Peter Breitenlohner <tex-live at tug.org>
 dnl
 dnl   This file is free software; the copyright holder
 dnl   gives unlimited permission to copy and/or distribute it,
@@ -435,7 +437,20 @@
 
 AC_SUBST([LCDF_TYPETOOLS_TREE], [lcdf-typetools-src])
 
-AC_CONFIG_FILES([Makefile lcdf-typetools-src/Makefile])
-m4_foreach_w([Kpse_Prog],[liblcdf libefont kpse_lcdf_typetools_progs],[AC_CONFIG_FILES([lcdf-typetools-src/]Kpse_Prog[/Makefile])])
-
+AC_CONFIG_FILES([Makefile
+                 lcdf-typetools-src/Makefile
+                 lcdf-typetools-src/liblcdf/Makefile
+                 lcdf-typetools-src/libefont/Makefile
+                 lcdf-typetools-src/cfftot1/Makefile
+                 lcdf-typetools-src/mmafm/Makefile
+                 lcdf-typetools-src/mmpfb/Makefile
+                 lcdf-typetools-src/otfinfo/Makefile
+                 lcdf-typetools-src/otftotfm/Makefile
+                 lcdf-typetools-src/t1dotlessj/Makefile
+                 lcdf-typetools-src/t1lint/Makefile
+                 lcdf-typetools-src/t1rawafm/Makefile
+                 lcdf-typetools-src/t1reencode/Makefile
+                 lcdf-typetools-src/t1testpage/Makefile
+                 lcdf-typetools-src/ttftotype42/Makefile
+                ])
 AC_OUTPUT


Property changes on: trunk/Build/source/texk/lcdf-typetools/configure.ac
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Date Author Id Revision
\ No newline at end of property


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