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