1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-04 11:00:45 -08:00

Use pushdef and popdef, instead of saving the macro's value in a

variable.
This commit is contained in:
Jim Blandy 1993-05-10 23:58:36 +00:00
parent ee8f40ccfc
commit 942990d1fb

View file

@ -998,11 +998,10 @@ dnl so (as far as I can tell) there's no way to compute the value
dnl the CPP macro should receive. We cripple that quoting for a
dnl bit, invoke AC_DEFINE, and then uncripple it.
define([hold_ac_define_sedquote], defn([AC_DEFINE_SEDQUOTE]))
define([AC_DEFINE_SEDQUOTE],[$1])
pushdef([AC_DEFINE_SEDQUOTE],[$1])
AC_DEFINE(config_machfile, "\"${machfile}\"")
AC_DEFINE(config_opsysfile, "\"${opsysfile}\"")
define([AC_DEFINE_SEDQUOTE],hold_ac_define_sedquote)
popdef([AC_DEFINE_SEDQUOTE])
AC_DEFINE(LD_SWITCH_X_SITE, ${LD_SWITCH_X_SITE})
AC_DEFINE(C_SWITCH_X_SITE, ${C_SWITCH_X_SITE})