diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-10-01 00:50:11 +0200 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-10-01 00:50:11 +0200 |
commit | 943f079e6635420e9e48d140cecd5c2dcb5a9ea6 (patch) | |
tree | 19efca00bce6d447842616dd583d65aba18d6c5a | |
parent | 2ccf5304ca465fbc70f6ae3283b4f49aaa9b650f (diff) |
configure: check for pkg-config presence
Change-Id: I6251b2a8e76e5850a346d88fd3c02435b0b445ad
-rw-r--r-- | configure.ac | 7 |
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. |