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