From 1d23dfe697f44e77d42462ff71c284617342dd1c Mon Sep 17 00:00:00 2001 From: Erwin Janssen Date: Wed, 17 Aug 2016 13:31:02 +0200 Subject: [PATCH] Removed POSIX version flag from configure.ac With the new way of enabling C99 (`AC_PROG_CC_C99` instead of `-std=c99`) this flag is no longer needed for a successfull compilation. --- configure.ac | 5 ----- 1 file changed, 5 deletions(-) diff --git a/configure.ac b/configure.ac index 72833ba31..48b5564d1 100644 --- a/configure.ac +++ b/configure.ac @@ -332,11 +332,6 @@ then # if C99, then enable additional warnings # if [test "${ac_cv_prog_cc_c99}" != "no"] # then - # When enabling c99 on this codebase, this POSIX version should be defined - - # FIXME - enabling this flag breaks configure test for php.h - # CFLAGS="${CFLAGS} -D_POSIX_C_SOURCE=200112L" - # FIXME - not available on centos[56]: gcc-4.1.2, gcc-4.4.7 # CFLAGS="${CFLAGS} -Wdouble-promotion -Wtrampolines -Wlogical-op" # fi -- 2.40.0