2008-06-23 22:04:20 +00:00
|
|
|
#!/bin/sh
|
|
|
|
# Run this to generate all the initial makefiles, etc.
|
|
|
|
|
2011-08-06 16:45:41 +00:00
|
|
|
test -n "$srcdir" || srcdir=`dirname "$0"`
|
|
|
|
test -n "$srcdir" || srcdir=.
|
2008-06-23 22:04:20 +00:00
|
|
|
|
2011-08-06 16:45:41 +00:00
|
|
|
olddir=`pwd`
|
|
|
|
cd "$srcdir"
|
2008-06-23 22:04:20 +00:00
|
|
|
|
2011-08-06 16:45:41 +00:00
|
|
|
INTLTOOLIZE=`which intltoolize`
|
|
|
|
if test -z $INTLTOOLIZE; then
|
|
|
|
echo "*** No intltoolize found, please install the intltool package ***"
|
|
|
|
exit 1
|
|
|
|
fi
|
2008-06-23 22:04:20 +00:00
|
|
|
|
2011-08-06 16:45:41 +00:00
|
|
|
AUTORECONF=`which autoreconf`
|
|
|
|
if test -z $AUTORECONF; then
|
|
|
|
echo "*** No autoreconf found, please install it ***"
|
|
|
|
exit 1
|
|
|
|
fi
|
2008-06-23 22:04:20 +00:00
|
|
|
|
2011-08-06 16:45:41 +00:00
|
|
|
if test -z `which autopoint`; then
|
|
|
|
echo "*** No autopoint found, please install it ***"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2013-02-14 10:28:22 +00:00
|
|
|
git submodule update --init --recursive
|
|
|
|
|
2011-08-06 16:45:41 +00:00
|
|
|
autopoint --force
|
|
|
|
AUTOPOINT='intltoolize --automake --copy' autoreconf --force --install --verbose
|
|
|
|
|
|
|
|
cd "$olddir"
|
|
|
|
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
|