aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-06-12 15:20:21 +0000
committerIan Lance Taylor <ian@airs.com>1999-06-12 15:20:21 +0000
commitf353eb8a51a81b3997cf97a7e02c5a7fdafb8a6e (patch)
treea6b58f4d06d0ec695922ab06c173242aacce6dc6 /binutils/configure.in
parent * emultempl/pe.em (gld_${EMULATION_NAME}_after_parse): Don't add (diff)
downloadbinutils-gdb-f353eb8a51a81b3997cf97a7e02c5a7fdafb8a6e.tar.gz
binutils-gdb-f353eb8a51a81b3997cf97a7e02c5a7fdafb8a6e.tar.bz2
binutils-gdb-f353eb8a51a81b3997cf97a7e02c5a7fdafb8a6e.zip
* configure.in: If frexp is not available, check in -lm.
* configure: Rebuild.
Diffstat (limited to 'binutils/configure.in')
-rw-r--r--binutils/configure.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/binutils/configure.in b/binutils/configure.in
index 878a6c6f685..7da8ab6cc44 100644
--- a/binutils/configure.in
+++ b/binutils/configure.in
@@ -64,6 +64,9 @@ AC_HEADER_SYS_WAIT
AC_FUNC_ALLOCA
AC_CHECK_FUNCS(sbrk utimes)
+# Some systems have frexp only in -lm, not in -lc.
+AC_SEARCH_LIBS(frexp, -lm)
+
AC_MSG_CHECKING(for time_t in time.h)
AC_CACHE_VAL(bu_cv_decl_time_t_time_h,
[AC_TRY_COMPILE([#include <time.h>], [time_t i;],