diff options
| author | Pavel Roskin <plroskin@gmail.com> | 2017-01-01 00:54:19 -0800 | 
|---|---|---|
| committer | Pavel Roskin <plroskin@gmail.com> | 2017-01-04 10:37:42 -0800 | 
| commit | 3376a6daf85691d6bccf26f16f685ddb17902ccd (patch) | |
| tree | 3f6e73f5a886e219d372ad98b5d82cf3e1ac3c20 | |
| parent | edd8d5e60d88289c2aea407f7d65a4bbd396b897 (diff) | |
| download | xrdp-proprietary-3376a6daf85691d6bccf26f16f685ddb17902ccd.tar.gz xrdp-proprietary-3376a6daf85691d6bccf26f16f685ddb17902ccd.zip | |
Exit with error message if pkg-config is not found
PKG_PROG_PKG_CONFIG does not exit if it fails to find pkg-config.
Continuing without pkg-config leads to misleading error messages when
checks for packages fail.
| -rw-r--r-- | configure.ac | 4 | 
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]) | 
