Commit ae41be23 authored by Christian Beier's avatar Christian Beier

Make PKG_CHECK_MODULES fail non-fatal.

These check for optional modules.
parent d4cbaa0c
...@@ -790,7 +790,7 @@ AC_SUBST(SDL_LIBS) ...@@ -790,7 +790,7 @@ AC_SUBST(SDL_LIBS)
# Check for GTK+. if present, build the GTK+ vnc viewer example # Check for GTK+. if present, build the GTK+ vnc viewer example
PKG_CHECK_MODULES([GTK], [gtk+-2.0]) PKG_CHECK_MODULES([GTK], [gtk+-2.0],,:)
AM_CONDITIONAL(HAVE_LIBGTK, test ! -z "$GTK_LIBS") AM_CONDITIONAL(HAVE_LIBGTK, test ! -z "$GTK_LIBS")
AC_CANONICAL_HOST AC_CANONICAL_HOST
...@@ -824,7 +824,7 @@ AC_ARG_WITH(gnutls, ...@@ -824,7 +824,7 @@ AC_ARG_WITH(gnutls,
[ --with-gnutls=DIR use gnutls include/library files in DIR],,) [ --with-gnutls=DIR use gnutls include/library files in DIR],,)
if test "x$with_gnutls" != "xno"; then if test "x$with_gnutls" != "xno"; then
PKG_CHECK_MODULES(GNUTLS, gnutls >= 2.4.0) PKG_CHECK_MODULES(GNUTLS, gnutls >= 2.4.0,,:)
CFLAGS="$CFLAGS $GNUTLS_CFLAGS" CFLAGS="$CFLAGS $GNUTLS_CFLAGS"
LIBS="$LIBS $GNUTLS_LIBS" LIBS="$LIBS $GNUTLS_LIBS"
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment