# HG changeset patch # User Elliott Sales de Andrade # Date 1324523352 0 # Node ID 9e9eb3cd5677da2fba038cc8fc4c732f4229d7c7 # Parent 420aef349806b32485f5a2af0fa8744d08b6b98c 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 420aef349806 -r 9e9eb3cd5677 configure.ac --- a/configure.ac Thu Dec 22 01:42:18 2011 +0000 +++ b/configure.ac Thu Dec 22 03:09:12 2011 +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