Explain the purpose of PKG_CHECK_MODULES

This commit is contained in:
Ruben Laguna 2015-02-06 20:29:48 +01:00
parent 99d94aad14
commit 10c86b7137

View File

@ -51,8 +51,12 @@ AC_CHECK_HEADER([stdlib.h])
# Checks for library functions.
PKG_CHECK_MODULES([DEPS], [glib-2.0 >= 2.24.1]) # use pkg-config to fill DEPS_CFLAGS and DEPS_LIBS
# The following statement will use pkg-config --cflags --libs
# to find out CFLAGS and -l options required to build a target that
# it's going to link against glib2.0.
# The required CFLAGS and -l options are available as DEPS_CFLAGS
# and DEPS_LIBS in Makefile.am
PKG_CHECK_MODULES([DEPS], [glib-2.0 >= 2.24.1])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT