diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2021-04-26 23:31:29 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2021-04-26 23:31:58 -0700 |
commit | 4b071c115309079528db7b60e8d2ffb22b129088 (patch) | |
tree | af76848c6499ecf53474e18eb855df5d53ada6c1 /gnulib-tool | |
parent | 354b9691accd00a531358b652689ce7f580fbe54 (diff) | |
download | gnulib-4b071c115309079528db7b60e8d2ffb22b129088.tar.gz |
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.
Diffstat (limited to 'gnulib-tool')
-rwxr-xr-x | gnulib-tool | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gnulib-tool b/gnulib-tool index 1a9a45aaf1..182b9b4a4e 100755 --- a/gnulib-tool +++ b/gnulib-tool @@ -6142,9 +6142,11 @@ s,//*$,/,' fi done if grep '^ *AC_PROG_CC_STDC' "$configure_ac" > /dev/null; then + echo " - replace AC_PROG_CC_STDC with AC_PROG_CC in $configure_ac," position_early_after=AC_PROG_CC_STDC else if grep '^ *AC_PROG_CC_C99' "$configure_ac" > /dev/null; then + echo " - replace AC_PROG_CC_C99 with AC_PROG_CC in $configure_ac," position_early_after=AC_PROG_CC_C99 else position_early_after=AC_PROG_CC |