To detect (and use) libid3 we need to link with -lm

This commit is contained in:
alek
2005-01-05 15:45:15 +00:00
parent 69777e8169
commit 472fbf6891
+11 -2
View File
@@ -1,6 +1,6 @@
$OpenBSD: patch-configure,v 1.2 2004/09/26 09:23:44 sturm Exp $
$OpenBSD: patch-configure,v 1.3 2005/01/05 15:45:15 alek Exp $
--- configure.orig Wed Apr 23 04:33:56 2003
+++ configure Sun Sep 26 10:24:00 2004
+++ configure Wed Jan 5 16:10:31 2005
@@ -8029,13 +8029,13 @@ LIBTOOL='$(SHELL) $(top_builddir)/libtoo
@@ -47,6 +47,15 @@ $OpenBSD: patch-configure,v 1.2 2004/09/26 09:23:44 sturm Exp $
else
echo "$as_me:$LINENO: checking for pthread_create in -lc_r" >&5
echo $ECHO_N "checking for pthread_create in -lc_r... $ECHO_C" >&6
@@ -11324,7 +11324,7 @@ cat conftest.$ac_ext >&5
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
if test "$ac_cv_search_ID3Tag_Link" = no; then
- for ac_lib in "id3 -lz -lstdc++"; do
+ for ac_lib in "id3 -lm -lz -lstdc++"; do
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
@@ -11437,7 +11437,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5