Added doxygen comments for various enumeration types.
[libfirm] / configure.in
index e3104bd..89bed7d 100644 (file)
@@ -2,7 +2,7 @@ dnl
 dnl Project:     libFIRM
 dnl File name:   configure.in
 dnl Purpose:
-dnl Author:      Till Riedel
+dnl Author:      Till Riedel (??)
 dnl Modified by:
 dnl Created:
 dnl CVS-ID:      $Id$
@@ -210,6 +210,16 @@ if test "$ac_obstack_headers" != yes; then
 fi
 
 
+AC_CHECK_HEADERS(alloca.h, ac_alloca_headers="yes", ac_alloca_headers="no")
+if test "$ac_alloca_headers" != yes; then
+  if test "$ac_cv_header_stdc" == no; then
+    AC_MSG_ERROR("alloca.h and stdlib.h not found")
+  else
+    AC_DEFINE(HAVE_ALLOCA_H)
+  fi
+fi
+
+
 dnl check for jni header files
 
 if test "$enable_firm_jni" = yes; then