2017-04-12 20:50:47 -04:00
|
|
|
#!/bin/bash
|
2001-06-02 00:14:18 -04:00
|
|
|
# Run this to generate all the initial makefiles, etc.
|
|
|
|
|
|
|
|
srcdir=`dirname $0`
|
|
|
|
test -z "$srcdir" && srcdir=.
|
|
|
|
|
2014-06-05 11:11:36 -04:00
|
|
|
REQUIRED_AUTOMAKE_VERSION=1.11
|
2006-04-25 17:04:57 -04:00
|
|
|
|
2017-02-16 10:01:42 -05:00
|
|
|
pushd $srcdir
|
|
|
|
|
|
|
|
(test -f configure.ac \
|
|
|
|
&& test -d src) || {
|
2006-04-25 17:04:57 -04:00
|
|
|
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
|
2017-02-16 10:01:42 -05:00
|
|
|
echo " top-level mutter directory"
|
2006-04-25 17:04:57 -04:00
|
|
|
exit 1
|
2001-06-02 00:14:18 -04:00
|
|
|
}
|
|
|
|
|
2017-02-16 10:01:42 -05:00
|
|
|
aclocal --install || exit 1
|
|
|
|
intltoolize --force --copy --automake || exit 1
|
|
|
|
autoreconf --verbose --force --install || exit 1
|
|
|
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
if [ "$NOCONFIGURE" = "" ]; then
|
|
|
|
$srcdir/configure "$@" || exit 1
|
|
|
|
fi
|