]> git.street.me.uk Git - andy/viking.git/blame - autogen.sh
Some explicit setting of dirpath values to NULL.
[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
b6a964fe
GB
16GTK_DOC=`which gtkdocize`
17if test -z $GTK_DOC; then
18 echo "*** No gtkdocize found, please install the gtk-doc-tools package ***"
19 exit 1
20fi
21
22GNOME_DOC=`which gnome-doc-prepare`
23if test -z $GNOME_DOC; then
24 echo "*** No gnome-doc-prepare found, please install the gnome-doc-utils package ***"
25 exit 1
26fi
27
316407e2
GB
28AUTORECONF=`which autoreconf`
29if test -z $AUTORECONF; then
30 echo "*** No autoreconf found, please install it ***"
31 exit 1
32fi
33
34if test -z `which autopoint`; then
35 echo "*** No autopoint found, please install it ***"
36 exit 1
37fi
38
b6a964fe
GB
39gnome-doc-prepare --automake --copy --force || exit $?
40gtkdocize --copy || exit $?
41autopoint --force || exit $?
5267ff68 42AUTOPOINT='intltoolize --automake --copy' autoreconf --force --install --verbose || exit $?
316407e2
GB
43
44cd "$olddir"
45test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
2c8af686 46