projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1.0.1 patches
[mmh]
/
configure.in
diff --git
a/configure.in
b/configure.in
index
6b4e237
..
fec2eab
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-270,14
+270,21
@@
dnl CHECK FUNCTIONS
dnl ---------------
AC_FUNC_VFORK
AC_CHECK_FUNCS(waitpid wait3 sigaction sigprocmask sigblock sigsetmask \
dnl ---------------
AC_FUNC_VFORK
AC_CHECK_FUNCS(waitpid wait3 sigaction sigprocmask sigblock sigsetmask \
- sighold sigrelse writev lstat uname tzset killpg \
- sigsetjmp)
+ sighold sigrelse writev lstat uname tzset killpg)
+
+dnl sigsetjmp may be a macro
+AC_MSG_CHECKING(for sigsetjmp)
+AC_TRY_LINK([#include <setjmp.h>], [sigsetjmp((void *)0, 0);],
+ [AC_DEFINE(HAVE_SIGSETJMP) AC_MSG_RESULT(yes)], AC_MSG_RESULT(no))
AC_REPLACE_FUNCS(snprintf strerror strdup)
dnl -------------------
dnl CHECK FOR LIBRARIES
dnl -------------------
AC_REPLACE_FUNCS(snprintf strerror strdup)
dnl -------------------
dnl CHECK FOR LIBRARIES
dnl -------------------
+dnl Check location of modf
+AC_CHECK_FUNC(modf, , AC_CHECK_LIB(m, modf))
+
dnl Checks for network libraries (nsl, socket)
AC_CHECK_NETLIBS
dnl Checks for network libraries (nsl, socket)
AC_CHECK_NETLIBS