summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-08-24 02:14:39 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-08-24 02:14:39 +0000
commit87cbef0df0f7bb86a0e8181aa72c4d322bb0707b (patch)
tree9130e3651e64bac616e7e7e63da5f449fa21a5d7
parent7e824a394b106bd001d6aff505eb7d9f84d7190b (diff)
downloadllvm-87cbef0df0f7bb86a0e8181aa72c4d322bb0707b.tar.gz
llvm-87cbef0df0f7bb86a0e8181aa72c4d322bb0707b.tar.bz2
llvm-87cbef0df0f7bb86a0e8181aa72c4d322bb0707b.tar.xz
Remove alloca config.h support.
- I did not actually remove the configure test itself, someone who can regenerate configure should do this (see FIXME in autoconf/configure.ac) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79881 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--autoconf/configure.ac1
-rwxr-xr-xcmake/config-ix.cmake2
-rw-r--r--include/llvm/Config/config.h.cmake15
-rw-r--r--include/llvm/Config/config.h.in15
4 files changed, 1 insertions, 32 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index f5731e95b1..22e4076a02 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -1092,6 +1092,7 @@ AC_CHECK_FUNCS([strerror strerror_r strerror_s ])
AC_CHECK_FUNCS([strtoll strtoq sysconf malloc_zone_statistics ])
AC_CHECK_FUNCS([setjmp longjmp sigsetjmp siglongjmp])
AC_C_PRINTF_A
+dnl FIXME: This is no longer used, please remove (but test)!!!
AC_FUNC_ALLOCA
AC_FUNC_RAND48
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake
index c52b70bfb8..abb4afc74d 100755
--- a/cmake/config-ix.cmake
+++ b/cmake/config-ix.cmake
@@ -1,7 +1,6 @@
# include checks
include(CheckIncludeFile)
-check_include_file(alloca.h HAVE_ALLOCA_H)
check_include_file(argz.h HAVE_ARGZ_H)
check_include_file(assert.h HAVE_ASSERT_H)
check_include_file(dirent.h HAVE_DIRENT_H)
@@ -51,7 +50,6 @@ check_library_exists(dl dlopen "" HAVE_LIBDL)
# function checks
include(CheckSymbolExists)
include(CheckFunctionExists)
-check_symbol_exists(alloca alloca.h HAVE_ALLOCA)
check_symbol_exists(getpagesize unistd.h HAVE_GETPAGESIZE)
check_symbol_exists(getrusage sys/resource.h HAVE_GETRUSAGE)
check_symbol_exists(setrlimit sys/resource.h HAVE_SETRLIMIT)
diff --git a/include/llvm/Config/config.h.cmake b/include/llvm/Config/config.h.cmake
index 7fe7fa38c7..626da4d91c 100644
--- a/include/llvm/Config/config.h.cmake
+++ b/include/llvm/Config/config.h.cmake
@@ -6,14 +6,6 @@
/* Define if dlopen(0) will open the symbols of the program */
#undef CAN_DLOPEN_SELF
-/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
- systems. This function is required for `alloca.c' support on those systems.
- */
-#undef CRAY_STACKSEG_END
-
-/* Define to 1 if using `alloca.c'. */
-#undef C_ALLOCA
-
/* Define if CBE is enabled for printf %a output */
#undef ENABLE_CBE_PRINTF_A
@@ -23,13 +15,6 @@
/* Define if threads enabled */
#cmakedefine ENABLE_THREADS ${ENABLE_THREADS}
-/* Define to 1 if you have `alloca', as a function or macro. */
-#cmakedefine HAVE_ALLOCA ${HAVE_ALLOCA}
-
-/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
- */
-#cmakedefine HAVE_ALLOCA_H ${HAVE_ALLOCA_H}
-
/* Define to 1 if you have the `argz_append' function. */
#undef HAVE_ARGZ_APPEND
diff --git a/include/llvm/Config/config.h.in b/include/llvm/Config/config.h.in
index 5e86dd168d..6a28326cdf 100644
--- a/include/llvm/Config/config.h.in
+++ b/include/llvm/Config/config.h.in
@@ -3,14 +3,6 @@
/* Define if dlopen(0) will open the symbols of the program */
#undef CAN_DLOPEN_SELF
-/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
- systems. This function is required for `alloca.c' support on those systems.
- */
-#undef CRAY_STACKSEG_END
-
-/* Define to 1 if using `alloca.c'. */
-#undef C_ALLOCA
-
/* Define if CBE is enabled for printf %a output */
#undef ENABLE_CBE_PRINTF_A
@@ -20,13 +12,6 @@
/* Define if threads enabled */
#undef ENABLE_THREADS
-/* Define to 1 if you have `alloca', as a function or macro. */
-#undef HAVE_ALLOCA
-
-/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
- */
-#undef HAVE_ALLOCA_H
-
/* Define to 1 if you have the `argz_append' function. */
#undef HAVE_ARGZ_APPEND