diff options
| author | Hartmut Holzgraefe <hholzgra@php.net> | 2000-06-17 06:22:40 +0000 |
|---|---|---|
| committer | Hartmut Holzgraefe <hholzgra@php.net> | 2000-06-17 06:22:40 +0000 |
| commit | 5d6516be86805febd7fcc7f5f4d78329ca75b285 (patch) | |
| tree | 3cad70b860030c990b7028ebe7162f8f3c926ddc /sapi/apache/config.m4 | |
| parent | 80b4f8fa5bb6c0b6574e2558fee82e73a87f37cc (diff) | |
| download | php-git-5d6516be86805febd7fcc7f5f4d78329ca75b285.tar.gz | |
look for apxs in /usr/sbin (that's where SUSE puts it)
if no path is given and apxs is not found in $PATH
Diffstat (limited to 'sapi/apache/config.m4')
| -rw-r--r-- | sapi/apache/config.m4 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sapi/apache/config.m4 b/sapi/apache/config.m4 index bf9b1b6144..5210c87e57 100644 --- a/sapi/apache/config.m4 +++ b/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 |
