From: Sascha Schumann Date: Tue, 21 Sep 1999 08:37:27 +0000 (+0000) Subject: Use install-sh (autoconf) script to install php. This automatically X-Git-Tag: before-sapi-split~96 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d47b44e3c2f9b63354d91c49c0f62a5de0b2cc31;p=php Use install-sh (autoconf) script to install php. This automatically creates the bindir path, so that the effect described in #2304 disappears. --- diff --git a/configure.in.in b/configure.in.in index 11791d5994..709e43f3bc 100644 --- a/configure.in.in +++ b/configure.in.in @@ -560,13 +560,16 @@ AC_ARG_WITH(apache, else AC_MSG_RESULT(no) BINNAME=php - INSTALL_IT="cp $BINNAME \$(bindir)" fi ],[ AC_MSG_RESULT(no) BINNAME=php - INSTALL_IT="cp $BINNAME \$(bindir)" ]) + +if test "$BINNAME" = "php" ; then + INSTALL_IT="\$(SHELL) \$(srcdir)/install-sh -m 0755 $BINNAME \$(bindir)/$BINNAME" +fi + INCLUDES="$INCLUDES $APACHE_INCLUDE" dnl## AC_SUBST(APACHE_INCLUDE) AC_SUBST(APACHE_TARGET)