aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure1.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure1.in b/configure1.in
index dc831bc8469..640d5264918 100755
--- a/configure1.in
+++ b/configure1.in
@@ -147,6 +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=
150while [ $# != 0 ]; do 151while [ $# != 0 ]; do
151 arg="$1"; shift 152 arg="$1"; shift
152 case "${arg}" in 153 case "${arg}" in
@@ -161,6 +162,7 @@ while [ $# != 0 ]; do
161 valomitted=no 162 valomitted=no
162 ;; 163 ;;
163 -*) 164 -*)
165 config_options="${config_options} ${arg}"
164 ## If FOO is a boolean argument, --FOO is equivalent to 166 ## If FOO is a boolean argument, --FOO is equivalent to
165 ## --FOO=yes. Otherwise, the value comes from the next 167 ## --FOO=yes. Otherwise, the value comes from the next
166 ## argument - see below. 168 ## argument - see below.
@@ -1592,6 +1594,7 @@ AC_SUBST(machfile)
1592AC_SUBST(opsysfile) 1594AC_SUBST(opsysfile)
1593 1595
1594AC_DEFINE_UNQUOTED(EMACS_CONFIGURATION, "\"${configuration}\"") 1596AC_DEFINE_UNQUOTED(EMACS_CONFIGURATION, "\"${configuration}\"")
1597AC_DEFINE_UNQUOTED(EMACS_CONFIG_OPTIONS, "\"${config_options}\"")
1595AC_DEFINE_UNQUOTED(config_machfile, "\"${machfile}\"") 1598AC_DEFINE_UNQUOTED(config_machfile, "\"${machfile}\"")
1596AC_DEFINE_UNQUOTED(config_opsysfile, "\"${opsysfile}\"") 1599AC_DEFINE_UNQUOTED(config_opsysfile, "\"${opsysfile}\"")
1597AC_DEFINE_UNQUOTED(LD_SWITCH_X_SITE, ${LD_SWITCH_X_SITE}) 1600AC_DEFINE_UNQUOTED(LD_SWITCH_X_SITE, ${LD_SWITCH_X_SITE})