comparison configure1.in @ 2739:8bb3e2a87cbb

Use pushdef and popdef, instead of saving the macro's value in a variable.
author Jim Blandy <jimb@redhat.com>
date Mon, 10 May 1993 23:58:36 +0000
parents 443605a261b3
children 72277ed7609e
comparison
equal deleted inserted replaced
2738:263aa966f295 2739:8bb3e2a87cbb
996 dnl the second argument to AC_DEFINE is quoted in every which way, 996 dnl the second argument to AC_DEFINE is quoted in every which way,
997 dnl so (as far as I can tell) there's no way to compute the value 997 dnl so (as far as I can tell) there's no way to compute the value
998 dnl the CPP macro should receive. We cripple that quoting for a 998 dnl the CPP macro should receive. We cripple that quoting for a
999 dnl bit, invoke AC_DEFINE, and then uncripple it. 999 dnl bit, invoke AC_DEFINE, and then uncripple it.
1000 1000
1001 define([hold_ac_define_sedquote], defn([AC_DEFINE_SEDQUOTE])) 1001 pushdef([AC_DEFINE_SEDQUOTE],[$1])
1002 define([AC_DEFINE_SEDQUOTE],[$1])
1003 AC_DEFINE(config_machfile, "\"${machfile}\"") 1002 AC_DEFINE(config_machfile, "\"${machfile}\"")
1004 AC_DEFINE(config_opsysfile, "\"${opsysfile}\"") 1003 AC_DEFINE(config_opsysfile, "\"${opsysfile}\"")
1005 define([AC_DEFINE_SEDQUOTE],hold_ac_define_sedquote) 1004 popdef([AC_DEFINE_SEDQUOTE])
1006 1005
1007 AC_DEFINE(LD_SWITCH_X_SITE, ${LD_SWITCH_X_SITE}) 1006 AC_DEFINE(LD_SWITCH_X_SITE, ${LD_SWITCH_X_SITE})
1008 AC_DEFINE(C_SWITCH_X_SITE, ${C_SWITCH_X_SITE}) 1007 AC_DEFINE(C_SWITCH_X_SITE, ${C_SWITCH_X_SITE})
1009 [ 1008 [
1010 if [ "${HAVE_X_WINDOWS}" = "yes" ] ; then 1009 if [ "${HAVE_X_WINDOWS}" = "yes" ] ; then