cvs: php-src / configure.in
| From: | Marcus Boerger | Date: | Sat, 31 May 2008 19:27:23 +0000 |
| Subject: | cvs: php-src / configure.in | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-50215@lists.php.net to get a copy of this message | ||
helly Sat May 31 19:27:23 2008 UTC
Modified files:
/php-src configure.in
Log:
- Add pharcmd to default targets if present
http://cvs.php.net/viewvc.cgi/php-src/configure.in?r1=1.654&r2=1.655&diff_format=u
Index: php-src/configure.in
diff -u php-src/configure.in:1.654 php-src/configure.in:1.655
--- php-src/configure.in:1.654 Fri May 23 19:10:01 2008
+++ php-src/configure.in Sat May 31 19:27:23 2008
@@ -1,4 +1,4 @@
-## $Id: configure.in,v 1.654 2008/05/23 19:10:01 tony2001 Exp $ -*- autoconf -*-
+## $Id: configure.in,v 1.655 2008/05/31 19:27:23 helly Exp $ -*- autoconf -*-
dnl ## Process this file with autoconf to produce a configure script.
divert(1)
@@ -1274,7 +1274,13 @@
INLINE_CFLAGS="$INLINE_CFLAGS $standard_libtool_flag"
CXXFLAGS="$CXXFLAGS $standard_libtool_flag"
-all_targets="$lcov_target \$(OVERALL_TARGET) \$(PHP_MODULES) \$(PHP_ZEND_EX)
\$(PHP_CLI_TARGET)"
+if test "$PHP_PHAR" != "no" && test "$PHP_CLI" !=
"no"; then
+ PHARCMD=pharcmd
+else
+ PHARCMD=
+fi;
+
+all_targets="$lcov_target \$(OVERALL_TARGET) \$(PHP_MODULES) \$(PHP_ZEND_EX)
\$(PHP_CLI_TARGET) $PHARCMD"
install_targets="$install_modules install-build install-headers install-programs"
case $PHP_SAPI in