summaryrefslogtreecommitdiff
path: root/autoconf
diff options
context:
space:
mode:
authorJeffrey Yasskin <jyasskin@google.com>2009-07-01 18:11:20 +0000
committerJeffrey Yasskin <jyasskin@google.com>2009-07-01 18:11:20 +0000
commited1c0ffe0b2287deaee7cba7506c93aa34c6d4b7 (patch)
treeaacc869a6945fbd60630f775bd2530fa3d2eaed9 /autoconf
parentb1d7a5d1146c30a54002b7ab49daf024e3174b95 (diff)
downloadllvm-ed1c0ffe0b2287deaee7cba7506c93aa34c6d4b7.tar.gz
llvm-ed1c0ffe0b2287deaee7cba7506c93aa34c6d4b7.tar.bz2
llvm-ed1c0ffe0b2287deaee7cba7506c93aa34c6d4b7.tar.xz
Add a portable strerror*() wrapper, llvm::sys::StrError(). This includes the
Windows variant, strerror_s, but I couldn't test that. I'll update configure and config.h.in in a subsequent patch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74621 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf')
-rw-r--r--autoconf/configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index f71e648d57..1db4dea848 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -914,7 +914,8 @@ 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 strerror strerror_r ])
+AC_CHECK_FUNCS([mktemp realpath sbrk setrlimit strdup ])
+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