From 47b5a249e7ae877d7816504fec4f987442d07931 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin-=C3=89ric=20Racine?= Date: Fri, 6 Jul 2007 16:59:51 -0600 Subject: An improved autogen.sh script --- autogen.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/autogen.sh b/autogen.sh index 904cd67..cc32b02 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,4 +1,4 @@ -#! /bin/sh +#!/bin/sh srcdir=`dirname $0` test -z "$srcdir" && srcdir=. @@ -6,7 +6,15 @@ test -z "$srcdir" && srcdir=. ORIGDIR=`pwd` cd $srcdir +rm -rf config.guess config.sub ltmain.sh + autoreconf -v --install || exit 1 cd $ORIGDIR || exit $? $srcdir/configure --enable-maintainer-mode "$@" + +make distclean + +rm -rf autom4te.cache + +#EOF -- cgit v1.2.3