summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac1
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 6d3d77e..5d4e77e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,7 +1,7 @@
ACLOCAL_AMFLAGS = -I m4
AM_CPPFLAGS = -D_GNU_SOURCE -I$(top_srcdir)/lib/include
-AM_CFLAGS = -std=c99 $(WARN_CFLAGS)
+AM_CFLAGS = $(WARN_CFLAGS)
sbin_PROGRAMS =
noinst_LIBRARIES =
diff --git a/configure.ac b/configure.ac
index 761686e..a47e0c7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5,6 +5,7 @@ AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([foreign subdir-objects dist-xz])
AM_SILENT_RULES([yes])
AC_PROG_CC
+AC_PROG_CC_C99
AC_PROG_INSTALL
AC_PROG_RANLIB
AC_PROG_MKDIR_P