Add missing trailing dot in sentences
[viking/guyou.git] / autogen.sh
blob46f4a3d4f5fa8c05982cc90765f52af676a6ea8a
1 #!/bin/sh
2 # Run this to generate all the initial makefiles, etc.
4 test -n "$srcdir" || srcdir=`dirname "$0"`
5 test -n "$srcdir" || srcdir=.
7 olddir=`pwd`
8 cd "$srcdir"
10 INTLTOOLIZE=`which intltoolize`
11 if test -z $INTLTOOLIZE; then
12 echo "*** No intltoolize found, please install the intltool package ***"
13 exit 1
16 GTK_DOC=`which gtkdocize`
17 if test -z $GTK_DOC; then
18 echo "*** No gtkdocize found, please install the gtk-doc-tools package ***"
19 exit 1
22 GNOME_DOC=`which gnome-doc-prepare`
23 if test -z $GNOME_DOC; then
24 echo "*** No gnome-doc-prepare found, please install the gnome-doc-utils package ***"
25 exit 1
28 AUTORECONF=`which autoreconf`
29 if test -z $AUTORECONF; then
30 echo "*** No autoreconf found, please install it ***"
31 exit 1
34 if test -z `which autopoint`; then
35 echo "*** No autopoint found, please install it ***"
36 exit 1
39 gnome-doc-prepare --automake --copy --force || exit $?
40 gtkdocize --copy || exit $?
41 autopoint --force || exit $?
42 AUTOPOINT='intltoolize --automake --copy' autoreconf --force --install --verbose || exit $?
44 cd "$olddir"
45 test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"