aboutsummaryrefslogtreecommitdiff
path: root/binutils/configure.in
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
parent2a275620b19294bde3a5c574f75b54aba222c76c (diff)
downloadgdb-f353eb8a51a81b3997cf97a7e02c5a7fdafb8a6e.zip
gdb-f353eb8a51a81b3997cf97a7e02c5a7fdafb8a6e.tar.gz
gdb-f353eb8a51a81b3997cf97a7e02c5a7fdafb8a6e.tar.bz2
* 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 878a6c6..7da8ab6 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;],