~indicator-applet-developers/indicator-power/trunk.13.04

« back to all changes in this revision

Viewing changes to autogen.sh

  • Committer: Javier Jardón
  • Date: 2011-06-24 14:25:17 UTC
  • Revision ID: javier.jardon@codethink.co.uk-20110624142517-hxdxemekbssnbl2r
Initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
test -n "$srcdir" || srcdir=`dirname "$0"`
 
4
test -n "$srcdir" || srcdir=.
 
5
 
 
6
olddir=`pwd`
 
7
cd $srcdir
 
8
 
 
9
AUTORECONF=`which autoreconf`
 
10
if test -z $AUTORECONF; then
 
11
        echo "*** No autoreconf found, please intall it ***"
 
12
        exit 1
 
13
fi
 
14
 
 
15
INTLTOOLIZE=`which intltoolize`
 
16
if test -z $INTLTOOLIZE; then
 
17
        echo "*** No intltoolize found, please install the intltool package ***"
 
18
        exit 1
 
19
fi
 
20
 
 
21
mkdir -p build-aux
 
22
 
 
23
autopoint --force
 
24
AUTOPOINT='intltoolize --automake --copy' autoreconf --force --install --verbose
 
25
 
 
26
cd $olddir
 
27
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"