summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsorg71 <jay.sorg@gmail.com>2017-01-05 10:38:45 -0800
committerGitHub <noreply@github.com>2017-01-05 10:38:45 -0800
commitc3a38984d311e69041ad189fbb13aaec2dd0df1f (patch)
tree21b328f708d71efe758241e1fc08844b8c345cf6
parent65084d26a071b94ba70988482958b59472429dd8 (diff)
parent3376a6daf85691d6bccf26f16f685ddb17902ccd (diff)
downloadxrdp-proprietary-c3a38984d311e69041ad189fbb13aaec2dd0df1f.tar.gz
xrdp-proprietary-c3a38984d311e69041ad189fbb13aaec2dd0df1f.zip
Merge pull request #607 from proski/pkgconfig
Exit with error message if pkg-config is not found
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 338ba9e0..bbca2c7a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -8,7 +8,11 @@ AC_CONFIG_MACRO_DIR([m4])
AC_PROG_CC
AC_C_CONST
AC_PROG_LIBTOOL
+
PKG_PROG_PKG_CONFIG
+if test "x$PKG_CONFIG" = "x"; then
+ AC_MSG_ERROR([please install pkg-config])
+fi
AC_CONFIG_SUBDIRS([libpainter librfxcodec])