6 dnl when going to/from release please set the nano (fourth number) right !
7 dnl releases only do Wall, cvs and prerelease does Werror too
8 AS_VERSION(gstreamer, GST_VERSION, 0, 9, 3, 1,
9 GST_CVS="no", GST_CVS="yes")
11 dnl AM_MAINTAINER_MODE only provides the option to configure to enable it
13 AM_INIT_AUTOMAKE($PACKAGE,$VERSION)
15 dnl our libraries and install dirs use major.minor as a version
16 GST_MAJORMINOR=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
17 dnl we override it here for release candidates for a new series
19 AC_SUBST(GST_MAJORMINOR)
22 dnl For interactive UNIX (a Sun thing)
25 dnl CURRENT, REVISION, AGE
26 dnl - library source changed -> increment REVISION
27 dnl - interfaces added/removed/changed -> increment CURRENT, REVISION = 0
28 dnl - interfaces added -> increment AGE
29 dnl - interfaces removed -> AGE = 0
30 AS_LIBTOOL(GST, 7, 0, 0)
34 AC_CONFIG_SRCDIR([gst/gst.c])
35 AM_CONFIG_HEADER(config.h)
37 dnl Add parameters for aclocal
38 AC_SUBST(ACLOCAL_AMFLAGS, "-I common/m4 -I .")
44 dnl the gettext stuff needed
45 AM_GNU_GETTEXT_VERSION(0.11.5)
46 AM_GNU_GETTEXT([external])
48 GETTEXT_PACKAGE=gstreamer-$GST_MAJORMINOR
49 AC_SUBST(GETTEXT_PACKAGE)
50 AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], "$GETTEXT_PACKAGE",
51 [gettext package name])
53 dnl define LOCALEDIR in config.h
54 AS_AC_EXPAND(LOCALEDIR, $datadir/locale)
55 AC_DEFINE_UNQUOTED([LOCALEDIR], "$LOCALEDIR",
58 dnl define LIBDIR so we can inform people where we live
59 AS_AC_EXPAND(LIBDIR, $libdir)
60 AC_DEFINE_UNQUOTED([LIBDIR], "$LIBDIR",
63 GST_SET_ERROR_CFLAGS($GST_CVS)
65 dnl We disable static building for development, for time savings
66 dnl *NOTE*: dnl this line before release, so release does static too
72 dnl define correct errorlevel for debugging messages. We want to have GST_ERROR
73 dnl messages printed when running cvs builds
74 if test "x$GST_CVS" = "xyes"; then
75 AC_DEFINE(GST_LEVEL_DEFAULT, GST_LEVEL_ERROR, [Default errorlevel to use])
78 dnl subsystems - can influence other decisions so needs to be high up
79 dnl we need to do AM_CONDITIONAL them here for automake 1.6.x compatibility
80 GST_CHECK_SUBSYSTEM_DISABLE(GST_DEBUG,[debugging subsystem])
81 AM_CONDITIONAL(GST_DISABLE_GST_DEBUG, test "x$GST_GST_DISABLE_DEBUG" = "xyes")
82 GST_CHECK_SUBSYSTEM_DISABLE(LOADSAVE,[pipeline XML load/save])
83 AM_CONDITIONAL(GST_DISABLE_LOADSAVE, test "x$GST_DISABLE_LOADSAVE" = "xyes")
84 GST_CHECK_SUBSYSTEM_DISABLE(PARSE,[command-line parser])
85 AM_CONDITIONAL(GST_DISABLE_PARSE, test "x$GST_DISABLE_PARSE" = "xyes")
86 GST_CHECK_SUBSYSTEM_DISABLE(TRACE,[tracing subsystem])
87 AM_CONDITIONAL(GST_DISABLE_TRACE, test "x$GST_DISABLE_TRACE" = "xyes")
88 GST_CHECK_SUBSYSTEM_DISABLE(ALLOC_TRACE,[allocation tracing])
89 AM_CONDITIONAL(GST_DISABLE_ALLOC_TRACE, test "x$GST_DISABLE_ALLOC_TRACE" = "xyes")
90 GST_CHECK_SUBSYSTEM_DISABLE(REGISTRY,[plugin registry])
91 AM_CONDITIONAL(GST_DISABLE_REGISTRY, test "x$GST_DISABLE_REGISTRY" = "xyes")
92 GST_CHECK_SUBSYSTEM_DISABLE(ENUMTYPES,[enum types])
93 AM_CONDITIONAL(GST_DISABLE_ENUMTYPES, test "x$GST_DISABLE_ENUMTYPES" = "xyes")
94 GST_CHECK_SUBSYSTEM_DISABLE(INDEX,[index])
95 AM_CONDITIONAL(GST_DISABLE_INDEX, test "x$GST_DISABLE_INDEX" = "xyes")
96 GST_CHECK_SUBSYSTEM_DISABLE(PLUGIN,[plugin])
97 AM_CONDITIONAL(GST_DISABLE_PLUGIN, test "x$GST_DISABLE_PLUGIN" = "xyes")
98 GST_CHECK_SUBSYSTEM_DISABLE(URI,[uri handlers])
99 AM_CONDITIONAL(GST_DISABLE_URI, test "x$GST_DISABLE_URI" = "xyes")
101 dnl ##############################
102 dnl # Do automated configuration #
103 dnl ##############################
108 dnl allow for different autotools
109 AS_AUTOTOOLS_ALTERNATE()
111 dnl modify pkg-config path
112 AC_ARG_WITH(pkg-config-path,
113 AC_HELP_STRING([--with-pkg-config-path],
114 [colon-separated list of pkg-config(1) dirs]),
115 [export PKG_CONFIG_PATH=${withval}])
119 dnl ### Documentation checks
121 dnl Perl is used in building documentation
122 AC_PATH_PROG(PERL_PATH, perl, no)
123 if test x$PERL_PATH = xno; then
124 AC_MSG_ERROR(Could not find perl)
132 dnl we require bison for building the parser
133 dnl FIXME: check if AC_PROG_YACC is suitable here
134 AC_PATH_PROG(BISON_PATH, bison, no)
135 if test x$BISON_PATH = xno; then
136 AC_MSG_ERROR(Could not find bison)
139 dnl check bison version
140 AC_MSG_CHECKING([bison version])
142 if $BISON_PATH --version | head -n 1 | $AWK '{ if ($4 < 1.35) exit 1; else exit 0;}';
146 AC_MSG_RESULT([too old.])
147 AC_MSG_ERROR([Your bison version is too old, v1.35 or later is required.])
150 dnl we require flex for building the parser
151 dnl FIXME: check if AC_PROG_LEX is suitable here
152 AC_PATH_PROG(FLEX_PATH, flex, no)
153 if test x$FLEX_PATH = xno; then
154 AC_MSG_ERROR(Could not find flex)
157 dnl check for large file support (affected
158 dnl plugins must include config.h for this)
164 dnl check for makecontext and define HAVE_MAKECONTEXT if we have it
166 if test "$ac_cv_check_mcsc" = "yes"; then
167 AC_DEFINE_UNQUOTED(HAVE_MAKECONTEXT, $HAVE_MAKECONTEXT,
168 [defined if we have makecontext ()])
171 dnl Check for a way to display the function name in debug output
174 dnl check if we should use -Wa,-mregnames on PowerPC, so we can use
175 dnl symbolic register names in inline asm
176 if test x$HAVE_CPU_PPC = xyes ; then
177 AS_COMPILER_FLAG(["-Wa,-mregnames"],
178 [GST_INT_CFLAGS="$GST_INT_CFLAGS -Wa,-mregnames"],
183 AC_HELP_STRING([--enable-gcov],[compile with coverage profiling instrumentation (gcc only)]),
184 enable_gcov=$enableval,enable_gcov=no)
185 if test x$enable_gcov = xyes ; then
186 AS_COMPILER_FLAG(["-fprofile-arcs"],
187 [GST_INT_CFLAGS="$GST_INT_CFLAGS -fprofile-arcs"],
189 AS_COMPILER_FLAG(["-ftest-coverage"],
190 [GST_INT_CFLAGS="$GST_INT_CFLAGS -ftest-coverage"],
192 GST_INT_CFLAGS=`echo "$GST_INT_CFLAGS" | sed -e 's/-O[0-9]*//g'`
194 AC_DEFINE_UNQUOTED(GST_GCOV_ENABLED, 1, [Defined if gcov is enabled to force a rebuild due to config.h changing])
196 AM_CONDITIONAL(GST_GCOV_ENABLED, test x$enable_gcov = xyes)
198 dnl Check for some compiler flags that optimize our code.
199 if test "x$GCC" = xyes; then
200 AS_COMPILER_FLAG(-fno-common,GST_INT_CFLAGS="$GST_INT_CFLAGS -fno-common",)
203 dnl HAVE_WIN32 currently means "disable POSIXisms".
206 AC_DEFINE_UNQUOTED(HAVE_WIN32, 1, [Defined if compiling for Windows])
212 GST_UNALIGNED_ACCESS()
213 if test x${as_cv_unaligned_access} = xyes ; then
214 GST_HAVE_UNALIGNED_ACCESS_DEFINE="#define GST_HAVE_UNALIGNED_ACCESS 1"
216 GST_HAVE_UNALIGNED_ACCESS_DEFINE="#define GST_HAVE_UNALIGNED_ACCESS 0"
218 AC_SUBST(GST_HAVE_UNALIGNED_ACCESS_DEFINE)
220 dnl Check for essential libraries first:
221 dnl ====================================
224 dnl Minimum required version of GLib2
225 dnl required for compilation without warnings
229 dnl Check for glib2 with sugar on top
230 PKG_CHECK_MODULES(GLIB2,
231 glib-2.0 >= $GLIB2_REQ gobject-2.0 gthread-2.0 gmodule-2.0,
235 if test "x$HAVE_GLIB2" = "xno"; then
236 AC_MSG_ERROR([GStreamer requires GLib $GLIB2_REQ to compile.])
239 dnl for the poor souls who for example have glib in /usr/local
240 AS_SCRUB_INCLUDE(GLIB2_CFLAGS)
241 GLIB_LIBS=$GLIB2_LIBS
242 GLIB_CFLAGS=$GLIB2_CFLAGS
244 AC_SUBST(GLIB_CFLAGS)
246 AC_MSG_CHECKING([glib version >= 2.8])
247 if pkg-config --atleast-version=2.8 glib-2.0; then
249 GST_HAVE_GLIB_2_8_DEFINE="#define GST_HAVE_GLIB_2_8 1"
252 GST_HAVE_GLIB_2_8_DEFINE="/* #undef GST_HAVE_GLIB_2_8 */"
254 AC_SUBST(GST_HAVE_GLIB_2_8_DEFINE)
256 dnl Check for glib2 without extra fat, useful for the unversioned tool frontends
257 PKG_CHECK_MODULES(GLIB_ONLY, glib-2.0 >= $GLIB2_REQ)
258 AC_SUBST(GLIB_ONLY_CFLAGS)
259 AC_SUBST(GLIB_ONLY_LIBS)
262 if test "x$GST_DISABLE_LOADSAVE" = "xyes" && test "x$GST_DISABLE_REGISTRY" = "xyes"
264 AC_MSG_NOTICE([Registry and load/save are disabled, not checking for libxml2])
266 dnl check for libxml2 with minimum req version
267 GST_LIBXML2_CHECK(2.4.9)
270 dnl Check for ucontext.h
271 AC_CHECK_HEADER(ucontext.h, AC_DEFINE(HAVE_UCONTEXT_H, 1, [defined if we have ucontext.h]))
273 dnl check for "check", unit testing library/header
277 AC_MSG_NOTICE(CHECK_CFLAGS: $CHECK_CFLAGS)
278 AC_MSG_NOTICE(CHECK_LIBS: $CHECK_LIBS)
281 AM_CONDITIONAL(HAVE_CHECK, test "x$HAVE_CHECK" = "xyes")
283 dnl ######################################################################
284 dnl # Check command line parameters, and set shell variables accordingly #
285 dnl ######################################################################
287 dnl FIXME: simplify all this down using a few m4 macros
289 AC_ARG_ENABLE(fast-stack-trash,
290 AC_HELP_STRING([--enable-fast-stack-trash],[use fast memory allocator (i586 or above)]),
291 [case "${enableval}" in
292 yes) USE_FAST_STACK_TRASH=yes;;
293 noset) USE_FAST_STACK_TRASH=no;;
294 no) USE_FAST_STACK_TRASH=no;;
295 *) AC_MSG_ERROR(bad value ${enableval} for --enable-atomic) ;;
297 [USE_FAST_STACK_TRASH=yes]) dnl Default value
299 AC_ARG_ENABLE(profiling,
300 AC_HELP_STRING([--enable-profiling],[adds -pg to compiler commandline, for profiling]),
301 [case "${enableval}" in
302 yes) USE_PROFILING=yes ;;
303 no) USE_PROFILING=no ;;
304 *) AC_MSG_ERROR(bad value ${enableval} for --enable-profiling) ;;
306 [USE_PROFILING=no]) dnl Default value
308 dnl use a cache dir for storing element registry info.
309 GST_CACHE_DIR=${localstatedir}/cache/gstreamer-$GST_MAJORMINOR
311 AC_ARG_WITH(cachedir,
312 AC_HELP_STRING([--with-cachedir],[specify path to use for plugin and command completion registries]),
313 [case "${withval}" in
314 yes) AC_MSG_ERROR(bad value ${withval} for --with-cachedir) ;;
315 no) AC_MSG_ERROR(bad value ${withval} for --with-cachedir) ;;
316 *) GST_CACHE_DIR="${withval}" ;;
318 [:]) dnl Default value
320 AS_AC_EXPAND(GST_CACHE_DIR, $GST_CACHE_DIR)
321 AC_DEFINE_UNQUOTED(GST_CACHE_DIR, "$GST_CACHE_DIR", [Location of registry])
322 AC_MSG_NOTICE(Using $GST_CACHE_DIR as registry cache dir)
324 dnl building of tests
326 AC_HELP_STRING([--disable-tests],[disable building test apps]),
327 [case "${enableval}" in
328 yes) BUILD_TESTS=yes ;;
329 no) BUILD_TESTS=no ;;
330 *) AC_MSG_ERROR(bad value ${enableval} for --disable-tests) ;;
332 [BUILD_TESTS=yes]) dnl Default value
333 AM_CONDITIONAL(BUILD_TESTS, test "x$BUILD_TESTS" = "xyes")
335 dnl tests known to fail
336 AC_ARG_ENABLE(failing-tests,
337 AC_HELP_STRING([--disable-failing-tests],[disable building tests known to fail]),
338 [case "${enableval}" in
339 yes) BUILD_FAILING_TESTS=yes ;;
340 no) BUILD_FAILING_TESTS=no ;;
341 *) AC_MSG_ERROR(bad value ${enableval} for --disable-failing-tests) ;;
343 [BUILD_FAILING_TESTS=no]) dnl Default value
344 AM_CONDITIONAL(BUILD_FAILING_TESTS, test "x$BUILD_FAILING_TESTS" = "xyes")
345 if test x$BUILD_FAILING_TESTS = xyes; then
346 AC_MSG_WARN([building tests known to fail, use --disable-failing-tests to disable])
348 AC_MSG_WARN([Sissy ! By asking to not build the tests known to fail, you hereby waive your right to customer support. If you do not agree with this EULA, please press Ctrl-C before the next line is printed. By allowing the next line to be printed, you expressly acknowledge your acceptance of this EULA.])
351 AC_ARG_ENABLE(examples,
352 AC_HELP_STRING([--disable-examples],[disable building examples]),
353 [case "${enableval}" in
354 yes) BUILD_EXAMPLES=yes ;;
355 no) BUILD_EXAMPLES=no ;;
356 *) AC_MSG_ERROR(bad value ${enableval} for --disable-examples) ;;
358 [BUILD_EXAMPLES=yes]) dnl Default value
359 AM_CONDITIONAL(BUILD_EXAMPLES, test "x$BUILD_EXAMPLES" = "xyes")
361 dnl poison destroyed objects
362 AC_ARG_ENABLE(poisoning,
363 AC_HELP_STRING([--enable-poisoning],[enable poisoning of deallocated objects]),
364 [case "${enableval}" in
365 yes) USE_POISONING=yes ;;
366 no) USE_POISONING=no ;;
367 *) AC_MSG_ERROR(bad value ${enableval} for --enable-poisoning) ;;
369 [USE_POISONING=no]) dnl Default value
371 dnl Next, check for the optional components:
372 dnl ========================================
376 AC_HELP_STRING([--disable-debug],[disable addition of -g debugging info]),
377 [case "${enableval}" in
378 yes) USE_DEBUG=yes ;;
380 *) AC_MSG_ERROR(bad value ${enableval} for --enable-debug) ;;
382 [USE_DEBUG=yes]) dnl Default value
384 dnl valgrind inclusion
385 AC_ARG_ENABLE(valgrind,
386 AC_HELP_STRING([--disable-valgrind],[disable run-time valgrind detection]),
387 [case "${enableval}" in
388 yes) USE_VALGRIND="$USE_DEBUG" ;;
389 no) USE_VALGRIND=no ;;
390 *) AC_MSG_ERROR(bad value ${enableval} for --enable-valgrind) ;;
392 [USE_VALGRIND="$USE_DEBUG"]) dnl Default value
394 if test "x$USE_VALGRIND" = xyes; then
396 PKG_CHECK_MODULES(VALGRIND, valgrind > $VALGRIND_REQ, USE_VALGRIND="yes", USE_VALGRIND="no")
398 if test "x$USE_VALGRIND" = xyes; then
399 AC_DEFINE(HAVE_VALGRIND, 1, [Define if valgrind should be used])
400 AC_MSG_NOTICE(Using extra code paths for valgrind)
402 AC_SUBST(VALGRIND_CFLAGS)
403 AC_SUBST(VALGRIND_LIBS)
405 AC_PATH_PROG(VALGRIND_PATH, valgrind, no)
406 AM_CONDITIONAL(HAVE_VALGRIND, test ! "x$VALGRIND_PATH" = "xno")
408 dnl ################################################
409 dnl # Set defines according to variables set above #
410 dnl ################################################
413 dnl These should be "USE_*" instead of "HAVE_*", but some packages expect
414 dnl HAVE_ and it is likely to be easier to stick with the old name
415 if test "x$USE_FAST_STACK_TRASH" = xyes; then
416 AC_DEFINE(USE_FAST_STACK_TRASH, 1, [Define if we should use i586 optimized stack functions])
419 if test "x$USE_POISONING" = xyes; then
420 AC_DEFINE(USE_POISONING, 1, [Define if we should poison deallocated memory])
423 dnl test for sigaction()
424 AC_CHECK_FUNC(sigaction,
425 AC_DEFINE(HAVE_SIGACTION, 1,
426 [Defined if we have sigaction ()]))
428 dnl test for register_printf_function
429 AC_CHECK_FUNC(register_printf_function,
431 GST_PRINTF_EXTENSION_FORMAT_DEFINE="#define GST_PTR_FORMAT \"P\""
432 AC_DEFINE(HAVE_PRINTF_EXTENSION, 1,
433 [Defined if we have register_printf_function ()])
435 GST_PRINTF_EXTENSION_FORMAT_DEFINE="#define GST_PTR_FORMAT \"p\""
437 AC_SUBST(GST_PRINTF_EXTENSION_FORMAT_DEFINE)
439 dnl test if we have dladdr(); we use it for debugging
440 save_cflags="$CFLAGS"
441 CFLAGS="$CFLAGS -D_GNU_SOURCE"
442 AC_CHECK_LIB(dl, dladdr,
443 AC_DEFINE(HAVE_DLADDR, 1,
444 [Defined if we have dladdr ()]))
445 CFLAGS="$save_cflags"
447 if test "x$USE_DEBUG" = xyes; then
448 GST_INT_CFLAGS="$GST_INT_CFLAGS -g"
451 dnl #############################
452 dnl # Set automake conditionals #
453 dnl #############################
455 dnl These should be "USE_*" instead of "HAVE_*", but some packages expect
456 dnl HAVE_ and it is likely to be easier to stick with the old name
457 AM_CONDITIONAL(EXPERIMENTAL, test "x$EXPERIMENTAL" = "xyes")
458 AM_CONDITIONAL(BROKEN, test "x$BROKEN" = "xyes")
460 dnl ############################
461 dnl # Set up some more defines #
462 dnl ############################
464 dnl set license and copyright notice
465 AC_DEFINE(GST_LICENSE, "LGPL", [GStreamer license])
467 dnl package name in plugins
468 AC_ARG_WITH(package-name,
469 AC_HELP_STRING([--with-package-name],[specify package name to use in plugins]),
470 [case "${withval}" in
471 yes) AC_MSG_ERROR(bad value ${withval} for --with-package-name) ;;
472 no) AC_MSG_ERROR(bad value ${withval} for --with-package-name) ;;
473 *) GST_PACKAGE="${withval}" ;;
477 if test "x$GST_CVS" = "xyes"
480 GST_PACKAGE="GStreamer CVS/prerelease"
482 GST_PACKAGE="GStreamer source release"
486 AC_MSG_NOTICE(Using $GST_PACKAGE as package name)
487 AC_DEFINE_UNQUOTED(GST_PACKAGE, "$GST_PACKAGE", [package name in plugins])
489 dnl package origin URL
490 AC_ARG_WITH(package-origin,
491 AC_HELP_STRING([--with-package-origin],[specify package origin URL to use in plugins]),
492 [case "${withval}" in
493 yes) AC_MSG_ERROR(bad value ${withval} for --with-package-origin) ;;
494 no) AC_MSG_ERROR(bad value ${withval} for --with-package-origin) ;;
495 *) GST_ORIGIN="${withval}" ;;
497 [GST_ORIGIN="http://gstreamer.freedesktop.org/"]) dnl Default value
498 AC_MSG_NOTICE(Using $GST_ORIGIN as package origin)
499 AC_DEFINE_UNQUOTED(GST_ORIGIN, "$GST_ORIGIN", [package origin])
501 dnl Set location of plugin directory
502 AS_AC_EXPAND(PLUGINS_DIR, ${libdir}/gstreamer-$GST_MAJORMINOR)
503 AC_DEFINE_UNQUOTED(PLUGINS_DIR, "$PLUGINS_DIR", [Define the plugin directory])
504 AC_SUBST(PLUGINS_DIR)
505 AC_MSG_NOTICE([Using $PLUGINS_DIR as the plugin install location])
507 dnl LDFLAGS modifier defining exported symbols from built objects
508 EXPORT_LDFLAGS="-export-symbols-regex [_]*\(gst_\|Gst\|GST_\).*"
510 dnl GST_PKG_*: the flags we use that are also used
511 dnl for external applications/.pc file
512 dnl GST_LIB_*: used for the main library
513 dnl GST_OBJ_*: the flags we use for all the objects internal to the core
514 dnl GST_PLUGIN_*: additional flags we use for all plugins
516 dnl finalize _CFLAGS and _LIBS
517 dnl flags exported for external applications and use in our pkg-config .pc files
518 dnl since glib and xml are package deps, there's no need to include their cflags
519 dnl in the pkg-config file
521 GST_PKG_DEPS="glib-2.0, gobject-2.0, gmodule-2.0, gthread-2.0"
522 AC_SUBST(GST_PKG_CFLAGS)
523 AC_SUBST(GST_PKG_LIBS)
524 AC_SUBST(GST_PKG_DEPS)
526 dnl flags shared for all internal objects (core libs, elements, applications)
527 dnl we disable deprecated internally
528 dnl XML, GLib, popt, GST_INT, VALGRIND, and the right include for CFLAGS
529 dnl no need to add XML, GLib, popt explicitly since libgstreamer pulls them in
530 GST_INT_CFLAGS="$GLIB_CFLAGS $XML_CFLAGS $GST_PKG_CFLAGS \
531 $GST_INT_CFLAGS \$(ERROR_CFLAGS) -DGST_DISABLE_DEPRECATED"
533 dnl Private vars for libgst only
534 GST_LIB_CFLAGS="$GST_PKG_CFLAGS $GST_INT_CFLAGS \
535 $VALGRIND_CFLAGS -I\$(top_srcdir)"
536 GST_LIB_LIBS="$XML_LIBS $GLIB_LIBS -lpopt $GST_PKG_LIBS $LTLIBINTL $VALGRIND_LIBS"
537 GST_LIB_LDFLAGS="$GST_LT_LDFLAGS -version-info $GST_LIBVERSION -no-undefined $EXPORT_LDFLAGS"
538 AC_SUBST(GST_LIB_CFLAGS)
539 AC_SUBST(GST_LIB_LIBS)
540 AC_SUBST(GST_LIB_LDFLAGS)
542 dnl Vars for all internal objects built on libgstreamer
543 GST_OBJ_CFLAGS="$GST_INT_CFLAGS -I\$(top_srcdir)/libs -I\$(top_srcdir)"
544 GST_OBJ_LIBS="\$(top_builddir)/gst/libgstreamer-$GST_MAJORMINOR.la"
546 AC_SUBST(GST_OBJ_CFLAGS, "$GST_OBJ_CFLAGS")
547 AC_SUBST(GST_OBJ_LIBS, "$GST_OBJ_LIBS")
549 dnl specific additional LDFLAGS for plugins
550 GST_PLUGIN_LDFLAGS="-module -avoid-version -no-undefined $EXPORT_LDFLAGS"
551 AC_SUBST(GST_PLUGIN_LDFLAGS, "$GST_PLUGIN_LDFLAGS")
553 plugindir="\$(libdir)/gstreamer-$GST_MAJORMINOR"
556 dnl ##################################################
557 dnl # deps for examples from manual #
558 dnl ##################################################
560 PKG_CHECK_MODULES(LIBGNOMEUI, libgnomeui-2.0,
561 HAVE_LIBGNOMEUI="yes", HAVE_LIBGNOMEUI="no")
562 AC_SUBST(LIBGNOMEUI_CFLAGS)
563 AC_SUBST(LIBGNOMEUI_LIBS)
564 AM_CONDITIONAL(HAVE_LIBGNOMEUI, test "x$HAVE_LIBGNOMEUI" = "xyes")
566 dnl ##################################################
567 dnl # Prepare informative messages to display at end #
568 dnl ##################################################
572 dnl #########################
573 dnl # Make the output files #
574 dnl #########################
576 dnl libs/ext/Makefile
577 dnl nothing there yet !
585 gst/indexers/Makefile
586 gst/elements/Makefile
590 libs/gst/controller/Makefile
591 libs/gst/dataprotocol/Makefile
595 tests/instantiate/Makefile
596 tests/muxing/Makefile
597 tests/seeking/Makefile
599 tests/threadstate/Makefile
601 testsuite/bytestream/Makefile
602 testsuite/caps/Makefile
603 testsuite/cleanup/Makefile
604 testsuite/controller/Makefile
605 testsuite/debug/Makefile
606 testsuite/dlopen/Makefile
607 testsuite/elements/Makefile
608 testsuite/indexers/Makefile
609 testsuite/negotiation/Makefile
610 testsuite/pad/Makefile
611 testsuite/parse/Makefile
612 testsuite/plugin/Makefile
613 testsuite/refcounting/Makefile
614 testsuite/schedulers/Makefile
615 testsuite/states/Makefile
616 testsuite/threads/Makefile
617 testsuite/trigger/Makefile
619 examples/controller/Makefile
620 examples/cutter/Makefile
621 examples/helloworld/Makefile
622 examples/launch/Makefile
623 examples/manual/Makefile
624 examples/mixer/Makefile
625 examples/metadata/Makefile
626 examples/pingpong/Makefile
627 examples/plugins/Makefile
628 examples/pwg/Makefile
629 examples/queue/Makefile
630 examples/retag/Makefile
631 examples/thread/Makefile
632 examples/typefind/Makefile
633 examples/xml/Makefile
644 docs/version.entities
647 pkgconfig/gstreamer.pc
648 pkgconfig/gstreamer-uninstalled.pc
649 pkgconfig/gstreamer-base.pc
650 pkgconfig/gstreamer-base-uninstalled.pc
651 pkgconfig/gstreamer-check.pc
652 pkgconfig/gstreamer-check-uninstalled.pc
653 pkgconfig/gstreamer-controller.pc
654 pkgconfig/gstreamer-controller-uninstalled.pc
655 pkgconfig/gstreamer-dataprotocol.pc
656 pkgconfig/gstreamer-dataprotocol-uninstalled.pc
658 echo "$infomessages", infomessages="$infomessages"