aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1994-09-19 18:15:11 +0000
committerKarl Heuer1994-09-19 18:15:11 +0000
commitf9328e981693685e30f64d99ccb5bc8658f26411 (patch)
treeb3d4fd30fc04594a0ec719c938f225c834fb8613
parente283121bc3ea0754887214417db4ad8901f9e15d (diff)
downloademacs-f9328e981693685e30f64d99ccb5bc8658f26411.tar.gz
emacs-f9328e981693685e30f64d99ccb5bc8658f26411.zip
(config_options): Save all arguments, not just some.
-rwxr-xr-xconfigure1.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/configure1.in b/configure1.in
index c11f88ac645..1494a91fa43 100755
--- a/configure1.in
+++ b/configure1.in
@@ -147,7 +147,7 @@ done
147### However, it also turns out that many shells cannot expand ${10} at all. 147### However, it also turns out that many shells cannot expand ${10} at all.
148### So using an index variable doesn't work either. It is possible to use 148### So using an index variable doesn't work either. It is possible to use
149### some shell magic to make 'set x "$arguments"; shift' work portably. 149### some shell magic to make 'set x "$arguments"; shift' work portably.
150config_options= 150config_options="$*"
151while [ $# != 0 ]; do 151while [ $# != 0 ]; do
152 arg="$1"; shift 152 arg="$1"; shift
153 case "${arg}" in 153 case "${arg}" in
@@ -162,7 +162,6 @@ while [ $# != 0 ]; do
162 valomitted=no 162 valomitted=no
163 ;; 163 ;;
164 -*) 164 -*)
165 config_options="${config_options} ${arg}"
166 ## If FOO is a boolean argument, --FOO is equivalent to 165 ## If FOO is a boolean argument, --FOO is equivalent to
167 ## --FOO=yes. Otherwise, the value comes from the next 166 ## --FOO=yes. Otherwise, the value comes from the next
168 ## argument - see below. 167 ## argument - see below.