mirror of
https://github.com/brl/mutter.git
synced 2024-11-28 02:50:41 -05:00
autogen: Drop usage of gnome-common
This commit is contained in:
parent
2d18b18fe5
commit
191525cdb4
23
autogen.sh
23
autogen.sh
@ -6,16 +6,21 @@ test -z "$srcdir" && srcdir=.
|
|||||||
|
|
||||||
REQUIRED_AUTOMAKE_VERSION=1.11
|
REQUIRED_AUTOMAKE_VERSION=1.11
|
||||||
|
|
||||||
(test -f $srcdir/configure.ac \
|
pushd $srcdir
|
||||||
&& test -d $srcdir/src) || {
|
|
||||||
|
(test -f configure.ac \
|
||||||
|
&& test -d src) || {
|
||||||
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
|
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
|
||||||
echo " top-level metacity directory"
|
echo " top-level mutter directory"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
which gnome-autogen.sh || {
|
aclocal --install || exit 1
|
||||||
echo "You need to install gnome-common from GNOME Subversion (or from"
|
intltoolize --force --copy --automake || exit 1
|
||||||
echo "your distribution's package manager)."
|
autoreconf --verbose --force --install || exit 1
|
||||||
exit 1
|
|
||||||
}
|
popd
|
||||||
. gnome-autogen.sh
|
|
||||||
|
if [ "$NOCONFIGURE" = "" ]; then
|
||||||
|
$srcdir/configure "$@" || exit 1
|
||||||
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user