1 AC_INIT(gst/gstobject.h)
3 AM_CONFIG_HEADER(config.h)
5 STREAMER_MAJOR_VERSION=0
6 STREAMER_MINOR_VERSION=0
7 STREAMER_MICRO_VERSION=9.2
8 STREAMER_VERSION=$STREAMER_MAJOR_VERSION.$STREAMER_MINOR_VERSION.$STREAMER_MICRO_VERSION
15 AM_INIT_AUTOMAKE(gstreamer, $STREAMER_VERSION)
17 AC_SUBST(STREAMER_MAJOR_VERSION)
18 AC_SUBST(STREAMER_MINOR_VERSION)
19 AC_SUBST(STREAMER_MICRO_VERSION)
20 AC_SUBST(STREAMER_VERSION)
22 AC_SUBST(STREAMER_CURRENT)
23 AC_SUBST(STREAMER_REVISION)
24 AC_SUBST(STREAMER_AGE)
39 [LIBS="$LIBS $GLIB_LIBS" CFLAGS="$CFLAGS $GLIB_CFLAGS"],
40 AC_MSG_ERROR(Cannot find glib: Is glib-config in path?),
44 dnl Check for libghttp
45 AC_CHECK_LIB(ghttp,ghttp_request_new,
46 [LIBS="$LIBS -lghttp" HAVE_LIBGHTTP="yes"],
47 AC_MSG_WARN(Cannot find libghttp: can't build gsthttpsrc),
49 AC_DEFINE(HAVE_LIBGHTTP)
50 AM_CONDITIONAL(HAVE_LIBGHTTP, test "x$HAVE_LIBGHTTP" = "xyes")
53 AC_CHECK_HEADERS(asm/atomic.h, AC_DEFINE(HAVE_ATOMIC_H))
56 AC_PATH_PROG(XML_CONFIG,xml-config,no)
57 if test x$XML_CONFIG = xno;then
58 AC_MSG_ERROR(Couldn't find xml-config)
60 XML_LIBS=`xml-config --libs`
61 XML_CFLAGS=`xml-config --cflags`
64 AC_DEFINE(HAVE_LIBXML)
65 AM_CONDITIONAL(HAVE_LIBXML, test "x$HAVE_LIBXML" = "xyes")
68 AC_CHECK_HEADER(mmx.h,[HAVE_LIBMMX=yes],)
69 AC_DEFINE(HAVE_LIBMMX)
70 AM_CONDITIONAL(HAVE_LIBMMX, test "x$HAVE_LIBMMX" = "xyes")
73 PLUGINS_DIR=${libdir}/plugins
74 AC_DEFINE_UNQUOTED(PLUGINS_DIR,"$PLUGINS_DIR")
77 PLUGINS_SRCDIR=`pwd`/$srcdir
78 AC_DEFINE_UNQUOTED(PLUGINS_SRCDIR,"$PLUGINS_SRCDIR")
79 AC_SUBST(PLUGINS_SRCDIR)
81 AC_ARG_ENABLE(plugin-srcdir,
82 [ --enable-plugin-srcdir allow tests/demos to use non-installed plugins ],
83 [AC_DEFINE(PLUGINS_USE_SRCDIR)])
85 AC_DEFINE(PLUGINS_USE_SRCDIR)
88 [ --enable-debug spews lots of useless info at runtime],
89 [AC_DEFINE(DEBUG_ENABLED)])
91 AC_ARG_ENABLE(profiling,
92 [ --enable-profiling adds -pg to compiler commandline, for profiling],
93 [CFLAGS="$CFLAGS -pg"])
100 AC_CHECK_PROG(GTKDOC, gtkdoc-mkdb, true, false)
101 AM_CONDITIONAL(HAVE_GTK_DOC, $GTKDOC)
104 AC_CONFIG_SUBDIRS(gist)
105 AC_CONFIG_SUBDIRS(plugins/mp3decode/xing/libxing)
111 gst/elements/Makefile
116 plugins/mp3decode/Makefile
117 plugins/mp3decode/xa/Makefile
118 plugins/mp3decode/xing/Makefile
119 plugins/mp3decode/mpg123/Makefile
120 plugins/mp3decode/parse/Makefile
121 plugins/mpeg2/Makefile
122 plugins/mpeg2/parse/Makefile
123 plugins/mpeg2/ac3parse/Makefile
124 plugins/mpeg2/ac3dec/Makefile
125 plugins/mpeg1/Makefile
126 plugins/mpeg1/parse/Makefile
127 plugins/effects/Makefile
128 plugins/effects/stereo/Makefile
129 plugins/effects/volume/Makefile
130 plugins/visualization/Makefile
131 plugins/visualization/spectrum/Makefile
132 plugins/visualization/vumeter/Makefile
133 plugins/visualization/synaesthesia/Makefile
134 plugins/visualization/smoothwave/Makefile
135 plugins/dvdsrc/Makefile
136 plugins/vcdsrc/Makefile
137 plugins/cobin/Makefile
140 test/bindings/Makefile
141 test/cothreads/Makefile