summaryrefslogtreecommitdiff
path: root/autoconf
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-01-19 08:31:08 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-01-19 08:31:08 +0000
commit3484a99ba1ecddd221c9c77b321d66edb456a7fc (patch)
tree647c9f24ae3f997fe98c8085da83c7c675ed2fb0 /autoconf
parentf4bb9b1fa76564704a4ab6c27d5d72180b493e9a (diff)
downloadllvm-3484a99ba1ecddd221c9c77b321d66edb456a7fc.tar.gz
llvm-3484a99ba1ecddd221c9c77b321d66edb456a7fc.tar.bz2
llvm-3484a99ba1ecddd221c9c77b321d66edb456a7fc.tar.xz
Make sure that libm is used during config tests so that ceil, floor, and
friends are actually detected. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25454 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf')
-rw-r--r--autoconf/configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index 1ccef0ad97..2573f7ee2d 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -450,7 +450,7 @@ dnl===-----------------------------------------------------------------------===
dnl libelf is for sparc only; we can ignore it if we don't have it
AC_CHECK_LIB(elf, elf_begin)
-
+AC_CHECK_LIB(m,sin)
dnl lt_dlopen may be required for plugin support.
AC_SEARCH_LIBS(lt_dlopen,ltdl,AC_DEFINE([HAVE_LT_DLOPEN],[1],