Use PKG_PROG_PKG_CONFIG

Remove ad-hoc code and use the standard macro instead.

Closes issue #249
This commit is contained in:
Ludovic Rousseau 2013-05-24 20:30:23 +02:00
parent 0a5199a737
commit 16a5fc419c

View file

@ -39,10 +39,7 @@ case "$host" in
esac
AM_CONDITIONAL(POSIX_ONLY_EXAMPLES_ENABLED, [test "$WITH_POSIX_ONLY_EXAMPLES" = "1"])
AC_PATH_PROG(PKG_CONFIG, pkg-config)
if test x"$PKG_CONFIG" = x""; then
AC_MSG_ERROR([pkg-config not found.])
fi
PKG_PROG_PKG_CONFIG
# Checks for header files.
AC_HEADER_STDC