From 4f27350d0f6daf8719cdf5a2b6e71cf1771ff656 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Thu, 7 Feb 2013 09:23:31 -0500 Subject: [PATCH] tests: fix non-php apache tests to still work without php Setting "IF_HAVE_PHP" to "#" actually sets it to "", because the "#" is treated as the start of a comment. We have to set it to "\#" if we want to cause the "#" to actually get substituted into httpd.conf https://bugzilla.gnome.org/show_bug.cgi?id=693311 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index fc49a2b..79026a5 100644 --- a/configure.ac +++ b/configure.ac @@ -284,7 +284,7 @@ if test "$have_apache" = 1; then IF_HAVE_PHP="" else have_php=no - IF_HAVE_PHP="#" + IF_HAVE_PHP="\#" MISSING_REGRESSION_TEST_PACKAGES="$MISSING_REGRESSION_TEST_PACKAGES php5" fi AC_MSG_RESULT($have_php) -- 2.7.4