mirror of
git://git.sv.gnu.org/autoconf
synced 2024-11-21 01:01:48 +08:00
* acgeneral.m4 (AC_PATH_PROG, AC_OUTPUT_FILES, AC_OUTPUT_SUBDIRS):
Fix quotation problems in DOS path handling.
This commit is contained in:
parent
9c2aba3427
commit
e7ebd18602
@ -1,3 +1,8 @@
|
||||
2000-03-08 Akim Demaille <akim@epita.fr>
|
||||
|
||||
* acgeneral.m4 (AC_PATH_PROG, AC_OUTPUT_FILES, AC_OUTPUT_SUBDIRS):
|
||||
Fix quotation problems in DOS path handling.
|
||||
|
||||
2000-03-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
|
||||
|
||||
* acspecific.m4 (AC_FUNC_MMAP, AC_FUNC_ALLOCA): Make them C++
|
||||
|
22
acgeneral.m4
22
acgeneral.m4
@ -2238,7 +2238,7 @@ set dummy $2; ac_word=[$]2
|
||||
AC_MSG_CHECKING([for $ac_word])
|
||||
AC_CACHE_VAL(ac_cv_path_$1,
|
||||
[case "[$]$1" in
|
||||
[/\\]* | ?:[/\\]*)
|
||||
[[/\\]]* | ?:[[/\\]]*)
|
||||
ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
|
||||
;;
|
||||
*)
|
||||
@ -3881,7 +3881,7 @@ dnl to be created too.
|
||||
.) srcdir=.
|
||||
if test -z "$ac_dots"; then top_srcdir=.
|
||||
else top_srcdir=`echo $ac_dots | sed 's%/$%%'`; fi ;;
|
||||
[/\\]* | ?:[/\\]* )
|
||||
[[/\\]]* | ?:[[/\\]]* )
|
||||
srcdir="$ac_given_srcdir$ac_dir_suffix";
|
||||
top_srcdir=$ac_given_srcdir ;;
|
||||
*) # Relative path.
|
||||
@ -3890,11 +3890,11 @@ dnl to be created too.
|
||||
esac
|
||||
|
||||
ifdef([AC_PROVIDE_AC_PROG_INSTALL],
|
||||
[[ case "$ac_given_INSTALL" in
|
||||
[/\\$]* | ?:[/\\]* ) INSTALL="$ac_given_INSTALL" ;;
|
||||
[ case "$ac_given_INSTALL" in
|
||||
[[/\\$]]* | ?:[[/\\]]* ) INSTALL="$ac_given_INSTALL" ;;
|
||||
*) INSTALL="$ac_dots$ac_given_INSTALL" ;;
|
||||
esac
|
||||
]])dnl
|
||||
])dnl
|
||||
|
||||
echo creating "$ac_file"
|
||||
rm -f "$ac_file"
|
||||
@ -4219,7 +4219,7 @@ dnl to be created too.
|
||||
fi
|
||||
|
||||
case "$srcdir" in
|
||||
[[/\\$]]* | ?:[/\\]* ) ac_rel_source="$srcdir/$ac_source" ;;
|
||||
[[/\\$]]* | ?:[[/\\]]* ) ac_rel_source="$srcdir/$ac_source" ;;
|
||||
*) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
|
||||
esac
|
||||
|
||||
@ -4338,7 +4338,7 @@ dnl to be created too.
|
||||
case "$srcdir" in
|
||||
.) # No --srcdir option. We are building in place.
|
||||
ac_sub_srcdir=$srcdir ;;
|
||||
[/\\]* | ?:[/\\] ) # Absolute path.
|
||||
[[/\\]]* | ?:[[/\\]] ) # Absolute path.
|
||||
ac_sub_srcdir=$srcdir/$ac_config_dir ;;
|
||||
*) # Relative path.
|
||||
ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
|
||||
@ -4359,16 +4359,16 @@ dnl to be created too.
|
||||
|
||||
# Make the cache file name correct relative to the subdirectory.
|
||||
case "$cache_file" in
|
||||
[/\\]* | ?:[/\\]* ) ac_sub_cache_file=$cache_file ;;
|
||||
[[/\\]]* | ?:[[/\\]]* ) ac_sub_cache_file=$cache_file ;;
|
||||
*) # Relative path.
|
||||
ac_sub_cache_file="$ac_dots$cache_file" ;;
|
||||
esac
|
||||
ifdef([AC_PROVIDE_AC_PROG_INSTALL],
|
||||
[[ case "$ac_given_INSTALL" in
|
||||
[/\\$]* | ?:[/\\]*) INSTALL="$ac_given_INSTALL" ;;
|
||||
[ case "$ac_given_INSTALL" in
|
||||
[[/\\$]]* | ?:[[/\\]]*) INSTALL="$ac_given_INSTALL" ;;
|
||||
*) INSTALL="$ac_dots$ac_given_INSTALL" ;;
|
||||
esac
|
||||
]])dnl
|
||||
])dnl
|
||||
|
||||
echo "[running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file] --srcdir=$ac_sub_srcdir"
|
||||
# The eval makes quoting arguments work.
|
||||
|
6
configure
vendored
6
configure
vendored
@ -848,7 +848,7 @@ if test "${ac_cv_path_M4+set}" = set; then
|
||||
echo $ECHO_N "(cached) $ECHO_C" 1>&6
|
||||
else
|
||||
case "$M4" in
|
||||
/\\* | ?:/\\*)
|
||||
[/\\]* | ?:[/\\]*)
|
||||
ac_cv_path_M4="$M4" # Let the user override the test with a path.
|
||||
;;
|
||||
*)
|
||||
@ -951,7 +951,7 @@ if test "${ac_cv_path_PERL+set}" = set; then
|
||||
echo $ECHO_N "(cached) $ECHO_C" 1>&6
|
||||
else
|
||||
case "$PERL" in
|
||||
/\\* | ?:/\\*)
|
||||
[/\\]* | ?:[/\\]*)
|
||||
ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
|
||||
;;
|
||||
*)
|
||||
@ -1396,7 +1396,7 @@ for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
|
||||
.) srcdir=.
|
||||
if test -z "$ac_dots"; then top_srcdir=.
|
||||
else top_srcdir=`echo $ac_dots | sed 's%/$%%'`; fi ;;
|
||||
/\\* | ?:/\\* )
|
||||
[/\\]* | ?:[/\\]* )
|
||||
srcdir="$ac_given_srcdir$ac_dir_suffix";
|
||||
top_srcdir=$ac_given_srcdir ;;
|
||||
*) # Relative path.
|
||||
|
@ -2238,7 +2238,7 @@ set dummy $2; ac_word=[$]2
|
||||
AC_MSG_CHECKING([for $ac_word])
|
||||
AC_CACHE_VAL(ac_cv_path_$1,
|
||||
[case "[$]$1" in
|
||||
[/\\]* | ?:[/\\]*)
|
||||
[[/\\]]* | ?:[[/\\]]*)
|
||||
ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
|
||||
;;
|
||||
*)
|
||||
@ -3881,7 +3881,7 @@ dnl to be created too.
|
||||
.) srcdir=.
|
||||
if test -z "$ac_dots"; then top_srcdir=.
|
||||
else top_srcdir=`echo $ac_dots | sed 's%/$%%'`; fi ;;
|
||||
[/\\]* | ?:[/\\]* )
|
||||
[[/\\]]* | ?:[[/\\]]* )
|
||||
srcdir="$ac_given_srcdir$ac_dir_suffix";
|
||||
top_srcdir=$ac_given_srcdir ;;
|
||||
*) # Relative path.
|
||||
@ -3890,11 +3890,11 @@ dnl to be created too.
|
||||
esac
|
||||
|
||||
ifdef([AC_PROVIDE_AC_PROG_INSTALL],
|
||||
[[ case "$ac_given_INSTALL" in
|
||||
[/\\$]* | ?:[/\\]* ) INSTALL="$ac_given_INSTALL" ;;
|
||||
[ case "$ac_given_INSTALL" in
|
||||
[[/\\$]]* | ?:[[/\\]]* ) INSTALL="$ac_given_INSTALL" ;;
|
||||
*) INSTALL="$ac_dots$ac_given_INSTALL" ;;
|
||||
esac
|
||||
]])dnl
|
||||
])dnl
|
||||
|
||||
echo creating "$ac_file"
|
||||
rm -f "$ac_file"
|
||||
@ -4219,7 +4219,7 @@ dnl to be created too.
|
||||
fi
|
||||
|
||||
case "$srcdir" in
|
||||
[[/\\$]]* | ?:[/\\]* ) ac_rel_source="$srcdir/$ac_source" ;;
|
||||
[[/\\$]]* | ?:[[/\\]]* ) ac_rel_source="$srcdir/$ac_source" ;;
|
||||
*) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
|
||||
esac
|
||||
|
||||
@ -4338,7 +4338,7 @@ dnl to be created too.
|
||||
case "$srcdir" in
|
||||
.) # No --srcdir option. We are building in place.
|
||||
ac_sub_srcdir=$srcdir ;;
|
||||
[/\\]* | ?:[/\\] ) # Absolute path.
|
||||
[[/\\]]* | ?:[[/\\]] ) # Absolute path.
|
||||
ac_sub_srcdir=$srcdir/$ac_config_dir ;;
|
||||
*) # Relative path.
|
||||
ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
|
||||
@ -4359,16 +4359,16 @@ dnl to be created too.
|
||||
|
||||
# Make the cache file name correct relative to the subdirectory.
|
||||
case "$cache_file" in
|
||||
[/\\]* | ?:[/\\]* ) ac_sub_cache_file=$cache_file ;;
|
||||
[[/\\]]* | ?:[[/\\]]* ) ac_sub_cache_file=$cache_file ;;
|
||||
*) # Relative path.
|
||||
ac_sub_cache_file="$ac_dots$cache_file" ;;
|
||||
esac
|
||||
ifdef([AC_PROVIDE_AC_PROG_INSTALL],
|
||||
[[ case "$ac_given_INSTALL" in
|
||||
[/\\$]* | ?:[/\\]*) INSTALL="$ac_given_INSTALL" ;;
|
||||
[ case "$ac_given_INSTALL" in
|
||||
[[/\\$]]* | ?:[[/\\]]*) INSTALL="$ac_given_INSTALL" ;;
|
||||
*) INSTALL="$ac_dots$ac_given_INSTALL" ;;
|
||||
esac
|
||||
]])dnl
|
||||
])dnl
|
||||
|
||||
echo "[running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file] --srcdir=$ac_sub_srcdir"
|
||||
# The eval makes quoting arguments work.
|
||||
|
Loading…
Reference in New Issue
Block a user