1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00

The ! command is not portable.

This commit is contained in:
Sascha Schumann
2000-06-09 17:19:26 +00:00
parent 605b1aa394
commit b98d2a8261
2 changed files with 4 additions and 2 deletions

View File

@@ -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); \

View File

@@ -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])