diff --git a/ChangeLog b/ChangeLog index b9909ce9d9..215aee0980 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2005-02-07 Sven Neumann + + * HACKING + * autogen.sh: dropped support for automake 1.6, automake >= 1.7 is + now required. + + * configure.in: removed cruft that was there only for automake 1.6. + 2005-02-07 Michael Natterer * configure.in: check for gnome-vfs-2.0 diff --git a/HACKING b/HACKING index 8042bf286e..5cb5bb80bb 100644 --- a/HACKING +++ b/HACKING @@ -5,7 +5,7 @@ to have the following packages (or newer versions) installed: * GNU autoconf 2.54 - ftp://ftp.gnu.org/gnu/autoconf/ - * GNU automake 1.7 (1.9, 1.8 and 1.6 will also work) + * GNU automake 1.7 (1.8 and 1.8 should work as well) - ftp://ftp.gnu.org/gnu/automake/ * GNU libtool 1.4 (1.5 if you are compiling on Win32) - ftp://ftp.gnu.org/gnu/libtool/ diff --git a/autogen.sh b/autogen.sh index 2487075105..3ddf96bc0a 100755 --- a/autogen.sh +++ b/autogen.sh @@ -17,7 +17,7 @@ FILE=plug-ins LIBTOOL_REQUIRED_VERSION=1.4 LIBTOOL_WIN32=1.5 AUTOCONF_REQUIRED_VERSION=2.54 -AUTOMAKE_REQUIRED_VERSION=1.6 +AUTOMAKE_REQUIRED_VERSION=1.7 GLIB_REQUIRED_VERSION=2.2.0 INTLTOOL_REQUIRED_VERSION=0.31 @@ -132,12 +132,9 @@ elif (automake-1.8 --version) < /dev/null > /dev/null 2>&1; then elif (automake-1.9 --version) < /dev/null > /dev/null 2>&1; then AUTOMAKE=automake-1.9 ACLOCAL=aclocal-1.9 -elif (automake-1.6 --version) < /dev/null > /dev/null 2>&1; then - AUTOMAKE=automake-1.6 - ACLOCAL=aclocal-1.6 else echo - echo " You must have automake 1.6 or newer installed to compile $PROJECT." + echo " You must have automake 1.7 or newer installed to compile $PROJECT." echo " Download the appropriate package for your distribution," echo " or get the source tarball at ftp://ftp.gnu.org/pub/gnu/automake/" echo diff --git a/configure.in b/configure.in index 3cf534e543..83382be532 100644 --- a/configure.in +++ b/configure.in @@ -388,8 +388,6 @@ AM_PATH_GLIB_2_0(glib_required_version, :, gobject) PKG_CHECK_MODULES(GMODULE, gmodule-2.0 gobject-2.0) -AC_SUBST(GMODULE_CFLAGS) -AC_SUBST(GMODULE_LIBS) AC_MSG_CHECKING([if GLib is version 2.7.0 or newer]) if $PKG_CONFIG --atleast-version=2.7.0 glib-2.0; then @@ -420,8 +418,6 @@ fi AC_MSG_RESULT($have_gtk_2_7) PKG_CHECK_MODULES(GDK_PIXBUF, gdk-pixbuf-2.0 >= gdk_pixbuf_required_version) -AC_SUBST(GDK_PIXBUF_CFLAGS) -AC_SUBST(GDK_PIXBUF_LIBS) AC_PATH_PROG(GDK_PIXBUF_CSOURCE, gdk-pixbuf-csource, no) if test x$GDK_PIXBUF_CSOURCE = xno; then @@ -429,8 +425,6 @@ if test x$GDK_PIXBUF_CSOURCE = xno; then fi PKG_CHECK_MODULES(LIBART, libart-2.0) -AC_SUBST(LIBART_CFLAGS) -AC_SUBST(LIBART_LIBS) PKG_CHECK_MODULES(FONTCONFIG, fontconfig >= fontconfig_required_version) @@ -438,8 +432,6 @@ PKG_CHECK_MODULES(PANGOFT2, pangoft2 >= pangoft2_required_version, :, AC_MSG_ERROR([Test for PangoFT2 failed. *** We require Pango with the optional support for FreeType2 compiled in. *** See the file 'INSTALL' for more help.])) -AC_SUBST(PANGOFT2_CFLAGS) -AC_SUBST(PANGOFT2_LIBS) AC_MSG_CHECKING([if Pango is version 1.9.0 or newer]) if $PKG_CONFIG --atleast-version=1.9.0 pango; then @@ -1109,8 +1101,7 @@ AC_SUBST(LIBXPM) PKG_CHECK_MODULES(GTKHTML2, libgtkhtml-2.0 >= gtkhtml2_required_version, have_gtkhtml2=yes, AC_MSG_WARN([*** Help browser plug-in will not be built (GtkHtml2 not found) ***])) -AC_SUBST(GTKHTML2_CFLAGS) -AC_SUBST(GTKHTML2_LIBS) + AM_CONDITIONAL(BUILD_HELPBROWSER, test x$have_gtkhtml2 = xyes) @@ -1122,8 +1113,8 @@ PKG_CHECK_MODULES(SVG, librsvg-2.0 >= rsvg_required_version, SVG='svg$(EXEEXT)' LIBSVG=$SVG_LIBS, AC_MSG_WARN([*** SVG import plug-in will not be built (librsvg not found) ***])) + AC_SUBST(SVG) -AC_SUBST(SVG_CFLAGS) AC_SUBST(LIBSVG) @@ -1134,6 +1125,7 @@ AC_SUBST(LIBSVG) PKG_CHECK_MODULES(GNOMEVFS, gnome-vfs-2.0, have_gnomevfs=yes, AC_MSG_WARN([*** URI plug-in will be built without gnome-vfs support (gnome-vfs-2.0 not found) ***])) + AM_CONDITIONAL(HAVE_GNOMEVFS, test x$have_gnomevfs = xyes) @@ -1320,7 +1312,6 @@ if test "x$enable_python" != xno; then dnl check for PyGTK PKG_CHECK_MODULES(PYGTK, pygtk-2.0 >= pygtk_required_version) - AC_SUBST(PYGTK_CFLAGS) dnl enable -fno-strict-aliasing if compiler supports it PYGIMP_EXTRA_CFLAGS=