diff --git a/autogen.sh b/autogen.sh index 65286b9353..286732257a 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,3 +1,5 @@ #!/bin/sh set -e -autoreconf -if --warnings=all +command -v autoreconf >/dev/null || \ + (echo "configuration failed, please install autoconf first" >&2 && exit 1) +autoreconf --install --force --warnings=all