@@ -26,15 +26,6 @@ dnl ----------------------------------------------------------------------------
26
26
dnl Build system helper macros.
27
27
dnl ----------------------------------------------------------------------------
28
28
29
- dnl
30
- dnl PHP_DEF_HAVE(what)
31
- dnl
32
- dnl Generates 'AC_DEFINE(HAVE_WHAT, 1, [ ])'.
33
- dnl
34
- AC_DEFUN ( [ PHP_DEF_HAVE] , [ m4_warn ( [ obsolete] ,
35
- [ The macro 'PHP_DEF_HAVE' is obsolete. Use AC_DEFINE.] )
36
- AC_DEFINE ( [ HAVE_] translit ( $1 ,a-z_.- ,A-Z___ ) , 1 , [ ] ) ] )
37
-
38
29
dnl
39
30
dnl PHP_RUN_ONCE(namespace, variable, code)
40
31
dnl
@@ -89,17 +80,6 @@ AC_DEFUN([PHP_SUBST_OLD],[
89
80
PHP_SUBST([ $1 ] )
90
81
] )
91
82
92
- dnl
93
- dnl PHP_OUTPUT(file)
94
- dnl
95
- dnl Adds "file" to the list of files generated by AC_OUTPUT. This macro can be
96
- dnl used several times. This macro is obsolete as of PHP 8.4 in favor of the
97
- dnl default AC_CONFIG_FILES.
98
- dnl
99
- AC_DEFUN ( [ PHP_OUTPUT] ,
100
- [ m4_warn ( [ obsolete] , [ The macro 'PHP_OUTPUT' is obsolete. Use AC_CONFIG_FILES.] )
101
- AC_CONFIG_FILES ( [ $1 ] ) ] )
102
-
103
83
dnl ----------------------------------------------------------------------------
104
84
dnl Build system base macros.
105
85
dnl ----------------------------------------------------------------------------
@@ -743,13 +723,6 @@ dnl ----------------------------------------------------------------------------
743
723
dnl Build macros
744
724
dnl ----------------------------------------------------------------------------
745
725
746
- dnl
747
- dnl PHP_BUILD_THREAD_SAFE
748
- dnl
749
- AC_DEFUN ( [ PHP_BUILD_THREAD_SAFE] , [ m4_warn ( [ obsolete] ,
750
- [ The macro 'PHP_BUILD_THREAD_SAFE' is obsolete. Set 'enable_zts' manually.] )
751
- enable_zts=yes] )
752
-
753
726
dnl
754
727
dnl PHP_REQUIRE_CXX
755
728
dnl
@@ -1518,31 +1491,6 @@ AC_DEFUN([PHP_CHECK_FUNC],[
1518
1491
esac
1519
1492
] )
1520
1493
1521
- dnl
1522
- dnl PHP_TEST_BUILD(function, action-if-ok, action-if-not-ok [, extra-libs [, extra-source]])
1523
- dnl
1524
- dnl This macro checks whether build works and given function exists.
1525
- dnl
1526
- AC_DEFUN ( [ PHP_TEST_BUILD] , [ m4_warn ( [ obsolete] ,
1527
- [ The macro 'PHP_TEST_BUILD' is obsolete. Use AC_* macros.] )
1528
- old_LIBS=$LIBS
1529
- LIBS="$4 $LIBS"
1530
- AC_LINK_IFELSE ( [ AC_LANG_SOURCE ( [
1531
- $5
1532
- char $1 (void);
1533
- int main(void) {
1534
- $1 ();
1535
- return 0;
1536
- }
1537
- ] ) ] ,[
1538
- LIBS=$old_LIBS
1539
- $2
1540
- ] ,[
1541
- LIBS=$old_LIBS
1542
- $3
1543
- ] )
1544
- ] )
1545
-
1546
1494
dnl ----------------------------------------------------------------------------
1547
1495
dnl Platform characteristics checks.
1548
1496
dnl ----------------------------------------------------------------------------
@@ -2039,25 +1987,6 @@ AC_DEFUN([PHP_INSTALL_HEADERS],
2039
1987
] )
2040
1988
] )
2041
1989
2042
- dnl
2043
- dnl PHP_AP_EXTRACT_VERSION(/path/httpd)
2044
- dnl
2045
- dnl This macro is used to get a comparable version for Apache.
2046
- dnl
2047
- AC_DEFUN ( [ PHP_AP_EXTRACT_VERSION] , [ m4_warn ( [ obsolete] ,
2048
- [ The macro 'PHP_AP_EXTRACT_VERSION' is obsolete. Use 'apxs -q HTTPD_VERSION'] )
2049
- AS_IF ( [ test -x "$1 "] , [
2050
- ac_output=$($1 -v 2>&1 | grep version | $SED -e 's/Oracle-HTTP-//')
2051
- ac_IFS=$IFS
2052
- IFS="- /.
2053
- "
2054
- set $ac_output
2055
- IFS=$ac_IFS
2056
-
2057
- APACHE_VERSION=$(expr [ $] 4 \* 1000000 + [ $] 5 \* 1000 + [ $] 6)
2058
- ] )
2059
- ] )
2060
-
2061
1990
dnl
2062
1991
dnl PHP_CONFIG_NICE(filename)
2063
1992
dnl
0 commit comments