Add media role for linking and make the display role from media types when started
[laugh.git] / configure.ac
blob017101f88e313a10ec2e85938bc70f3880e7371f
1 AC_INIT(Makefile.am)
2 AM_INIT_AUTOMAKE(laugh, `date +%Y%m%d`)
3 AM_CONFIG_HEADER(config.h)
5 AC_CANONICAL_HOST
7 AC_PROG_CC
8 AC_PROG_CPP
9 AC_PROG_INSTALL
10 AC_PROG_RANLIB
11 AC_PROG_LIBTOOL
12 AC_PROG_CXX
13 AC_HEADER_STDC
15 # Option to enable debugging
16 AC_ARG_ENABLE(debug,
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"
22 else
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)
27 AC_SUBST(DEPS_CFLAGS)
28 AC_SUBST(DEPS_LIBS)
30 AC_OUTPUT([
31     Makefile
32     src/Makefile