summaryrefslogtreecommitdiff
diff options
context:
space:
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