]> git.street.me.uk Git - andy/viking.git/blame - autogen.sh
SF Feature#49: Export via GPSBabel
[andy/viking.git] / autogen.sh
CommitLineData
1f8b0db7 1#!/bin/sh
2c8af686 2# Run this to generate all the initial makefiles, etc.
1f8b0db7 3
316407e2
GB
4test -n "$srcdir" || srcdir=`dirname "$0"`
5test -n "$srcdir" || srcdir=.
6
7olddir=`pwd`
8cd "$srcdir"
9
10INTLTOOLIZE=`which intltoolize`
11if test -z $INTLTOOLIZE; then
12 echo "*** No intltoolize found, please install the intltool package ***"
13 exit 1
14fi
15
16AUTORECONF=`which autoreconf`
17if test -z $AUTORECONF; then
18 echo "*** No autoreconf found, please install it ***"
19 exit 1
20fi
21
22if test -z `which autopoint`; then
23 echo "*** No autopoint found, please install it ***"
24 exit 1
25fi
26
27autopoint --force
28AUTOPOINT='intltoolize --automake --copy' autoreconf --force --install --verbose
29
30cd "$olddir"
31test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
2c8af686 32