diff options
author | Sascha Schumann <sas@php.net> | 2002-07-11 14:41:03 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2002-07-11 14:41:03 +0000 |
commit | 6d643eb03509a8059b778f917b82d8d27f65c3e7 (patch) | |
tree | a288f70b98b7b2757240ee62012cef7978a2d9e1 | |
parent | 808f05c205f5e8896c2f634252ca8d91e99485ec (diff) | |
download | php-git-6d643eb03509a8059b778f917b82d8d27f65c3e7.tar.gz |
Break up the INSTALL_IT line into comprehensible pieces
and fix a bug related to [..] quotes.
-rw-r--r-- | sapi/apache2filter/config.m4 | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sapi/apache2filter/config.m4 b/sapi/apache2filter/config.m4 index 776af54fe7..0d6393f8f2 100644 --- a/sapi/apache2filter/config.m4 +++ b/sapi/apache2filter/config.m4 @@ -50,7 +50,15 @@ AC_ARG_WITH(apxs2, AC_MSG_ERROR([Please note that Apache version >= 2.0.40 is required.]) fi - INSTALL_IT="\$(mkinstalldirs) \"\$(INSTALL_ROOT)`$APXS -q LIBEXECDIR`\" && $APXS -S LIBEXECDIR=\"\$(INSTALL_ROOT)`$APXS -q LIBEXECDIR`\" -i `[ -d \`$APXS -q SYSCONFDIR\` ] || echo -a` -n php4" + APXS_LIBEXECDIR='$(INSTALL_ROOT)'`$APXS -q LIBEXECDIR` + if test -z `$APXS -q SYSCONFDIR`; then + optarg=-a + else + optarg= + fi + + INSTALL_IT='$(mkinstalldirs) '"$APXS_LIBEXECDIR && \ +$APXS -S LIBEXECDIR='$APXS_LIBEXECDIR' -i ${optarg}-n php4" case $host_alias in *aix*) |