com php-src: Remove AC_PROG_CC_C_O: TSRM/tsrm.m 4 Zend/Zend.m4 configure.ac scripts/phpize.m4
| From: | Peter Kokot | Date: | Sun, 03 Mar 2019 13:47:49 +0000 |
| Subject: | com php-src: Remove AC_PROG_CC_C_O: TSRM/tsrm.m 4 Zend/Zend.m4 configure.ac scripts/phpize.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-104949@lists.php.net to get a copy of this message | ||
Commit: 6bb657fc348dba9f55e2d2fed601e3722a590fea
Author: Peter Kokot <peterkokot@gmail.com> Sat, 2 Mar 2019 23:15:52 +0100
Parents: 8cd345acb1064ffe695e69217333ed2b83de45c3
Branches: PHP-7.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=6bb657fc348dba9f55e2d2fed601e3722a590fea
Log:
Remove AC_PROG_CC_C_O
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.
Changed paths:
M TSRM/tsrm.m4
M Zend/Zend.m4
M configure.ac
M scripts/phpize..m4
Diff:
diff --git a/TSRM/tsrm.m4 b/TSRM/tsrm.m4
index 9eabca3..84f67f3 100644
--- a/TSRM/tsrm.m4
+++ b/TSRM/tsrm.m4
@@ -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)
diff --git a/Zend/Zend.m4 b/Zend/Zend.m4
index 25105b1..31c59b9 100644
--- a/Zend/Zend.m4
+++ b/Zend/Zend.m4
@@ -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
diff --git a/configure.ac b/configure.ac
index 45845cd..6b0a24a 100644
--- a/configure..ac
+++ b/configure.ac
@@ -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
diff --git a/scripts/phpize.m4 b/scripts/phpize.m4
index cb69345..6af1398 100644
--- a/scripts/phpize.m4
+++ b/scripts/phpize.m4
@@ -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,