2 AM_INIT_AUTOMAKE(laugh, `date +%Y%m%d`)
3 AM_CONFIG_HEADER(config.h)
15 # Option to enable debugging
17 [AC_HELP_STRING([ --enable-debug],[Debugging (default=no)])],
18 [with_debug=yes], [with_debug=no])
20 if test "x$with_debug" == "xyes" ; then
21 CFLAGS="$CFLAGS -ggdb -O0 -DDEBUG -Wall -ansi -pedantic"
23 CFLAGS="$CFLAGS -O2 -Wall -ansi -pedantic"
26 PKG_CHECK_MODULES(DEPS, clutter-0.6 gio-2.0 gthread-2.0 clutter-gst-0.6 clutter-gtk-0.6 gtk+-x11-2.0 gconf-2.0)