rely on pkg-config when finding check
The former code complains to install check even it is actually installed.
This commit is contained in:
parent
3a9d62b05c
commit
859a9d87c3
@ -358,8 +358,7 @@ AC_CHECK_HEADER([X11/extensions/Xrandr.h], [],
|
||||
CFLAGS="$save_CFLAGS"
|
||||
|
||||
# checking for libcheck (used for unit testing)
|
||||
PKG_CHECK_MODULES([CHECK], [check >= 0.10.0])
|
||||
AC_CHECK_HEADER([check.h], [],
|
||||
PKG_CHECK_MODULES([CHECK], [check >= 0.10.0], [],
|
||||
[AC_MSG_ERROR([please install check])])
|
||||
|
||||
AC_SUBST([moduledir], '${libdir}/xrdp')
|
||||
|
Loading…
Reference in New Issue
Block a user