aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 6d5b3b3..0d84ffc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -13,6 +13,13 @@ AM_PROG_CC_C_O
AC_PROG_LIBTOOL
AC_PROG_INSTALL
+# check for pkg-config (explained in detail in libosmocore/configure.ac)
+AC_PATH_PROG(PKG_CONFIG_INSTALLED, pkg-config, no)
+if test "x$PKG_CONFIG_INSTALLED" = "xno"; then
+ AC_MSG_WARN([You need to install pkg-config])
+fi
+PKG_PROG_PKG_CONFIG([0.20])
+
# Checks for libraries.
# Checks for header files.