cvs: /php4 configure.in.in
| From: | Sascha Schumann | Date: | Tue, 21 Sep 1999 08:37:27 +0000 |
| Subject: | cvs: /php4 configure.in.in | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-4734@lists.php.net to get a copy of this message | ||
sas Tue Sep 21 04:37:27 1999 EDT
Modified files:
/php4 configure.in.in
Log:
Use install-sh (autoconf) script to install php. This automatically
creates the bindir path, so that the effect described in #2304 disappears.
Index: php4/configure.in.in
diff -u php4/configure.in.in:1.84 php4/configure.in.in:1.85
--- php4/configure.in.in:1.84 Sat Sep 18 08:14:49 1999
+++ php4/configure.in.in Tue Sep 21 04:37:27 1999
@@ -1,4 +1,4 @@
-dnl $Id: configure.in.in,v 1.84 1999/09/18 12:14:49 sas Exp $ -*- sh -*-
+dnl $Id: configure.in.in,v 1.85 1999/09/21 08:37:27 sas Exp $ -*- sh -*-
dnl Process this file with autoconf to produce a configure script.
divert(0)
@@ -560,13 +560,16 @@
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)