From 7014b9ed2c067f48dac413a70791f7d7ddf8f225 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Wed, 11 Jun 2008 09:36:35 +0000 Subject: [PATCH] 2008-06-11 Emmanuele Bassi * autogen.sh: Force overwriting when glib-gettextize is invoked by autogen.sh. --- autogen.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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."