diff --git a/configure.ac b/configure.ac index 32148ea8abafb168efdd9acd544402a6152c09b3..7be991dcf76508980d977359d4974636b4094cd0 100644 --- a/configure.ac +++ b/configure.ac @@ -87,7 +87,7 @@ if $have_gthread; then fi AM_CONDITIONAL(HAVE_GTHREAD, $have_gthread) -PKG_CHECK_MODULES(GOBJECT, gobject-2.0, have_gobject=true, have_gobject=false) +PKG_CHECK_MODULES(GOBJECT, gobject-2.0 glib-2.0 >= 2.16, have_gobject=true, have_gobject=false) if $have_gobject; then AC_DEFINE(HAVE_GOBJECT, 1, [Have gobject2 library]) GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`