configure: check for pkg-config presence

Change-Id: Iaca22089bcb21b56048fa541f588c4ad4bed8f6d
changes/00/1000/1
Neels Hofmeyr 6 years ago
parent ecacdc65c3
commit ff8ca58821
  1. 7
      configure.ac

@ -7,6 +7,13 @@ AC_CONFIG_AUX_DIR([.])
AM_INIT_AUTOMAKE([dist-bzip2])
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 kernel style compile messages
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
AC_PROG_CC

Loading…
Cancel
Save