comparison configure.ac @ 32417:066823e80669

rekkanoryo pointed out that this error message is for a different function than is actually tested. Also, make a note that Windows does not use libm.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Fri, 23 Dec 2011 02:13:20 +0000
parents 9e9eb3cd5677
children 466efc330d3d
comparison
equal deleted inserted replaced
32416:fb0c5aa0fe55 32417:066823e80669
200 AC_SYS_LARGEFILE 200 AC_SYS_LARGEFILE
201 201
202 dnl FreeBSD doesn't have libdl, dlopen is provided by libc 202 dnl FreeBSD doesn't have libdl, dlopen is provided by libc
203 AC_CHECK_FUNC(dlopen, LIBDL="", [AC_CHECK_LIB(dl, dlopen, LIBDL="-ldl")]) 203 AC_CHECK_FUNC(dlopen, LIBDL="", [AC_CHECK_LIB(dl, dlopen, LIBDL="-ldl")])
204 204
205 dnl Haiku does not use libm for the math functions, they are part 205 dnl Windows and Haiku do not use libm for the math functions, they are part
206 dnl of the C library 206 dnl of the C library
207 AC_SEARCH_LIBS([ceil], [m], [], [ 207 AC_SEARCH_LIBS([ceil], [m], [], [
208 AC_MSG_ERROR([unable to find the floor() function]) 208 AC_MSG_ERROR([unable to find the ceil() function])
209 ]) 209 ])
210 210
211 AC_MSG_CHECKING(for fileno()) 211 AC_MSG_CHECKING(for fileno())
212 AC_RUN_IFELSE([AC_LANG_SOURCE([[ 212 AC_RUN_IFELSE([AC_LANG_SOURCE([[
213 #include <stdio.h> 213 #include <stdio.h>