2005-11-26 21:05:04 +03:00
|
|
|
|
|
|
|
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+
|
2008-04-15 23:57:15 +04:00
|
|
|
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
|
2005-11-26 21:05:04 +03:00
|
|
|
echo "**Error**: automake 1.9+ required.";
|
|
|
|
exit 1;
|
|
|
|
fi
|
|
|
|
|
|
|
|
echo "Running automake --gnu $am_opt ..."
|
2007-04-09T20:54 C.J. Adams-Collier <cjac@colliertech.org>
- cleaned up example makefiles using automake's include
* examples/.../Makefile.am
- re-factored to take advantage of new Include.am files
* examples/Include.am
- placed common MCS_ARGS, MONO_PATH, CLEANFILES, EXTRA_DIST,
$(ASSEMBLY): target, run: target, and all: target here
* examples/glade/Include.am,
* examples/shapes/Include.am,
* examples/util/Include.am
- placed MCS_ARGS, MONO_PATH, and RESOURCE_FILES specific to these
libs here
* README
- updated
* configure.ac
- added AC_SUBST for variables that need to be set for the
Include.am files to function correctly
- added a HAS_TAO_OPENGL conditional to help decide whether to
build examples
* Makefile.am
- using HAS_TAO_OPENGL to decide whether to build examples/*
* gtkglarea/Makefile.am
- replaced duplicated strings with variables
- cleaned up a bit
svn path=/trunk/gtkglarea-sharp/; revision=75558
2007-04-10 08:09:36 +04:00
|
|
|
automake -W none --add-missing --gnu $am_opt ||
|
2005-11-26 21:05:04 +03:00
|
|
|
{ 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
|