aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2010-04-16 05:14:21 +0000
committerEric Christopher <echristo@apple.com>2010-04-16 05:14:21 +0000
commit5ce88cbf78effa3b7a625715638524fb6a179403 (patch)
tree553916a3d63ef7fe8562ab2578c83f1db23a6aa4
parent28efe60cc84a70c449e296b4f47a19bb0a748a51 (diff)
downloadexternal_llvm-5ce88cbf78effa3b7a625715638524fb6a179403.zip
external_llvm-5ce88cbf78effa3b7a625715638524fb6a179403.tar.gz
external_llvm-5ce88cbf78effa3b7a625715638524fb6a179403.tar.bz2
Add a check for posix_spawn.
Regenerate configure and other autoconf files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101444 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--autoconf/configure.ac2
-rwxr-xr-xconfigure3
-rw-r--r--include/llvm/Config/config.h.in3
3 files changed, 6 insertions, 2 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index ff5804b..76083d2 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -1290,7 +1290,7 @@ AC_CHECK_FUNCS([backtrace ceilf floorf roundf rintf nearbyintf getcwd ])
AC_CHECK_FUNCS([powf fmodf strtof round ])
AC_CHECK_FUNCS([getpagesize getrusage getrlimit setrlimit gettimeofday ])
AC_CHECK_FUNCS([isatty mkdtemp mkstemp ])
-AC_CHECK_FUNCS([mktemp realpath sbrk setrlimit strdup ])
+AC_CHECK_FUNCS([mktemp posix_spawn realpath sbrk setrlimit strdup ])
AC_CHECK_FUNCS([strerror strerror_r strerror_s setenv ])
AC_CHECK_FUNCS([strtoll strtoq sysconf malloc_zone_statistics ])
AC_CHECK_FUNCS([setjmp longjmp sigsetjmp siglongjmp])
diff --git a/configure b/configure
index 82aaccd..75f1c2b 100755
--- a/configure
+++ b/configure
@@ -17756,7 +17756,8 @@ done
-for ac_func in mktemp realpath sbrk setrlimit strdup
+
+for ac_func in mktemp posix_spawn realpath sbrk setrlimit strdup
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
diff --git a/include/llvm/Config/config.h.in b/include/llvm/Config/config.h.in
index 5caf778..c2ab23e 100644
--- a/include/llvm/Config/config.h.in
+++ b/include/llvm/Config/config.h.in
@@ -264,6 +264,9 @@
/* Define to 1 if you have the `opendir' function. */
#undef HAVE_OPENDIR
+/* Define to 1 if you have the `posix_spawn' function. */
+#undef HAVE_POSIX_SPAWN
+
/* Define to 1 if you have the `powf' function. */
#undef HAVE_POWF