]> granicus.if.org Git - php/commitdiff
MFH: Fixed bug: #21698, httpd.conf not modified with "make install"
authorfoobar <sniper@php.net>
Tue, 21 Jan 2003 06:03:16 +0000 (06:03 +0000)
committerfoobar <sniper@php.net>
Tue, 21 Jan 2003 06:03:16 +0000 (06:03 +0000)
sapi/apache2filter/config.m4

index 2eac849aa40b30c337621edb2b7fa17e2991a3e0..1f7fd93398e4918f8ffd7d4f14bcb70497db5f5b 100644 (file)
@@ -52,13 +52,12 @@ AC_ARG_WITH(apxs2,
 
   APXS_LIBEXECDIR='$(INSTALL_ROOT)'`$APXS -q LIBEXECDIR`
   if test -z `$APXS -q SYSCONFDIR`; then
-    optarg=-a
-  else
     optarg=
+  else
+    optarg=-a
   fi
 
-  INSTALL_IT='$(mkinstalldirs) '"$APXS_LIBEXECDIR && \
-$APXS -S LIBEXECDIR='$APXS_LIBEXECDIR' -i ${optarg}-n php4"
+  INSTALL_IT='$(mkinstalldirs) '"$APXS_LIBEXECDIR && $APXS -S LIBEXECDIR='$APXS_LIBEXECDIR' -i ${optarg} -n php4"
 
   case $host_alias in
   *aix*)