[svn r527] new files trunk
authorrenatofilho
Wed Apr 11 19:31:15 2007 +0100 (2007-04-11)
branchtrunk
changeset 52277f1bc48e05d
parent 521 605cbc483e09
child 523 b820a52b1c92
[svn r527] new files
gmyth-stream/client/gmyth-stream-client.pc.in
gmyth-stream/client/m4/Makefile
gmyth-stream/client/m4/Makefile.am
gmyth-stream/client/m4/Makefile.in
gmyth-stream/client/m4/as-compiler-flag.m4
gmyth-stream/client/m4/as-expand.m4
gmyth-stream/client/m4/as-version.m4
gmyth-stream/client/m4/gst-feature.m4
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gmyth-stream/client/gmyth-stream-client.pc.in	Wed Apr 11 19:31:15 2007 +0100
     1.3 @@ -0,0 +1,12 @@
     1.4 +prefix=@prefix@
     1.5 +exec_prefix=@exec_prefix@
     1.6 +libdir=@libdir@
     1.7 +includedir=@includedir@
     1.8 +
     1.9 +Name: gmyth-stream-client
    1.10 +Description: Gmyth Stream Client side
    1.11 +Version: @VERSION@
    1.12 +Requires: gobject-2.0 glib-2.0
    1.13 +
    1.14 +Libs: -L${libdir} -lgmythstreamclient
    1.15 +Cflags: -I${includedir}/gmyth-stream
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/gmyth-stream/client/m4/Makefile	Wed Apr 11 19:31:15 2007 +0100
     2.3 @@ -0,0 +1,340 @@
     2.4 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
     2.5 +# m4/Makefile.  Generated from Makefile.in by configure.
     2.6 +
     2.7 +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
     2.8 +# 2003, 2004, 2005  Free Software Foundation, Inc.
     2.9 +# This Makefile.in is free software; the Free Software Foundation
    2.10 +# gives unlimited permission to copy and/or distribute it,
    2.11 +# with or without modifications, as long as this notice is preserved.
    2.12 +
    2.13 +# This program is distributed in the hope that it will be useful,
    2.14 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
    2.15 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
    2.16 +# PARTICULAR PURPOSE.
    2.17 +
    2.18 +
    2.19 +srcdir = .
    2.20 +top_srcdir = ..
    2.21 +
    2.22 +pkgdatadir = $(datadir)/myth_stream
    2.23 +pkglibdir = $(libdir)/myth_stream
    2.24 +pkgincludedir = $(includedir)/myth_stream
    2.25 +top_builddir = ..
    2.26 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
    2.27 +INSTALL = /usr/bin/install -c
    2.28 +install_sh_DATA = $(install_sh) -c -m 644
    2.29 +install_sh_PROGRAM = $(install_sh) -c
    2.30 +install_sh_SCRIPT = $(install_sh) -c
    2.31 +INSTALL_HEADER = $(INSTALL_DATA)
    2.32 +transform = $(program_transform_name)
    2.33 +NORMAL_INSTALL = :
    2.34 +PRE_INSTALL = :
    2.35 +POST_INSTALL = :
    2.36 +NORMAL_UNINSTALL = :
    2.37 +PRE_UNINSTALL = :
    2.38 +POST_UNINSTALL = :
    2.39 +build_triplet = i686-pc-linux-gnu
    2.40 +host_triplet = i686-pc-linux-gnu
    2.41 +subdir = m4
    2.42 +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
    2.43 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    2.44 +am__aclocal_m4_deps = $(top_srcdir)/m4/as-expand.m4 \
    2.45 +	$(top_srcdir)/m4/as-version.m4 $(top_srcdir)/configure.ac
    2.46 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    2.47 +	$(ACLOCAL_M4)
    2.48 +mkinstalldirs = $(install_sh) -d
    2.49 +CONFIG_HEADER = $(top_builddir)/config.h
    2.50 +CONFIG_CLEAN_FILES =
    2.51 +SOURCES =
    2.52 +DIST_SOURCES =
    2.53 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    2.54 +ACLOCAL = ${SHELL} /home/rfilho/work/myth-stream/missing --run aclocal-1.9
    2.55 +ACLOCAL_AMFLAGS = -I m4
    2.56 +AMDEP_FALSE = #
    2.57 +AMDEP_TRUE = 
    2.58 +AMTAR = ${SHELL} /home/rfilho/work/myth-stream/missing --run tar
    2.59 +AR = ar
    2.60 +AUTOCONF = ${SHELL} /home/rfilho/work/myth-stream/missing --run autoconf
    2.61 +AUTOHEADER = ${SHELL} /home/rfilho/work/myth-stream/missing --run autoheader
    2.62 +AUTOMAKE = ${SHELL} /home/rfilho/work/myth-stream/missing --run automake-1.9
    2.63 +AWK = mawk
    2.64 +CC = gcc
    2.65 +CCDEPMODE = depmode=gcc3
    2.66 +CFLAGS =  -Wall -g -DMYTH_STREAM_USE_DEBUG
    2.67 +CPP = gcc -E
    2.68 +CPPFLAGS = 
    2.69 +CXX = g++
    2.70 +CXXCPP = g++ -E
    2.71 +CXXDEPMODE = depmode=gcc3
    2.72 +CXXFLAGS = -g -O2
    2.73 +CYGPATH_W = echo
    2.74 +DATADIR = ${prefix}/share
    2.75 +DBUS_CFLAGS = -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
    2.76 +DBUS_LIBS = -ldbus-glib-1 -ldbus-1 -lglib-2.0  
    2.77 +DBUS_SERVICES_DIR = ${prefix}/share/dbus-1/services
    2.78 +DEFS = -DHAVE_CONFIG_H
    2.79 +DEPDIR = .deps
    2.80 +ECHO = echo
    2.81 +ECHO_C = 
    2.82 +ECHO_N = -n
    2.83 +ECHO_T = 
    2.84 +EGREP = /bin/grep -E
    2.85 +EXEEXT = 
    2.86 +F77 = 
    2.87 +FFLAGS = 
    2.88 +GLIB_CFLAGS = -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
    2.89 +GLIB_LIBS = -lglib-2.0  
    2.90 +GREP = /bin/grep
    2.91 +GST_CFLAGS = -pthread -I/usr/local/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2  
    2.92 +GST_LIBS = -pthread -L/usr/local/lib -lgstbase-0.10 -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lxml2 -lglib-2.0  
    2.93 +HAVE_PKGCONFIG = yes
    2.94 +INSTALL_DATA = ${INSTALL} -m 644
    2.95 +INSTALL_PROGRAM = ${INSTALL}
    2.96 +INSTALL_SCRIPT = ${INSTALL}
    2.97 +INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
    2.98 +LDFLAGS = 
    2.99 +LIBOBJS = 
   2.100 +LIBS = 
   2.101 +LIBTOOL = $(SHELL) $(top_builddir)/libtool
   2.102 +LN_S = ln -s
   2.103 +LTLIBOBJS = 
   2.104 +MAINT = #
   2.105 +MAINTAINER_MODE_FALSE = 
   2.106 +MAINTAINER_MODE_TRUE = #
   2.107 +MAKEINFO = ${SHELL} /home/rfilho/work/myth-stream/missing --run makeinfo
   2.108 +MYTH_STREAM = 0.1.0
   2.109 +MYTH_STREAM_MAJOR = 0
   2.110 +MYTH_STREAM_MAJORMINOR = .
   2.111 +MYTH_STREAM_MICRO = 0
   2.112 +MYTH_STREAM_MINOR = 1
   2.113 +MYTH_STREAM_NANO = 0
   2.114 +MYTH_STREAM_RELEASE = 1
   2.115 +OBJEXT = o
   2.116 +PACKAGE = myth_stream
   2.117 +PACKAGE_BUGREPORT = 
   2.118 +PACKAGE_NAME = myth-stream
   2.119 +PACKAGE_STRING = myth-stream 0.1
   2.120 +PACKAGE_TARNAME = myth-stream
   2.121 +PACKAGE_VERSION = 0.1
   2.122 +PATH_SEPARATOR = :
   2.123 +PKG_CONFIG = /usr/bin/pkg-config
   2.124 +RANLIB = ranlib
   2.125 +SET_MAKE = 
   2.126 +SHELL = /bin/sh
   2.127 +STRIP = strip
   2.128 +VERSION = 0.1.0
   2.129 +ac_ct_CC = gcc
   2.130 +ac_ct_CXX = g++
   2.131 +ac_ct_F77 = 
   2.132 +am__fastdepCC_FALSE = #
   2.133 +am__fastdepCC_TRUE = 
   2.134 +am__fastdepCXX_FALSE = #
   2.135 +am__fastdepCXX_TRUE = 
   2.136 +am__include = include
   2.137 +am__leading_dot = .
   2.138 +am__quote = 
   2.139 +am__tar = ${AMTAR} chof - "$$tardir"
   2.140 +am__untar = ${AMTAR} xf -
   2.141 +bindir = ${exec_prefix}/bin
   2.142 +build = i686-pc-linux-gnu
   2.143 +build_alias = 
   2.144 +build_cpu = i686
   2.145 +build_os = linux-gnu
   2.146 +build_vendor = pc
   2.147 +datadir = ${datarootdir}
   2.148 +datarootdir = ${prefix}/share
   2.149 +docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
   2.150 +dvidir = ${docdir}
   2.151 +exec_prefix = ${prefix}
   2.152 +host = i686-pc-linux-gnu
   2.153 +host_alias = 
   2.154 +host_cpu = i686
   2.155 +host_os = linux-gnu
   2.156 +host_vendor = pc
   2.157 +htmldir = ${docdir}
   2.158 +includedir = ${prefix}/include
   2.159 +infodir = ${datarootdir}/info
   2.160 +install_sh = /home/rfilho/work/myth-stream/install-sh
   2.161 +libdir = ${exec_prefix}/lib
   2.162 +libexecdir = ${exec_prefix}/libexec
   2.163 +localedir = ${datarootdir}/locale
   2.164 +localstatedir = ${prefix}/var
   2.165 +mandir = ${datarootdir}/man
   2.166 +mkdir_p = mkdir -p --
   2.167 +oldincludedir = /usr/include
   2.168 +pdfdir = ${docdir}
   2.169 +prefix = /usr/local
   2.170 +program_transform_name = s,x,x,
   2.171 +psdir = ${docdir}
   2.172 +sbindir = ${exec_prefix}/sbin
   2.173 +sharedstatedir = ${prefix}/com
   2.174 +sysconfdir = ${prefix}/etc
   2.175 +target_alias = 
   2.176 +EXTRA_DIST = \
   2.177 +as-compiler-flag.m4 \
   2.178 +as-version.m4 \
   2.179 +gst-feature.m4
   2.180 +
   2.181 +all: all-am
   2.182 +
   2.183 +.SUFFIXES:
   2.184 +$(srcdir)/Makefile.in: # $(srcdir)/Makefile.am  $(am__configure_deps)
   2.185 +	@for dep in $?; do \
   2.186 +	  case '$(am__configure_deps)' in \
   2.187 +	    *$$dep*) \
   2.188 +	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
   2.189 +		&& exit 0; \
   2.190 +	      exit 1;; \
   2.191 +	  esac; \
   2.192 +	done; \
   2.193 +	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  m4/Makefile'; \
   2.194 +	cd $(top_srcdir) && \
   2.195 +	  $(AUTOMAKE) --gnu  m4/Makefile
   2.196 +.PRECIOUS: Makefile
   2.197 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
   2.198 +	@case '$?' in \
   2.199 +	  *config.status*) \
   2.200 +	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
   2.201 +	  *) \
   2.202 +	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
   2.203 +	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
   2.204 +	esac;
   2.205 +
   2.206 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
   2.207 +	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
   2.208 +
   2.209 +$(top_srcdir)/configure: # $(am__configure_deps)
   2.210 +	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
   2.211 +$(ACLOCAL_M4): # $(am__aclocal_m4_deps)
   2.212 +	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
   2.213 +
   2.214 +mostlyclean-libtool:
   2.215 +	-rm -f *.lo
   2.216 +
   2.217 +clean-libtool:
   2.218 +	-rm -rf .libs _libs
   2.219 +
   2.220 +distclean-libtool:
   2.221 +	-rm -f libtool
   2.222 +uninstall-info-am:
   2.223 +tags: TAGS
   2.224 +TAGS:
   2.225 +
   2.226 +ctags: CTAGS
   2.227 +CTAGS:
   2.228 +
   2.229 +
   2.230 +distdir: $(DISTFILES)
   2.231 +	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
   2.232 +	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
   2.233 +	list='$(DISTFILES)'; for file in $$list; do \
   2.234 +	  case $$file in \
   2.235 +	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
   2.236 +	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
   2.237 +	  esac; \
   2.238 +	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
   2.239 +	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
   2.240 +	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
   2.241 +	    dir="/$$dir"; \
   2.242 +	    $(mkdir_p) "$(distdir)$$dir"; \
   2.243 +	  else \
   2.244 +	    dir=''; \
   2.245 +	  fi; \
   2.246 +	  if test -d $$d/$$file; then \
   2.247 +	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
   2.248 +	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
   2.249 +	    fi; \
   2.250 +	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
   2.251 +	  else \
   2.252 +	    test -f $(distdir)/$$file \
   2.253 +	    || cp -p $$d/$$file $(distdir)/$$file \
   2.254 +	    || exit 1; \
   2.255 +	  fi; \
   2.256 +	done
   2.257 +check-am: all-am
   2.258 +check: check-am
   2.259 +all-am: Makefile
   2.260 +installdirs:
   2.261 +install: install-am
   2.262 +install-exec: install-exec-am
   2.263 +install-data: install-data-am
   2.264 +uninstall: uninstall-am
   2.265 +
   2.266 +install-am: all-am
   2.267 +	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
   2.268 +
   2.269 +installcheck: installcheck-am
   2.270 +install-strip:
   2.271 +	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
   2.272 +	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
   2.273 +	  `test -z '$(STRIP)' || \
   2.274 +	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
   2.275 +mostlyclean-generic:
   2.276 +
   2.277 +clean-generic:
   2.278 +
   2.279 +distclean-generic:
   2.280 +	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
   2.281 +
   2.282 +maintainer-clean-generic:
   2.283 +	@echo "This command is intended for maintainers to use"
   2.284 +	@echo "it deletes files that may require special tools to rebuild."
   2.285 +clean: clean-am
   2.286 +
   2.287 +clean-am: clean-generic clean-libtool mostlyclean-am
   2.288 +
   2.289 +distclean: distclean-am
   2.290 +	-rm -f Makefile
   2.291 +distclean-am: clean-am distclean-generic distclean-libtool
   2.292 +
   2.293 +dvi: dvi-am
   2.294 +
   2.295 +dvi-am:
   2.296 +
   2.297 +html: html-am
   2.298 +
   2.299 +info: info-am
   2.300 +
   2.301 +info-am:
   2.302 +
   2.303 +install-data-am:
   2.304 +
   2.305 +install-exec-am:
   2.306 +
   2.307 +install-info: install-info-am
   2.308 +
   2.309 +install-man:
   2.310 +
   2.311 +installcheck-am:
   2.312 +
   2.313 +maintainer-clean: maintainer-clean-am
   2.314 +	-rm -f Makefile
   2.315 +maintainer-clean-am: distclean-am maintainer-clean-generic
   2.316 +
   2.317 +mostlyclean: mostlyclean-am
   2.318 +
   2.319 +mostlyclean-am: mostlyclean-generic mostlyclean-libtool
   2.320 +
   2.321 +pdf: pdf-am
   2.322 +
   2.323 +pdf-am:
   2.324 +
   2.325 +ps: ps-am
   2.326 +
   2.327 +ps-am:
   2.328 +
   2.329 +uninstall-am: uninstall-info-am
   2.330 +
   2.331 +.PHONY: all all-am check check-am clean clean-generic clean-libtool \
   2.332 +	distclean distclean-generic distclean-libtool distdir dvi \
   2.333 +	dvi-am html html-am info info-am install install-am \
   2.334 +	install-data install-data-am install-exec install-exec-am \
   2.335 +	install-info install-info-am install-man install-strip \
   2.336 +	installcheck installcheck-am installdirs maintainer-clean \
   2.337 +	maintainer-clean-generic mostlyclean mostlyclean-generic \
   2.338 +	mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
   2.339 +	uninstall-info-am
   2.340 +
   2.341 +# Tell versions [3.59,3.63) of GNU make to not export all variables.
   2.342 +# Otherwise a system limit (for SysV at least) may be exceeded.
   2.343 +.NOEXPORT:
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/gmyth-stream/client/m4/Makefile.am	Wed Apr 11 19:31:15 2007 +0100
     3.3 @@ -0,0 +1,5 @@
     3.4 +EXTRA_DIST = \
     3.5 +as-compiler-flag.m4 \
     3.6 +as-version.m4 \
     3.7 +gst-feature.m4
     3.8 +
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/gmyth-stream/client/m4/Makefile.in	Wed Apr 11 19:31:15 2007 +0100
     4.3 @@ -0,0 +1,340 @@
     4.4 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
     4.5 +# @configure_input@
     4.6 +
     4.7 +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
     4.8 +# 2003, 2004, 2005  Free Software Foundation, Inc.
     4.9 +# This Makefile.in is free software; the Free Software Foundation
    4.10 +# gives unlimited permission to copy and/or distribute it,
    4.11 +# with or without modifications, as long as this notice is preserved.
    4.12 +
    4.13 +# This program is distributed in the hope that it will be useful,
    4.14 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
    4.15 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
    4.16 +# PARTICULAR PURPOSE.
    4.17 +
    4.18 +@SET_MAKE@
    4.19 +srcdir = @srcdir@
    4.20 +top_srcdir = @top_srcdir@
    4.21 +VPATH = @srcdir@
    4.22 +pkgdatadir = $(datadir)/@PACKAGE@
    4.23 +pkglibdir = $(libdir)/@PACKAGE@
    4.24 +pkgincludedir = $(includedir)/@PACKAGE@
    4.25 +top_builddir = ..
    4.26 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
    4.27 +INSTALL = @INSTALL@
    4.28 +install_sh_DATA = $(install_sh) -c -m 644
    4.29 +install_sh_PROGRAM = $(install_sh) -c
    4.30 +install_sh_SCRIPT = $(install_sh) -c
    4.31 +INSTALL_HEADER = $(INSTALL_DATA)
    4.32 +transform = $(program_transform_name)
    4.33 +NORMAL_INSTALL = :
    4.34 +PRE_INSTALL = :
    4.35 +POST_INSTALL = :
    4.36 +NORMAL_UNINSTALL = :
    4.37 +PRE_UNINSTALL = :
    4.38 +POST_UNINSTALL = :
    4.39 +build_triplet = @build@
    4.40 +host_triplet = @host@
    4.41 +subdir = m4
    4.42 +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
    4.43 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    4.44 +am__aclocal_m4_deps = $(top_srcdir)/m4/as-expand.m4 \
    4.45 +	$(top_srcdir)/m4/as-version.m4 $(top_srcdir)/configure.ac
    4.46 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    4.47 +	$(ACLOCAL_M4)
    4.48 +mkinstalldirs = $(install_sh) -d
    4.49 +CONFIG_HEADER = $(top_builddir)/config.h
    4.50 +CONFIG_CLEAN_FILES =
    4.51 +SOURCES =
    4.52 +DIST_SOURCES =
    4.53 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    4.54 +ACLOCAL = @ACLOCAL@
    4.55 +ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@
    4.56 +AMDEP_FALSE = @AMDEP_FALSE@
    4.57 +AMDEP_TRUE = @AMDEP_TRUE@
    4.58 +AMTAR = @AMTAR@
    4.59 +AR = @AR@
    4.60 +AUTOCONF = @AUTOCONF@
    4.61 +AUTOHEADER = @AUTOHEADER@
    4.62 +AUTOMAKE = @AUTOMAKE@
    4.63 +AWK = @AWK@
    4.64 +CC = @CC@
    4.65 +CCDEPMODE = @CCDEPMODE@
    4.66 +CFLAGS = @CFLAGS@
    4.67 +CPP = @CPP@
    4.68 +CPPFLAGS = @CPPFLAGS@
    4.69 +CXX = @CXX@
    4.70 +CXXCPP = @CXXCPP@
    4.71 +CXXDEPMODE = @CXXDEPMODE@
    4.72 +CXXFLAGS = @CXXFLAGS@
    4.73 +CYGPATH_W = @CYGPATH_W@
    4.74 +DATADIR = @DATADIR@
    4.75 +DBUS_CFLAGS = @DBUS_CFLAGS@
    4.76 +DBUS_LIBS = @DBUS_LIBS@
    4.77 +DBUS_SERVICES_DIR = @DBUS_SERVICES_DIR@
    4.78 +DEFS = @DEFS@
    4.79 +DEPDIR = @DEPDIR@
    4.80 +ECHO = @ECHO@
    4.81 +ECHO_C = @ECHO_C@
    4.82 +ECHO_N = @ECHO_N@
    4.83 +ECHO_T = @ECHO_T@
    4.84 +EGREP = @EGREP@
    4.85 +EXEEXT = @EXEEXT@
    4.86 +F77 = @F77@
    4.87 +FFLAGS = @FFLAGS@
    4.88 +GLIB_CFLAGS = @GLIB_CFLAGS@
    4.89 +GLIB_LIBS = @GLIB_LIBS@
    4.90 +GREP = @GREP@
    4.91 +GST_CFLAGS = @GST_CFLAGS@
    4.92 +GST_LIBS = @GST_LIBS@
    4.93 +HAVE_PKGCONFIG = @HAVE_PKGCONFIG@
    4.94 +INSTALL_DATA = @INSTALL_DATA@
    4.95 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
    4.96 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
    4.97 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
    4.98 +LDFLAGS = @LDFLAGS@
    4.99 +LIBOBJS = @LIBOBJS@
   4.100 +LIBS = @LIBS@
   4.101 +LIBTOOL = @LIBTOOL@
   4.102 +LN_S = @LN_S@
   4.103 +LTLIBOBJS = @LTLIBOBJS@
   4.104 +MAINT = @MAINT@
   4.105 +MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
   4.106 +MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
   4.107 +MAKEINFO = @MAKEINFO@
   4.108 +MYTH_STREAM = @MYTH_STREAM@
   4.109 +MYTH_STREAM_MAJOR = @MYTH_STREAM_MAJOR@
   4.110 +MYTH_STREAM_MAJORMINOR = @MYTH_STREAM_MAJORMINOR@
   4.111 +MYTH_STREAM_MICRO = @MYTH_STREAM_MICRO@
   4.112 +MYTH_STREAM_MINOR = @MYTH_STREAM_MINOR@
   4.113 +MYTH_STREAM_NANO = @MYTH_STREAM_NANO@
   4.114 +MYTH_STREAM_RELEASE = @MYTH_STREAM_RELEASE@
   4.115 +OBJEXT = @OBJEXT@
   4.116 +PACKAGE = @PACKAGE@
   4.117 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
   4.118 +PACKAGE_NAME = @PACKAGE_NAME@
   4.119 +PACKAGE_STRING = @PACKAGE_STRING@
   4.120 +PACKAGE_TARNAME = @PACKAGE_TARNAME@
   4.121 +PACKAGE_VERSION = @PACKAGE_VERSION@
   4.122 +PATH_SEPARATOR = @PATH_SEPARATOR@
   4.123 +PKG_CONFIG = @PKG_CONFIG@
   4.124 +RANLIB = @RANLIB@
   4.125 +SET_MAKE = @SET_MAKE@
   4.126 +SHELL = @SHELL@
   4.127 +STRIP = @STRIP@
   4.128 +VERSION = @VERSION@
   4.129 +ac_ct_CC = @ac_ct_CC@
   4.130 +ac_ct_CXX = @ac_ct_CXX@
   4.131 +ac_ct_F77 = @ac_ct_F77@
   4.132 +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
   4.133 +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
   4.134 +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
   4.135 +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
   4.136 +am__include = @am__include@
   4.137 +am__leading_dot = @am__leading_dot@
   4.138 +am__quote = @am__quote@
   4.139 +am__tar = @am__tar@
   4.140 +am__untar = @am__untar@
   4.141 +bindir = @bindir@
   4.142 +build = @build@
   4.143 +build_alias = @build_alias@
   4.144 +build_cpu = @build_cpu@
   4.145 +build_os = @build_os@
   4.146 +build_vendor = @build_vendor@
   4.147 +datadir = @datadir@
   4.148 +datarootdir = @datarootdir@
   4.149 +docdir = @docdir@
   4.150 +dvidir = @dvidir@
   4.151 +exec_prefix = @exec_prefix@
   4.152 +host = @host@
   4.153 +host_alias = @host_alias@
   4.154 +host_cpu = @host_cpu@
   4.155 +host_os = @host_os@
   4.156 +host_vendor = @host_vendor@
   4.157 +htmldir = @htmldir@
   4.158 +includedir = @includedir@
   4.159 +infodir = @infodir@
   4.160 +install_sh = @install_sh@
   4.161 +libdir = @libdir@
   4.162 +libexecdir = @libexecdir@
   4.163 +localedir = @localedir@
   4.164 +localstatedir = @localstatedir@
   4.165 +mandir = @mandir@
   4.166 +mkdir_p = @mkdir_p@
   4.167 +oldincludedir = @oldincludedir@
   4.168 +pdfdir = @pdfdir@
   4.169 +prefix = @prefix@
   4.170 +program_transform_name = @program_transform_name@
   4.171 +psdir = @psdir@
   4.172 +sbindir = @sbindir@
   4.173 +sharedstatedir = @sharedstatedir@
   4.174 +sysconfdir = @sysconfdir@
   4.175 +target_alias = @target_alias@
   4.176 +EXTRA_DIST = \
   4.177 +as-compiler-flag.m4 \
   4.178 +as-version.m4 \
   4.179 +gst-feature.m4
   4.180 +
   4.181 +all: all-am
   4.182 +
   4.183 +.SUFFIXES:
   4.184 +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
   4.185 +	@for dep in $?; do \
   4.186 +	  case '$(am__configure_deps)' in \
   4.187 +	    *$$dep*) \
   4.188 +	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
   4.189 +		&& exit 0; \
   4.190 +	      exit 1;; \
   4.191 +	  esac; \
   4.192 +	done; \
   4.193 +	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  m4/Makefile'; \
   4.194 +	cd $(top_srcdir) && \
   4.195 +	  $(AUTOMAKE) --gnu  m4/Makefile
   4.196 +.PRECIOUS: Makefile
   4.197 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
   4.198 +	@case '$?' in \
   4.199 +	  *config.status*) \
   4.200 +	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
   4.201 +	  *) \
   4.202 +	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
   4.203 +	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
   4.204 +	esac;
   4.205 +
   4.206 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
   4.207 +	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
   4.208 +
   4.209 +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
   4.210 +	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
   4.211 +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
   4.212 +	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
   4.213 +
   4.214 +mostlyclean-libtool:
   4.215 +	-rm -f *.lo
   4.216 +
   4.217 +clean-libtool:
   4.218 +	-rm -rf .libs _libs
   4.219 +
   4.220 +distclean-libtool:
   4.221 +	-rm -f libtool
   4.222 +uninstall-info-am:
   4.223 +tags: TAGS
   4.224 +TAGS:
   4.225 +
   4.226 +ctags: CTAGS
   4.227 +CTAGS:
   4.228 +
   4.229 +
   4.230 +distdir: $(DISTFILES)
   4.231 +	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
   4.232 +	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
   4.233 +	list='$(DISTFILES)'; for file in $$list; do \
   4.234 +	  case $$file in \
   4.235 +	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
   4.236 +	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
   4.237 +	  esac; \
   4.238 +	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
   4.239 +	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
   4.240 +	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
   4.241 +	    dir="/$$dir"; \
   4.242 +	    $(mkdir_p) "$(distdir)$$dir"; \
   4.243 +	  else \
   4.244 +	    dir=''; \
   4.245 +	  fi; \
   4.246 +	  if test -d $$d/$$file; then \
   4.247 +	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
   4.248 +	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
   4.249 +	    fi; \
   4.250 +	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
   4.251 +	  else \
   4.252 +	    test -f $(distdir)/$$file \
   4.253 +	    || cp -p $$d/$$file $(distdir)/$$file \
   4.254 +	    || exit 1; \
   4.255 +	  fi; \
   4.256 +	done
   4.257 +check-am: all-am
   4.258 +check: check-am
   4.259 +all-am: Makefile
   4.260 +installdirs:
   4.261 +install: install-am
   4.262 +install-exec: install-exec-am
   4.263 +install-data: install-data-am
   4.264 +uninstall: uninstall-am
   4.265 +
   4.266 +install-am: all-am
   4.267 +	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
   4.268 +
   4.269 +installcheck: installcheck-am
   4.270 +install-strip:
   4.271 +	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
   4.272 +	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
   4.273 +	  `test -z '$(STRIP)' || \
   4.274 +	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
   4.275 +mostlyclean-generic:
   4.276 +
   4.277 +clean-generic:
   4.278 +
   4.279 +distclean-generic:
   4.280 +	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
   4.281 +
   4.282 +maintainer-clean-generic:
   4.283 +	@echo "This command is intended for maintainers to use"
   4.284 +	@echo "it deletes files that may require special tools to rebuild."
   4.285 +clean: clean-am
   4.286 +
   4.287 +clean-am: clean-generic clean-libtool mostlyclean-am
   4.288 +
   4.289 +distclean: distclean-am
   4.290 +	-rm -f Makefile
   4.291 +distclean-am: clean-am distclean-generic distclean-libtool
   4.292 +
   4.293 +dvi: dvi-am
   4.294 +
   4.295 +dvi-am:
   4.296 +
   4.297 +html: html-am
   4.298 +
   4.299 +info: info-am
   4.300 +
   4.301 +info-am:
   4.302 +
   4.303 +install-data-am:
   4.304 +
   4.305 +install-exec-am:
   4.306 +
   4.307 +install-info: install-info-am
   4.308 +
   4.309 +install-man:
   4.310 +
   4.311 +installcheck-am:
   4.312 +
   4.313 +maintainer-clean: maintainer-clean-am
   4.314 +	-rm -f Makefile
   4.315 +maintainer-clean-am: distclean-am maintainer-clean-generic
   4.316 +
   4.317 +mostlyclean: mostlyclean-am
   4.318 +
   4.319 +mostlyclean-am: mostlyclean-generic mostlyclean-libtool
   4.320 +
   4.321 +pdf: pdf-am
   4.322 +
   4.323 +pdf-am:
   4.324 +
   4.325 +ps: ps-am
   4.326 +
   4.327 +ps-am:
   4.328 +
   4.329 +uninstall-am: uninstall-info-am
   4.330 +
   4.331 +.PHONY: all all-am check check-am clean clean-generic clean-libtool \
   4.332 +	distclean distclean-generic distclean-libtool distdir dvi \
   4.333 +	dvi-am html html-am info info-am install install-am \
   4.334 +	install-data install-data-am install-exec install-exec-am \
   4.335 +	install-info install-info-am install-man install-strip \
   4.336 +	installcheck installcheck-am installdirs maintainer-clean \
   4.337 +	maintainer-clean-generic mostlyclean mostlyclean-generic \
   4.338 +	mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
   4.339 +	uninstall-info-am
   4.340 +
   4.341 +# Tell versions [3.59,3.63) of GNU make to not export all variables.
   4.342 +# Otherwise a system limit (for SysV at least) may be exceeded.
   4.343 +.NOEXPORT:
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/gmyth-stream/client/m4/as-compiler-flag.m4	Wed Apr 11 19:31:15 2007 +0100
     5.3 @@ -0,0 +1,32 @@
     5.4 +dnl as-compiler-flag.m4 0.1.0
     5.5 +
     5.6 +dnl autostars m4 macro for detection of compiler flags
     5.7 +
     5.8 +dnl David Schleef <ds@schleef.org>
     5.9 +
    5.10 +dnl $Id: as-compiler-flag.m4,v 1.1 2005/06/18 18:02:46 burgerman Exp $
    5.11 +
    5.12 +dnl AS_COMPILER_FLAG(CFLAGS, ACTION-IF-ACCEPTED, [ACTION-IF-NOT-ACCEPTED])
    5.13 +dnl Tries to compile with the given CFLAGS.
    5.14 +dnl Runs ACTION-IF-ACCEPTED if the compiler can compile with the flags,
    5.15 +dnl and ACTION-IF-NOT-ACCEPTED otherwise.
    5.16 +
    5.17 +AC_DEFUN([AS_COMPILER_FLAG],
    5.18 +[
    5.19 +  AC_MSG_CHECKING([to see if compiler understands $1])
    5.20 +
    5.21 +  save_CFLAGS="$CFLAGS"
    5.22 +  CFLAGS="$CFLAGS $1"
    5.23 +
    5.24 +  AC_TRY_COMPILE([ ], [], [flag_ok=yes], [flag_ok=no])
    5.25 +  CFLAGS="$save_CFLAGS"
    5.26 +
    5.27 +  if test "X$flag_ok" = Xyes ; then
    5.28 +    $2
    5.29 +    true
    5.30 +  else
    5.31 +    $3
    5.32 +    true
    5.33 +  fi
    5.34 +  AC_MSG_RESULT([$flag_ok])
    5.35 +])
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/gmyth-stream/client/m4/as-expand.m4	Wed Apr 11 19:31:15 2007 +0100
     6.3 @@ -0,0 +1,40 @@
     6.4 +dnl AS_AC_EXPAND(VAR, CONFIGURE_VAR)
     6.5 +dnl
     6.6 +dnl example
     6.7 +dnl AS_AC_EXPAND(SYSCONFDIR, $sysconfdir)
     6.8 +dnl will set SYSCONFDIR to /usr/local/etc if prefix=/usr/local
     6.9 +
    6.10 +AC_DEFUN([AS_AC_EXPAND],
    6.11 +[
    6.12 +  EXP_VAR=[$1]
    6.13 +  FROM_VAR=[$2]
    6.14 +
    6.15 +  dnl first expand prefix and exec_prefix if necessary
    6.16 +  prefix_save=$prefix
    6.17 +  exec_prefix_save=$exec_prefix
    6.18 +
    6.19 +  dnl if no prefix given, then use /usr/local, the default prefix
    6.20 +  if test "x$prefix" = "xNONE"; then
    6.21 +    prefix=$ac_default_prefix
    6.22 +  fi
    6.23 +  dnl if no exec_prefix given, then use prefix
    6.24 +  if test "x$exec_prefix" = "xNONE"; then
    6.25 +    exec_prefix=$prefix
    6.26 +  fi
    6.27 +
    6.28 +  full_var="$FROM_VAR"
    6.29 +  dnl loop until it doesn't change anymore
    6.30 +  while true; do
    6.31 +    new_full_var="`eval echo $full_var`"
    6.32 +    if test "x$new_full_var"="x$full_var"; then break; fi
    6.33 +    full_var=$new_full_var
    6.34 +  done
    6.35 +
    6.36 +  dnl clean up
    6.37 +  full_var=$new_full_var
    6.38 +  AC_SUBST([$1], "$full_var")
    6.39 +
    6.40 +  dnl restore prefix and exec_prefix
    6.41 +  prefix=$prefix_save
    6.42 +  exec_prefix=$exec_prefix_save
    6.43 +])
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/gmyth-stream/client/m4/as-version.m4	Wed Apr 11 19:31:15 2007 +0100
     7.3 @@ -0,0 +1,67 @@
     7.4 +dnl as-version.m4 0.1.0
     7.5 +
     7.6 +dnl autostars m4 macro for versioning
     7.7 +
     7.8 +dnl Thomas Vander Stichele <thomas at apestaart dot org>
     7.9 +
    7.10 +dnl $Id: as-version.m4,v 1.1 2005/06/18 18:02:46 burgerman Exp $
    7.11 +
    7.12 +dnl AS_VERSION(PACKAGE, PREFIX, MAJOR, MINOR, MICRO, NANO,
    7.13 +dnl            ACTION-IF-NO-NANO, [ACTION-IF-NANO])
    7.14 +
    7.15 +dnl example
    7.16 +dnl AS_VERSION(gstreamer, GST_VERSION, 0, 3, 2,)
    7.17 +dnl for a 0.3.2 release version
    7.18 +
    7.19 +dnl this macro
    7.20 +dnl - defines [$PREFIX]_MAJOR, MINOR and MICRO
    7.21 +dnl - if NANO is empty, then we're in release mode, else in cvs/dev mode
    7.22 +dnl - defines [$PREFIX], VERSION, and [$PREFIX]_RELEASE
    7.23 +dnl - executes the relevant action
    7.24 +dnl - AC_SUBST's PACKAGE, VERSION, [$PREFIX] and [$PREFIX]_RELEASE
    7.25 +dnl   as well as the little ones
    7.26 +dnl - doesn't call AM_INIT_AUTOMAKE anymore because it prevents
    7.27 +dnl   maintainer mode from running ok
    7.28 +dnl
    7.29 +dnl don't forget to put #undef [$2] and [$2]_RELEASE in acconfig.h
    7.30 +dnl if you use acconfig.h
    7.31 +
    7.32 +AC_DEFUN([AS_VERSION],
    7.33 +[
    7.34 +  PACKAGE=[$1]
    7.35 +  [$2]_MAJOR=[$3]
    7.36 +  [$2]_MINOR=[$4]
    7.37 +  [$2]_MICRO=[$5]
    7.38 +  NANO=[$6]
    7.39 +  [$2]_NANO=$NANO
    7.40 +  if test "x$NANO" = "x" || test "x$NANO" = "x0";
    7.41 +  then
    7.42 +      AC_MSG_NOTICE(configuring [$1] for release)
    7.43 +      VERSION=[$3].[$4].[$5]
    7.44 +      [$2]_RELEASE=1
    7.45 +      dnl execute action
    7.46 +      ifelse([$7], , :, [$7])
    7.47 +  else
    7.48 +      AC_MSG_NOTICE(configuring [$1] for development with nano $NANO)
    7.49 +      VERSION=[$3].[$4].[$5].$NANO
    7.50 +      [$2]_RELEASE=0.`date +%Y%m%d.%H%M%S`
    7.51 +      dnl execute action
    7.52 +      ifelse([$8], , :, [$8])
    7.53 +  fi
    7.54 +
    7.55 +  [$2]=$VERSION
    7.56 +  AC_DEFINE_UNQUOTED([$2], "$[$2]", [Define the version])
    7.57 +  AC_SUBST([$2])
    7.58 +  AC_DEFINE_UNQUOTED([$2]_RELEASE, "$[$2]_RELEASE", [Define the release version])
    7.59 +  AC_SUBST([$2]_RELEASE)
    7.60 +
    7.61 +  AC_SUBST([$2]_MAJOR)
    7.62 +  AC_SUBST([$2]_MINOR)
    7.63 +  AC_SUBST([$2]_MICRO)
    7.64 +  AC_SUBST([$2]_NANO)
    7.65 +  AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Define the package name])
    7.66 +  AC_SUBST(PACKAGE)
    7.67 +  AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Define the version])
    7.68 +  AC_SUBST(VERSION)
    7.69 +])
    7.70 +
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/gmyth-stream/client/m4/gst-feature.m4	Wed Apr 11 19:31:15 2007 +0100
     8.3 @@ -0,0 +1,211 @@
     8.4 +dnl Perform a check for a feature for GStreamer
     8.5 +dnl Richard Boulton <richard-alsa@tartarus.org>
     8.6 +dnl Thomas Vander Stichele <thomas@apestaart.org> added useful stuff
     8.7 +dnl Last modification: 25/06/2001
     8.8 +dnl GST_CHECK_FEATURE(FEATURE-NAME, FEATURE-DESCRIPTION,
     8.9 +dnl                   DEPENDENT-PLUGINS, TEST-FOR-FEATURE,
    8.10 +dnl                   DISABLE-BY-DEFAULT, ACTION-IF-USE, ACTION-IF-NOTUSE)
    8.11 +dnl
    8.12 +dnl This macro adds a command line argument to enable the user to enable
    8.13 +dnl or disable a feature, and if the feature is enabled, performs a supplied
    8.14 +dnl test to check if the feature is available.
    8.15 +dnl
    8.16 +dnl The test should define HAVE_<FEATURE-NAME> to "yes" or "no" depending
    8.17 +dnl on whether the feature is available.
    8.18 +dnl
    8.19 +dnl The macro will set USE_<FEATURE-NAME> to "yes" or "no" depending on
    8.20 +dnl whether the feature is to be used.
    8.21 +dnl Thomas changed this, so that when USE_<FEATURE-NAME> was already set
    8.22 +dnl to no, then it stays that way.
    8.23 +dnl
    8.24 +dnl The macro will call AM_CONDITIONAL(USE_<<FEATURE-NAME>, ...) to allow
    8.25 +dnl the feature to control what is built in Makefile.ams.  If you want
    8.26 +dnl additional actions resulting from the test, you can add them with the
    8.27 +dnl ACTION-IF-USE and ACTION-IF-NOTUSE parameters.
    8.28 +dnl 
    8.29 +dnl FEATURE-NAME        is the name of the feature, and should be in
    8.30 +dnl                     purely upper case characters.
    8.31 +dnl FEATURE-DESCRIPTION is used to describe the feature in help text for
    8.32 +dnl                     the command line argument.
    8.33 +dnl DEPENDENT-PLUGINS   lists any plugins which depend on this feature.
    8.34 +dnl TEST-FOR-FEATURE    is a test which sets HAVE_<FEATURE-NAME> to "yes"
    8.35 +dnl                     or "no" depending on whether the feature is
    8.36 +dnl                     available.
    8.37 +dnl DISABLE-BY-DEFAULT  if "disabled", the feature is disabled by default,
    8.38 +dnl                     if any other value, the feature is enabled by default.
    8.39 +dnl ACTION-IF-USE       any extra actions to perform if the feature is to be
    8.40 +dnl                     used.
    8.41 +dnl ACTION-IF-NOTUSE    any extra actions to perform if the feature is not to
    8.42 +dnl                     be used.
    8.43 +dnl
    8.44 +dnl
    8.45 +dnl thomas :
    8.46 +dnl we also added a history.  
    8.47 +dnl GST_PLUGINS_YES will contain all plugins to be built
    8.48 +dnl                 that were checked through GST_CHECK_FEATURE
    8.49 +dnl GST_PLUGINS_NO will contain those that won't be built
    8.50 +
    8.51 +AC_DEFUN([GST_CHECK_FEATURE],
    8.52 +AC_MSG_NOTICE(***)
    8.53 +AC_MSG_NOTICE(*** checking plugin: [$3] ***)
    8.54 +AC_MSG_NOTICE(***)
    8.55 +[dnl
    8.56 +builtin(define, [gst_endisable], ifelse($5, [disabled], [enable], [disable]))dnl
    8.57 +dnl if it is set to NO, then don't even consider it for building
    8.58 +NOUSE=
    8.59 +if test "x$USE_[$1]" = "xno"; then
    8.60 +  NOUSE="yes"
    8.61 +fi
    8.62 +AC_ARG_ENABLE(translit([$1], A-Z, a-z),
    8.63 +  [  ]builtin(format, --%-26s gst_endisable %s, gst_endisable-translit([$1], A-Z, a-z), [$2]ifelse([$3],,,: [$3])),
    8.64 +  [ case "${enableval}" in
    8.65 +      yes) USE_[$1]=yes;;
    8.66 +      no) USE_[$1]=no;;
    8.67 +      *) AC_MSG_ERROR(bad value ${enableval} for --enable-translit([$1], A-Z, a-z)) ;;
    8.68 +    esac],
    8.69 +  [ USE_$1=]ifelse($5, [disabled], [no], [yes]))           dnl DEFAULT
    8.70 +
    8.71 +dnl *** set it back to no if it was preset to no
    8.72 +if test "x$NOUSE" = "xyes"; then
    8.73 +  USE_[$1]="no"
    8.74 +  AC_MSG_WARN(*** $3 pre-configured not to be built)
    8.75 +fi
    8.76 +NOUSE=
    8.77 +
    8.78 +dnl *** If it's enabled
    8.79 +
    8.80 +if test x$USE_[$1] = xyes; then
    8.81 +  dnl save compile variables before the test
    8.82 +
    8.83 +  gst_check_save_LIBS=$LIBS
    8.84 +  gst_check_save_LDFLAGS=$LDFLAGS
    8.85 +  gst_check_save_CFLAGS=$CFLAGS
    8.86 +  gst_check_save_CPPFLAGS=$CPPFLAGS
    8.87 +  gst_check_save_CXXFLAGS=$CXXFLAGS
    8.88 +
    8.89 +  HAVE_[$1]=no
    8.90 +  dnl TEST_FOR_FEATURE
    8.91 +  $4
    8.92 +
    8.93 +  LIBS=$gst_check_save_LIBS
    8.94 +  LDFLAGS=$gst_check_save_LDFLAGS
    8.95 +  CFLAGS=$gst_check_save_CFLAGS
    8.96 +  CPPFLAGS=$gst_check_save_CPPFLAGS
    8.97 +  CXXFLAGS=$gst_check_save_CXXFLAGS
    8.98 +
    8.99 +  dnl If it isn't found, unset USE_[$1]
   8.100 +  if test x$HAVE_[$1] = xno; then
   8.101 +    USE_[$1]=no
   8.102 +  fi
   8.103 +fi
   8.104 +dnl *** Warn if it's disabled or not found
   8.105 +if test x$USE_[$1] = xyes; then
   8.106 +  ifelse([$6], , :, [$6])
   8.107 +  if test "x$3" != "x"; then
   8.108 +    GST_PLUGINS_YES="\t[$3]\n$GST_PLUGINS_YES"
   8.109 +  fi
   8.110 +  AC_DEFINE(HAVE_[$1], , [support for features: $3])
   8.111 +else
   8.112 +  ifelse([$3], , :, [AC_MSG_NOTICE(*** These plugins will not be built: [$3])])
   8.113 +  if test "x$3" != "x"; then
   8.114 +    GST_PLUGINS_NO="\t[$3]\n$GST_PLUGINS_NO"
   8.115 +  fi
   8.116 +  ifelse([$7], , :, [$7])
   8.117 +fi
   8.118 +dnl *** Define the conditional as appropriate
   8.119 +AM_CONDITIONAL(USE_[$1], test x$USE_[$1] = xyes)
   8.120 +])
   8.121 +
   8.122 +dnl Use a -config program which accepts --cflags and --libs parameters
   8.123 +dnl to set *_CFLAGS and *_LIBS and check existence of a feature.
   8.124 +dnl Richard Boulton <richard-alsa@tartarus.org>
   8.125 +dnl Last modification: 26/06/2001
   8.126 +dnl GST_CHECK_CONFIGPROG(FEATURE-NAME, CONFIG-PROG-FILENAME, MODULES)
   8.127 +dnl
   8.128 +dnl This check was written for GStreamer: it should be renamed and checked
   8.129 +dnl for portability if you decide to use it elsewhere.
   8.130 +dnl
   8.131 +AC_DEFUN([GST_CHECK_CONFIGPROG],
   8.132 +[
   8.133 +  AC_PATH_PROG([$1]_CONFIG, [$2], no)
   8.134 +  if test x$[$1]_CONFIG = xno; then
   8.135 +    [$1]_LIBS=
   8.136 +    [$1]_CFLAGS=
   8.137 +    HAVE_[$1]=no
   8.138 +  else
   8.139 +    if [$2] --plugin-libs [$3] &> /dev/null; then
   8.140 +      [$1]_LIBS=`[$2] --plugin-libs [$3]`
   8.141 +    else
   8.142 +      [$1]_LIBS=`[$2] --libs [$3]`
   8.143 +    fi
   8.144 +    [$1]_CFLAGS=`[$2] --cflags [$3]`
   8.145 +    HAVE_[$1]=yes
   8.146 +  fi
   8.147 +  AC_SUBST([$1]_LIBS)
   8.148 +  AC_SUBST([$1]_CFLAGS)
   8.149 +])
   8.150 +
   8.151 +dnl Use AC_CHECK_LIB and AC_CHECK_HEADER to do both tests at once
   8.152 +dnl sets HAVE_module if we have it
   8.153 +dnl Richard Boulton <richard-alsa@tartarus.org>
   8.154 +dnl Last modification: 26/06/2001
   8.155 +dnl GST_CHECK_LIBHEADER(FEATURE-NAME, LIB NAME, LIB FUNCTION, EXTRA LD FLAGS, 
   8.156 +dnl                     HEADER NAME, ACTION-IF-FOUND, ACTION-IF-NOT-FOUND)
   8.157 +dnl
   8.158 +dnl This check was written for GStreamer: it should be renamed and checked
   8.159 +dnl for portability if you decide to use it elsewhere.
   8.160 +dnl
   8.161 +AC_DEFUN([GST_CHECK_LIBHEADER],
   8.162 +[
   8.163 +  AC_CHECK_LIB([$2], [$3], HAVE_[$1]=yes, HAVE_[$1]=no,[$4])
   8.164 +  if test "x$HAVE_[$1]" = "xyes"; then
   8.165 +    AC_CHECK_HEADER([$5], :, HAVE_[$1]=no)
   8.166 +    if test "x$HAVE_[$1]" = "xyes"; then
   8.167 +      dnl execute what needs to be
   8.168 +      ifelse([$6], , :, [$6])
   8.169 +    else
   8.170 +      ifelse([$7], , :, [$7])
   8.171 +    fi
   8.172 +  else
   8.173 +    ifelse([$7], , :, [$7])
   8.174 +  fi
   8.175 +  AC_SUBST(HAVE_[$1])
   8.176 +]
   8.177 +)
   8.178 +
   8.179 +dnl 2004-02-14 Thomas - changed to get set properly and use proper output
   8.180 +dnl 2003-06-27 Benjamin Otte - changed to make this work with gstconfig.h
   8.181 +dnl
   8.182 +dnl Add a subsystem --disable flag and all the necessary symbols and substitions
   8.183 +dnl
   8.184 +dnl GST_CHECK_SUBSYSTEM_DISABLE(SYSNAME, [subsystem name])
   8.185 +dnl
   8.186 +AC_DEFUN([GST_CHECK_SUBSYSTEM_DISABLE],
   8.187 +[
   8.188 +  dnl this define will replace each literal subsys_def occurrence with
   8.189 +  dnl the lowercase hyphen-separated subsystem
   8.190 +  dnl e.g. if $1 is GST_DEBUG then subsys_def will be a macro with gst-debug
   8.191 +  define([subsys_def],translit([$1], _A-Z, -a-z))
   8.192 +
   8.193 +  AC_ARG_ENABLE(subsys_def, 
   8.194 +    AC_HELP_STRING(--disable-subsys_def, [disable $2]),
   8.195 +    [
   8.196 +      case "${enableval}" in
   8.197 +        yes) GST_DISABLE_[$1]=no ;;
   8.198 +        no) GST_DISABLE_[$1]=yes ;;
   8.199 +        *) AC_MSG_ERROR([bad value ${enableval} for --enable-subsys_def]) ;;
   8.200 +       esac
   8.201 +    ],
   8.202 +    [GST_DISABLE_[$1]=no]) dnl Default value
   8.203 +
   8.204 +  if test x$GST_DISABLE_[$1] = xyes; then
   8.205 +    AC_MSG_NOTICE([disabled subsystem [$2]])
   8.206 +    GST_DISABLE_[$1]_DEFINE="#define GST_DISABLE_$1 1" 
   8.207 +  else
   8.208 +    GST_DISABLE_[$1]_DEFINE="/* #undef GST_DISABLE_$1 */"
   8.209 +  fi
   8.210 +  AC_SUBST(GST_DISABLE_[$1]_DEFINE)
   8.211 +  undefine([subsys_def])
   8.212 +])
   8.213 +
   8.214 +