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

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



commit 5830a400052cfbb397d67aa2149a564af9f2df26
Author: Rob Savoye <rob@xxxxxxxxxxxxxxx>
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
 



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