3 dnl initialize autoconf
4 dnl we don't specify PACKAGE and VERSION because AS_VERSION puts it together
7 dnl when going to/from release please set the nano (fourth number) right !
8 dnl releases only do Wall, cvs and prerelease does Werror too
9 AS_VERSION(gstreamer, GST_VERSION, 0, 9, 3, 1,
10 GST_CVS="no", GST_CVS="yes")
12 dnl can autoconf find the source ?
13 AC_CONFIG_SRCDIR([gst/gst.c])
15 dnl define the output header for config
16 AM_CONFIG_HEADER([config.h])
18 dnl AM_MAINTAINER_MODE only provides the option to configure to enable it
21 dnl initialize automake
22 dnl FIXME: this is deprecated use, we should move PACKAGE and VERSION to
23 dnl AC_INIT, but then we need to parse the version to pass to AS_VERSION
24 AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
26 dnl our libraries and install dirs use major.minor as a version
27 GST_MAJORMINOR=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
28 dnl we override it here for release candidates for a new series
30 AC_SUBST(GST_MAJORMINOR)
32 dnl CURRENT, REVISION, AGE
33 dnl - library source changed -> increment REVISION
34 dnl - interfaces added/removed/changed -> increment CURRENT, REVISION = 0
35 dnl - interfaces added -> increment AGE
36 dnl - interfaces removed -> AGE = 0
37 AS_LIBTOOL(GST, 7, 0, 0)
41 dnl *** autotools stuff ****
43 dnl allow for different autotools
44 AS_AUTOTOOLS_ALTERNATE
46 dnl Add parameters for aclocal
47 AC_SUBST(ACLOCAL_AMFLAGS, "-I common/m4 -I .")
49 dnl *** check for arguments to configure ***
51 dnl subsystems - can influence other decisions so needs to be high up
52 dnl we need to AM_CONDITIONAL them here for automake 1.6.x compatibility
53 GST_CHECK_SUBSYSTEM_DISABLE(GST_DEBUG,[debugging subsystem])
54 AM_CONDITIONAL(GST_DISABLE_GST_DEBUG, test "x$GST_GST_DISABLE_DEBUG" = "xyes")
55 GST_CHECK_SUBSYSTEM_DISABLE(LOADSAVE,[pipeline XML load/save])
56 AM_CONDITIONAL(GST_DISABLE_LOADSAVE, test "x$GST_DISABLE_LOADSAVE" = "xyes")
57 GST_CHECK_SUBSYSTEM_DISABLE(PARSE,[command-line parser])
58 AM_CONDITIONAL(GST_DISABLE_PARSE, test "x$GST_DISABLE_PARSE" = "xyes")
59 GST_CHECK_SUBSYSTEM_DISABLE(TRACE,[tracing subsystem])
60 AM_CONDITIONAL(GST_DISABLE_TRACE, test "x$GST_DISABLE_TRACE" = "xyes")
61 GST_CHECK_SUBSYSTEM_DISABLE(ALLOC_TRACE,[allocation tracing])
62 AM_CONDITIONAL(GST_DISABLE_ALLOC_TRACE, test "x$GST_DISABLE_ALLOC_TRACE" = "xyes")
63 GST_CHECK_SUBSYSTEM_DISABLE(REGISTRY,[plugin registry])
64 AM_CONDITIONAL(GST_DISABLE_REGISTRY, test "x$GST_DISABLE_REGISTRY" = "xyes")
65 GST_CHECK_SUBSYSTEM_DISABLE(ENUMTYPES,[enum types])
66 AM_CONDITIONAL(GST_DISABLE_ENUMTYPES, test "x$GST_DISABLE_ENUMTYPES" = "xyes")
67 GST_CHECK_SUBSYSTEM_DISABLE(INDEX,[index])
68 AM_CONDITIONAL(GST_DISABLE_INDEX, test "x$GST_DISABLE_INDEX" = "xyes")
69 GST_CHECK_SUBSYSTEM_DISABLE(PLUGIN,[plugin])
70 AM_CONDITIONAL(GST_DISABLE_PLUGIN, test "x$GST_DISABLE_PLUGIN" = "xyes")
71 GST_CHECK_SUBSYSTEM_DISABLE(URI,[uri handlers])
72 AM_CONDITIONAL(GST_DISABLE_URI, test "x$GST_DISABLE_URI" = "xyes")
74 dnl FIXME: simplify all this down using a few m4 macros
76 dnl possibly modify pkg-config path
77 AC_ARG_WITH(pkg-config-path,
78 AC_HELP_STRING([--with-pkg-config-path],
79 [colon-separated list of pkg-config(1) dirs]),
80 [export PKG_CONFIG_PATH=${withval}])
82 AC_ARG_ENABLE(fast-stack-trash,
83 AC_HELP_STRING([--enable-fast-stack-trash],
84 [use fast memory allocator (i586 or above)]),
86 case "${enableval}" in
87 yes) USE_FAST_STACK_TRASH=yes;;
88 noset) USE_FAST_STACK_TRASH=no;;
89 no) USE_FAST_STACK_TRASH=no;;
90 *) AC_MSG_ERROR(bad value ${enableval} for --enable-atomic) ;;
92 [USE_FAST_STACK_TRASH=yes]) dnl Default value
93 if test "x$USE_FAST_STACK_TRASH" = xyes; then
94 AC_DEFINE(USE_FAST_STACK_TRASH, 1,
95 [Define if we should use i586 optimized stack functions])
98 AC_ARG_ENABLE(profiling,
99 AC_HELP_STRING([--enable-profiling],
100 [adds -pg to compiler commandline, for profiling]),
102 case "${enableval}" in
103 yes) USE_PROFILING=yes ;;
104 no) USE_PROFILING=no ;;
105 *) AC_MSG_ERROR(bad value ${enableval} for --enable-profiling) ;;
108 [USE_PROFILING=no]) dnl Default value
110 dnl use a cache dir for storing element registry info.
111 GST_CACHE_DIR=${localstatedir}/cache/gstreamer-$GST_MAJORMINOR
113 AC_ARG_WITH(cachedir,
114 AC_HELP_STRING([--with-cachedir],
115 [specify path to use for plugin and command completion registries]),
118 yes) AC_MSG_ERROR(bad value ${withval} for --with-cachedir) ;;
119 no) AC_MSG_ERROR(bad value ${withval} for --with-cachedir) ;;
120 *) GST_CACHE_DIR="${withval}" ;;
123 [:]) dnl Default value
125 AS_AC_EXPAND(GST_CACHE_DIR, $GST_CACHE_DIR)
126 AC_DEFINE_UNQUOTED(GST_CACHE_DIR, "$GST_CACHE_DIR", [Location of registry])
127 AC_MSG_NOTICE(Using $GST_CACHE_DIR as registry cache dir)
129 dnl building of tests
131 AC_HELP_STRING([--disable-tests], [disable building test apps]),
133 case "${enableval}" in
134 yes) BUILD_TESTS=yes ;;
135 no) BUILD_TESTS=no ;;
136 *) AC_MSG_ERROR(bad value ${enableval} for --disable-tests) ;;
139 [BUILD_TESTS=yes]) dnl Default value
140 AM_CONDITIONAL(BUILD_TESTS, test "x$BUILD_TESTS" = "xyes")
142 dnl tests known to fail
143 AC_ARG_ENABLE(failing-tests,
144 AC_HELP_STRING([--disable-failing-tests],
145 [disable building tests known to fail]),
147 case "${enableval}" in
148 yes) BUILD_FAILING_TESTS=yes ;;
149 no) BUILD_FAILING_TESTS=no ;;
150 *) AC_MSG_ERROR(bad value ${enableval} for --disable-failing-tests) ;;
153 [BUILD_FAILING_TESTS=no]) dnl Default value
154 AM_CONDITIONAL(BUILD_FAILING_TESTS, test "x$BUILD_FAILING_TESTS" = "xyes")
155 if test x$BUILD_FAILING_TESTS = xyes; then
156 AC_MSG_WARN([building tests known to fail, use --disable-failing-tests to disable])
158 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.])
161 AC_ARG_ENABLE(examples,
162 AC_HELP_STRING([--disable-examples], [disable building examples]),
164 case "${enableval}" in
165 yes) BUILD_EXAMPLES=yes ;;
166 no) BUILD_EXAMPLES=no ;;
167 *) AC_MSG_ERROR(bad value ${enableval} for --disable-examples) ;;
170 [BUILD_EXAMPLES=yes]) dnl Default value
171 AM_CONDITIONAL(BUILD_EXAMPLES, test "x$BUILD_EXAMPLES" = "xyes")
173 dnl poison destroyed objects
174 AC_ARG_ENABLE(poisoning,
175 AC_HELP_STRING([--enable-poisoning],
176 [enable poisoning of deallocated objects]),
178 case "${enableval}" in
179 yes) USE_POISONING=yes ;;
180 no) USE_POISONING=no ;;
181 *) AC_MSG_ERROR(bad value ${enableval} for --enable-poisoning) ;;
184 [USE_POISONING=no]) dnl Default value
185 if test "x$USE_POISONING" = xyes; then
186 AC_DEFINE(USE_POISONING, 1,
187 [Define if we should poison deallocated memory])
192 AC_HELP_STRING([--disable-debug],[disable addition of -g debugging info]),
194 case "${enableval}" in
195 yes) USE_DEBUG=yes ;;
197 *) AC_MSG_ERROR(bad value ${enableval} for --enable-debug) ;;
200 [USE_DEBUG=yes]) dnl Default value
202 dnl valgrind inclusion
203 AC_ARG_ENABLE(valgrind,
204 AC_HELP_STRING([--disable-valgrind],[disable run-time valgrind detection]),
206 case "${enableval}" in
207 yes) USE_VALGRIND="$USE_DEBUG" ;;
208 no) USE_VALGRIND=no ;;
209 *) AC_MSG_ERROR(bad value ${enableval} for --enable-valgrind) ;;
212 [USE_VALGRIND="$USE_DEBUG"]) dnl Default value
214 if test "x$USE_VALGRIND" = xyes; then
215 PKG_CHECK_MODULES(VALGRIND, valgrind > $VALGRIND_REQ,
216 USE_VALGRIND="yes", USE_VALGRIND="no")
218 if test "x$USE_VALGRIND" = xyes; then
219 AC_DEFINE(HAVE_VALGRIND, 1, [Define if valgrind should be used])
220 AC_MSG_NOTICE(Using extra code paths for valgrind)
224 AC_HELP_STRING([--enable-gcov],
225 [compile with coverage profiling instrumentation (gcc only)]),
226 enable_gcov=$enableval,
228 if test x$enable_gcov = xyes ; then
229 AS_COMPILER_FLAG(["-fprofile-arcs"],
230 [GCOV_CFLAGS="$GCOV_CFLAGS -fprofile-arcs"],
232 AS_COMPILER_FLAG(["-ftest-coverage"],
233 [GCOV_CFLAGS="$GCOV_CFLAGS -ftest-coverage"],
235 dnl remove any -O flags - FIXME: is this needed ?
236 GCOV_CFLAGS=`echo "$GCOV_CFLAGS" | sed -e 's/-O[0-9]*//g'`
238 AC_DEFINE_UNQUOTED(GST_GCOV_ENABLED, 1,
239 [Defined if gcov is enabled to force a rebuild due to config.h changing])
241 AM_CONDITIONAL(GST_GCOV_ENABLED, test x$enable_gcov = xyes)
243 dnl package name in plugins
244 AC_ARG_WITH(package-name,
245 AC_HELP_STRING([--with-package-name],
246 [specify package name to use in plugins]),
249 yes) AC_MSG_ERROR(bad value ${withval} for --with-package-name) ;;
250 no) AC_MSG_ERROR(bad value ${withval} for --with-package-name) ;;
251 *) GST_PACKAGE="${withval}" ;;
256 if test "x$GST_CVS" = "xyes"
259 GST_PACKAGE="GStreamer CVS/prerelease"
261 GST_PACKAGE="GStreamer source release"
265 AC_MSG_NOTICE(Using $GST_PACKAGE as package name)
266 AC_DEFINE_UNQUOTED(GST_PACKAGE, "$GST_PACKAGE", [package name in plugins])
268 dnl package origin URL
269 AC_ARG_WITH(package-origin,
270 AC_HELP_STRING([--with-package-origin],
271 [specify package origin URL to use in plugins]),
274 yes) AC_MSG_ERROR(bad value ${withval} for --with-package-origin) ;;
275 no) AC_MSG_ERROR(bad value ${withval} for --with-package-origin) ;;
276 *) GST_ORIGIN="${withval}" ;;
279 [GST_ORIGIN="http://gstreamer.freedesktop.org/"] dnl Default value
281 AC_MSG_NOTICE(Using $GST_ORIGIN as package origin)
282 AC_DEFINE_UNQUOTED(GST_ORIGIN, "$GST_ORIGIN", [package origin])
284 dnl *** platform checks ***
286 dnl * hardware/architecture *
288 dnl common/m4/gst-arch.m4
292 dnl common/m4/gst-arch.m4
293 dnl check for unaligned access
295 dnl create a configure variable for gst/gstconfig.h
296 if test x${as_cv_unaligned_access} = xyes ; then
297 GST_HAVE_UNALIGNED_ACCESS_DEFINE="#define GST_HAVE_UNALIGNED_ACCESS 1"
299 GST_HAVE_UNALIGNED_ACCESS_DEFINE="#define GST_HAVE_UNALIGNED_ACCESS 0"
301 AC_SUBST(GST_HAVE_UNALIGNED_ACCESS_DEFINE)
306 dnl check for large file support
307 dnl affected plugins must include config.h
310 dnl HAVE_WIN32 currently means "disable POSIXisms".
313 AC_DEFINE_UNQUOTED(HAVE_WIN32, 1, [Defined if compiling for Windows])
319 dnl *** checks for programs ***
324 dnl find an assembler
327 dnl we use awk in the bison version check
330 dnl we require bison for building the parser
331 dnl FIXME: check if AC_PROG_YACC is suitable here
332 dnl FIXME: make precious
333 AC_PATH_PROG(BISON_PATH, bison, no)
334 if test x$BISON_PATH = xno; then
335 AC_MSG_ERROR(Could not find bison)
338 dnl check bison version
339 AC_MSG_CHECKING([bison version])
341 if $BISON_PATH --version | head -n 1 | $AWK '{ if ($4 < 1.35) exit 1; else exit 0;}';
345 AC_MSG_RESULT([too old.])
346 AC_MSG_ERROR([Your bison version is too old, v1.35 or later is required.])
349 dnl we require flex for building the parser
350 dnl FIXME: check if AC_PROG_LEX is suitable here
351 AC_PATH_PROG(FLEX_PATH, flex, no)
352 if test x$FLEX_PATH = xno; then
353 AC_MSG_ERROR(Could not find flex)
356 dnl Perl is used in building documentation
357 AC_PATH_PROG(PERL_PATH, perl, no)
358 if test x$PERL_PATH = xno; then
359 AC_MSG_ERROR(Could not find perl)
362 AC_PATH_PROG(VALGRIND_PATH, valgrind, no)
363 AM_CONDITIONAL(HAVE_VALGRIND, test ! "x$VALGRIND_PATH" = "xno")
365 dnl check for documentation tools
369 dnl *** checks for libraries ***
371 dnl For interactive UNIX (a Sun thing)
372 dnl FIXME: this adds -lcposix to LIBS, but I doubt we use LIBS
375 dnl *** checks for header files ***
377 dnl check if we have ANSI C header files
380 dnl Check for ucontext.h
381 AC_CHECK_HEADERS([ucontext.h])
382 AC_CHECK_HEADERS([sys/socket.h])
383 AM_CONDITIONAL(HAVE_SYS_SOCKET_H, test "x$HAVE_SYS_SOCKET_H" = "xyes")
385 dnl *** checks for library functions ***
387 AC_CHECK_FUNCS([sigaction])
389 dnl check for fseeko()
391 dnl check for ftello()
392 AC_CHECK_FUNCS([ftello])
394 AC_CHECK_FUNCS([fgetpos])
395 AC_CHECK_FUNCS([fsetpos])
399 AM_CONDITIONAL(HAVE_MMAP, test "x$HAVE_MMAP" = "xyes")
401 dnl common/m4/gst-mcsc.m4
402 dnl check for makecontext and define HAVE_MAKECONTEXT if we have it
404 if test "$ac_cv_check_mcsc" = "yes"; then
405 AC_DEFINE_UNQUOTED(HAVE_MAKECONTEXT, $HAVE_MAKECONTEXT,
406 [defined if we have makecontext ()])
409 dnl Check for a way to display the function name in debug output
412 dnl test for register_printf_function
413 AC_CHECK_FUNC(register_printf_function,
415 GST_PRINTF_EXTENSION_FORMAT_DEFINE="#define GST_PTR_FORMAT \"P\""
416 AC_DEFINE(HAVE_PRINTF_EXTENSION, 1,
417 [Defined if we have register_printf_function ()])
419 GST_PRINTF_EXTENSION_FORMAT_DEFINE="#define GST_PTR_FORMAT \"p\""
421 AC_SUBST(GST_PRINTF_EXTENSION_FORMAT_DEFINE)
423 dnl test if we have dladdr(); we use it for debugging; see gst/gstinfo.c
424 save_cflags="$CFLAGS"
425 CFLAGS="$CFLAGS -D_GNU_SOURCE"
426 AC_CHECK_LIB(dl, dladdr,
427 AC_DEFINE(HAVE_DLADDR, 1,
428 [Defined if we have dladdr ()]))
429 CFLAGS="$save_cflags"
431 dnl *** checks for compiler characteristics ***
433 dnl make sure we can use "inline" from C code
436 dnl *** TODO: decide where to put ***
439 AM_GNU_GETTEXT_VERSION(0.11.5)
440 AM_GNU_GETTEXT([external])
442 GETTEXT_PACKAGE=gstreamer-$GST_MAJORMINOR
443 AC_SUBST(GETTEXT_PACKAGE)
444 AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], "$GETTEXT_PACKAGE",
445 [gettext package name])
447 dnl define LOCALEDIR in config.h
448 AS_AC_EXPAND(LOCALEDIR, $datadir/locale)
449 AC_DEFINE_UNQUOTED([LOCALEDIR], "$LOCALEDIR",
450 [gettext locale dir])
452 dnl define LIBDIR so we can inform people where we live
453 AS_AC_EXPAND(LIBDIR, $libdir)
454 AC_DEFINE_UNQUOTED([LIBDIR], "$LIBDIR",
457 dnl define an ERROR_CFLAGS Makefile variable
458 GST_SET_ERROR_CFLAGS($GST_CVS)
460 dnl define correct errorlevel for debugging messages. We want to have GST_ERROR
461 dnl messages printed when running cvs builds
462 if test "x$GST_CVS" = "xyes"; then
463 AC_DEFINE(GST_LEVEL_DEFAULT, GST_LEVEL_ERROR, [Default errorlevel to use])
466 dnl *** checks for dependency libraries ***
470 dnl Minimum required version of GLib
474 dnl Check for glib2 with sugar on top
475 PKG_CHECK_MODULES(GLIB,
476 glib-2.0 >= $GLIB_REQ gobject-2.0 gthread-2.0 gmodule-2.0,
480 if test "x$HAVE_GLIB" = "xno"; then
481 AC_MSG_ERROR([GStreamer requires GLib >= $GLIB_REQ to compile.])
484 dnl for the poor souls who for example have glib in /usr/local
485 AS_SCRUB_INCLUDE(GLIB_CFLAGS)
487 dnl GLib 2.8 has some bug fixes that we like, so make sure our code knows
488 AC_MSG_CHECKING([glib version >= 2.8])
489 if pkg-config --atleast-version=2.8 glib-2.0; then
491 GST_HAVE_GLIB_2_8_DEFINE="#define GST_HAVE_GLIB_2_8 1"
494 GST_HAVE_GLIB_2_8_DEFINE="/* #undef GST_HAVE_GLIB_2_8 */"
496 AC_SUBST(GST_HAVE_GLIB_2_8_DEFINE)
498 dnl Check for glib2 without extra fat, useful for the unversioned tool frontends
499 PKG_CHECK_MODULES(GLIB_ONLY, glib-2.0 >= $GLIB_REQ)
501 dnl libxml 2, which is/should be optional (FIXME)
502 if test "x$GST_DISABLE_LOADSAVE" = "xyes" && \
503 test "x$GST_DISABLE_REGISTRY" = "xyes"
505 AC_MSG_NOTICE([Registry and load/save are disabled, not checking for libxml2])
507 dnl check for libxml2 with minimum req version
508 GST_LIBXML2_CHECK(2.4.9)
511 dnl check for "check", unit testing library/header
515 AC_MSG_NOTICE(CHECK_CFLAGS: $CHECK_CFLAGS)
516 AC_MSG_NOTICE(CHECK_LIBS: $CHECK_LIBS)
519 AM_CONDITIONAL(HAVE_CHECK, test "x$HAVE_CHECK" = "xyes")
522 dnl Check for some compiler flags that optimize our code.
523 if test "x$GCC" = xyes; then
524 AS_COMPILER_FLAG(-fno-common, OPT_CFLAGS="$OPT_CFLAGS -fno-common")
527 dnl FIXME: decide what kind of flag this is, maybe it's not an optimization
529 dnl check if we should use -Wa,-mregnames on PowerPC, so we can use
530 dnl symbolic register names in inline asm
531 if test x$HAVE_CPU_PPC = xyes ; then
532 AS_COMPILER_FLAG(["-Wa,-mregnames"],
533 [OPT_CFLAGS="$OPT_CFLAGS -Wa,-mregnames"])
536 dnl *** FIXME: name this part
538 dnl set license and copyright notice
539 AC_DEFINE(GST_LICENSE, "LGPL", [GStreamer license])
541 dnl Set location of plugin directory
542 AS_AC_EXPAND(PLUGINS_DIR, ${libdir}/gstreamer-$GST_MAJORMINOR)
543 AC_DEFINE_UNQUOTED(PLUGINS_DIR, "$PLUGINS_DIR", [Define the plugin directory])
544 AC_SUBST(PLUGINS_DIR)
545 AC_MSG_NOTICE([Using $PLUGINS_DIR as the plugin install location])
547 dnl plugin directory configure-time variable for use in Makefile.am
548 plugindir="\$(libdir)/gstreamer-$GST_MAJORMINOR"
551 dnl FIXME: add LIBXML_PKG here
552 GST_PKG_DEPS="glib-2.0, gobject-2.0, gmodule-2.0, gthread-2.0"
553 AC_SUBST(GST_PKG_DEPS)
555 dnl *** finalize CFLAGS, LDFLAGS, LIBS
558 dnl GST_OPTION_CFLAGS: common flags for profiling, debugging, errors, ...
559 dnl GST_ALL_*: flags shared by all built objects
560 dnl GST_OBJ_*: additional flags to link to the core library
561 dnl include GST_ALL_*
562 dnl GST_LT_LDFLAGS: library versioning of our libraries
563 dnl GST_PLUGIN_LDFLAGS: flags to be used for all plugins
565 dnl GST_OPTION_CFLAGS
566 if test "x$USE_DEBUG" = xyes; then
569 AC_SUBST(PROFILE_CFLAGS)
571 DEPRECATED_CFLAGS="-DGST_DISABLE_DEPRECATED"
572 AC_SUBST(DEPRECATED_CFLAGS)
574 dnl every flag in GST_OPTION_CFLAGS can be overridden at make time
575 GST_OPTION_CFLAGS="\$(ERROR_CFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
576 AC_SUBST(GST_OPTION_CFLAGS)
579 dnl vars common to for all internal objects (core libs, elements, applications)
580 dnl CFLAGS: XML needs to be added because xmlPtr is used in core
581 dnl LIBS: XML doesn't need to be added because we don't explicitly use symbols
583 GST_ALL_CFLAGS="$GLIB_CFLAGS $XML_CFLAGS \$(GST_OPTION_CFLAGS)"
584 dnl FIXME: check if LTLIBINTL is needed everywhere
585 dnl I presume it is given that it contains the symbols that _() stuff maps to
586 GST_ALL_LIBS="$GLIB_LIBS $LTLIBINTL"
587 dnl LDFLAGS modifier defining exported symbols from built shared objects
588 EXPORT_LDFLAGS="-export-symbols-regex [_]*\(gst_\|Gst\|GST_\).*"
589 GST_ALL_LDFLAGS="$EXPORT_LDFLAGS -no-undefined"
590 AC_SUBST(GST_ALL_CFLAGS)
591 AC_SUBST(GST_ALL_LIBS)
592 AC_SUBST(GST_ALL_LDFLAGS)
595 dnl default vars for all internal objects built on libgstreamer
596 GST_OBJ_CFLAGS="-I\$(top_srcdir)/libs -I\$(top_srcdir) \$(GST_ALL_CFLAGS)"
597 GST_OBJ_LIBS="\$(top_builddir)/gst/libgstreamer-$GST_MAJORMINOR.la \$(GST_ALL_LIBS)"
598 GST_OBJ_LDFLAGS="$GST_LT_LDFLAGS $GST_ALL_LDFLAGS"
599 AC_SUBST(GST_OBJ_CFLAGS)
600 AC_SUBST(GST_OBJ_LIBS)
601 AC_SUBST(GST_OBJ_LDFLAGS)
603 dnl GST_PLUGIN_LDFLAGS
604 dnl LDFLAGS for plugins; include GST_ALL_LDFLAGS
605 GST_PLUGIN_LDFLAGS="-module -avoid-version $GST_ALL_LDFLAGS"
606 AC_SUBST(GST_PLUGIN_LDFLAGS, "$GST_PLUGIN_LDFLAGS")
608 dnl ##################################################
609 dnl # deps for examples from manual #
610 dnl ##################################################
612 PKG_CHECK_MODULES(LIBGNOMEUI, libgnomeui-2.0,
613 HAVE_LIBGNOMEUI="yes", HAVE_LIBGNOMEUI="no")
614 AM_CONDITIONAL(HAVE_LIBGNOMEUI, test "x$HAVE_LIBGNOMEUI" = "xyes")
616 dnl ##################################################
617 dnl # Prepare informative messages to display at end #
618 dnl ##################################################
622 dnl *** output files ***
624 dnl libs/ext/Makefile
625 dnl nothing there yet !
633 gst/indexers/Makefile
634 gst/elements/Makefile
638 libs/gst/controller/Makefile
639 libs/gst/dataprotocol/Makefile
643 tests/instantiate/Makefile
644 tests/muxing/Makefile
645 tests/seeking/Makefile
647 tests/threadstate/Makefile
649 testsuite/bytestream/Makefile
650 testsuite/caps/Makefile
651 testsuite/cleanup/Makefile
652 testsuite/controller/Makefile
653 testsuite/debug/Makefile
654 testsuite/dlopen/Makefile
655 testsuite/elements/Makefile
656 testsuite/indexers/Makefile
657 testsuite/negotiation/Makefile
658 testsuite/pad/Makefile
659 testsuite/parse/Makefile
660 testsuite/plugin/Makefile
661 testsuite/refcounting/Makefile
662 testsuite/schedulers/Makefile
663 testsuite/states/Makefile
664 testsuite/threads/Makefile
665 testsuite/trigger/Makefile
667 examples/controller/Makefile
668 examples/cutter/Makefile
669 examples/helloworld/Makefile
670 examples/launch/Makefile
671 examples/manual/Makefile
672 examples/mixer/Makefile
673 examples/metadata/Makefile
674 examples/pingpong/Makefile
675 examples/plugins/Makefile
676 examples/pwg/Makefile
677 examples/queue/Makefile
678 examples/retag/Makefile
679 examples/thread/Makefile
680 examples/typefind/Makefile
681 examples/xml/Makefile
692 docs/version.entities
695 pkgconfig/gstreamer.pc
696 pkgconfig/gstreamer-uninstalled.pc
697 pkgconfig/gstreamer-base.pc
698 pkgconfig/gstreamer-base-uninstalled.pc
699 pkgconfig/gstreamer-check.pc
700 pkgconfig/gstreamer-check-uninstalled.pc
701 pkgconfig/gstreamer-controller.pc
702 pkgconfig/gstreamer-controller-uninstalled.pc
703 pkgconfig/gstreamer-dataprotocol.pc
704 pkgconfig/gstreamer-dataprotocol-uninstalled.pc
707 AC_CONFIG_COMMANDS(echo "$infomessages", infomessages="$infomessages")