diff --git a/autogen.sh b/autogen.sh index 3061df7e..2d52bd5d 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,6 +1,29 @@ #!/bin/sh -aclocal-1.9 -autoheader-2.59 -automake-1.9 -a -autoconf-2.59 +if [ -x aclocal-1.9 ] +then + aclocal-1.9 +else + aclocal +fi + +if [ -x autoheader-2.59 ] +then + autoheader-2.59 +else + autoheader +fi + +if [ -x automake-1.9 ] +then + automake-1.9 -a +else + automake +fi + +if [ -x autoconf-2.59 ] +then + autoconf-2.59 +else + autoconf +fi