configure.ac 775 Bytes
Newer Older
Tiago Vignatti's avatar
Tiago Vignatti committed
1
AC_PREREQ([2.64])
2
AC_INIT([weston-gtk-shell],
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 16 17 18 19 20
IT_PROG_INTLTOOL([0.40])

GETTEXT_PACKAGE=weston-gtk-shell
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE",
                   [The prefix for our gettext translation domains.])

Tiago Vignatti's avatar
Tiago Vignatti committed
21 22
PKG_PROG_PKG_CONFIG()

23 24 25 26 27 28
PKG_CHECK_MODULES([GTK], [
	wayland-client >= 1.0.2
	weston >= 1.3.0
	gtk+-3.0 >= 3.7
	gtk+-wayland-3.0
	libgnome-menu-3.0
29
	gnome-desktop-3.0
30
])
Tiago Vignatti's avatar
Tiago Vignatti committed
31

32 33
GLIB_GSETTINGS

Tiago Vignatti's avatar
Tiago Vignatti committed
34 35 36
WAYLAND_SCANNER_RULES(['$(top_srcdir)/protocol'])

AC_CONFIG_FILES([Makefile
37
		 data/Makefile
Tiago Vignatti's avatar
Tiago Vignatti committed
38
		 shell/Makefile
39
		 po/Makefile.in
Tiago Vignatti's avatar
Tiago Vignatti committed
40 41 42
		 protocol/Makefile
		 ])
AC_OUTPUT