summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2018-01-07 01:12:52 -0800
committerGuy Harris <guy@alum.mit.edu>2018-01-07 01:12:52 -0800
commit8ab5c3a4e75a3ce8da691cd6ca6a9945082827af (patch)
tree5370441f0d7254b3d8d97e10cf0b9553010ff5ee /configure.ac
parent39a7d38ee8332a8e70dff64676cc488443a5b76f (diff)
downloadtcpdump-8ab5c3a4e75a3ce8da691cd6ca6a9945082827af.tar.gz
C99 - ask for it by name!
Use AC_PROG_CC_C99, to try to get the appropriate flags to make C99 the C version for which we compile. (XXX - should we fail if we don't get support for C99?)
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 6c845c29..b39cc55e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -20,7 +20,7 @@ AC_CONFIG_SRCDIR(tcpdump.c)
AC_CANONICAL_HOST
AC_LBL_C_INIT_BEFORE_CC(V_INCLS)
-AC_PROG_CC
+AC_PROG_CC_C99
AC_LBL_C_INIT(V_CCOPT, V_INCLS)
AC_LBL_C_INLINE
AC_C___ATTRIBUTE__