X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=configure.ac;h=bb39cd44fdf871269c9067b3a6d7958c9275c2ea;hb=123b5b814cbc71aa6575fcea6c92131b47a237e7;hp=218cce769b735cd62a8cac4fcd735bfa6e8678d6;hpb=15a3ab112c17105b792f756125f91ec18fe38d36;p=xboard.git diff --git a/configure.ac b/configure.ac index 218cce7..bb39cd4 100644 --- a/configure.ac +++ b/configure.ac @@ -119,8 +119,12 @@ AC_TRY_COMPILE([],[], AC_MSG_RESULT(no) CFLAGS="$SAVE_CFLAGS") -dnl | check for cairo and librsvg +dnl | check for pkg-config +AC_CHECK_PROGS([PKGCONFIG], [pkg-config], pkgconfig_not_found) +AS_IF( [test "x$PKGCONFIG" = xpkgconfig_not_found], + AC_MSG_ERROR([cannot find pkg-config! Please install it.])) +dnl | check for cairo and librsvg PKG_CHECK_MODULES([CAIRO], [ cairo >= 1.2.0 librsvg-2.0 >= 2.14.0 ]) AC_SUBST(CAIRO_CFLAGS) AC_SUBST(CAIRO_LIBS)