diff options
author | David Oberhollenzer <david.oberhollenzer@tele2.at> | 2018-04-12 06:58:12 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@tele2.at> | 2018-04-12 13:23:49 +0200 |
commit | 0b3f53cd9ff469aff0e1d3578573ced767dcc974 (patch) | |
tree | 382852f2d43402ad5d48e938aebf01f381ce29c0 | |
parent | a3437967a2ae4730ba638cc80328055e9805e7c9 (diff) |
Let autoconf figure out how to set the language standard
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | configure.ac | 1 |
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 |