nobody needs alloca.h these days (hopefully) - using HAVE_s in public headers is...
authorMatthias Braun <matze@braunis.de>
Thu, 14 Apr 2011 12:51:51 +0000 (14:51 +0200)
committerMatthias Braun <matze@braunis.de>
Fri, 15 Apr 2011 14:11:23 +0000 (16:11 +0200)
configure.ac
include/libfirm/adt/xmalloc.h
ir/libcore/lc_opts.c
ir/libcore/lc_opts_enum.c
win32/config.h

index 872b51c..d23c4f7 100644 (file)
@@ -119,7 +119,6 @@ dnl ========================
 
 AC_HEADER_STDC
 AC_CHECK_HEADERS([math.h], , AC_MSG_ERROR("math header file not found"))
-AC_CHECK_HEADERS([alloca.h])
 
 dnl Checks for libraries.
 dnl =====================
index 85a45a3..86f655a 100644 (file)
@@ -36,9 +36,6 @@
 #ifdef _WIN32
 #include <malloc.h>
 #endif
-#ifdef HAVE_ALLOCA_H
-#include <alloca.h>
-#endif
 
 #include "../begin.h"
 
index 1090bba..34deeda 100644 (file)
@@ -27,9 +27,6 @@
 #ifdef _WIN32
 #include <malloc.h>
 #endif
-#ifdef HAVE_ALLOCA_H
-#include <alloca.h>
-#endif
 
 /* Includes to determine user's home directory */
 #ifdef _WIN32
index ac9f7e4..ebcb034 100644 (file)
@@ -18,9 +18,6 @@
 #ifdef _WIN32
 #include <malloc.h>
 #endif
-#ifdef HAVE_ALLOCA_H
-#include <alloca.h>
-#endif
 
 #include "lc_opts_t.h"
 #include "lc_opts_enum.h"
index 269327d..98f41af 100644 (file)
@@ -2,9 +2,6 @@
 /* always debug heap support */
 #include "crtdbg.h"
 
-/* Define to 1 if you have the <alloca.h> header file. */
-/* #undef HAVE_ALLOCA_H */
-
 /* Define to 1 if you have the <malloc.h> header file. */
 #define HAVE_MALLOC_H 1