aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-12-15 01:41:56 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-12-15 01:41:56 +0000
commitf9960f769ae574705b4dff4d6253285705a7012a (patch)
tree241f43214b4c4b48fd4cc6ed31320a2267965183
parentf96eb57a4bb9ceca22fa9609cc6eca8f74fa565e (diff)
downloadexternal_llvm-f9960f769ae574705b4dff4d6253285705a7012a.zip
external_llvm-f9960f769ae574705b4dff4d6253285705a7012a.tar.gz
external_llvm-f9960f769ae574705b4dff4d6253285705a7012a.tar.bz2
Add some system specific functions we use
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18945 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--autoconf/configure.ac3
-rwxr-xr-xconfigure6
-rw-r--r--include/llvm/Config/config.h.in9
3 files changed, 16 insertions, 2 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index 0fad035..e295b87 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -409,7 +409,8 @@ dnl=== SECTION 8: Check for specific functions needed
dnl===
dnl===-----------------------------------------------------------------------===
-AC_CHECK_FUNCS([backtrace getcwd gettimeofday isatty getrusage mkstemp])
+AC_CHECK_FUNCS([backtrace getcwd gettimeofday isatty getrusage mkstemp mktemp
+ mkdtemp realpath])
AC_CHECK_FUNCS([strdup strtoq strtoll])
AC_C_PRINTF_A
AC_FUNC_ALLOCA
diff --git a/configure b/configure
index 4741b5f..1b47b61 100755
--- a/configure
+++ b/configure
@@ -26617,7 +26617,11 @@ fi
-for ac_func in backtrace getcwd gettimeofday isatty getrusage mkstemp
+
+
+
+for ac_func in backtrace getcwd gettimeofday isatty getrusage mkstemp mktemp
+ mkdtemp realpath
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 8f682d3..0d0a078 100644
--- a/include/llvm/Config/config.h.in
+++ b/include/llvm/Config/config.h.in
@@ -179,9 +179,15 @@
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
+/* Define to 1 if you have the `mkdtemp' function. */
+#undef HAVE_MKDTEMP
+
/* Define to 1 if you have the `mkstemp' function. */
#undef HAVE_MKSTEMP
+/* Define to 1 if you have the `mktemp' function. */
+#undef HAVE_MKTEMP
+
/* Define to 1 if you have a working `mmap' system call. */
#undef HAVE_MMAP
@@ -216,6 +222,9 @@
/* Define to 1 if you have the `readdir' function. */
#undef HAVE_READDIR
+/* Define to 1 if you have the `realpath' function. */
+#undef HAVE_REALPATH
+
/* Define to 1 if you have the `rindex' function. */
#undef HAVE_RINDEX