diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-10-01 00:50:25 +0200 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-10-01 01:01:53 +0200 |
commit | a8f91df851846d4f61a426e113df52faa1fa0144 (patch) | |
tree | 1291d33f09e812254b8b7591782aeedc28e3654f | |
parent | b81031292b21555be6f63f94b7d4dcc01e69cd7b (diff) |
configure: check for pkg-config presence
Change-Id: I1484fc8b870df6f0aeef0c13078c66d0cfa97e75
-rw-r--r-- | openbsc/configure.ac | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/openbsc/configure.ac b/openbsc/configure.ac index 4b00af73f..e2575c183 100644 --- a/openbsc/configure.ac +++ b/openbsc/configure.ac @@ -18,6 +18,13 @@ AC_PROG_CC AC_PROG_INSTALL AC_PROG_RANLIB +dnl 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]) + dnl checks for libraries AC_SEARCH_LIBS([dlopen], [dl dld], [LIBRARY_DL="$LIBS";LIBS=""]) AC_SUBST(LIBRARY_DL) |