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
|
esac
|
||||||
AM_CONDITIONAL(POSIX_ONLY_EXAMPLES_ENABLED, [test "$WITH_POSIX_ONLY_EXAMPLES" = "1"])
|
AM_CONDITIONAL(POSIX_ONLY_EXAMPLES_ENABLED, [test "$WITH_POSIX_ONLY_EXAMPLES" = "1"])
|
||||||
|
|
||||||
AC_PATH_PROG(PKG_CONFIG, pkg-config)
|
PKG_PROG_PKG_CONFIG
|
||||||
if test x"$PKG_CONFIG" = x""; then
|
|
||||||
AC_MSG_ERROR([pkg-config not found.])
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Checks for header files.
|
# Checks for header files.
|
||||||
AC_HEADER_STDC
|
AC_HEADER_STDC
|
||||||
|
|
Loading…
Add table
Reference in a new issue