From d480b878260215d0fe02d147c7229cfe17b926a6 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 4 Jan 2018 17:50:44 +0100 Subject: [PATCH] make glib optional --- configure.ac | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 017b4836c..2c9486ac4 100644 --- a/configure.ac +++ b/configure.ac @@ -446,7 +446,7 @@ AC_CHECK_LIB(ogg, ogg_stream_flush_fill, ogg=0) -PKG_CHECK_MODULES([GLIB], [glib-2.0]) +PKG_CHECK_MODULES([GLIB], [glib-2.0], # check for pbc library pbc=0 AC_CHECK_HEADER([pbc/pbc.h],pbc=1) @@ -465,8 +465,10 @@ then else AC_DEFINE([HAVE_ABE],[0],[Lacking ABE library]) fi - - +, +# glib-2 not found + AC_DEFINE([HAVE_PBC],[0],[Lacking glib library]) +) gst=0 PKG_CHECK_MODULES( -- 2.25.1