diff options
author | Peter Kokot <peterkokot@gmail.com> | 2019-07-13 14:39:29 +0200 |
---|---|---|
committer | Peter Kokot <peterkokot@gmail.com> | 2019-07-13 14:39:29 +0200 |
commit | 499f2ac1328c6021b2557026b76f5154e24608d8 (patch) | |
tree | 4faa2830e5a69f9e641f42360b9f989e6d57cb7f /configure.ac | |
parent | 8c76d898a95cc91ef987c5efb77c1b43fd64a32c (diff) | |
download | php-git-499f2ac1328c6021b2557026b76f5154e24608d8.tar.gz |
Remove WARNING_LEVEL fix for QNX
Fix is no longer relevant since the environment variable WARNING_LEVEL
is no longer used to define the value of the -w option for cc.
Closes GH-4398
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac index eb2971bfa2..b724b6ac8f 100644 --- a/configure.ac +++ b/configure.ac @@ -547,13 +547,9 @@ PHP_CHECK_CPU_SUPPORTS([avx2]) dnl Check for structure members. AC_CHECK_MEMBERS([struct tm.tm_gmtoff],,,[#include <time.h>]) AC_CHECK_MEMBERS([struct stat.st_blksize, struct stat.st_rdev]) -dnl AC_STRUCT_ST_BLOCKS will screw QNX because fileblocks.o does not exist. The -dnl WARNING_LEVEL required because cc in QNX hates -w option without an argument +dnl AC_STRUCT_ST_BLOCKS will screw QNX because fileblocks.o does not exist. if test "`uname -s 2>/dev/null`" != "QNX"; then AC_STRUCT_ST_BLOCKS -else - AC_MSG_WARN([warnings level for cc set to 0]) - WARNING_LEVEL=0 fi dnl Checks for types. @@ -1429,7 +1425,6 @@ PHP_SUBST_OLD(PHP_VERSION) PHP_SUBST_OLD(PHP_VERSION_ID) PHP_SUBST(SHELL) PHP_SUBST(SHARED_LIBTOOL) -PHP_SUBST(WARNING_LEVEL) PHP_SUBST(PHP_FRAMEWORKS) PHP_SUBST(PHP_FRAMEWORKPATH) PHP_SUBST(INSTALL_HEADERS) |