# HG changeset patch # User Mark Doliner # Date 1329105430 0 # Node ID a3e32be01b1693de31c32cd3966f8c169a6e328e # Parent f1d3a12ab5fec5cb99dca9dc73956141e0374a4e *** 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. diff -r f1d3a12ab5fe -r a3e32be01b16 ChangeLog --- 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) diff -r f1d3a12ab5fe -r a3e32be01b16 configure.ac --- 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