ecore now requires c99
authordiscomfitor <discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 8 Jun 2012 19:09:41 +0000 (19:09 +0000)
committerdiscomfitor <discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 8 Jun 2012 19:09:41 +0000 (19:09 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@71859 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

configure.ac

index bfa7edc..10877b1 100644 (file)
@@ -370,7 +370,10 @@ m4_ifndef([am__fastdepOBJC], [
 ])
 
 AC_PROG_CXX
-AC_PROG_CC
+AC_PROG_CC_C99
+if test "x${ac_cv_prog_cc_c99}" = "xno" ; then
+   AC_MSG_ERROR([ecore requires a c99-capable compiler])
+fi
 
 have_gnu_objc=${ac_cv_objc_compiler_gnu}