[tor-commits] [obfsproxy/master] Produce an error if pkg-config's version is old.
asn at torproject.org
asn at torproject.org
Thu Apr 26 15:07:28 UTC 2012
commit e0e53de4f5ea91762fd810f2c5755f0c22e578ef
Author: George Kadianakis <desnacked at riseup.net>
Date: Thu Apr 26 18:05:19 2012 +0300
Produce an error if pkg-config's version is old.
---
m4/pkg.m4 | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/m4/pkg.m4 b/m4/pkg.m4
index c9d0dd0..cb5292d 100644
--- a/m4/pkg.m4
+++ b/m4/pkg.m4
@@ -41,10 +41,10 @@ if test -n "$PKG_CONFIG"; then
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
- PKG_CONFIG=""
+ AC_MSG_ERROR([pkg-config must be at least version $_pkg_min_version.])
fi
else
- AC_MSG_ERROR([pkg-config not found!])
+ AC_MSG_ERROR([pkg-config not found!])
fi[]dnl
])# PKG_PROG_PKG_CONFIG
More information about the tor-commits
mailing list