diff options
author | Christian Beier <dontmind@freeshell.org> | 2012-04-30 21:50:26 +0200 |
---|---|---|
committer | Christian Beier <dontmind@freeshell.org> | 2012-04-30 21:50:26 +0200 |
commit | ae41be237f0d31b8b3ef1cde9cc5a4b878a76a33 (patch) | |
tree | f0e72a4ae09c3576d6d99a3321d2a304618e9767 | |
parent | d4cbaa0c17c512c9bd1de429779a9ee0ed927aed (diff) | |
download | libtdevnc-ae41be237f0d31b8b3ef1cde9cc5a4b878a76a33.tar.gz libtdevnc-ae41be237f0d31b8b3ef1cde9cc5a4b878a76a33.zip |
Make PKG_CHECK_MODULES fail non-fatal.
These check for optional modules.
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 356984a..3e83d3a 100644 --- a/configure.ac +++ b/configure.ac @@ -790,7 +790,7 @@ AC_SUBST(SDL_LIBS) # 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") AC_CANONICAL_HOST @@ -824,7 +824,7 @@ AC_ARG_WITH(gnutls, [ --with-gnutls=DIR use gnutls include/library files in DIR],,) 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" LIBS="$LIBS $GNUTLS_LIBS" fi |