# 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)
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
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
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
])