]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Require compiler to support C99
authorTim Rühsen <tim.ruehsen@gmx.de>
Thu, 28 Jul 2016 07:55:27 +0000 (09:55 +0200)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Thu, 28 Jul 2016 12:33:24 +0000 (14:33 +0200)
configure.ac

index 8175759d6d689b366ab7d915d85352ba637cb88d..492871c1f7c632fda24089f99adbf44307e1085f 100644 (file)
@@ -48,6 +48,14 @@ AC_PROG_SED
 
 AC_USE_SYSTEM_EXTENSIONS
 
+#
+# Require C99 support
+#    
+AC_PROG_CC_C99
+if test "$ac_cv_prog_cc_c99" = "no"; then
+  AC_MSG_WARN([[Compiler does not support C99. It may not be able to compile the project.]])
+fi
+
 AX_CODE_COVERAGE
 
 AC_ARG_ENABLE(doc,