From 9e8be8a0dbdaad23245b06115b70db9edacbb7c4 Mon Sep 17 00:00:00 2001 From: Tristan Matthews <tristan.matthews@savoirfairelinux.com> Date: Tue, 25 Jun 2013 18:03:06 -0400 Subject: [PATCH] * #26416: daemon: warn if pkg-config is missing --- daemon/autogen.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/daemon/autogen.sh b/daemon/autogen.sh index 2d5317a0c1..ccf31c30a4 100755 --- a/daemon/autogen.sh +++ b/daemon/autogen.sh @@ -6,6 +6,13 @@ if test -z $AUTORECONF; then exit 1 fi +PKGCONFIG=`which pkg-config` +if test -z $PKGCONFIG; then + echo "*** No pkg-config found, please install it ***" + # warn without exiting, since pkg-config is only needed + # by configure, not autogen.sh +fi + LIBTOOLIZE=`which libtoolize` if test -z $LIBTOOLIZE; then echo "*** No libtool found, please install it ***" -- GitLab