build: PKG_CHECK_MODULES already check for pkg-config

Remove some unneened checks
This commit is contained in:
riccardom 2012-08-03 18:37:18 +00:00
parent ded6309e2b
commit f0fe543682
1 changed files with 0 additions and 8 deletions

View File

@ -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.])])