mirror of
git://git.sv.gnu.org/autoconf
synced 2025-03-07 14:26:52 +08:00
* 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:
parent
8620019f37
commit
9ce265f05c
@ -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
|
||||
|
@ -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'
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user