<pre>Albert wrote:<br><br>>A Dilluns, 9 de març de 2009, Vincent Torri va escriure:<br>>><i> > Check for pkgconfig before using it<br></i>>><i> ><br></i>>><i> > At the moment if pkgconfig is not installed, an unhelpful syntax<br>
</i>>><i> > error appears when testing for freetype. Identify the problem<br></i>>><i> > earlier on<br></i>>><i> ><br></i>>><i> > +dnl ##### Check for pkgconfig<br></i>>><i> > +AC_CHECK_PROG(HAVE_PKGCONFIG, pkg-config, yes, no)<br>
</i>>><i> > +if test "x$HAVE_PKGCONFIG" = "xno"; then<br></i>>><i> > + AC_MSG_ERROR("*** pkg-config not found ***")<br></i>>><i> > +fi<br></i>>><i> > +<br>
</i>>><i><br></i>>><i> you should use PKG_PROG_PKG_CONFIG instead (macro that is in pkg.m4)<br></i>><br>>Can you attach a patch please?<br>><br>>Albert<br><br><br>A patch is in bugzilla: <a href="https://bugs.freedesktop.org/show_bug.cgi?id=20588">https://bugs.freedesktop.org/show_bug.cgi?id=20588</a><br>
<br><br>Kind regards,<br><br>Hib Eris<br><br><br></pre>