cvs: php4 /sapi/apache2filter config.m4
| From: | Sascha Schumann | Date: | Thu, 11 Jul 2002 14:41:04 +0000 |
| Subject: | cvs: php4 /sapi/apache2filter config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-12785@lists.php.net to get a copy of this message | ||
sas Thu Jul 11 10:41:04 2002 EDT
Modified files:
/php4/sapi/apache2filter config.m4
Log:
Break up the INSTALL_IT line into comprehensible pieces
and fix a bug related to [..] quotes.
Index: php4/sapi/apache2filter/config.m4
diff -u php4/sapi/apache2filter/config.m4:1.23 php4/sapi/apache2filter/config.m4:1.24
--- php4/sapi/apache2filter/config.m4:1.23 Thu Jul 11 04:44:42 2002
+++ php4/sapi/apache2filter/config.m4 Thu Jul 11 10:41:03 2002
@@ -1,5 +1,5 @@
dnl
-dnl $Id: config.m4,v 1.23 2002/07/11 08:44:42 sas Exp $
+dnl $Id: config.m4,v 1.24 2002/07/11 14:41:03 sas Exp $
dnl
AC_MSG_CHECKING(for Apache 2.0 module support via DSO through APXS)
@@ -50,7 +50,15 @@
AC_MSG_ERROR([Please note that Apache version >= 2.0.40 is required.])
fi
- INSTALL_IT="\$(mkinstalldirs) \"\$(INSTALL_ROOT)
$APXS -q LIBEXECDIR\"
&& $APXS -S LIBEXECDIR=\"\$(INSTALL_ROOT)$APXS -q LIBEXECDIR\" -i
[ -d \$APXS -q SYSCONFDIR\ ] || echo -a -n php4"
+ APXS_LIBEXECDIR='$(INSTALL_ROOT)'$APXS -q LIBEXECDIR
+ if test -z $APXS -q SYSCONFDIR; then
+ optarg=-a
+ else
+ optarg=
+ fi
+
+ INSTALL_IT='$(mkinstalldirs) '"$APXS_LIBEXECDIR && \
+$APXS -S LIBEXECDIR='$APXS_LIBEXECDIR' -i ${optarg}-n php4"
case $host_alias in
*aix*)