cvs: php-src(PHP_4_3) / configure.in

From: Date: Thu, 04 Dec 2003 13:42:25 +0000
Subject: cvs: php-src(PHP_4_3) / configure.in
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-24910@lists.php.net to get a copy of this message
sniper Thu Dec 4 08:42:25 2003 EDT Modified files: (Branch: PHP_4_3) /php-src configure.in Log: MFH: Fix for "make install" with empty INSTALL_IT Index: php-src/configure.in diff -u php-src/configure.in:1.396.2.89 php-src/configure.in:1.396.2.90 --- php-src/configure.in:1.396.2.89 Mon Dec 1 11:12:36 2003 +++ php-src/configure.in Thu Dec 4 08:42:25 2003 @@ -1,4 +1,4 @@ -dnl ## $Id: configure.in,v 1.396.2.89 2003/12/01 16:12:36 sniper Exp $ -*- sh -*- +dnl ## $Id: configure.in,v 1.396.2.90 2003/12/04 13:42:25 sniper Exp $ -*- sh -*- dnl ## Process this file with autoconf to produce a configure script. divert(1) @@ -1138,10 +1138,19 @@ CXXFLAGS="$CXXFLAGS $standard_libtool_flag" all_targets='$(OVERALL_TARGET) $(PHP_MODULES) $(PHP_CLI_TARGET)' -install_targets="install-sapi install-modules $install_pear install-build install-headers install-programs" -if test "$PHP_SAPI" != "cgi"; then - install_targets="$PHP_INSTALL_CLI_TARGET $install_targets" -fi +install_targets="install-modules $install_pear install-build install-headers install-programs" + +case $PHP_SAPI in + cgi) + install_targets="install-sapi $install_targets" + ;; + cli) + install_targets="$PHP_INSTALL_CLI_TARGET $install_targets" + ;; + *) + install_targets="install-sapi $PHP_INSTALL_CLI_TARGET $install_targets" + ;; +esac PHP_SUBST(all_targets) PHP_SUBST(install_targets)

« previous php.cvs (#24910) next »