configure.ac 1.72 KB
Newer Older
1
AC_PREREQ([2.63])
Robert Roth's avatar
Robert Roth committed
2
AC_INIT([Swell Foop], [3.15.91], [https://bugzilla.gnome.org/],
3
        [swell-foop], [https://wiki.gnome.org/Apps/Swell%20Foop])
Robert Ancell's avatar
Robert Ancell committed
4 5 6 7 8
AM_INIT_AUTOMAKE([1.11 no-dist-gzip dist-xz foreign])
AM_SILENT_RULES([yes])
AM_MAINTAINER_MODE
GNOME_MAINTAINER_MODE_DEFINES

9
AM_PROG_VALAC([0.22])
Robert Ancell's avatar
Robert Ancell committed
10 11 12 13
AM_PROG_CC_C_O

GLIB_GSETTINGS

14 15
APPSTREAM_XML

Robert Ancell's avatar
Robert Ancell committed
16 17 18 19
dnl ###########################################################################
dnl Dependencies
dnl ###########################################################################

20
GLIB_REQUIRED=2.36.0
21
GTK_REQUIRED=3.12
22 23
CLUTTER_REQUIRED=1.14.0
CLUTTER_GTK_REQUIRED=1.5.0
Robert Ancell's avatar
Robert Ancell committed
24 25

PKG_CHECK_MODULES(SWELL_FOOP, [
Matthias Clasen's avatar
Matthias Clasen committed
26
  gmodule-export-2.0
27
  glib-2.0 >= $GLIB_REQUIRED
Robert Ancell's avatar
Robert Ancell committed
28 29
  gtk+-3.0 >= $GTK_REQUIRED
  clutter-1.0 >= $CLUTTER_REQUIRED
30
  clutter-gtk-1.0 >= $CLUTTER_GTK_REQUIRED
Robert Ancell's avatar
Robert Ancell committed
31 32
])

Arnaud B.'s avatar
Arnaud B. committed
33 34
AC_SUBST([GLIB_REQUIRED])

Thomas H.P. Andersen's avatar
Thomas H.P. Andersen committed
35 36
AC_CHECK_LIB([m],[floor])

37
AC_PATH_PROG([DESKTOP_FILE_VALIDATE], [desktop-file-validate], [/bin/true])
38

Robert Ancell's avatar
Robert Ancell committed
39 40 41 42
dnl ###########################################################################
dnl Internationalization
dnl ###########################################################################

43
IT_PROG_INTLTOOL([0.50])
Robert Ancell's avatar
Robert Ancell committed
44 45 46 47 48 49 50 51 52 53 54 55
AC_SUBST(GETTEXT_PACKAGE, swell-foop)

dnl ###########################################################################
dnl Documentation
dnl ###########################################################################

YELP_HELP_INIT

dnl ###########################################################################
dnl Files to generate
dnl ###########################################################################

Michael Catanzaro's avatar
Michael Catanzaro committed
56
AC_CONFIG_FILES([
Robert Ancell's avatar
Robert Ancell committed
57 58 59 60 61 62 63 64 65 66
Makefile
po/Makefile.in
data/Makefile
data/icons/Makefile
data/themes/Makefile
data/themes/colors/Makefile
data/themes/shapesandcolors/Makefile
help/Makefile
src/Makefile
])
Michael Catanzaro's avatar
Michael Catanzaro committed
67
AC_OUTPUT