-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop using mate-autogen in autogen.sh
Was initially added to supress warnings no longer there.
- Loading branch information
Showing
1 changed file
with
14 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
#!/bin/sh | ||
# Run this to generate all the initial makefiles, etc. | ||
|
||
srcdir=`dirname $0` | ||
test -z "$srcdir" && srcdir=. | ||
srcdir=$(dirname "$0") | ||
[ -z "$srcdir" ] && srcdir="." | ||
cd "$srcdir" | ||
|
||
PKG_NAME="libcompizconfig" | ||
|
||
(test -f $srcdir/configure.ac) || { | ||
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the" | ||
if [ ! -f "$srcdir/configure.ac" ]; then | ||
echo -n "**Error**: Directory "\`"$srcdir"\'" does not look like the" | ||
echo " top-level $PKG_NAME directory" | ||
exit 1 | ||
} | ||
fi | ||
|
||
which mate-autogen || { | ||
echo "You need to install mate-common from the MATE Git" | ||
exit 1 | ||
} | ||
|
||
REQUIRED_AUTOMAKE_VERSION=1.9 | ||
USE_MATE2_MACROS=1 | ||
|
||
. mate-autogen | ||
aclocal --install || exit 1 | ||
glib-gettextize --copy --force || exit 1 | ||
intltoolize --copy --force --automake || exit 1 | ||
autoreconf --verbose --force --install || exit 1 | ||
|
||
cd "$OLDPWD" || exit $? | ||
if [ -z "$NOCONFIGURE" ]; then | ||
"$srcdir/configure" "$@" || exit 1 | ||
fi |