1 dnl autoconf configuration file for gst-plugins
5 dnl We disable static building for development, for time savings
6 dnl this goes before AS_LIBTOOL to appease autoconf
7 dnl *NOTE*: dnl this line before release, so release does static too
10 dnl AM_MAINTAINER_MODE only provides the option to configure to enable it
13 dnl when going to/from release please set the nano (fourth number) right !
14 dnl releases only do Wall, cvs and prerelease does Werror too
15 AS_VERSION(gst-plugins, GST_PLUGINS_VERSION, 0, 9, 0, 1, GST_CVS="no", GST_CVS="yes")
17 AM_INIT_AUTOMAKE($PACKAGE,$VERSION)
19 dnl our libraries and install dirs use major.minor as a version
20 GST_MAJORMINOR=$GST_PLUGINS_VERSION_MAJOR.$GST_PLUGINS_VERSION_MINOR
21 dnl we override it here if we need to for the release candidate of new series
23 AC_SUBST(GST_MAJORMINOR)
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 dnl for 0.8.3 release, gst_play_get_all_by_interface was added, so update
31 AS_LIBTOOL(GST_PLUGINS, 1, 0, 1)
32 AS_LIBTOOL_TAGS([CXX])
35 dnl FIXME take something else ?
36 AC_CONFIG_SRCDIR([gst/law/alaw.c])
37 AM_CONFIG_HEADER(config.h)
39 dnl Add parameters for aclocal
40 dnl (This must come after AM_INIT_AUTOMAKE, since it modifies ACLOCAL)
41 ACLOCAL_FLAGS="-I m4 -I common/m4"
42 AC_SUBST(ACLOCAL_AMFLAGS, $ACLOCAL_FLAGS)
50 dnl the gettext stuff needed
51 AM_GNU_GETTEXT_VERSION(0.11.5)
52 AM_GNU_GETTEXT([external])
54 GETTEXT_PACKAGE=gst-plugins-$GST_MAJORMINOR
55 AC_SUBST(GETTEXT_PACKAGE)
56 AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], "$GETTEXT_PACKAGE",
57 [gettext package name])
59 dnl define LOCALEDIR in config.h
60 AS_AC_EXPAND(LOCALEDIR, $datadir/locale)
61 AC_DEFINE_UNQUOTED([LOCALEDIR], "$LOCALEDIR",
64 dnl decide on error flags
65 AS_COMPILER_FLAG(-Wall, GST_WALL="yes", GST_WALL="no")
67 if test "x$GST_WALL" = "xyes"; then
68 GST_ERROR="$GST_ERROR -Wall"
70 if test "x$GST_CVS" = "xyes"; then
71 AS_COMPILER_FLAG(-Werror,GST_ERROR="$GST_ERROR -Werror",GST_ERROR="$GST_ERROR")
75 dnl determine c++ compiler
77 dnl determine if c++ is available on this system
78 AC_CHECK_PROG(HAVE_CXX, $CXX, yes, no)
79 dnl determine c++ preprocessor
87 dnl Check for malloc.h
88 AC_CHECK_HEADER(malloc.h,[
89 AC_DEFINE(HAVE_MALLOC_H, 1, [whether malloc.h available])
92 dnl Check for a way to display the function name in debug output
95 dnl define correct errorlevel for debugging messages. We want to have GST_ERROR
96 dnl messages printed when running cvs builds
97 if test "x$GST_CVS" = "xyes"; then
98 AC_DEFINE(GST_LEVEL_DEFAULT, GST_LEVEL_ERROR, [Default errorlevel to use])
101 dnl Check for FIONREAD ioctl declaration :
104 DEFAULT_AUDIOSINK="autoaudiosink"
105 DEFAULT_VIDEOSINK="autovideosink"
106 DEFAULT_AUDIOSRC="alsasrc"
107 DEFAULT_VIDEOSRC="v4lsrc"
108 DEFAULT_VISUALIZER="goom"
110 *-sun-* | *pc-solaris* )
111 DEFAULT_AUDIOSRC="sunaudiosrc"
114 DEFAULT_AUDIOSRC="osxaudiosrc"
118 AC_SUBST(DEFAULT_AUDIOSINK)
119 AC_DEFINE_UNQUOTED(DEFAULT_AUDIOSINK,"$DEFAULT_AUDIOSINK",[Default audio sink])
120 AC_SUBST(DEFAULT_AUDIOSRC)
121 AC_DEFINE_UNQUOTED(DEFAULT_AUDIOSRC,"$DEFAULT_AUDIOSRC",[Default audio source])
122 AC_SUBST(DEFAULT_VIDEOSINK)
123 AC_DEFINE_UNQUOTED(DEFAULT_VIDEOSINK,"$DEFAULT_VIDEOSINK",[Default video sink])
124 AC_SUBST(DEFAULT_VIDEOSRC)
125 AC_DEFINE_UNQUOTED(DEFAULT_VIDEOSRC,"$DEFAULT_VIDEOSRC",[Default video source])
126 AC_SUBST(DEFAULT_VISUALIZER)
127 AC_DEFINE_UNQUOTED(DEFAULT_VISUALIZER,"$DEFAULT_VISUALIZER",[Default visualizer])
129 dnl ############################################
130 dnl # Super Duper options for plug-in building #
131 dnl ############################################
133 dnl ext plug-ins; plug-ins that have external dependencies
134 GST_CHECK_FEATURE(EXTERNAL, [enable building of plug-ins with external deps],,
135 [HAVE_EXTERNAL=yes],enabled,
137 AC_MSG_WARN(building external plug-ins)
140 AC_MSG_WARN(all plug-ins with external dependencies will not be built)
143 # make BUILD_EXTERNAL available to Makefile.am
144 AM_CONDITIONAL(BUILD_EXTERNAL, test "x$BUILD_EXTERNAL" = "xyes")
146 dnl experimental plug-ins; stuff that hasn't had the dust settle yet
147 dnl read 'builds, but might not work'UTO
148 GST_CHECK_FEATURE(EXPERIMENTAL, [enable building of experimental plug-ins],,
149 [HAVE_EXPERIMENTAL=yes],disabled,
151 AC_MSG_WARN(building experimental plug-ins)
154 AC_MSG_NOTICE(not building experimental plug-ins)
158 dnl broken plug-ins; stuff that doesn't seem to build at the moment
159 GST_CHECK_FEATURE(BROKEN, [enable building of broken plug-ins],,
160 HAVE_BROKEN=yes,disabled,
162 AC_MSG_WARN([building broken plug-ins -- no bug reports on these, only patches :)])
164 AC_MSG_NOTICE([not building broken plug-ins])
167 dnl ##############################
168 dnl # Do automated configuration #
169 dnl ##############################
174 dnl allow for different autotools
175 AS_AUTOTOOLS_ALTERNATE()
177 dnl modify pkg-config path
178 AC_ARG_WITH(pkg-config-path,
179 AC_HELP_STRING([--with-pkg-config-path],[colon-separated list of pkg-config(1) dirs]),
180 [export PKG_CONFIG_PATH=${withval}])
183 dnl check architecture
186 dnl check for gconftool-2
188 dnl this macro defines an am conditional, so it needs to be run always
191 translit(dnm, m, l) AM_CONDITIONAL(USE_GCONFTOOL, true)
192 GST_CHECK_FEATURE(GCONFTOOL, [GConf schemas], , [
193 AC_PATH_PROG(GCONFTOOL, gconftool-2, no)
194 if test x$GCONFTOOL = xno; then
195 AC_MSG_WARN(Not installing GConf schemas)
200 AC_SUBST(HAVE_GCONFTOOL)
203 dnl check for GConf libraries
204 translit(dnm, m, l) AM_CONDITIONAL(USE_GCONF, true)
205 GST_CHECK_FEATURE(GCONF, [GConf libraries], , [
206 PKG_CHECK_MODULES(GCONF, gconf-2.0, HAVE_GCONF="yes", HAVE_GCONF="no")
207 AC_SUBST(GCONF_CFLAGS)
211 dnl check for gstreamer
212 dnl uninstalled is selected preferentially -- see pkg-config(1)
214 PKG_CHECK_MODULES(GST, gstreamer-$GST_MAJORMINOR >= $GST_REQ,
215 HAVE_GST="yes", HAVE_GST="no")
217 if test "x$HAVE_GST" = "xno"; then
218 AC_MSG_ERROR(no GStreamer found)
221 GST_TOOLS_DIR=`pkg-config --variable=toolsdir gstreamer-$GST_MAJORMINOR`
222 if test -z $GST_TOOLS_DIR; then
223 AC_MSG_ERROR([no tools dir defined in GStreamer pkg-config file; core upgrade needed.])
225 AC_SUBST(GST_TOOLS_DIR)
227 dnl check for gstreamer-base; uninstalled is selected preferentially
228 PKG_CHECK_MODULES(GST_BASE, gstreamer-base-$GST_MAJORMINOR >= $GST_REQ,
229 HAVE_GST_BASE="yes", HAVE_GST_BASE="no")
231 if test "x$HAVE_GST_BASE" = "xno"; then
232 AC_MSG_ERROR(no GStreamer Base Libs found)
235 AC_SUBST(GST_BASE_LIBS)
236 AC_SUBST(GST_BASE_CFLAGS)
238 dnl check for gstreamer-plugins-base; uinstalled is selected preferentially
239 PKG_CHECK_MODULES(GST_PLUGINS_BASE,
240 gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQ,
241 HAVE_GST_PLUGINS_BASE="yes", HAVE_GST_PLUGINS_BASE="no")
243 if test "x$HAVE_GST_PLUGINS_BASE" = "xno"; then
244 AC_MSG_ERROR(no GStreamer Base Plugins development files found)
247 AC_SUBST(GST_PLUGINS_BASE_LIBS)
248 AC_SUBST(GST_PLUGINS_BASE_CFLAGS)
250 dnl Determine endianness
253 dnl Check for fast float to int casting as defined in C99
257 dnl Check for essential libraries first:
258 dnl ====================================
262 dnl Check for additional libraries that we might use:
263 dnl =================================================
265 # we set the defaults always to make sure we have non-empty variables
268 PKG_CHECK_MODULES(LIBOIL, liboil-0.3 >= 0.3.0, HAVE_LIBOIL=yes, HAVE_LIBOIL=no)
269 AC_SUBST(LIBOIL_CFLAGS)
270 AC_SUBST(LIBOIL_LIBS)
271 if test "x${HAVE_LIBOIL}" = xyes ; then
272 #AC_DEFINE_UNQUOTED(HAVE_LIBOIL, 1, [Define if liboil is being used])
276 dnl ===========================================================================
277 dnl ============================= gst plug-ins ================================
278 dnl ===========================================================================
280 plugindir="\$(libdir)/gstreamer-$GST_MAJORMINOR"
283 GST_PLUGIN_LDFLAGS="-module -avoid-version -export-symbols-regex '[_]*(gst_|Gst|GST_).*' $GST_LIBS"
284 AC_SUBST(GST_PLUGIN_LDFLAGS)
286 dnl these are all the gst plug-ins, compilable without additional libs
310 dnl see if we can build C++ plug-ins
311 if test "x$HAVE_CXX" = "xyes"; then
312 GST_PLUGINS_ALL="$GST_PLUGINS_ALL"
314 AC_MSG_WARN([Not compiling plug-ins requiring C++ compiler])
317 AC_SUBST(GST_PLUGINS_ALL)
319 GST_PLUGINS_SELECTED=""
322 AC_HELP_STRING([--with-plugins],[comma-separated list of plug-ins to compile]),
323 [for i in `echo $withval | tr , ' '`; do
324 if echo $GST_PLUGINS_ALL | grep $i > /dev/null
326 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED $i"
328 echo "plug-in $i not recognized, ignoring..."
331 [GST_PLUGINS_SELECTED=$GST_PLUGINS_ALL])
333 AC_SUBST(GST_PLUGINS_SELECTED)
335 dnl ==========================================================================
336 dnl ============================= sys plug-ins ================================
337 dnl ==========================================================================
339 dnl *** OSS audio *** (Linux, *BSD)
340 translit(dnm, m, l) AM_CONDITIONAL(USE_OSS, true)
341 GST_CHECK_FEATURE(OSS, [OSS audio], osssrc osssink, [
343 dnl Linux and newer BSD versions :
344 AC_CHECK_HEADER(sys/soundcard.h, [
345 AC_DEFINE(HAVE_OSS_INCLUDE_IN_SYS,, [Define if OSS includes are in /sys/])
347 dnl Some old BSD versions :
348 AC_CHECK_HEADER(soundcard.h, [
349 AC_DEFINE(HAVE_OSS_INCLUDE_IN_ROOT,, [Define if OSS includes are in /])
351 dnl Some old BSD versions :
352 AC_CHECK_HEADER(machine/soundcard.h, [
353 AC_DEFINE(HAVE_OSS_INCLUDE_IN_MACHINE,, [Define if OSS includes are in /machine/])
361 dnl ###########################
362 dnl # Configure external libs #
363 dnl ###########################
366 translit(dnm, m, l) AM_CONDITIONAL(USE_AALIB, true)
367 GST_CHECK_FEATURE(AALIB, [aasink plug-in], aasink, [
368 AM_PATH_AALIB(, HAVE_AALIB=yes, HAVE_AALIB=no)
369 AS_SCRUB_INCLUDE(AALIB_CFLAGS)
373 translit(dnm, m, l) AM_CONDITIONAL(USE_AMRNB, true)
374 GST_CHECK_FEATURE(AMRNB, [AMR-NB], amrnbdec amrnbenc, [
375 GST_CHECK_LIBHEADER(AMRNB, amrnb,
376 Decoder_Interface_init, -lm,
378 AMRNB_LIBS="-lamrnb -lm"
379 AC_SUBST(AMRNB_LIBS))
382 dnl **** Free AAC Decoder (FAAD) ****
383 translit(dnm, m, l) AM_CONDITIONAL(USE_FAAD, true)
384 GST_CHECK_FEATURE(FAAD, [AAC decoder plug-in], faad, [
386 GST_CHECK_LIBHEADER(FAAD, faad, faacDecOpen, -lm, faad.h, FAAD_LIBS="-lfaad -lm", HAVE_FAAD="no")
387 if test $HAVE_FAAD = "yes"; then
388 AC_MSG_CHECKING([Checking for FAAD >= 2])
392 #if !defined(FAAD2_VERSION) || !defined(FAAD_FMT_DOUBLE)
399 char version[9] = FAAD2_VERSION;
400 // a release candidate of 2.0 is not enought for us
401 if ( strstr( version, "2.0 RC" ) ) { return 1; }
408 [ HAVE_FAAD="yes" && AC_MSG_RESULT(yes)],
409 [ HAVE_FAAD="no" && AC_MSG_RESULT(no)])
411 AS_SCRUB_INCLUDE(FAAD_CFLAGS)
416 translit(dnm, m, l) AM_CONDITIONAL(USE_FLAC, true)
417 GST_CHECK_FEATURE(FLAC, [FLAC lossless audio], flacenc flacdec, [
418 GST_CHECK_LIBHEADER(FLAC, FLAC, FLAC__seekable_stream_encoder_new, -lm, FLAC/all.h, FLAC_LIBS="-lFLAC -lm")
419 dnl API change in FLAC 1.1.1, so require that...
420 if test x$HAVE_FLAC = xyes; then
421 AC_CHECK_DECL(FLAC__SEEKABLE_STREAM_ENCODER_TELL_ERROR,
422 HAVE_FLAC="yes", HAVE_FLAC="no", [
423 #include <FLAC/seekable_stream_encoder.h>
430 translit(dnm, m, l) AM_CONDITIONAL(USE_LAME, true)
431 GST_CHECK_FEATURE(LAME, [lame mp3 encoder library], lame, [
432 GST_CHECK_LIBHEADER(LAME, mp3lame, lame_init, -lm, lame/lame.h,
435 LAME_LIBS="-lmp3lame -lm"
436 dnl is lame presets available
439 #include <lame/lame.h>
440 int main (int argc, char *argv[])
442 printf("%d\n", MEDIUM);
446 [LAME_CFLAGS="-DGSTLAME_PRESET"],
449 AC_SUBST(LAME_CFLAGS)
455 translit(dnm, m, l) AM_CONDITIONAL(USE_LIBCACA, true)
456 GST_CHECK_FEATURE(LIBCACA, [libcaca], libcaca, [
457 GST_CHECK_CONFIGPROG(LIBCACA, caca-config)
458 AC_SUBST(LIBCACA_CFLAGS)
459 AC_SUBST(LIBCACA_LIBS)
463 translit(dnm, m, l) AM_CONDITIONAL(USE_LIBDV, true)
464 GST_CHECK_FEATURE(LIBDV, [libdv DV/video decoder], dvdec, [
465 PKG_CHECK_MODULES(LIBDV, libdv >= 0.100, HAVE_LIBDV="yes", HAVE_LIBDV="no")
466 AC_SUBST(LIBDV_CFLAGS)
471 translit(dnm, m, l) AM_CONDITIONAL(USE_SHOUT2, true)
472 GST_CHECK_FEATURE(SHOUT2, [shout2 plug-in], shout2send, [
473 PKG_CHECK_MODULES(SHOUT2, shout >= 2.0, [
475 AC_SUBST(SHOUT2_CFLAGS)
476 AC_SUBST(SHOUT2_LIBS)
478 AM_PATH_SHOUT2(HAVE_SHOUT2="yes", HAVE_SHOUT2="no")
479 AC_SUBST(SHOUT2_CFLAGS)
480 AC_SUBST(SHOUT2_LIBS)
484 dnl *** sidplay : works with libsidplay 1.36.x (not 2.x.x) ***
485 translit(dnm, m, l) AM_CONDITIONAL(USE_SIDPLAY, true)
486 GST_CHECK_FEATURE(SIDPLAY, [sidplay plug-in], sidplay, [
491 dnl FIXME: we could use header checks here as well IMO
492 translit(dnm, m, l) AM_CONDITIONAL(USE_JPEG, true)
493 GST_CHECK_FEATURE(JPEG, [jpeg], jpegenc jpegdec, [
494 AC_ARG_WITH(jpeg-mmx,
495 [ --with-jpeg-mmx, path to MMX'ified JPEG library])
497 if test x$with_jpeg_mmx != x; then
498 LIBS="$LIBS -L$with_jpeg_mmx"
500 AC_CHECK_LIB(jpeg-mmx, jpeg_set_defaults, HAVE_JPEG="yes", HAVE_JPEG="no")
501 JPEG_LIBS="$LIBS -ljpeg-mmx"
503 if test x$HAVE_JPEG != xyes; then
504 AC_CHECK_LIB(jpeg, jpeg_set_defaults, HAVE_JPEG="yes", HAVE_JPEG="no")
512 dnl FIXME: we could use header checks here as well IMO
513 translit(dnm, m, l) AM_CONDITIONAL(USE_MAD, true)
514 GST_CHECK_FEATURE(MAD, [mad mp3 decoder], mad, [
515 dnl check with pkg-config first
516 PKG_CHECK_MODULES(MAD, mad >= 0.15 id3tag >= 0.15, HAVE_MAD="yes", HAVE_MAD="no")
517 if test "x$HAVE_MAD" = "xno"; then
518 dnl fall back to oldskool detection
519 AC_CHECK_LIB(mad, mad_decoder_finish, HAVE_MAD="yes" MAD_LIBS="-lmad")
520 if test "x$HAVE_MAD" = "xyes"; then
524 AC_CHECK_LIB(id3tag, id3_tag_options, HAVE_MAD="yes" MAD_LIBS="-lmad -lid3tag -lz")
532 translit(dnm, m, l) AM_CONDITIONAL(USE_MPEG2DEC, true)
533 GST_CHECK_FEATURE(MPEG2DEC, [mpeg2dec], mpeg2dec, [
534 PKG_CHECK_MODULES(MPEG2DEC, libmpeg2 >= 0.4.0,
535 HAVE_MPEG2DEC="yes", HAVE_MPEG2DEC="no")
536 AC_SUBST(MPEG2DEC_CFLAGS)
537 AC_SUBST(MPEG2DEC_LIBS)
541 translit(dnm, m, l) AM_CONDITIONAL(USE_DV1394, true)
542 GST_CHECK_FEATURE(DV1394, [raw1394 and avc1394 library], dv1394src, [
543 dnl we need to test three headers and three libs
544 GST_CHECK_LIBHEADER(RAW1394,
545 raw1394, raw1394_new_handle,,
546 libraw1394/raw1394.h, RAW1394_LIBS="-lraw1394")
547 GST_CHECK_LIBHEADER(AVC1394,
548 avc1394, avc1394_send_command, $RAW1394_LIBS,
549 libavc1394/avc1394.h, AVC1394_LIBS="-lavc1394")
550 GST_CHECK_LIBHEADER(ROM1394,
551 rom1394, rom1394_free_directory, $RAW1394_LIBS,
552 libavc1394/rom1394.h, ROM1394_LIBS="-lrom1394")
554 dnl now see how far we got
555 if test x$HAVE_RAW1394 = xyes && \
556 test x$HAVE_AVC1394 = xyes && \
557 test x$HAVE_ROM1394 = xyes; then
559 DV1394_LIBS="$RAW1394_LIBS $AVC1394_LIBS $ROM1394_LIBS"
560 AC_SUBST(DV1394_LIBS)
567 translit(dnm, m, l) AM_CONDITIONAL(USE_ESD, true)
568 GST_CHECK_FEATURE(ESD, [esound plug-ins], esdsink, [
569 PKG_CHECK_MODULES(ESD, esound >= 0.2.12, [
574 AM_PATH_ESD(0.2.12, HAVE_ESD="yes", HAVE_ESD="no")
575 AS_SCRUB_INCLUDE(ESD_CFLAGS)
580 translit(dnm, m, l) AM_CONDITIONAL(USE_LIBPNG, true)
581 GST_CHECK_FEATURE(LIBPNG, [libpng PNG encoder], pngenc, [
582 PKG_CHECK_MODULES(LIBPNG, libpng12, HAVE_LIBPNG="yes", HAVE_LIBPNG="no")
583 AC_SUBST(LIBPNG_CFLAGS)
584 AC_SUBST(LIBPNG_LIBS)
587 dnl *** speex >= 1.0.4 or >= 1.1.5 ***
588 dnl 1.1.4 and earlier were not API/ABI compatible with 1.0
589 dnl 1.1.6 is the first to use a .pc/pkg-config file ***
590 dnl speex_jitter.h is 1.1.x only
591 translit(dnm, m, l) AM_CONDITIONAL(USE_SPEEX, true)
592 GST_CHECK_FEATURE(SPEEX, [speex plug-in], speex, [
593 PKG_CHECK_MODULES(SPEEX, speex >= 1.1.6, [
595 AC_SUBST(SPEEX_CFLAGS)
598 GST_CHECK_LIBHEADER(SPEEX, speex, speex_bits_init, , speex/speex.h, [
599 AC_CHECK_HEADER(speex/speex_jitter.h, [
601 GST_CHECK_LIBHEADER(SPEEX, speex, speex_encode_int, , speex/speex.h, [
602 dnl speex 1.1.5 or + :
605 AC_SUBST(SPEEX_CFLAGS)
612 AC_CHECK_DECL(SPEEX_GET_LOOKAHEAD, [
616 AC_SUBST(SPEEX_CFLAGS)
619 AC_DEFINE_UNQUOTED(SPEEX_1_0, 1,
620 [defined if speex 1.0.x API detected])
623 AC_MSG_NOTICE(You need at least 1.0.4 to compile the speex plugin)
625 #include <speex/speex.h>
632 dnl also add builddir include for enumtypes and marshal
633 GST_CFLAGS="-I\$(top_srcdir)/gst-libs -I\$(top_builddir)/gst-libs $GST_CFLAGS $GST_ERROR"
638 dnl ############################
639 dnl # Set up some more defines #
640 dnl ############################
642 dnl set license and copyright notice
643 AC_DEFINE(GST_LICENSE, "LGPL", [GStreamer license])
645 dnl package name in plugins
646 AC_ARG_WITH(package-name,
647 AC_HELP_STRING([--with-package-name],[specify package name to use in plugins]),
648 [case "${withval}" in
649 yes) AC_MSG_ERROR(bad value ${withval} for --with-package-name) ;;
650 no) AC_MSG_ERROR(bad value ${withval} for --with-package-name) ;;
651 *) GST_PACKAGE="${withval}" ;;
655 if test "x$GST_CVS" = "xyes"
658 GST_PACKAGE="GStreamer CVS/prerelease"
660 GST_PACKAGE="GStreamer source release"
664 AC_MSG_NOTICE(Using $GST_PACKAGE as package name)
665 AC_DEFINE_UNQUOTED(GST_PACKAGE, "$GST_PACKAGE", [package name in plugins])
667 dnl package origin URL
668 AC_ARG_WITH(package-origin,
669 AC_HELP_STRING([--with-package-origin],[specify package origin URL to use in plugins]),
670 [case "${withval}" in
671 yes) AC_MSG_ERROR(bad value ${withval} for --with-package-origin) ;;
672 no) AC_MSG_ERROR(bad value ${withval} for --with-package-origin) ;;
673 *) GST_ORIGIN="${withval}" ;;
675 [GST_ORIGIN="http://gstreamer.freedesktop.org/"]) dnl Default value
676 AC_MSG_NOTICE(Using $GST_ORIGIN as package origin)
677 AC_DEFINE_UNQUOTED(GST_ORIGIN, "$GST_ORIGIN", [package origin])
679 dnl #########################
680 dnl # Make the output files #
681 dnl #########################
688 gst/autodetect/Makefile
695 gst/mpegaudioparse/Makefile
696 gst/realmedia/Makefile
702 gst/videobox/Makefile
703 gst/videofilter/Makefile
706 gst/wavparse/Makefile
708 gst-libs/gst/Makefile
725 ext/mpeg2dec/Makefile
735 echo -n "configure: *** Plug-ins that will be built :"
736 echo -e "$GST_PLUGINS_YES" | sort
738 echo -n "configure: *** Plug-ins that will not be built :"
739 echo -e "$GST_PLUGINS_NO" | sort
741 if test "x$BUILD_EXTERNAL" = "xno"; then
742 echo "configure: *** No external plug-ins will be built"