From ec643abe6903284fc9ae7b6d9ae5e0b4ad40ad28 Mon Sep 17 00:00:00 2001 From: Owen Anderson Date: Thu, 7 Feb 2013 00:21:34 +0000 Subject: Conditionalize constant folding of math intrinsics on the availability of an implementation on the host. This is a little bit unfortunate, but until someone decides to implement a full libm for APFloat, we don't have a better way to get this functionality. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174561 91177308-0d34-0410-b5e6-96231b3b80d8 --- autoconf/configure.ac | 1 + 1 file changed, 1 insertion(+) (limited to 'autoconf') diff --git a/autoconf/configure.ac b/autoconf/configure.ac index c1f2884145..ae615df202 100644 --- a/autoconf/configure.ac +++ b/autoconf/configure.ac @@ -1573,6 +1573,7 @@ dnl===-----------------------------------------------------------------------=== AC_CHECK_FUNCS([backtrace ceilf floorf roundf rintf nearbyintf getcwd ]) AC_CHECK_FUNCS([powf fmodf strtof round ]) +AC_CHECK_FUNCS([log log2 log10 exp exp2]) AC_CHECK_FUNCS([getpagesize getrusage getrlimit setrlimit gettimeofday ]) AC_CHECK_FUNCS([isatty mkdtemp mkstemp ]) AC_CHECK_FUNCS([mktemp posix_spawn pread realpath sbrk setrlimit strdup ]) -- cgit v1.2.3