configure.ac 823 Bytes
Newer Older
Tiago Vignatti's avatar
Tiago Vignatti committed
1
AC_PREREQ([2.64])
2
AC_INIT([maynard],
3
        [0.2.0+git])
Tiago Vignatti's avatar
Tiago Vignatti committed
4 5 6 7 8 9 10 11 12 13

AC_CONFIG_HEADERS([config.h])

AM_INIT_AUTOMAKE([1.11 foreign no-dist-gzip dist-xz])

AM_SILENT_RULES([yes])

# Check for programs
AC_PROG_CC

14 15
IT_PROG_INTLTOOL([0.40])

16
GETTEXT_PACKAGE=maynard
17 18 19 20
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE",
                   [The prefix for our gettext translation domains.])

21 22 23 24
# Initialize libtool
LT_PREREQ([2.2])
LT_INIT([disable-static])

Tiago Vignatti's avatar
Tiago Vignatti committed
25 26
PKG_PROG_PKG_CONFIG()

27 28 29
PKG_CHECK_MODULES([GTK], [
	wayland-client >= 1.0.2
	weston >= 1.3.0
30
	gtk+-3.0 >= 3.10
31 32
	gtk+-wayland-3.0
	libgnome-menu-3.0
33
	gnome-desktop-3.0
34
])
Tiago Vignatti's avatar
Tiago Vignatti committed
35

36 37
GLIB_GSETTINGS

Tiago Vignatti's avatar
Tiago Vignatti committed
38 39 40
WAYLAND_SCANNER_RULES(['$(top_srcdir)/protocol'])

AC_CONFIG_FILES([Makefile
41
		 data/Makefile
Tiago Vignatti's avatar
Tiago Vignatti committed
42
		 shell/Makefile
43
		 po/Makefile.in
Tiago Vignatti's avatar
Tiago Vignatti committed
44 45 46
		 protocol/Makefile
		 ])
AC_OUTPUT