dnl Process this file with autoconf to produce a configure script.
-AC_INIT(lightdm, 1.7.4)
+AC_INIT(lightdm, 1.7.9)
AC_CONFIG_MACRO_DIR(m4)
AC_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE([1.11 no-dist-gzip dist-xz foreign])
AC_PROG_LIBTOOL
AM_MAINTAINER_MODE
+dnl Enable compile warnings (only supporting GCC)
+if test "x$GCC" == xyes; then
+ WARN_CFLAGS="-Wall \
+ -Wstrict-prototypes \
+ -Wnested-externs \
+ -Werror=missing-prototypes \
+ -Werror=implicit-function-declaration \
+ -Werror=pointer-arith \
+ -Werror=init-self \
+ -Werror=format-security \
+ -Werror=format=2 \
+ -Werror=missing-include-dirs"
+fi
+AC_SUBST(WARN_CFLAGS)
+
GOBJECT_INTROSPECTION_CHECK(0.9.5)
dnl ###########################################################################