зеркало из
1
0
Форкнуть 0
gtkglarea-sharp/autogen.sh

46 строки
1.4 KiB
Bash
Executable File

echo "Running glib-gettextize ..."
glib-gettextize --force --copy ||
{ echo "**Error**: glib-gettextize failed."; exit 1; }
echo "Running intltoolize ..."
intltoolize --force --copy --automake ||
{ echo "**Error**: intltoolize failed."; exit 1; }
echo "Running aclocal $ACLOCAL_FLAGS ..."
aclocal $ACLOCAL_GLAGS || {
echo
echo "**Error**: aclocal failed. This may mean that you have not"
echo "installed all of the packages you need, or you may need to"
echo "set ACLOCAL_FLAGS to include \"-I \$prefix/share/aclocal\""
echo "for the prefix where you installed the packages whose"
echo "macros were not found"
exit 1
}
# checking for automake 1.9+
am_major=`automake --version | sed -e 's/.* //; s/[.].*//; q'`
am_minor=`automake --version | sed -e 's/.* //; s/[^.]*.//; s/[.].*//;q'`
if [ "$am_major" -le 1 -a "$am_minor" -le 8 ];then
echo "**Error**: automake 1.9+ required.";
exit 1;
fi
echo "Running automake --gnu $am_opt ..."
automake -W none --add-missing --gnu $am_opt ||
{ echo "**Error**: automake failed."; exit 1; }
echo "running autoconf ..."
WANT_AUTOCONF=2.5 autoconf || {
echo "**Error**: autoconf failed."; exit 1; }
conf_flags="--enable-maintainer-mode --enable-compile-warnings"
if test x$NOCONFIGURE = x; then
echo Running $srcdir/configure $conf_flags "$@" ...
./configure $conf_flags "$@" \
&& echo Now type \`make\' to compile $PKG_NAME || exit 1
else
echo Skipping configure process.
fi