summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2012-04-30 21:50:26 +0200
committerChristian Beier <dontmind@freeshell.org>2012-04-30 21:50:26 +0200
commitae41be237f0d31b8b3ef1cde9cc5a4b878a76a33 (patch)
treef0e72a4ae09c3576d6d99a3321d2a304618e9767
parentd4cbaa0c17c512c9bd1de429779a9ee0ed927aed (diff)
downloadlibtdevnc-ae41be237f0d31b8b3ef1cde9cc5a4b878a76a33.tar.gz
libtdevnc-ae41be237f0d31b8b3ef1cde9cc5a4b878a76a33.zip
Make PKG_CHECK_MODULES fail non-fatal.
These check for optional modules.
-rw-r--r--configure.ac4
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