summaryrefslogtreecommitdiff
path: root/packages/gtk-webcore/osb-jscore-0.5.0/libm.patch
blob: b0c0cc6af2ead5af2f66c69815dd34cf1cd3bd3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: osb-jscore-0.5.0/configure.in
===================================================================
--- osb-jscore-0.5.0.orig/configure.in	2004-10-18 11:39:43.000000000 -0400
+++ osb-jscore-0.5.0/configure.in	2005-02-02 17:36:36.551550088 -0500
@@ -18,6 +18,8 @@
 AC_CHECK_HEADERS(string.h strings.h float.h)
 
 
+# isnan & friends generally come from libm, so link to it if its available
+AC_CHECK_LIB(m, sin)
 
 AC_CHECK_FUNCS(isnan,[
 	AC_DEFINE(HAVE_FUNC_ISNAN,[],[Define to 1 if you have isnan function.])