File: configure.ac

package info (click to toggle)
gnome-xcf-thumbnailer 1.0-1.1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, squeeze, wheezy
  • size: 584 kB
  • ctags: 376
  • sloc: ansic: 3,010; sh: 1,072; makefile: 38
file content (31 lines) | stat: -rw-r--r-- 719 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
AC_PREREQ(2.59)

AC_INIT([gnome-xcf-thumbnailer], [1.0], [hadess@hadess.net])
AM_INIT_AUTOMAKE(1.9 dist-bzip2 no-dist-gzip check-news)
AC_CONFIG_HEADERS([config.h])

AC_PROG_CC
AC_PROG_MAKE_SET
AC_PROG_INSTALL
AC_PROG_SED
AM_PROG_CC_C_O
AC_FUNC_MMAP

AC_CHECK_HEADERS(inttypes.h getopt.h)

PKG_CHECK_MODULES(LIBPNG, libpng, [], [AC_MSG_FAILURE([You need libpng's development package installed])])
AC_SUBST(LIBPNG_CFLAGS)
AC_SUBST(LIBPNG_LIBS)

PKG_CHECK_MODULES(GIO, gio-2.0, [], [AC_MSG_FAILURE([You need glib 2.16 or newer installed])])

AC_PATH_PROG(GCONFTOOL, gconftool-2, no)

if test x$GCONFTOOL = "xno"; then
  AC_MSG_FAILURE([gconftool-2 is needed])
fi

AM_GCONF_SOURCE_2

AC_CONFIG_FILES([Makefile])
AC_OUTPUT