configure: check for pkg-config presence

Change-Id: Ifee0434dfa275f9faa517c740fd8577930f37188
This commit is contained in:
Neels Hofmeyr 2016-10-01 00:51:48 +02:00 committed by Harald Welte
parent fac02d3d75
commit 3f192f2291
1 changed files with 7 additions and 0 deletions

View File

@ -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 header files
AC_HEADER_STDC