2012-11-07 18:41:02 +00:00
AC_PREREQ([2.68])
2002-02-16 05:44:09 +00:00
2006-06-11 12:14:18 +00:00
dnl please read gstreamer/docs/random/autotools before changing this file
2005-10-16 13:54:44 +00:00
dnl initialize autoconf
2009-05-12 00:21:57 +00:00
dnl releases only do -Wall, git and prerelease does -Werror too
dnl use a three digit version number for releases, and four for git/prerelease
2014-07-19 16:04:35 +00:00
AC_INIT([GStreamer Base Plug-ins],[1.5.0.1],[http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer],[gst-plugins-base])
2006-04-01 09:50:34 +00:00
2007-02-28 19:27:28 +00:00
AG_GST_INIT
2006-04-01 09:50:34 +00:00
dnl initialize automake
2013-08-02 12:11:01 +00:00
AM_INIT_AUTOMAKE([-Wno-portability 1.11 no-dist-gzip dist-xz tar-ustar subdir-objects])
2006-04-01 09:50:34 +00:00
dnl define PACKAGE_VERSION_* variables
AS_VERSION
dnl check if this is a release version
2009-05-12 00:21:57 +00:00
AS_NANO(GST_GIT="no", GST_GIT="yes")
2003-09-19 06:24:35 +00:00
2005-10-16 13:54:44 +00:00
dnl can autoconf find the source ?
2005-11-23 11:58:41 +00:00
AC_CONFIG_SRCDIR([gst/audiotestsrc/gstaudiotestsrc.c])
2005-10-16 13:54:44 +00:00
dnl define the output header for config
2012-11-07 18:41:02 +00:00
AC_CONFIG_HEADERS([config.h])
2005-10-16 13:54:44 +00:00
dnl AM_MAINTAINER_MODE only provides the option to configure to enable it
2012-04-13 11:39:17 +00:00
AM_MAINTAINER_MODE([enable])
2005-10-16 13:54:44 +00:00
dnl sets host_* variables
AC_CANONICAL_HOST
2010-02-26 14:40:49 +00:00
dnl use pretty build output with automake >= 1.11
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])],
[AM_DEFAULT_VERBOSITY=1
AC_SUBST(AM_DEFAULT_VERBOSITY)])
2012-04-04 12:20:13 +00:00
dnl our libraries and install dirs use GST_API_VERSION in the filename
dnl to allow side-by-side installation of different API versions
GST_API_VERSION=1.0
AC_SUBST(GST_API_VERSION)
AC_DEFINE_UNQUOTED(GST_API_VERSION, "$GST_API_VERSION",
[GStreamer API Version])
2002-12-08 14:50:09 +00:00
dnl CURRENT, REVISION, AGE
dnl - library source changed -> increment REVISION
dnl - interfaces added/removed/changed -> increment CURRENT, REVISION = 0
dnl - interfaces added -> increment AGE
dnl - interfaces removed -> AGE = 0
2012-11-28 17:50:45 +00:00
dnl
dnl Keep CURRENT as MINOR * 100 + MICRO
dnl Ex : 1.0.0 => 0
dnl 1.0.3 => 3
dnl 1.1.0 => 100
dnl 1.2.5 => 205
dnl 1.10.9 (who knows) => 1009
dnl
2005-10-16 13:54:44 +00:00
dnl sets GST_LT_LDFLAGS
2014-07-19 16:04:35 +00:00
AS_LIBTOOL(GST, 501, 0, 501)
2006-04-01 15:34:38 +00:00
2005-12-20 15:57:06 +00:00
dnl *** required versions of GStreamer stuff ***
2014-07-19 16:04:35 +00:00
GST_REQ=1.5.0.1
2005-12-20 15:57:06 +00:00
2005-10-16 13:54:44 +00:00
dnl *** autotools stuff ****
2001-12-17 18:37:01 +00:00
2005-10-16 13:54:44 +00:00
dnl allow for different autotools
AS_AUTOTOOLS_ALTERNATE
2002-02-06 18:18:16 +00:00
2005-10-16 13:54:44 +00:00
dnl Add parameters for aclocal
AC_SUBST(ACLOCAL_AMFLAGS, "-I m4 -I common/m4")
2004-07-13 06:36:55 +00:00
2005-10-16 13:54:44 +00:00
dnl set up gettext
dnl the version check needs to stay here because autopoint greps for it
2008-11-29 13:31:47 +00:00
AM_GNU_GETTEXT_VERSION([0.17])
2004-01-19 15:45:55 +00:00
AM_GNU_GETTEXT([external])
2012-04-04 12:20:13 +00:00
AG_GST_GETTEXT([gst-plugins-base-$GST_API_VERSION])
2004-01-19 15:45:55 +00:00
2005-10-16 13:54:44 +00:00
dnl *** check for arguments to configure ***
2012-01-19 14:07:34 +00:00
AG_GST_ARG_DISABLE_FATAL_WARNINGS
2007-02-28 19:27:28 +00:00
AG_GST_ARG_DEBUG
AG_GST_ARG_PROFILING
AG_GST_ARG_VALGRIND
AG_GST_ARG_GCOV
2005-10-16 13:54:44 +00:00
2007-02-28 19:27:28 +00:00
AG_GST_ARG_EXAMPLES
2005-10-16 13:54:44 +00:00
2007-02-28 19:27:28 +00:00
AG_GST_ARG_WITH_PKG_CONFIG_PATH
AG_GST_ARG_WITH_PACKAGE_NAME
AG_GST_ARG_WITH_PACKAGE_ORIGIN
2005-10-16 13:54:44 +00:00
2010-08-14 18:02:44 +00:00
AG_GST_PKG_CONFIG_PATH
gst-libs/gst/utils/: API: add API for applications to initiate installation of missing plugins, ie. gst_install_plugi...
Original commit message from CVS:
* gst-libs/gst/utils/Makefile.am:
* gst-libs/gst/utils/base-utils.h:
* gst-libs/gst/utils/install-plugins.c:
(gst_install_plugins_context_set_xid),
(gst_install_plugins_context_new),
(gst_install_plugins_context_free),
(gst_install_plugins_get_helper),
(gst_install_plugins_spawn_child),
(gst_install_plugins_return_from_status),
(gst_install_plugins_installer_exited),
(gst_install_plugins_async), (gst_install_plugins_sync),
(gst_install_plugins_return_get_name),
(gst_install_plugins_installation_in_progress):
* gst-libs/gst/utils/install-plugins.h:
API: add API for applications to initiate installation of missing
plugins, ie. gst_install_plugins_async() primarily.
Based on libgimme-codec by Ryan Lortie.
* configure.ac:
Add --with-install-plugins-helper configure option so distros can specify
the path of the helper script or program to call when plugin installation
is requested (distros: please do any argument munging in this helper
script instead of patching GStreamer to pass arguments differently
to another program directly).
* docs/libs/gst-plugins-base-libs-docs.sgml:
* docs/libs/gst-plugins-base-libs-sections.txt:
Build and document new API.
* tests/check/libs/utils.c: (result_cb),
(test_base_utils_install_plugins_do_callout), (GST_START_TEST),
(libgstbaseutils_suite):
Some simple checks for the new API.
2007-02-02 20:42:08 +00:00
dnl let distro override plugin install helper path
AC_ARG_WITH(install-plugins-helper,
2012-11-07 18:41:02 +00:00
AS_HELP_STRING([--with-install-plugins-helper],[specify path of helper script to call to install plugins]),
gst-libs/gst/utils/: API: add API for applications to initiate installation of missing plugins, ie. gst_install_plugi...
Original commit message from CVS:
* gst-libs/gst/utils/Makefile.am:
* gst-libs/gst/utils/base-utils.h:
* gst-libs/gst/utils/install-plugins.c:
(gst_install_plugins_context_set_xid),
(gst_install_plugins_context_new),
(gst_install_plugins_context_free),
(gst_install_plugins_get_helper),
(gst_install_plugins_spawn_child),
(gst_install_plugins_return_from_status),
(gst_install_plugins_installer_exited),
(gst_install_plugins_async), (gst_install_plugins_sync),
(gst_install_plugins_return_get_name),
(gst_install_plugins_installation_in_progress):
* gst-libs/gst/utils/install-plugins.h:
API: add API for applications to initiate installation of missing
plugins, ie. gst_install_plugins_async() primarily.
Based on libgimme-codec by Ryan Lortie.
* configure.ac:
Add --with-install-plugins-helper configure option so distros can specify
the path of the helper script or program to call when plugin installation
is requested (distros: please do any argument munging in this helper
script instead of patching GStreamer to pass arguments differently
to another program directly).
* docs/libs/gst-plugins-base-libs-docs.sgml:
* docs/libs/gst-plugins-base-libs-sections.txt:
Build and document new API.
* tests/check/libs/utils.c: (result_cb),
(test_base_utils_install_plugins_do_callout), (GST_START_TEST),
(libgstbaseutils_suite):
Some simple checks for the new API.
2007-02-02 20:42:08 +00:00
[
case "${withval}" in
yes) AC_MSG_ERROR(bad value ${withval} for --with-install-plugins-helper) ;;
no) AC_MSG_ERROR(bad value ${withval} for --with-install-plugins-helper) ;;
*) GST_INSTALL_PLUGINS_HELPER="${withval}" ;;
esac
],
[
dnl Default value
AS_AC_EXPAND(GST_INSTALL_PLUGINS_HELPER,${libexecdir}/gst-install-plugins-helper)
]
)
AC_MSG_NOTICE(Using $GST_INSTALL_PLUGINS_HELPER as plugin install helper)
AC_DEFINE_UNQUOTED(GST_INSTALL_PLUGINS_HELPER, "$GST_INSTALL_PLUGINS_HELPER",
[plugin install helper script])
AC_SUBST(GST_INSTALL_PLUGINS_HELPER)
2007-09-25 07:50:59 +00:00
AG_GST_ARG_WITH_PLUGINS
2005-10-17 15:53:53 +00:00
2007-09-25 07:50:59 +00:00
AG_GST_ARG_ENABLE_EXTERNAL
2005-10-17 15:53:53 +00:00
2008-02-07 23:18:43 +00:00
AG_GST_ARG_ENABLE_EXPERIMENTAL
2008-03-03 12:01:15 +00:00
2005-10-16 13:54:44 +00:00
dnl *** checks for platform ***
2012-01-01 19:44:08 +00:00
AG_GST_PLATFORM
2005-10-16 13:54:44 +00:00
dnl * hardware/architecture *
dnl common/m4/gst-arch.m4
dnl check CPU type
2007-02-28 19:27:28 +00:00
AG_GST_ARCH
2005-10-16 13:54:44 +00:00
2007-06-06 08:01:42 +00:00
dnl check for large file support
dnl affected plugins must include config.h
AC_SYS_LARGEFILE
2005-10-16 13:54:44 +00:00
dnl *** checks for programs ***
dnl find a compiler
AC_PROG_CC
2010-08-04 17:24:29 +00:00
AC_PROG_CC_STDC
2003-05-21 15:16:51 +00:00
2008-01-10 12:22:46 +00:00
dnl check if the compiler supports '-c' and '-o' options
AM_PROG_CC_C_O
2011-03-12 17:51:41 +00:00
dnl determine if c++ is available on this system
AC_PROG_CXX
dnl CXX may be set to some default even if no c++ compiler is available
dnl (thanks autotools!), so just try to compile some c++ code to make sure
AC_LANG_PUSH([C++])
2012-11-07 18:41:02 +00:00
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ class Foo { int bar; };]], [[]])],[working_cxx=yes],[working_cxx=no])
2011-03-12 17:51:41 +00:00
AC_LANG_POP([C++])
AC_MSG_NOTICE([working c++ compiler found: $working_cxx])
AM_CONDITIONAL(HAVE_CXX, test "x$working_cxx" = "xyes")
2005-10-16 13:54:44 +00:00
AC_PATH_PROG(VALGRIND_PATH, valgrind, no)
AM_CONDITIONAL(HAVE_VALGRIND, test ! "x$VALGRIND_PATH" = "xno")
2009-09-05 08:40:21 +00:00
dnl check for gobject-introspection
2011-12-12 12:59:44 +00:00
GOBJECT_INTROSPECTION_CHECK([1.31.1])
2009-09-05 08:40:21 +00:00
2005-10-16 13:54:44 +00:00
dnl check for documentation tools
2012-08-22 11:17:08 +00:00
GTK_DOC_CHECK([1.12])
2012-11-07 17:34:39 +00:00
AG_GST_PLUGIN_DOCS([1.12])
2005-10-16 13:54:44 +00:00
dnl *** checks for libraries ***
2007-02-24 20:12:49 +00:00
dnl libm, for sin() etc.
2012-04-13 11:39:17 +00:00
LT_LIB_M
2007-02-24 20:12:49 +00:00
AC_SUBST(LIBM)
2005-10-16 13:54:44 +00:00
dnl *** checks for header files ***
dnl check if we have ANSI C header files
AC_HEADER_STDC
2012-10-07 00:58:05 +00:00
dnl check for GCC specific SSE headers
dnl these are used by the speex resampler code
AC_CHECK_HEADERS([xmmintrin.h emmintrin.h])
2012-02-12 21:04:02 +00:00
dnl used in gst/tcp
AC_CHECK_HEADERS([sys/socket.h],
2012-01-01 19:48:29 +00:00
[HAVE_SYS_SOCKET_H="yes"], [HAVE_SYS_SOCKET_H="no"], [AC_INCLUDES_DEFAULT])
2012-02-12 21:04:02 +00:00
AM_CONDITIONAL(HAVE_SYS_SOCKET_H, test "x$HAVE_SYS_SOCKET_H" = "xyes")
2014-05-04 15:54:54 +00:00
dnl used in gst-libs/gst/rtsp
AC_CHECK_HEADERS([winsock2.h], [HAVE_WINSOCK2_H=yes], [HAVE_WINSOCK2_H=no], [AC_INCLUDES_DEFAULT])
AM_CONDITIONAL(HAVE_WINSOCK2_H, test "x$HAVE_WINSOCK2_H" = "xyes")
if test "x$HAVE_WINSOCK2_H" = "xyes"; then
WIN32_LIBS="-lws2_32"
AC_SUBST(WIN32_LIBS)
fi
rename utils to pbutils
Original commit message from CVS:
* configure.ac:
* docs/libs/gst-plugins-base-libs-docs.sgml:
* docs/libs/gst-plugins-base-libs-sections.txt:
* gst-libs/gst/Makefile.am:
* gst-libs/gst/interfaces/mixer.c:
* gst-libs/gst/pbutils/Makefile.am:
* gst-libs/gst/pbutils/descriptions.c:
(gst_pb_utils_get_source_description),
(gst_pb_utils_get_sink_description),
(gst_pb_utils_get_decoder_description),
(gst_pb_utils_get_encoder_description),
(gst_pb_utils_get_element_description),
(gst_pb_utils_add_codec_description_to_tag_list),
(gst_pb_utils_get_codec_description), (gst_pb_utils_list_all):
* gst-libs/gst/pbutils/descriptions.h:
* gst-libs/gst/pbutils/install-plugins.c:
* gst-libs/gst/pbutils/install-plugins.h:
* gst-libs/gst/pbutils/missing-plugins.c:
(gst_missing_uri_source_message_new),
(gst_missing_uri_sink_message_new),
(gst_missing_element_message_new),
(gst_missing_decoder_message_new),
(gst_missing_encoder_message_new),
(gst_missing_plugin_message_get_description):
* gst-libs/gst/pbutils/missing-plugins.h:
* gst-libs/gst/pbutils/pbutils.c: (gst_pb_utils_init):
* gst-libs/gst/pbutils/pbutils.h:
* gst-libs/gst/utils/Makefile.am:
* gst-libs/gst/utils/base-utils.c:
* gst-libs/gst/utils/base-utils.h:
* gst-libs/gst/utils/descriptions.c:
* gst-libs/gst/utils/descriptions.h:
* gst-libs/gst/utils/install-plugins.c:
* gst-libs/gst/utils/install-plugins.h:
* gst-libs/gst/utils/missing-plugins.c:
* gst-libs/gst/utils/missing-plugins.h:
* gst-plugins-base.spec.in:
* gst/playback/Makefile.am:
* gst/playback/gstdecodebin.c:
* gst/playback/gstdecodebin2.c:
* gst/playback/gstplaybasebin.c: (setup_subtitle),
(gen_source_element):
* gst/playback/gstplaybin.c: (plugin_init):
* tests/check/Makefile.am:
* tests/check/libs/pbutils.c: (GST_START_TEST),
(test_pb_utils_install_plugins_do_callout), (libgstpbutils_suite):
* tests/check/libs/utils.c:
rename utils to pbutils
2007-03-04 23:39:51 +00:00
dnl used in gst-libs/gst/pbutils and associated unit test
2012-01-01 19:48:29 +00:00
AC_CHECK_HEADERS([process.h sys/types.h sys/wait.h sys/stat.h], [], [], [AC_INCLUDES_DEFAULT])
API: add new libgstbaseutils library with functions
Original commit message from CVS:
* configure.ac:
* gst-libs/gst/Makefile.am:
* gst-libs/gst/utils/Makefile.am:
* gst-libs/gst/utils/base-utils.c: (gst_base_utils_init):
* gst-libs/gst/utils/base-utils.h:
* gst-libs/gst/utils/descriptions.c: (format_info_get_desc),
(find_format_info), (caps_are_rtp_caps),
(gst_base_utils_get_source_description),
(gst_base_utils_get_sink_description),
(gst_base_utils_get_decoder_description),
(gst_base_utils_get_encoder_description),
(gst_base_utils_get_element_description),
(gst_base_utils_add_codec_description_to_tag_list),
(gst_base_utils_get_codec_description), (gst_base_utils_list_all):
* gst-libs/gst/utils/descriptions.h:
* gst-libs/gst/utils/missing-plugins.c:
(missing_structure_get_type), (copy_and_clean_caps),
(gst_missing_uri_source_message_new),
(gst_missing_uri_sink_message_new),
(gst_missing_element_message_new),
(gst_missing_decoder_message_new),
(gst_missing_encoder_message_new),
(missing_structure_get_string_detail),
(missing_structure_get_caps_detail),
(gst_missing_plugin_message_get_installer_detail),
(gst_missing_plugin_message_get_description),
(gst_is_missing_plugin_message):
* gst-libs/gst/utils/missing-plugins.h:
API: add new libgstbaseutils library with functions
- to create and parse missing-plugins messages
- that provide (translated) descriptions for caps/decoders/sources/etc.
Closes #392393.
* pkgconfig/gstreamer-plugins-base-uninstalled.pc.in:
* pkgconfig/gstreamer-plugins-base.pc.in:
Add new lib.
* docs/libs/gst-plugins-base-libs-docs.sgml:
* docs/libs/gst-plugins-base-libs-sections.txt:
Generate docs for new lib and API.
* tests/check/Makefile.am:
* tests/check/libs/.cvsignore:
* tests/check/libs/utils.c: (missing_msg_check_getters),
(GST_START_TEST), (libgstbaseutils_suite):
Add some basic unit tests.
2007-01-09 14:20:08 +00:00
2012-10-15 20:07:22 +00:00
dnl checks for ARM NEON support
dnl this instruction set is used by the speex resampler code
AC_MSG_CHECKING(for ARM NEON support in current arch/CFLAGS)
AC_LINK_IFELSE([
AC_LANG_PROGRAM([[
#include <arm_neon.h>
int32x4_t testfunc(int16_t *a, int16_t *b) {
2013-11-15 14:17:03 +00:00
asm volatile ("vmull.s16 q0, d0, d0" : : : "q0");
2012-10-15 20:07:22 +00:00
return vmull_s16(vld1_s16(a), vld1_s16(b));
}
]])],
[
AC_DEFINE(HAVE_ARM_NEON,[],[ARM NEON support is enabled])
AC_MSG_RESULT(yes)
],
[
AC_MSG_RESULT(no)
])
2006-02-13 20:49:07 +00:00
dnl also, Windows does not have long long
2005-10-17 09:33:24 +00:00
AX_CREATE_STDINT_H
2007-01-08 13:32:32 +00:00
dnl *** checks for functions ***
2008-02-02 07:13:15 +00:00
AC_CHECK_FUNCS([localtime_r gmtime_r])
2007-01-08 13:32:32 +00:00
2009-10-07 05:28:15 +00:00
dnl *** checks for math functions ***
2010-08-25 14:19:31 +00:00
LIBS_SAVE=$LIBS
LIBS="$LIBS $LIBM"
AC_CHECK_FUNCS(log2)
LIBS=$LIBS_SAVE
2009-10-07 05:28:15 +00:00
2005-10-16 13:54:44 +00:00
dnl *** checks for types/defines ***
dnl *** checks for structures ***
dnl *** checks for compiler characteristics ***
dnl *** checks for library functions ***
2007-06-06 09:08:50 +00:00
dnl check for fseeko()
AC_FUNC_FSEEKO
2005-10-16 13:54:44 +00:00
dnl Check for fast float to int casting as defined in C99
2011-09-23 20:18:47 +00:00
dnl used to be used in gst-libs/gst/floatcast/floatcast.h (FIXME: still needed?)
2008-03-21 13:27:47 +00:00
save_libs=$LIBS
LIBS="$LIBS $LIBM"
2005-10-16 13:54:44 +00:00
AC_C99_FUNC_LRINT
AC_C99_FUNC_LRINTF
2008-03-21 13:27:47 +00:00
LIBS=$save_libs
2004-03-15 16:27:29 +00:00
2003-11-11 03:22:53 +00:00
dnl Check for a way to display the function name in debug output
2007-02-28 19:27:28 +00:00
AG_GST_CHECK_FUNCTION
2005-10-16 13:54:44 +00:00
2007-02-12 20:42:23 +00:00
dnl *** checks for dependency libraries ***
2003-11-11 03:22:53 +00:00
2012-01-18 15:15:30 +00:00
dnl GLib
2012-08-08 14:08:33 +00:00
GLIB_REQ=2.32
2012-01-18 15:15:30 +00:00
AG_GST_GLIB_CHECK([$GLIB_REQ])
2005-10-16 13:54:44 +00:00
2014-12-17 12:01:19 +00:00
ORC_CHECK([0.4.23])
2003-11-06 02:32:42 +00:00
2005-10-17 15:53:53 +00:00
dnl checks for gstreamer
dnl uninstalled is selected preferentially -- see pkg-config(1)
2012-04-04 12:20:13 +00:00
AG_GST_CHECK_GST($GST_API_VERSION, [$GST_REQ], yes)
2014-10-30 17:53:15 +00:00
AG_GST_CHECK_GST_NET($GST_API_VERSION, [$GST_REQ], yes)
2012-04-04 12:20:13 +00:00
AG_GST_CHECK_GST_BASE($GST_API_VERSION, [$GST_REQ], yes)
AG_GST_CHECK_GST_CONTROLLER($GST_API_VERSION, [$GST_REQ], yes)
AG_GST_CHECK_GST_CHECK($GST_API_VERSION, [$GST_REQ], no)
2007-07-13 16:02:23 +00:00
AM_CONDITIONAL(HAVE_GST_CHECK, test "x$HAVE_GST_CHECK" = "xyes")
2005-10-17 15:53:53 +00:00
2007-02-12 20:42:23 +00:00
dnl Check for documentation xrefs
GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
2012-04-04 12:20:13 +00:00
GST_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-$GST_API_VERSION`"
2007-02-12 20:42:23 +00:00
AC_SUBST(GLIB_PREFIX)
AC_SUBST(GST_PREFIX)
2008-04-18 17:10:43 +00:00
dnl GTK is optional and only used in examples
2010-11-05 20:47:41 +00:00
HAVE_GTK=no
HAVE_GTK_X11=no
2011-11-12 15:51:52 +00:00
GTK_REQ=3.0.0
2010-11-05 20:47:41 +00:00
if test "x$BUILD_EXAMPLES" = "xyes"; then
2011-11-12 15:51:52 +00:00
PKG_CHECK_MODULES(GTK, gtk+-3.0 >= $GTK_REQ, HAVE_GTK=yes, HAVE_GTK=no)
2010-11-05 20:47:41 +00:00
dnl some examples need gtk+-x11
2011-11-12 15:51:52 +00:00
PKG_CHECK_MODULES(GTK_X11, gtk+-x11-3.0 >= $GTK_REQ, HAVE_GTK_X11=yes, HAVE_GTK_X11=no)
2012-05-21 11:14:32 +00:00
PKG_CHECK_MODULES(GTK_QUARTZ, gtk+-quartz-3.0 >= $GTK_REQ, HAVE_GTK_QUARTZ=yes, HAVE_GTK_QUARTZ=no)
2010-11-05 20:47:41 +00:00
AC_SUBST(GTK_LIBS)
AC_SUBST(GTK_CFLAGS)
fi
2005-10-17 15:53:53 +00:00
AM_CONDITIONAL(HAVE_GTK, test "x$HAVE_GTK" = "xyes")
2009-01-02 15:04:13 +00:00
AM_CONDITIONAL(HAVE_GTK_X11, test "x$HAVE_GTK_X11" = "xyes")
2012-05-21 11:14:32 +00:00
AM_CONDITIONAL(HAVE_GTK_QUARTZ, test "x$HAVE_GTK_QUARTZ" = "xyes")
2009-01-02 15:04:13 +00:00
2014-01-20 09:30:36 +00:00
HAVE_QT=no
HAVE_QT_MOC=no
2010-02-16 13:43:26 +00:00
dnl QT is optional and only used in examples
2014-01-20 08:46:15 +00:00
PKG_CHECK_MODULES(QT, Qt5Gui Qt5Widgets, [
2010-03-05 15:58:44 +00:00
HAVE_QT=yes
], [
2014-01-20 08:46:15 +00:00
HAVE_QT=no
2010-03-05 15:58:44 +00:00
])
2010-06-01 12:00:22 +00:00
if test "x$HAVE_QT" = "xyes"; then
2014-01-20 08:46:15 +00:00
AC_CHECK_TOOL(QT_MOC, moc)
AC_MSG_CHECKING([for Qt5 moc])
mocversion=`$QT_MOC -v 2>&1`
mocversiongrep=`echo $mocversion | grep "Qt 5\|moc 5"`
if test x"$mocversiongrep" != x"$mocversion"; then
AC_MSG_RESULT([no])
# moc was not the qt5 one, try with moc-qt5
AC_CHECK_TOOL(QT_MOC, moc-qt5)
AC_MSG_CHECKING([for Qt5 moc-qt5])
mocversion=`$QT_MOC -v 2>&1`
mocversiongrep=`echo $mocversion | grep "Qt 5\|moc 5"`
if test x"$mocversiongrep" != x"$mocversion"; then
AC_CHECK_TOOL(QTCHOOSER, qtchooser)
AC_MSG_CHECKING([for qtchooser])
qt5tooldir=`QT_SELECT=qt5 qtchooser -print-env | grep QTTOOLDIR | cut -d '=' -f 2 | cut -d \" -f 2`
mocversion=`$qt5tooldir/moc -v 2>&1`
mocversiongrep=`echo $mocversion | grep "Qt 5\|moc 5"`
if test x"$mocversiongrep" != x"$mocversion"; then
# no valid moc found
QT_MOC="no"
else
QT_MOC=$qt5tooldir/moc
fi
else
QT_MOC=$QT_MOC
fi
fi
AC_SUBST(QT_MOC)
AC_MSG_RESULT([$QT_MOC])
2010-06-01 12:00:22 +00:00
fi
2010-02-16 13:43:26 +00:00
AM_CONDITIONAL(HAVE_QT, test "x$HAVE_QT" = "xyes")
2014-01-20 08:46:15 +00:00
AM_CONDITIONAL(HAVE_QT_MOC, test "x$HAVE_QT_MOC" != "xno")
2010-02-16 13:43:26 +00:00
2010-04-04 11:13:02 +00:00
dnl chck for linux headers needed by the joystick seek example
AC_COMPILE_IFELSE(
[
AC_LANG_PROGRAM([
#include <linux/input.h>
#include <linux/joystick.h>
],[
struct js_event js;
js.type = JS_EVENT_AXIS;
])
], [
HAVE_LINUX_JOYSTICK_HEADERS="yes"
], [
HAVE_LINUX_JOYSTICK_HEADERS="no"
])
AM_CONDITIONAL(HAVE_LINUX_JOYSTICK_HEADERS, test "x$HAVE_LINUX_JOYSTICK_HEADERS" = "xyes")
2010-12-15 10:21:05 +00:00
dnl Check for -Bsymbolic-functions linker flag used to avoid
dnl intra-library PLT jumps, if available.
AC_ARG_ENABLE(Bsymbolic,
2012-11-07 18:41:02 +00:00
[AS_HELP_STRING([--disable-Bsymbolic],[avoid linking with -Bsymbolic])],,
2010-12-15 10:21:05 +00:00
[SAVED_LDFLAGS="${LDFLAGS}"
AC_MSG_CHECKING([for -Bsymbolic-functions linker flag])
LDFLAGS=-Wl,-Bsymbolic-functions
2012-11-07 18:41:02 +00:00
AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[int main (void) { return 0; }]])],[
2010-12-15 10:21:05 +00:00
AC_MSG_RESULT(yes)
2012-11-07 18:41:02 +00:00
enable_Bsymbolic=yes],[
2010-12-15 10:21:05 +00:00
AC_MSG_RESULT(no)
2012-11-07 18:41:02 +00:00
enable_Bsymbolic=no])
2010-12-15 10:21:05 +00:00
LDFLAGS="${SAVED_LDFLAGS}"])
2005-10-16 13:54:44 +00:00
dnl *** set variables based on configure arguments ***
dnl set license and copyright notice
GST_LICENSE="LGPL"
AC_DEFINE_UNQUOTED(GST_LICENSE, "$GST_LICENSE", [GStreamer license])
AC_SUBST(GST_LICENSE)
dnl set location of plugin directory
2007-02-28 19:27:28 +00:00
AG_GST_SET_PLUGINDIR
2004-05-20 19:19:26 +00:00
2010-07-24 08:22:28 +00:00
dnl set release date/time
AG_GST_SET_PACKAGE_RELEASE_DATETIME_WITH_NANO([$PACKAGE_VERSION_NANO],
["${srcdir}/gst-plugins-base.doap"],
[$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO])
2012-10-24 10:10:44 +00:00
dnl build static plugins or not
AC_MSG_CHECKING([whether to build static plugins or not])
AC_ARG_ENABLE(
static-plugins,
AC_HELP_STRING(
[--enable-static-plugins],
[build static plugins @<:@default=no@:>@]),
[AS_CASE(
[$enableval], [no], [], [yes], [],
[AC_MSG_ERROR([bad value "$enableval" for --enable-static-plugins])])],
[enable_static_plugins=no])
AC_MSG_RESULT([$enable_static_plugins])
if test "x$enable_static_plugins" = xyes; then
AC_DEFINE(GST_PLUGIN_BUILD_STATIC, 1,
[Define if static plugins should be built])
GST_PLUGIN_LIBTOOLFLAGS=""
else
GST_PLUGIN_LIBTOOLFLAGS="--tag=disable-static"
fi
AC_SUBST(GST_PLUGIN_LIBTOOLFLAGS)
AM_CONDITIONAL(GST_PLUGIN_BUILD_STATIC, test "x$enable_static_plugins" = "xyes")
2011-11-09 00:36:51 +00:00
# set by AG_GST_PARSE_SUBSYSTEM_DISABLES above
dnl make sure it doesn't complain about unused variables if debugging is disabled
NO_WARNINGS=""
AG_GST_CHECK_GST_DEBUG_DISABLED([NO_WARNINGS="-Wno-unused"], [NO_WARNINGS=""])
2005-10-16 13:54:44 +00:00
dnl define an ERROR_CFLAGS Makefile variable
2010-03-17 09:53:21 +00:00
dnl -Wformat-nonliteral - see ext/pango/gstclockoverlay.c and http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39438
2012-01-19 14:07:34 +00:00
AG_GST_SET_ERROR_CFLAGS($FATAL_WARNINGS, [
2010-03-17 16:32:35 +00:00
-Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef
2010-04-15 10:18:05 +00:00
-Wwrite-strings -Wformat-nonliteral -Wformat-security
2010-03-17 16:32:35 +00:00
-Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return
2011-11-09 00:36:51 +00:00
-Wno-multichar -Wnested-externs $NO_WARNINGS])
2005-10-16 13:54:44 +00:00
2010-02-16 13:43:26 +00:00
dnl define an ERROR_CXXFLAGS Makefile variable
2012-01-19 14:07:34 +00:00
AG_GST_SET_ERROR_CXXFLAGS($FATAL_WARNINGS, [
2010-03-17 23:57:31 +00:00
-Wmissing-declarations -Wredundant-decls -Wundef
2010-04-15 10:18:05 +00:00
-Wwrite-strings -Wformat-nonliteral -Wformat-security
2010-03-17 16:32:35 +00:00
-Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return
2011-11-09 00:36:51 +00:00
-Wno-multichar $NO_WARNINGS])
2010-02-16 13:43:26 +00:00
2005-10-16 13:54:44 +00:00
dnl define correct level for debugging messages
2009-05-12 00:21:57 +00:00
AG_GST_SET_LEVEL_DEFAULT($GST_GIT)
2005-10-16 13:54:44 +00:00
2005-11-16 18:20:17 +00:00
dnl used in examples
2007-02-28 19:27:28 +00:00
AG_GST_DEFAULT_ELEMENTS
2004-12-14 06:43:30 +00:00
2010-12-22 17:16:33 +00:00
dnl needed for encoding-target
GST_DATADIR="$GST_PREFIX/share"
AC_DEFINE_UNQUOTED(GST_DATADIR, "$GST_DATADIR", [system wide data directory])
2012-04-04 12:20:13 +00:00
AC_DEFINE_UNQUOTED(GST_API_VERSION, "$GST_API_VERSION", [major/minor version])
2010-12-22 17:16:33 +00:00
2009-02-02 13:43:03 +00:00
dnl behaviour of speex based audio resampler
AC_MSG_CHECKING(which audio resample format to use for integer)
AC_ARG_WITH([audioresample_format],
AS_HELP_STRING([--with-audioresample-format],[Which implementation should be used for integer audio resampling, int/float/auto, (default is auto)]),
[ac_cv_audioresample_format=$withval], [ac_cv_audioresample_format=auto])dnl
AC_MSG_RESULT($ac_cv_audioresample_format)
case $ac_cv_audioresample_format in
int)
AC_DEFINE(AUDIORESAMPLE_FORMAT_INT,1,[The int implementation should be used for integer audio resampling])
AC_SUBST(AUDIORESAMPLE_FORMAT_INT)
;;
float)
AC_DEFINE(AUDIORESAMPLE_FORMAT_FLOAT,1,[The float implementation should be used for integer audio resampling])
AC_SUBST(AUDIORESAMPLE_FORMAT_FLOAT)
;;
auto)
AC_DEFINE(AUDIORESAMPLE_FORMAT_AUTO,1,[The implementation that should be used for integer audio resampling witll be benchmarked at runtime])
AC_SUBST(AUDIORESAMPLE_FORMAT_AUTO)
esac
2013-02-18 14:18:38 +00:00
dnl Check for mmap (needed by allocators library)
2013-02-19 09:32:08 +00:00
AC_CHECK_FUNC([mmap], [AC_DEFINE(HAVE_MMAP, 1, [Defined if mmap is supported])])
2013-02-18 14:18:38 +00:00
2008-03-03 12:01:15 +00:00
dnl *** plug-ins to include ***
dnl these are all the gst plug-ins, compilable without additional libs
AG_GST_CHECK_PLUGIN(adder)
2009-01-05 23:04:57 +00:00
AG_GST_CHECK_PLUGIN(app)
2008-03-03 12:01:15 +00:00
AG_GST_CHECK_PLUGIN(audioconvert)
AG_GST_CHECK_PLUGIN(audiorate)
AG_GST_CHECK_PLUGIN(audiotestsrc)
2010-08-13 15:36:38 +00:00
AG_GST_CHECK_PLUGIN(encoding)
2011-06-15 15:49:21 +00:00
AG_GST_CHECK_PLUGIN(videoconvert)
2012-01-18 15:19:12 +00:00
AG_GST_CHECK_PLUGIN(gio)
2008-03-03 12:01:15 +00:00
AG_GST_CHECK_PLUGIN(playback)
2009-01-23 11:31:06 +00:00
AG_GST_CHECK_PLUGIN(audioresample)
2008-03-03 12:01:15 +00:00
AG_GST_CHECK_PLUGIN(subparse)
AG_GST_CHECK_PLUGIN(tcp)
AG_GST_CHECK_PLUGIN(typefind)
AG_GST_CHECK_PLUGIN(videotestsrc)
AG_GST_CHECK_PLUGIN(videorate)
AG_GST_CHECK_PLUGIN(videoscale)
AG_GST_CHECK_PLUGIN(volume)
2009-12-11 23:59:54 +00:00
dnl iso-codes is optional, used by libgsttag
AC_ARG_ENABLE(iso-codes,
2012-11-07 18:41:02 +00:00
AS_HELP_STRING([--enable-iso-codes],[use iso-codes if installed]),
2009-12-11 23:59:54 +00:00
[case "${enableval}" in
yes) enable_iso_codes=yes ;;
no) enable_iso_codes=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-iso-codes) ;;
esac
],
[enable_iso_codes=yes]) dnl Default value
AC_MSG_CHECKING([whether to use iso-codes if they are available])
if test "x$enable_iso_codes" = "xyes"; then
AC_MSG_RESULT([yes])
have_iso_codes=no
AC_MSG_CHECKING([whether iso-codes are available on this system])
if $PKG_CONFIG iso-codes; then
AC_MSG_RESULT([yes])
AC_MSG_CHECKING([whether iso-codes has iso-639 domain])
if $PKG_CONFIG --variable=domains iso-codes | $GREP -q 639 ; then
AC_MSG_RESULT([yes])
AC_MSG_CHECKING([for iso-codes prefix])
ISO_CODES_PREFIX=`$PKG_CONFIG --variable=prefix iso-codes`
if test -d "$ISO_CODES_PREFIX"; then
AC_MSG_RESULT([yes])
AC_MSG_CHECKING([ISO_CODES_PREFIX])
AC_MSG_RESULT([$ISO_CODES_PREFIX])
ISO_639_DOMAIN="iso_639"
AC_MSG_CHECKING([ISO_639_DOMAIN])
AC_MSG_RESULT([$ISO_639_DOMAIN])
have_iso_codes=yes
AC_DEFINE([HAVE_ISO_CODES], [1], [make use of iso-codes for ISO-639])
AC_DEFINE_UNQUOTED([ISO_CODES_PREFIX], ["$ISO_CODES_PREFIX"], [prefix])
ISO_CODES_VERSION=`$PKG_CONFIG --modversion iso-codes`
AC_DEFINE_UNQUOTED([ISO_CODES_VERSION], ["$ISO_CODES_VERSION"], [ ])
else
AC_MSG_RESULT([no])
fi
else
AC_MSG_RESULT([no])
fi
else
AC_MSG_RESULT([no])
fi
AM_CONDITIONAL(USE_ISO_CODES, test "x$have_iso_codes" = "xyes")
else
AC_MSG_RESULT([no (disabled via --disable-iso-codes)])
AM_CONDITIONAL(USE_ISO_CODES, false)
fi
2011-07-18 16:09:53 +00:00
dnl *** zlib is optionally used by id3 tag parsing in libgsttag ***
translit(dnm, m, l) AM_CONDITIONAL(USE_ZLIB, true)
AG_GST_CHECK_FEATURE(ZLIB, [zlib support for ID3 parsing in libgsttag],, [
2011-08-14 23:03:39 +00:00
PKG_CHECK_MODULES(ZLIB, [ zlib ], [
HAVE_ZLIB="yes"
], [
AG_GST_CHECK_LIBHEADER(ZLIB, z, uncompress,, zlib.h, [
HAVE_ZLIB="yes"
ZLIB_LIBS="-lz"
AC_SUBST(ZLIB_LIBS)
])
])
2011-07-18 16:09:53 +00:00
])
2005-10-17 15:53:53 +00:00
dnl *** sys plug-ins ***
2001-12-20 20:16:57 +00:00
2005-06-29 10:56:25 +00:00
echo
AC_MSG_NOTICE([Checking libraries for plugins in sys/])
echo
2005-10-17 15:53:53 +00:00
dnl *** X11 ***
2003-12-03 12:23:37 +00:00
translit(dnm, m, l) AM_CONDITIONAL(USE_X, true)
2007-02-28 19:27:28 +00:00
AG_GST_CHECK_FEATURE(X, [X libraries and plugins],
2003-12-03 12:23:37 +00:00
[ximagesink], [
2014-08-10 16:30:18 +00:00
AG_GST_PKG_CHECK_MODULES(X, x11)
2003-12-03 12:23:37 +00:00
])
2011-12-02 22:35:50 +00:00
2003-07-03 15:56:49 +00:00
dnl Check for Xv extension
2003-07-06 20:49:52 +00:00
translit(dnm, m, l) AM_CONDITIONAL(USE_XVIDEO, true)
2007-02-28 19:27:28 +00:00
AG_GST_CHECK_FEATURE(XVIDEO, [X11 XVideo extensions],
2004-03-09 13:10:14 +00:00
[xvimagesink], [
2014-08-10 16:30:18 +00:00
AG_GST_PKG_CHECK_MODULES(XVIDEO, x11 xv)
2003-07-06 20:49:52 +00:00
])
2001-12-17 18:37:01 +00:00
2003-11-12 03:06:07 +00:00
dnl check for X Shm
translit(dnm, m, l) AM_CONDITIONAL(USE_XSHM, true)
2014-08-10 16:30:18 +00:00
AG_GST_CHECK_FEATURE(XSHM, [X Shared Memory extension], [ ], [
2003-11-12 03:06:07 +00:00
if test x$HAVE_X = xyes; then
2014-08-10 16:30:18 +00:00
PKG_CHECK_MODULES(XSHM, xext, [
AC_CHECK_LIB(Xext, XShmAttach, [
HAVE_XSHM="yes"
], [
HAVE_XSHM="no"
XSHM_LIBS=""
], [ $X_LIBS ])
], [
HAVE_XSHM="no"
])
2003-11-12 03:06:07 +00:00
fi
2011-12-02 22:35:50 +00:00
], , [
AC_SUBST(HAVE_XSHM)
AC_SUBST(XSHM_LIBS)
2006-06-11 12:14:18 +00:00
])
2003-11-07 00:53:32 +00:00
2005-10-17 15:53:53 +00:00
dnl *** ext plug-ins ***
dnl keep this list sorted alphabetically !
2001-12-17 18:37:01 +00:00
2002-06-14 16:44:33 +00:00
if test "x$BUILD_EXTERNAL" = "xyes"; then
2005-06-29 10:56:25 +00:00
echo
AC_MSG_NOTICE([Checking libraries for plugins in ext/])
echo
2001-12-17 18:37:01 +00:00
dnl *** alsa ***
translit(dnm, m, l) AM_CONDITIONAL(USE_ALSA, true)
2007-02-28 19:27:28 +00:00
AG_GST_CHECK_FEATURE(ALSA, [ALSA], alsa, [
2004-03-10 17:21:14 +00:00
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")
])
2001-12-17 18:37:01 +00:00
])
dnl *** CDParanoia ***
2010-06-11 21:16:26 +00:00
dnl Note: upstream has a pkg-config file only in post-10.2 SVN so far
2001-12-17 18:37:01 +00:00
translit(dnm, m, l) AM_CONDITIONAL(USE_CDPARANOIA, true)
2007-02-28 19:27:28 +00:00
AG_GST_CHECK_FEATURE(CDPARANOIA, [CDParanoia], cdparanoia, [
2010-06-11 21:16:26 +00:00
PKG_CHECK_MODULES(CDPARANOIA, cdparanoia-3 >= 10.2, [
HAVE_CDPARANOIA="yes"
], [
2011-12-02 22:35:50 +00:00
AG_GST_CHECK_LIBHEADER(CDPARANOIA, cdda_interface,
cdda_open, -lm,
cdda_interface.h,
2002-07-04 19:38:06 +00:00
CDPARANOIA_LIBS="-lcdda_interface -lcdda_paranoia"
2010-06-11 21:16:26 +00:00
HEADER_DIR="no"
2002-07-04 19:38:06 +00:00
FOUND_CDPARANOIA="yes")
2010-06-11 21:16:26 +00:00
if test "x$FOUND_CDPARANOIA" != "xyes";
then
2011-12-02 22:35:50 +00:00
AG_GST_CHECK_LIBHEADER(CDPARANOIA, cdda_interface,
cdda_open, -lm,
cdda/cdda_interface.h,
2010-06-11 21:16:26 +00:00
CDPARANOIA_LIBS="-lcdda_interface -lcdda_paranoia"
HEADER_DIR="yes"
FOUND_CDPARANOIA="yes")
fi
if test "x$HEADER_DIR" = "xyes";
then
AC_DEFINE_UNQUOTED(CDPARANOIA_HEADERS_IN_DIR, ,
defined if cdda headers are in a cdda/ directory)
fi
if test "x$FOUND_CDPARANOIA" = "xyes";
then
AC_CHECK_LIB(cdda_paranoia,
paranoia_cachemodel_size,
: ,
HAVE_CDPARANOIA=no,
[-lcdda_interface])
fi
2009-06-19 01:27:40 +00:00
2010-06-11 21:16:26 +00:00
AC_SUBST(CDPARANOIA_LIBS)
])
2001-12-17 18:37:01 +00:00
])
dnl FIXME : add second check somehow if that is necessary
dnl AC_CHECK_LIB(cdda_paranoia, paranoia_init, : , HAVE_CDPARANOIA=no, -lcdda_interface )
dnl AC_CHECK_HEADER(cdda_paranoia.h, :, HAVE_CDPARANOIA=no)
2010-02-15 11:09:53 +00:00
dnl *** ivorbis ***
dnl AM_PATH_IVORBIS only takes two options
translit(dnm, m, l) AM_CONDITIONAL(USE_IVORBIS, true)
AG_GST_CHECK_FEATURE(IVORBIS, [integer vorbis plug-in], ivorbisdec, [
AG_GST_PKG_CHECK_MODULES(IVORBIS, vorbisidec)
if test $HAVE_IVORBIS = no
then
IVORBIS_LIBS=
IVORBIS_CFLAGS=
AC_CHECK_LIB(vorbisidec, vorbis_block_init,
[IVORBIS_LIBS=-lvorbisidec
HAVE_IVORBIS=yes
case $host in
arm-*-*)
IVORBIS_CFLAGS="-D_ARM_ASSEM_ $IVORBIS_CFLAGS"
esac
],
HAVE_IVORBIS=no)
AC_SUBST(IVORBIS_LIBS)
AC_SUBST(IVORBIS_CFLAGS)
2011-03-31 17:56:00 +00:00
else
AC_CHECK_LIB(vorbisidec, vorbis_dsp_pcmout,
AC_DEFINE([USE_TREMOLO],1, "Define if building for android"),
USE_TREMOLO=no)
2010-02-15 11:09:53 +00:00
fi
])
2004-04-30 02:25:09 +00:00
dnl *** libvisual ***
translit(dnm, m, l) AM_CONDITIONAL(USE_LIBVISUAL, true)
2007-02-28 19:27:28 +00:00
AG_GST_CHECK_FEATURE(LIBVISUAL, [libvisual visualization library], libvisual, [
AG_GST_PKG_CHECK_MODULES(LIBVISUAL, libvisual-0.4 >= 0.4.0)
2014-07-11 08:13:03 +00:00
if test x$HAVE_LIBVISUAL = xyes; then
LIBVIS_PLUGINSDIR="`$PKG_CONFIG --variable=pluginsbasedir libvisual-0.4`"
2009-01-06 18:03:51 +00:00
fi
AC_MSG_NOTICE([libvisual pluginsdir: $LIBVIS_PLUGINSDIR])
if test x$LIBVIS_PLUGINSDIR != x; then
AC_DEFINE_UNQUOTED(LIBVISUAL_PLUGINSBASEDIR,
"$LIBVIS_PLUGINSDIR",
[directory in which the detected libvisual's plugins are located])
2006-06-11 12:14:18 +00:00
fi
2004-04-30 02:25:09 +00:00
])
2003-11-24 04:08:48 +00:00
dnl *** ogg ***
translit(dnm, m, l) AM_CONDITIONAL(USE_OGG, true)
2007-02-28 19:27:28 +00:00
AG_GST_CHECK_FEATURE(OGG, [Xiph Ogg library], ogg, [
AG_GST_PKG_CHECK_MODULES(OGG, ogg >= 1.0)
2003-11-24 04:08:48 +00:00
])
2005-12-01 15:14:11 +00:00
dnl *** pango ***
translit(dnm, m, l) AM_CONDITIONAL(USE_PANGO, true)
2007-02-28 19:27:28 +00:00
AG_GST_CHECK_FEATURE(PANGO, [Pango font rendering], pango, [
2012-03-04 09:28:49 +00:00
AG_GST_PKG_CHECK_MODULES(PANGO, pango >= 1.22.0 pangocairo >= 1.22.0)
2005-12-01 15:14:11 +00:00
])
2004-01-30 20:23:24 +00:00
dnl *** theora ***
translit(dnm, m, l) AM_CONDITIONAL(USE_THEORA, true)
2007-02-28 19:27:28 +00:00
AG_GST_CHECK_FEATURE(THEORA, [Xiph Theora video codec], theora, [
2010-07-04 18:14:34 +00:00
AG_GST_PKG_CHECK_MODULES(THEORA, theoradec >= 1.1 theoraenc >= 1.1)
2004-01-30 20:23:24 +00:00
])
2001-12-17 18:37:01 +00:00
dnl *** vorbis ***
translit(dnm, m, l) AM_CONDITIONAL(USE_VORBIS, true)
2007-02-28 19:27:28 +00:00
AG_GST_CHECK_FEATURE(VORBIS, [Xiph Vorbis audio codec], vorbis, [
AG_GST_PKG_CHECK_MODULES(VORBIS, vorbis >= 1.0 vorbisenc >= 1.0)
2001-12-17 18:37:01 +00:00
])
2006-06-11 12:14:18 +00:00
2014-11-03 12:47:18 +00:00
dnl *** gio-unix-2.0 for tests/check/pipelines/tcp.c ***
translit(dnm, m, l) AM_CONDITIONAL(USE_GIO_UNIX_2_0, true)
AG_GST_CHECK_FEATURE(GIO_UNIX_2_0, [glib GIO unix], gio-unix-2.0, [
AG_GST_PKG_CHECK_MODULES(GIO_UNIX_2_0, gio-unix-2.0 >= 2.24)
])
2004-02-01 19:21:01 +00:00
if test "x$HAVE_VORBIS" = "xyes"; then
ac_cflags_save="$CFLAGS"
2012-03-09 16:56:00 +00:00
AC_COMPILE_IFELSE([
AC_LANG_PROGRAM([[
2004-02-01 19:21:01 +00:00
#include <vorbis/codec.h>
2012-03-09 16:56:00 +00:00
]],[[
2004-02-01 19:21:01 +00:00
vorbis_dsp_state *v;
vorbis_synthesis_restart (v);
2012-03-09 16:56:00 +00:00
]])], HAVE_VSR=yes, HAVE_VSR=no)
2004-02-01 19:21:01 +00:00
if test "x$HAVE_VSR" = "xyes"; then
AC_DEFINE_UNQUOTED(HAVE_VORBIS_SYNTHESIS_RESTART, 1,
[defined if vorbis_synthesis_restart is present])
fi
CFLAGS="$ac_cflags_save"
fi
2001-12-17 18:37:01 +00:00
2006-06-17 14:13:03 +00:00
else
dnl not building plugins with external dependencies,
dnl but we still need to set the conditionals
AM_CONDITIONAL(USE_ALSA, false)
AM_CONDITIONAL(USE_CDPARANOIA, false)
2010-06-30 10:00:45 +00:00
AM_CONDITIONAL(USE_IVORBIS, false)
2006-06-17 14:13:03 +00:00
AM_CONDITIONAL(USE_LIBVISUAL, false)
AM_CONDITIONAL(USE_OGG, false)
AM_CONDITIONAL(USE_PANGO, false)
AM_CONDITIONAL(USE_THEORA, false)
AM_CONDITIONAL(USE_VORBIS, false)
2002-06-14 16:44:33 +00:00
fi dnl of EXT plugins
2002-08-17 17:57:38 +00:00
dnl seeking needs freetype, so check for it here
2004-03-10 17:21:14 +00:00
PKG_CHECK_MODULES(FT2, freetype2 >= 2.0.9, HAVE_FT2="yes", [
AC_CHECK_FT2(2.0.9, HAVE_FT2="yes", HAVE_FT2="no")
])
2002-08-17 17:57:38 +00:00
dnl make the HAVE_FT2 variable available to automake and Makefile.am
AM_CONDITIONAL(HAVE_FT2, test "x$HAVE_FT2" = "xyes")
AC_SUBST(FT2_CFLAGS)
AC_SUBST(FT2_LIBS)
2005-10-16 13:54:44 +00:00
dnl *** finalize CFLAGS, LDFLAGS, LIBS
dnl Overview:
dnl GST_OPTION_CFLAGS: common flags for profiling, debugging, errors, ...
2005-11-27 16:18:50 +00:00
dnl GST_*: flags shared by built objects to link against GStreamer
2007-01-04 12:49:48 +00:00
dnl GST_PLUGINS_BASE_CFLAGS: to link internally against the plugins base libs
dnl (compare to other modules) or for i18n
2005-11-27 16:18:50 +00:00
dnl GST_ALL_LDFLAGS: linker flags shared by all
dnl GST_LIB_LDFLAGS: additional linker flags for all libaries
2005-10-16 13:54:44 +00:00
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)
2008-02-08 00:57:21 +00:00
if test "x$PACKAGE_VERSION_NANO" = "x1"; then
2009-05-12 00:21:57 +00:00
dnl Define _only_ when compiling a git version (not pre-releases or releases)
2007-12-09 04:28:38 +00:00
DEPRECATED_CFLAGS="-DGST_DISABLE_DEPRECATED"
else
DEPRECATED_CFLAGS=""
fi
2005-10-16 13:54:44 +00:00
AC_SUBST(DEPRECATED_CFLAGS)
2010-02-16 13:43:26 +00:00
dnl every flag in GST_OPTION_CFLAGS and GST_OPTION_CXXFLAGS can be overridden
dnl at make time with e.g. make ERROR_CFLAGS=""
2010-03-10 20:01:20 +00:00
GST_OPTION_CFLAGS="\$(WARNING_CFLAGS) \$(ERROR_CFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
2010-03-11 11:04:32 +00:00
GST_OPTION_CXXFLAGS="\$(WARNING_CXXFLAGS) \$(ERROR_CXXFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
2005-10-16 13:54:44 +00:00
AC_SUBST(GST_OPTION_CFLAGS)
2010-02-16 13:43:26 +00:00
AC_SUBST(GST_OPTION_CXXFLAGS)
2005-10-16 13:54:44 +00:00
dnl our libraries need to be versioned correctly
AC_SUBST(GST_LT_LDFLAGS)
2007-01-04 12:49:48 +00:00
dnl GST_PLUGINS_BASE_CFLAGS
2003-01-16 09:54:28 +00:00
dnl prefer internal headers to already installed ones
2004-07-06 15:32:08 +00:00
dnl also add builddir include for enumtypes and marshal
2007-01-04 12:49:48 +00:00
GST_PLUGINS_BASE_CFLAGS="-I\$(top_srcdir)/gst-libs -I\$(top_builddir)/gst-libs"
AC_SUBST(GST_PLUGINS_BASE_CFLAGS)
dnl FIXME: do we want to rename to GST_ALL_* ?
2005-11-27 16:18:50 +00:00
dnl add GST_OPTION_CFLAGS, but overridable
2012-09-17 15:03:39 +00:00
GST_CFLAGS="$GST_CFLAGS"
2011-11-02 19:31:11 +00:00
GST_CXXFLAGS="$GLIB_CFLAGS $GST_CFLAGS \$(GLIB_EXTRA_CFLAGS) \$(GST_OPTION_CXXFLAGS)"
GST_CFLAGS="$GLIB_CFLAGS $GST_CFLAGS \$(GLIB_EXTRA_CFLAGS) \$(GST_OPTION_CFLAGS)"
2001-12-21 12:46:50 +00:00
AC_SUBST(GST_CFLAGS)
2010-02-16 13:43:26 +00:00
AC_SUBST(GST_CXXFLAGS)
2006-07-02 21:48:51 +00:00
dnl add GCOV libs because libtool strips -fprofile-arcs -ftest-coverage
GST_LIBS="$GST_LIBS \$(GCOV_LIBS)"
2005-10-16 13:54:44 +00:00
AC_SUBST(GST_LIBS)
2001-12-17 18:37:01 +00:00
2005-11-27 16:18:50 +00:00
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"
2011-01-08 02:16:19 +00:00
if test "x${enable_Bsymbolic}" = "xyes"; then
2010-12-15 10:21:05 +00:00
GST_ALL_LDFLAGS="$GST_ALL_LDFLAGS -Wl,-Bsymbolic-functions"
fi
2005-11-27 16:18:50 +00:00
AC_SUBST(GST_ALL_LDFLAGS)
dnl GST_LIB_LDFLAGS
dnl linker flags shared by all libraries
dnl LDFLAGS modifier defining exported symbols from built libraries
2007-12-13 10:10:35 +00:00
dnl (export _gst_foo but not __gst_foo)
GST_LIB_LDFLAGS="-export-symbols-regex ^_?\(gst_\|Gst\|GST_\).*"
2005-11-27 16:18:50 +00:00
AC_SUBST(GST_LIB_LDFLAGS)
2005-10-16 13:54:44 +00:00
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
2012-10-24 10:10:44 +00:00
GST_PLUGIN_LDFLAGS="-module -avoid-version -export-symbols-regex '^[_]*gst_plugin_.*' $GST_ALL_LDFLAGS"
2005-10-16 13:54:44 +00:00
AC_SUBST(GST_PLUGIN_LDFLAGS)
2003-10-31 20:03:29 +00:00
2005-10-16 13:54:44 +00:00
dnl *** output files ***
2001-12-17 18:37:01 +00:00
2013-08-02 21:33:24 +00:00
$MKDIR_P tests/check/orc
2002-02-08 20:12:28 +00:00
AC_CONFIG_FILES(
2001-12-17 18:37:01 +00:00
Makefile
2005-05-05 15:06:40 +00:00
gst-plugins-base.spec
2001-12-21 11:46:15 +00:00
gst/Makefile
2001-12-23 20:21:19 +00:00
gst/adder/Makefile
2009-01-05 23:04:57 +00:00
gst/app/Makefile
2003-04-14 01:20:30 +00:00
gst/audioconvert/Makefile
2005-05-06 03:32:51 +00:00
gst/audiorate/Makefile
add new plugin and element
Original commit message from CVS:
* configure.ac:
* docs/plugins/gst-plugins-base-plugins-docs.sgml:
* docs/plugins/gst-plugins-base-plugins-sections.txt:
* gst/audioscale/gstaudioscale.c: (gst_audioscale_method_get_type):
* gst/audiotestsrc/Makefile.am:
* gst/audiotestsrc/gstaudiotestsrc.c:
(gst_audiostestsrc_wave_get_type), (gst_audiotestsrc_base_init),
(gst_audiotestsrc_class_init), (gst_audiotestsrc_init),
(gst_audiotestsrc_src_fixate), (gst_audiotestsrc_setcaps),
(gst_audiotestsrc_get_query_types), (gst_audiotestsrc_src_query),
(gst_audiotestsrc_wait), (gst_audiotestsrc_unlock),
(gst_audiotestsrc_create_sine), (gst_audiotestsrc_create_square),
(gst_audiotestsrc_create_saw), (gst_audiotestsrc_create_triangle),
(gst_audiotestsrc_create_silence),
(gst_audiotestsrc_create_white_noise),
(gst_audiotestsrc_change_wave), (gst_audiotestsrc_create),
(gst_audiotestsrc_set_property), (gst_audiotestsrc_get_property),
(gst_audiotestsrc_start), (plugin_init):
* gst/audiotestsrc/gstaudiotestsrc.h:
add new plugin and element
* gst/sine/gstsinesrc.c: (gst_sinesrc_class_init):
use gobject_class
2005-10-09 18:34:44 +00:00
gst/audiotestsrc/Makefile
2010-08-13 15:36:38 +00:00
gst/encoding/Makefile
2011-06-15 15:49:21 +00:00
gst/videoconvert/Makefile
2012-01-18 15:19:12 +00:00
gst/gio/Makefile
Added some playback helper elements and some test apps, very alpha still.
Original commit message from CVS:
* configure.ac:
* gst/playback/Makefile.am:
* gst/playback/decodetest.c: (main):
* gst/playback/gstdecodebin.c: (gst_decode_bin_get_type),
(gst_decode_bin_class_init), (gst_decode_bin_factory_filter),
(compare_ranks), (gst_decode_bin_init), (gst_decode_bin_dispose),
(find_compatibles), (close_pad_link), (try_to_link_1), (new_pad),
(close_link), (type_found), (gst_decode_bin_set_property),
(gst_decode_bin_get_property), (gst_decode_bin_change_state),
(gst_decode_bin_get_event_masks), (gst_decode_bin_send_event),
(gst_decode_bin_get_formats), (gst_decode_bin_convert),
(gst_decode_bin_get_query_types), (gst_decode_bin_query),
(plugin_init):
* gst/playback/gstplaybin.c: (gst_play_bin_get_type),
(gst_play_bin_class_init), (gst_play_bin_init),
(gst_play_bin_dispose), (gen_default_output), (rebuild_pipeline),
(collect_sink_pads), (find_compatibles), (close_pad_link),
(try_to_link_1), (new_pad), (close_link), (type_found),
(setup_source), (gst_play_bin_set_property),
(gst_play_bin_get_property), (gst_play_bin_factory_filter),
(compare_ranks), (gst_play_bin_collect_factories),
(gst_play_bin_change_state), (gst_play_bin_add_element),
(gst_play_bin_remove_element), (gst_play_bin_get_event_masks),
(gst_play_bin_send_event), (gst_play_bin_get_formats),
(gst_play_bin_convert), (gst_play_bin_get_query_types),
(gst_play_bin_query), (gst_play_bin_get_clock), (plugin_init):
* gst/playback/test.c: (main):
Added some playback helper elements and some test apps, very alpha
still.
2004-07-05 11:14:30 +00:00
gst/playback/Makefile
2009-01-23 11:31:06 +00:00
gst/audioresample/Makefile
2005-05-06 03:32:51 +00:00
gst/subparse/Makefile
Ported tcp plugins to 0.9.
Original commit message from CVS:
* configure.ac:
* gst/tcp/Makefile.am:
* gst/tcp/README:
* gst/tcp/gstmultifdsink.c: (gst_multifdsink_get_type),
(gst_multifdsink_base_init), (gst_multifdsink_class_init),
(gst_multifdsink_init), (gst_multifdsink_remove_client_link),
(is_sync_frame), (gst_multifdsink_handle_client_write),
(gst_multifdsink_render), (gst_multifdsink_start),
(gst_multifdsink_stop), (gst_multifdsink_change_state):
* gst/tcp/gstmultifdsink.h:
* gst/tcp/gsttcp.c: (gst_tcp_host_to_ip),
(gst_tcp_gdp_read_buffer), (gst_tcp_gdp_read_caps),
(gst_tcp_gdp_write_buffer), (gst_tcp_gdp_write_caps):
* gst/tcp/gsttcp.h:
* gst/tcp/gsttcpclientsink.c: (gst_tcpclientsink_class_init),
(gst_tcpclientsink_init), (gst_tcpclientsink_setcaps),
(gst_tcpclientsink_render), (gst_tcpclientsink_start),
(gst_tcpclientsink_stop), (gst_tcpclientsink_change_state):
* gst/tcp/gsttcpclientsink.h:
* gst/tcp/gsttcpclientsrc.c: (gst_tcpclientsrc_get_type),
(gst_tcpclientsrc_base_init), (gst_tcpclientsrc_class_init),
(gst_tcpclientsrc_init), (gst_tcpclientsrc_getcaps),
(gst_tcpclientsrc_create), (gst_tcpclientsrc_start),
(gst_tcpclientsrc_stop), (gst_tcpclientsrc_unlock):
* gst/tcp/gsttcpclientsrc.h:
* gst/tcp/gsttcpplugin.c: (plugin_init):
* gst/tcp/gsttcpserversink.c: (gst_tcpserversink_class_init):
* gst/tcp/gsttcpserversink.h:
* gst/tcp/gsttcpserversrc.c: (gst_tcpserversrc_get_type),
(gst_tcpserversrc_base_init), (gst_tcpserversrc_class_init),
(gst_tcpserversrc_init), (gst_tcpserversrc_finalize),
(gst_tcpserversrc_create), (gst_tcpserversrc_start),
(gst_tcpserversrc_stop):
* gst/tcp/gsttcpserversrc.h:
* gst/tcp/gsttcpsink.c:
* gst/tcp/gsttcpsink.h:
* gst/tcp/gsttcpsrc.c:
* gst/tcp/gsttcpsrc.h:
Ported tcp plugins to 0.9.
2005-07-05 10:21:40 +00:00
gst/tcp/Makefile
2003-10-28 20:52:41 +00:00
gst/typefind/Makefile
2002-07-26 22:20:45 +00:00
gst/videotestsrc/Makefile
2005-06-23 17:10:55 +00:00
gst/videorate/Makefile
2005-07-01 17:13:02 +00:00
gst/videoscale/Makefile
2005-05-09 21:37:17 +00:00
gst/volume/Makefile
2001-12-20 20:16:57 +00:00
sys/Makefile
2003-11-07 00:53:32 +00:00
sys/ximage/Makefile
2003-11-12 03:06:07 +00:00
sys/xvimage/Makefile
2001-12-20 23:13:50 +00:00
ext/Makefile
2001-12-23 00:25:30 +00:00
ext/alsa/Makefile
2001-12-23 13:06:22 +00:00
ext/cdparanoia/Makefile
2004-04-30 02:25:09 +00:00
ext/libvisual/Makefile
2003-11-24 04:08:48 +00:00
ext/ogg/Makefile
2005-12-01 15:14:11 +00:00
ext/pango/Makefile
2004-01-30 20:23:24 +00:00
ext/theora/Makefile
ext/vorbis/Makefile
2001-12-21 11:46:15 +00:00
gst-libs/Makefile
2001-12-22 23:57:40 +00:00
gst-libs/gst/Makefile
2013-02-18 14:18:38 +00:00
gst-libs/gst/allocators/Makefile
2001-12-22 23:57:40 +00:00
gst-libs/gst/audio/Makefile
2009-01-05 23:04:57 +00:00
gst-libs/gst/app/Makefile
Add libgstfft, a FFT library based on Kiss FFT which is
Original commit message from CVS:
Reviewed by: Stefan Kost <ensonic@users.sf.net>
* configure.ac:
* gst-libs/gst/Makefile.am:
* gst-libs/gst/fft/Makefile.am:
* gst-libs/gst/fft/_kiss_fft_guts_f32.h:
* gst-libs/gst/fft/_kiss_fft_guts_f64.h:
* gst-libs/gst/fft/_kiss_fft_guts_s16.h:
* gst-libs/gst/fft/_kiss_fft_guts_s32.h:
* gst-libs/gst/fft/gstfft.c: (gst_fft_next_fast_length):
* gst-libs/gst/fft/gstfft.h:
* gst-libs/gst/fft/gstfftf32.c: (gst_fft_f32_new),
(gst_fft_f32_fft), (gst_fft_f32_inverse_fft), (gst_fft_f32_free),
(gst_fft_f32_window), (gst_fft_f32_magnitude), (gst_fft_f32_phase):
* gst-libs/gst/fft/gstfftf32.h:
* gst-libs/gst/fft/gstfftf64.c: (gst_fft_f64_new),
(gst_fft_f64_fft), (gst_fft_f64_inverse_fft), (gst_fft_f64_free),
(gst_fft_f64_window), (gst_fft_f64_magnitude), (gst_fft_f64_phase):
* gst-libs/gst/fft/gstfftf64.h:
* gst-libs/gst/fft/gstffts16.c: (gst_fft_s16_new),
(gst_fft_s16_fft), (gst_fft_s16_inverse_fft), (gst_fft_s16_free),
(gst_fft_s16_window), (gst_fft_s16_magnitude), (gst_fft_s16_phase):
* gst-libs/gst/fft/gstffts16.h:
* gst-libs/gst/fft/gstffts32.c: (gst_fft_s32_new),
(gst_fft_s32_fft), (gst_fft_s32_inverse_fft), (gst_fft_s32_free),
(gst_fft_s32_window), (gst_fft_s32_magnitude), (gst_fft_s32_phase):
* gst-libs/gst/fft/gstffts32.h:
* gst-libs/gst/fft/kiss_fft_f32.c: (kf_bfly2), (kf_bfly4),
(kf_bfly3), (kf_bfly5), (kf_bfly_generic), (kf_work), (kf_factor),
(kiss_fft_f32_alloc), (kiss_fft_f32_stride), (kiss_fft_f32),
(kiss_fft_f32_cleanup), (kiss_fft_f32_next_fast_size):
* gst-libs/gst/fft/kiss_fft_f32.h:
* gst-libs/gst/fft/kiss_fft_f64.c: (kf_bfly2), (kf_bfly4),
(kf_bfly3), (kf_bfly5), (kf_bfly_generic), (kf_work), (kf_factor),
(kiss_fft_f64_alloc), (kiss_fft_f64_stride), (kiss_fft_f64),
(kiss_fft_f64_cleanup), (kiss_fft_f64_next_fast_size):
* gst-libs/gst/fft/kiss_fft_f64.h:
* gst-libs/gst/fft/kiss_fft_s16.c: (kf_bfly2), (kf_bfly4),
(kf_bfly3), (kf_bfly5), (kf_bfly_generic), (kf_work), (kf_factor),
(kiss_fft_s16_alloc), (kiss_fft_s16_stride), (kiss_fft_s16),
(kiss_fft_s16_cleanup), (kiss_fft_s16_next_fast_size):
* gst-libs/gst/fft/kiss_fft_s16.h:
* gst-libs/gst/fft/kiss_fft_s32.c: (kf_bfly2), (kf_bfly4),
(kf_bfly3), (kf_bfly5), (kf_bfly_generic), (kf_work), (kf_factor),
(kiss_fft_s32_alloc), (kiss_fft_s32_stride), (kiss_fft_s32),
(kiss_fft_s32_cleanup), (kiss_fft_s32_next_fast_size):
* gst-libs/gst/fft/kiss_fft_s32.h:
* gst-libs/gst/fft/kiss_fftr_f32.c: (kiss_fftr_f32_alloc),
(kiss_fftr_f32), (kiss_fftri_f32):
* gst-libs/gst/fft/kiss_fftr_f32.h:
* gst-libs/gst/fft/kiss_fftr_f64.c: (kiss_fftr_f64_alloc),
(kiss_fftr_f64), (kiss_fftri_f64):
* gst-libs/gst/fft/kiss_fftr_f64.h:
* gst-libs/gst/fft/kiss_fftr_s16.c: (kiss_fftr_s16_alloc),
(kiss_fftr_s16), (kiss_fftri_s16):
* gst-libs/gst/fft/kiss_fftr_s16.h:
* gst-libs/gst/fft/kiss_fftr_s32.c: (kiss_fftr_s32_alloc),
(kiss_fftr_s32), (kiss_fftri_s32):
* gst-libs/gst/fft/kiss_fftr_s32.h:
* gst-libs/gst/fft/kiss_version:
* pkgconfig/gstreamer-plugins-base-uninstalled.pc.in:
* pkgconfig/gstreamer-plugins-base.pc.in:
Add libgstfft, a FFT library based on Kiss FFT which is
BSD licensed. Supported sample formats are int16, int32,
float and double. For those formats a real FFT and IFFT
can be done, different windowing functions can be applied
and functions for extracting the magnitude and phase exist.
Fixes #468619.
* docs/libs/Makefile.am:
* docs/libs/gst-plugins-base-libs-docs.sgml:
* docs/libs/gst-plugins-base-libs-sections.txt:
Integrate libgstfft into the docs.
* tests/check/Makefile.am:
* tests/check/libs/fft.c: (GST_START_TEST), (fft_suite), (main):
Add unit tests for libgstfft, currently only testing the FFT.
Unit tests for IFFT will follow soon.
2007-09-06 07:00:36 +00:00
gst-libs/gst/fft/Makefile
2001-12-23 12:18:18 +00:00
gst-libs/gst/riff/Makefile
2005-07-14 10:29:30 +00:00
gst-libs/gst/rtp/Makefile
Move SDP and RTSP from helper objects in -good to a reusable library.
Original commit message from CVS:
* configure.ac:
* gst-libs/gst/Makefile.am:
* gst-libs/gst/rtsp/Makefile.am:
* gst-libs/gst/rtsp/gstrtspbase64.c: (gst_rtsp_base64_encode):
* gst-libs/gst/rtsp/gstrtspbase64.h:
* gst-libs/gst/rtsp/gstrtspconnection.c: (inet_aton),
(gst_rtsp_connection_create), (gst_rtsp_connection_connect),
(add_auth_header), (add_date_header), (gst_rtsp_connection_write),
(gst_rtsp_connection_send), (read_line), (read_string), (read_key),
(parse_response_status), (parse_request_line), (parse_line),
(gst_rtsp_connection_read), (read_body),
(gst_rtsp_connection_receive), (gst_rtsp_connection_close),
(gst_rtsp_connection_free), (gst_rtsp_connection_next_timeout),
(gst_rtsp_connection_reset_timeout), (gst_rtsp_connection_flush),
(gst_rtsp_connection_set_auth):
* gst-libs/gst/rtsp/gstrtspconnection.h:
* gst-libs/gst/rtsp/gstrtspdefs.c: (rtsp_init_status),
(gst_rtsp_strresult), (gst_rtsp_method_as_text),
(gst_rtsp_version_as_text), (gst_rtsp_header_as_text),
(gst_rtsp_status_as_text), (gst_rtsp_find_header_field),
(gst_rtsp_find_method):
* gst-libs/gst/rtsp/gstrtspdefs.h:
* gst-libs/gst/rtsp/gstrtspmessage.c: (key_value_foreach),
(gst_rtsp_message_new), (gst_rtsp_message_init),
(gst_rtsp_message_new_request), (gst_rtsp_message_init_request),
(gst_rtsp_message_new_response), (gst_rtsp_message_init_response),
(gst_rtsp_message_init_data), (gst_rtsp_message_unset),
(gst_rtsp_message_free), (gst_rtsp_message_add_header),
(gst_rtsp_message_remove_header), (gst_rtsp_message_get_header),
(gst_rtsp_message_append_headers), (gst_rtsp_message_set_body),
(gst_rtsp_message_take_body), (gst_rtsp_message_get_body),
(gst_rtsp_message_steal_body), (dump_mem), (dump_key_value),
(gst_rtsp_message_dump):
* gst-libs/gst/rtsp/gstrtspmessage.h:
* gst-libs/gst/rtsp/gstrtsprange.c: (parse_npt_time),
(parse_npt_range), (parse_clock_range), (parse_smpte_range),
(gst_rtsp_range_parse), (gst_rtsp_range_free):
* gst-libs/gst/rtsp/gstrtsprange.h:
* gst-libs/gst/rtsp/gstrtsptransport.c: (gst_rtsp_transport_new),
(gst_rtsp_transport_init), (gst_rtsp_transport_get_mime),
(gst_rtsp_transport_get_manager), (parse_mode), (parse_range),
(range_as_text), (rtsp_transport_mode_as_text),
(rtsp_transport_profile_as_text), (rtsp_transport_ltrans_as_text),
(gst_rtsp_transport_parse), (gst_rtsp_transport_as_text),
(gst_rtsp_transport_free):
* gst-libs/gst/rtsp/gstrtsptransport.h:
* gst-libs/gst/rtsp/gstrtspurl.c: (gst_rtsp_url_parse),
(gst_rtsp_url_free), (gst_rtsp_url_set_port),
(gst_rtsp_url_get_port), (gst_rtsp_url_get_request_uri):
* gst-libs/gst/rtsp/gstrtspurl.h:
* gst-libs/gst/sdp/Makefile.am:
* gst-libs/gst/sdp/gstsdp.h:
* gst-libs/gst/sdp/gstsdpmessage.c: (gst_sdp_origin_init),
(gst_sdp_connection_init), (gst_sdp_bandwidth_init),
(gst_sdp_time_init), (gst_sdp_zone_init), (gst_sdp_key_init),
(gst_sdp_attribute_init), (gst_sdp_message_new),
(gst_sdp_message_init), (gst_sdp_message_uninit),
(gst_sdp_message_free), (gst_sdp_media_new), (gst_sdp_media_init),
(gst_sdp_media_uninit), (gst_sdp_media_free),
(gst_sdp_message_set_origin), (gst_sdp_message_get_origin),
(gst_sdp_message_set_connection), (gst_sdp_message_get_connection),
(gst_sdp_message_add_bandwidth), (gst_sdp_message_add_time),
(gst_sdp_message_add_zone), (gst_sdp_message_set_key),
(gst_sdp_message_get_key), (gst_sdp_message_get_attribute_val_n),
(gst_sdp_message_get_attribute_val),
(gst_sdp_message_add_attribute), (gst_sdp_message_add_media),
(gst_sdp_media_add_attribute), (gst_sdp_media_add_bandwidth),
(gst_sdp_media_add_format), (gst_sdp_media_get_attribute),
(gst_sdp_media_get_attribute_val_n),
(gst_sdp_media_get_attribute_val), (gst_sdp_media_get_format),
(read_string), (read_string_del), (gst_sdp_parse_line),
(gst_sdp_message_parse_buffer), (print_media),
(gst_sdp_message_dump):
* gst-libs/gst/sdp/gstsdpmessage.h:
* pkgconfig/gstreamer-plugins-base-uninstalled.pc.in:
Move SDP and RTSP from helper objects in -good to a reusable library.
Use a proper gst_ namespace.
2007-07-24 11:52:56 +00:00
gst-libs/gst/rtsp/Makefile
gst-libs/gst/sdp/Makefile
2003-12-14 19:50:00 +00:00
gst-libs/gst/tag/Makefile
rename utils to pbutils
Original commit message from CVS:
* configure.ac:
* docs/libs/gst-plugins-base-libs-docs.sgml:
* docs/libs/gst-plugins-base-libs-sections.txt:
* gst-libs/gst/Makefile.am:
* gst-libs/gst/interfaces/mixer.c:
* gst-libs/gst/pbutils/Makefile.am:
* gst-libs/gst/pbutils/descriptions.c:
(gst_pb_utils_get_source_description),
(gst_pb_utils_get_sink_description),
(gst_pb_utils_get_decoder_description),
(gst_pb_utils_get_encoder_description),
(gst_pb_utils_get_element_description),
(gst_pb_utils_add_codec_description_to_tag_list),
(gst_pb_utils_get_codec_description), (gst_pb_utils_list_all):
* gst-libs/gst/pbutils/descriptions.h:
* gst-libs/gst/pbutils/install-plugins.c:
* gst-libs/gst/pbutils/install-plugins.h:
* gst-libs/gst/pbutils/missing-plugins.c:
(gst_missing_uri_source_message_new),
(gst_missing_uri_sink_message_new),
(gst_missing_element_message_new),
(gst_missing_decoder_message_new),
(gst_missing_encoder_message_new),
(gst_missing_plugin_message_get_description):
* gst-libs/gst/pbutils/missing-plugins.h:
* gst-libs/gst/pbutils/pbutils.c: (gst_pb_utils_init):
* gst-libs/gst/pbutils/pbutils.h:
* gst-libs/gst/utils/Makefile.am:
* gst-libs/gst/utils/base-utils.c:
* gst-libs/gst/utils/base-utils.h:
* gst-libs/gst/utils/descriptions.c:
* gst-libs/gst/utils/descriptions.h:
* gst-libs/gst/utils/install-plugins.c:
* gst-libs/gst/utils/install-plugins.h:
* gst-libs/gst/utils/missing-plugins.c:
* gst-libs/gst/utils/missing-plugins.h:
* gst-plugins-base.spec.in:
* gst/playback/Makefile.am:
* gst/playback/gstdecodebin.c:
* gst/playback/gstdecodebin2.c:
* gst/playback/gstplaybasebin.c: (setup_subtitle),
(gen_source_element):
* gst/playback/gstplaybin.c: (plugin_init):
* tests/check/Makefile.am:
* tests/check/libs/pbutils.c: (GST_START_TEST),
(test_pb_utils_install_plugins_do_callout), (libgstpbutils_suite):
* tests/check/libs/utils.c:
rename utils to pbutils
2007-03-04 23:39:51 +00:00
gst-libs/gst/pbutils/Makefile
2010-07-26 15:04:02 +00:00
gst-libs/gst/pbutils/gstpluginsbaseversion.h
2002-09-26 12:20:12 +00:00
gst-libs/gst/video/Makefile
2002-02-04 20:57:13 +00:00
tools/Makefile
2003-04-07 21:34:30 +00:00
pkgconfig/Makefile
2013-02-18 14:18:38 +00:00
pkgconfig/gstreamer-allocators.pc
pkgconfig/gstreamer-allocators-uninstalled.pc
2008-01-14 13:11:05 +00:00
pkgconfig/gstreamer-audio.pc
pkgconfig/gstreamer-audio-uninstalled.pc
2009-01-06 12:16:18 +00:00
pkgconfig/gstreamer-app.pc
pkgconfig/gstreamer-app-uninstalled.pc
2008-01-14 13:11:05 +00:00
pkgconfig/gstreamer-fft.pc
pkgconfig/gstreamer-fft-uninstalled.pc
pkgconfig/gstreamer-pbutils.pc
pkgconfig/gstreamer-pbutils-uninstalled.pc
pkgconfig/gstreamer-riff.pc
pkgconfig/gstreamer-riff-uninstalled.pc
pkgconfig/gstreamer-rtp.pc
pkgconfig/gstreamer-rtp-uninstalled.pc
pkgconfig/gstreamer-rtsp.pc
pkgconfig/gstreamer-rtsp-uninstalled.pc
pkgconfig/gstreamer-sdp.pc
pkgconfig/gstreamer-sdp-uninstalled.pc
pkgconfig/gstreamer-tag.pc
pkgconfig/gstreamer-tag-uninstalled.pc
pkgconfig/gstreamer-video.pc
pkgconfig/gstreamer-video-uninstalled.pc
2005-06-30 13:25:15 +00:00
pkgconfig/gstreamer-plugins-base.pc
pkgconfig/gstreamer-plugins-base-uninstalled.pc
2005-11-30 17:05:56 +00:00
tests/Makefile
tests/check/Makefile
2005-11-30 17:38:24 +00:00
tests/examples/Makefile
2009-01-05 23:04:57 +00:00
tests/examples/app/Makefile
2011-05-27 12:03:19 +00:00
tests/examples/audio/Makefile
2007-09-14 16:56:16 +00:00
tests/examples/dynamic/Makefile
2010-09-13 08:08:47 +00:00
tests/examples/encoding/Makefile
2011-12-02 22:34:47 +00:00
tests/examples/fft/Makefile
2010-08-12 07:49:59 +00:00
tests/examples/gio/Makefile
2010-02-16 13:43:26 +00:00
tests/examples/overlay/Makefile
2005-11-30 17:38:24 +00:00
tests/examples/seek/Makefile
2007-09-20 14:09:24 +00:00
tests/examples/snapshot/Makefile
2012-03-02 10:57:34 +00:00
tests/examples/playback/Makefile
2010-09-16 13:01:59 +00:00
tests/examples/playrec/Makefile
2010-06-05 16:22:17 +00:00
tests/files/Makefile
2005-12-01 14:50:24 +00:00
tests/icles/Makefile
2010-08-12 09:08:35 +00:00
tests/icles/playback/Makefile
2005-06-29 10:56:25 +00:00
docs/Makefile
2007-01-01 18:59:49 +00:00
docs/design/Makefile
2005-06-29 10:56:25 +00:00
docs/libs/Makefile
2005-08-05 17:13:10 +00:00
docs/plugins/Makefile
2005-06-29 10:56:25 +00:00
docs/version.entities
2004-01-19 15:45:55 +00:00
po/Makefile.in
2004-03-18 12:38:53 +00:00
common/Makefile
common/m4/Makefile
m4/Makefile
2001-12-17 18:37:01 +00:00
)
2009-02-26 04:26:05 +00:00
dnl Create the config.h file for Visual Studio builds
dnl Beware of spaces and /'s in some of the shell variable contents.
sed \
2009-03-06 10:30:28 +00:00
-e 's/.*config.h.in.*autoheader.*/\/* Autogenerated config.h created for win32 Visual Studio builds *\/\n\n\/* PREFIX -- specifically added for Windows for easier moving *\/\n#define PREFIX "C:\\\\gstreamer"/' \
-e 's/.* GST_INSTALL_PLUGINS_HELPER/#define GST_INSTALL_PLUGINS_HELPER PREFIX "\\\\libexec\\\\gst-install-plugins-helper.exe"/' \
2009-02-26 04:26:05 +00:00
-e 's/.* GETTEXT_PACKAGE$/#define GETTEXT_PACKAGE "'$GETTEXT_PACKAGE'"/' \
-e 's/.* GST_DATADIR$/#define GST_DATADIR PREFIX "\\\\share"/' \
-e 's/.* GST_LEVEL_DEFAULT$/#define GST_LEVEL_DEFAULT GST_LEVEL_ERROR/' \
-e 's/.* GST_LICENSE$/#define GST_LICENSE "'$GST_LICENSE'"/' \
2012-04-04 12:20:13 +00:00
-e 's/.* GST_API_VERSION$/#define GST_API_VERSION "'$GST_API_VERSION'"/' \
2009-02-26 04:26:05 +00:00
-e "s,.* GST_PACKAGE_NAME$,#define GST_PACKAGE_NAME \"${GST_PACKAGE_NAME}\"," \
-e 's/.* GST_PACKAGE_ORIGIN$/#define GST_PACKAGE_ORIGIN "Unknown package origin"/' \
2010-09-24 13:03:45 +00:00
-e "s,.* GST_PACKAGE_RELEASE_DATETIME$,#define GST_PACKAGE_RELEASE_DATETIME \"${GST_PACKAGE_RELEASE_DATETIME}\"," \
2009-02-26 04:26:05 +00:00
-e 's/.* HAVE_CPU_I386$/#define HAVE_CPU_I386 1/' \
-e 's/.* HAVE_FGETPOS$/#define HAVE_FGETPOS 1/' \
-e 's/.* HAVE_FSETPOS$/#define HAVE_FSETPOS 1/' \
2009-12-11 23:59:54 +00:00
-e 's/.* HAVE_ISO_CODES$/#undef HAVE_ISO_CODES/' \
2009-02-26 04:26:05 +00:00
-e 's/.* HAVE_PROCESS_H$/#define HAVE_PROCESS_H 1/' \
-e 's/.* HAVE_STDLIB_H$/#define HAVE_STDLIB_H 1/' \
-e 's/.* HAVE_STRING_H$/#define HAVE_STRING_H 1/' \
-e 's/.* HAVE_SYS_STAT_H$/#define HAVE_SYS_STAT_H 1/' \
-e 's/.* HAVE_SYS_TYPES_H$/#define HAVE_SYS_TYPES_H 1/' \
-e 's/.* HAVE_WIN32$/#define HAVE_WIN32 1/' \
-e 's/.* HOST_CPU$/#define HOST_CPU "i686"/' \
2009-12-11 23:59:54 +00:00
-e 's/.* ISO_CODES_PREFIX$/#undef ISO_CODES_PREFIX/' \
-e 's/.* ISO_CODES_VERSION$/#undef ISO_CODES_VERSION/' \
2009-02-26 04:26:05 +00:00
-e 's/.* LIBDIR$/#ifdef _DEBUG\n# define LIBDIR PREFIX "\\\\debug\\\\lib"\n#else\n# define LIBDIR PREFIX "\\\\lib"\n#endif/' \
-e 's/.* LOCALEDIR$/#define LOCALEDIR PREFIX "\\\\share\\\\locale"/' \
-e "s/.* PACKAGE$/#define PACKAGE \"$PACKAGE\"/" \
-e 's/.* PACKAGE_BUGREPORT$/#define PACKAGE_BUGREPORT "http:\/\/bugzilla.gnome.org\/enter_bug.cgi?product=GStreamer"/' \
-e "s/.* PACKAGE_NAME$/#define PACKAGE_NAME \"$PACKAGE_NAME\"/" \
-e "s/.* PACKAGE_STRING$/#define PACKAGE_STRING \"$PACKAGE_STRING\"/" \
-e 's/.* PACKAGE_TARNAME$/#define PACKAGE_TARNAME "'$PACKAGE_TARNAME'"/' \
-e 's/.* PACKAGE_VERSION$/#define PACKAGE_VERSION "'$PACKAGE_VERSION'"/' \
2010-12-06 16:09:10 +00:00
-e 's/.* PLUGINDIR$/#ifdef _DEBUG\n# define PLUGINDIR PREFIX "\\\\debug\\\\lib\\\\gstreamer-0.11"\n#else\n# define PLUGINDIR PREFIX "\\\\lib\\\\gstreamer-0.11"\n#endif/' \
2009-02-26 04:26:05 +00:00
-e 's/.* USE_BINARY_REGISTRY$/#define USE_BINARY_REGISTRY/' \
-e 's/.* VERSION$/#define VERSION "'$VERSION'"/' \
2011-01-27 15:26:25 +00:00
-e "s/.* DEFAULT_AUDIOSINK$/#define DEFAULT_AUDIOSINK \"directsoundsink\"/" \
2009-02-26 04:26:05 +00:00
-e "s/.* DEFAULT_VIDEOSINK$/#define DEFAULT_VIDEOSINK \"directdrawsink\"/" \
-e "s/.* DEFAULT_VISUALIZER$/#define DEFAULT_VISUALIZER \"goom\"/" \
config.h.in >win32/common/config.h-new
2002-02-08 20:12:28 +00:00
AC_OUTPUT
2007-02-28 19:27:28 +00:00
AG_GST_OUTPUT_PLUGINS
2010-06-09 19:35:40 +00:00
ORC_OUTPUT