AC_PREREQ(2.53) AC_INIT(oh-puzzles, 0.1, http://www.openedhand.com) AC_CONFIG_SRCDIR(src/gtk.c) AM_CONFIG_HEADER(config.h) AM_INIT_AUTOMAKE([1.8 foreign dist-bzip2 no-dist-gzip]) OH_PUZZLES_VERSION=0.1 AC_PROG_INTLTOOL([0.21]) GETTEXT_PACKAGE=oh_puzzles AC_SUBST(GETTEXT_PACKAGE) AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE",[Define to the Gettext package]) AC_PROG_CC AC_ISC_POSIX AC_PROG_INSTALL AC_PROG_LN_S AC_PROG_MAKE_SET AC_PROG_GCC_TRADITIONAL AM_PROG_LIBTOOL # Checks for header files AC_HEADER_STDC PKG_CHECK_MODULES(PUZZLES, gtk+-2.0 >= 2.6.0 gconf-2.0 librsvg-2.0) AC_SUBST(PUZZLES_CFLAGS) AC_SUBST(PUZZLES_LIBS) AC_CHECK_LIB(gtk-x11-2.0, gtk_file_chooser_set_do_overwrite_confirmation, [ AC_DEFINE(HAVE_OVERWRITE_CONFIRMATION, 1, [Have gtk_file_chooser_set_do_overwrite_confirmation])]) AM_GLIB_GNU_GETTEXT # GConf schema install stuff AC_PATH_PROG(GCONFTOOL, gconftool-2) AM_GCONF_SOURCE_2 AC_CONFIG_FILES([ Makefile src/Makefile src/schemas/Makefile src/gfx/Makefile doc/Makefile po/Makefile.in ]) AC_OUTPUT