[vte] build: print version of libpcre2-8 when not found
- From: Hashem Nasarat <hnasarat src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte] build: print version of libpcre2-8 when not found
- Date: Sun, 31 Jan 2016 18:03:06 +0000 (UTC)
commit 9a7d421694a9e6993aec1fc6700b1278eeeca1dc
Author: Hashem Nasarat <hashem riseup net>
Date: Sun Jan 31 12:45:05 2016 -0500
build: print version of libpcre2-8 when not found
I spent a few minutes being confused becuase I had the library installed
but it was too old. The standard PKG_CHECK_MODULES macro error message
prints out the expected version, so this custom one should too.
https://bugzilla.gnome.org/show_bug.cgi?id=761369
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index b1ec2d5..e738a2d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -245,7 +245,7 @@ if test "$with_pcre2" = "yes"; then
PCRE2_PKGS="libpcre2-8 >= $PCRE2_REQUIRED"
PKG_CHECK_MODULES([PCRE2],[$PCRE2_PKGS],,
- [AC_MSG_ERROR([PCRE2 requested but libpcre2-8 not found. Use --without-pcre2 to disable PCRE2])])
+ [AC_MSG_ERROR([libpcre2-8 version $PCRE2_REQUIRED requested but not found. Use --without-pcre2 to
disable PCRE2])])
AC_DEFINE([WITH_PCRE2],[1],[Define to 1 to enable pcre2 support])
fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]