]> Savannah Git Hosting - gnulib.git/commitdiff
gnulib-tool.py: Follow gnulib-tool changes, part 56.
authorCollin Funk <collin.funk1@gmail.com>
Tue, 12 Mar 2024 20:01:50 +0000 (13:01 -0700)
committerBruno Haible <bruno@clisp.org>
Tue, 12 Mar 2024 21:00:06 +0000 (22:00 +0100)
Follow gnulib-tool change
2021-04-26  Paul Eggert  <eggert@cs.ucla.edu>
gnulib-tool: port better to current Autoconf

* pygnulib/GLImport.py (GLImport.execute): Remove exit() call before
printing reminders. Suggest replacing AC_PROG_CC_STDC and
AC_PROG_CC_C99, as per current Autoconf.

ChangeLog
gnulib-tool.py.TODO
pygnulib/GLImport.py

index 180ca802cdd9a2c992728e96bb89316230ff4fc1..ff9cca64391b7cecce8c7b5a41e7469b95702f8a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2024-03-12  Collin Funk  <collin.funk1@gmail.com>
+
+       gnulib-tool.py: Follow gnulib-tool changes, part 56.
+       Follow gnulib-tool change
+       2021-04-26  Paul Eggert  <eggert@cs.ucla.edu>
+       gnulib-tool: port better to current Autoconf
+       * pygnulib/GLImport.py (GLImport.execute): Remove exit() call before
+       printing reminders. Suggest replacing AC_PROG_CC_STDC and
+       AC_PROG_CC_C99, as per current Autoconf.
+
 2024-03-12  Collin Funk  <collin.funk1@gmail.com>
 
        gnulib-tool.py: Fix last commit.
index 47e3fe56dcce9e5f651cabd2686120600ac4bc28..d4de5519762c75a1af095313137d0eea2eea139d 100644 (file)
@@ -24,8 +24,6 @@ Implement the options:
   -H | --more-hardlinks
   --help (same output)
 
-Remove exit() in GLImport.py.
-
 Optimize:
   - os.chdir around subprocess creation -> cwd=... argument instead.
   - Inline all 'sed' invocations.
@@ -156,19 +154,6 @@ Date:   Sun Dec 19 12:49:16 2021 +0100
 
 --------------------------------------------------------------------------------
 
-commit 4b071c115309079528db7b60e8d2ffb22b129088
-Author: Paul Eggert <eggert@cs.ucla.edu>
-Date:   Mon Apr 26 23:31:29 2021 -0700
-
-    gnulib-tool: port better to current Autoconf
-
-    * doc/gnulib-tool.texi (Initial import): Don’t mention
-    AC_PROG_CC_STDC as it’s deprecated in current Autoconf.
-    * gnulib-tool (func_done_dir): Suggest replacing
-    AC_PROG_CC_STDC and AC_PROG_CC_C99, as per current Autoconf.
-
---------------------------------------------------------------------------------
-
 commit 0be855ee827bf7e9043eeb626c4fd847704be2e6
 Author: Bruno Haible <bruno@clisp.org>
 Date:   Tue Dec 29 02:48:31 2020 +0100
index db8c1c24a6b52c4f35b963551526836f8c1f86f4..c65ba7d3f7978ddfc37f9755ed42256affea2399 100644 (file)
@@ -1417,7 +1417,6 @@ AC_DEFUN([%s_FILE_LIST], [\n''' % macro_prefix
                 elif operand == '|R|':
                     last_dirs_removed += [filename]
             self._done_dir_(last_dir, last_dirs_added, last_dirs_removed)
-        exit()
 
         # Finish the work.
         print('Finished.\n')
@@ -1499,8 +1498,10 @@ in <library>_a_LDFLAGS or <library>_la_LDFLAGS when linking a library.''')
         match_result2 = \
             bool(re.compile('^ *AC_PROG_CC_C99', re.M).findall(data))
         if match_result1:
+            print('  - replace AC_PROG_CC_STDC with AC_PROG_CC in %s,' % (configure_ac))
             position_early_after = 'AC_PROG_CC_STDC'
         elif match_result2:
+            print('  - replace AC_PROG_CC_C99 with AC_PROG_CC in %s,' % (configure_ac))
             position_early_after = 'AC_PROG_CC_C99'
         else:  # if not any([match_result1, match_result2])
             position_early_after = 'AC_PROG_CC'