NEED_LIBDL is nowhere used any more, drop useless patch
mirabilos
7 years ago
13 | 13 | pkgconfig \ |
14 | 14 | + xorgxrdp \ |
15 | 15 | $(XRDPVRDIR) |
16 | --- a/configure.ac | |
17 | +++ b/configure.ac | |
18 | @@ -294,6 +294,14 @@ AC_CHECK_HEADER([X11/extensions/Xrandr.h | |
19 | [AC_MSG_ERROR([please install libxrandr-dev or libXrandr-devel])], | |
20 | [#include <X11/Xlib.h>]) | |
21 | ||
22 | +# checking if we need libdl | |
23 | +save_LIBS=$LIBS | |
24 | +AC_SEARCH_LIBS([dlopen], [dl dld], [], [ | |
25 | + AC_MSG_ERROR([unable to find the dlopen() function]) | |
26 | +]) | |
27 | +AM_CONDITIONAL(NEED_LIBDL, [test x"$LIBS" != x"$save_LIBS"]) | |
28 | +LIBS=$save_LIBS | |
29 | + | |
30 | CFLAGS="$save_CFLAGS" | |
31 | ||
32 | AC_SUBST([moduledir], '${libdir}/xrdp') | |
33 | 16 | --- a/xrdp/Makefile.am |
34 | 17 | +++ b/xrdp/Makefile.am |
35 | 18 | @@ -23,7 +23,7 @@ endif |