Skip to content

Commit 499f2ac

Browse files
committed
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
1 parent 8c76d89 commit 499f2ac

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

configure.ac

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -547,13 +547,9 @@ PHP_CHECK_CPU_SUPPORTS([avx2])
547547
dnl Check for structure members.
548548
AC_CHECK_MEMBERS([struct tm.tm_gmtoff],,,[#include <time.h>])
549549
AC_CHECK_MEMBERS([struct stat.st_blksize, struct stat.st_rdev])
550-
dnl AC_STRUCT_ST_BLOCKS will screw QNX because fileblocks.o does not exist. The
551-
dnl WARNING_LEVEL required because cc in QNX hates -w option without an argument
550+
dnl AC_STRUCT_ST_BLOCKS will screw QNX because fileblocks.o does not exist.
552551
if test "`uname -s 2>/dev/null`" != "QNX"; then
553552
AC_STRUCT_ST_BLOCKS
554-
else
555-
AC_MSG_WARN([warnings level for cc set to 0])
556-
WARNING_LEVEL=0
557553
fi
558554

559555
dnl Checks for types.
@@ -1429,7 +1425,6 @@ PHP_SUBST_OLD(PHP_VERSION)
14291425
PHP_SUBST_OLD(PHP_VERSION_ID)
14301426
PHP_SUBST(SHELL)
14311427
PHP_SUBST(SHARED_LIBTOOL)
1432-
PHP_SUBST(WARNING_LEVEL)
14331428
PHP_SUBST(PHP_FRAMEWORKS)
14341429
PHP_SUBST(PHP_FRAMEWORKPATH)
14351430
PHP_SUBST(INSTALL_HEADERS)

0 commit comments

Comments
 (0)