Skip to content

Commit b98d2a8

Browse files
author
Sascha Schumann
committed
The ! command is not portable.
1 parent 605b1aa commit b98d2a8

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ include $(top_srcdir)/build/program.mk
3838
install-sapi:
3939
@$(LIBTOOL) --silent --mode=install cp libphp4.la $(phptempdir)/libphp4.la >/dev/null 2>&1
4040
-@$(mkinstalldirs) $(bindir)
41-
-@if ! test -r $(phptempdir)/libphp4.$(SHLIB_SUFFIX_NAME); then \
41+
-@if test ! -r $(phptempdir)/libphp4.$(SHLIB_SUFFIX_NAME); then \
4242
for i in 0.0.0 0.0 0; do \
4343
if test -r $(phptempdir)/libphp4.$(SHLIB_SUFFIX_NAME).$$i; then \
4444
$(LN_S) $(phptempdir)/libphp4.$(SHLIB_SUFFIX_NAME).$$i $(phptempdir)/libphp4.$(SHLIB_SUFFIX_NAME); \

sapi/apache/config.m4

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ AC_ARG_WITH(apxs,
2020
AC_EXPAND_PATH($withval, APXS)
2121
fi
2222

23-
if ! $APXS -q CFLAGS >/dev/null 2>&1; then
23+
if $APXS -q CFLAGS >/dev/null 2>&1; then
24+
:
25+
else
2426
AC_MSG_RESULT()
2527
$APXS
2628
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])

0 commit comments

Comments
 (0)