[graph-gtk] Fixed autogen.sh to conform to other GIMP projects



commit 391e7effffecc2b33697e7224297963dbc764a76
Author: Isaac Wagner <isaacbw src gnome org>
Date:   Sat Aug 4 14:31:23 2012 -0400

    Fixed autogen.sh to conform to other GIMP projects

 autogen.sh |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index e121e86..f9103ff 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,5 +1,20 @@
 #!/bin/sh
 
+# This script does all the magic calls to automake/autoconf and
+# friends that are needed to configure a cvs checkout.  As described in
+# the file HACKING you need a couple of extra tools to run this script
+# successfully.
+#
+# If you are compiling from a released tarball you don't need these
+# tools and you shouldn't use this script.  Just call ./configure
+# directly.
+
+test -n "$srcdir" || srcdir=`dirname "$0"`
+test -n "$srcdir" || srcdir=.
+
+ORIGDIR=`pwd`
+cd $srcdir
+
 AUTORECONF=`which autoreconf`
 if test -z $AUTORECONF; then
         echo "*** No autoreconf found, please intall it ***"
@@ -7,3 +22,8 @@ if test -z $AUTORECONF; then
 fi
 
 autoreconf --force --install --verbose
+
+cd $ORIGDIR
+test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
+
+



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]