Use PKG_PROG_PKG_CONFIG
Remove ad-hoc code and use the standard macro instead. Closes issue #249
This commit is contained in:
parent
0a5199a737
commit
16a5fc419c
1 changed files with 1 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue