- [RT_LIB="-lrt"
- AC_SUBST(RT_LIB)
- AC_DEFINE([HAVE_CLOCK_GETTIME], [ 1 ], [Have clock_gettime])],
- [AC_DEFINE([HAVE_CLOCK_GETTIME], [ 0 ], [Have clock_gettime])])
-
-# Check for the ability to call dlopen
-AS_IF([test "x$enable_static" = "xyes"],
- [AC_CHECK_LIB([dl],[dlopen],
- [DL_LIB="-ldl"
- AC_SUBST([DL_LIB])
- AC_DEFINE([HAVE_LIBDL],[1],[Have dlopen])])],
- [AC_DEFINE([HAVE_LIBDL], [0], [Have dlopen])])
-
-AC_CHECK_LIB([m],[floor])
-AC_CHECK_FUNCS([sigignore])
+ [AC_SUBST([RT_LIB],[-lrt])
+ AC_DEFINE([HAVE_CLOCK_GETTIME],[1],[Have clock_gettime])],
+ [AC_DEFINE([HAVE_CLOCK_GETTIME],[0],[Have clock_gettime])])
+
+# Check for the ability to call dlopen (used in libhostile)
+AX_DLOPEN