Really fail if pkg-config is not present.
Submitted by: Amnesia, bigjay via IRC.
This commit is contained in:
parent
4e5d0766e1
commit
ad5959e860
1 changed files with 4 additions and 1 deletions
|
@ -29,7 +29,10 @@ case "$host" in
|
|||
;;
|
||||
esac
|
||||
|
||||
AC_PATH_PROG(PKG_CONFIG, pkg-config, [AC_MSG_ERROR([pkg-config not found.])])
|
||||
AC_PATH_PROG(PKG_CONFIG, pkg-config)
|
||||
if test x"$PKG_CONFIG" = x""; then
|
||||
AC_MSG_ERROR([pkg-config not found.])
|
||||
fi
|
||||
|
||||
# Checks for header files.
|
||||
AC_HEADER_STDC
|
||||
|
|
Loading…
Reference in a new issue