diff options
author | Sascha Schumann <sas@php.net> | 1999-09-21 08:37:27 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 1999-09-21 08:37:27 +0000 |
commit | d47b44e3c2f9b63354d91c49c0f62a5de0b2cc31 (patch) | |
tree | 6f01349f765ded21a4c9f395cc84e0a158abe9b1 | |
parent | cf00d75980d12cc2758b04efe09e970b4d9d4285 (diff) | |
download | php-git-d47b44e3c2f9b63354d91c49c0f62a5de0b2cc31.tar.gz |
Use install-sh (autoconf) script to install php. This automatically
creates the bindir path, so that the effect described in #2304 disappears.
-rw-r--r-- | configure.in.in | 7 |
1 files changed, 5 insertions, 2 deletions
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) |