summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimo@endlessm.com>2014-11-25 13:08:09 -0800
committerCosimo Cecchi <cosimo@endlessm.com>2014-11-25 13:08:09 -0800
commit08c68b7a09a0df93584548f112d279d2b88f7041 (patch)
tree8b17d76d0fddc8caffc01798229552110d686453
parent92cae265efc208d8ef86fad153d180f4643e5486 (diff)
build: use AC_PROG_CC_C99
Instead of our hand rolled check. [endlessm/eos-sdk#2455]
-rw-r--r--configure.ac4
1 files changed, 1 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 243fb2a..df5c16c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -125,9 +125,7 @@ AC_SUBST(GLIB_COMPILE_RESOURCES)
AC_CACHE_SAVE
# Check that the compiler supports C99, and enable it in our CFLAGS
-AS_COMPILER_FLAGS(C99_CFLAGS, "-std=c99")
-C99_CFLAGS=${C99_CFLAGS#* }
-CFLAGS="$CFLAGS $C99_CFLAGS"
+AC_PROG_CC_C99
# Configure options
# -----------------