diff --git a/autogen.sh b/autogen.sh index 1e92ebe..4a810ce 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,7 +1,11 @@ #!/bin/bash # simplistic script to run after checkout -aclocal && \ +# In case of explicit having a 1.7 version use that (for systems having multiple automake versions installed) +ACLOCAL=`which aclocal-1.7 || echo aclocal` +AUTOMAKE=`which automake-1.7 || echo automake` + +$ACLOCAL && \ autoheader && \ autoconf && \ -automake -a -c +$AUTOMAKE -a -c