From cae3767e43481d30eab1dadba1d6e55659de2ead Mon Sep 17 00:00:00 2001 From: Alexander Kojevnikov Date: Thu, 8 Jul 2010 14:32:19 +1000 Subject: [PATCH] Update autogen.sh from Sampala --- autogen.sh | 25 +++++++------------------ 1 file changed, 7 insertions(+), 18 deletions(-) diff --git a/autogen.sh b/autogen.sh index e240e9f..d41b1ed 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,21 +1,10 @@ #!/bin/sh # Run this to generate all the initial makefiles, etc. -srcdir=`dirname $0` -test -z "$srcdir" && srcdir=. - -PKG_NAME="spek" -REQUIRED_AUTOMAKE_VERSION=1.7 - -(test -f $srcdir/src/spek.vala \ - && test -d $srcdir/src) || { - echo -n "**Error**: Directory "\`$srcdir\'" does not look like the" - echo " top-level spek directory" - exit 1 -} - -which gnome-autogen.sh || { - echo "You need to install gnome-common from the GNOME Git" - exit 1 -} -. gnome-autogen.sh +test -n "$srcdir" || srcdir=$(dirname "$0") +test -n "$srcdir" || srcdit=. +( + cd "$srcdir" && + AUTOPOINT='intltoolize --automake --copy' autoreconf -fiv +) || exit +test -n "$NOCONFIGURE" || "$srcdir/configure" --enable-maintainer-mode "$@" \ No newline at end of file