mirror of
git://git.sv.gnu.org/autoconf
synced 2025-02-17 14:01:27 +08:00
more quoting work
This commit is contained in:
parent
5377160b23
commit
e39713c070
10
acgeneral.m4
10
acgeneral.m4
@ -24,7 +24,7 @@ dnl
|
|||||||
divert(-1)dnl Throw away output until AC_INIT is called.
|
divert(-1)dnl Throw away output until AC_INIT is called.
|
||||||
changequote([, ])
|
changequote([, ])
|
||||||
|
|
||||||
define(AC_ACVERSION, 1.116)
|
define(AC_ACVERSION, 1.117)
|
||||||
|
|
||||||
dnl Some old m4's don't support m4exit. But they provide
|
dnl Some old m4's don't support m4exit. But they provide
|
||||||
dnl equivalent functionality by core dumping because of the
|
dnl equivalent functionality by core dumping because of the
|
||||||
@ -457,7 +457,7 @@ running configure, to aid debugging if configure makes a mistake.
|
|||||||
" 1>&AC_FD_CC
|
" 1>&AC_FD_CC
|
||||||
|
|
||||||
# Strip out --no-create and --no-recursion so they do not pile up.
|
# Strip out --no-create and --no-recursion so they do not pile up.
|
||||||
# Also quote any args containing spaces.
|
# Also quote any args containing shell metacharacters.
|
||||||
ac_configure_args=
|
ac_configure_args=
|
||||||
for ac_arg
|
for ac_arg
|
||||||
do
|
do
|
||||||
@ -467,7 +467,7 @@ do
|
|||||||
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
-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) ;;
|
||||||
changequote(, )dnl
|
changequote(, )dnl
|
||||||
*[" "]*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
|
*[^-a-zA-Z0-9@%_=+:,./]*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
|
||||||
changequote([, ])dnl
|
changequote([, ])dnl
|
||||||
*) ac_configure_args="$ac_configure_args $ac_arg" ;;
|
*) ac_configure_args="$ac_configure_args $ac_arg" ;;
|
||||||
esac
|
esac
|
||||||
@ -1798,6 +1798,7 @@ while test -n "${ac_sources}"; do
|
|||||||
done
|
done
|
||||||
])
|
])
|
||||||
|
|
||||||
|
This is a subroutine of AC_OUTPUT. It is called after running config.status.
|
||||||
dnl AC_OUTPUT_SUBDIRS(DIRECTORY...)
|
dnl AC_OUTPUT_SUBDIRS(DIRECTORY...)
|
||||||
define(AC_OUTPUT_SUBDIRS,
|
define(AC_OUTPUT_SUBDIRS,
|
||||||
[
|
[
|
||||||
@ -1822,9 +1823,6 @@ if test "${no_recursion}" != yes; then
|
|||||||
ac_prev=srcdir ;;
|
ac_prev=srcdir ;;
|
||||||
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
||||||
;;
|
;;
|
||||||
changequote(, )dnl
|
|
||||||
*[" "]*) ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
|
|
||||||
changequote([, ])dnl
|
|
||||||
*) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
|
*) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
@ -24,7 +24,7 @@ dnl
|
|||||||
divert(-1)dnl Throw away output until AC_INIT is called.
|
divert(-1)dnl Throw away output until AC_INIT is called.
|
||||||
changequote([, ])
|
changequote([, ])
|
||||||
|
|
||||||
define(AC_ACVERSION, 1.116)
|
define(AC_ACVERSION, 1.117)
|
||||||
|
|
||||||
dnl Some old m4's don't support m4exit. But they provide
|
dnl Some old m4's don't support m4exit. But they provide
|
||||||
dnl equivalent functionality by core dumping because of the
|
dnl equivalent functionality by core dumping because of the
|
||||||
@ -457,7 +457,7 @@ running configure, to aid debugging if configure makes a mistake.
|
|||||||
" 1>&AC_FD_CC
|
" 1>&AC_FD_CC
|
||||||
|
|
||||||
# Strip out --no-create and --no-recursion so they do not pile up.
|
# Strip out --no-create and --no-recursion so they do not pile up.
|
||||||
# Also quote any args containing spaces.
|
# Also quote any args containing shell metacharacters.
|
||||||
ac_configure_args=
|
ac_configure_args=
|
||||||
for ac_arg
|
for ac_arg
|
||||||
do
|
do
|
||||||
@ -467,7 +467,7 @@ do
|
|||||||
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
-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) ;;
|
||||||
changequote(, )dnl
|
changequote(, )dnl
|
||||||
*[" "]*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
|
*[^-a-zA-Z0-9@%_=+:,./]*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
|
||||||
changequote([, ])dnl
|
changequote([, ])dnl
|
||||||
*) ac_configure_args="$ac_configure_args $ac_arg" ;;
|
*) ac_configure_args="$ac_configure_args $ac_arg" ;;
|
||||||
esac
|
esac
|
||||||
@ -1798,6 +1798,7 @@ while test -n "${ac_sources}"; do
|
|||||||
done
|
done
|
||||||
])
|
])
|
||||||
|
|
||||||
|
This is a subroutine of AC_OUTPUT. It is called after running config.status.
|
||||||
dnl AC_OUTPUT_SUBDIRS(DIRECTORY...)
|
dnl AC_OUTPUT_SUBDIRS(DIRECTORY...)
|
||||||
define(AC_OUTPUT_SUBDIRS,
|
define(AC_OUTPUT_SUBDIRS,
|
||||||
[
|
[
|
||||||
@ -1822,9 +1823,6 @@ if test "${no_recursion}" != yes; then
|
|||||||
ac_prev=srcdir ;;
|
ac_prev=srcdir ;;
|
||||||
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
||||||
;;
|
;;
|
||||||
changequote(, )dnl
|
|
||||||
*[" "]*) ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
|
|
||||||
changequote([, ])dnl
|
|
||||||
*) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
|
*) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user