summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThies C. Arntzen <thies@php.net>1999-10-09 13:43:27 +0000
committerThies C. Arntzen <thies@php.net>1999-10-09 13:43:27 +0000
commita19f5933d57aa3bf1b50e6e752aa9b19beef7cc5 (patch)
tree416e95ca2bc43b9c46ae60c1f7bb174c6b4d24f3
parentafdb73e62fef8f78986098ce17d06e19a8d86421 (diff)
downloadphp-git-a19f5933d57aa3bf1b50e6e752aa9b19beef7cc5.tar.gz
fix suggested by sascha for xml-build in apxs mode
-rw-r--r--sapi/apache/config.m45
1 files changed, 3 insertions, 2 deletions
diff --git a/sapi/apache/config.m4 b/sapi/apache/config.m4
index 649dd2bf64..10a8cc457b 100644
--- a/sapi/apache/config.m4
+++ b/sapi/apache/config.m4
@@ -6,9 +6,10 @@ AC_ARG_WITH(apxs,
pathname to the Apache apxs tool; defaults to "apxs".],
[
if test "$withval" = "yes"; then
- withval=apxs
+ APXS=apxs
+ else
+ AC_EXPAND_PATH($withval, APXS)
fi
- AC_EXPAND_PATH($withval, APXS)
APXS_LDFLAGS="@SYBASE_LFLAGS@ @SYBASE_LIBS@ @SYBASE_CT_LFLAGS@ @SYBASE_CT_LIBS@"
APXS_INCLUDEDIR=`$APXS -q INCLUDEDIR`
if test -d "$APXS_INCLUDEDIR/xml" ; then