From: Dave Airlie Date: Mon, 12 Sep 2005 06:21:24 +0000 (+0000) Subject: update autogen from xserver tree X-Git-Tag: libdrm-1_0_4~27 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=acb6abcc6d862224f3e91ede82909c099efdfb1f;p=platform%2Fupstream%2Flibdrm.git update autogen from xserver tree --- diff --git a/autogen.sh b/autogen.sh index b1376df..904cd67 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,3 +1,12 @@ #! /bin/sh + +srcdir=`dirname $0` +test -z "$srcdir" && srcdir=. + +ORIGDIR=`pwd` +cd $srcdir + autoreconf -v --install || exit 1 -./configure --enable-maintainer-mode "$@" +cd $ORIGDIR || exit $? + +$srcdir/configure --enable-maintainer-mode "$@"