configure: Add check for dlinfo().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
c30d30d328
commit
3154cda6bd
|
@ -17864,12 +17864,13 @@ fi
|
|||
|
||||
ac_wine_check_funcs_save_LIBS="$LIBS"
|
||||
LIBS="$LIBS $DL_LIBS"
|
||||
for ac_func in dladdr
|
||||
for ac_func in dladdr dlinfo
|
||||
do :
|
||||
ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
|
||||
if test "x$ac_cv_func_dladdr" = xyes; then :
|
||||
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
||||
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
||||
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
#define HAVE_DLADDR 1
|
||||
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
||||
_ACEOF
|
||||
|
||||
fi
|
||||
|
|
|
@ -2182,7 +2182,7 @@ CFLAGS="$ac_save_CFLAGS"
|
|||
|
||||
dnl Check for -ldl
|
||||
AC_SEARCH_LIBS(dlopen, dl)
|
||||
WINE_CHECK_LIB_FUNCS(dladdr,[$DL_LIBS])
|
||||
WINE_CHECK_LIB_FUNCS(dladdr dlinfo,[$DL_LIBS])
|
||||
|
||||
dnl Check for -lpoll for Mac OS X/Darwin
|
||||
if test "$ac_cv_func_poll" = no
|
||||
|
|
|
@ -110,6 +110,9 @@
|
|||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
#undef HAVE_DLFCN_H
|
||||
|
||||
/* Define to 1 if you have the `dlinfo' function. */
|
||||
#undef HAVE_DLINFO
|
||||
|
||||
/* Define to 1 if you have the <EGL/egl.h> header file. */
|
||||
#undef HAVE_EGL_EGL_H
|
||||
|
||||
|
|
Loading…
Reference in New Issue