diff options
author | Sascha Schumann <sas@php.net> | 2000-06-09 17:19:26 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2000-06-09 17:19:26 +0000 |
commit | b98d2a8261a25ebbddb1a8e2bef4e0902b09a89d (patch) | |
tree | 96fe315d7e254d3e2502f99e76567eb80af7aaa7 | |
parent | 605b1aa3943718c610d3fc3c2af128aa8f7cb972 (diff) | |
download | php-git-b98d2a8261a25ebbddb1a8e2bef4e0902b09a89d.tar.gz |
The ! command is not portable.
-rw-r--r-- | Makefile.in | 2 | ||||
-rw-r--r-- | sapi/apache/config.m4 | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in index 59542eeab8..d220baf00a 100644 --- a/Makefile.in +++ b/Makefile.in @@ -38,7 +38,7 @@ include $(top_srcdir)/build/program.mk install-sapi: @$(LIBTOOL) --silent --mode=install cp libphp4.la $(phptempdir)/libphp4.la >/dev/null 2>&1 -@$(mkinstalldirs) $(bindir) - -@if ! test -r $(phptempdir)/libphp4.$(SHLIB_SUFFIX_NAME); then \ + -@if test ! -r $(phptempdir)/libphp4.$(SHLIB_SUFFIX_NAME); then \ for i in 0.0.0 0.0 0; do \ if test -r $(phptempdir)/libphp4.$(SHLIB_SUFFIX_NAME).$$i; then \ $(LN_S) $(phptempdir)/libphp4.$(SHLIB_SUFFIX_NAME).$$i $(phptempdir)/libphp4.$(SHLIB_SUFFIX_NAME); \ diff --git a/sapi/apache/config.m4 b/sapi/apache/config.m4 index 8b838f46b4..c9bb7ad304 100644 --- a/sapi/apache/config.m4 +++ b/sapi/apache/config.m4 @@ -20,7 +20,9 @@ AC_ARG_WITH(apxs, AC_EXPAND_PATH($withval, APXS) fi - if ! $APXS -q CFLAGS >/dev/null 2>&1; then + if $APXS -q CFLAGS >/dev/null 2>&1; then + : + else AC_MSG_RESULT() $APXS AC_MSG_ERROR([Sorry, I cannot run apxs. Either you need to install Perl or you need to pass the absolute path of apxs by using --with-apxs=/absolute/path/to/apxs]) |