[gegl-edit] Made autogen.sh conform to other gimp projects
- From: Isaac Wagner <isaacbw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl-edit] Made autogen.sh conform to other gimp projects
- Date: Sat, 4 Aug 2012 18:27:27 +0000 (UTC)
commit c4c0b40da1a60e97d87f16f76938967466a09023
Author: Isaac Wagner <isaacbw src gnome org>
Date: Sat Aug 4 14:27:22 2012 -0400
Made autogen.sh 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]