Mercurial > geeqie
diff autogen.sh @ 686:c0dda0ffb931
configure.in was rewritten:
- uses PKG_CHECK_MODULES everywhere
- added --enable-debug (enable debugging support)
- added --enable-developer (developer mode, checks depreceated code ...)
- removed obsoleted INCLUDES from Makefile.am
Fixed src/debug.h (added glib.h).
Fixed src/exiv2.c compilation with libexiv2 v0.15.
Added src/trash.h to src/Makefile.am (fixed generating 'make dist').
author | bruclik |
---|---|
date | Mon, 19 May 2008 01:15:17 +0000 |
parents | 53cfc5af7fd7 |
children | 36afa9f48cac |
line wrap: on
line diff
--- a/autogen.sh Mon May 19 00:54:59 2008 +0000 +++ b/autogen.sh Mon May 19 01:15:17 2008 +0000 @@ -24,23 +24,31 @@ DIE=1 } -grep "^AM_GLIB_GNU_GETTEXT" $srcdir/configure.in >/dev/null && { - grep "sed.*POTFILES" $srcdir/configure.in >/dev/null || \ +(grep "^AM_GLIB_GNU_GETTEXT" $srcdir/configure.in >/dev/null) && { + (grep "sed.*POTFILES" $srcdir/configure.in) >/dev/null || \ (glib-gettextize --version) < /dev/null > /dev/null 2>&1 || { echo echo "**Error**: You must have \`glib-gettextize' installed." - echo "glib-gettextize is a part of glib" + echo "glib-gettextize is a part of glib." + echo "You can get it from: ftp://ftp.gtk.org/pub/gtk" DIE=1 } } +(automake --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "**Error**: You must have \`automake' installed." + echo "You can get it from: ftp://ftp.gnu.org/pub/gnu/" + DIE=1 + NO_AUTOMAKE=yes +} + # if no automake, don't bother testing for aclocal test -n "$NO_AUTOMAKE" || (aclocal --version) < /dev/null > /dev/null 2>&1 || { echo echo "**Error**: Missing \`aclocal'. The version of \`automake'" echo "installed doesn't appear recent enough." - echo "Get ftp://ftp.gnu.org/pub/gnu/automake-1.3.tar.gz" - echo "(or a newer version if it is available)" + echo "You can get automake from ftp://ftp.gnu.org/pub/gnu/" DIE=1 }