]> granicus.if.org Git - php/commitdiff
Remove AC_PROG_CC_C_O
authorPeter Kokot <peterkokot@gmail.com>
Sat, 2 Mar 2019 22:15:52 +0000 (23:15 +0100)
committerPeter Kokot <peterkokot@gmail.com>
Sun, 3 Mar 2019 13:47:49 +0000 (14:47 +0100)
The AC_PROG_CC_C_O macro checks if compiler can use both -c and -o
options together and if not it defines the NO_MINUS_C_MINUS_O symbol.
It is not used in current codebase and therefore removed.

TSRM/tsrm.m4
Zend/Zend.m4
configure.ac
scripts/phpize.m4

index 9eabca30add7307290cf904874541335d3d81b40..84f67f3f1f2ee4e3a74673427231ecd7262f79d4 100644 (file)
@@ -4,7 +4,6 @@ AC_DEFUN([TSRM_BASIC_CHECKS],[
 
 AC_REQUIRE([AC_PROG_CC])dnl
 dnl AC_REQUIRE([AM_PROG_CC_STDC])dnl
-AC_REQUIRE([AC_PROG_CC_C_O])dnl
 AC_REQUIRE([AC_PROG_RANLIB])dnl
 
 AC_CHECK_FUNCS(sigprocmask)
index 25105b14510deae77199995e0e7b8e8fda510b77..31c59b9ed7a91ecbb34d41877a88493062ffff8d 100644 (file)
@@ -6,7 +6,6 @@ AC_DEFUN([LIBZEND_BASIC_CHECKS],[
 
 AC_REQUIRE([AC_PROG_YACC])
 AC_REQUIRE([AC_PROG_CC])
-AC_REQUIRE([AC_PROG_CC_C_O])
 
 LIBZEND_BISON_CHECK
 
index 45845cdde5d7f71b8da823addbcaa583234e360d..6b0a24addc8f9689fe9c9b2c267b0163bbec79a3 100644 (file)
@@ -176,7 +176,6 @@ PKG_PROG_PKG_CONFIG
 AC_PROG_CC([cc gcc])
 PHP_DETECT_ICC
 PHP_DETECT_SUNCC
-AC_PROG_CC_C_O
 dnl Change to AC_PROG_CC_STDC when we start requiring a post-2.13 autoconf
 dnl AC_PROG_CC_STDC
 AC_PROG_CPP
index cb6934541a6b7f5aa12d79c878530408a5e36eef..6af13982cd31679bceba3a616797d74ed540331c 100644 (file)
@@ -26,7 +26,6 @@ abs_builddir=`pwd`
 AC_PROG_CC([cc gcc])
 PHP_DETECT_ICC
 PHP_DETECT_SUNCC
-AC_PROG_CC_C_O
 
 dnl Support systems with system libraries in e.g. /usr/lib64
 PHP_ARG_WITH(libdir, for system library directory,