diff --git a/daemon/autogen.sh b/daemon/autogen.sh index 1f296b7bc3ef71192961c83c602cab088ab125a5..2d5317a0c1c8100f15ea046978f054ef8e90a59a 100755 --- a/daemon/autogen.sh +++ b/daemon/autogen.sh @@ -1,5 +1,17 @@ #!/bin/bash +AUTORECONF=`which autoreconf` +if test -z $AUTORECONF; then + echo "*** No autoreconf found, please install it ***" + exit 1 +fi + +LIBTOOLIZE=`which libtoolize` +if test -z $LIBTOOLIZE; then + echo "*** No libtool found, please install it ***" + exit 1 +fi + # Workaround for http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=565663 mkdir -p m4