Commit 16a5fc41 authored by Ludovic Rousseau's avatar Ludovic Rousseau

Use PKG_PROG_PKG_CONFIG

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

Closes issue #249
parent 0a5199a7
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment