Really fail if pkg-config is not present.

Submitted by:	Amnesia, bigjay via IRC.
This commit is contained in:
Romain Tartiere 2010-11-05 11:36:20 +00:00
parent 4e5d0766e1
commit ad5959e860

View file

@ -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