pidgin: 1270f4e5: Check for libm. I think I read somewhere...

qulogic at pidgin.im qulogic at pidgin.im
Thu Dec 22 04:41:04 EST 2011


----------------------------------------------------------------------
Revision: 1270f4e5ab858ed24cdaf179e71fedea82ea9e09
Parent:   2ad7d8340eb7c4d0e548b4f1de1edc6c13cc78bd
Author:   qulogic at pidgin.im
Date:     12/21/11 22:09:12
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/1270f4e5ab858ed24cdaf179e71fedea82ea9e09

Changelog: 

Check for libm. I think I read somewhere that GDK pixbuf dropped
its dependency on it, which is probably why this is showing up now.

Closes #14799.

Changes against parent 2ad7d8340eb7c4d0e548b4f1de1edc6c13cc78bd

  patched  configure.ac

-------------- next part --------------
============================================================
--- configure.ac	933d1b7b5f7695ce607b01e470c70c46e7b84350
+++ configure.ac	e1acf49652946cd263982f3a2b643a4047b54cd0
@@ -202,6 +202,12 @@ AC_CHECK_FUNC(dlopen, LIBDL="", [AC_CHEC
 dnl FreeBSD doesn't have libdl, dlopen is provided by libc
 AC_CHECK_FUNC(dlopen, LIBDL="", [AC_CHECK_LIB(dl, dlopen, LIBDL="-ldl")])
 
+dnl Haiku does not use libm for the math functions, they are part
+dnl of the C library
+AC_SEARCH_LIBS([ceil], [m], [], [
+  AC_MSG_ERROR([unable to find the floor() function])
+])
+
 AC_MSG_CHECKING(for fileno())
 AC_RUN_IFELSE([AC_LANG_SOURCE([[
 #include <stdio.h>


More information about the Commits mailing list