Use install-sh (autoconf) script to install php. This automatically

creates the bindir path, so that the effect described in #2304 disappears.
This commit is contained in:
Sascha Schumann 1999-09-21 08:37:27 +00:00
parent cf00d75980
commit d47b44e3c2

View File

@ -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)