summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-09-21 08:37:27 +0000
committerSascha Schumann <sas@php.net>1999-09-21 08:37:27 +0000
commitd47b44e3c2f9b63354d91c49c0f62a5de0b2cc31 (patch)
tree6f01349f765ded21a4c9f395cc84e0a158abe9b1
parentcf00d75980d12cc2758b04efe09e970b4d9d4285 (diff)
downloadphp-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.in7
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)