configure.ac 956 Bytes
Newer Older
1
AC_INIT([nautilus-image-converter], [0.0.9], [j@bitron.ch], [nautilus-image-converter])
Jürg Billeter's avatar
Jürg Billeter committed
2 3 4 5 6 7 8 9
AC_CONFIG_SRCDIR([Makefile.am])
AC_CONFIG_HEADERS(config.h)
AM_INIT_AUTOMAKE([dist-bzip2])

AM_MAINTAINER_MODE

# Checks for programs.
AC_PROG_CC
10
AC_DISABLE_STATIC
Jürg Billeter's avatar
Jürg Billeter committed
11 12 13 14 15 16

AH_TEMPLATE([GETTEXT_PACKAGE], [Package name for gettext])
GETTEXT_PACKAGE=nautilus-image-converter
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE")
AC_SUBST(GETTEXT_PACKAGE)
AM_GLIB_GNU_GETTEXT
17
IT_PROG_INTLTOOL([0.35.0])
Jürg Billeter's avatar
Jürg Billeter committed
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
AC_PROG_LIBTOOL

AC_SUBST(CFLAGS)
AC_SUBST(CPPFLAGS)
AC_SUBST(LDFLAGS)

NAUTILUS_REQUIRED=2.6.0
GTK_REQUIRED=2.4.0
LIBGLADE_REQUIRED=2.4.0
GNOMEVFS_REQUIRED=2.6.0

PKG_CHECK_MODULES(NAUTILUS, libnautilus-extension >= $NAUTILUS_REQUIRED gtk+-2.0 >= $GTK_REQUIRED libglade-2.0 >= $LIBGLADE_REQUIRED gnome-vfs-2.0 >= $GNOMEVFS_REQUIRED)
AC_SUBST(NAUTILUS_CFLAGS)
AC_SUBST(NAUTILUS_LIBS)

AC_CONFIG_FILES([Makefile
           src/Makefile
           po/Makefile.in])

AC_OUTPUT