changeset 32512:a3e32be01b16

*** Plucked rev 1270f4e5ab858ed24cdaf179e71fedea82ea9e09 (qulogic@pidgin.im): 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.
author Mark Doliner <mark@kingant.net>
date Mon, 13 Feb 2012 03:57:10 +0000
parents f1d3a12ab5fe
children 5a9c9789e755
files ChangeLog configure.ac
diffstat 2 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Feb 13 03:51:38 2012 +0000
+++ b/ChangeLog	Mon Feb 13 03:57:10 2012 +0000
@@ -1,6 +1,9 @@
 Pidgin and Finch: The Pimpin' Penguin IM Clients That're Good for the Soul
 
 version 2.10.2 (02/22/2012):
+	General:
+	* Fix compilation when using binutils 2.22 and new GDK pixbuf. (#14799)
+
 	AIM and ICQ:
 	* Allow signing on with usernames containing periods and
 	  underscores. (#13500)
--- a/configure.ac	Mon Feb 13 03:51:38 2012 +0000
+++ b/configure.ac	Mon Feb 13 03:57:10 2012 +0000
@@ -202,6 +202,12 @@
 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>