build: PKG_CHECK_MODULES already check for pkg-config
Remove some unneened checks
This commit is contained in:
parent
ded6309e2b
commit
f0fe543682
|
@ -33,17 +33,9 @@ fi
|
|||
AC_DEFINE_UNQUOTED([SVN_REV], "$REVISION", [subversion revision number])
|
||||
|
||||
|
||||
dnl --- Other prerequisites ---
|
||||
dnl - Check for pkg-config macros
|
||||
m4_ifdef([PKG_PROG_PKG_CONFIG], [PKG_PROG_PKG_CONFIG])
|
||||
dnl - Check for intltool/gettext macros
|
||||
m4_ifdef([IT_PROG_INTLTOOL],[IT_PROG_INTLTOOL])
|
||||
|
||||
AC_CHECK_TOOL(HAVE_PKG, pkg-config, [])
|
||||
if test "xHAVE_PKG" = "x" ; then
|
||||
AC_MSG_ERROR([pkg-config is required to build desmume])
|
||||
fi
|
||||
|
||||
dnl - Check for zlib
|
||||
AC_CHECK_LIB(z, gzopen, [], [AC_MSG_ERROR([zlib was not found, we can't go further. Please install it or specify the location where it's installed.])])
|
||||
|
||||
|
|
Loading…
Reference in New Issue