]> granicus.if.org Git - php/commitdiff
Fix for bug #15605
authorSean Bright <elixer@php.net>
Thu, 21 Feb 2002 02:12:37 +0000 (02:12 +0000)
committerSean Bright <elixer@php.net>
Thu, 21 Feb 2002 02:12:37 +0000 (02:12 +0000)
# If someone more familiar with the build system sees a problem with this
# feel free to revert it.  It simply escapes #'s that are put into
# config_vars.mk

acinclude.m4

index 96ee42f354ce604c5e1befc53286a27399ad8f38..c867dbf6cc11959bea41983551c9c2c8398b9b9c 100644 (file)
@@ -517,7 +517,7 @@ AC_DEFUN(PHP_GEN_CONFIG_VARS,[
   echo creating config_vars.mk
   > config_vars.mk
   for i in $PHP_VAR_SUBST; do
-    eval echo "$i = \$$i" >> config_vars.mk
+    eval echo "$i = \$$i" | sed 's%#%\\#%g' >> config_vars.mk
   done
 ])