[sheepdog] [PATCH] configure: make sure that pkg-config is available

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Tue Jul 24 02:56:30 CEST 2012


Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
---
 configure.ac |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index 771b6cc..e45a259 100644
--- a/configure.ac
+++ b/configure.ac
@@ -38,6 +38,8 @@ AC_LANG([C])
 
 AM_SILENT_RULES([yes])
 
+m4_ifndef([PKG_PROG_PKG_CONFIG], AC_MSG_ERROR([pkg-config not found]))
+
 dnl Fix default variables - "prefix" variable if not specified
 if test "$prefix" = "NONE"; then
 	prefix="/usr"
-- 
1.7.2.5




More information about the sheepdog mailing list