diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-12-15 01:41:56 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-12-15 01:41:56 +0000 |
commit | 1b916e1ced4dc0bf13e16219e7e8b714d253dcdc (patch) | |
tree | 1201e0f8b670d5e4d89d9737eba1e556ed5d2d18 | |
parent | 360d6b71a3fbaa5ad403d4b598126b4a537d7583 (diff) | |
download | bcm5719-llvm-1b916e1ced4dc0bf13e16219e7e8b714d253dcdc.tar.gz bcm5719-llvm-1b916e1ced4dc0bf13e16219e7e8b714d253dcdc.zip |
Add some system specific functions we use
llvm-svn: 18945
-rw-r--r-- | llvm/autoconf/configure.ac | 3 | ||||
-rwxr-xr-x | llvm/configure | 6 | ||||
-rw-r--r-- | llvm/include/llvm/Config/config.h.in | 9 |
3 files changed, 16 insertions, 2 deletions
diff --git a/llvm/autoconf/configure.ac b/llvm/autoconf/configure.ac index 0fad0356929..e295b878780 100644 --- a/llvm/autoconf/configure.ac +++ b/llvm/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/llvm/configure b/llvm/configure index 4741b5f358f..1b47b619af9 100755 --- a/llvm/configure +++ b/llvm/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/llvm/include/llvm/Config/config.h.in b/llvm/include/llvm/Config/config.h.in index 8f682d34bee..0d0a0780495 100644 --- a/llvm/include/llvm/Config/config.h.in +++ b/llvm/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 |