libgupnp-dlna: Remove debug print
[gupnp:gupnp-dlna.git] / configure.ac
1 AC_PREREQ(2.53)
2 AC_INIT(gupnp-dlna, 0.1.0, http://www.gupnp.org/)
3 AM_INIT_AUTOMAKE()
4 AC_CONFIG_SRCDIR(libgupnp-dlna/gupnp-dlna-profile.h)
5 AM_CONFIG_HEADER(config.h)
6
7 m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])],)
8
9 AC_ISC_POSIX
10 AC_PROG_CC
11 AC_STDC_HEADERS
12 AC_LIBTOOL_WIN32_DLL
13 AC_PROG_LIBTOOL
14
15 PKG_CHECK_MODULES(LIBXML, libxml-2.0 >= 2.5.0)
16
17 GST_MAJORMINOR=0.10
18 GST_REQ=0.10.25
19 GSTVID_REQ=0.10.25
20
21 PKG_CHECK_MODULES(GST, gstreamer-$GST_MAJORMINOR >= $GST_REQ)
22 PKG_CHECK_MODULES(GST_BASE, gstreamer-base-$GST_MAJORMINOR >= $GST_REQ)
23 PKG_CHECK_MODULES(GST_VIDEO, gstreamer-video-$GST_MAJORMINOR >= $GSTVID_REQ)
24 PKG_CHECK_MODULES(GST_PBU, gstreamer-pbutils-$GST_MAJORMINOR >= $GST_REQ)
25 AC_SUBST(GST_MAJORMINOR)
26
27 GST_CFLAGS="$GST_CFLAGS -DGST_USE_UNSTABLE_API"
28 AC_SUBST(GST_CFLAGS)
29
30 # glib-genmarshal
31 GLIB_GENMARSHAL=`pkg-config --variable=glib_genmarshal glib-2.0`
32 AC_SUBST(GLIB_GENMARSHAL)
33
34 # Debugging
35 AC_ARG_ENABLE(debug,
36         [  --enable-debug          enable debugging],,
37         enable_debug=no)
38 if test "x$enable_debug" = "xyes"; then
39         CFLAGS="$CFLAGS -g -Wall"
40 fi
41
42 GTK_DOC_CHECK([1.0])
43
44 AC_OUTPUT([
45 Makefile
46 gst-convenience/Makefile
47 gst-convenience/gst-libs/Makefile
48 gst-convenience/gst-libs/gst/Makefile
49 gst-convenience/gst-libs/gst/discoverer/Makefile
50 gst-convenience/gst-libs/gst/profile/Makefile
51 libgupnp-dlna/Makefile
52 tools/Makefile
53 tests/Makefile
54 doc/Makefile
55 doc/version.xml
56 data/Makefile
57 gupnp-dlna-1.0.pc
58 gupnp-dlna-1.0-uninstalled.pc
59 ])