2008-05-08 22:29:38 -04:00
|
|
|
#!/bin/sh
|
|
|
|
|
# Run this to generate all the initial makefiles, etc.
|
|
|
|
|
|
2011-07-18 19:42:20 +02:00
|
|
|
test -n "$srcdir" || srcdir=`dirname "$0"`
|
|
|
|
|
test -n "$srcdir" || srcdir=.
|
2010-03-26 08:10:11 +01:00
|
|
|
|
2011-07-18 19:42:20 +02:00
|
|
|
olddir=`pwd`
|
|
|
|
|
cd $srcdir
|
2008-11-11 09:31:16 -05:00
|
|
|
|
2011-07-18 19:42:20 +02:00
|
|
|
AUTORECONF=`which autoreconf`
|
|
|
|
|
if test -z $AUTORECONF; then
|
|
|
|
|
echo "*** No autoreconf found, please intall it ***"
|
|
|
|
|
exit 1
|
2008-05-08 22:29:38 -04:00
|
|
|
fi
|
|
|
|
|
|
2011-07-18 19:42:20 +02:00
|
|
|
INTLTOOLIZE=`which intltoolize`
|
|
|
|
|
if test -z $INTLTOOLIZE; then
|
|
|
|
|
echo "*** No intltoolize found, please install the intltool package ***"
|
|
|
|
|
exit 1
|
2008-05-08 22:29:38 -04:00
|
|
|
fi
|
|
|
|
|
|
2011-07-18 19:42:20 +02:00
|
|
|
GTKDOCIZE=`which gtkdocize`
|
|
|
|
|
if test -z $GTKDOCIZE; then
|
|
|
|
|
echo "*** No GTK-Doc found, please install it ***"
|
|
|
|
|
exit 1
|
2010-03-26 08:10:11 +01:00
|
|
|
fi
|
|
|
|
|
|
2011-07-18 19:42:20 +02:00
|
|
|
gtkdocize
|
2011-07-18 19:53:21 +02:00
|
|
|
autopoint --force
|
|
|
|
|
AUTOPOINT='intltoolize --automake --copy' autoreconf --force --install --verbose
|
2010-03-26 08:10:11 +01:00
|
|
|
|
2011-07-18 19:42:20 +02:00
|
|
|
cd $olddir
|
|
|
|
|
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
|
2010-03-26 08:10:11 +01:00
|
|
|
|