> Check for pkgconfig before using it
>
> At the moment if pkgconfig is not installed, an unhelpful syntax
> error appears when testing for freetype. Identify the problem
> earlier on
>
> +dnl ##### Check for pkgconfig
> +AC_CHECK_PROG(HAVE_PKGCONFIG, pkg-config, yes, no)
> +if test "x$HAVE_PKGCONFIG" = "xno"; then
> + AC_MSG_ERROR("*** pkg-config not found ***")
> +fi
> +
you should use PKG_PROG_PKG_CONFIG instead (macro that is in pkg.m4)
Vincent Torri
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler