Description: See https://bugs.debian.org/884798
Author: Andreas Tille <tille@debian.org>
Last-Update: Mo 11. Feb 13:50:17 CET 2019

--- a/configure.ac
+++ b/configure.ac
@@ -2129,7 +2129,7 @@ if test $with_pthreads = "yes"; then
 		    [pthreads] )])])
 fi
 if test "x$have_mono" = "xyes" ; then
-    AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
+    AC_PATH_TOOL(PKG_CONFIG, pkg-config, no)
     if test "x$PKG_CONFIG" = "xno"; then
 	AC_MSG_ERROR([You need to install pkg-config])
     fi
