Browse Source

look for apxs in /usr/sbin (that's where SUSE puts it)

if no path is given and apxs is not found in $PATH
PHP-4.0.5
Hartmut Holzgraefe 26 years ago
parent
commit
5d6516be86
  1. 7
      sapi/apache/config.m4

7
sapi/apache/config.m4

@ -16,6 +16,13 @@ AC_ARG_WITH(apxs,
pathname to the Apache apxs tool; defaults to "apxs".],[
if test "$withval" = "yes"; then
APXS=apxs
if $APXS -q CFLAGS >/dev/null 2>&1; then
:
else
if test -x /usr/sbin/apxs ; then #SUSE 6.x
APXS=/usr/sbin/apxs
fi
fi
else
AC_EXPAND_PATH($withval, APXS)
fi

Loading…
Cancel
Save