diff options
| -rwxr-xr-x | configure1.in | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/configure1.in b/configure1.in index 6aa4967d2b7..a75861e593a 100755 --- a/configure1.in +++ b/configure1.in | |||
| @@ -992,8 +992,18 @@ AC_SUBST(LD_SWITCH_X_SITE) | |||
| 992 | AC_SUBST(C_SWITCH_X_SITE) | 992 | AC_SUBST(C_SWITCH_X_SITE) |
| 993 | AC_SUBST(CFLAGS) | 993 | AC_SUBST(CFLAGS) |
| 994 | 994 | ||
| 995 | AC_DEFINE(config_machfile, \"${machfile}\") | 995 | dnl This is hopefully a temporary hack. In autoconf version 1.3, |
| 996 | AC_DEFINE(config_opsysfile, \"${opsysfile}\") | 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 | ||
| 998 | dnl the CPP macro should receive. We cripple that quoting for a | ||
| 999 | dnl bit, invoke AC_DEFINE, and then uncripple it. | ||
| 1000 | |||
| 1001 | define([hold_ac_define_sedquote], defn([AC_DEFINE_SEDQUOTE])) | ||
| 1002 | define([AC_DEFINE_SEDQUOTE],[$1]) | ||
| 1003 | AC_DEFINE(config_machfile, "\"${machfile}\"") | ||
| 1004 | AC_DEFINE(config_opsysfile, "\"${opsysfile}\"") | ||
| 1005 | define([AC_DEFINE_SEDQUOTE],hold_ac_define_sedquote) | ||
| 1006 | |||
| 997 | AC_DEFINE(LD_SWITCH_X_SITE, ${LD_SWITCH_X_SITE}) | 1007 | AC_DEFINE(LD_SWITCH_X_SITE, ${LD_SWITCH_X_SITE}) |
| 998 | AC_DEFINE(C_SWITCH_X_SITE, ${C_SWITCH_X_SITE}) | 1008 | AC_DEFINE(C_SWITCH_X_SITE, ${C_SWITCH_X_SITE}) |
| 999 | [ | 1009 | [ |