From 47356c60f8590676405dff76e487eca4a823a420 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Mon, 04 Jun 2007 11:12:14 +0000 Subject: Modernize build scripts a bit --- (limited to 'autogen.sh') diff --git a/autogen.sh b/autogen.sh index 08c394c..9bd6fd0 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,20 +1,3 @@ #!/bin/sh -# Run this to generate all the initial makefiles, etc. - -srcdir=`dirname $0` -test -z "$srcdir" && srcdir=. - -PKG_NAME="artwork" - -(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 "$@" -- cgit v0.9.1