build: Error if glib isn't found

This is a bit extracted from my work on ASAN.

Closes: #625
Approved by: jlebon
This commit is contained in:
Colin Walters 2016-12-08 13:38:49 -05:00 committed by Atomic Bot
parent 640e92ef37
commit ef438c8d60

View File

@ -53,7 +53,7 @@ AS_IF([test "$YACC" != "bison -y"], [AC_MSG_ERROR([bison not found but required]
PKG_PROG_PKG_CONFIG
AM_PATH_GLIB_2_0
AM_PATH_GLIB_2_0(,,AC_MSG_ERROR([GLib not found]))
dnl When bumping the gio-unix-2.0 dependency (or glib-2.0 in general),
dnl remember to bump GLIB_VERSION_MIN_REQUIRED and