And we checked them all...
AC_SUBST([LIBDL], [$lt_cv_dlopen_libs])
-AC_MSG_CHECKING([for RTLD_NOW]);
-ac_save_LIBS="$LIBS"
-LIBS="$LIBS $LIBDL"
-AC_LINK_IFELSE(
- [AC_LANG_PROGRAM([[#include <dlfcn.h>]],
- [[(void) dlopen("",RTLD_NOW);]])],
- [has_RTLD_NOW=yes],
- [has_RTLD_NOW=no])
-AC_MSG_RESULT([$has_RTLD_NOW])
-if test "$has_RTLD_NOW" = "no"; then
- AC_DEFINE(NEED_RTLD_NOW,,[If host OS misses RTLD_NOW])
-fi
-LIBS=$ac_save_LIBS
-
THREADFLAGS=""
case "$host_os" in
pthread_mutex_t UeberBackend::d_mut = PTHREAD_MUTEX_INITIALIZER;
pthread_cond_t UeberBackend::d_cond = PTHREAD_COND_INITIALIZER;
-#ifdef NEED_RTLD_NOW
-#define RTLD_NOW RTLD_LAZY
-#endif
-
//! Loads a module and reports it to all UeberBackend threads
bool UeberBackend::loadmodule(const string &name)
{