mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-02-26 11:46:37 +00:00
Really fail if pkg-config is not present.
Submitted by: Amnesia, bigjay via IRC.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user