[poppler] Branch 'poppler-0.10' - configure.ac

Vincent Torri vtorri at univ-evry.fr
Mon Mar 9 14:59:06 PDT 2009



>    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


More information about the poppler mailing list