diff --git a/autogen.sh b/autogen.sh index 05dd2897e..478718261 100755 --- a/autogen.sh +++ b/autogen.sh @@ -25,9 +25,15 @@ if test -z $GLIB_GETTEXTIZE; then echo "*** No glib-gettextize ***" exit 1 else - glib-gettextize || exit $? + glib-gettextize -f || exit $? fi -autoreconf -v --install || exit $? +AUTORECONF=`which autoreconf` +if test -z $AUTORECONF; then + echo "*** No autoreconf found ***" + exit 1 +else + autoreconf -v --install || exit $? +fi ./configure "$@" && echo "Now type 'make' to compile $PROJECT."