configure.ac 1.76 KB
Newer Older
1
AC_PREREQ([2.63])
Robert Roth's avatar
Robert Roth committed
2
AC_INIT([Swell Foop], [3.27.91], [https://bugzilla.gnome.org/],
3
        [swell-foop], [https://wiki.gnome.org/Apps/Swell%20Foop])
4 5
AC_CONFIG_MACRO_DIR([m4])

Robert Ancell's avatar
Robert Ancell committed
6 7 8 9
AM_INIT_AUTOMAKE([1.11 no-dist-gzip dist-xz foreign])
AM_SILENT_RULES([yes])
AM_MAINTAINER_MODE

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

GLIB_GSETTINGS

15 16
APPSTREAM_XML

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

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

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

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

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

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

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

44 45
AM_GNU_GETTEXT_VERSION([0.19.8])
AM_GNU_GETTEXT([external])
Robert Ancell's avatar
Robert Ancell committed
46 47 48 49 50 51 52 53 54 55 56 57
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
58
AC_CONFIG_FILES([
Robert Ancell's avatar
Robert Ancell committed
59 60 61 62 63 64 65 66 67 68
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
69
AC_OUTPUT