Merge pull request #607 from proski/pkgconfig

Exit with error message if pkg-config is not found
This commit is contained in:
jsorg71 2017-01-05 10:38:45 -08:00 committed by GitHub
commit c3a38984d3
1 changed files with 4 additions and 0 deletions

View File

@ -8,7 +8,11 @@ AC_CONFIG_MACRO_DIR([m4])
AC_PROG_CC AC_PROG_CC
AC_C_CONST AC_C_CONST
AC_PROG_LIBTOOL AC_PROG_LIBTOOL
PKG_PROG_PKG_CONFIG PKG_PROG_PKG_CONFIG
if test "x$PKG_CONFIG" = "x"; then
AC_MSG_ERROR([please install pkg-config])
fi
AC_CONFIG_SUBDIRS([libpainter librfxcodec]) AC_CONFIG_SUBDIRS([libpainter librfxcodec])