| 199 dnl (09:50:07) Robot101: LSchiere2: it's easy. +LC_SYS_LARGEFILE somewhere in configure.ac |
199 dnl (09:50:07) Robot101: LSchiere2: it's easy. +LC_SYS_LARGEFILE somewhere in configure.ac |
| 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 |
| |
205 dnl Haiku does not use libm for the math functions, they are part |
| |
206 dnl of the C library |
| |
207 AC_SEARCH_LIBS([ceil], [m], [], [ |
| |
208 AC_MSG_ERROR([unable to find the floor() function]) |
| |
209 ]) |
| 204 |
210 |
| 205 AC_MSG_CHECKING(for fileno()) |
211 AC_MSG_CHECKING(for fileno()) |
| 206 AC_RUN_IFELSE([AC_LANG_SOURCE([[ |
212 AC_RUN_IFELSE([AC_LANG_SOURCE([[ |
| 207 #include <stdio.h> |
213 #include <stdio.h> |
| 208 |
214 |