[tor-commits] [obfsproxy/master] Produce an error if pkg-config isn't found.

asn at torproject.org asn at torproject.org
Thu Apr 26 15:07:28 UTC 2012


commit 5830a400052cfbb397d67aa2149a564af9f2df26
Author: Rob Savoye <rob at welcomehome.org>
Date:   Thu Apr 26 08:40:57 2012 -0600

    Produce an error if pkg-config isn't found.
---
 m4/pkg.m4 |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/m4/pkg.m4 b/m4/pkg.m4
index 31169b4..c9d0dd0 100644
--- a/m4/pkg.m4
+++ b/m4/pkg.m4
@@ -43,6 +43,8 @@ if test -n "$PKG_CONFIG"; then
 		AC_MSG_RESULT([no])
 		PKG_CONFIG=""
 	fi
+else
+    AC_MSG_ERROR([pkg-config not found!])
 fi[]dnl
 ])# PKG_PROG_PKG_CONFIG
 





More information about the tor-commits mailing list