From 10c86b7137e3e6e3e8a72ff124cf87d40dc4caa6 Mon Sep 17 00:00:00 2001 From: Ruben Laguna Date: Fri, 6 Feb 2015 20:29:48 +0100 Subject: [PATCH] Explain the purpose of PKG_CHECK_MODULES --- configure.ac | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 6189976..6a2a1b4 100644 --- a/configure.ac +++ b/configure.ac @@ -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