Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2007-05-21 10:46:32 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2007-05-21 10:46:32 (GMT)
commitf1d67f661e22150381886784d80c79e0db542e17 (patch)
tree30388877756b446bdbf8eb72192a45fd41c2a822 /autogen.sh
parent42f7eeedc8d21a51fa6097333996b9111c80cbca (diff)
Use autoreconf
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh21
1 files changed, 3 insertions, 18 deletions
diff --git a/autogen.sh b/autogen.sh
index 4a02f43..1cd5db4 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,20 +1,5 @@
#!/bin/sh
-# Run this to generate all the initial makefiles, etc.
+export ACLOCAL="aclocal -I m4"
-srcdir=`dirname $0`
-test -z "$srcdir" && srcdir=.
-
-PKG_NAME="sugar"
-
-(test -f $srcdir/README) || {
- echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
- echo " top-level $PKG_NAME directory"
- exit 1
-}
-
-which gnome-autogen.sh || {
- echo "You need to install gnome-common from the GNOME CVS"
- exit 1
-}
-
-REQUIRED_AUTOMAKE_VERSION=1.9 USE_GNOME2_MACROS=1 . gnome-autogen.sh
+autoreconf -i
+./configure "$@"