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(gst-plugins-base, GST_PLUGINS_BASE_VERSION, 0, 9, 3, 1,
10 GST_CVS="no", GST_CVS="yes")
12 dnl can autoconf find the source ?
13 AC_CONFIG_SRCDIR([gst/sine/gstsinesrc.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 sets host_* variables
24 dnl initialize automake
25 dnl FIXME: this is deprecated use, we should move PACKAGE and VERSION to
26 dnl AC_INIT, but then we need to parse the version to pass to AS_VERSION
27 AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
29 dnl our libraries and install dirs use major.minor as a version
30 GST_MAJORMINOR=$GST_PLUGINS_BASE_VERSION_MAJOR.$GST_PLUGINS_BASE_VERSION_MINOR
31 dnl we override it here if we need to for the release candidate of new series
33 AC_SUBST(GST_MAJORMINOR)
35 dnl CURRENT, REVISION, AGE
36 dnl - library source changed -> increment REVISION
37 dnl - interfaces added/removed/changed -> increment CURRENT, REVISION = 0
38 dnl - interfaces added -> increment AGE
39 dnl - interfaces removed -> AGE = 0
40 dnl sets GST_LT_LDFLAGS
41 AS_LIBTOOL(GST, 2, 0, 0)
45 dnl *** autotools stuff ****
47 dnl allow for different autotools
48 AS_AUTOTOOLS_ALTERNATE
50 dnl Add parameters for aclocal
51 AC_SUBST(ACLOCAL_AMFLAGS, "-I m4 -I common/m4")
54 dnl the version check needs to stay here because autopoint greps for it
55 AM_GNU_GETTEXT_VERSION([0.11.5])
56 AM_GNU_GETTEXT([external])
57 GST_GETTEXT([gst-plugins-base-$GST_MAJORMINOR])
59 dnl *** check for arguments to configure ***
68 GST_ARG_WITH_PKG_CONFIG_PATH
69 GST_ARG_WITH_PACKAGE_NAME([GStreamer Base Plug-ins])
70 GST_ARG_WITH_PACKAGE_ORIGIN
72 dnl *** checks for platform ***
74 dnl * hardware/architecture *
76 dnl common/m4/gst-arch.m4
80 dnl *** checks for programs ***
85 dnl determine c++ compiler
87 dnl determine if c++ is available on this system
88 AC_CHECK_PROG(HAVE_CXX, $CXX, yes, no)
90 dnl determine c++ preprocessor
91 dnl FIXME: do we need this ?
94 AC_PATH_PROG(VALGRIND_PATH, valgrind, no)
95 AM_CONDITIONAL(HAVE_VALGRIND, test ! "x$VALGRIND_PATH" = "xno")
97 dnl check for documentation tools
101 dnl *** checks for libraries ***
103 dnl For interactive UNIX (a Sun thing)
104 dnl FIXME: this adds -lcposix to LIBS, but I doubt we use LIBS
107 dnl *** checks for header files ***
109 dnl check if we have ANSI C header files
112 dnl used in gst/ffmpegcolorspace/mem.c
113 dnl FIXME: could be fixed by redefining av_malloc and av_free to GLib's
114 AC_CHECK_HEADER([malloc.h])
116 dnl *** checks for types/defines ***
118 dnl Check for FIONREAD ioctl declaration
122 dnl *** checks for structures ***
124 dnl *** checks for compiler characteristics ***
126 dnl make sure we can use "inline" from C code
129 dnl *** checks for library functions ***
131 dnl Check for fast float to int casting as defined in C99
132 dnl used in gst-libs/gst/floatcast/floatcast.h
136 dnl Check for a way to display the function name in debug output
139 dnl *** checks for dependancy libraries ***
143 GST_GLIB_CHECK([2.6])
146 PKG_CHECK_MODULES(LIBOIL, liboil-0.3 >= 0.3.2, HAVE_LIBOIL=yes, HAVE_LIBOIL=no)
147 if test "x${HAVE_LIBOIL}" != xyes ; then
148 AC_ERROR([liboil-0.3 is required])
151 dnl *** set variables based on configure arguments ***
153 dnl set license and copyright notice
155 AC_DEFINE_UNQUOTED(GST_LICENSE, "$GST_LICENSE", [GStreamer license])
156 AC_SUBST(GST_LICENSE)
158 dnl set location of plugin directory
161 dnl define an ERROR_CFLAGS Makefile variable
162 GST_SET_ERROR_CFLAGS($GST_CVS)
164 dnl define correct level for debugging messages
165 GST_SET_LEVEL_DEFAULT($GST_CVS)
167 dnl decide on default elements
168 dnl FIXME: provide configure-time options for this
169 dnl FIXME: describe where exactly this gets used
170 dnl FIXME: decide if it's a problem that this could point to sinks from
171 dnl depending plugin modules
172 DEFAULT_AUDIOSINK="alsasink"
173 DEFAULT_VIDEOSINK="xvimagesink"
174 DEFAULT_AUDIOSRC="alsasrc"
175 DEFAULT_VIDEOSRC="v4lsrc"
176 DEFAULT_VISUALIZER="goom"
178 *-sun-* | *pc-solaris* )
179 DEFAULT_AUDIOSINK="sunaudiosink"
180 DEFAULT_VIDEOSINK="ximagesink"
181 DEFAULT_AUDIOSRC="sunaudiosrc"
184 DEFAULT_AUDIOSINK="osxaudiosink"
185 DEFAULT_AUDIOSRC="osxaudiosrc"
186 DEFAULT_VIDEOSINK="osxvideosink"
190 AC_SUBST(DEFAULT_AUDIOSINK)
191 AC_DEFINE_UNQUOTED(DEFAULT_AUDIOSINK, "$DEFAULT_AUDIOSINK",
192 [Default audio sink])
193 AC_SUBST(DEFAULT_AUDIOSRC)
194 AC_DEFINE_UNQUOTED(DEFAULT_AUDIOSRC, "$DEFAULT_AUDIOSRC",
195 [Default audio source])
196 AC_SUBST(DEFAULT_VIDEOSINK)
197 AC_DEFINE_UNQUOTED(DEFAULT_VIDEOSINK, "$DEFAULT_VIDEOSINK",
198 [Default video sink])
199 AC_SUBST(DEFAULT_VIDEOSRC)
200 AC_DEFINE_UNQUOTED(DEFAULT_VIDEOSRC, "$DEFAULT_VIDEOSRC",
201 [Default video source])
202 AC_SUBST(DEFAULT_VISUALIZER)
203 AC_DEFINE_UNQUOTED(DEFAULT_VISUALIZER, "$DEFAULT_VISUALIZER",
204 [Default visualizer])
206 dnl ############################################
207 dnl # Super Duper options for plug-in building #
208 dnl ############################################
210 dnl ext plug-ins; plug-ins that have external dependencies
211 GST_CHECK_FEATURE(EXTERNAL, [enable building of plug-ins with external deps],,
212 [HAVE_EXTERNAL=yes],enabled,
214 AC_MSG_WARN(building external plug-ins)
217 AC_MSG_WARN(all plug-ins with external dependencies will not be built)
220 # make BUILD_EXTERNAL available to Makefile.am
221 AM_CONDITIONAL(BUILD_EXTERNAL, test "x$BUILD_EXTERNAL" = "xyes")
223 dnl ##############################
224 dnl # Do automated configuration #
225 dnl ##############################
227 dnl check for gstreamer
228 dnl uninstalled is selected preferentially -- see pkg-config(1)
230 PKG_CHECK_MODULES(GST, gstreamer-$GST_MAJORMINOR >= $GST_REQ,
231 HAVE_GST="yes", HAVE_GST="no")
233 if test "x$HAVE_GST" = "xno"; then
234 AC_MSG_ERROR(no GStreamer found)
237 GST_TOOLS_DIR=`pkg-config --variable=toolsdir gstreamer-$GST_MAJORMINOR`
238 if test -z $GST_TOOLS_DIR; then
239 AC_MSG_ERROR([no tools dir defined in GStreamer pkg-config file; core upgrade needed.])
241 AC_SUBST(GST_TOOLS_DIR)
243 dnl check for where core plug-ins got installed
244 dnl this is used for unit tests
245 GST_PLUGINS_DIR=`pkg-config --variable=pluginsdir gstreamer-$GST_MAJORMINOR`
246 if test -z $GST_PLUGINS_DIR; then
247 AC_MSG_ERROR([no plugins dir defined in GStreamer pkg-config file; core upgrade needed.])
249 AC_SUBST(GST_PLUGINS_DIR)
251 dnl check for gstreamer-dataprotocol; uninstalled is selected preferentially
252 PKG_CHECK_MODULES(GST_GDP, gstreamer-dataprotocol-$GST_MAJORMINOR >= $GST_REQ,
253 HAVE_GST_GDP="yes", HAVE_GST_GDP="no")
255 if test "x$HAVE_GST_GDP" = "xno"; then
256 AC_MSG_ERROR(no GStreamer Dataprotocol Libs found)
259 AC_SUBST(GST_GDP_LIBS)
261 dnl check for gstreamer-controller; uninstalled is selected preferentially
262 PKG_CHECK_MODULES(GST_CTRL, gstreamer-controller-$GST_MAJORMINOR >= $GST_REQ,
263 HAVE_GST_CTRL="yes", HAVE_GST_CTRL="no")
265 if test "x$HAVE_GST_CTRL" = "xno"; then
266 AC_MSG_ERROR(no GStreamer Controller Libs found)
269 AC_SUBST(GST_CTRL_LIBS)
271 PKG_CHECK_MODULES(GST_BASE, gstreamer-base-$GST_MAJORMINOR >= $GST_REQ,
272 HAVE_GST_BASE="yes", HAVE_GST_BASE="no")
274 if test "x$HAVE_GST_BASE" = "xno"; then
275 AC_MSG_ERROR(no libgstbase found)
278 AC_SUBST(GST_BASE_LIBS)
280 PKG_CHECK_MODULES(GST_CHECK, gstreamer-check-$GST_MAJORMINOR >= $GST_REQ,
281 HAVE_GST_CHECK="yes", HAVE_GST_CHECK="no")
284 dnl Check for additional libraries that we might use:
285 dnl =================================================
288 PKG_CHECK_MODULES(GTK2, gtk+-2.0 >= 2.2.0, HAVE_GTK_22=yes, HAVE_GTK_22=no)
289 if test "x$HAVE_GTK_22" = "xyes"; then
291 GTK_VERSION=`$PKG_CONFIG --variable=gtk_binary_version gtk+-2.0`
292 AC_SUBST(GTK_VERSION)
293 GTK_PREFIX=`$PKG_CONFIG --variable=prefix gdk-pixbuf-2.0`
294 AC_SUBST(GTK_BASE_DIR)
296 PKG_CHECK_MODULES(GTK2, gtk+-2.0, HAVE_GTK_20=yes, HAVE_GTK_20=no)
298 if test "x$HAVE_GTK_20" = "xyes"; then
301 GTK_CFLAGS=$GTK2_CFLAGS
307 dnl ===========================================================================
308 dnl ============================= gst plug-ins ================================
309 dnl ===========================================================================
311 dnl these are all the gst plug-ins, compilable without additional libs
329 AC_SUBST(GST_PLUGINS_ALL)
331 GST_PLUGINS_SELECTED=""
334 AC_HELP_STRING([--with-plugins],[comma-separated list of plug-ins to compile]),
335 [for i in `echo $withval | tr , ' '`; do
336 if echo $GST_PLUGINS_ALL | grep $i > /dev/null
338 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED $i"
340 echo "plug-in $i not recognized, ignoring..."
343 [GST_PLUGINS_SELECTED=$GST_PLUGINS_ALL])
345 AC_SUBST(GST_PLUGINS_SELECTED)
347 dnl ==========================================================================
348 dnl ============================= sys plug-ins ================================
349 dnl ==========================================================================
352 AC_MSG_NOTICE([Checking libraries for plugins in sys/])
356 translit(dnm, m, l) AM_CONDITIONAL(USE_X, true)
357 GST_CHECK_FEATURE(X, [X libraries and plugins],
360 ac_cflags_save="$CFLAGS"
361 ac_cppflags_save="$CPPFLAGS"
362 CFLAGS="$CFLAGS $X_CFLAGS"
363 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
365 dnl now try to find the HEADER
366 AC_CHECK_HEADER(X11/Xlib.h, HAVE_X="yes", HAVE_X="no")
368 if test "x$HAVE_X" = "xno"
370 AC_MSG_NOTICE([cannot find X11 development files])
372 dnl this is much more than we want
373 X_LIBS="$X_LIBS $X_PRE_LIBS $X_EXTRA_LIBS"
374 dnl AC_PATH_XTRA only defines the path needed to find the X libs,
375 dnl it does not add the libs; therefore we add them here
376 X_LIBS="$X_LIBS -lX11"
381 CFLAGS="$ac_cflags_save"
382 CPPFLAGS="$ac_cppflags_save"
386 dnl Look for the PIC library first, Debian requires it.
387 dnl Check debian-devel archives for gory details.
389 dnl At the moment XFree86 doesn't distribute shared libXv due
390 dnl to unstable API. On many platforms you CAN NOT link a shared
391 dnl lib to a static non-PIC lib. This is what the xvideo GStreamer
392 dnl plug-in wants to do. So Debian distributes a PIC compiled
393 dnl version of the static lib for plug-ins to link to when it is
394 dnl inappropriate to link the main application to libXv directly.
395 dnl FIXME: add check if this platform can support linking to a
396 dnl non-PIC libXv, if not then don not use Xv.
397 dnl FIXME: perhaps warn user if they have a shared libXv since
398 dnl this is an error until XFree86 starts shipping one
400 dnl Check for Xv extension
401 translit(dnm, m, l) AM_CONDITIONAL(USE_XVIDEO, true)
402 GST_CHECK_FEATURE(XVIDEO, [X11 XVideo extensions],
404 if test x$HAVE_X = xyes; then
405 AC_CHECK_LIB(Xv_pic, XvQueryExtension,
406 HAVE_XVIDEO="yes", HAVE_XVIDEO="no",
409 if test x$HAVE_XVIDEO = xyes; then
410 XVIDEO_LIBS="-lXv_pic -lXext"
411 AC_SUBST(XVIDEO_LIBS)
413 dnl try again using something else if we didn't find it first
414 if test x$HAVE_XVIDEO = xno; then
415 AC_CHECK_LIB(Xv, XvQueryExtension,
416 HAVE_XVIDEO="yes", HAVE_XVIDEO="no",
419 if test x$HAVE_XVIDEO = xyes; then
420 XVIDEO_LIBS="-lXv -lXext"
421 AC_SUBST(XVIDEO_LIBS)
429 translit(dnm, m, l) AM_CONDITIONAL(USE_XSHM, true)
430 GST_CHECK_FEATURE(XSHM, [X Shared Memory extension], xshm, [
431 if test x$HAVE_X = xyes; then
432 AC_CHECK_LIB(Xext, XShmAttach,
433 HAVE_XSHM="yes", HAVE_XSHM="no",
435 if test "x$HAVE_XSHM" = "xyes"; then
438 dnl On AIX, it is in XextSam instead, but we still need -lXext
439 AC_CHECK_LIB(XextSam, XShmAttach,
440 HAVE_XSHM="yes", HAVE_XSHM="no",
442 if test "x$HAVE_XSHM" = "xyes"; then
443 XSHM_LIBS="-lXext -lXextSam"
452 dnl v4l/v4l2 checks have been moved down because they require X
454 dnl *** Video 4 Linux ***
455 dnl for information about the header/define, see sys/v4l/gstv4lelement.h
456 dnl renamed to GST_V4L in accordance with V4L2 below
457 translit(dnm, m, l) AM_CONDITIONAL(USE_GST_V4L, true)
458 GST_CHECK_FEATURE(GST_V4L, [Video 4 Linux], v4lsrc v4lmjpegsrc v4lmjpegsink, [
461 if test "$HAVE_X" = "yes"
463 AC_CHECK_DECL(VID_TYPE_MPEG_ENCODER, HAVE_GST_V4L="yes", HAVE_GST_V4L="no", [
464 #include <sys/types.h>
465 #define _LINUX_TIME_H
467 #include <linux/videodev.h>
472 dnl Next, check for the optional libraries:
473 dnl These are all libraries used in building plug-ins
474 dnl ================================================
475 dnl let's try and sort them alphabetically, shall we ?
477 if test "x$BUILD_EXTERNAL" = "xyes"; then
480 AC_MSG_NOTICE([Checking libraries for plugins in ext/])
484 translit(dnm, m, l) AM_CONDITIONAL(USE_ALSA, true)
485 GST_CHECK_FEATURE(ALSA, [alsa plug-ins], gstalsa, [
486 PKG_CHECK_MODULES(ALSA, alsa >= 0.9.1, [
488 AC_SUBST(ALSA_CFLAGS)
491 AM_PATH_ALSA(0.9.1, HAVE_ALSA="yes", HAVE_ALSA="no")
495 dnl *** CDParanoia ***
496 translit(dnm, m, l) AM_CONDITIONAL(USE_CDPARANOIA, true)
497 GST_CHECK_FEATURE(CDPARANOIA, [CDParanoia], cdparanoia, [
498 GST_CHECK_LIBHEADER(CDPARANOIA, cdda_interface,
501 CDPARANOIA_LIBS="-lcdda_interface -lcdda_paranoia"
503 FOUND_CDPARANOIA="yes")
504 if test "x$FOUND_CDPARANOIA" != "xyes";
506 GST_CHECK_LIBHEADER(CDPARANOIA, cdda_interface,
508 cdda/cdda_interface.h,
509 CDPARANOIA_LIBS="-lcdda_interface -lcdda_paranoia"
511 FOUND_CDPARANOIA="yes")
513 if test "x$HEADER_DIR" = "xyes";
515 AC_DEFINE_UNQUOTED(CDPARANOIA_HEADERS_IN_DIR, ,
516 defined if cdda headers are in a cdda/ directory)
518 AC_SUBST(CDPARANOIA_LIBS)
520 dnl FIXME : add second check somehow if that is necessary
521 dnl AC_CHECK_LIB(cdda_paranoia, paranoia_init, : , HAVE_CDPARANOIA=no, -lcdda_interface )
522 dnl AC_CHECK_HEADER(cdda_paranoia.h, :, HAVE_CDPARANOIA=no)
524 dnl *** Gnome VFS ***
525 translit(dnm, m, l) AM_CONDITIONAL(USE_GNOME_VFS, true)
526 GST_CHECK_FEATURE(GNOME_VFS, [Gnome VFS], gnomevfssrc, [
527 PKG_CHECK_MODULES(GNOME_VFS, gnome-vfs-2.0, HAVE_GNOME_VFS="yes", HAVE_GNOME_VFS="no")
528 AC_SUBST(GNOME_VFS_CFLAGS)
529 AC_SUBST(GNOME_VFS_LIBS)
532 dnl *** libvisual ***
533 translit(dnm, m, l) AM_CONDITIONAL(USE_LIBVISUAL, true)
534 GST_CHECK_FEATURE(LIBVISUAL, [libvisual visualization plugins], libvisual, [
535 PKG_CHECK_MODULES(LIBVISUAL, libvisual = 0.2.0, HAVE_LIBVISUAL="yes", HAVE_LIBVISUAL="no")
536 AC_SUBST(LIBVISUAL_CFLAGS)
537 AC_SUBST(LIBVISUAL_LIBS)
541 translit(dnm, m, l) AM_CONDITIONAL(USE_OGG, true)
542 GST_CHECK_FEATURE(OGG, [ogg de/encoder], oggdemux oggmux, [
543 PKG_CHECK_MODULES(OGG, ogg >= 1.0, [
548 XIPH_PATH_OGG(HAVE_OGG="yes", HAVE_OGG="no")
549 AS_SCRUB_INCLUDE(OGG_CFLAGS)
554 translit(dnm, m, l) AM_CONDITIONAL(USE_THEORA, true)
555 GST_CHECK_FEATURE(THEORA, [ogg theora codec], theoradec theoraenc, [
556 PKG_CHECK_MODULES(THEORA, theora, [
558 AC_SUBST(THEORA_LIBS)
559 AC_SUBST(THEORA_CFLAGS)
561 GST_CHECK_LIBHEADER(THEORA, theora, theora_version_string, "-logg", theora/theora.h, THEORA_LIBS="-ltheora -logg")
562 AC_SUBST(THEORA_LIBS)
567 dnl AM_PATH_VORBIS only takes two options
568 translit(dnm, m, l) AM_CONDITIONAL(USE_VORBIS, true)
569 GST_CHECK_FEATURE(VORBIS, [vorbis plug-in], vorbisenc vorbisdec, [
570 PKG_CHECK_MODULES(VORBIS, vorbis >= 1.0 vorbisenc >= 1.0, [
573 XIPH_PATH_VORBIS(HAVE_VORBIS="yes", HAVE_VORBIS="no")
574 AS_SCRUB_INCLUDE(VORBIS_CFLAGS)
577 if test "x$HAVE_VORBIS" = "xyes"; then
578 ac_cflags_save="$CFLAGS"
579 dnl FIXME: does this work on non-gcc? -- Company
580 dnl FIXME: no, it doesn't. Why is this here in the first place ? -- thomasvs
581 CFLAGS="-Wall -Werror"
584 #include <vorbis/codec.h>
588 vorbis_synthesis_restart (v);
589 ]), HAVE_VSR=yes, HAVE_VSR=no)
590 if test "x$HAVE_VSR" = "xyes"; then
591 AC_DEFINE_UNQUOTED(HAVE_VORBIS_SYNTHESIS_RESTART, 1,
592 [defined if vorbis_synthesis_restart is present])
594 CFLAGS="$ac_cflags_save"
597 fi dnl of EXT plugins
599 dnl check for "check", unit testing library/header
600 AM_PATH_CHECK(0.9.2, HAVE_CHECK=yes, HAVE_CHECK=no)
601 AM_CONDITIONAL(HAVE_CHECK, test "x$HAVE_CHECK" = "xyes")
603 dnl ######################################################################
604 dnl # Check command line parameters, and set shell variables accordingly #
605 dnl ######################################################################
607 dnl seeking needs freetype, so check for it here
608 PKG_CHECK_MODULES(FT2, freetype2 >= 2.0.9, HAVE_FT2="yes", [
609 AC_CHECK_FT2(2.0.9, HAVE_FT2="yes", HAVE_FT2="no")
611 dnl make the HAVE_FT2 variable available to automake and Makefile.am
612 AM_CONDITIONAL(HAVE_FT2, test "x$HAVE_FT2" = "xyes")
616 dnl #############################
617 dnl # Set automake conditionals #
618 dnl #############################
620 dnl These should be "USE_*" instead of "HAVE_*", but some packages expect
621 dnl HAVE_ and it is likely to be easier to stick with the old name
622 AM_CONDITIONAL(HAVE_GTK, test "x$HAVE_GTK" = "xyes")
623 AM_CONDITIONAL(BUILD_TESTS, test "x$BUILD_TESTS" = "xyes")
624 AM_CONDITIONAL(BUILD_EXAMPLES, test "x$BUILD_EXAMPLES" = "xyes")
626 dnl *** finalize CFLAGS, LDFLAGS, LIBS
629 dnl GST_OPTION_CFLAGS: common flags for profiling, debugging, errors, ...
630 dnl GST_*: flags shared by all built objects
631 dnl GST_LT_LDFLAGS: library versioning of our libraries
632 dnl GST_PLUGIN_LDFLAGS: flags to be used for all plugins
634 dnl GST_OPTION_CFLAGS
635 if test "x$USE_DEBUG" = xyes; then
638 AC_SUBST(PROFILE_CFLAGS)
640 DEPRECATED_CFLAGS="-DGST_DISABLE_DEPRECATED"
641 AC_SUBST(DEPRECATED_CFLAGS)
643 dnl every flag in GST_OPTION_CFLAGS can be overridden at make time
644 GST_OPTION_CFLAGS="\$(ERROR_CFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
645 AC_SUBST(GST_OPTION_CFLAGS)
647 dnl our libraries need to be versioned correctly
648 AC_SUBST(GST_LT_LDFLAGS)
650 dnl FIXME: do we want to rename to GST_ALL_* ?
651 dnl prefer internal headers to already installed ones
652 dnl also add builddir include for enumtypes and marshal
653 dnl add ERROR_CFLAGS, but overridable
654 GST_CFLAGS="-I\$(top_srcdir)/gst-libs -I\$(top_builddir)/gst-libs $GST_CFLAGS \$(GST_OPTION_CFLAGS)"
658 dnl this really should only contain flags, not libs - they get added before
659 dnl whatevertarget_LIBS and -L flags here affect the rest of the linking
660 GST_PLUGIN_LDFLAGS="-module -avoid-version -export-symbols-regex '^[_]*gst_plugin_desc\$\$' -no-undefined"
661 AC_SUBST(GST_PLUGIN_LDFLAGS)
663 dnl *** output files ***
667 gst-plugins-base.spec
670 gst/audioconvert/Makefile
671 gst/audiorate/Makefile
672 gst/audioresample/Makefile
673 gst/audiotestsrc/Makefile
674 gst/ffmpegcolorspace/Makefile
675 gst/playback/Makefile
677 gst/subparse/Makefile
679 gst/typefind/Makefile
680 gst/videotestsrc/Makefile
681 gst/videorate/Makefile
682 gst/videoscale/Makefile
690 ext/cdparanoia/Makefile
691 ext/gnomevfs/Makefile
692 ext/libvisual/Makefile
697 gst-libs/gst/Makefile
698 gst-libs/gst/audio/Makefile
699 gst-libs/gst/floatcast/Makefile
700 gst-libs/gst/interfaces/Makefile
701 gst-libs/gst/net/Makefile
702 gst-libs/gst/riff/Makefile
703 gst-libs/gst/rtp/Makefile
704 gst-libs/gst/tag/Makefile
705 gst-libs/gst/video/Makefile
706 gst-libs/ext/Makefile
707 examples/seeking/Makefile
711 pkgconfig/gstreamer-plugins-base.pc
712 pkgconfig/gstreamer-plugins-base-uninstalled.pc
716 docs/plugins/Makefile
717 docs/version.entities
725 echo "configure: *** Core plug-ins, always built:"
726 ( for i in $GST_PLUGINS_ALL; do echo -e '\t'$i; done ) | sort
728 echo -n "configure: *** Plug-ins relying on libraries that will be built:"
729 echo -e "$GST_PLUGINS_YES" | sort
731 echo -n "configure: *** Plug-ins relying on libraries that will NOT be built:"
732 echo -e "$GST_PLUGINS_NO" | sort
734 if test "x$BUILD_EXTERNAL" = "xno"; then
735 echo "configure: *** No external plug-ins will be built"