[libsoup] tests: fix non-php apache tests to still work without php
- From: Dan Winship <danw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup] tests: fix non-php apache tests to still work without php
- Date: Thu, 7 Feb 2013 14:25:28 +0000 (UTC)
commit 4f27350d0f6daf8719cdf5a2b6e71cf1771ff656
Author: Dan Winship <danw gnome org>
Date: Thu Feb 7 09:23:31 2013 -0500
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 files changed, 1 insertions(+), 1 deletions(-)
---
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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]