mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-16 17:01:53 +00:00
Add checks for some dlopen flags
Checks aren't used yet, though.
This commit is contained in:
parent
cb10175824
commit
53a62e4d62
1 changed files with 19 additions and 0 deletions
|
@ -35,6 +35,25 @@ if test "x$ac_cv_func_dlopen" != "xyes"; then
|
|||
fi
|
||||
AC_SUBST(DL_LIBS)
|
||||
|
||||
if test "x$DL_LIBS" != "x"; then
|
||||
AC_MSG_CHECKING([for RTLD_NOW])
|
||||
AC_TRY_COMPILE(
|
||||
[#include <dlfcn.h>],
|
||||
[int foo = RTLD_NOW],
|
||||
AC_DEFINE(HAVE_RTLD_NOW, 1, [Define if you have RTLD_NOW.])
|
||||
AC_MSG_RESULT(yes),
|
||||
AC_MSG_RESULT(no)
|
||||
)
|
||||
AC_MSG_CHECKING([for RTLD_DEEPBIND])
|
||||
AC_TRY_COMPILE(
|
||||
[#include <dlfcn.h>],
|
||||
[int foo = RTLD_DEEPBIND],
|
||||
AC_DEFINE(HAVE_RTLD_DEEPBIND, 1, [Define if you have RTLD_DEEPBIND.])
|
||||
AC_MSG_RESULT(yes),
|
||||
AC_MSG_RESULT(no)
|
||||
)
|
||||
fi
|
||||
|
||||
dnl Checks for stricmp/strcasecmp
|
||||
#AC_CHECK_FUNC(strcasecmp,
|
||||
# ,
|
||||
|
|
Loading…
Reference in a new issue