+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.
-H | --more-hardlinks
--help (same output)
-Remove exit() in GLImport.py.
-
Optimize:
- os.chdir around subprocess creation -> cwd=... argument instead.
- Inline all 'sed' invocations.
--------------------------------------------------------------------------------
-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
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')
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'