]> granicus.if.org Git - graphviz/commitdiff
Removed POSIX version flag from configure.ac
authorErwin Janssen <erwinjanssen@outlook.com>
Wed, 17 Aug 2016 11:31:02 +0000 (13:31 +0200)
committerErwin Janssen <erwinjanssen@outlook.com>
Wed, 17 Aug 2016 11:31:02 +0000 (13:31 +0200)
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

index 72833ba31ae87339328053316bcbd19aedc32421..48b5564d1362599ebb86bc837c18e6b70e1a2cd2 100644 (file)
@@ -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