9
0
Fork 0

configure: check for pkg-config presence

Change-Id: I658152eb24fd783fce9ceac35872ab918c80209a
This commit is contained in:
Neels Hofmeyr 2016-10-01 00:51:26 +02:00
parent ee9d34a9cc
commit 38929c9131
1 changed files with 7 additions and 0 deletions

View File

@ -20,6 +20,13 @@ AC_PROG_CPP
AC_PROG_CXX
LT_INIT
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])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_LIBOBJ_DIR([lib])