commit | a53d4e55a51518ae5735a65405dcee88c59cd5d8 | [log] [tgz] |
---|---|---|
author | Martin Winter <mwinter@opensourcerouting.org> | Thu Oct 20 23:55:10 2016 -0700 |
committer | Paul Jakma <paul@quagga.net> | Mon Jan 23 18:51:57 2017 +0000 |
tree | 1e618c5d2ee2284ec9b2787a52d2feecf1182925 | |
parent | c2c63cb3d5e2f56cf2b2d3f00535d275ab23a969 [diff] [blame] |
build: configure.ac - use AC_PROG_CC_C99 instead of cflags to force c99 mode
diff --git a/configure.ac b/configure.ac index 5589844..deb48eb 100755 --- a/configure.ac +++ b/configure.ac
@@ -77,6 +77,7 @@ AC_PROG_RANLIB AC_PROG_EGREP PKG_PROG_PKG_CONFIG +AC_PROG_CC_C99 dnl autoconf 2.59 appears not to support AC_PROG_SED dnl AC_PROG_SED @@ -145,7 +146,6 @@ AC_MSG_RESULT([autodetecting]) AC_C_FLAG([-diag-error 10006]) - AC_C_FLAG([-std=gnu99]) AC_C_FLAG([-g]) AC_C_FLAG([-Os], [ AC_C_FLAG([-O2])