aboutsummaryrefslogtreecommitdiff
path: root/gprof/configure.in
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2007-10-12 16:36:48 +0000
committerNick Clifton <nickc@redhat.com>2007-10-12 16:36:48 +0000
commit1b9750d66ea3b795b823b954f836f2f92b0c65bf (patch)
treeca4cb2948b3c357e3bcfb4cdb0a07a3211fa03dc /gprof/configure.in
parent7337fc21f263cfa76ffdf8378b9e54e9d38790dc (diff)
downloadgdb-1b9750d66ea3b795b823b954f836f2f92b0c65bf.zip
gdb-1b9750d66ea3b795b823b954f836f2f92b0c65bf.tar.gz
gdb-1b9750d66ea3b795b823b954f836f2f92b0c65bf.tar.bz2
PR gprof/5147
* configure.in: Add check for fabs() being in libm. * configure: Regenerate.
Diffstat (limited to 'gprof/configure.in')
-rw-r--r--gprof/configure.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/gprof/configure.in b/gprof/configure.in
index ffd8bcb..8d98d80 100644
--- a/gprof/configure.in
+++ b/gprof/configure.in
@@ -44,6 +44,9 @@ if test $gprof_cv_decl_getopt_unistd_h = yes; then
[Is the prototype for getopt in <unistd.h> in the expected format?])
fi
+# Some systems have fabs only in -lm, not in -lc.
+AC_SEARCH_LIBS(fabs, m)
+
AM_BINUTILS_WARNINGS
dnl Required by html and install-html