# HG changeset patch # User Karl Heuer # Date 779767670 0 # Node ID 831af7d0a0f62640711fc8e2dc4848c5c1c45797 # Parent 4fd9700b07a7340eaae5bff2b303c9393d079454 (config_options): New shell variable. Pass its value to C code in EMACS_CONFIG_OPTIONS. diff -r 4fd9700b07a7 -r 831af7d0a0f6 configure1.in --- a/configure1.in Sat Sep 17 02:05:34 1994 +0000 +++ b/configure1.in Sat Sep 17 02:07:50 1994 +0000 @@ -147,6 +147,7 @@ ### However, it also turns out that many shells cannot expand ${10} at all. ### So using an index variable doesn't work either. It is possible to use ### some shell magic to make 'set x "$arguments"; shift' work portably. +config_options= while [ $# != 0 ]; do arg="$1"; shift case "${arg}" in @@ -161,6 +162,7 @@ valomitted=no ;; -*) + config_options="${config_options} ${arg}" ## If FOO is a boolean argument, --FOO is equivalent to ## --FOO=yes. Otherwise, the value comes from the next ## argument - see below. @@ -1592,6 +1594,7 @@ AC_SUBST(opsysfile) AC_DEFINE_UNQUOTED(EMACS_CONFIGURATION, "\"${configuration}\"") +AC_DEFINE_UNQUOTED(EMACS_CONFIG_OPTIONS, "\"${config_options}\"") AC_DEFINE_UNQUOTED(config_machfile, "\"${machfile}\"") AC_DEFINE_UNQUOTED(config_opsysfile, "\"${opsysfile}\"") AC_DEFINE_UNQUOTED(LD_SWITCH_X_SITE, ${LD_SWITCH_X_SITE})