diff options
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh index 7f109b0a5..1a1b36c0f 100755 --- a/autogen.sh +++ b/autogen.sh @@ -2,5 +2,30 @@ /bin/rm -f configure config.h config.h.in src/lib/Makefile.in + +AUTOCONF=$(which autoconf) +AUTOMAKE=$(which automake) +LIBTOOL=$(which libtool) + +if test -z $AUTOCONF; then + echo "autoconf is missing: please install it and try again" + exit +fi + +if test -z $AUTOMAKE; then + echo "automake is missing: please install it and try again" + exit +fi + +if test -z $LIBTOOL; then + echo "libtool is missing: please install it and try again" + exit +fi + +if test -z $AUTORECONF; then + echo "autoreconf is missing: please install it and try again" + exit +fi + autoreconf -ivf ./configure |