]> git.street.me.uk Git - andy/viking.git/blobdiff - configure.ac
Enable zoom tool to recenter the display on the clicked position when the CTRL key...
[andy/viking.git] / configure.ac
index 2a38ad93865e4700a1122fa0b14a0756c136c384..1e832335db772c0623cfce401473fd23d7346459 100644 (file)
@@ -2,8 +2,8 @@
 # Process this file with autoconf to produce a configure script.
 
 AC_PREREQ(2.59)
-AC_INIT(viking, 1.2.2)
-AM_INIT_AUTOMAKE()
+AC_INIT(viking, 1.3)
+AM_INIT_AUTOMAKE([dist-bzip2 dist-zip])
 dnl AC_CONFIG_SRCDIR([src/main.c])
 AC_CONFIG_HEADERS([src/config.h])
 GTK_DOC_CHECK(1.0)
@@ -64,7 +64,7 @@ dnl | Pkgconfig checks |---------------------------------------
 dnl  ------------------
 
 PKG_CHECK_MODULES(PACKAGE, [
-        glib-2.0          >= 2.12
+        glib-2.0          >= 2.14
         gthread-2.0       >= 2.2
         gtk+-2.0          >= 2.12
         gio-2.0           >= 2.12
@@ -341,6 +341,8 @@ dnl correct flags to aclocal.
 ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS}"
 AC_SUBST(ACLOCAL_AMFLAGS)
 
+AM_CONDITIONAL(VIKING_DOC, test x${enable_gtk_doc} = xyes)
+
 # Configuration
 AC_CONFIG_FILES([Makefile
                  src/Makefile
@@ -348,11 +350,10 @@ AC_CONFIG_FILES([Makefile
                 po/Makefile.in
                  test/Makefile
                  help/Makefile
+                 data/Makefile
                  doc/Makefile
+                 doc/reference/Makefile
                  doc/examples/Makefile])
-if test x$enable_gtk_doc = xyes; then
-AC_CONFIG_FILES([doc/reference/Makefile])
-fi
 AC_OUTPUT([
           viking.spec
           ])