HCoop
/
bpt
/
guile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df8c52e
)
build: Use 'LT_LIB_M' to determine whether -lm is needed.
author
Ludovic Courtès
<ludo@gnu.org>
Fri, 4 Jul 2014 13:37:38 +0000
(15:37 +0200)
committer
Ludovic Courtès
<ludo@gnu.org>
Fri, 4 Jul 2014 13:37:38 +0000
(15:37 +0200)
* configure.ac: Use 'LT_LIB_M' instead of 'AC_CHECK_LIB(m, cos)'.
Suggested by Sylvain Beucler <beuc@beuc.net>.
configure.ac
patch
|
blob
|
blame
|
history
diff --git
a/configure.ac
b/configure.ac
index
552a91b
..
f65d72e
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-692,10
+692,9
@@
AC_TYPE_GETGROUPS
AC_TYPE_SIGNAL
AC_TYPE_MODE_T
-# On mingw -lm is empty, so this test is unnecessary, but it's
-# harmless so we don't hard-code to suppress it.
-#
-AC_CHECK_LIB(m, cos)
+dnl Check whether we need -lm.
+LT_LIB_M
+LIBS="$LIBS $LIBM"
AC_CHECK_FUNCS(gethostbyname)
if test $ac_cv_func_gethostbyname = no; then