mirror of
git://git.sv.gnu.org/autoconf
synced 2025-04-18 15:30:24 +08:00
* lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
This commit is contained in:
parent
2ba3688c02
commit
e3a8667131
@ -1,3 +1,7 @@
|
||||
2001-12-14 Aaron M. Ucko <amu@alum.mit.edu>
|
||||
|
||||
* lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
|
||||
|
||||
2001-12-14 Akim Demaille <akim@epita.fr>
|
||||
|
||||
* Makefile.am (MAINTAINERCLEANFILES): Remove configure.
|
||||
|
3
NEWS
3
NEWS
@ -61,6 +61,9 @@
|
||||
- AC_TRY_RUN
|
||||
Under the user pressure, $? is finally available. Probably a mistake.
|
||||
- AC_F77_LIBRARY_LDFLAGS now supports the HP/UX f90 compiler.
|
||||
- Precious variables accumulation
|
||||
config.status could stack several copies of the precious variables
|
||||
assignments.
|
||||
|
||||
** C Macros
|
||||
|
||||
|
1
THANKS
1
THANKS
@ -3,6 +3,7 @@ It would not be what it is today without the invaluable help of these
|
||||
people:
|
||||
|
||||
Aaron Crane aaronc@pobox.com
|
||||
Aaron M. Ucko amu@alum.mit.edu
|
||||
Aharon Robbins arnold@gnu.org
|
||||
Akim Demaille akim@freefriends.org
|
||||
Alain Knaff Alain.Knaff@imag.fr
|
||||
|
@ -1130,17 +1130,19 @@ for ac_arg
|
||||
do
|
||||
case $ac_arg in
|
||||
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
||||
| --no-cr | --no-c) ;;
|
||||
| --no-cr | --no-c) continue ;;
|
||||
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
||||
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
|
||||
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
|
||||
continue ;;
|
||||
dnl If you change this globbing pattern, test it on an old shell --
|
||||
dnl it's sensitive. Putting any kind of quote in it causes syntax errors.
|
||||
[ *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)]
|
||||
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
|
||||
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
|
||||
ac_sep=" " ;;
|
||||
*) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
|
||||
ac_sep=" " ;;
|
||||
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
||||
esac
|
||||
case " $ac_configure_args " in
|
||||
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
||||
*) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
|
||||
ac_sep=" " ;;
|
||||
esac
|
||||
# Get rid of the leading space.
|
||||
done
|
||||
@ -1368,18 +1370,18 @@ for ac_var in `(set) 2>&1 |
|
||||
ac_cache_corrupted=:
|
||||
fi;;
|
||||
esac
|
||||
# Pass precious variables to config.status. It doesn't matter if
|
||||
# we pass some twice (in addition to the command line arguments).
|
||||
# Pass precious variables to config.status.
|
||||
if test "$ac_new_set" = set; then
|
||||
case $ac_new_val in
|
||||
dnl If you change this globbing pattern, test it on an old shell --
|
||||
dnl it's sensitive. Putting any kind of quote in it causes syntax errors.
|
||||
[ *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)]
|
||||
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
|
||||
ac_configure_args="$ac_configure_args '$ac_arg'"
|
||||
;;
|
||||
*) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
|
||||
;;
|
||||
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
||||
*) ac_arg=$ac_var=$ac_new_val ;;
|
||||
esac
|
||||
case " $ac_configure_args " in
|
||||
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
||||
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
|
||||
esac
|
||||
fi
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user