Restore GLib detection. Fixes #212

This commit is contained in:
Evan Miller
2020-12-13 07:43:52 -05:00
parent 47c933b8c3
commit b0902d1a51

View File

@@ -213,7 +213,7 @@ AC_ARG_ENABLE(glib,
if test "$enable_glib" = "yes"; then
GLIB_PACKAGE=glib-2.0
PKG_CHECK_MODULES([GLIB], [GLIB_PACKAGE], HAVE_GLIB=true, HAVE_GLIB=false)
PKG_CHECK_MODULES([GLIB], [$GLIB_PACKAGE], HAVE_GLIB=true, HAVE_GLIB=false)
if test "x$HAVE_GLIB" = "xtrue"; then
GLIB_CFLAGS="$GLIB_CFLAGS -DHAVE_GLIB=1"
AC_SUBST(GLIB_PACKAGE)