diff --git a/daemon/autogen.sh b/daemon/autogen.sh
index 2d5317a0c1c8100f15ea046978f054ef8e90a59a..ccf31c30a456309027c8b668ad4edb35557feae4 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 ***"