* lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Make the check

for absolute directory names in one loop.
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle
  abbreviations of --version and --debug.
This commit is contained in:
Stepan Kasal 2005-05-12 11:26:07 +00:00
parent 8620019f37
commit 9ce265f05c
3 changed files with 16 additions and 18 deletions

View File

@ -1,3 +1,10 @@
2005-05-11 Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Make the check
for absolute directory names in one loop.
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle
abbreviations of --version and --debug.
2005-05-10 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Autoconf Language): Be more precise about

View File

@ -929,26 +929,17 @@ if test -n "$ac_prev"; then
fi
# Be sure to have absolute directory names.
for ac_var in exec_prefix prefix
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
datadir sysconfdir sharedstatedir localstatedir includedir \
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
libdir localedir mandir
do
eval ac_val=$`echo $ac_var`
case $ac_val in
[[\\/$]]* | ?:[[\\/]]* | NONE | '' ) ;;
*) AC_MSG_ERROR([expected an absolute directory name for --$ac_var: $ac_val]);;
esac
done
# Be sure to have absolute directory names.
for ac_var in bindir sbindir libexecdir datarootdir datadir sysconfdir \
sharedstatedir localstatedir includedir oldincludedir \
docdir infodir htmldir dvidir pdfdir psdir libdir \
localedir mandir
do
eval ac_val=$`echo $ac_var`
case $ac_val in
[[\\/$]]* | ?:[[\\/]]* ) ;;
*) AC_MSG_ERROR([expected an absolute directory name for --$ac_var: $ac_val]);;
[[\\/$]]* | ?:[[\\/]]* ) continue;;
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
esac
AC_MSG_ERROR([expected an absolute directory name for --$ac_var: $ac_val])
done
# There might be people who depend on the old broken behavior: `$host'

View File

@ -1428,7 +1428,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
ac_cs_recheck=: ;;
--version | --vers* | -V )
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
echo "$ac_cs_version"; exit ;;
--he | --h)
# Conflict between --help and --header
@ -1436,7 +1436,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF
Try `$[0] --help' for more information.]);;
--help | --hel | -h )
echo "$ac_cs_usage"; exit ;;
--debug | --d* | -d )
--debug | --debu | --deb | --de | --d | -d )
debug=: ;;
--file | --fil | --fi | --f )
$ac_shift