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