configure: define GTK+ version before AC_INIT

So the gtk_version varibale will be defined
This commit is contained in:
Javier Jardón 2010-11-19 09:01:39 +01:00
parent 4e3db2e3a8
commit 39f5740763

View File

@ -1,14 +1,4 @@
# Process this file with autoconf to produce a configure script. # Process this file with autoconf to produce a configure script.
# require autoconf 2.54
AC_PREREQ([2.62])
AC_INIT([gtk+], [gtk_version],
[http://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B],
[gtk+])
AC_CONFIG_HEADER([config.h])
AC_CONFIG_SRCDIR([gdk/gdktypes.h])
AC_CONFIG_MACRO_DIR([m4])
# Making releases: # Making releases:
# GTK_MICRO_VERSION += 1; # GTK_MICRO_VERSION += 1;
@ -29,6 +19,15 @@ m4_define([gtk_version],
# This is the X.Y used in -lgtk-FOO-X.Y # This is the X.Y used in -lgtk-FOO-X.Y
m4_define([gtk_api_version], [3.0]) m4_define([gtk_api_version], [3.0])
AC_PREREQ([2.64])
AC_INIT([gtk+], [gtk_version],
[http://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B],
[gtk+])
AC_CONFIG_HEADER([config.h])
AC_CONFIG_SRCDIR([gdk/gdktypes.h])
AC_CONFIG_MACRO_DIR([m4])
# Define a string for the earliest version that this release has # Define a string for the earliest version that this release has
# backwards binary compatibility with for all interfaces a module # backwards binary compatibility with for all interfaces a module
# might. Unless we add module-only API with lower stability # might. Unless we add module-only API with lower stability