@@ -1563,86 +1563,93 @@ AC_DEFINE([HAVE_BUILD_DEFS_H], 1, [ ])
1563
1563
$php_shtool mkdir -p scripts
1564
1564
$php_shtool mkdir -p scripts/man1
1565
1565
1566
- ALL_OUTPUT_FILES="main/build-defs.h \
1567
- scripts/phpize scripts/man1/phpize.1 \
1568
- scripts/php-config scripts/man1/php-config.1 \
1569
- $PHP_OUTPUT_FILES"
1570
-
1571
1566
dnl Generate build files.
1572
- AC_CONFIG_FILES ( [ $ALL_OUTPUT_FILES] )
1573
-
1574
- AC_CONFIG_COMMANDS_PRE ( [ PHP_PATCH_CONFIG_HEADERS([ main/php_config.h.in] )] )
1575
-
1576
- AC_CONFIG_COMMANDS ( [ default] ,[
1577
- cat <<X
1578
-
1579
- +--------------------------------------------------------------------+
1580
- | License: |
1581
- | This software is subject to the PHP License, available in this |
1582
- | distribution in the file LICENSE. By continuing this installation |
1583
- | process, you are bound by the terms of this license agreement. |
1584
- | If you do not agree with the terms of this license, you must abort |
1585
- | the installation process at this point. |
1586
- +--------------------------------------------------------------------+
1587
-
1588
- Thank you for using PHP.
1567
+ AC_CONFIG_FILES ( [
1568
+ main/build-defs.h
1569
+ scripts/man1/phpize.1
1570
+ scripts/man1/php-config.1
1571
+ scripts/phpize
1572
+ scripts/php-config
1573
+ ] )
1589
1574
1590
- X
1575
+ AC_CONFIG_FILES ( [
1576
+ main/internal_functions.c
1577
+ ] ,[
1578
+ AWK="$AWK" sh $srcdir/build/genif.sh $srcdir/main/internal_functions.c.in "$EXT_STATIC" > main/internal_functions.c
1591
1579
] ,[
1580
+ EXT_STATIC="$EXT_STATIC"
1581
+ AWK="$AWK"
1582
+ ] )
1592
1583
1593
- if test "\$CONFIG_FILES" = "$ALL_OUTPUT_FILES" || test "\$CONFIG_FILES" = " $ALL_OUTPUT_FILES" || test -z "\$CONFIG_FILES"; then
1594
- REDO_ALL=yes
1595
- fi
1584
+ AC_CONFIG_FILES ( [
1585
+ main/internal_functions_cli.c:main/internal_functions.c.in
1586
+ ] ,[
1587
+ AWK="$AWK" sh $srcdir/build/genif.sh $srcdir/main/internal_functions.c.in "$EXT_CLI_STATIC" > main/internal_functions_cli.c
1588
+ ] ,[
1589
+ EXT_CLI_STATIC="$EXT_CLI_STATIC"
1590
+ AWK="$AWK"
1591
+ ] )
1596
1592
1597
- dnl Create configuration headers.
1598
- dnl ----------------------------------------------------------------------------
1599
- test -d Zend || $php_shtool mkdir Zend
1593
+ AC_CONFIG_COMMANDS_PRE ( [ PHP_PATCH_CONFIG_HEADERS([ main/php_config.h.in] )] )
1600
1594
1601
- cat >Zend/zend_config.h <<FEO
1595
+ AC_CONFIG_COMMANDS ( [ default] ,[
1596
+ test -d Zend || $php_shtool mkdir Zend
1597
+ cat >Zend/zend_config.h <<FEO
1602
1598
#include <../main/php_config.h>
1603
1599
FEO
1604
1600
1605
- dnl Run this only when generating all the files.
1606
- if test -n "\$REDO_ALL"; then
1607
- echo "creating main/internal_functions.c"
1608
- AWK="$AWK" sh $srcdir/build/genif.sh $srcdir/main/internal_functions.c.in "$EXT_STATIC" > main/internal_functions.c
1609
-
1610
- echo "creating main/internal_functions_cli.c"
1611
- AWK="$AWK" sh $srcdir/build/genif.sh $srcdir/main/internal_functions.c.in "$EXT_CLI_STATIC" > main/internal_functions_cli.c
1612
-
1613
- if test "$PHP_SAPI" = "apache2handler"; then
1614
- if test "$APACHE_VERSION" -ge 2004001; then
1615
- if test -z "$APACHE_THREADED_MPM"; then
1616
- cat <<X
1601
+ if test "x$php_warning_apache" != "x"; then
1602
+ cat <<X
1617
1603
+--------------------------------------------------------------------+
1618
1604
| *** WARNING *** |
1619
1605
| |
1620
1606
| You have built PHP for Apache's current non-threaded MPM. |
1621
1607
| If you change Apache to use a threaded MPM you must reconfigure |
1622
1608
| PHP with --enable-maintainer-zts |
1623
1609
X
1624
- fi
1625
- fi
1626
- fi
1610
+ fi
1627
1611
1628
- dnl Warn about Apache if oci8 extension is enabled on Linux.
1629
- if test "$PHP_OCI8" != "no"; then
1630
- if test "$PHP_SIGCHILD" != "yes"; then
1631
- if test "$PHP_OCI8_INSTANT_CLIENT" = "no"; then
1632
- cat <<X
1612
+ if test "x$php_warning_oci8" != "x"; then
1613
+ cat <<X
1633
1614
+--------------------------------------------------------------------+
1634
1615
| Notice: |
1635
1616
| If you encounter <defunc> processes when using a local Oracle |
1636
1617
| database, set the value BEQUEATH_DETACH=YES in Oracle Net's |
1637
1618
| sqlnet.ora file on the PHP host, or set the environment variable |
1638
- | BEQUEATH_DETACH to YES before starting Apache. If the problem |
1619
+ | BEQUEATH_DETACH to YES before starting Apache. If the problem |
1639
1620
| still occurs, then recompile PHP and specify --enable-sigchild |
1640
1621
| when configuring. |
1641
1622
X
1623
+ fi
1624
+
1625
+ cat <<X
1626
+ +--------------------------------------------------------------------+
1627
+ | License: |
1628
+ | This software is subject to the PHP License, available in this |
1629
+ | distribution in the file LICENSE. By continuing this installation |
1630
+ | process, you are bound by the terms of this license agreement. |
1631
+ | If you do not agree with the terms of this license, you must abort |
1632
+ | the installation process at this point. |
1633
+ +--------------------------------------------------------------------+
1634
+
1635
+ Thank you for using PHP.
1636
+
1637
+ X
1638
+ ] ,[
1639
+ if test "$PHP_SAPI" = "apache2handler"; then
1640
+ if test "$APACHE_VERSION" -ge 2004001; then
1641
+ if test -z "$APACHE_THREADED_MPM"; then
1642
+ php_warning_apache=1
1642
1643
fi
1643
1644
fi
1644
1645
fi
1645
1646
1646
- fi
1647
+ if test "$PHP_OCI8" != "no"; then
1648
+ if test "$PHP_SIGCHILD" != "yes"; then
1649
+ if test "$PHP_OCI8_INSTANT_CLIENT" = "no"; then
1650
+ php_warning_oci8=1
1651
+ fi
1652
+ fi
1653
+ fi
1647
1654
] )
1648
1655
AC_OUTPUT
0 commit comments