[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [obfsproxy/master] Produce an error if pkg-config's version is old.



commit e0e53de4f5ea91762fd810f2c5755f0c22e578ef
Author: George Kadianakis <desnacked@xxxxxxxxxx>
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
 

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits