From 09c559e3c3685b19835200a8e865145763752047 Mon Sep 17 00:00:00 2001 From: Tristan Matthews <tristan.matthews@savoirfairelinux.com> Date: Tue, 12 Mar 2013 17:26:37 -0400 Subject: [PATCH] * #21496: daemon: warn if libtoolize or autoreconf are missing --- daemon/autogen.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/daemon/autogen.sh b/daemon/autogen.sh index 1f296b7bc3..2d5317a0c1 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 -- GitLab