configure.ac 28.9 KB
Newer Older
1
AC_PREREQ(2.52)
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
2

3 4 5
dnl initialize autoconf
dnl when going to/from release please set the nano (fourth number) right !
dnl releases only do Wall, cvs and prerelease does Werror too
Jan Schmidt's avatar
Jan Schmidt committed
6
AC_INIT(GStreamer Bad Plug-ins, 0.10.4.1,
7 8 9
    http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer,
    gst-plugins-bad)

10 11
AG_GST_INIT

12 13 14 15 16 17 18 19 20 21
dnl initialize automake
AM_INIT_AUTOMAKE

dnl define PACKAGE_VERSION_* variables
AS_VERSION

dnl check if this is a release version
AS_NANO(GST_CVS="no", GST_CVS="yes")

dnl can autoconf find the source ?
Jan Schmidt's avatar
Jan Schmidt committed
22
AC_CONFIG_SRCDIR([docs/plugins/gst-plugins-bad-plugins-docs.sgml])
23 24 25

dnl define the output header for config
AM_CONFIG_HEADER([config.h])
26

27 28 29
dnl AM_MAINTAINER_MODE only provides the option to configure to enable it
AM_MAINTAINER_MODE

30 31
dnl sets host_* variables
AC_CANONICAL_HOST
32 33

dnl our libraries and install dirs use major.minor as a version
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
34
GST_MAJORMINOR=$GST_PLUGINS_BAD_VERSION_MAJOR.$GST_PLUGINS_BAD_VERSION_MINOR
35
dnl we override it here if we need to for the release candidate of new series
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
36
GST_MAJORMINOR=0.10
37 38
AC_SUBST(GST_MAJORMINOR)

39 40 41 42 43
dnl FIXME: this macro doesn't actually work;
dnl the generated libtool script has no support for the listed tags.
dnl So this needs to be fixed first if we want to use this
dnl AS_LIBTOOL_TAGS([CXX])

44
AM_PROG_LIBTOOL
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
45

46
dnl *** required versions of GStreamer stuff ***
47
dnl *** remove rtpmanager/equalizer stuff below when this is updated
48 49
GST_REQ=0.10.13
GSTPB_REQ=0.10.13
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
50

51
dnl *** autotools stuff ****
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
52

53 54 55 56 57
dnl allow for different autotools
AS_AUTOTOOLS_ALTERNATE

dnl Add parameters for aclocal
AC_SUBST(ACLOCAL_AMFLAGS, "-I m4 -I common/m4")
58

Tim-Philipp Müller's avatar
Tim-Philipp Müller committed
59 60 61
dnl set up gettext
dnl the version check needs to stay here because autopoint greps for it
AM_GNU_GETTEXT_VERSION([0.11.5])
62
AM_GNU_GETTEXT([external])
63
AG_GST_GETTEXT([gst-plugins-bad-$GST_MAJORMINOR])
64

65
dnl *** check for arguments to configure ***
66

67 68 69 70
AG_GST_ARG_DEBUG
AG_GST_ARG_PROFILING
AG_GST_ARG_VALGRIND
AG_GST_ARG_GCOV
71

72
AG_GST_ARG_EXAMPLES
73

74 75 76
AG_GST_ARG_WITH_PKG_CONFIG_PATH
AG_GST_ARG_WITH_PACKAGE_NAME
AG_GST_ARG_WITH_PACKAGE_ORIGIN
77

78
AG_GST_ARG_EXAMPLES
79

80 81
dnl these are all the gst plug-ins, compilable without additional libs
GST_PLUGINS_ALL="\
82
  app \
83
  bayer \
84
  cdxaparse \
85
  deinterlace \
86
  equalizer \
87
  filter \
88
  freeze \
89
  h264parse \
90
  interleave \
91
  librfb \
92
  modplug \
93
  mpegvideoparse \
David Schleef's avatar
David Schleef committed
94
  multifile \
95
  mve \
96
  nsf \
97 98
  nuvdemux \
  real \
99
  replaygain \
100
  rtpmanager \
101
  spectrum \
102
  speed \
103
  switch \
104
  tta \
105
  videocrop \
106
  videoparse \
107
  videosignal \
Michael Smith's avatar
Michael Smith committed
108
  vmnc \
109
  xingheader \
110
  y4m \
111
  "
112

113
AC_SUBST(GST_PLUGINS_ALL)
114

115
AG_GST_ARG_WITH_PLUGINS
116

117
AG_GST_ARG_ENABLE_EXTERNAL
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
118

119
AG_GST_ARG_ENABLE_EXPERIMENTAL
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
120

121
USE_TARKIN=$BUILD_EXPERIMENTAL
122

123
dnl *** checks for platform ***
124

125
dnl * hardware/architecture *
126

127 128
dnl common/m4/gst-arch.m4
dnl check CPU type
129
AG_GST_ARCH
130

131 132
dnl Determine endianness
AC_C_BIGENDIAN
Christian Schaller's avatar
Christian Schaller committed
133

134
dnl *** checks for programs ***
Christian Schaller's avatar
Christian Schaller committed
135

136 137
dnl find a compiler
AC_PROG_CC
138

139 140 141 142 143
dnl determine c++ compiler
AC_PROG_CXX
dnl determine if c++ is available on this system
AC_CHECK_PROG(HAVE_CXX, $CXX, yes, no)

144 145
AS_PROG_OBJC

146 147
AC_PATH_PROG(VALGRIND_PATH, valgrind, no)
AM_CONDITIONAL(HAVE_VALGRIND, test ! "x$VALGRIND_PATH" = "xno")
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
148

149 150 151
dnl check for documentation tools
GTK_DOC_CHECK([1.3])
AS_PATH_PYTHON([2.1])
152

153
dnl *** checks for libraries ***
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
154

155 156 157 158
dnl check for libm, for sin() etc.
AC_CHECK_LIBM
AC_SUBST(LIBM)

159
dnl *** checks for header files ***
160

161 162 163
dnl used by ext/dts
AX_CREATE_STDINT_H

164
dnl *** checks for types/defines ***
165

166
dnl *** checks for structures ***
167

168
dnl *** checks for compiler characteristics ***
169

170
dnl *** checks for library functions ***
171

172
dnl *** checks for dependency libraries ***
David Schleef's avatar
David Schleef committed
173

174
dnl GLib is required
175
AG_GST_GLIB_CHECK([2.6])
176

177 178 179 180 181 182
dnl liboil is required
PKG_CHECK_MODULES(LIBOIL, liboil-0.3 >= 0.3.2, HAVE_LIBOIL=yes, HAVE_LIBOIL=no)
if test "x${HAVE_LIBOIL}" != xyes ; then
  AC_ERROR([liboil-0.3 is required])
fi

183 184
dnl checks for gstreamer
dnl uninstalled is selected preferentially -- see pkg-config(1)
185 186 187 188 189 190
AG_GST_CHECK_GST($GST_MAJORMINOR, [$GST_REQ])
AG_GST_CHECK_GST_BASE($GST_MAJORMINOR, [$GST_REQ])
AG_GST_CHECK_GST_GDP($GST_MAJORMINOR, [$GST_REQ])
AG_GST_CHECK_GST_CHECK($GST_MAJORMINOR, [$GST_REQ], no)
AG_GST_CHECK_GST_CONTROLLER($GST_MAJORMINOR, [$GST_REQ])
AG_GST_CHECK_GST_PLUGINS_BASE($GST_MAJORMINOR, [$GSTPB_REQ], no)
191 192 193
GSTPB_PLUGINS_DIR=`$PKG_CONFIG gstreamer-plugins-base-$GST_MAJORMINOR --variable pluginsdir`
AC_SUBST(GSTPB_PLUGINS_DIR)
AC_MSG_NOTICE(Using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR)
194

195 196 197 198
dnl FIXME: get rid of this by making sure gstreamer-check brings it in
dnl check for "check", unit testing library/header
AM_PATH_CHECK(0.9.2, HAVE_CHECK=yes, HAVE_CHECK=no)
AM_CONDITIONAL(HAVE_CHECK, test "x$HAVE_CHECK" = "xyes")
199

200 201 202 203 204 205 206 207
dnl Check for documentation xrefs
GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
GST_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-$GST_MAJORMINOR`"
GSTPB_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-plugins-base-$GST_MAJORMINOR`"
AC_SUBST(GLIB_PREFIX)
AC_SUBST(GST_PREFIX)
AC_SUBST(GSTPB_PREFIX)

208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231
dnl GTK is optional and used in examples
HAVE_GTK=NO
PKG_CHECK_MODULES(GTK2, gtk+-2.0 >= 2.2.0, HAVE_GTK_22=yes, HAVE_GTK_22=no)
if test "x$HAVE_GTK_22" = "xyes"; then
  HAVE_GTK=yes
  GTK_VERSION=`$PKG_CONFIG --variable=gtk_binary_version gtk+-2.0`
  AC_SUBST(GTK_VERSION)
  GTK_PREFIX=`$PKG_CONFIG --variable=prefix gdk-pixbuf-2.0`
  AC_SUBST(GTK_BASE_DIR)
  GDK_PIXBUF_LIBDIR=`$PKG_CONFIG --variable=libdir gdk-pixbuf-2.0`
  GDK_PIXBUF_PREFIXDIR=`$PKG_CONFIG --variable=prefix gdk-pixbuf-2.0`
  AC_SUBST(GTK_BASE_DIR)
else
  PKG_CHECK_MODULES(GTK2, gtk+-2.0, HAVE_GTK_20=yes, HAVE_GTK_20=no)
fi
if test "x$HAVE_GTK_20" = "xyes"; then
  HAVE_GTK=yes
fi
GTK_CFLAGS=$GTK2_CFLAGS
GTK_LIBS=$GTK2_LIBS
AC_SUBST(GTK_LIBS)
AC_SUBST(GTK_CFLAGS)
AC_SUBST(HAVE_GTK)
AM_CONDITIONAL(HAVE_GTK, test "x$HAVE_GTK" = "xyes")
232

233 234 235 236
dnl set license and copyright notice
GST_LICENSE="LGPL"
AC_DEFINE_UNQUOTED(GST_LICENSE, "$GST_LICENSE", [GStreamer license])
AC_SUBST(GST_LICENSE)
237

238
dnl set location of plugin directory
239
AG_GST_SET_PLUGINDIR
240

241
dnl define an ERROR_CFLAGS Makefile variable
242
AG_GST_SET_ERROR_CFLAGS($GST_CVS)
243

244
dnl define correct level for debugging messages
245
AG_GST_SET_LEVEL_DEFAULT($GST_CVS)
246

247 248 249 250 251 252 253
dnl *** plug-ins to exclude ***

dnl see if we can build C++ plug-ins
if test "x$HAVE_CXX" != "xyes"; then
  AC_MSG_WARN([Not compiling plug-ins requiring C++ compiler])
  GST_PLUGINS_SELECTED=`echo $GST_PLUGINS_SELECTED | sed 's/modplug//g'`
fi
254

255
dnl real plugin only works on i386 and x86_64 for the time being.
256 257
if test "x$HAVE_CPU_I386" != "xyes" && test "x$HAVE_CPU_X86_64" != "xyes"; then
  AC_MSG_WARN([Not building real plugin, only works on 32bit and 64bit x86 platforms])
258 259
  GST_PLUGINS_SELECTED=`echo $GST_PLUGINS_SELECTED | sed 's/real//g'`
fi
260 261 262 263 264 265 266 267 268 269 270

dnl disable gst plugins we might not be able to build on this
dnl platform: librfb (ugly but minimally invasive)
dnl FIXME: maybe move to sys, or make work with winsock2
AC_CHECK_HEADERS([sys/socket.h], HAVE_SYS_SOCKET_H=yes)
AC_CHECK_HEADERS([winsock2.h], HAVE_WINSOCK2_H=yes)

if test "x$HAVE_SYS_SOCKET_H" != "xyes"; then
  GST_PLUGINS_SELECTED=`echo $GST_PLUGINS_SELECTED | $SED -e s/librfb//`
fi

271 272 273
AC_SUBST(GST_PLUGINS_SELECTED)


274
dnl *** sys plug-ins ***
275

276 277
dnl OpenGL
translit(dnm, m, l) AM_CONDITIONAL(USE_OPENGL, true)
278
AG_GST_CHECK_X
279 280 281 282
save_CPPFLAGS="$CPPFLAGS"
save_LIBS="$LIBS"
CPPFLAGS="$CPPFLAGS $X_CFLAGS"
LIBS="$LIBS $X_LIBS"
283 284
AG_GST_CHECK_FEATURE(OPENGL, [Open GL], glsink, [
  AG_GST_CHECK_LIBHEADER(GL, GL, glTexImage2D,,
285
                      GL/gl.h, HAVE_OPENGL="yes", HAVE_OPENGL="no")
286
])
287 288
CPPFLAGS="$save_CPPFLAGS"
LIBS="$save_LIBS"
289

Stefan Kost's avatar
Stefan Kost committed
290 291
dnl Check for X11
translit(dnm, m, l) AM_CONDITIONAL(USE_X, true)
292
AG_GST_CHECK_FEATURE(X, [X libraries and plugins],
Stefan Kost's avatar
Stefan Kost committed
293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319
                  [ximagesrc], [
  AC_PATH_XTRA

  dnl now try to find the HEADER
  ac_cflags_save="$CFLAGS"
  ac_cppflags_save="$CPPFLAGS"
  CFLAGS="$CFLAGS $X_CFLAGS"
  CPPFLAGS="$CPPFLAGS $X_CFLAGS"
  AC_CHECK_HEADER(X11/X.h, HAVE_X="yes", HAVE_X="no")

  if test "x$HAVE_X" = "xno"
  then
    AC_MSG_NOTICE([cannot find X11 development files])
  else
    dnl this is much more than we want
    X_LIBS="$X_LIBS $X_PRE_LIBS $X_EXTRA_LIBS"
    dnl AC_PATH_XTRA only defines the path needed to find the X libs,
    dnl it does not add the libs; therefore we add them here
    X_LIBS="$X_LIBS -lX11"
    AC_SUBST(X_CFLAGS)
    AC_SUBST(X_LIBS)
  fi
  AC_SUBST(HAVE_X)
  CFLAGS="$ac_cflags_save"
  CPPFLAGS="$ac_cppflags_save"
])

320 321 322
dnl *** OS X video ***
translit(dnm, m, l) AM_CONDITIONAL(USE_OSX_VIDEO, true)
HAVE_OSX_VIDEO="no"
323
AG_GST_CHECK_FEATURE(OSX_VIDEO, [OSX video], osxvideosink, [
324 325 326 327 328 329 330 331 332 333 334 335 336 337
  AC_CHECK_HEADER(OpenGL/gl.h, HAVE_OSX_VIDEO="yes", HAVE_OSX_VIDEO="no")
])
dnl in case header OpenGL/gl.h is found on other platforms
case "$host" in
  *-*darwin*)
    dnl do nothing
    ;;
  *)
    HAVE_OSX_VIDEO="no"
    ;;
esac



338 339 340 341
dnl *** ext plug-ins ***
dnl keep this list sorted alphabetically !

if test "x$BUILD_EXTERNAL" = "xyes"; then
342

343 344
dnl *** alsa ***
translit(dnm, m, l) AM_CONDITIONAL(USE_ALSA, true)
345
AG_GST_CHECK_FEATURE(ALSA, [alsa plug-ins], gstalsa, [
346 347 348 349 350 351 352 353 354
  PKG_CHECK_MODULES(ALSA, alsa >= 0.9.1, [
    HAVE_ALSA="yes"
    AC_SUBST(ALSA_CFLAGS)
    AC_SUBST(ALSA_LIBS)
  ], [
    AM_PATH_ALSA(0.9.1, HAVE_ALSA="yes", HAVE_ALSA="no")
  ])
])

355 356
dnl *** amrwb ***
translit(dnm, m, l) AM_CONDITIONAL(USE_AMRWB, true)
357 358 359 360 361 362
AG_GST_CHECK_FEATURE(AMRWB, [amrwb library], amrwb, [
  AG_GST_CHECK_LIBHEADER(AMRWB, amrwb,
                        GP3D_IF_decode, ,
                        amrwb/dec.h,
                        AMRWB_LIBS="-lamrwb"
                        AC_SUBST(AMRWB_LIBS))
363 364
])

Andy Wingo Wingo's avatar
Andy Wingo Wingo committed
365
dnl *** BZ2 ***
Jan Schmidt's avatar
Jan Schmidt committed
366
translit(dnm, m, l) AM_CONDITIONAL(USE_BZ2, true)
367 368
AG_GST_CHECK_FEATURE(BZ2, [bz2 library], bz2, [
  AG_GST_CHECK_LIBHEADER(BZ2, bz2, BZ2_bzCompress, ,bzlib.h, BZ2_LIBS="-lbz2")
Andy Wingo Wingo's avatar
Andy Wingo Wingo committed
369 370 371
  AC_SUBST(BZ2_LIBS)
])

372 373
#dnl *** cairo ***
#translit(dnm, m, l) AM_CONDITIONAL(USE_CAIRO, true)
374
#AG_GST_CHECK_FEATURE(CAIRO, [cairo plug-in], cairo, [
375 376 377 378
#  PKG_CHECK_MODULES(CAIRO, cairo >= 1.0 glitz-glx, HAVE_CAIRO=yes, [
#    HAVE_CAIRO=no
#    AC_MSG_RESULT(no)
#  ])
379 380 381 382
#  AC_SUBST(CAIRO_CFLAGS)
#  AC_SUBST(CAIRO_LIBS)
#])

Wim Taymans's avatar
Wim Taymans committed
383 384
dnl *** cdaudio ***
translit(dnm, m, l) AM_CONDITIONAL(USE_CDAUDIO, true)
385 386
AG_GST_CHECK_FEATURE(CDAUDIO, [cdaudio], cdaudio, [
  AG_GST_CHECK_CONFIGPROG(CDAUDIO, libcdaudio-config)
Wim Taymans's avatar
Wim Taymans committed
387 388 389 390
  AC_SUBST(CDAUDIO_CFLAGS)
  AC_SUBST(CDAUDIO_LIBS)
])

391 392
dnl **** DirectFB ****
translit(dnm, m, l) AM_CONDITIONAL(USE_DIRECTFB, true)
393
AG_GST_CHECK_FEATURE(DIRECTFB, [directfb], dfbvideosink , [
394
  PKG_CHECK_MODULES(DIRECTFB, directfb >= 0.9.24, HAVE_DIRECTFB="yes", [
395
    HAVE_DIRECTFB="no"
396
    AC_MSG_RESULT(no)
397 398 399
  ])
])

Edgard Gusmão Lima's avatar
Edgard Gusmão Lima committed
400 401
dnl *** DTS ***
translit(dnm, m, l) AM_CONDITIONAL(USE_DTS, true)
402 403
AG_GST_CHECK_FEATURE(DTS, [dts library], dtsdec, [
  AG_GST_CHECK_LIBHEADER(DTS, dts_pic, dts_init, -lm, dts.h,
404
    DTS_LIBS="-ldts_pic -lm")
Edgard Gusmão Lima's avatar
Edgard Gusmão Lima committed
405 406 407
  AC_SUBST(DTS_LIBS)
])

408 409
dnl *** DIVX ***
translit(dnm, m, l) AM_CONDITIONAL(USE_DIVX, true)
410
AG_GST_CHECK_FEATURE(DIVX, [divx plugins], divx, [
411
  HAVE_DIVX=yes
412 413 414 415
  AC_CHECK_HEADER(encore2.h, , [
    AC_MSG_WARN([Divx4linux encore headers not found])
    HAVE_DIVX=no
  ])
416 417 418 419 420 421 422 423 424
  if [ test x$HAVE_DIVX = xyes ]; then
    AC_MSG_CHECKING([Checking for valid divx4linux encore version])
    AC_TRY_COMPILE([
#include <encore2.h>
#if ENCORE_VERSION != 20021024
#error Wrong version of divx encore libraries
#endif
    ], [
return 0;
425 426 427 428 429 430 431 432
    ], [
      HAVE_DIVX=yes
      AC_MSG_RESULT(yes)
    ], [
      HAVE_DIVX=no
      AC_MSG_RESULT(no)
      AC_MSG_WARN([Wrong version of divx4linux installed])
    ])
433 434
  fi
  if [ test x$HAVE_DIVX = xyes ]; then
435 436 437 438
    AC_CHECK_HEADER(decore.h, , [
      AC_MSG_WARN([Divx4linux decoder headers not found])
      HAVE_DIVX=no
    ])
439 440 441 442 443 444 445 446 447 448
  fi
  if [ test x$HAVE_DIVX = xyes ]; then
    AC_MSG_CHECKING([Checking for valid divx4linux decore version])
    AC_TRY_COMPILE([
#include <decore.h>
#if DECORE_VERSION != 20021112
#error Wrong version of divx decore libraries
#endif
    ], [
return 0;
449 450 451 452 453 454 455 456
    ], [
      HAVE_DIVX=yes
      AC_MSG_RESULT(yes)
    ], [
      HAVE_DIVX=no
      AC_MSG_RESULT(no)
      AC_MSG_WARN([Wrong version of divx4linux installed])
    ])
457 458 459
  fi
  LIBS="-lm"
  if test x$HAVE_DIVX = xyes; then
460 461 462 463
    AC_CHECK_LIB(divxencore, encore, , [
      AC_MSG_WARN([Divx4linux encore libs not found])
      HAVE_DIVX=no
    ])
464 465
  fi
  if test x$HAVE_DIVX = xyes; then
466 467 468 469
    AC_CHECK_LIB(divxdecore, decore, , [
      AC_MSG_WARN([Divx4linux decore libs not found])
      HAVE_DIVX=no
  ])
470 471 472 473 474 475 476 477 478
  fi
  if test x$HAVE_DIVX = xyes; then
    DIVXENC_LIBS="-ldivxencore -lm"
    DIVXDEC_LIBS="-ldivxdecore -lm"
    AC_SUBST(DIVXENC_LIBS)
    AC_SUBST(DIVXDEC_LIBS)
  fi
])

479 480
dnl **** Free AAC Encoder (FAAC) ****
translit(dnm, m, l) AM_CONDITIONAL(USE_FAAC, true)
481 482
AG_GST_CHECK_FEATURE(FAAC, [AAC encoder plug-in], faac, [
  AG_GST_CHECK_LIBHEADER(FAAC, faac, faacEncOpen, -lm, faac.h,
483
    FAAC_LIBS="-lfaac -lm")
484 485 486 487 488 489
  AS_SCRUB_INCLUDE(FAAC_CFLAGS)
  AC_SUBST(FAAC_LIBS)
])

dnl **** Free AAC Decoder (FAAD) ****
translit(dnm, m, l) AM_CONDITIONAL(USE_FAAD, true)
490
AG_GST_CHECK_FEATURE(FAAD, [AAC decoder plug-in], faad, [
491
  HAVE_FAAD="yes"
492
  AG_GST_CHECK_LIBHEADER(FAAD, faad, faacDecOpen, -lm, faad.h,
493
    FAAD_LIBS="-lfaad -lm", HAVE_FAAD="no")
494
  if test $HAVE_FAAD = "no"; then
495
    AG_GST_CHECK_LIBHEADER(FAAD, faad, NeAACDecOpen, -lm, neaacdec.h,
496 497 498 499
      [ FAAD_LIBS="-lfaad -lm"
	  	AC_DEFINE(FAAD_IS_NEAAC, 1, [Define if AAC is using new api prefix])
	  ],
	  HAVE_FAAD="no",)
500
  fi
501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520
  if test $HAVE_FAAD = "yes"; then
    AC_MSG_CHECKING([Checking for FAAD >= 2])
    AC_TRY_RUN([

#include <faad.h>
#if !defined(FAAD2_VERSION) || !defined(FAAD_FMT_DOUBLE)
#error Not faad2
#else
#include <string.h>

int main()
{
char version[9] = FAAD2_VERSION;
// a release candidate of 2.0 is not enought for us
if ( strstr( version, "2.0 RC" ) ) { return 1; }

return 0;
}

#endif
521 522 523 524 525 526 527 528
    ], [
      HAVE_FAAD="yes"
      AC_MSG_RESULT(yes)
    ], [
      HAVE_FAAD="no"
      AC_MSG_RESULT(no)
    ])
  fi
529 530
  AS_SCRUB_INCLUDE(FAAD_CFLAGS)
  AC_SUBST(FAAD_LIBS)
531
  AC_SUBST(FAAD_IS_NEAAC)
532 533 534 535
])

dnl *** gsm ***
translit(dnm, m, l) AM_CONDITIONAL(USE_GSM, true)
536 537
AG_GST_CHECK_FEATURE(GSM, [GSM library], gsmenc gsmdec, [
  AG_GST_CHECK_LIBHEADER(GSM, gsm, gsm_create, , gsm.h, GSM_LIBS="-lgsm")
538
  if test $HAVE_GSM != "yes"; then
539
    AG_GST_CHECK_LIBHEADER(GSM, gsm, gsm_create, , gsm/gsm.h, GSM_LIBS="-lgsm")
540
    if test $HAVE_GSM = "yes"; then
541 542 543 544 545 546 547 548 549
      AC_DEFINE(GSM_HEADER_IN_SUBDIR, 1, [Define if GSM header in gsm/ subdir])
    fi
  fi
  AC_SUBST(GSM_LIBS)
])

dnl *** ivorbis ***
dnl AM_PATH_IVORBIS only takes two options
translit(dnm, m, l) AM_CONDITIONAL(USE_IVORBIS, true)
550
AG_GST_CHECK_FEATURE(IVORBIS, [integer vorbis plug-in], ivorbisdec, [
551 552 553 554
  IVORBIS_LIBS=
  IVORBIS_CFLAGS=
  AC_CHECK_LIB(vorbisidec, vorbis_block_init,
    [IVORBIS_LIBS=-lvorbisidec
555
     HAVE_IVORBIS=yes
556
     case $host in
557 558 559 560
     arm-*-*)
       IVORBIS_CFLAGS="-D_ARM_ASSEM_ $IVORBIS_CFLAGS"
     esac
    ],
561 562 563 564 565
    HAVE_IVORBIS=no)
  AC_SUBST(IVORBIS_LIBS)
  AC_SUBST(IVORBIS_CFLAGS)
])

566 567
dnl *** Jack ***
translit(dnm, m, l) AM_CONDITIONAL(USE_JACK, true)
568
AG_GST_CHECK_FEATURE(JACK, Jack, jack, [
569
  PKG_CHECK_MODULES(JACK, jack >= 0.99.10, HAVE_JACK="yes", HAVE_JACK="no")
570 571 572 573
  AC_SUBST(JACK_CFLAGS)
  AC_SUBST(JACK_LIBS)
])

574 575
dnl *** ladspa ***
translit(dnm, m, l) AM_CONDITIONAL(USE_LADSPA, true)
576
AG_GST_CHECK_FEATURE(LADSPA, [ladspa], ladspa, [
577 578 579
  AC_CHECK_HEADER(ladspa.h, HAVE_LADSPA="yes", HAVE_LADSPA="no")
])

580 581
dnl *** libmms ***
translit(dnm, m, l) AM_CONDITIONAL(USE_LIBMMS, true)
582
AG_GST_CHECK_FEATURE(LIBMMS, [mms protocol library], libmms, [
583
  dnl check with pkg-config first
584 585 586 587
  PKG_CHECK_MODULES(LIBMMS, libmms >= 0.2, HAVE_LIBMMS="yes", [
    HAVE_LIBMMS="no"
    AC_MSG_RESULT(no)
  ])
588 589
])
AC_SUBST(LIBMMS_LIBS)
590

591 592 593 594 595 596 597 598 599 600 601
dnl *** mjpegtools version info ***
dnl some may prefer older version (given quirks above)
dnl hm, no version info seems available within mjpegtools headers
PKG_CHECK_EXISTS(mjpegtools >= 1.8.0 mjpegtools < 1.9.0, [
  AC_DEFINE(GST_MJPEGTOOLS_18x, 1, [mjpegtools >= 1.8.0 is used])
  have_mpjegtools_18x=yes
  ], [
  have_mpjegtools_18x=no])

dnl *** mpeg2enc ***
translit(dnm, m, l) AM_CONDITIONAL(USE_MPEG2ENC, true)
602
AG_GST_CHECK_FEATURE(MPEG2ENC, [mpeg2enc], mpeg2enc, [
603 604 605 606 607 608 609
  HAVE_MPEG2ENC="no"
  dnl we require a c++ compiler for this one
  if [ test x$HAVE_CXX = xyes ]; then
    dnl libmpeg2enc was first included in mjpegtools-1.6.2-rc3 (1.6.1.92)
    dnl since many distros include mjpegtools specifically without mplex
    dnl and mpeg2enc, we check for mpeg2enc on its own, too.
    PKG_CHECK_MODULES(MPEG2ENC, mjpegtools >= 1.6.1.93, [
610 611
      dnl HACK because mpeg2enc 1.8.0 header files have a spurious 'include config.h'
      touch config.h
612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664
      dnl switch over to c++ to test things
      AC_LANG_CPLUSPLUS
      OLD_CPPFLAGS="$CPPFLAGS"
      dnl HACK as above
      CPPFLAGS_GOOD="$CPPFLAGS $MPEG2ENC_CFLAGS"
      CPPFLAGS="$CPPFLAGS_GOOD -I."
      dnl check headers
      mpeg2enc_headers_ok=no
      AC_CHECK_HEADER([mpeg2encoder.hh], [
        MPEG2ENC_LIBS="$MPEG2ENC_LIBS -lmpeg2encpp -lm -lpthread"
        OLD_LIBS="$LIBS"
        LIBS="$LIBS $MPEG2ENC_LIBS"
        AC_MSG_CHECKING([for valid mpeg2enc objects])
        AC_TRY_RUN([
          #include <mpeg2encoder.hh>
          #include <mpeg2encoptions.hh>

          int
          main (int   argc,
                char *argv[])
          {
            MPEG2EncOptions *options = new MPEG2EncOptions ();
            MPEG2Encoder *encoder = new MPEG2Encoder (*options);
            return 0;
          }
        ],[
          AC_MSG_RESULT(yes)
          dnl so far so good, let's check more things:
          dnl mjpegtools-1.8.0 does not install the required
          dnl mpeg2syntaxcodes.h header by default, and a new release
          dnl is not in sight, so check for this oversight in case
          dnl distros or folks have fixed this themselves
          if test "x$have_mpjegtools_18x" = "xyes"; then
            AC_CHECK_HEADER([mpeg2syntaxcodes.h], [
                mpeg2enc_headers_ok=yes
              ], [
                mpeg2enc_headers_ok=no
              ])
          fi
          if test "x$mpeg2enc_headers_ok" = "xyes"; then
            HAVE_MPEG2ENC="yes"
          fi
          CPP_FLAGS="$CPPFLAGS_GOOD"
          AC_SUBST(MPEG2ENC_CFLAGS)
          AC_SUBST(MPEG2ENC_LIBS)
        ], [
          AC_MSG_RESULT(no)
        ])
        LIBS="$OLD_LIBS"
      ])

      CPPFLAGS="$OLD_CPPFLAGS"
      AC_LANG_C
665 666
    ], [
      HAVE_MPEG2ENC="no"
667 668 669 670
    ])
  fi
])

671 672
dnl *** musepack ***
translit(dnm, m, l) AM_CONDITIONAL(USE_MUSEPACK, true)
673
AG_GST_CHECK_FEATURE(MUSEPACK, [musepackdec], musepack, [
674 675 676 677 678 679 680 681 682
  AC_LANG_CPLUSPLUS
  AC_CHECK_HEADER([mpcdec/mpcdec.h], [
    HAVE_MUSEPACK="yes"
    MUSEPACK_LIBS="-lmpcdec"
    AC_SUBST(MUSEPACK_LIBS)
    ], [HAVE_MUSEPACK="no"])
  AC_LANG_C
])

683 684
dnl *** musicbrainz ***
translit(dnm, m, l) AM_CONDITIONAL(USE_MUSICBRAINZ, true)
685
AG_GST_CHECK_FEATURE(MUSICBRAINZ, [musicbrainz tag generation], musicbrainz, [
686 687 688 689 690
  PKG_CHECK_MODULES(MUSICBRAINZ, libmusicbrainz >= 2.1.0, HAVE_MUSICBRAINZ="yes", HAVE_MUSICBRAINZ="no")
  AC_SUBST(MUSICBRAINZ_CFLAGS)
  AC_SUBST(MUSICBRAINZ_LIBS)
])

691 692
dnl *** MythTV ***
translit(dnm, m, l) AM_CONDITIONAL(USE_MYTHTV, true)
693
AG_GST_CHECK_FEATURE(MYTHTV, [MythTV client plugins], mythtvsrc, [
694 695 696 697 698 699 700 701
  PKG_CHECK_MODULES(GMYTH, gmyth-0.1 >= 0.1.0.3, HAVE_MYTHTV="yes", [
    HAVE_MYTHTV="no"
    AC_MSG_RESULT(no)
  ])
  AC_SUBST(GMYTH_CFLAGS)
  AC_SUBST(GMYTH_LIBS)
])

702 703 704 705 706 707 708 709 710 711 712 713 714 715 716
dnl *** nas ***
translit(dnm, m, l) AM_CONDITIONAL(USE_NAS, true)
AG_GST_CHECK_FEATURE(NAS, [nas plug-in], nassink, [
  HAVE_NAS="no"
  if test "x$HAVE_X" = "xyes"; then
    save_cppflags=$CFLAGS
    CPPFLAGS="$CPPFLAGS $X_CFLAGS"
    AG_GST_CHECK_LIBHEADER(NAS, audio, AuOpenServer, $X_LIBS, audio/audiolib.h,
      NAS_LIBS="$X_LIBS -laudio" NAS_CFLAGS="$X_CFLAGS")
    CPPFLAGS="$save_cppflags"
  fi
  AC_SUBST(NAS_CFLAGS)
  AC_SUBST(NAS_LIBS)
])

717 718
dnl *** neon ***
translit(dnm, m, l) AM_CONDITIONAL(USE_NEON, true)
719
AG_GST_CHECK_FEATURE(NEON, [neon http client plugins], neonhttpsrc, [
720
  PKG_CHECK_MODULES(NEON, neon >= 0.25.5  neon <= 0.26.99, HAVE_NEON="yes", [
721 722 723
    HAVE_NEON="no"
    AC_MSG_RESULT(no)
  ])
724 725 726 727
  AC_SUBST(NEON_CFLAGS)
  AC_SUBST(NEON_LIBS)
])

728 729
dnl *** timidity ***
translit(dnm, m, l) AM_CONDITIONAL(USE_TIMIDITY, true)
730
AG_GST_CHECK_FEATURE(TIMIDITY, [timidity midi soft synth plugin], timidity, [
731
  PKG_CHECK_MODULES(TIMIDITY, libtimidity, [
732 733 734 735 736
    HAVE_TIMIDITY="yes",
	AC_MSG_CHECKING([for timidity.cfg])
	timidity_cfg=""
	if test -r /etc/timidity.cfg; then
	  timidity_cfg=/etc/timidity.cfg
737 738
	elif test -r /etc/timidity/timidity.cfg; then
	  timidity_cfg=/etc/timidity/timidity.cfg
739 740 741 742 743 744 745 746 747 748 749 750
	elif test -r /usr/share/timidity/timidity.cfg; then
	  timidity_cfg=/usr/share/timidity/timidity.cfg
	elif test -r /usr/local/share/timidity/timidity.cfg; then
	  timidity_cfg=/usr/local/share/timidity/timidity.cfg
	fi
	if test "x$timidity_cfg" != "x"; then
	  AC_MSG_RESULT($timidity_cfg)
      AC_DEFINE_UNQUOTED(TIMIDITY_CFG, "$timidity_cfg", [Define location of timidity.cfg])
	else
	  AC_MSG_RESULT([not found])
	fi
  ], [
751 752 753 754 755 756 757
    HAVE_TIMIDITY="no"
    AC_MSG_RESULT(no)
  ])
  AC_SUBST(TIMIDITY_CFLAGS)
  AC_SUBST(TIMIDITY_LIBS)
])

758 759
dnl *** wildmidi ***
translit(dnm, m, l) AM_CONDITIONAL(USE_WILDMIDI, true)
760
AG_GST_CHECK_FEATURE(WILDMIDI, [wildmidi midi soft synth plugin], wildmidi, [
761 762 763
  AC_CHECK_HEADER([wildmidi_lib.h],HAVE_WILDMIDI=yes, HAVE_WILDMIDI=no)
  if test "x$HAVE_WILDMIDI" = "xyes"; then
	 WILDMIDI_CFLAGS=
764
	 WILDMIDI_LIBS=-lWildMidi
765 766 767 768 769 770 771 772 773 774
	 AC_MSG_NOTICE(compiling gstWildMidi)
  else
	 WILDMIDI_CFLAGS=
	 WILDMIDI_LIBS=
	 AC_MSG_WARN(no WildMidi library found (libWildMidi))
  fi
  AC_SUBST(WILDMIDI_CFLAGS)
  AC_SUBST(WILDMIDI_LIBS)
])

775 776
dnl *** SDL ***
translit(dnm, m, l) AM_CONDITIONAL(USE_SDL, true)
777
AG_GST_CHECK_FEATURE(SDL, [SDL plug-in], sdlvideosink sdlaudiosink, [
778 779 780
    AM_PATH_SDL(, HAVE_SDL=yes, HAVE_SDL=no)
])

781 782
dnl *** sndfile ***
translit(dnm, m, l) AM_CONDITIONAL(USE_SNDFILE, true)
783
AG_GST_CHECK_FEATURE(SNDFILE, [sndfile plug-in], sfsrc sfsink, [
784
  PKG_CHECK_MODULES(SNDFILE, sndfile >= 1.0.16, HAVE_SNDFILE="yes", HAVE_SNDFILE="no")
785 786 787 788
  AC_SUBST(SNDFILE_CFLAGS)
  AC_SUBST(SNDFILE_LIBS)
])

789 790
dnl *** soundtouch ***
translit(dnm, m, l) AM_CONDITIONAL(USE_SOUNDTOUCH, true)
791
AG_GST_CHECK_FEATURE(SOUNDTOUCH, [soundtouch plug-in], soundtouch, [
792 793 794
  PKG_CHECK_MODULES(SOUNDTOUCH, libSoundTouch, HAVE_SOUNDTOUCH=yes, [
    HAVE_SOUNDTOUCH=no
     AC_MSG_RESULT(no)])
795 796 797 798 799 800 801 802
  AC_SUBST(SOUNDTOUCH_CFLAGS)
  AC_SUBST(SOUNDTOUCH_LIBS)
  if test "x$HAVE_CXX" != "xyes"; then
    USE_SOUNDTOUCH=false
    AC_MSG_NOTICE([Not building soundtouch plugin: no C++ compiler found])
  fi
])

803 804
dnl *** spc ***
translit(dnm, m, l) AM_CONDITIONAL(USE_SPC, true)
805
AG_GST_CHECK_FEATURE(SPC, [spc decoder], spc, [
806 807 808 809 810 811 812 813 814 815 816 817 818
  AC_CHECK_HEADER(openspc.h, [
    AC_CHECK_LIB(openspc, OSPC_Init, [
      SPC_LIBS="-lopenspc"
      AC_SUBST(SPC_LIBS)
      HAVE_SPC=yes
    ], [
      HAVE_SPC=no
    ])
  ], [
    HAVE_SPC=no
  ])
])

Edgard Gusmão Lima's avatar
Edgard Gusmão Lima committed
819 820
dnl *** swfdec ***
translit(dnm, m, l) AM_CONDITIONAL(USE_SWFDEC, true)
821
AG_GST_CHECK_FEATURE(SWFDEC, [swfdec plug-in], swfdec, [
822 823 824 825
  PKG_CHECK_MODULES(SWFDEC, swfdec-0.3 >= 0.3.6, HAVE_SWFDEC=yes, [
    HAVE_SWFDEC=no
    AC_MSG_RESULT(no)
  ])
Edgard Gusmão Lima's avatar
Edgard Gusmão Lima committed
826 827 828 829
  AC_SUBST(SWFDEC_CFLAGS)
  AC_SUBST(SWFDEC_LIBS)
])

830 831
dnl *** theora ***
translit(dnm, m, l) AM_CONDITIONAL(USE_THEORADEC, true)
832
AG_GST_CHECK_FEATURE(THEORADEC, [ogg theora codec], theoraexpdec, [
833 834 835 836
  PKG_CHECK_MODULES(THEORADEC, theoradec, HAVE_THEORADEC="yes", [
    HAVE_THEORADEC="no"
    AC_MSG_RESULT(no)
  ])
837 838
  AC_SUBST(THEORADEC_LIBS)
  AC_SUBST(THEORADEC_CFLAGS)
839 840
])

841 842 843 844 845 846 847 848 849 850
dnl *** x264 (MPEG-4 part 10/h.264/AVC encoder) ***
translit(dnm, m, l) AM_CONDITIONAL(USE_X264, true)
AG_GST_CHECK_FEATURE(X264, [x264 plug-in], x264, [
  AG_GST_CHECK_LIBHEADER(X264, x264, x264_nal_encode, -lm, x264.h,
      X264_LIBS="$LDFLAGS -lx264 -lm"
      X264_CFLAGS="$CFLAGS"
      AC_SUBST(X264_LIBS)
      AC_SUBST(X264_CFLAGS))
])

851 852
dnl *** XVID ***
translit(dnm, m, l) AM_CONDITIONAL(USE_XVID, true)
853
AG_GST_CHECK_FEATURE(XVID, [xvid plugins], xvid, [
854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879
  HAVE_XVID=no
  AC_CHECK_HEADER(xvid.h, [
    OLD_LIBS="$LIBS"
    LIBS="-lm"
    AC_CHECK_LIB(xvidcore, xvid_encore, [
      AC_CHECK_LIB(xvidcore, xvid_decore, [
        AC_CHECK_LIB(xvidcore, xvid_global, [
          AC_MSG_CHECKING([for uptodate XviD API version])
          AC_TRY_RUN([
#include <xvid.h>
#if XVID_API_MAJOR(XVID_API) != 4
#error "Incompatible XviD API version"
#endif
int main () { return 0; }
          ],[ AC_MSG_RESULT(yes)
            XVID_LIBS="-lxvidcore -lm"
            AC_SUBST(XVID_LIBS)
            HAVE_XVID=yes
          ], AC_MSG_RESULT(no) )
        ], )
      ], )
    ], )
    LIBS="$OLD_LIBS"
  ], )
])

880 881
dnl *** dvb ***
translit(dnm, m, l) AM_CONDITIONAL(USE_DVB, true)
882
AG_GST_CHECK_FEATURE(DVB, [DVB Source], dvb, [
883 884 885 886
  AC_MSG_CHECKING([Checking for up to date dvb installation])
  AC_CHECK_HEADER(linux/dvb/frontend.h, [HAVE_DVB="yes"], [HAVE_DVB="no"])
])

887 888 889 890 891 892 893 894 895 896
else

dnl not building plugins with external dependencies,
dnl but we still need to set the conditionals

AM_CONDITIONAL(USE_OPENGL, false)
AM_CONDITIONAL(USE_X, false)
AM_CONDITIONAL(USE_ALSA, false)
AM_CONDITIONAL(USE_AMRWB, false)
AM_CONDITIONAL(USE_BZ2, false)
897
AM_CONDITIONAL(USE_CDAUDIO, false)
898 899 900 901 902 903 904
AM_CONDITIONAL(USE_DIRECTFB, false)
AM_CONDITIONAL(USE_DTS, false)
AM_CONDITIONAL(USE_DIVX, false)
AM_CONDITIONAL(USE_FAAC, false)
AM_CONDITIONAL(USE_FAAD, false)
AM_CONDITIONAL(USE_GSM, false)
AM_CONDITIONAL(USE_IVORBIS, false)
905
AM_CONDITIONAL(USE_JACK, false)
906
AM_CONDITIONAL(USE_LADSPA, false)
907
AM_CONDITIONAL(USE_LIBMMS, false)
908
AM_CONDITIONAL(USE_MPEG2ENC, false)
909 910
AM_CONDITIONAL(USE_MUSEPACK, false)
AM_CONDITIONAL(USE_MUSICBRAINZ, false)
911
AM_CONDITIONAL(USE_MYTHTV, false)
912
AM_CONDITIONAL(USE_NAS, false)
913
AM_CONDITIONAL(USE_NEON, false)
914
AM_CONDITIONAL(USE_OSX_VIDEO, false)
915
AM_CONDITIONAL(USE_SDL, false)
916
AM_CONDITIONAL(USE_SNDFILE, false)
917
AM_CONDITIONAL(USE_SOUNDTOUCH, false)
918
AM_CONDITIONAL(USE_SPC, false)
919 920
AM_CONDITIONAL(USE_SWFDEC, false)
AM_CONDITIONAL(USE_THEORADEC, false)
921
AM_CONDITIONAL(USE_TIMIDITY, false)
922
AM_CONDITIONAL(USE_X264, false)
923
AM_CONDITIONAL(USE_XVID, false)
924
AM_CONDITIONAL(USE_WILDMIDI, false)
925
AM_CONDITIONAL(USE_DVB, false)
926

927
fi dnl of EXT plugins
928

929
dnl *** finalize CFLAGS, LDFLAGS, LIBS
930

931 932 933 934 935 936 937 938 939 940 941 942 943
dnl Overview:
dnl GST_OPTION_CFLAGS:  common flags for profiling, debugging, errors, ...
dnl GST_*:              flags shared by built objects to link against GStreamer
dnl GST_ALL_LDFLAGS:    linker flags shared by all
dnl GST_LIB_LDFLAGS:    additional linker flags for all libaries
dnl GST_LT_LDFLAGS:     library versioning of our libraries
dnl GST_PLUGIN_LDFLAGS: flags to be used for all plugins

dnl GST_OPTION_CFLAGS
if test "x$USE_DEBUG" = xyes; then
   PROFILE_CFLAGS="-g"
fi
AC_SUBST(PROFILE_CFLAGS)
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
944

945 946
DEPRECATED_CFLAGS="-DGST_DISABLE_DEPRECATED"
AC_SUBST(DEPRECATED_CFLAGS)
Julien Moutte Moutte's avatar
Julien Moutte Moutte committed
947

948 949 950
dnl every flag in GST_OPTION_CFLAGS can be overridden at make time
GST_OPTION_CFLAGS="\$(ERROR_CFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
AC_SUBST(GST_OPTION_CFLAGS)
Julien Moutte Moutte's avatar
Julien Moutte Moutte committed
951

952 953 954 955 956 957 958 959
dnl FIXME: do we want to rename to GST_ALL_* ?
dnl prefer internal headers to already installed ones
dnl also add builddir include for enumtypes and marshal
dnl add GST_OPTION_CFLAGS, but overridable
GST_CFLAGS="-I\$(top_srcdir)/gst-libs -I\$(top_builddir)/gst-libs $GST_CFLAGS \$(GST_OPTION_CFLAGS)"
AC_SUBST(GST_CFLAGS)
AC_SUBST(GST_LIBS)

960 961 962 963 964
dnl LDFLAGS really should only contain flags, not libs - they get added before
dnl whatevertarget_LIBS and -L flags here affect the rest of the linking
GST_ALL_LDFLAGS="-no-undefined"
AC_SUBST(GST_ALL_LDFLAGS)

965 966 967 968 969 970
dnl this really should only contain flags, not libs - they get added before
dnl whatevertarget_LIBS and -L flags here affect the rest of the linking
GST_PLUGIN_LDFLAGS="-module -avoid-version -export-symbols-regex '^[_]*gst_plugin_desc\$\$' $GST_ALL_LDFLAGS"
AC_SUBST(GST_PLUGIN_LDFLAGS)

dnl *** output files ***
971

972
dnl po/Makefile.in
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
973

974

Andy Wingo Wingo's avatar
Andy Wingo Wingo committed
975
AC_CONFIG_FILES(
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
976
Makefile
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
977
gst-plugins-bad.spec
978
gst/Makefile
979
gst/app/Makefile
980
gst/bayer/Makefile
981
gst/cdxaparse/Makefile
982
gst/deinterlace/Makefile
983
gst/equalizer/Makefile
984
gst/filter/Makefile
985
gst/freeze/Makefile
986
gst/h264parse/Makefile
987
gst/interleave/Makefile
988
gst/librfb/Makefile
Tim-Philipp Müller's avatar
 
Tim-Philipp Müller committed
989 990
gst/modplug/Makefile
gst/modplug/libmodplug/Makefile
991
gst/mpegvideoparse/Makefile
David Schleef's avatar
David Schleef committed
992
gst/multifile/Makefile
993
gst/mve/Makefile
994
gst/nsf/Makefile
995
gst/nuvdemux/Makefile
996
gst/replaygain/Makefile
997
gst/rtpmanager/Makefile
998
gst/spectrum/Makefile
999
gst/speed/Makefile
1000
gst/switch/Makefile
1001
gst/tta/Makefile
1002
gst/videocrop/Makefile
1003
gst/videoparse/Makefile
1004
gst/videosignal/Makefile
Michael Smith's avatar
Michael Smith committed
1005
gst/vmnc/Makefile
1006
gst/xingheader/Makefile
1007
gst/real/Makefile
1008
gst/y4m/Makefile
Tim-Philipp Müller's avatar
Tim-Philipp Müller committed
1009 1010
gst-libs/Makefile
gst-libs/gst/Makefile
1011
gst-libs/gst/app/Makefile
1012
sys/Makefile
1013
sys/glsink/Makefile
1014
sys/dvb/Makefile
1015
sys/osxvideo/Makefile
Julien Moutte Moutte's avatar
Julien Moutte Moutte committed
1016
examples/Makefile
David Schleef's avatar
David Schleef committed
1017
examples/app/Makefile
Julien Moutte Moutte's avatar
Julien Moutte Moutte committed
1018
examples/directfb/Makefile
1019
examples/switch/Makefile
1020
ext/amrwb/Makefile
1021
ext/alsaspdif/Makefile
Andy Wingo Wingo's avatar
Andy Wingo Wingo committed
1022
ext/bz2/Makefile
1023
ext/cdaudio/Makefile
1024
ext/directfb/Makefile
1025 1026
ext/divx/Makefile
ext/dts/Makefile
1027
ext/faac/Makefile
1028
ext/faad/Makefile
1029
ext/gsm/Makefile
1030
ext/ivorbis/Makefile
1031
ext/jack/Makefile
1032
ext/ladspa/Makefile
1033
ext/libmms/Makefile
1034
ext/Makefile
1035
ext/nas/Makefile
1036
ext/mpeg2enc/Makefile
1037
ext/musepack/Makefile
1038
ext/musicbrainz/Makefile
1039
ext/mythtv/Makefile
1040
ext/neon/Makefile
1041
ext/sdl/Makefile
1042
ext/sndfile/Makefile
1043
ext/soundtouch/Makefile
1044
ext/spc/Makefile
1045
ext/swfdec/Makefile
1046
ext/theora/Makefile
1047
ext/timidity/Makefile
1048
ext/x264/Makefile
1049
ext/xvid/Makefile
1050
po/Makefile.in
Julien Moutte Moutte's avatar
Julien Moutte Moutte committed
1051 1052 1053
docs/Makefile
docs/plugins/Makefile
docs/version.entities
1054 1055 1056
common/Makefile
common/m4/Makefile
m4/Makefile
1057
tests/Makefile
1058
tests/check/Makefile
1059
tests/icles/Makefile
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
1060
)
Andy Wingo Wingo's avatar
Andy Wingo Wingo committed
1061 1062
AC_OUTPUT

1063
AG_GST_OUTPUT_PLUGINS