]> granicus.if.org Git - php/commitdiff
fix suggested by sascha for xml-build in apxs mode
authorThies C. Arntzen <thies@php.net>
Sat, 9 Oct 1999 13:43:27 +0000 (13:43 +0000)
committerThies C. Arntzen <thies@php.net>
Sat, 9 Oct 1999 13:43:27 +0000 (13:43 +0000)
sapi/apache/config.m4

index 649dd2bf6405fdc3de7edd4c7e12cb95903621e0..10a8cc457b521bea8d125e128e4f90d46654ace4 100644 (file)
@@ -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