Updated Slovenian translation
[gegl.git] / autogen.sh
blob1ac8758063169bf54d5970bb4f296b68c6a8adbf
1 #!/bin/sh
3 # This script does all the magic calls to automake/autoconf and
4 # friends that are needed to configure a cvs checkout. As described in
5 # the file HACKING you need a couple of extra tools to run this script
6 # successfully.
8 # If you are compiling from a released tarball you don't need these
9 # tools and you shouldn't use this script. Just call ./configure
10 # directly.
12 test -n "$srcdir" || srcdir=`dirname "$0"`
13 test -n "$srcdir" || srcdir=.
15 ORIGDIR=`pwd`
16 cd $srcdir
18 AUTORECONF=`which autoreconf`
19 if test -z $AUTORECONF; then
20 echo "*** No autoreconf found, please install it ***"
21 exit 1
24 INTLTOOLIZE=`which intltoolize`
25 if test -z $INTLTOOLIZE; then
26 echo "*** No intltoolize found, please install the intltool package ***"
27 exit 1
30 intltoolize --automake --copy
31 autoreconf --force --install --verbose
33 cd $ORIGDIR
34 test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"