--- gst-plugins0.8-0.8.12.orig/debian/rules +++ gst-plugins0.8-0.8.12/debian/rules @@ -0,0 +1,229 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk +include /usr/share/cdbs/1/class/gnome.mk +include /usr/share/cdbs/1/rules/utils.mk + +# this is for compatibility with dpkg-dev < 1.13.5, see +# +DEB_HOST_ARCH_CPU := $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU 2>/dev/null) +DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS 2>/dev/null) + +## you can export DIST or build-depend on lsb-release +#DIST ?= $(shell lsb_release -i -s) +#ifeq ($(DIST),) +#DIST = Debian +#endif +# +## sample code to build more plugins under Ubuntu: +##ifeq ($(DIST),Ubuntu) +##EXTRA_PLUGINS += foobar +##endif + +# Take account of old dpkg-architecture output. +ifeq ($(DEB_HOST_ARCH_CPU),) + DEB_HOST_ARCH_CPU := $(shell dpkg-architecture -qDEB_HOST_GNU_CPU) + ifeq ($(DEB_HOST_ARCH_CPU),x86_64) + DEB_HOST_ARCH_CPU := amd64 + endif +endif +ifeq ($(DEB_HOST_ARCH_OS),) + DEB_HOST_ARCH_OS := $(subst -gnu,,$(shell dpkg-architecture -qDEB_HOST_GNU_SYSTEM)) + ifeq ($(DEB_HOST_ARCH_OS),gnu) + DEB_HOST_ARCH_OS := hurd + endif +endif +# end of compatibility block + +version=$(shell dpkg-parsechangelog | grep ^Version: | cut -d ' ' -f 2) +gst_version=$(shell echo $(version) | cut -d '-' -f 1) +gst_major=0 +gst_minor=8 +gst_abi=$(gst_major).$(gst_minor) +gst_lib=libgstreamer$(gst_abi)-0 +gst_lib_dev=libgstreamer$(gst_abi)-dev +gst_lib_dev_dep=$(gst_lib_dev) (>= 0.8.11.2) + +gst_plugins_version=0.8.0 +gst_pkgname=gstreamer$(gst_abi) +gst_deb_abi=$(gst_abi)-0 + +gst_plugins_lib=libgstreamer-plugins$(gst_deb_abi) +gst_plugins_lib_dev=libgstreamer-plugins$(gst_abi)-dev +gst_plugins_lib_dev_dep=$(gst_plugins_lib_dev) (>= $(gst_plugins_version)) + +gst_gconf_lib=libgstreamer-gconf$(gst_deb_abi) +gst_gconf_lib_dev=libgstreamer-gconf$(gst_abi)-dev +gst_gconf_lib_dev_dep=$(gst_plugins_lib_dev) (>= $(gst_plugins_version)) + +gst_extra_build_depends = +gst_extra_build_depends += libasound2-dev (>= 1.0.0) +gst_extra_build_depends += , libraw1394-dev +gst_extra_build_depends += , libavc1394-dev +gst_extra_build_depends += , libcdparanoia0-dev (>= 3a9.8) + +# The plugins are basically the same. +# Link special names to a template file. +# still need "*.install" to be done by hand + +# EXTRA_PLUGINS: See debian/README.Debian for docs +EXTRA_PLUGINS += +PLUGINS += a52dec aa artsd audiofile caca cdio dv dvd esd festival flac gnomevfs gsm gtk hermes jpeg mad mikmod misc mms mpeg2dec musepack oss sdl sid speex swfdec theora vorbis x $(EXTRA_PLUGINS) +ifeq ($(DEB_HOST_ARCH_OS),linux) +PLUGINS += alsa cdparanoia +endif +VERSIONIZE= \ + plugin-apps.install \ + plugin-apps.manpages \ + +ifeq ($(DEB_HOST_ARCH_OS),linux) +1394 = debian/tmp/usr/lib/gstreamer-$(gst_abi)/libgst1394.so +video4linux = debian/tmp/usr/lib/gstreamer-$(gst_abi)/libgstvideo4linux.so +video4linux2 = debian/tmp/usr/lib/gstreamer-$(gst_abi)/libgstvideo4linux2.so +video4linuxradio = debian/tmp/usr/lib/gstreamer-$(gst_abi)/libgstvideo4linuxradio.so +vcdsrc = debian/tmp/usr/lib/gstreamer-$(gst_abi)/libgstvcdsrc.so +cdplayer = debian/tmp/usr/lib/gstreamer-$(gst_abi)/libgstcdplayer.so +endif + +# setup links for packages +pre-build:: + for p in $(PLUGINS); do \ + rm -f debian/$(gst_pkgname)-$$p.install; \ + cat debian/gstreamer-$$p.install | \ + sed 's/@GST_ABI@/$(gst_abi)/g' \ + | sed "s,@1394@,$(1394),g" \ + | sed "s,@video4linux@,$(video4linux),g" \ + | sed "s,@video4linux2@,$(video4linux2),g" \ + | sed "s,@video4linuxradio@,$(video4linuxradio),g" \ + | sed "s,@vcdsrc@,$(vcdsrc),g" \ + | sed "s,@cdplayer@,$(cdplayer),g" \ + > debian/$(gst_pkgname)-$$p.install; \ + \ + rm -f debian/$(gst_pkgname)-$$p.preinst; \ + cat debian/gstreamer-plugin-template.preinst | \ + sed 's/@GST_ABI@/$(gst_abi)/g' \ + > debian/$(gst_pkgname)-$$p.preinst; \ + \ + rm -f debian/$(gst_pkgname)-$$p.postinst; \ + cat debian/gstreamer-plugin-template.postinst | \ + sed 's/@GST_ABI@/$(gst_abi)/g' \ + > debian/$(gst_pkgname)-$$p.postinst; \ + \ + rm -f debian/$(gst_pkgname)-$$p.postrm; \ + cat debian/gstreamer-plugin-template.postrm | \ + sed 's/@GST_ABI@/$(gst_abi)/g' \ + > debian/$(gst_pkgname)-$$p.postrm; \ + done + + for f in $(VERSIONIZE); do \ + cat debian/gstreamer-$$f | \ + sed 's/@GST_ABI@/$(gst_abi)/g' \ + > debian/$(gst_pkgname)-$$f; \ + done + + rm -f debian/libgstreamer-plugins$(gst_deb_abi).install + cat debian/libgstreamer-plugins.install | \ + sed 's/@GST_ABI@/$(gst_abi)/g' \ + > debian/libgstreamer-plugins$(gst_deb_abi).install + + rm -f debian/libgstreamer-plugins$(gst_deb_abi).postinst + cat debian/libgstreamer-plugins.postinst | \ + sed 's/@GST_ABI@/$(gst_abi)/g' \ + > debian/libgstreamer-plugins$(gst_deb_abi).postinst + + rm -f debian/libgstreamer-plugins$(gst_deb_abi).postrm + cat debian/libgstreamer-plugins.postrm | \ + sed 's/@GST_ABI@/$(gst_abi)/g' \ + > debian/libgstreamer-plugins$(gst_deb_abi).postrm + + rm -f debian/libgstreamer-plugins$(gst_abi)-dev.install + cat debian/libgstreamer-plugins-dev.install | \ + sed 's/@GST_ABI@/$(gst_abi)/g' \ + > debian/libgstreamer-plugins$(gst_abi)-dev.install + + rm -f debian/libgstreamer-gconf$(gst_deb_abi).install + cat debian/libgstreamer-gconf.install | \ + sed 's/@GST_ABI@/$(gst_abi)/g' \ + > debian/libgstreamer-gconf$(gst_deb_abi).install + + rm -f debian/libgstreamer-gconf$(gst_abi)-dev.install + cat debian/libgstreamer-gconf-dev.install | \ + sed 's/@GST_ABI@/$(gst_abi)/g' \ + > debian/libgstreamer-gconf$(gst_abi)-dev.install + +maint: debian/control + +debian/build-deps: debian/build-deps.in debian/rules + cat $< > $@ + for plugin in $(EXTRA_PLUGINS) ; do \ + debian/extra deps $$plugin >> $@; \ + done + +debian/control:: debian/control.in debian/build-deps debian/mk.control debian/rules + perl debian/mk.control | \ + sed 's/@GST_VERSION@/$(gst_version)/g' | \ + sed 's/@GST_ABI@/$(gst_abi)/g' | \ + sed 's/@GST_PKGNAME@/$(gst_pkgname)/g' | \ + sed 's/@GST_LIB@/$(gst_lib)/g' | \ + sed 's/@GST_LIB_DEV@/$(gst_lib_dev)/g' | \ + sed 's/@GST_LIB_DEV_DEP@/$(gst_lib_dev_dep)/g' | \ + sed 's/@GST_PLUGINS_LIB@/$(gst_plugins_lib)/g' | \ + sed 's/@GST_PLUGINS_LIB_DEV@/$(gst_plugins_lib_dev)/g' | \ + sed 's/@GST_PLUGINS_LIB_DEV_DEP@/$(gst_plugins_lib_dev_dep)/g' | \ + sed 's/@GST_GCONF_LIB@/$(gst_gconf_lib)/g' | \ + sed 's/@GST_GCONF_LIB_DEV@/$(gst_gconf_lib_dev)/g' | \ + sed 's/@GST_GCONF_LIB_DEV_DEP@/$(gst_gconf_lib_dev_dep)/g' | \ + sed "s/@GST_EXTRA_BUILD_DEPENDS@/$(gst_extra_build_depends)/g" > $@ + for plugin in $(EXTRA_PLUGINS) ; do \ + debian/extra control $$plugin | \ + sed 's/@GST_ABI@/$(gst_abi)/g' | \ + sed 's/@GST_PKGNAME@/$(gst_pkgname)/g' | \ + sed 's/@GST_LIB@/$(gst_lib)/g' | \ + sed 's/@GST_LIB_DEV@/$(gst_lib_dev)/g' | \ + sed 's/@GST_LIB_DEV_DEP@/$(gst_lib_dev_dep)/g' | \ + sed 's/@GST_PLUGINS_LIB@/$(gst_plugins_lib)/g' | \ + sed 's/@GST_PLUGINS_LIB_DEV@/$(gst_plugins_lib_dev)/g' | \ + sed 's/@GST_PLUGINS_LIB_DEV_DEP@/$(gst_plugins_lib_dev_dep)/g' | \ + sed 's/@GST_GCONF_LIB@/$(gst_gconf_lib)/g' | \ + sed 's/@GST_GCONF_LIB_DEV@/$(gst_gconf_lib_dev)/g' | \ + sed 's/@GST_GCONF_LIB_DEV_DEP@/$(gst_gconf_lib_dev_dep)/g' >> $@; \ + done + +DEB_CONFIGURE_EXTRA_FLAGS += \ + --disable-arts \ + --disable-tests \ + --disable-examples \ + --disable-docs-build \ + --disable-plugin-docs \ + --enable-DEBUG \ + --enable-debug \ + --with-package-name="GStreamer Plugins (Debian)" \ + --with-package-origin="http://packages.qa.debian.org/gst-plugins$(gst_abi)" + +clean:: + # get rid of the sym links + for i in $(PLUGINS); do \ + rm -f debian/$(gst_pkgname)-$$i.install; \ + rm -f debian/$(gst_pkgname)-$$i.preinst; \ + rm -f debian/$(gst_pkgname)-$$i.postinst; \ + rm -f debian/$(gst_pkgname)-$$i.postrm; \ + done + for f in $(VERSIONIZE); do \ + rm -f debian/$(gst_pkgname)-$$f; \ + done + rm -f debian/libgstreamer-plugins$(gst_deb_abi).install + rm -f debian/libgstreamer-plugins$(gst_abi)-dev.install + rm -f debian/libgstreamer-plugins$(gst_deb_abi).postinst + rm -f debian/libgstreamer-plugins$(gst_deb_abi).postrm + rm -f debian/libgstreamer-gconf$(gst_deb_abi).install + rm -f debian/libgstreamer-gconf$(gst_abi)-dev.install + +DEB_DH_MAKESHLIBS_ARGS_libgstreamer-plugins$(gst_deb_abi) := -V "libgstreamer-plugins$(gst_deb_abi) (>= $(gst_plugins_version))" +DEB_DH_MAKESHLIBS_ARGS_libgstreamer-gconf$(gst_deb_abi) := -V "libgstreamer-gconf$(gst_deb_abi) (>= $(gst_plugins_version))" +DEB_INSTALL_DOCS_ALL := debian/README.Debian NEWS +DEB_SHLIBDEPS_INCLUDE := debian/libgstreamer-plugins$(gst_deb_abi)/usr/lib +# Disable inclusion of large upstream ChangeLog +DEB_INSTALL_CHANGELOGS_ALL := + +.PHONY: maint --- gst-plugins0.8-0.8.12.orig/debian/control +++ gst-plugins0.8-0.8.12/debian/control @@ -0,0 +1,431 @@ +Source: gst-plugins0.8 +Section: libs +Priority: optional +Maintainer: Maintainers of GStreamer packages +Uploaders: David I. Lehn , Loic Minier +Build-Depends: libgstreamer0.8-dev (>= 0.8.11.2), libasound2-dev (>= 1.0.0) , libraw1394-dev , libavc1394-dev , libcdparanoia0-dev (>= 3a9.8), libaa1-dev (>= 1.4p5), autotools-dev, cdbs (>= 0.4.20), debhelper (>= 4.1.0), festival-dev (>= 1.4.2), hermes1-dev (>= 1.3.2), ladspa-sdk (>= 1.0), liba52-0.7.4-dev, libarts1-dev (>= 1.4.2-1), libartsc0-dev (>= 1.4.2-1), libaudiofile-dev (>= 0.2.3), libcaca-dev, libcairo2-dev (>= 0.5.0) | libcairo-dev (>= 0.5.0), libcdio-dev, libdts-dev, libdv4-dev | libdv-dev, libdvdnav-dev (>= 0.1.9), libdvdread3-dev (>= 0.9.4), libesd0-dev (>= 0.2.28), libflac-dev (>= 1.1.2-1), libgconf2-dev (>= 2.4), libglib2.0-dev (>= 2.2.0), libgnomevfs2-dev (>= 2.4), libgsm1-dev (>= 1.0.10), libgtk2.0-dev (>= 2.2.0), libid3tag0-dev (>= 0.14.2b), libjpeg62-dev (>= 6b), libmad0-dev (>= 0.14.2b), libmms-dev (>= 0.2), libmikmod2-dev (>= 3.1.10), libmng-dev, libmpcdec-dev, libmpeg2-4-dev (>= 0.4.0b), liboil0.3-dev (>= 0.3.1), libpango1.0-dev, libpng12-0-dev, libsdl1.2-dev (>= 1.2.7+1.2.8cvs20041007-5.3), libshout3-dev, libsidplay1-dev (>= 1.36.59-3), libspeex-dev (>= 1.0.rel.4), libswfdec0.3-dev (>= 0.3.2-1), libtheora-dev, libvorbis-dev (>= 1.0.0-2), libwavpack-dev (>= 4.32-1), libx11-dev (>= 6.8.2.dfsg.1-3), libxdamage-dev, libxext-dev (>= 6.8.2.dfsg.1-3), libxfixes-dev, libxml2-dev (>= 2.4.23), libxv-dev (>= 6.8.2.dfsg.1-3), pkg-config (>= 0.11.0), libgl1-mesa-dev | libgl-dev, zlib1g-dev (>= 1:1.1.4) +Standards-Version: 3.6.2 + +Package: gstreamer0.8-plugins +Architecture: any +Depends: ${misc:Depends}, libgstreamer0.8-0 (>= 0.8.12), libgstreamer-plugins0.8-0 (>= 0.8.12), libgstreamer-gconf0.8-0 (>= 0.8.12), gstreamer0.8-plugin-apps (>= 0.8.12), gstreamer0.8-a52dec (>= 0.8.12), gstreamer0.8-aa (>= 0.8.12), gstreamer0.8-alsa (>= 0.8.12), gstreamer0.8-artsd (>= 0.8.12), gstreamer0.8-audiofile (>= 0.8.12), gstreamer0.8-caca (>= 0.8.12), gstreamer0.8-cdio (>= 0.8.12), gstreamer0.8-cdparanoia (>= 0.8.12), gstreamer0.8-dv (>= 0.8.12), gstreamer0.8-dvd (>= 0.8.12), gstreamer0.8-esd (>= 0.8.12), gstreamer0.8-festival (>= 0.8.12), gstreamer0.8-flac (>= 0.8.12), gstreamer0.8-gnomevfs (>= 0.8.12), gstreamer0.8-gsm (>= 0.8.12), gstreamer0.8-gtk (>= 0.8.12), gstreamer0.8-hermes (>= 0.8.12), gstreamer0.8-jpeg (>= 0.8.12), gstreamer0.8-mad (>= 0.8.12), gstreamer0.8-mikmod (>= 0.8.12), gstreamer0.8-misc (>= 0.8.12), gstreamer0.8-mms (>= 0.8.12), gstreamer0.8-mpeg2dec (>= 0.8.12), gstreamer0.8-musepack (>= 0.8.12), gstreamer0.8-oss (>= 0.8.12), gstreamer0.8-sdl (>= 0.8.12), gstreamer0.8-sid (>= 0.8.12), gstreamer0.8-speex (>= 0.8.12), gstreamer0.8-swfdec (>= 0.8.12), gstreamer0.8-theora (>= 0.8.12), gstreamer0.8-vorbis (>= 0.8.12), gstreamer0.8-x (>= 0.8.12) +Description: All GStreamer plugins + This package will ensure that all GStreamer plugins are installed. + . + This package is a "metapackage"; meaning it contains no programs; + instead, it just Depends on other packages. + +Package: gstreamer0.8-plugin-apps +Architecture: any +Section: utils +Depends: ${misc:Depends}, gstreamer0.8-tools (>= 0.8.12) +Recommends: gstreamer0.8-plugins +Description: Simple GStreamer applications + This package contains some simple GStreamer applications: + * gst-launch-ext-0.8 - wrapper script around common gst-launch pipelines + * gst-visualise-0.8 - simple visualization script + +Package: libgstreamer-plugins0.8-0 +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: Various GStreamer libraries and library plugins + This package contains various GStreamer libraries and library plugins which + include utilities for use by other GStreamer plugins and applications. + . + GStreamer plugins load the library plugins at runtime as needed. Other + plugin packages and applications will depend on this package if it is needed. + This package contains: + . + * libraries: + * libgstinterfaces + * libgstmedia-info + * libgstplay + * library plugins: + * gstaudio + * gstidct + * gstriff + * gstresample + * gstvideo + +Package: libgstreamer-plugins0.8-dev +Architecture: any +Section: libdevel +Depends: ${misc:Depends}, libgstreamer-plugins0.8-0 (= ${Source-Version}), libc6-dev | libc-dev, pkg-config, libgstreamer0.8-dev, ${shlibs:Depends}, libglib2.0-dev, libpopt-dev, libxml2-dev +Description: Development files for various GStreamer library and library plugins + This package includes the development files for GStreamer libraries and + library plugins found in the libgstreamer-plugins0.8-0 package. + +Package: libgstreamer-gconf0.8-0 +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Suggests: gnome-media +Description: GConf support for GStreamer + This package contains support for GStreamer applications which use GConf to + support persistent and/or shared settings such as default user specified + audio and video sinks. + . + This package includes the libgstgconf libraries and a schema. + . + http://www.gnome.org/projects/gconf/ + +Package: libgstreamer-gconf0.8-dev +Architecture: any +Section: libdevel +Depends: ${misc:Depends}, libgstreamer-gconf0.8-0 (= ${Source-Version}), libc6-dev | libc-dev, pkg-config, libgstreamer0.8-dev, ${shlibs:Depends}, libgconf2-dev, libglib2.0-dev, liborbit2-dev, libpopt-dev, libxml2-dev +Description: Development files for GConf support for GStreamer + This package contains support for GStreamer applications which use GConf to + support persistent and/or shared settings such as default user specified + audio and video sinks. + . + This package includes development files for the library in the + libgstreamer-gconf0.8-0 package. + . + http://www.gnome.org/projects/gconf/ + +Package: gstreamer0.8-a52dec +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: ATSC A/52 audio decoder plugin for GStreamer + This GStreamer plugin enables decoding of audio commonly found on DVDs and + in other MPEG streams. + . + http://liba52.sourceforge.net/ + +Package: gstreamer0.8-aa +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Provides: gstreamer0.8-videosink +Description: AA-lib plugin for GStreamer + This GStreamer plugin enables video streams to be displayed as text. + . + http://aa-project.sourceforge.net/aalib/ + +Package: gstreamer0.8-alsa +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends}, libgstreamer-plugins0.8-0 (>= 0.8.12) +Provides: gstreamer0.8-audiosink +Description: ALSA plugin for GStreamer + This GStreamer plugin enables the usage of ALSA supported devices for input + and output audio streams. + . + http://www.alsa-project.org/ + +Package: gstreamer0.8-artsd +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Provides: gstreamer0.8-audiosink +Description: aRtsd plugin for GStreamer + This GStreamer plugin enables audio output to the Analog Realtime Synthesizer + daemon (aRtsd). + . + http://www.arts-project.org/ + +Package: gstreamer0.8-audiofile +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: AudioFile plugin for GStreamer + This GStreamer plugin enables the processing of audio data from formats + supported by libaudiofile including AIFF, AIFF-C, WAVE, NeXT/Sun, + BICS, and raw data. + . + http://oss.sgi.com/projects/audiofile/ + +Package: gstreamer0.8-caca +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends}, libgstreamer-plugins0.8-0 (>= 0.8.12) +Provides: gstreamer0.8-videosink +Description: Colour AsCii Art library plugin for GStreamer + This GStreamer plugin enables video streams to be displayed as colorized + ascii art text. + . + http://sam.zoy.org/projects/libcaca/ + +Package: gstreamer0.8-cdio +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: low-level CD-ROM reading and control plugin for GStreamer + This GStreamer plugin uses the low-level libcdio library to encapsulate CD-ROM + reading and control. + . + http://savannah.gnu.org/projects/libcdio/ + +Package: gstreamer0.8-cdparanoia +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: cdparanoia plugin for GStreamer + This GStreamer plugin enables the use of a cd player as an audio stream + source, using the cdparanoia library. + . + http://www.xiph.org/paranoia/ + +Package: gstreamer0.8-dv +Architecture: any +Priority: extra +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: DV plugin for GStreamer + This GStreamer plugin enables the use of DV formatted video. The Quasar + DV Codec (libdv) is a software decoder for DV format video, as defined by + the IEC 61834 and SMPTE 314M standards. DV is the encoding format used by + consumer-grade digital camcorders. + . + This package also includes support for DV over an IEEE 1394 (FireWire) + interface using the raw1394 library. + . + http://libdv.sourceforge.net/ + +Package: gstreamer0.8-dvd +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: DVD plugin for GStreamer + This GStreamer plugin enables the use of a DVD player as an audio and video + input; it is based on libdvdread and libdvdnav. + . + http://dvd.sourceforge.net/ + +Package: gstreamer0.8-esd +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Provides: gstreamer0.8-audiosink +Description: Enlightened Sound Daemon plugin for GStreamer + This GStreamer plugin enables the use of the Enlightened Sound Daemon (ESD) + for audio output. + +Package: gstreamer0.8-festival +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: Festival speech synthesis plugin for GStreamer + This GStreamer plugin enables the use of a festival server to perform speech + synthesis. + +Package: gstreamer0.8-flac +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: FLAC plugin for GStreamer + This GStreamer plugin enables lossless audio compression and decompression + with the Free Lossless Audio Codec (FLAC) library. + . + http://flac.sourceforge.net/ + +Package: gstreamer0.8-gnomevfs +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: Gnome VFS plugin for GStreamer + This GStreamer plugin enables data stream input from a wide variety of + sources (anything which is supported by the GNOME VFS library). Use this + plugin for access to HTTP, FTP, file, gzip, cdda, WebDAV, and many other + data streams. + . + http://www.gnu.org/directory/libs/GnomeVFS.html + +Package: gstreamer0.8-gsm +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: GSM plugin for GStreamer + This GStreamer plugin enables the use of the European GSM 06.10 provisional + standard for full-rate speech transcoding, prI-ETS 300 036. + +Package: gstreamer0.8-gtk +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Replaces: gstreamer0.8-misc (<< 0.8.11-3) +Description: Gtk/Gdk plugin for GStreamer + The GdkPixbufGStreamer plugin decodes and scales image with the help of the + Gtk/Gdk toolkit. + +Package: gstreamer0.8-hermes +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Provides: gstreamer0.8-colorspace +Description: colorspace conversion plugin for GStreamer based on hermes + This GStreamer plugin converts a video stream from one colorspace format to + another using the hermes library. This is often used to convert from a + native stream format to a format that can be efficiently displayed. + . + http://www.clanlib.org/hermes/ + +Package: gstreamer0.8-jpeg +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: JPEG plugin for GStreamer + This GStreamer plugin enables the output of JPEG images from a video + stream. + +Package: gstreamer0.8-mad +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: MAD MPEG audio decoder plugin for GStreamer + This GStreamer plugin enables the decoding of MPEG audio streams. It + currently supports the all three audio layers of the MPEG 1 standard + (Layer I, Layer II, and Layer III, the latter often colloquially known + as MP3.) + . + http://www.mars.org/home/rob/proj/mpeg/ + +Package: gstreamer0.8-mikmod +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: MikMod decoder plugin for GStreamer + This GStreamer plugin enables the decoding of various module formats + into an audio stream. MikMod is able to decode the IT, XM, S3M, MTM, + 669, STM, ULT, FAR, MED, AMF, DSM, IMF, GDM, STX, OKT and of course MOD + module formats. + . + + +Package: gstreamer0.8-misc +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends}, libgstreamer-gconf0.8-0 (>= 0.8.12), libgstreamer-plugins0.8-0 (>= 0.8.12) +Provides: gstreamer0.8-colorspace, gstreamer0.8-wavpack +Conflicts: gstreamer0.8-wavpack +Description: Collection of various GStreamer plugins + This collection of miscellaneous GStreamer plugins is useful to process + many types of streams. You most certainly want to install this package. + . + A short list of features in this package: + * a/mulaw + * audioscale + * au/cdxa/mp1video/mpegaudio/wavparse + * avi/qtdemux + * avimux + * colorspace conversion + * cutter + * deinterlace + * EffecTV (various plugins) + * ffmpeg-based colorspace conversion + * synaesthesia + * goom + * flxdec + * int/float conversion + * LADSPA + * mixmatrix + * mono/stereo conversion + * mpeg stream support + * mpeg1 system encoder + * mpeg1/2 encoder + * mpeg1/2 types + * mp3 type detection + * NAS support + * ogg mux/demux + * ogm audio/video parsers + * UDP support + * video scaler + * volume meter/control + * Video4Linux1 (v4l1) & Video4Linux2 (v4l2) support + * VCD support + * cdplayer + * snapshot + * smpte wipes + * video, text, and time overlays + * videocrop + * videotestsrc + * wavenc + * passthrough! + * and many more... + . + These plugins have minimal external dependencies. + +Package: gstreamer0.8-mms +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: mms plugin for GStreamer + This GStreamer plugin enables support of "mms://" and "mmsh://" URLs via + LibMMS. + . + http://sourceforge.net/projects/libmms + +Package: gstreamer0.8-mpeg2dec +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: MPEG1 and MPEG2 video decoder plugin for GStreamer + This GStreamer plugin enables the decoding of MPEG1 and MPEG2 video + streams, using the libmpeg2 library. This type of video is found on + DVDs, in VOBs, and as standalone streams. + . + http://libmpeg2.sourceforge.net/ + +Package: gstreamer0.8-musepack +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: Musepack (MPC) audio decoder plugin for GStreamer + This GStreamer plugin enables decoding of the Musepack audio format, which + is often used in '.mpc' files. MPC is a lossy compression format like MP3 or + Ogg Vorbis. It is based on the MPEG-1 Layer-2 / MP2 algorithms. + . + http://www.musepack.net/ + +Package: gstreamer0.8-oss +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends}, libgstreamer-plugins0.8-0 (>= 0.8.12) +Provides: gstreamer0.8-audiosink +Description: OSS plugin for GStreamer + This GStreamer plugin enables the use of Open Sound System (OSS) supported + hardware for audio input and output. + +Package: gstreamer0.8-sdl +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends}, libgstreamer-plugins0.8-0 (>= 0.8.12) +Provides: gstreamer0.8-videosink +Description: SDL videosink plugin for GStreamer + This GStreamer plugin enables the use of SDL supported drivers for video + stream output. + . + http://www.libsdl.org/ + +Package: gstreamer0.8-sid +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: C64 SID decoder plugin for GStreamer + This GStreamer plugin enables the decoding of music written for C64 SID + chip (MOS 6581) and CPU (6510). + . + http://stud1.tuwien.ac.at/~e9426444/ + http://sidplay2.sourceforge.net/ + +Package: gstreamer0.8-speex +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: Speex plugin for GStreamer + This GStreamer plugin enables the encoding and decoding of Speex audio + streams. Speex is a audio compression format designed for speech. + . + http://www.speex.org/ + +Package: gstreamer0.8-swfdec +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: SWF (Macromedia Flash) decoder plugin for GStreamer + This GStreamer plugin enables the decoding of SWF (Macromedia Flash) + animations. The plugin is based on libswfdec. + . + http://swfdec.sourceforge.net/ + +Package: gstreamer0.8-theora +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: Theora plugin for GStreamer + This GStreamer plugin enables the encoding and decoding of Ogg Theora + compressed video streams. + . + http://www.theora.org/ + +Package: gstreamer0.8-vorbis +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends}, gstreamer0.8-misc (>= 0.8.12) +Description: Vorbis plugin for GStreamer + This GStreamer plugin enables the encoding and decoding of Ogg Vorbis + compressed audio streams. + . + http://www.vorbis.com/ + +Package: gstreamer0.8-x +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends}, libgstreamer-plugins0.8-0 (>= 0.8.12) +Provides: gstreamer0.8-videosink +Description: X videosink plugin for GStreamer + This GStreamer plugin enables the use of X to display video streams. + This plugin will take advantage of XVideo acceleration if the X + extension and hardware are available. + . + http://www.x.org/ + http://www.xfree86.org/ + --- gst-plugins0.8-0.8.12.orig/debian/libgstreamer-gconf.install +++ gst-plugins0.8-0.8.12/debian/libgstreamer-gconf.install @@ -0,0 +1,2 @@ +debian/tmp/etc/gconf/schemas/gstreamer-@GST_ABI@.schemas +debian/tmp/usr/lib/libgstgconf-@GST_ABI@.so.* --- gst-plugins0.8-0.8.12.orig/debian/gstreamer-gnomevfs.install +++ gst-plugins0.8-0.8.12/debian/gstreamer-gnomevfs.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstgnomevfs.so --- gst-plugins0.8-0.8.12.orig/debian/control.in +++ gst-plugins0.8-0.8.12/debian/control.in @@ -0,0 +1,431 @@ +Source: gst-plugins@GST_ABI@ +Section: libs +Priority: optional +Maintainer: Maintainers of GStreamer packages +Uploaders: David I. Lehn , Loic Minier +Build-Depends: BUILDDEPS +Standards-Version: 3.6.2 + +Package: @GST_PKGNAME@-plugins +Architecture: any +Depends: ${misc:Depends}, @GST_LIB@ (>= @GST_VERSION@), @GST_PLUGINS_LIB@ (>= @GST_VERSION@), @GST_GCONF_LIB@ (>= @GST_VERSION@), @GST_PKGNAME@-plugin-apps (>= @GST_VERSION@), @GST_PKGNAME@-a52dec (>= @GST_VERSION@), @GST_PKGNAME@-aa (>= @GST_VERSION@), @GST_PKGNAME@-alsa (>= @GST_VERSION@), @GST_PKGNAME@-artsd (>= @GST_VERSION@), @GST_PKGNAME@-audiofile (>= @GST_VERSION@), @GST_PKGNAME@-caca (>= @GST_VERSION@), @GST_PKGNAME@-cdio (>= @GST_VERSION@), @GST_PKGNAME@-cdparanoia (>= @GST_VERSION@), @GST_PKGNAME@-dv (>= @GST_VERSION@), @GST_PKGNAME@-dvd (>= @GST_VERSION@), @GST_PKGNAME@-esd (>= @GST_VERSION@), @GST_PKGNAME@-festival (>= @GST_VERSION@), @GST_PKGNAME@-flac (>= @GST_VERSION@), @GST_PKGNAME@-gnomevfs (>= @GST_VERSION@), @GST_PKGNAME@-gsm (>= @GST_VERSION@), @GST_PKGNAME@-gtk (>= @GST_VERSION@), @GST_PKGNAME@-hermes (>= @GST_VERSION@), @GST_PKGNAME@-jpeg (>= @GST_VERSION@), @GST_PKGNAME@-mad (>= @GST_VERSION@), @GST_PKGNAME@-mikmod (>= @GST_VERSION@), @GST_PKGNAME@-misc (>= @GST_VERSION@), @GST_PKGNAME@-mms (>= @GST_VERSION@), @GST_PKGNAME@-mpeg2dec (>= @GST_VERSION@), @GST_PKGNAME@-musepack (>= @GST_VERSION@), @GST_PKGNAME@-oss (>= @GST_VERSION@), @GST_PKGNAME@-sdl (>= @GST_VERSION@), @GST_PKGNAME@-sid (>= @GST_VERSION@), @GST_PKGNAME@-speex (>= @GST_VERSION@), @GST_PKGNAME@-swfdec (>= @GST_VERSION@), @GST_PKGNAME@-theora (>= @GST_VERSION@), @GST_PKGNAME@-vorbis (>= @GST_VERSION@), @GST_PKGNAME@-x (>= @GST_VERSION@) +Description: All GStreamer plugins + This package will ensure that all GStreamer plugins are installed. + . + This package is a "metapackage"; meaning it contains no programs; + instead, it just Depends on other packages. + +Package: @GST_PKGNAME@-plugin-apps +Architecture: any +Section: utils +Depends: ${misc:Depends}, @GST_PKGNAME@-tools (>= @GST_VERSION@) +Recommends: @GST_PKGNAME@-plugins +Description: Simple GStreamer applications + This package contains some simple GStreamer applications: + * gst-launch-ext-@GST_ABI@ - wrapper script around common gst-launch pipelines + * gst-visualise-@GST_ABI@ - simple visualization script + +Package: @GST_PLUGINS_LIB@ +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: Various GStreamer libraries and library plugins + This package contains various GStreamer libraries and library plugins which + include utilities for use by other GStreamer plugins and applications. + . + GStreamer plugins load the library plugins at runtime as needed. Other + plugin packages and applications will depend on this package if it is needed. + This package contains: + . + * libraries: + * libgstinterfaces + * libgstmedia-info + * libgstplay + * library plugins: + * gstaudio + * gstidct + * gstriff + * gstresample + * gstvideo + +Package: @GST_PLUGINS_LIB_DEV@ +Architecture: any +Section: libdevel +Depends: ${misc:Depends}, @GST_PLUGINS_LIB@ (= ${Source-Version}), libc6-dev | libc-dev, pkg-config, @GST_LIB_DEV@, ${shlibs:Depends}, libglib2.0-dev, libpopt-dev, libxml2-dev +Description: Development files for various GStreamer library and library plugins + This package includes the development files for GStreamer libraries and + library plugins found in the @GST_PLUGINS_LIB@ package. + +Package: @GST_GCONF_LIB@ +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Suggests: gnome-media +Description: GConf support for GStreamer + This package contains support for GStreamer applications which use GConf to + support persistent and/or shared settings such as default user specified + audio and video sinks. + . + This package includes the libgstgconf libraries and a schema. + . + http://www.gnome.org/projects/gconf/ + +Package: @GST_GCONF_LIB_DEV@ +Architecture: any +Section: libdevel +Depends: ${misc:Depends}, @GST_GCONF_LIB@ (= ${Source-Version}), libc6-dev | libc-dev, pkg-config, @GST_LIB_DEV@, ${shlibs:Depends}, libgconf2-dev, libglib2.0-dev, liborbit2-dev, libpopt-dev, libxml2-dev +Description: Development files for GConf support for GStreamer + This package contains support for GStreamer applications which use GConf to + support persistent and/or shared settings such as default user specified + audio and video sinks. + . + This package includes development files for the library in the + @GST_GCONF_LIB@ package. + . + http://www.gnome.org/projects/gconf/ + +Package: @GST_PKGNAME@-a52dec +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: ATSC A/52 audio decoder plugin for GStreamer + This GStreamer plugin enables decoding of audio commonly found on DVDs and + in other MPEG streams. + . + http://liba52.sourceforge.net/ + +Package: @GST_PKGNAME@-aa +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Provides: @GST_PKGNAME@-videosink +Description: AA-lib plugin for GStreamer + This GStreamer plugin enables video streams to be displayed as text. + . + http://aa-project.sourceforge.net/aalib/ + +Package: @GST_PKGNAME@-alsa +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends}, @GST_PLUGINS_LIB@ (>= @GST_VERSION@) +Provides: @GST_PKGNAME@-audiosink +Description: ALSA plugin for GStreamer + This GStreamer plugin enables the usage of ALSA supported devices for input + and output audio streams. + . + http://www.alsa-project.org/ + +Package: @GST_PKGNAME@-artsd +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Provides: @GST_PKGNAME@-audiosink +Description: aRtsd plugin for GStreamer + This GStreamer plugin enables audio output to the Analog Realtime Synthesizer + daemon (aRtsd). + . + http://www.arts-project.org/ + +Package: @GST_PKGNAME@-audiofile +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: AudioFile plugin for GStreamer + This GStreamer plugin enables the processing of audio data from formats + supported by libaudiofile including AIFF, AIFF-C, WAVE, NeXT/Sun, + BICS, and raw data. + . + http://oss.sgi.com/projects/audiofile/ + +Package: @GST_PKGNAME@-caca +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends}, @GST_PLUGINS_LIB@ (>= @GST_VERSION@) +Provides: @GST_PKGNAME@-videosink +Description: Colour AsCii Art library plugin for GStreamer + This GStreamer plugin enables video streams to be displayed as colorized + ascii art text. + . + http://sam.zoy.org/projects/libcaca/ + +Package: @GST_PKGNAME@-cdio +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: low-level CD-ROM reading and control plugin for GStreamer + This GStreamer plugin uses the low-level libcdio library to encapsulate CD-ROM + reading and control. + . + http://savannah.gnu.org/projects/libcdio/ + +Package: @GST_PKGNAME@-cdparanoia +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: cdparanoia plugin for GStreamer + This GStreamer plugin enables the use of a cd player as an audio stream + source, using the cdparanoia library. + . + http://www.xiph.org/paranoia/ + +Package: @GST_PKGNAME@-dv +Architecture: any +Priority: extra +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: DV plugin for GStreamer + This GStreamer plugin enables the use of DV formatted video. The Quasar + DV Codec (libdv) is a software decoder for DV format video, as defined by + the IEC 61834 and SMPTE 314M standards. DV is the encoding format used by + consumer-grade digital camcorders. + . + This package also includes support for DV over an IEEE 1394 (FireWire) + interface using the raw1394 library. + . + http://libdv.sourceforge.net/ + +Package: @GST_PKGNAME@-dvd +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: DVD plugin for GStreamer + This GStreamer plugin enables the use of a DVD player as an audio and video + input; it is based on libdvdread and libdvdnav. + . + http://dvd.sourceforge.net/ + +Package: @GST_PKGNAME@-esd +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Provides: @GST_PKGNAME@-audiosink +Description: Enlightened Sound Daemon plugin for GStreamer + This GStreamer plugin enables the use of the Enlightened Sound Daemon (ESD) + for audio output. + +Package: @GST_PKGNAME@-festival +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: Festival speech synthesis plugin for GStreamer + This GStreamer plugin enables the use of a festival server to perform speech + synthesis. + +Package: @GST_PKGNAME@-flac +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: FLAC plugin for GStreamer + This GStreamer plugin enables lossless audio compression and decompression + with the Free Lossless Audio Codec (FLAC) library. + . + http://flac.sourceforge.net/ + +Package: @GST_PKGNAME@-gnomevfs +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: Gnome VFS plugin for GStreamer + This GStreamer plugin enables data stream input from a wide variety of + sources (anything which is supported by the GNOME VFS library). Use this + plugin for access to HTTP, FTP, file, gzip, cdda, WebDAV, and many other + data streams. + . + http://www.gnu.org/directory/libs/GnomeVFS.html + +Package: @GST_PKGNAME@-gsm +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: GSM plugin for GStreamer + This GStreamer plugin enables the use of the European GSM 06.10 provisional + standard for full-rate speech transcoding, prI-ETS 300 036. + +Package: @GST_PKGNAME@-gtk +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Replaces: gstreamer0.8-misc (<< 0.8.11-3) +Description: Gtk/Gdk plugin for GStreamer + The GdkPixbufGStreamer plugin decodes and scales image with the help of the + Gtk/Gdk toolkit. + +Package: @GST_PKGNAME@-hermes +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Provides: @GST_PKGNAME@-colorspace +Description: colorspace conversion plugin for GStreamer based on hermes + This GStreamer plugin converts a video stream from one colorspace format to + another using the hermes library. This is often used to convert from a + native stream format to a format that can be efficiently displayed. + . + http://www.clanlib.org/hermes/ + +Package: @GST_PKGNAME@-jpeg +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: JPEG plugin for GStreamer + This GStreamer plugin enables the output of JPEG images from a video + stream. + +Package: @GST_PKGNAME@-mad +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: MAD MPEG audio decoder plugin for GStreamer + This GStreamer plugin enables the decoding of MPEG audio streams. It + currently supports the all three audio layers of the MPEG 1 standard + (Layer I, Layer II, and Layer III, the latter often colloquially known + as MP3.) + . + http://www.mars.org/home/rob/proj/mpeg/ + +Package: @GST_PKGNAME@-mikmod +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: MikMod decoder plugin for GStreamer + This GStreamer plugin enables the decoding of various module formats + into an audio stream. MikMod is able to decode the IT, XM, S3M, MTM, + 669, STM, ULT, FAR, MED, AMF, DSM, IMF, GDM, STX, OKT and of course MOD + module formats. + . + + +Package: @GST_PKGNAME@-misc +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends}, @GST_GCONF_LIB@ (>= @GST_VERSION@), @GST_PLUGINS_LIB@ (>= @GST_VERSION@) +Provides: @GST_PKGNAME@-colorspace, @GST_PKGNAME@-wavpack +Conflicts: @GST_PKGNAME@-wavpack +Description: Collection of various GStreamer plugins + This collection of miscellaneous GStreamer plugins is useful to process + many types of streams. You most certainly want to install this package. + . + A short list of features in this package: + * a/mulaw + * audioscale + * au/cdxa/mp1video/mpegaudio/wavparse + * avi/qtdemux + * avimux + * colorspace conversion + * cutter + * deinterlace + * EffecTV (various plugins) + * ffmpeg-based colorspace conversion + * synaesthesia + * goom + * flxdec + * int/float conversion + * LADSPA + * mixmatrix + * mono/stereo conversion + * mpeg stream support + * mpeg1 system encoder + * mpeg1/2 encoder + * mpeg1/2 types + * mp3 type detection + * NAS support + * ogg mux/demux + * ogm audio/video parsers + * UDP support + * video scaler + * volume meter/control + * Video4Linux1 (v4l1) & Video4Linux2 (v4l2) support + * VCD support + * cdplayer + * snapshot + * smpte wipes + * video, text, and time overlays + * videocrop + * videotestsrc + * wavenc + * passthrough! + * and many more... + . + These plugins have minimal external dependencies. + +Package: @GST_PKGNAME@-mms +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: mms plugin for GStreamer + This GStreamer plugin enables support of "mms://" and "mmsh://" URLs via + LibMMS. + . + http://sourceforge.net/projects/libmms + +Package: @GST_PKGNAME@-mpeg2dec +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: MPEG1 and MPEG2 video decoder plugin for GStreamer + This GStreamer plugin enables the decoding of MPEG1 and MPEG2 video + streams, using the libmpeg2 library. This type of video is found on + DVDs, in VOBs, and as standalone streams. + . + http://libmpeg2.sourceforge.net/ + +Package: @GST_PKGNAME@-musepack +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: Musepack (MPC) audio decoder plugin for GStreamer + This GStreamer plugin enables decoding of the Musepack audio format, which + is often used in '.mpc' files. MPC is a lossy compression format like MP3 or + Ogg Vorbis. It is based on the MPEG-1 Layer-2 / MP2 algorithms. + . + http://www.musepack.net/ + +Package: @GST_PKGNAME@-oss +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends}, @GST_PLUGINS_LIB@ (>= @GST_VERSION@) +Provides: @GST_PKGNAME@-audiosink +Description: OSS plugin for GStreamer + This GStreamer plugin enables the use of Open Sound System (OSS) supported + hardware for audio input and output. + +Package: @GST_PKGNAME@-sdl +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends}, @GST_PLUGINS_LIB@ (>= @GST_VERSION@) +Provides: @GST_PKGNAME@-videosink +Description: SDL videosink plugin for GStreamer + This GStreamer plugin enables the use of SDL supported drivers for video + stream output. + . + http://www.libsdl.org/ + +Package: @GST_PKGNAME@-sid +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: C64 SID decoder plugin for GStreamer + This GStreamer plugin enables the decoding of music written for C64 SID + chip (MOS 6581) and CPU (6510). + . + http://stud1.tuwien.ac.at/~e9426444/ + http://sidplay2.sourceforge.net/ + +Package: @GST_PKGNAME@-speex +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: Speex plugin for GStreamer + This GStreamer plugin enables the encoding and decoding of Speex audio + streams. Speex is a audio compression format designed for speech. + . + http://www.speex.org/ + +Package: @GST_PKGNAME@-swfdec +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: SWF (Macromedia Flash) decoder plugin for GStreamer + This GStreamer plugin enables the decoding of SWF (Macromedia Flash) + animations. The plugin is based on libswfdec. + . + http://swfdec.sourceforge.net/ + +Package: @GST_PKGNAME@-theora +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: Theora plugin for GStreamer + This GStreamer plugin enables the encoding and decoding of Ogg Theora + compressed video streams. + . + http://www.theora.org/ + +Package: @GST_PKGNAME@-vorbis +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends}, @GST_PKGNAME@-misc (>= @GST_VERSION@) +Description: Vorbis plugin for GStreamer + This GStreamer plugin enables the encoding and decoding of Ogg Vorbis + compressed audio streams. + . + http://www.vorbis.com/ + +Package: @GST_PKGNAME@-x +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends}, @GST_PLUGINS_LIB@ (>= @GST_VERSION@) +Provides: @GST_PKGNAME@-videosink +Description: X videosink plugin for GStreamer + This GStreamer plugin enables the use of X to display video streams. + This plugin will take advantage of XVideo acceleration if the X + extension and hardware are available. + . + http://www.x.org/ + http://www.xfree86.org/ + --- gst-plugins0.8-0.8.12.orig/debian/gstreamer-plugin-template.postinst +++ gst-plugins0.8-0.8.12/debian/gstreamer-plugin-template.postinst @@ -0,0 +1,15 @@ +#!/bin/sh + +set -e + +if [ "$1" = "configure" ]; then + GST_REGISTRY=/var/lib/gstreamer/@GST_ABI@/registry.xml \ + gst-register-@GST_ABI@ > /dev/null || true + GST_REGISTRY=/var/lib/gstreamer/@GST_ABI@/registry.xml \ + gst-compprep-@GST_ABI@ > /dev/null || true +fi + +#DEBHELPER# + +exit 0 + --- gst-plugins0.8-0.8.12.orig/debian/patches/70_relibtoolize.patch +++ gst-plugins0.8-0.8.12/debian/patches/70_relibtoolize.patch @@ -0,0 +1,15389 @@ +diff -urN -urN -x config.guess -x config.sub gst-plugins-0.8.11.2.orig/aclocal.m4 gst-plugins-0.8.11.2/aclocal.m4 +--- gst-plugins-0.8.11.2.orig/aclocal.m4 2006-01-30 03:34:39.000000000 +0100 ++++ gst-plugins-0.8.11.2/aclocal.m4 2006-02-08 16:19:05.000000000 +0100 +@@ -13,7 +13,7 @@ + + # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- + +-# serial 47 AC_PROG_LIBTOOL ++# serial 48 Debian 1.5.22-2 AC_PROG_LIBTOOL + + + # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED) +@@ -143,7 +143,7 @@ + default_ofile=libtool + can_build_shared=yes + +-# All known linkers require a `.a' archive for static linking (except M$VC, ++# All known linkers require a `.a' archive for static linking (except MSVC, + # which needs '.lib'). + libext=a + ltmain="$ac_aux_dir/ltmain.sh" +@@ -163,6 +163,7 @@ + test -z "$AS" && AS=as + test -z "$CC" && CC=cc + test -z "$LTCC" && LTCC=$CC ++test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS + test -z "$DLLTOOL" && DLLTOOL=dlltool + test -z "$LD" && LD=ld + test -z "$LN_S" && LN_S="ln -s" +@@ -182,10 +183,10 @@ + if test -n "$RANLIB"; then + case $host_os in + openbsd*) +- old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" ++ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" + ;; + *) +- old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" ++ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" + ;; + esac + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" +@@ -233,6 +234,9 @@ + # If no C compiler was specified, use CC. + LTCC=${LTCC-"$CC"} + ++# If no C compiler flags were specified, use CFLAGS. ++LTCFLAGS=${LTCFLAGS-"$CFLAGS"} ++ + # Allow CC to be a program name with arguments. + compiler=$CC + ])# _LT_AC_SYS_COMPILER +@@ -261,7 +265,7 @@ + AC_DEFUN([_LT_COMPILER_BOILERPLATE], + [ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" >conftest.$ac_ext +-eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err ++eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err + _lt_compiler_boilerplate=`cat conftest.err` + $rm conftest* + ])# _LT_COMPILER_BOILERPLATE +@@ -274,7 +278,7 @@ + AC_DEFUN([_LT_LINKER_BOILERPLATE], + [ac_outfile=conftest.$ac_objext + printf "$lt_simple_link_test_code" >conftest.$ac_ext +-eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err ++eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err + _lt_linker_boilerplate=`cat conftest.err` + $rm conftest* + ])# _LT_LINKER_BOILERPLATE +@@ -359,8 +363,8 @@ + # find a string as large as possible, as long as the shell can cope with it + for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... +- if (echo_test_string="`eval $cmd`") 2>/dev/null && +- echo_test_string="`eval $cmd`" && ++ if (echo_test_string=`eval $cmd`) 2>/dev/null && ++ echo_test_string=`eval $cmd` && + (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null + then + break +@@ -529,7 +533,7 @@ + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then +- case "`/usr/bin/file conftest.o`" in ++ case `/usr/bin/file conftest.o` in + *32-bit*) + case $host in + x86_64-*linux*) +@@ -580,6 +584,22 @@ + CFLAGS="$SAVE_CFLAGS" + fi + ;; ++sparc*-*solaris*) ++ # Find out which ABI we are using. ++ echo 'int i;' > conftest.$ac_ext ++ if AC_TRY_EVAL(ac_compile); then ++ case `/usr/bin/file conftest.o` in ++ *64-bit*) ++ case $lt_cv_prog_gnu_ld in ++ yes*) LD="${LD-ld} -m elf64_sparc" ;; ++ *) LD="${LD-ld} -64" ;; ++ esac ++ ;; ++ esac ++ fi ++ rm -rf conftest* ++ ;; ++ + AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], + [*-*-cygwin* | *-*-mingw* | *-*-pw32*) + AC_CHECK_TOOL(DLLTOOL, dlltool, false) +@@ -611,7 +631,7 @@ + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ +- -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ ++ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) +@@ -622,9 +642,9 @@ + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. +- $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp +- $SED '/^$/d' conftest.err >conftest.er2 +- if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then ++ $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp ++ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 ++ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then + $2=yes + fi + fi +@@ -650,13 +670,13 @@ + LDFLAGS="$LDFLAGS $3" + printf "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then +- # The compiler can only warn and ignore the option if not recognized ++ # The linker can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&AS_MESSAGE_LOG_FD +- $echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp +- $SED '/^$/d' conftest.err >conftest.er2 ++ $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp ++ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if diff conftest.exp conftest.er2 >/dev/null; then + $2=yes + fi +@@ -725,25 +745,42 @@ + elif test -x /usr/sbin/sysctl; then + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` + else +- lt_cv_sys_max_cmd_len=65536 # usable default for *BSD ++ lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs + fi + # And add a safety zone + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` + ;; ++ ++ interix*) ++ # We know the value 262144 and hardcode it with a safety zone (like BSD) ++ lt_cv_sys_max_cmd_len=196608 ++ ;; ++ + osf*) + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not + # nice to cause kernel panics so lets avoid the loop below. + # First set a reasonable default. + lt_cv_sys_max_cmd_len=16384 +- # ++ # + if test -x /sbin/sysconfig; then + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in + *1*) lt_cv_sys_max_cmd_len=-1 ;; + esac + fi + ;; ++ sco3.2v5*) ++ lt_cv_sys_max_cmd_len=102400 ++ ;; ++ sysv5* | sco5v6* | sysv4.2uw2*) ++ kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` ++ if test -n "$kargmax"; then ++ lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` ++ else ++ lt_cv_sys_max_cmd_len=32768 ++ fi ++ ;; + *) + # If test is not a shell built-in, we'll probably end up computing a + # maximum length that is only half of the actual maximum length, but +@@ -775,7 +812,7 @@ + + + # _LT_AC_CHECK_DLFCN +-# -------------------- ++# ------------------ + AC_DEFUN([_LT_AC_CHECK_DLFCN], + [AC_CHECK_HEADERS(dlfcn.h)dnl + ])# _LT_AC_CHECK_DLFCN +@@ -783,7 +820,7 @@ + + # _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, + # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) +-# ------------------------------------------------------------------ ++# --------------------------------------------------------------------- + AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF], + [AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl + if test "$cross_compiling" = yes; then : +@@ -849,17 +886,19 @@ + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } ++ else ++ puts (dlerror ()); + + exit (status); + }] + EOF + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then +- (./conftest; exit; ) 2>/dev/null ++ (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) $1 ;; + x$lt_dlneed_uscore) $2 ;; +- x$lt_unknown|x*) $3 ;; ++ x$lt_dlunknown|x*) $3 ;; + esac + else : + # compilation failed +@@ -871,7 +910,7 @@ + + + # AC_LIBTOOL_DLOPEN_SELF +-# ------------------- ++# ---------------------- + AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], + [AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl + if test "x$enable_dlopen" != xyes; then +@@ -942,7 +981,7 @@ + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" + + save_LDFLAGS="$LDFLAGS" +- eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" ++ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" + + save_LIBS="$LIBS" + LIBS="$lt_cv_dlopen_libs $LIBS" +@@ -955,7 +994,7 @@ + ]) + + if test "x$lt_cv_dlopen_self" = xyes; then +- LDFLAGS="$LDFLAGS $link_static_flag" ++ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" + AC_CACHE_CHECK([whether a statically linked program can dlopen itself], + lt_cv_dlopen_self_static, [dnl + _LT_AC_TRY_DLOPEN_SELF( +@@ -1003,7 +1042,7 @@ + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ +- -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ ++ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) +@@ -1015,13 +1054,13 @@ + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings +- $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp +- $SED '/^$/d' out/conftest.err >out/conftest.er2 +- if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then ++ $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp ++ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 ++ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then + _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes + fi + fi +- chmod u+w . ++ chmod u+w . 2>&AS_MESSAGE_LOG_FD + $rm conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation +@@ -1281,7 +1320,8 @@ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ +- $install_prog $dir/$dlname \$dldir/$dlname' ++ $install_prog $dir/$dlname \$dldir/$dlname~ ++ chmod a+x \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' +@@ -1334,7 +1374,7 @@ + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH +- shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)' ++ shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. + if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` +@@ -1372,7 +1412,14 @@ + freebsd* | dragonfly*) + # DragonFly does not have aout. When/if they implement a new + # versioning mechanism, adjust this. +- objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` ++ if test -x /usr/bin/objformat; then ++ objformat=`/usr/bin/objformat` ++ else ++ case $host_os in ++ freebsd[[123]]*) objformat=aout ;; ++ *) objformat=elf ;; ++ esac ++ fi + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) +@@ -1394,10 +1441,15 @@ + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; +- *) # from 3.2 on ++ freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \ ++ freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1) + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; ++ freebsd*) # from 4.6 on ++ shlibpath_overrides_runpath=yes ++ hardcode_into_libs=yes ++ ;; + esac + ;; + +@@ -1417,7 +1469,7 @@ + version_type=sunos + need_lib_prefix=no + need_version=no +- case "$host_cpu" in ++ case $host_cpu in + ia64*) + shrext_cmds='.so' + hardcode_into_libs=yes +@@ -1457,6 +1509,18 @@ + postinstall_cmds='chmod 555 $lib' + ;; + ++interix3*) ++ version_type=linux ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' ++ shlibpath_var=LD_LIBRARY_PATH ++ shlibpath_overrides_runpath=no ++ hardcode_into_libs=yes ++ ;; ++ + irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; +@@ -1514,27 +1578,10 @@ + # before this can be enabled. + hardcode_into_libs=yes + +- # find out which ABI we are using +- libsuff= +- case "$host_cpu" in +- x86_64*|s390x*|powerpc64*) +- echo '[#]line __oline__ "configure"' > conftest.$ac_ext +- if AC_TRY_EVAL(ac_compile); then +- case `/usr/bin/file conftest.$ac_objext` in +- *64-bit*) +- libsuff=64 +- sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" +- ;; +- esac +- fi +- rm -rf conftest* +- ;; +- esac +- + # Append ld.so.conf contents to the search path + if test -f /etc/ld.so.conf; then + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` +- sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" ++ sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" + fi + + # We used to test for /lib/ld.so.1 and disable shared libraries on +@@ -1546,6 +1593,18 @@ + dynamic_linker='GNU/Linux ld.so' + ;; + ++netbsdelf*-gnu) ++ version_type=linux ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ shlibpath_var=LD_LIBRARY_PATH ++ shlibpath_overrides_runpath=no ++ hardcode_into_libs=yes ++ dynamic_linker='NetBSD ld.elf_so' ++ ;; ++ + knetbsd*-gnu) + version_type=linux + need_lib_prefix=no +@@ -1595,6 +1654,7 @@ + + openbsd*) + version_type=sunos ++ sys_lib_dlsearch_path_spec="/usr/lib" + need_lib_prefix=no + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. + case $host_os in +@@ -1638,13 +1698,6 @@ + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +-sco3.2v5*) +- version_type=osf +- soname_spec='${libname}${release}${shared_ext}$major' +- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' +- shlibpath_var=LD_LIBRARY_PATH +- ;; +- + solaris*) + version_type=linux + need_lib_prefix=no +@@ -1670,7 +1723,7 @@ + need_version=yes + ;; + +-sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) ++sysv4 | sysv4.3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' +@@ -1703,6 +1756,29 @@ + fi + ;; + ++sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) ++ version_type=freebsd-elf ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ shlibpath_var=LD_LIBRARY_PATH ++ hardcode_into_libs=yes ++ if test "$with_gnu_ld" = yes; then ++ sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' ++ shlibpath_overrides_runpath=no ++ else ++ sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' ++ shlibpath_overrides_runpath=yes ++ case $host_os in ++ sco3.2v5*) ++ sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" ++ ;; ++ esac ++ fi ++ sys_lib_dlsearch_path_spec='/usr/lib' ++ ;; ++ + uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' +@@ -1716,6 +1792,11 @@ + esac + AC_MSG_RESULT([$dynamic_linker]) + test "$dynamic_linker" = no && can_build_shared=no ++ ++variables_saved_for_relink="PATH $shlibpath_var $runpath_var" ++if test "$GCC" = yes; then ++ variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" ++fi + ])# AC_LIBTOOL_SYS_DYNAMIC_LINKER + + +@@ -1740,6 +1821,9 @@ + AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile']) + fi + fi ++ if test -z "$LTCFLAGS"; then ++ eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`" ++ fi + + # Extract list of available tagged configurations in $ofile. + # Note that this assumes the entire list is on one line. +@@ -1830,7 +1914,7 @@ + + # AC_LIBTOOL_WIN32_DLL + # -------------------- +-# declare package support for building win32 dll's ++# declare package support for building win32 DLLs + AC_DEFUN([AC_LIBTOOL_WIN32_DLL], + [AC_BEFORE([$0], [AC_LIBTOOL_SETUP]) + ])# AC_LIBTOOL_WIN32_DLL +@@ -1868,7 +1952,7 @@ + + # AC_DISABLE_SHARED + # ----------------- +-#- set the default shared flag to --disable-shared ++# set the default shared flag to --disable-shared + AC_DEFUN([AC_DISABLE_SHARED], + [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl + AC_ENABLE_SHARED(no) +@@ -2004,7 +2088,7 @@ + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) +- file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" ++ file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then +@@ -2114,7 +2198,7 @@ + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + lt_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, +- # but apparently some GNU ld's only accept -v. ++ # but apparently some variants of GNU ld only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + case `"$lt_cv_path_LD" -v 2>&1 &1 /dev/null; then + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' + else +@@ -2321,15 +2410,11 @@ + lt_cv_deplibs_check_method=pass_all + ;; + +-sco3.2v5*) +- lt_cv_deplibs_check_method=pass_all +- ;; +- + solaris*) + lt_cv_deplibs_check_method=pass_all + ;; + +-sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) ++sysv4 | sysv4.3*) + case $host_vendor in + motorola) + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' +@@ -2350,10 +2435,13 @@ + siemens) + lt_cv_deplibs_check_method=pass_all + ;; ++ pc) ++ lt_cv_deplibs_check_method=pass_all ++ ;; + esac + ;; + +-sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*) ++sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + lt_cv_deplibs_check_method=pass_all + ;; + esac +@@ -2373,36 +2461,43 @@ + # Let the user override the test. + lt_cv_path_NM="$NM" + else +- lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR +- for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do +- IFS="$lt_save_ifs" +- test -z "$ac_dir" && ac_dir=. +- tmp_nm="$ac_dir/${ac_tool_prefix}nm" +- if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then +- # Check to see if the nm accepts a BSD-compat flag. +- # Adding the `sed 1q' prevents false positives on HP-UX, which says: +- # nm: unknown option "B" ignored +- # Tru64's nm complains that /dev/null is an invalid object file +- case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in +- */dev/null* | *'Invalid file or object type'*) +- lt_cv_path_NM="$tmp_nm -B" +- break +- ;; +- *) +- case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in +- */dev/null*) +- lt_cv_path_NM="$tmp_nm -p" ++ lt_nm_to_check="${ac_tool_prefix}nm" ++ if test -n "$ac_tool_prefix" && test "$build" = "$host"; then ++ lt_nm_to_check="$lt_nm_to_check nm" ++ fi ++ for lt_tmp_nm in $lt_nm_to_check; do ++ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR ++ for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do ++ IFS="$lt_save_ifs" ++ test -z "$ac_dir" && ac_dir=. ++ tmp_nm="$ac_dir/$lt_tmp_nm" ++ if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then ++ # Check to see if the nm accepts a BSD-compat flag. ++ # Adding the `sed 1q' prevents false positives on HP-UX, which says: ++ # nm: unknown option "B" ignored ++ # Tru64's nm complains that /dev/null is an invalid object file ++ case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in ++ */dev/null* | *'Invalid file or object type'*) ++ lt_cv_path_NM="$tmp_nm -B" + break + ;; + *) +- lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but +- continue # so that we can try to find one that supports BSD flags ++ case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in ++ */dev/null*) ++ lt_cv_path_NM="$tmp_nm -p" ++ break ++ ;; ++ *) ++ lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but ++ continue # so that we can try to find one that supports BSD flags ++ ;; ++ esac + ;; + esac +- esac +- fi ++ fi ++ done ++ IFS="$lt_save_ifs" + done +- IFS="$lt_save_ifs" + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm + fi]) + NM="$lt_cv_path_NM" +@@ -2434,13 +2529,13 @@ + # ----------------------------------- + # sets LIBLTDL to the link flags for the libltdl convenience library and + # LTDLINCL to the include flags for the libltdl header and adds +-# --enable-ltdl-convenience to the configure arguments. Note that LIBLTDL +-# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If +-# DIRECTORY is not provided, it is assumed to be `libltdl'. LIBLTDL will +-# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed with +-# '${top_srcdir}/' (note the single quotes!). If your package is not +-# flat and you're not using automake, define top_builddir and +-# top_srcdir appropriately in the Makefiles. ++# --enable-ltdl-convenience to the configure arguments. Note that ++# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided, ++# it is assumed to be `libltdl'. LIBLTDL will be prefixed with ++# '${top_builddir}/' and LTDLINCL will be prefixed with '${top_srcdir}/' ++# (note the single quotes!). If your package is not flat and you're not ++# using automake, define top_builddir and top_srcdir appropriately in ++# the Makefiles. + AC_DEFUN([AC_LIBLTDL_CONVENIENCE], + [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl + case $enable_ltdl_convenience in +@@ -2459,13 +2554,13 @@ + # ----------------------------------- + # sets LIBLTDL to the link flags for the libltdl installable library and + # LTDLINCL to the include flags for the libltdl header and adds +-# --enable-ltdl-install to the configure arguments. Note that LIBLTDL +-# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If +-# DIRECTORY is not provided and an installed libltdl is not found, it is +-# assumed to be `libltdl'. LIBLTDL will be prefixed with '${top_builddir}/' +-# and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single +-# quotes!). If your package is not flat and you're not using automake, +-# define top_builddir and top_srcdir appropriately in the Makefiles. ++# --enable-ltdl-install to the configure arguments. Note that ++# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided, ++# and an installed libltdl is not found, it is assumed to be `libltdl'. ++# LIBLTDL will be prefixed with '${top_builddir}/'# and LTDLINCL with ++# '${top_srcdir}/' (note the single quotes!). If your package is not ++# flat and you're not using automake, define top_builddir and top_srcdir ++# appropriately in the Makefiles. + # In the future, this macro may have to be called after AC_PROG_LIBTOOL. + AC_DEFUN([AC_LIBLTDL_INSTALLABLE], + [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl +@@ -2508,7 +2603,7 @@ + ])# _LT_AC_LANG_CXX + + # _LT_AC_PROG_CXXCPP +-# --------------- ++# ------------------ + AC_DEFUN([_LT_AC_PROG_CXXCPP], + [ + AC_REQUIRE([AC_PROG_CXX]) +@@ -2557,7 +2652,7 @@ + + + # AC_LIBTOOL_RC +-# -------------- ++# ------------- + # enable support for Windows resource files + AC_DEFUN([AC_LIBTOOL_RC], + [AC_REQUIRE([LT_AC_PROG_RC]) +@@ -2594,37 +2689,6 @@ + _LT_COMPILER_BOILERPLATE + _LT_LINKER_BOILERPLATE + +-# +-# Check for any special shared library compilation flags. +-# +-_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)= +-if test "$GCC" = no; then +- case $host_os in +- sco3.2v5*) +- _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf' +- ;; +- esac +-fi +-if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then +- AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries]) +- if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[ ]]" >/dev/null; then : +- else +- AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure]) +- _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no +- fi +-fi +- +- +-# +-# Check to make sure the static flag actually works. +-# +-AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works], +- _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1), +- $_LT_AC_TAGVAR(lt_prog_compiler_static, $1), +- [], +- [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=]) +- +- + AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1) + AC_LIBTOOL_PROG_COMPILER_PIC($1) + AC_LIBTOOL_PROG_CC_C_O($1) +@@ -2633,9 +2697,9 @@ + AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) + AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) + AC_LIBTOOL_SYS_LIB_STRIP +-AC_LIBTOOL_DLOPEN_SELF($1) ++AC_LIBTOOL_DLOPEN_SELF + +-# Report which librarie types wil actually be built ++# Report which library types will actually be built + AC_MSG_CHECKING([if libtool supports shared libraries]) + AC_MSG_RESULT([$can_build_shared]) + +@@ -2644,7 +2708,7 @@ + + # On AIX, shared libraries and static libraries use the same namespace, and + # are all built from PIC. +-case "$host_os" in ++case $host_os in + aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then +@@ -2694,6 +2758,7 @@ + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= + _LT_AC_TAGVAR(hardcode_minus_L, $1)=no ++_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_AC_TAGVAR(hardcode_automatic, $1)=no + _LT_AC_TAGVAR(module_cmds, $1)= + _LT_AC_TAGVAR(module_expsym_cmds, $1)= +@@ -2711,7 +2776,7 @@ + _LT_AC_TAGVAR(compiler_lib_search_path, $1)= + + # Source file extension for C++ test sources. +-ac_ext=cc ++ac_ext=cpp + + # Object file extension for compiled C++ test sources. + objext=o +@@ -2721,7 +2786,7 @@ + lt_simple_compile_test_code="int some_variable = 0;\n" + + # Code to be used in simple link tests +-lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n' ++lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }\n' + + # ltmain only uses $CC for tagged configurations so make sure $CC is set. + _LT_AC_SYS_COMPILER +@@ -2740,12 +2805,12 @@ + if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx + else +- unset lt_cv_prog_gnu_ld ++ $as_unset lt_cv_prog_gnu_ld + fi + if test -n "${lt_cv_path_LDCXX+set}"; then + lt_cv_path_LD=$lt_cv_path_LDCXX + else +- unset lt_cv_path_LD ++ $as_unset lt_cv_path_LD + fi + test -z "${LDCXX+set}" || LD=$LDCXX + CC=${CXX-"c++"} +@@ -2840,6 +2905,7 @@ + ;; + esac + done ++ ;; + esac + + exp_sym_flag='-bexport' +@@ -2877,6 +2943,7 @@ + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= + fi ++ ;; + esac + shared_flag='-shared' + if test "$aix_use_runtimelinking" = yes; then +@@ -2908,12 +2975,12 @@ + _LT_AC_SYS_LIBPATH_AIX + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + +- _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" ++ _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' + _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" +- _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" ++ _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + _LT_AC_SYS_LIBPATH_AIX +@@ -2922,16 +2989,26 @@ + # -berok will link without error, but may produce a broken library. + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' +- # -bexpall does not export symbols beginning with underscore (_) +- _LT_AC_TAGVAR(always_export_symbols, $1)=yes + # Exported symbols can be pulled into shared objects from archives +- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' ' ++ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience' + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes +- # This is similar to how AIX traditionally builds it's shared libraries. +- _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' ++ # This is similar to how AIX traditionally builds its shared libraries. ++ _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; ++ ++ beos*) ++ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then ++ _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported ++ # Joseph Beckenbach says some releases of gcc ++ # support --undefined. This deserves some investigation. FIXME ++ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' ++ else ++ _LT_AC_TAGVAR(ld_shlibs, $1)=no ++ fi ++ ;; ++ + chorus*) + case $cc_basename in + *) +@@ -2941,7 +3018,6 @@ + esac + ;; + +- + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, + # as there is no search path for DLLs. +@@ -2951,7 +3027,7 @@ + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then +- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' ++ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then +@@ -2960,13 +3036,13 @@ + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ +- $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' ++ $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + darwin* | rhapsody*) +- case "$host_os" in ++ case $host_os in + rhapsody* | darwin1.[[012]]) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress' + ;; +@@ -3004,7 +3080,7 @@ + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' +- # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's ++ # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else +@@ -3017,7 +3093,7 @@ + output_verbose_link_cmd='echo' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' +- # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's ++ # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + ;; +@@ -3097,33 +3173,22 @@ + ;; + hpux10*|hpux11*) + if test $with_gnu_ld = no; then +- case "$host_cpu" in +- hppa*64*) +- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' ++ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' ++ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: ++ ++ case $host_cpu in ++ hppa*64*|ia64*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' +- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: +- ;; +- ia64*) +- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + ;; + *) +- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' +- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + ;; + esac + fi +- case "$host_cpu" in +- hppa*64*) +- _LT_AC_TAGVAR(hardcode_direct, $1)=no +- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no +- ;; +- ia64*) ++ case $host_cpu in ++ hppa*64*|ia64*) + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no +- _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, +- # but as the default +- # location of the library. + ;; + *) + _LT_AC_TAGVAR(hardcode_direct, $1)=yes +@@ -3139,9 +3204,12 @@ + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + aCC*) +- case "$host_cpu" in +- hppa*64*|ia64*) +- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' ++ case $host_cpu in ++ hppa*64*) ++ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ++ ;; ++ ia64*) ++ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' +@@ -3160,9 +3228,12 @@ + *) + if test "$GXX" = yes; then + if test $with_gnu_ld = no; then +- case "$host_cpu" in +- ia64*|hppa*64*) +- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' ++ case $host_cpu in ++ hppa*64*) ++ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ++ ;; ++ ia64*) ++ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' +@@ -3176,6 +3247,20 @@ + ;; + esac + ;; ++ interix3*) ++ _LT_AC_TAGVAR(hardcode_direct, $1)=no ++ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ++ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' ++ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' ++ # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. ++ # Instead, shared libraries are loaded at an image base (0x10000000 by ++ # default) and relocated if they conflict, which is a slow very memory ++ # consuming and fragmenting process. To avoid this, we pick a random, ++ # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link ++ # time. Moving up from 0x10000000 also allows more sbrk(2) space. ++ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ++ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ++ ;; + irix5* | irix6*) + case $cc_basename in + CC*) +@@ -3261,7 +3346,7 @@ + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' +- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive,`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' ++ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' + ;; + cxx*) + # Compaq C++ +@@ -3304,7 +3389,7 @@ + ;; + esac + ;; +- netbsd*) ++ netbsd* | netbsdelf*-gnu | knetbsd*-gnu) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' + wlarc= +@@ -3458,19 +3543,6 @@ + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; +- sco*) +- _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no +- case $cc_basename in +- CC*) +- # FIXME: insert proper C++ library support +- _LT_AC_TAGVAR(ld_shlibs, $1)=no +- ;; +- *) +- # FIXME: insert proper C++ library support +- _LT_AC_TAGVAR(ld_shlibs, $1)=no +- ;; +- esac +- ;; + sunos4*) + case $cc_basename in + CC*) +@@ -3493,10 +3565,11 @@ + case $cc_basename in + CC*) + # Sun C++ 4.2, 5.x and Centerline C++ ++ _LT_AC_TAGVAR(archive_cmds_need_lc,$1)=yes + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs' +- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ++ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ +- $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' ++ $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no +@@ -3516,15 +3589,7 @@ + esac + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + +- # Commands to make compiler produce verbose output that lists +- # what "hidden" libraries, object files and flags are used when +- # linking a shared library. +- # +- # There doesn't appear to be a way to prevent this compiler from +- # explicitly linking system object files so we need to strip them +- # from the output so that they don't get included in the library +- # dependencies. +- output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[[LR]]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ++ output_verbose_link_cmd='echo' + + # Archives containing C++ object files must be created using + # "CC -xar", where "CC" is the Sun C++ compiler. This is +@@ -3570,8 +3635,59 @@ + ;; + esac + ;; +- sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*) ++ sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) ++ _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' ++ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ++ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ++ runpath_var='LD_RUN_PATH' ++ ++ case $cc_basename in ++ CC*) ++ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ++ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ++ ;; ++ *) ++ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ++ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ++ ;; ++ esac ++ ;; ++ sysv5* | sco3.2v5* | sco5v6*) ++ # Note: We can NOT use -z defs as we might desire, because we do not ++ # link with -lc, and that would cause any symbols used from libc to ++ # always be unresolved, which means just about no library would ++ # ever link correctly. If we're not using GNU ld we use -z text ++ # though, which does catch some bad symbols but isn't as heavy-handed ++ # as -z defs. ++ # For security reasons, it is highly recommended that you always ++ # use absolute paths for naming shared libraries, and exclude the ++ # DT_RUNPATH tag from executables and libraries. But doing so ++ # requires that you compile everything twice, which is a pain. ++ # So that behaviour is only enabled if SCOABSPATH is set to a ++ # non-empty value in the environment. Most likely only useful for ++ # creating official distributions of packages. ++ # This is a hack until libtool officially supports absolute path ++ # names for shared libraries. ++ _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' ++ _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ++ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ++ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' ++ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' ++ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes ++ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' ++ runpath_var='LD_RUN_PATH' ++ ++ case $cc_basename in ++ CC*) ++ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' ++ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' ++ ;; ++ *) ++ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' ++ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' ++ ;; ++ esac + ;; + tandem*) + case $cc_basename in +@@ -3608,8 +3724,6 @@ + AC_LIBTOOL_PROG_LD_SHLIBS($1) + AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) + AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) +-AC_LIBTOOL_SYS_LIB_STRIP +-AC_LIBTOOL_DLOPEN_SELF($1) + + AC_LIBTOOL_CONFIG($1) + +@@ -3627,7 +3741,7 @@ + ])# AC_LIBTOOL_LANG_CXX_CONFIG + + # AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME]) +-# ------------------------ ++# ------------------------------------ + # Figure out "hidden" library dependencies from verbose + # compiler output when linking a shared library. + # Parse the compiler output and extract the necessary +@@ -3681,7 +3795,7 @@ + # The `*' in the case matches for architectures that use `case' in + # $output_verbose_cmd can trigger glob expansion during the loop + # eval without this substitution. +- output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`" ++ output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"` + + for p in `eval $output_verbose_link_cmd`; do + case $p in +@@ -3757,13 +3871,37 @@ + + $rm -f confest.$objext + ++# PORTME: override above test on systems where it is broken ++ifelse([$1],[CXX], ++[case $host_os in ++interix3*) ++ # Interix 3.5 installs completely hosed .la files for C++, so rather than ++ # hack all around it, let's just trust "g++" to DTRT. ++ _LT_AC_TAGVAR(predep_objects,$1)= ++ _LT_AC_TAGVAR(postdep_objects,$1)= ++ _LT_AC_TAGVAR(postdeps,$1)= ++ ;; ++ ++solaris*) ++ case $cc_basename in ++ CC*) ++ # Adding this requires a known-good setup of shared libraries for ++ # Sun compiler versions before 5.6, else PIC objects from an old ++ # archive will be linked into the output, leading to subtle bugs. ++ _LT_AC_TAGVAR(postdeps,$1)='-lCstd -lCrun' ++ ;; ++ esac ++ ;; ++esac ++]) ++ + case " $_LT_AC_TAGVAR(postdeps, $1) " in + *" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;; + esac + ])# AC_LIBTOOL_POSTDEP_PREDEP + + # AC_LIBTOOL_LANG_F77_CONFIG +-# ------------------------ ++# -------------------------- + # Ensure that the configuration vars for the C compiler are + # suitably defined. Those variables are subsequently used by + # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. +@@ -3826,7 +3964,7 @@ + + # On AIX, shared libraries and static libraries use the same namespace, and + # are all built from PIC. +-case "$host_os" in ++case $host_os in + aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then +@@ -3847,8 +3985,6 @@ + test "$enable_shared" = yes || enable_static=yes + AC_MSG_RESULT([$enable_static]) + +-test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no +- + _LT_AC_TAGVAR(GCC, $1)="$G77" + _LT_AC_TAGVAR(LD, $1)="$LD" + +@@ -3858,8 +3994,6 @@ + AC_LIBTOOL_PROG_LD_SHLIBS($1) + AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) + AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) +-AC_LIBTOOL_SYS_LIB_STRIP +- + + AC_LIBTOOL_CONFIG($1) + +@@ -3916,8 +4050,6 @@ + AC_LIBTOOL_PROG_LD_SHLIBS($1) + AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) + AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) +-AC_LIBTOOL_SYS_LIB_STRIP +-AC_LIBTOOL_DLOPEN_SELF($1) + + AC_LIBTOOL_CONFIG($1) + +@@ -3927,7 +4059,7 @@ + + + # AC_LIBTOOL_LANG_RC_CONFIG +-# -------------------------- ++# ------------------------- + # Ensure that the configuration vars for the Windows resource compiler are + # suitably defined. Those variables are subsequently used by + # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. +@@ -3990,7 +4122,7 @@ + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. +- for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ ++ for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ + SED SHELL STRIP \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ +@@ -4159,6 +4291,9 @@ + # A C compiler. + LTCC=$lt_LTCC + ++# LTCC compiler flags. ++LTCFLAGS=$lt_LTCFLAGS ++ + # A language-specific compiler. + CC=$lt_[]_LT_AC_TAGVAR(compiler, $1) + +@@ -4532,9 +4667,18 @@ + osf*) + symcode='[[BCDEGQRST]]' + ;; +-solaris* | sysv5*) ++solaris*) + symcode='[[BDRT]]' + ;; ++sco3.2v5*) ++ symcode='[[DT]]' ++ ;; ++sysv4.2uw2*) ++ symcode='[[DT]]' ++ ;; ++sysv5* | sco5v6* | unixware* | OpenUNIX*) ++ symcode='[[ABDT]]' ++ ;; + sysv4) + symcode='[[DFNSTU]]' + ;; +@@ -4717,6 +4861,10 @@ + # DJGPP does not support shared libraries at all + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + ;; ++ interix3*) ++ # Interix 3.x gcc -fpic/-fPIC options generate broken code. ++ # Instead, we relocate shared libraries at runtime. ++ ;; + sysv4*MP*) + if test -d /usr/nec; then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic +@@ -4725,7 +4873,7 @@ + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. +- case "$host_cpu" in ++ case $host_cpu in + hppa*64*|ia64*) + ;; + *) +@@ -4786,15 +4934,15 @@ + case $cc_basename in + CC*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' +- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" ++ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' + if test "$host_cpu" != ia64; then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + fi + ;; + aCC*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' +- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" +- case "$host_cpu" in ++ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' ++ case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; +@@ -4807,6 +4955,10 @@ + ;; + esac + ;; ++ interix*) ++ # This is c89, which is MS Visual C++ (no shared libs) ++ # Anyone wants to do a port? ++ ;; + irix5* | irix6* | nonstopux*) + case $cc_basename in + CC*) +@@ -4835,7 +4987,7 @@ + # Portland Group C++ compiler. + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' +- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' ++ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + cxx*) + # Compaq C++ +@@ -4861,7 +5013,7 @@ + ;; + esac + ;; +- netbsd*) ++ netbsd* | netbsdelf*-gnu | knetbsd*-gnu) + ;; + osf3* | osf4* | osf5*) + case $cc_basename in +@@ -4886,15 +5038,6 @@ + ;; + psos*) + ;; +- sco*) +- case $cc_basename in +- CC*) +- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' +- ;; +- *) +- ;; +- esac +- ;; + solaris*) + case $cc_basename in + CC*) +@@ -4936,7 +5079,14 @@ + ;; + esac + ;; +- unixware*) ++ sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) ++ case $cc_basename in ++ CC*) ++ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' ++ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' ++ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ++ ;; ++ esac + ;; + vxworks*) + ;; +@@ -4983,6 +5133,11 @@ + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' + ;; + ++ interix3*) ++ # Interix 3.x gcc -fpic/-fPIC options generate broken code. ++ # Instead, we relocate shared libraries at runtime. ++ ;; ++ + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. +@@ -4999,7 +5154,7 @@ + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. +- case "$host_cpu" in ++ case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; +@@ -5046,7 +5201,7 @@ + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. +- case "$host_cpu" in ++ case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; +@@ -5076,12 +5231,12 @@ + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; +- pgcc* | pgf77* | pgf90*) ++ pgcc* | pgf77* | pgf90* | pgf95*) + # Portland Group compilers (*not* the Pentium gcc compiler, + # which looks to be a dead project) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' +- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' ++ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + ccc*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' +@@ -5097,11 +5252,6 @@ + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + +- sco3.2v5*) +- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kpic' +- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-dn' +- ;; +- + solaris*) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' +@@ -5119,7 +5269,7 @@ + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + +- sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) ++ sysv4 | sysv4.2uw2* | sysv4.3*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' +@@ -5132,6 +5282,12 @@ + fi + ;; + ++ sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) ++ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' ++ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' ++ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ++ ;; ++ + unicos*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no +@@ -5164,7 +5320,7 @@ + [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) + fi +-case "$host_os" in ++case $host_os in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= +@@ -5173,6 +5329,16 @@ + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])" + ;; + esac ++ ++# ++# Check to make sure the static flag actually works. ++# ++wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\" ++AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], ++ _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1), ++ $lt_tmp_static_flag, ++ [], ++ [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=]) + ]) + + +@@ -5199,6 +5365,12 @@ + cygwin* | mingw*) + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] /s/.* \([[^ ]]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([[^ ]]*\) [[^ ]]*/\1 DATA/;/^I /d;/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols' + ;; ++ kfreebsd*-gnu) ++ _LT_AC_TAGVAR(link_all_deplibs, $1)=no ++ ;; ++ linux*) ++ _LT_AC_TAGVAR(link_all_deplibs, $1)=no ++ ;; + *) + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + ;; +@@ -5251,6 +5423,10 @@ + with_gnu_ld=no + fi + ;; ++ interix*) ++ # we just hope/assume this is gcc and not c89 (= MSVC++) ++ with_gnu_ld=yes ++ ;; + openbsd*) + with_gnu_ld=no + ;; +@@ -5260,7 +5436,7 @@ + if test "$with_gnu_ld" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' +- ++ + # Set some defaults for GNU ld with shared library support. These + # are reset later if shared libraries are not supported. Putting them + # here allows them to be overridden if necessary. +@@ -5281,7 +5457,7 @@ + *\ 2.11.*) ;; # other 2.11 versions + *) supports_anon_versioning=yes ;; + esac +- ++ + # See if GNU ld supports shared libraries. + case $host_os in + aix3* | aix4* | aix5*) +@@ -5335,7 +5511,7 @@ + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols' + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then +- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' ++ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then +@@ -5344,22 +5520,37 @@ + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ +- $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' ++ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + ++ interix3*) ++ _LT_AC_TAGVAR(hardcode_direct, $1)=no ++ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ++ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' ++ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' ++ # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. ++ # Instead, shared libraries are loaded at an image base (0x10000000 by ++ # default) and relocated if they conflict, which is a slow very memory ++ # consuming and fragmenting process. To avoid this, we pick a random, ++ # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link ++ # time. Moving up from 0x10000000 also allows more sbrk(2) space. ++ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ++ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ++ ;; ++ + linux*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + tmp_addflag= + case $cc_basename,$host_cpu in + pgcc*) # Portland Group C compiler +- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive,`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' ++ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_addflag=' $pic_flag' + ;; +- pgf77* | pgf90* ) # Portland Group f77 and f90 compilers +- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive,`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' ++ pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers ++ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_addflag=' $pic_flag -Mnomain' ;; + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 + tmp_addflag=' -i_dynamic' ;; +@@ -5376,12 +5567,13 @@ + $echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' + fi ++ _LT_AC_TAGVAR(link_all_deplibs, $1)=no + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + +- netbsd*) ++ netbsd* | netbsdelf*-gnu | knetbsd*-gnu) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= +@@ -5391,7 +5583,7 @@ + fi + ;; + +- solaris* | sysv5*) ++ solaris*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + _LT_AC_TAGVAR(ld_shlibs, $1)=no + cat <&2 +@@ -5412,6 +5604,33 @@ + fi + ;; + ++ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) ++ case `$LD -v 2>&1` in ++ *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*) ++ _LT_AC_TAGVAR(ld_shlibs, $1)=no ++ cat <<_LT_EOF 1>&2 ++ ++*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not ++*** reliably create shared libraries on SCO systems. Therefore, libtool ++*** is disabling shared libraries support. We urge you to upgrade GNU ++*** binutils to release 2.16.91.0.3 or newer. Another option is to modify ++*** your PATH or compiler configuration so that the native linker is ++*** used, and then restart. ++ ++_LT_EOF ++ ;; ++ *) ++ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then ++ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' ++ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' ++ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' ++ else ++ _LT_AC_TAGVAR(ld_shlibs, $1)=no ++ fi ++ ;; ++ esac ++ ;; ++ + sunos4*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= +@@ -5445,7 +5664,7 @@ + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes +- if test "$GCC" = yes && test -z "$link_static_flag"; then ++ if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported +@@ -5479,6 +5698,7 @@ + break + fi + done ++ ;; + esac + + exp_sym_flag='-bexport' +@@ -5516,6 +5736,7 @@ + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= + fi ++ ;; + esac + shared_flag='-shared' + if test "$aix_use_runtimelinking" = yes; then +@@ -5528,11 +5749,11 @@ + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else +- if test "$aix_use_runtimelinking" = yes; then ++ if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' +- fi ++ fi + fi + fi + +@@ -5546,12 +5767,12 @@ + # Determine the default libpath from the value encoded in an empty executable. + _LT_AC_SYS_LIBPATH_AIX + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" +- _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" ++ _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' + _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" +- _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" ++ _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + _LT_AC_SYS_LIBPATH_AIX +@@ -5560,13 +5781,11 @@ + # -berok will link without error, but may produce a broken library. + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' +- # -bexpall does not export symbols beginning with underscore (_) +- _LT_AC_TAGVAR(always_export_symbols, $1)=yes + # Exported symbols can be pulled into shared objects from archives +- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' ' ++ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience' + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes +- # This is similar to how AIX traditionally builds it's shared libraries. +- _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' ++ # This is similar to how AIX traditionally builds its shared libraries. ++ _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; +@@ -5605,7 +5824,7 @@ + ;; + + darwin* | rhapsody*) +- case "$host_os" in ++ case $host_os in + rhapsody* | darwin1.[[012]]) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress' + ;; +@@ -5634,7 +5853,7 @@ + output_verbose_link_cmd='echo' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' +- # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's ++ # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else +@@ -5643,7 +5862,7 @@ + output_verbose_link_cmd='echo' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' +- # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's ++ # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + ;; +@@ -5684,11 +5903,20 @@ + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. +- freebsd* | kfreebsd*-gnu | dragonfly*) ++ freebsd* | dragonfly*) ++ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' ++ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' ++ _LT_AC_TAGVAR(hardcode_direct, $1)=yes ++ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ++ ;; ++ ++ # GNU/kFreeBSD uses gcc -shared to do shared libraries. ++ kfreebsd*-gnu) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ++ _LT_AC_TAGVAR(link_all_deplibs, $1)=no + ;; + + hpux9*) +@@ -5707,47 +5935,62 @@ + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + ;; + +- hpux10* | hpux11*) ++ hpux10*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then +- case "$host_cpu" in +- hppa*64*|ia64*) ++ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ++ else ++ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ++ fi ++ if test "$with_gnu_ld" = no; then ++ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' ++ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: ++ ++ _LT_AC_TAGVAR(hardcode_direct, $1)=yes ++ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' ++ ++ # hardcode_minus_L: Not really in the search PATH, ++ # but as the default location of the library. ++ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes ++ fi ++ ;; ++ ++ hpux11*) ++ if test "$GCC" = yes -a "$with_gnu_ld" = no; then ++ case $host_cpu in ++ hppa*64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; ++ ia64*) ++ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ++ ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else +- case "$host_cpu" in +- hppa*64*|ia64*) +- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' ++ case $host_cpu in ++ hppa*64*) ++ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ++ ;; ++ ia64*) ++ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) +- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ++ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + fi + if test "$with_gnu_ld" = no; then +- case "$host_cpu" in +- hppa*64*) +- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' ++ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' ++ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: ++ ++ case $host_cpu in ++ hppa*64*|ia64*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' +- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: +- _LT_AC_TAGVAR(hardcode_direct, $1)=no +- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no +- ;; +- ia64*) +- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no +- +- # hardcode_minus_L: Not really in the search PATH, +- # but as the default location of the library. +- _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + ;; + *) +- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' +- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + +@@ -5771,7 +6014,7 @@ + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + ;; + +- netbsd*) ++ netbsd* | netbsdelf*-gnu | knetbsd*-gnu) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else +@@ -5849,14 +6092,6 @@ + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + ;; + +- sco3.2v5*) +- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' +- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no +- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' +- runpath_var=LD_RUN_PATH +- hardcode_runpath_var=yes +- ;; +- + solaris*) + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text' + if test "$GCC" = yes; then +@@ -5942,36 +6177,45 @@ + fi + ;; + +- sysv4.2uw2*) +- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' +- _LT_AC_TAGVAR(hardcode_direct, $1)=yes +- _LT_AC_TAGVAR(hardcode_minus_L, $1)=no ++ sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7*) ++ _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' ++ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no +- hardcode_runpath_var=yes +- runpath_var=LD_RUN_PATH +- ;; ++ runpath_var='LD_RUN_PATH' + +- sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*) +- _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text' + if test "$GCC" = yes; then +- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ++ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ++ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + else +- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ++ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ++ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + fi +- runpath_var='LD_RUN_PATH' +- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + +- sysv5*) +- _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text' +- # $CC -shared without GNU ld will not create a library from C++ +- # object files and a static libstdc++, better avoid it by now +- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' +- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ +- $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' +- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= ++ sysv5* | sco3.2v5* | sco5v6*) ++ # Note: We can NOT use -z defs as we might desire, because we do not ++ # link with -lc, and that would cause any symbols used from libc to ++ # always be unresolved, which means just about no library would ++ # ever link correctly. If we're not using GNU ld we use -z text ++ # though, which does catch some bad symbols but isn't as heavy-handed ++ # as -z defs. ++ _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' ++ _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' ++ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ++ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' ++ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' ++ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes ++ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' + runpath_var='LD_RUN_PATH' ++ ++ if test "$GCC" = yes; then ++ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' ++ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' ++ else ++ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' ++ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' ++ fi + ;; + + uts4*) +@@ -5989,11 +6233,6 @@ + AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) + test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no + +-variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +-if test "$GCC" = yes; then +- variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +-fi +- + # + # Do we need to explicitly link libc? + # +@@ -6021,6 +6260,7 @@ + libobjs=conftest.$ac_objext + deplibs= + wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) ++ pic_flag=$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) + compiler_flags=-v + linker_flags=-v + verstring= +@@ -7101,15 +7341,12 @@ + m4_include([common/m4/as-ac-expand.m4]) + m4_include([common/m4/as-auto-alt.m4]) + m4_include([common/m4/as-compiler-flag.m4]) +-m4_include([common/m4/as-docbook.m4]) + m4_include([common/m4/as-libtool.m4]) + m4_include([common/m4/as-objc.m4]) +-m4_include([common/m4/as-python.m4]) + m4_include([common/m4/as-scrub-include.m4]) + m4_include([common/m4/as-version.m4]) + m4_include([common/m4/ax_create_stdint_h.m4]) + m4_include([common/m4/gst-arch.m4]) +-m4_include([common/m4/gst-doc.m4]) + m4_include([common/m4/gst-feature.m4]) + m4_include([common/m4/gst-function.m4]) + m4_include([common/m4/gst-glib2.m4]) +diff -urN -urN -x config.guess -x config.sub gst-plugins-0.8.11.2.orig/configure gst-plugins-0.8.11.2/configure +--- gst-plugins-0.8.11.2.orig/configure 2006-01-30 03:46:32.000000000 +0100 ++++ gst-plugins-0.8.11.2/configure 2006-02-08 16:19:50.000000000 +0100 +@@ -285,8 +285,8 @@ + # find a string as large as possible, as long as the shell can cope with it + for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... +- if (echo_test_string="`eval $cmd`") 2>/dev/null && +- echo_test_string="`eval $cmd`" && ++ if (echo_test_string=`eval $cmd`) 2>/dev/null && ++ echo_test_string=`eval $cmd` && + (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null + then + break +@@ -463,7 +463,7 @@ + #endif" + + ac_unique_file="gst/law/alaw.c" +-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GST_PLUGINS_VERSION GST_PLUGINS_VERSION_RELEASE GST_PLUGINS_VERSION_MAJOR GST_PLUGINS_VERSION_MINOR GST_PLUGINS_VERSION_MICRO GST_PLUGINS_VERSION_NANO PACKAGE VERSION INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar GST_MAJORMINOR GST_PLUGINS_CURRENT GST_PLUGINS_REVISION GST_PLUGINS_AGE GST_PLUGINS_LIBVERSION GST_PLUGINS_LT_LDFLAGS AS_LIBTOOL_WIN32_TRUE AS_LIBTOOL_WIN32_FALSE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL ACLOCAL_AMFLAGS CCAS CCASFLAGS OBJC ac_ct_OBJC OBJC_LDFLAGS OBJCDEPMODE am__fastdepOBJC_TRUE am__fastdepOBJC_FALSE MKINSTALLDIRS MSGFMT GMSGFMT XGETTEXT MSGMERGE USE_NLS LIBICONV LTLIBICONV INTLLIBS LIBINTL LTLIBINTL POSUB GETTEXT_PACKAGE LOCALEDIR HAVE_CXX DEFAULT_AUDIOSINK DEFAULT_AUDIOSRC DEFAULT_VIDEOSINK DEFAULT_VIDEOSRC DEFAULT_VISUALIZER USE_EXTERNAL_TRUE USE_EXTERNAL_FALSE BUILD_EXTERNAL_TRUE BUILD_EXTERNAL_FALSE USE_EXPERIMENTAL_TRUE USE_EXPERIMENTAL_FALSE USE_BROKEN_TRUE USE_BROKEN_FALSE HTML_DIR HAVE_GTK_DOC GTK_DOC_SCANOBJ HAVE_DOCBOOK2PS HAVE_DOCBOOK2HTML HAVE_JADETEX HAVE_PS2PDF XSLTPROC XML_CATALOG XSLTPROC_FLAGS DOCBOOK_ROOT CAT_ENTRY_START CAT_ENTRY_END HAVE_DVIPS HAVE_FIG2DEV HAVE_PNGTOPNM HAVE_PNMTOPS HAVE_EPSTOPDF PYTHON PYTHON_VERSION PYTHON_PREFIX PYTHON_EXEC_PREFIX PYTHON_PLATFORM pythondir pkgpythondir pyexecdir pkgpyexecdir HAVE_GTK_DOC_TRUE HAVE_GTK_DOC_FALSE HAVE_DOCBOOK_TRUE HAVE_DOCBOOK_FALSE BUILD_DOCS_TRUE BUILD_DOCS_FALSE BUILD_PLUGIN_DOCS_TRUE BUILD_PLUGIN_DOCS_FALSE DOC_HTML_TRUE DOC_HTML_FALSE DOC_PDF_TRUE DOC_PDF_FALSE DOC_PS_TRUE DOC_PS_FALSE HAVE_CPU_I386_TRUE HAVE_CPU_I386_FALSE HAVE_CPU_PPC_TRUE HAVE_CPU_PPC_FALSE HAVE_CPU_ALPHA_TRUE HAVE_CPU_ALPHA_FALSE HAVE_CPU_ARM_TRUE HAVE_CPU_ARM_FALSE HAVE_CPU_SPARC_TRUE HAVE_CPU_SPARC_FALSE HAVE_CPU_HPPA_TRUE HAVE_CPU_HPPA_FALSE HAVE_CPU_MIPS_TRUE HAVE_CPU_MIPS_FALSE HAVE_CPU_S390_TRUE HAVE_CPU_S390_FALSE HAVE_CPU_IA64_TRUE HAVE_CPU_IA64_FALSE HAVE_CPU_M68K_TRUE HAVE_CPU_M68K_FALSE HAVE_CPU_X86_64_TRUE HAVE_CPU_X86_64_FALSE GCONF_SCHEMA_CONFIG_SOURCE GCONF_SCHEMA_FILE_DIR GCONF_SCHEMAS_INSTALL_TRUE GCONF_SCHEMAS_INSTALL_FALSE GCONFTOOL HAVE_GCONFTOOL USE_GCONFTOOL_TRUE USE_GCONFTOOL_FALSE PKG_CONFIG GCONF_CFLAGS GCONF_LIBS USE_GCONF_TRUE USE_GCONF_FALSE GST_CFLAGS GST_LIBS GST_TOOLS_DIR GST_LIB_DIR GST_CONTROL_CFLAGS GST_CONTROL_LIBS GLIB2_REQ GLIB2_CFLAGS GLIB2_LIBS GLIB_LIBS GLIB_CFLAGS GTK2_CFLAGS GTK2_LIBS GTK_VERSION GTK_BASE_DIR GTK_LIBS GTK_CFLAGS HAVE_GTK QUERYLOADERS GDK_PIXBUF_LOADER_DIR GDK_PIXBUF_CONF_DIR HAVE_GDK_LOADERS_TRUE HAVE_GDK_LOADERS_FALSE LIBOIL_CFLAGS LIBOIL_LIBS plugindir GST_PLUGIN_LDFLAGS GST_PLUGINS_ALL GST_PLUGINS_SELECTED USE_DXR3_TRUE USE_DXR3_FALSE USE_OSS_TRUE USE_OSS_FALSE USE_OSX_AUDIO_TRUE USE_OSX_AUDIO_FALSE USE_OSX_VIDEO_TRUE USE_OSX_VIDEO_FALSE USE_QCAM_TRUE USE_QCAM_FALSE USE_SUNAUDIO_TRUE USE_SUNAUDIO_FALSE USE_VCD_TRUE USE_VCD_FALSE HAVE_GL USE_OPENGL_TRUE USE_OPENGL_FALSE USE_CDROM_TRUE USE_CDROM_FALSE X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XFIXES_CFLAGS XFIXES_LIBS XDAMAGE_CFLAGS XDAMAGE_LIBS HAVE_X USE_X_TRUE USE_X_FALSE HAVE_XFIXES_TRUE HAVE_XFIXES_FALSE HAVE_XDAMAGE_TRUE HAVE_XDAMAGE_FALSE XVIDEO_LIBS USE_XVIDEO_TRUE USE_XVIDEO_FALSE HAVE_XSHM XSHM_LIBS USE_XSHM_TRUE USE_XSHM_FALSE USE_GST_V4L_TRUE USE_GST_V4L_FALSE USE_GST_V4L2_TRUE USE_GST_V4L2_FALSE A52DEC_CFLAGS A52DEC_LIBS USE_A52DEC_TRUE USE_A52DEC_FALSE AALIB_CONFIG AALIB_CFLAGS AALIB_LIBS USE_AALIB_TRUE USE_AALIB_FALSE ALSA_CFLAGS ALSA_LIBS USE_ALSA_TRUE USE_ALSA_FALSE AMRNB_LIBS HAVE_AMRNB USE_AMRNB_TRUE USE_AMRNB_FALSE MCOPIDL ARTS_CONFIG ARTS_CXXFLAGS ARTS_LIBS USE_ARTS_TRUE USE_ARTS_FALSE ARTSC_CONFIG ARTSC_LIBS ARTSC_CFLAGS USE_ARTSC_TRUE USE_ARTSC_FALSE AUDIOFILE_CFLAGS AUDIOFILE_LIBS AUDIOFILE_CONFIG USE_AUDIOFILE_TRUE USE_AUDIOFILE_FALSE AUDIORESAMPLE_CFLAGS AUDIORESAMPLE_LIBS USE_AUDIORESAMPLE_TRUE USE_AUDIORESAMPLE_FALSE CAIRO_CFLAGS CAIRO_LIBS USE_CAIRO_TRUE USE_CAIRO_FALSE CDAUDIO_CONFIG CDAUDIO_LIBS CDAUDIO_CFLAGS USE_CDAUDIO_TRUE USE_CDAUDIO_FALSE CDIO_CFLAGS CDIO_LIBS USE_CDIO_TRUE USE_CDIO_FALSE HAVE_CDPARANOIA CDPARANOIA_LIBS USE_CDPARANOIA_TRUE USE_CDPARANOIA_FALSE DIRAC_CFLAGS DIRAC_LIBS USE_DIRAC_TRUE USE_DIRAC_FALSE DIRECTFB_CFLAGS DIRECTFB_LIBS USE_DIRECTFB_TRUE USE_DIRECTFB_FALSE DIVXENC_LIBS DIVXDEC_LIBS USE_DIVX_TRUE USE_DIVX_FALSE HAVE_DTS DTS_LIBS USE_DTS_TRUE USE_DTS_FALSE HAVE_DVDREAD DVDREAD_LIBS USE_DVDREAD_TRUE USE_DVDREAD_FALSE DVDNAV_CONFIG DVDNAV_LIBS DVDNAV_CFLAGS USE_DVDNAV_TRUE USE_DVDNAV_FALSE ESD_CFLAGS ESD_LIBS ESD_CONFIG USE_ESD_TRUE USE_ESD_FALSE HAVE_FAAC FAAC_LIBS USE_FAAC_TRUE USE_FAAC_FALSE HAVE_FAAD FAAD_LIBS USE_FAAD_TRUE USE_FAAD_FALSE HAVE_FLAC FLAC_LIBS USE_FLAC_TRUE USE_FLAC_FALSE USE_GDK_PIXBUF_TRUE USE_GDK_PIXBUF_FALSE GNOME_VFS_CFLAGS GNOME_VFS_LIBS USE_GNOME_VFS_TRUE USE_GNOME_VFS_FALSE HAVE_GSM GSM_LIBS USE_GSM_TRUE USE_GSM_FALSE HERMES_LIBS HAVE_HERMES USE_HERMES_TRUE USE_HERMES_FALSE IVORBIS_LIBS IVORBIS_CFLAGS USE_IVORBIS_TRUE USE_IVORBIS_FALSE JACK_CFLAGS JACK_LIBS USE_JACK_TRUE USE_JACK_FALSE JPEG_LIBS USE_JPEG_TRUE USE_JPEG_FALSE USE_LADSPA_TRUE USE_LADSPA_FALSE LAME_CFLAGS LAME_LIBS HAVE_LAME USE_LAME_TRUE USE_LAME_FALSE LIBCACA_CONFIG LIBCACA_LIBS LIBCACA_CFLAGS USE_LIBCACA_TRUE USE_LIBCACA_FALSE LCS_CFLAGS LCS_LIBS USE_LCS_TRUE USE_LCS_FALSE LIBDV_CFLAGS LIBDV_LIBS USE_LIBDV_TRUE USE_LIBDV_FALSE LIBFAME_CONFIG LIBFAME_CFLAGS LIBFAME_LIBS USE_LIBFAME_TRUE USE_LIBFAME_FALSE LIBPNG_CFLAGS LIBPNG_LIBS USE_LIBPNG_TRUE USE_LIBPNG_FALSE LIBMMS_CFLAGS LIBMMS_LIBS USE_LIBMMS_TRUE USE_LIBMMS_FALSE HAVE_LIBMNG LIBMNG_LIBS USE_LIBMNG_TRUE USE_LIBMNG_FALSE LIBVISUAL_CFLAGS LIBVISUAL_LIBS USE_LIBVISUAL_TRUE USE_LIBVISUAL_FALSE MAD_CFLAGS MAD_LIBS USE_MAD_TRUE USE_MAD_FALSE LIBMIKMOD_CONFIG LIBMIKMOD_CFLAGS LIBMIKMOD_LIBS LIBMIKMOD_LDADD MIKMOD_LIBS MIKMOD_CFLAGS USE_MIKMOD_TRUE USE_MIKMOD_FALSE MPEG2DEC_CFLAGS MPEG2DEC_LIBS USE_MPEG2DEC_TRUE USE_MPEG2DEC_FALSE MPEG2ENC_CFLAGS MPEG2ENC_LIBS USE_MPEG2ENC_TRUE USE_MPEG2ENC_FALSE MPLEX_CFLAGS MPLEX_LIBS USE_MPLEX_TRUE USE_MPLEX_FALSE MUSEPACK_LIBS USE_MUSEPACK_TRUE USE_MUSEPACK_FALSE MUSICBRAINZ_CFLAGS MUSICBRAINZ_LIBS USE_MUSICBRAINZ_TRUE USE_MUSICBRAINZ_FALSE HAVE_NAS NAS_CFLAGS NAS_LIBS USE_NAS_TRUE USE_NAS_FALSE PANGO_CFLAGS PANGO_LIBS USE_PANGO_TRUE USE_PANGO_FALSE POLYP_CFLAGS POLYP_LIBS USE_POLYP_TRUE USE_POLYP_FALSE HAVE_RAW1394 HAVE_AVC1394 HAVE_ROM1394 DV1394_LIBS USE_DV1394_TRUE USE_DV1394_FALSE SDL_CONFIG SDL_CFLAGS SDL_LIBS USE_SDL_TRUE USE_SDL_FALSE HAVE_SHOUT SHOUT_LIBS USE_SHOUT_TRUE USE_SHOUT_FALSE SHOUT2_CFLAGS SHOUT2_LIBS USE_SHOUT2_TRUE USE_SHOUT2_FALSE SIDPLAY_CFLAGS SIDPLAY_LIBS USE_SIDPLAY_TRUE USE_SIDPLAY_FALSE USE_SMOOTHWAVE_TRUE USE_SMOOTHWAVE_FALSE HAVE_LIBPNG NASM USE_SPC_TRUE USE_SPC_FALSE SPEEX_CFLAGS SPEEX_LIBS HAVE_SPEEX USE_SPEEX_TRUE USE_SPEEX_FALSE SNDFILE_CFLAGS SNDFILE_LIBS USE_SNDFILE_TRUE USE_SNDFILE_FALSE SWFDEC_CFLAGS SWFDEC_LIBS USE_SWFDEC_TRUE USE_SWFDEC_FALSE USE_TARKIN_TRUE USE_TARKIN_FALSE OGG_CFLAGS OGG_LIBS USE_OGG_TRUE USE_OGG_FALSE THEORA_CFLAGS THEORA_LIBS HAVE_THEORA USE_THEORA_TRUE USE_THEORA_FALSE VORBIS_CFLAGS VORBIS_LIBS VORBISFILE_LIBS VORBISENC_LIBS USE_VORBIS_TRUE USE_VORBIS_FALSE WAVPACK_CFLAGS WAVPACK_LIBS USE_WAVPACK_TRUE USE_WAVPACK_FALSE X264_LIBS X264_CFLAGS HAVE_X264 USE_X264_TRUE USE_X264_FALSE XINE_CFLAGS XINE_LIBS USE_XINE_TRUE USE_XINE_FALSE XVID_LIBS USE_XVID_TRUE USE_XVID_FALSE FT2_CFLAGS FT2_LIBS FT2_CONFIG HAVE_FT2_TRUE HAVE_FT2_FALSE HAVE_ATOMIC_H_TRUE HAVE_ATOMIC_H_FALSE EXPERIMENTAL_TRUE EXPERIMENTAL_FALSE BROKEN_TRUE BROKEN_FALSE HAVE_NASM_TRUE HAVE_NASM_FALSE HAVE_GTK_TRUE HAVE_GTK_FALSE BUILD_TESTS_TRUE BUILD_TESTS_FALSE BUILD_EXAMPLES_TRUE BUILD_EXAMPLES_FALSE HAVE_FIG2DEV_PNG_TRUE HAVE_FIG2DEV_PNG_FALSE HAVE_FIG2DEV_PDF_TRUE HAVE_FIG2DEV_PDF_FALSE HAVE_RAW1394_TRUE HAVE_RAW1394_FALSE LIBOBJS LTLIBOBJS' ++ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GST_PLUGINS_VERSION GST_PLUGINS_VERSION_RELEASE GST_PLUGINS_VERSION_MAJOR GST_PLUGINS_VERSION_MINOR GST_PLUGINS_VERSION_MICRO GST_PLUGINS_VERSION_NANO PACKAGE VERSION INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar GST_MAJORMINOR GST_PLUGINS_CURRENT GST_PLUGINS_REVISION GST_PLUGINS_AGE GST_PLUGINS_LIBVERSION GST_PLUGINS_LT_LDFLAGS AS_LIBTOOL_WIN32_TRUE AS_LIBTOOL_WIN32_FALSE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL ACLOCAL_AMFLAGS CCAS CCASFLAGS OBJC ac_ct_OBJC OBJC_LDFLAGS OBJCDEPMODE am__fastdepOBJC_TRUE am__fastdepOBJC_FALSE MKINSTALLDIRS MSGFMT GMSGFMT XGETTEXT MSGMERGE USE_NLS LIBICONV LTLIBICONV INTLLIBS LIBINTL LTLIBINTL POSUB GETTEXT_PACKAGE LOCALEDIR HAVE_CXX DEFAULT_AUDIOSINK DEFAULT_AUDIOSRC DEFAULT_VIDEOSINK DEFAULT_VIDEOSRC DEFAULT_VISUALIZER USE_EXTERNAL_TRUE USE_EXTERNAL_FALSE BUILD_EXTERNAL_TRUE BUILD_EXTERNAL_FALSE USE_EXPERIMENTAL_TRUE USE_EXPERIMENTAL_FALSE USE_BROKEN_TRUE USE_BROKEN_FALSE HAVE_CPU_I386_TRUE HAVE_CPU_I386_FALSE HAVE_CPU_PPC_TRUE HAVE_CPU_PPC_FALSE HAVE_CPU_ALPHA_TRUE HAVE_CPU_ALPHA_FALSE HAVE_CPU_ARM_TRUE HAVE_CPU_ARM_FALSE HAVE_CPU_SPARC_TRUE HAVE_CPU_SPARC_FALSE HAVE_CPU_HPPA_TRUE HAVE_CPU_HPPA_FALSE HAVE_CPU_MIPS_TRUE HAVE_CPU_MIPS_FALSE HAVE_CPU_S390_TRUE HAVE_CPU_S390_FALSE HAVE_CPU_IA64_TRUE HAVE_CPU_IA64_FALSE HAVE_CPU_M68K_TRUE HAVE_CPU_M68K_FALSE HAVE_CPU_X86_64_TRUE HAVE_CPU_X86_64_FALSE GCONF_SCHEMA_CONFIG_SOURCE GCONF_SCHEMA_FILE_DIR GCONF_SCHEMAS_INSTALL_TRUE GCONF_SCHEMAS_INSTALL_FALSE GCONFTOOL HAVE_GCONFTOOL USE_GCONFTOOL_TRUE USE_GCONFTOOL_FALSE PKG_CONFIG GCONF_CFLAGS GCONF_LIBS USE_GCONF_TRUE USE_GCONF_FALSE GST_CFLAGS GST_LIBS GST_TOOLS_DIR GST_LIB_DIR GST_CONTROL_CFLAGS GST_CONTROL_LIBS GLIB2_REQ GLIB2_CFLAGS GLIB2_LIBS GLIB_LIBS GLIB_CFLAGS GTK2_CFLAGS GTK2_LIBS GTK_VERSION GTK_BASE_DIR GTK_LIBS GTK_CFLAGS HAVE_GTK QUERYLOADERS GDK_PIXBUF_LOADER_DIR GDK_PIXBUF_CONF_DIR HAVE_GDK_LOADERS_TRUE HAVE_GDK_LOADERS_FALSE LIBOIL_CFLAGS LIBOIL_LIBS plugindir GST_PLUGIN_LDFLAGS GST_PLUGINS_ALL GST_PLUGINS_SELECTED USE_DXR3_TRUE USE_DXR3_FALSE USE_OSS_TRUE USE_OSS_FALSE USE_OSX_AUDIO_TRUE USE_OSX_AUDIO_FALSE USE_OSX_VIDEO_TRUE USE_OSX_VIDEO_FALSE USE_QCAM_TRUE USE_QCAM_FALSE USE_SUNAUDIO_TRUE USE_SUNAUDIO_FALSE USE_VCD_TRUE USE_VCD_FALSE HAVE_GL USE_OPENGL_TRUE USE_OPENGL_FALSE USE_CDROM_TRUE USE_CDROM_FALSE X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XFIXES_CFLAGS XFIXES_LIBS XDAMAGE_CFLAGS XDAMAGE_LIBS HAVE_X USE_X_TRUE USE_X_FALSE HAVE_XFIXES_TRUE HAVE_XFIXES_FALSE HAVE_XDAMAGE_TRUE HAVE_XDAMAGE_FALSE XVIDEO_LIBS USE_XVIDEO_TRUE USE_XVIDEO_FALSE HAVE_XSHM XSHM_LIBS USE_XSHM_TRUE USE_XSHM_FALSE USE_GST_V4L_TRUE USE_GST_V4L_FALSE USE_GST_V4L2_TRUE USE_GST_V4L2_FALSE A52DEC_CFLAGS A52DEC_LIBS USE_A52DEC_TRUE USE_A52DEC_FALSE AALIB_CONFIG AALIB_CFLAGS AALIB_LIBS USE_AALIB_TRUE USE_AALIB_FALSE ALSA_CFLAGS ALSA_LIBS USE_ALSA_TRUE USE_ALSA_FALSE AMRNB_LIBS HAVE_AMRNB USE_AMRNB_TRUE USE_AMRNB_FALSE MCOPIDL ARTS_CONFIG ARTS_CXXFLAGS ARTS_LIBS USE_ARTS_TRUE USE_ARTS_FALSE ARTSC_CONFIG ARTSC_LIBS ARTSC_CFLAGS USE_ARTSC_TRUE USE_ARTSC_FALSE AUDIOFILE_CFLAGS AUDIOFILE_LIBS AUDIOFILE_CONFIG USE_AUDIOFILE_TRUE USE_AUDIOFILE_FALSE AUDIORESAMPLE_CFLAGS AUDIORESAMPLE_LIBS USE_AUDIORESAMPLE_TRUE USE_AUDIORESAMPLE_FALSE CAIRO_CFLAGS CAIRO_LIBS USE_CAIRO_TRUE USE_CAIRO_FALSE CDAUDIO_CONFIG CDAUDIO_LIBS CDAUDIO_CFLAGS USE_CDAUDIO_TRUE USE_CDAUDIO_FALSE CDIO_CFLAGS CDIO_LIBS USE_CDIO_TRUE USE_CDIO_FALSE HAVE_CDPARANOIA CDPARANOIA_LIBS USE_CDPARANOIA_TRUE USE_CDPARANOIA_FALSE DIRAC_CFLAGS DIRAC_LIBS USE_DIRAC_TRUE USE_DIRAC_FALSE DIRECTFB_CFLAGS DIRECTFB_LIBS USE_DIRECTFB_TRUE USE_DIRECTFB_FALSE DIVXENC_LIBS DIVXDEC_LIBS USE_DIVX_TRUE USE_DIVX_FALSE HAVE_DTS DTS_LIBS USE_DTS_TRUE USE_DTS_FALSE HAVE_DVDREAD DVDREAD_LIBS USE_DVDREAD_TRUE USE_DVDREAD_FALSE DVDNAV_CONFIG DVDNAV_LIBS DVDNAV_CFLAGS USE_DVDNAV_TRUE USE_DVDNAV_FALSE ESD_CFLAGS ESD_LIBS ESD_CONFIG USE_ESD_TRUE USE_ESD_FALSE HAVE_FAAC FAAC_LIBS USE_FAAC_TRUE USE_FAAC_FALSE HAVE_FAAD FAAD_LIBS USE_FAAD_TRUE USE_FAAD_FALSE HAVE_FLAC FLAC_LIBS USE_FLAC_TRUE USE_FLAC_FALSE USE_GDK_PIXBUF_TRUE USE_GDK_PIXBUF_FALSE GNOME_VFS_CFLAGS GNOME_VFS_LIBS USE_GNOME_VFS_TRUE USE_GNOME_VFS_FALSE HAVE_GSM GSM_LIBS USE_GSM_TRUE USE_GSM_FALSE HERMES_LIBS HAVE_HERMES USE_HERMES_TRUE USE_HERMES_FALSE IVORBIS_LIBS IVORBIS_CFLAGS USE_IVORBIS_TRUE USE_IVORBIS_FALSE JACK_CFLAGS JACK_LIBS USE_JACK_TRUE USE_JACK_FALSE JPEG_LIBS USE_JPEG_TRUE USE_JPEG_FALSE USE_LADSPA_TRUE USE_LADSPA_FALSE LAME_CFLAGS LAME_LIBS HAVE_LAME USE_LAME_TRUE USE_LAME_FALSE LIBCACA_CONFIG LIBCACA_LIBS LIBCACA_CFLAGS USE_LIBCACA_TRUE USE_LIBCACA_FALSE LCS_CFLAGS LCS_LIBS USE_LCS_TRUE USE_LCS_FALSE LIBDV_CFLAGS LIBDV_LIBS USE_LIBDV_TRUE USE_LIBDV_FALSE LIBFAME_CONFIG LIBFAME_CFLAGS LIBFAME_LIBS USE_LIBFAME_TRUE USE_LIBFAME_FALSE LIBPNG_CFLAGS LIBPNG_LIBS USE_LIBPNG_TRUE USE_LIBPNG_FALSE LIBMMS_CFLAGS LIBMMS_LIBS USE_LIBMMS_TRUE USE_LIBMMS_FALSE HAVE_LIBMNG LIBMNG_LIBS USE_LIBMNG_TRUE USE_LIBMNG_FALSE LIBVISUAL_CFLAGS LIBVISUAL_LIBS USE_LIBVISUAL_TRUE USE_LIBVISUAL_FALSE MAD_CFLAGS MAD_LIBS USE_MAD_TRUE USE_MAD_FALSE LIBMIKMOD_CONFIG LIBMIKMOD_CFLAGS LIBMIKMOD_LIBS LIBMIKMOD_LDADD MIKMOD_LIBS MIKMOD_CFLAGS USE_MIKMOD_TRUE USE_MIKMOD_FALSE MPEG2DEC_CFLAGS MPEG2DEC_LIBS USE_MPEG2DEC_TRUE USE_MPEG2DEC_FALSE MPEG2ENC_CFLAGS MPEG2ENC_LIBS USE_MPEG2ENC_TRUE USE_MPEG2ENC_FALSE MPLEX_CFLAGS MPLEX_LIBS USE_MPLEX_TRUE USE_MPLEX_FALSE MUSEPACK_LIBS USE_MUSEPACK_TRUE USE_MUSEPACK_FALSE MUSICBRAINZ_CFLAGS MUSICBRAINZ_LIBS USE_MUSICBRAINZ_TRUE USE_MUSICBRAINZ_FALSE HAVE_NAS NAS_CFLAGS NAS_LIBS USE_NAS_TRUE USE_NAS_FALSE PANGO_CFLAGS PANGO_LIBS USE_PANGO_TRUE USE_PANGO_FALSE POLYP_CFLAGS POLYP_LIBS USE_POLYP_TRUE USE_POLYP_FALSE HAVE_RAW1394 HAVE_AVC1394 HAVE_ROM1394 DV1394_LIBS USE_DV1394_TRUE USE_DV1394_FALSE SDL_CONFIG SDL_CFLAGS SDL_LIBS USE_SDL_TRUE USE_SDL_FALSE HAVE_SHOUT SHOUT_LIBS USE_SHOUT_TRUE USE_SHOUT_FALSE SHOUT2_CFLAGS SHOUT2_LIBS USE_SHOUT2_TRUE USE_SHOUT2_FALSE SIDPLAY_CFLAGS SIDPLAY_LIBS USE_SIDPLAY_TRUE USE_SIDPLAY_FALSE USE_SMOOTHWAVE_TRUE USE_SMOOTHWAVE_FALSE HAVE_LIBPNG NASM USE_SPC_TRUE USE_SPC_FALSE SPEEX_CFLAGS SPEEX_LIBS HAVE_SPEEX USE_SPEEX_TRUE USE_SPEEX_FALSE SNDFILE_CFLAGS SNDFILE_LIBS USE_SNDFILE_TRUE USE_SNDFILE_FALSE SWFDEC_CFLAGS SWFDEC_LIBS USE_SWFDEC_TRUE USE_SWFDEC_FALSE USE_TARKIN_TRUE USE_TARKIN_FALSE OGG_CFLAGS OGG_LIBS USE_OGG_TRUE USE_OGG_FALSE THEORA_CFLAGS THEORA_LIBS HAVE_THEORA USE_THEORA_TRUE USE_THEORA_FALSE VORBIS_CFLAGS VORBIS_LIBS VORBISFILE_LIBS VORBISENC_LIBS USE_VORBIS_TRUE USE_VORBIS_FALSE WAVPACK_CFLAGS WAVPACK_LIBS USE_WAVPACK_TRUE USE_WAVPACK_FALSE X264_LIBS X264_CFLAGS HAVE_X264 USE_X264_TRUE USE_X264_FALSE XINE_CFLAGS XINE_LIBS USE_XINE_TRUE USE_XINE_FALSE XVID_LIBS USE_XVID_TRUE USE_XVID_FALSE FT2_CFLAGS FT2_LIBS FT2_CONFIG HAVE_FT2_TRUE HAVE_FT2_FALSE HAVE_ATOMIC_H_TRUE HAVE_ATOMIC_H_FALSE EXPERIMENTAL_TRUE EXPERIMENTAL_FALSE BROKEN_TRUE BROKEN_FALSE HAVE_NASM_TRUE HAVE_NASM_FALSE HAVE_GTK_TRUE HAVE_GTK_FALSE HAVE_GTK_DOC_TRUE HAVE_GTK_DOC_FALSE BUILD_DOCS_TRUE BUILD_DOCS_FALSE BUILD_TESTS_TRUE BUILD_TESTS_FALSE BUILD_EXAMPLES_TRUE BUILD_EXAMPLES_FALSE BUILD_PLUGIN_DOCS_TRUE BUILD_PLUGIN_DOCS_FALSE HAVE_FIG2DEV_PNG_TRUE HAVE_FIG2DEV_PNG_FALSE HAVE_FIG2DEV_PDF_TRUE HAVE_FIG2DEV_PDF_FALSE HAVE_RAW1394_TRUE HAVE_RAW1394_FALSE LIBOBJS LTLIBOBJS' + ac_subst_files='' + + # Initialize some variables set by options. +@@ -1052,7 +1052,6 @@ + --disable-external disable enable building of plug-ins with external deps + --enable-experimental enable enable building of experimental plug-ins + --enable-broken enable enable building of broken plug-ins +- --disable-docs-build disable building of documentation + --disable-schemas-install Disable the schemas installation + --disable-gconftool disable GConf schemas + --disable-gconf disable GConf libraries +@@ -1179,7 +1178,6 @@ + --with-aclocal use a different aclocal for regeneration of + Makefiles + --with-pkg-config-path colon-separated list of pkg-config(1) dirs +- --with-html-dir=PATH path to installed docs + --with-gconf-source=sourceaddress Config database for installing schema files. + --with-gconf-schema-file-dir=dir Directory for installing schema files. + --with-gdk-pixbuf-loader-dir +@@ -1335,7 +1333,7 @@ + else + echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 + fi +- cd $ac_popdir ++ cd "$ac_popdir" + done + fi + +@@ -3037,8 +3035,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -3096,8 +3093,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -3213,8 +3209,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -3268,8 +3263,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -3314,8 +3308,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -3359,8 +3352,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -3638,7 +3630,7 @@ + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + lt_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, +- # but apparently some GNU ld's only accept -v. ++ # but apparently some variants of GNU ld only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + case `"$lt_cv_path_LD" -v 2>&1 &6 + else +- # I'd rather use --version here, but apparently some GNU ld's only accept -v. ++ # I'd rather use --version here, but apparently some GNU lds only accept -v. + case `$LD -v 2>&1 &1 | sed '1q'` in +- */dev/null* | *'Invalid file or object type'*) +- lt_cv_path_NM="$tmp_nm -B" +- break +- ;; +- *) +- case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in +- */dev/null*) +- lt_cv_path_NM="$tmp_nm -p" ++ lt_nm_to_check="${ac_tool_prefix}nm" ++ if test -n "$ac_tool_prefix" && test "$build" = "$host"; then ++ lt_nm_to_check="$lt_nm_to_check nm" ++ fi ++ for lt_tmp_nm in $lt_nm_to_check; do ++ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR ++ for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do ++ IFS="$lt_save_ifs" ++ test -z "$ac_dir" && ac_dir=. ++ tmp_nm="$ac_dir/$lt_tmp_nm" ++ if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then ++ # Check to see if the nm accepts a BSD-compat flag. ++ # Adding the `sed 1q' prevents false positives on HP-UX, which says: ++ # nm: unknown option "B" ignored ++ # Tru64's nm complains that /dev/null is an invalid object file ++ case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in ++ */dev/null* | *'Invalid file or object type'*) ++ lt_cv_path_NM="$tmp_nm -B" + break + ;; + *) +- lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but +- continue # so that we can try to find one that supports BSD flags ++ case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in ++ */dev/null*) ++ lt_cv_path_NM="$tmp_nm -p" ++ break ++ ;; ++ *) ++ lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but ++ continue # so that we can try to find one that supports BSD flags ++ ;; ++ esac + ;; + esac +- esac +- fi ++ fi ++ done ++ IFS="$lt_save_ifs" + done +- IFS="$lt_save_ifs" + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm + fi + fi +@@ -3842,7 +3841,7 @@ + + hpux10.20* | hpux11*) + lt_cv_file_magic_cmd=/usr/bin/file +- case "$host_cpu" in ++ case $host_cpu in + ia64*) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so +@@ -3858,6 +3857,11 @@ + esac + ;; + ++interix3*) ++ # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here ++ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' ++ ;; ++ + irix5* | irix6* | nonstopux*) + case $LD in + *-32|*"-32 ") libmagic=32-bit;; +@@ -3873,7 +3877,7 @@ + lt_cv_deplibs_check_method=pass_all + ;; + +-netbsd*) ++netbsd* | netbsdelf*-gnu | knetbsd*-gnu) + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' + else +@@ -3903,15 +3907,11 @@ + lt_cv_deplibs_check_method=pass_all + ;; + +-sco3.2v5*) +- lt_cv_deplibs_check_method=pass_all +- ;; +- + solaris*) + lt_cv_deplibs_check_method=pass_all + ;; + +-sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) ++sysv4 | sysv4.3*) + case $host_vendor in + motorola) + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' +@@ -3932,10 +3932,13 @@ + siemens) + lt_cv_deplibs_check_method=pass_all + ;; ++ pc) ++ lt_cv_deplibs_check_method=pass_all ++ ;; + esac + ;; + +-sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*) ++sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + lt_cv_deplibs_check_method=pass_all + ;; + esac +@@ -3953,6 +3956,9 @@ + # If no C compiler was specified, use CC. + LTCC=${LTCC-"$CC"} + ++# If no C compiler flags were specified, use CFLAGS. ++LTCFLAGS=${LTCFLAGS-"$CFLAGS"} ++ + # Allow CC to be a program name with arguments. + compiler=$CC + +@@ -3988,7 +3994,7 @@ + ;; + *-*-irix6*) + # Find out which ABI we are using. +- echo '#line 3991 "configure"' > conftest.$ac_ext ++ echo '#line 3997 "configure"' > conftest.$ac_ext + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +@@ -4031,7 +4037,7 @@ + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then +- case "`/usr/bin/file conftest.o`" in ++ case `/usr/bin/file conftest.o` in + *32-bit*) + case $host in + x86_64-*linux*) +@@ -4108,8 +4114,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -4144,6 +4149,26 @@ + CFLAGS="$SAVE_CFLAGS" + fi + ;; ++sparc*-*solaris*) ++ # Find out which ABI we are using. ++ echo 'int i;' > conftest.$ac_ext ++ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ++ (eval $ac_compile) 2>&5 ++ ac_status=$? ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then ++ case `/usr/bin/file conftest.o` in ++ *64-bit*) ++ case $lt_cv_prog_gnu_ld in ++ yes*) LD="${LD-ld} -m elf64_sparc" ;; ++ *) LD="${LD-ld} -64" ;; ++ esac ++ ;; ++ esac ++ fi ++ rm -rf conftest* ++ ;; ++ + + esac + +@@ -4418,8 +4443,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -4589,8 +4613,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -4657,8 +4680,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -4918,8 +4940,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_cxx_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -4977,8 +4998,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_cxx_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -5049,8 +5069,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_cxx_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -5094,8 +5113,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_cxx_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -5567,7 +5585,7 @@ + + + # Provide some information about the compiler. +-echo "$as_me:5570:" \ ++echo "$as_me:5588:" \ + "checking for Fortran 77 compiler version" >&5 + ac_compiler=`set X $ac_compile; echo $2` + { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 +@@ -5613,8 +5631,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_f77_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -5663,8 +5680,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_f77_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -5764,12 +5780,18 @@ + elif test -x /usr/sbin/sysctl; then + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` + else +- lt_cv_sys_max_cmd_len=65536 # usable default for *BSD ++ lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs + fi + # And add a safety zone + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` + ;; ++ ++ interix*) ++ # We know the value 262144 and hardcode it with a safety zone (like BSD) ++ lt_cv_sys_max_cmd_len=196608 ++ ;; ++ + osf*) + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not +@@ -5783,6 +5805,17 @@ + esac + fi + ;; ++ sco3.2v5*) ++ lt_cv_sys_max_cmd_len=102400 ++ ;; ++ sysv5* | sco5v6* | sysv4.2uw2*) ++ kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` ++ if test -n "$kargmax"; then ++ lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` ++ else ++ lt_cv_sys_max_cmd_len=32768 ++ fi ++ ;; + *) + # If test is not a shell built-in, we'll probably end up computing a + # maximum length that is only half of the actual maximum length, but +@@ -5868,9 +5901,18 @@ + osf*) + symcode='[BCDEGQRST]' + ;; +-solaris* | sysv5*) ++solaris*) + symcode='[BDRT]' + ;; ++sco3.2v5*) ++ symcode='[DT]' ++ ;; ++sysv4.2uw2*) ++ symcode='[DT]' ++ ;; ++sysv5* | sco5v6* | unixware* | OpenUNIX*) ++ symcode='[ABDT]' ++ ;; + sysv4) + symcode='[DFNSTU]' + ;; +@@ -6079,7 +6121,7 @@ + default_ofile=libtool + can_build_shared=yes + +-# All known linkers require a `.a' archive for static linking (except M$VC, ++# All known linkers require a `.a' archive for static linking (except MSVC, + # which needs '.lib'). + libext=a + ltmain="$ac_aux_dir/ltmain.sh" +@@ -6336,6 +6378,7 @@ + test -z "$AS" && AS=as + test -z "$CC" && CC=cc + test -z "$LTCC" && LTCC=$CC ++test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS + test -z "$DLLTOOL" && DLLTOOL=dlltool + test -z "$LD" && LD=ld + test -z "$LN_S" && LN_S="ln -s" +@@ -6355,10 +6398,10 @@ + if test -n "$RANLIB"; then + case $host_os in + openbsd*) +- old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" ++ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" + ;; + *) +- old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" ++ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" + ;; + esac + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" +@@ -6400,7 +6443,7 @@ + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) +- file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" ++ file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then +@@ -6462,7 +6505,7 @@ + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) +- file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" ++ file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then +@@ -6557,6 +6600,9 @@ + # If no C compiler was specified, use CC. + LTCC=${LTCC-"$CC"} + ++# If no C compiler flags were specified, use CFLAGS. ++LTCFLAGS=${LTCFLAGS-"$CFLAGS"} ++ + # Allow CC to be a program name with arguments. + compiler=$CC + +@@ -6564,82 +6610,17 @@ + # save warnings/boilerplate of simple test code + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" >conftest.$ac_ext +-eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err ++eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err + _lt_compiler_boilerplate=`cat conftest.err` + $rm conftest* + + ac_outfile=conftest.$ac_objext + printf "$lt_simple_link_test_code" >conftest.$ac_ext +-eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err ++eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err + _lt_linker_boilerplate=`cat conftest.err` + $rm conftest* + + +-# +-# Check for any special shared library compilation flags. +-# +-lt_prog_cc_shlib= +-if test "$GCC" = no; then +- case $host_os in +- sco3.2v5*) +- lt_prog_cc_shlib='-belf' +- ;; +- esac +-fi +-if test -n "$lt_prog_cc_shlib"; then +- { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5 +-echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;} +- if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then : +- else +- { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5 +-echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;} +- lt_cv_prog_cc_can_build_shared=no +- fi +-fi +- +- +-# +-# Check to make sure the static flag actually works. +-# +-echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5 +-echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6 +-if test "${lt_prog_compiler_static_works+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- lt_prog_compiler_static_works=no +- save_LDFLAGS="$LDFLAGS" +- LDFLAGS="$LDFLAGS $lt_prog_compiler_static" +- printf "$lt_simple_link_test_code" > conftest.$ac_ext +- if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then +- # The compiler can only warn and ignore the option if not recognized +- # So say no if there are warnings +- if test -s conftest.err; then +- # Append any errors to the config.log. +- cat conftest.err 1>&5 +- $echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp +- $SED '/^$/d' conftest.err >conftest.er2 +- if diff conftest.exp conftest.er2 >/dev/null; then +- lt_prog_compiler_static_works=yes +- fi +- else +- lt_prog_compiler_static_works=yes +- fi +- fi +- $rm conftest* +- LDFLAGS="$save_LDFLAGS" +- +-fi +-echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5 +-echo "${ECHO_T}$lt_prog_compiler_static_works" >&6 +- +-if test x"$lt_prog_compiler_static_works" = xyes; then +- : +-else +- lt_prog_compiler_static= +-fi +- +- +- + + lt_prog_compiler_no_builtin_flag= + +@@ -6662,20 +6643,20 @@ + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ +- -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ ++ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:6668: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:6649: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 +- echo "$as_me:6672: \$? = $ac_status" >&5 ++ echo "$as_me:6653: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. +- $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp +- $SED '/^$/d' conftest.err >conftest.er2 +- if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then ++ $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp ++ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 ++ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler_rtti_exceptions=yes + fi + fi +@@ -6736,6 +6717,11 @@ + lt_prog_compiler_pic='-fno-common' + ;; + ++ interix3*) ++ # Interix 3.x gcc -fpic/-fPIC options generate broken code. ++ # Instead, we relocate shared libraries at runtime. ++ ;; ++ + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. +@@ -6752,7 +6738,7 @@ + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. +- case "$host_cpu" in ++ case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; +@@ -6799,7 +6785,7 @@ + lt_prog_compiler_wl='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. +- case "$host_cpu" in ++ case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; +@@ -6829,12 +6815,12 @@ + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-static' + ;; +- pgcc* | pgf77* | pgf90*) ++ pgcc* | pgf77* | pgf90* | pgf95*) + # Portland Group compilers (*not* the Pentium gcc compiler, + # which looks to be a dead project) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fpic' +- lt_prog_compiler_static='-static' ++ lt_prog_compiler_static='-Bstatic' + ;; + ccc*) + lt_prog_compiler_wl='-Wl,' +@@ -6850,11 +6836,6 @@ + lt_prog_compiler_static='-non_shared' + ;; + +- sco3.2v5*) +- lt_prog_compiler_pic='-Kpic' +- lt_prog_compiler_static='-dn' +- ;; +- + solaris*) + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' +@@ -6872,7 +6853,7 @@ + lt_prog_compiler_static='-Bstatic' + ;; + +- sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) ++ sysv4 | sysv4.2uw2* | sysv4.3*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' +@@ -6885,6 +6866,12 @@ + fi + ;; + ++ sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) ++ lt_prog_compiler_wl='-Wl,' ++ lt_prog_compiler_pic='-KPIC' ++ lt_prog_compiler_static='-Bstatic' ++ ;; ++ + unicos*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_can_build_shared=no +@@ -6924,20 +6911,20 @@ + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ +- -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ ++ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:6930: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:6917: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 +- echo "$as_me:6934: \$? = $ac_status" >&5 ++ echo "$as_me:6921: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. +- $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp +- $SED '/^$/d' conftest.err >conftest.er2 +- if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then ++ $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp ++ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 ++ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then + lt_prog_compiler_pic_works=yes + fi + fi +@@ -6958,7 +6945,7 @@ + fi + + fi +-case "$host_os" in ++case $host_os in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic= +@@ -6968,6 +6955,48 @@ + ;; + esac + ++# ++# Check to make sure the static flag actually works. ++# ++wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" ++echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 ++echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6 ++if test "${lt_prog_compiler_static_works+set}" = set; then ++ echo $ECHO_N "(cached) $ECHO_C" >&6 ++else ++ lt_prog_compiler_static_works=no ++ save_LDFLAGS="$LDFLAGS" ++ LDFLAGS="$LDFLAGS $lt_tmp_static_flag" ++ printf "$lt_simple_link_test_code" > conftest.$ac_ext ++ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then ++ # The linker can only warn and ignore the option if not recognized ++ # So say no if there are warnings ++ if test -s conftest.err; then ++ # Append any errors to the config.log. ++ cat conftest.err 1>&5 ++ $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp ++ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 ++ if diff conftest.exp conftest.er2 >/dev/null; then ++ lt_prog_compiler_static_works=yes ++ fi ++ else ++ lt_prog_compiler_static_works=yes ++ fi ++ fi ++ $rm conftest* ++ LDFLAGS="$save_LDFLAGS" ++ ++fi ++echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5 ++echo "${ECHO_T}$lt_prog_compiler_static_works" >&6 ++ ++if test x"$lt_prog_compiler_static_works" = xyes; then ++ : ++else ++ lt_prog_compiler_static= ++fi ++ ++ + echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 + echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 + if test "${lt_cv_prog_compiler_c_o+set}" = set; then +@@ -6986,25 +7015,25 @@ + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ +- -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ ++ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:6992: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:7021: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 +- echo "$as_me:6996: \$? = $ac_status" >&5 ++ echo "$as_me:7025: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings +- $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp +- $SED '/^$/d' out/conftest.err >out/conftest.er2 +- if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then ++ $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp ++ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 ++ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then + lt_cv_prog_compiler_c_o=yes + fi + fi +- chmod u+w . ++ chmod u+w . 2>&5 + $rm conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation +@@ -7100,6 +7129,10 @@ + with_gnu_ld=no + fi + ;; ++ interix*) ++ # we just hope/assume this is gcc and not c89 (= MSVC++) ++ with_gnu_ld=yes ++ ;; + openbsd*) + with_gnu_ld=no + ;; +@@ -7184,7 +7217,7 @@ + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then +- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' ++ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then +@@ -7193,22 +7226,37 @@ + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ +- $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' ++ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + else + ld_shlibs=no + fi + ;; + ++ interix3*) ++ hardcode_direct=no ++ hardcode_shlibpath_var=no ++ hardcode_libdir_flag_spec='${wl}-rpath,$libdir' ++ export_dynamic_flag_spec='${wl}-E' ++ # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. ++ # Instead, shared libraries are loaded at an image base (0x10000000 by ++ # default) and relocated if they conflict, which is a slow very memory ++ # consuming and fragmenting process. To avoid this, we pick a random, ++ # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link ++ # time. Moving up from 0x10000000 also allows more sbrk(2) space. ++ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ++ archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ++ ;; ++ + linux*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + tmp_addflag= + case $cc_basename,$host_cpu in + pgcc*) # Portland Group C compiler +- whole_archive_flag_spec='${wl}--whole-archive,`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' ++ whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_addflag=' $pic_flag' + ;; +- pgf77* | pgf90* ) # Portland Group f77 and f90 compilers +- whole_archive_flag_spec='${wl}--whole-archive,`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' ++ pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers ++ whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_addflag=' $pic_flag -Mnomain' ;; + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 + tmp_addflag=' -i_dynamic' ;; +@@ -7225,12 +7273,13 @@ + $echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' + fi ++ link_all_deplibs=no + else + ld_shlibs=no + fi + ;; + +- netbsd*) ++ netbsd* | netbsdelf*-gnu | knetbsd*-gnu) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= +@@ -7240,7 +7289,7 @@ + fi + ;; + +- solaris* | sysv5*) ++ solaris*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + ld_shlibs=no + cat <&2 +@@ -7261,6 +7310,33 @@ + fi + ;; + ++ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) ++ case `$LD -v 2>&1` in ++ *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) ++ ld_shlibs=no ++ cat <<_LT_EOF 1>&2 ++ ++*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not ++*** reliably create shared libraries on SCO systems. Therefore, libtool ++*** is disabling shared libraries support. We urge you to upgrade GNU ++*** binutils to release 2.16.91.0.3 or newer. Another option is to modify ++*** your PATH or compiler configuration so that the native linker is ++*** used, and then restart. ++ ++_LT_EOF ++ ;; ++ *) ++ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then ++ hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' ++ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' ++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' ++ else ++ ld_shlibs=no ++ fi ++ ;; ++ esac ++ ;; ++ + sunos4*) + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= +@@ -7294,7 +7370,7 @@ + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + hardcode_minus_L=yes +- if test "$GCC" = yes && test -z "$link_static_flag"; then ++ if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + hardcode_direct=unsupported +@@ -7328,6 +7404,7 @@ + break + fi + done ++ ;; + esac + + exp_sym_flag='-bexport' +@@ -7365,6 +7442,7 @@ + hardcode_libdir_flag_spec='-L$libdir' + hardcode_libdir_separator= + fi ++ ;; + esac + shared_flag='-shared' + if test "$aix_use_runtimelinking" = yes; then +@@ -7377,11 +7455,11 @@ + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else +- if test "$aix_use_runtimelinking" = yes; then ++ if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' +- fi ++ fi + fi + fi + +@@ -7417,8 +7495,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -7446,12 +7523,12 @@ + if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" +- archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" ++ archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag="-z nodefs" +- archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" ++ archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +@@ -7478,8 +7555,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -7511,13 +7587,11 @@ + # -berok will link without error, but may produce a broken library. + no_undefined_flag=' ${wl}-bernotok' + allow_undefined_flag=' ${wl}-berok' +- # -bexpall does not export symbols beginning with underscore (_) +- always_export_symbols=yes + # Exported symbols can be pulled into shared objects from archives +- whole_archive_flag_spec=' ' ++ whole_archive_flag_spec='$convenience' + archive_cmds_need_lc=yes +- # This is similar to how AIX traditionally builds it's shared libraries. +- archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' ++ # This is similar to how AIX traditionally builds its shared libraries. ++ archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; +@@ -7556,7 +7630,7 @@ + ;; + + darwin* | rhapsody*) +- case "$host_os" in ++ case $host_os in + rhapsody* | darwin1.[012]) + allow_undefined_flag='${wl}-undefined ${wl}suppress' + ;; +@@ -7585,7 +7659,7 @@ + output_verbose_link_cmd='echo' + archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' +- # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's ++ # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else +@@ -7594,7 +7668,7 @@ + output_verbose_link_cmd='echo' + archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' + module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' +- # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's ++ # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + ;; +@@ -7635,11 +7709,20 @@ + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. +- freebsd* | kfreebsd*-gnu | dragonfly*) ++ freebsd* | dragonfly*) ++ archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' ++ hardcode_libdir_flag_spec='-R$libdir' ++ hardcode_direct=yes ++ hardcode_shlibpath_var=no ++ ;; ++ ++ # GNU/kFreeBSD uses gcc -shared to do shared libraries. ++ kfreebsd*-gnu) + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no ++ link_all_deplibs=no + ;; + + hpux9*) +@@ -7658,47 +7741,62 @@ + export_dynamic_flag_spec='${wl}-E' + ;; + +- hpux10* | hpux11*) ++ hpux10*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then +- case "$host_cpu" in +- hppa*64*|ia64*) ++ archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ++ else ++ archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ++ fi ++ if test "$with_gnu_ld" = no; then ++ hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' ++ hardcode_libdir_separator=: ++ ++ hardcode_direct=yes ++ export_dynamic_flag_spec='${wl}-E' ++ ++ # hardcode_minus_L: Not really in the search PATH, ++ # but as the default location of the library. ++ hardcode_minus_L=yes ++ fi ++ ;; ++ ++ hpux11*) ++ if test "$GCC" = yes -a "$with_gnu_ld" = no; then ++ case $host_cpu in ++ hppa*64*) + archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; ++ ia64*) ++ archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ++ ;; + *) + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else +- case "$host_cpu" in +- hppa*64*|ia64*) +- archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' ++ case $host_cpu in ++ hppa*64*) ++ archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ++ ;; ++ ia64*) ++ archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) +- archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ++ archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + fi + if test "$with_gnu_ld" = no; then +- case "$host_cpu" in +- hppa*64*) +- hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' ++ hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' ++ hardcode_libdir_separator=: ++ ++ case $host_cpu in ++ hppa*64*|ia64*) + hardcode_libdir_flag_spec_ld='+b $libdir' +- hardcode_libdir_separator=: +- hardcode_direct=no +- hardcode_shlibpath_var=no +- ;; +- ia64*) +- hardcode_libdir_flag_spec='-L$libdir' + hardcode_direct=no + hardcode_shlibpath_var=no +- +- # hardcode_minus_L: Not really in the search PATH, +- # but as the default location of the library. +- hardcode_minus_L=yes + ;; + *) +- hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' +- hardcode_libdir_separator=: + hardcode_direct=yes + export_dynamic_flag_spec='${wl}-E' + +@@ -7722,7 +7820,7 @@ + link_all_deplibs=yes + ;; + +- netbsd*) ++ netbsd* | netbsdelf*-gnu | knetbsd*-gnu) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else +@@ -7800,14 +7898,6 @@ + hardcode_libdir_separator=: + ;; + +- sco3.2v5*) +- archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' +- hardcode_shlibpath_var=no +- export_dynamic_flag_spec='${wl}-Bexport' +- runpath_var=LD_RUN_PATH +- hardcode_runpath_var=yes +- ;; +- + solaris*) + no_undefined_flag=' -z text' + if test "$GCC" = yes; then +@@ -7893,36 +7983,45 @@ + fi + ;; + +- sysv4.2uw2*) +- archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' +- hardcode_direct=yes +- hardcode_minus_L=no ++ sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*) ++ no_undefined_flag='${wl}-z,text' ++ archive_cmds_need_lc=no + hardcode_shlibpath_var=no +- hardcode_runpath_var=yes +- runpath_var=LD_RUN_PATH +- ;; ++ runpath_var='LD_RUN_PATH' + +- sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) +- no_undefined_flag='${wl}-z ${wl}text' + if test "$GCC" = yes; then +- archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ++ archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ++ archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + else +- archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ++ archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ++ archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + fi +- runpath_var='LD_RUN_PATH' +- hardcode_shlibpath_var=no + ;; + +- sysv5*) +- no_undefined_flag=' -z text' +- # $CC -shared without GNU ld will not create a library from C++ +- # object files and a static libstdc++, better avoid it by now +- archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' +- archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ +- $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' +- hardcode_libdir_flag_spec= ++ sysv5* | sco3.2v5* | sco5v6*) ++ # Note: We can NOT use -z defs as we might desire, because we do not ++ # link with -lc, and that would cause any symbols used from libc to ++ # always be unresolved, which means just about no library would ++ # ever link correctly. If we're not using GNU ld we use -z text ++ # though, which does catch some bad symbols but isn't as heavy-handed ++ # as -z defs. ++ no_undefined_flag='${wl}-z,text' ++ allow_undefined_flag='${wl}-z,nodefs' ++ archive_cmds_need_lc=no + hardcode_shlibpath_var=no ++ hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' ++ hardcode_libdir_separator=':' ++ link_all_deplibs=yes ++ export_dynamic_flag_spec='${wl}-Bexport' + runpath_var='LD_RUN_PATH' ++ ++ if test "$GCC" = yes; then ++ archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' ++ archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' ++ else ++ archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' ++ archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' ++ fi + ;; + + uts4*) +@@ -7941,11 +8040,6 @@ + echo "${ECHO_T}$ld_shlibs" >&6 + test "$ld_shlibs" = no && can_build_shared=no + +-variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +-if test "$GCC" = yes; then +- variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +-fi +- + # + # Do we need to explicitly link libc? + # +@@ -7978,6 +8072,7 @@ + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl ++ pic_flag=$lt_prog_compiler_pic + compiler_flags=-v + linker_flags=-v + verstring= +@@ -8138,7 +8233,8 @@ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ +- $install_prog $dir/$dlname \$dldir/$dlname' ++ $install_prog $dir/$dlname \$dldir/$dlname~ ++ chmod a+x \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' +@@ -8191,7 +8287,7 @@ + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH +- shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)' ++ shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. + if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` +@@ -8229,7 +8325,14 @@ + freebsd* | dragonfly*) + # DragonFly does not have aout. When/if they implement a new + # versioning mechanism, adjust this. +- objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` ++ if test -x /usr/bin/objformat; then ++ objformat=`/usr/bin/objformat` ++ else ++ case $host_os in ++ freebsd[123]*) objformat=aout ;; ++ *) objformat=elf ;; ++ esac ++ fi + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) +@@ -8251,10 +8354,15 @@ + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; +- *) # from 3.2 on ++ freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ ++ freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; ++ freebsd*) # from 4.6 on ++ shlibpath_overrides_runpath=yes ++ hardcode_into_libs=yes ++ ;; + esac + ;; + +@@ -8274,7 +8382,7 @@ + version_type=sunos + need_lib_prefix=no + need_version=no +- case "$host_cpu" in ++ case $host_cpu in + ia64*) + shrext_cmds='.so' + hardcode_into_libs=yes +@@ -8314,6 +8422,18 @@ + postinstall_cmds='chmod 555 $lib' + ;; + ++interix3*) ++ version_type=linux ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' ++ shlibpath_var=LD_LIBRARY_PATH ++ shlibpath_overrides_runpath=no ++ hardcode_into_libs=yes ++ ;; ++ + irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; +@@ -8371,31 +8491,10 @@ + # before this can be enabled. + hardcode_into_libs=yes + +- # find out which ABI we are using +- libsuff= +- case "$host_cpu" in +- x86_64*|s390x*|powerpc64*) +- echo '#line 8378 "configure"' > conftest.$ac_ext +- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 +- (eval $ac_compile) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; then +- case `/usr/bin/file conftest.$ac_objext` in +- *64-bit*) +- libsuff=64 +- sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" +- ;; +- esac +- fi +- rm -rf conftest* +- ;; +- esac +- + # Append ld.so.conf contents to the search path + if test -f /etc/ld.so.conf; then + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` +- sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" ++ sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" + fi + + # We used to test for /lib/ld.so.1 and disable shared libraries on +@@ -8407,6 +8506,18 @@ + dynamic_linker='GNU/Linux ld.so' + ;; + ++netbsdelf*-gnu) ++ version_type=linux ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ shlibpath_var=LD_LIBRARY_PATH ++ shlibpath_overrides_runpath=no ++ hardcode_into_libs=yes ++ dynamic_linker='NetBSD ld.elf_so' ++ ;; ++ + knetbsd*-gnu) + version_type=linux + need_lib_prefix=no +@@ -8456,6 +8567,7 @@ + + openbsd*) + version_type=sunos ++ sys_lib_dlsearch_path_spec="/usr/lib" + need_lib_prefix=no + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. + case $host_os in +@@ -8499,13 +8611,6 @@ + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +-sco3.2v5*) +- version_type=osf +- soname_spec='${libname}${release}${shared_ext}$major' +- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' +- shlibpath_var=LD_LIBRARY_PATH +- ;; +- + solaris*) + version_type=linux + need_lib_prefix=no +@@ -8531,7 +8636,7 @@ + need_version=yes + ;; + +-sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) ++sysv4 | sysv4.3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' +@@ -8564,6 +8669,29 @@ + fi + ;; + ++sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) ++ version_type=freebsd-elf ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ shlibpath_var=LD_LIBRARY_PATH ++ hardcode_into_libs=yes ++ if test "$with_gnu_ld" = yes; then ++ sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' ++ shlibpath_overrides_runpath=no ++ else ++ sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' ++ shlibpath_overrides_runpath=yes ++ case $host_os in ++ sco3.2v5*) ++ sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" ++ ;; ++ esac ++ fi ++ sys_lib_dlsearch_path_spec='/usr/lib' ++ ;; ++ + uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' +@@ -8579,6 +8707,11 @@ + echo "${ECHO_T}$dynamic_linker" >&6 + test "$dynamic_linker" = no && can_build_shared=no + ++variables_saved_for_relink="PATH $shlibpath_var $runpath_var" ++if test "$GCC" = yes; then ++ variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" ++fi ++ + echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 + echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 + hardcode_action= +@@ -8710,8 +8843,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -8814,8 +8946,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -8880,8 +9011,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -8974,8 +9104,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -9040,8 +9169,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -9107,8 +9235,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -9174,8 +9301,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -9234,7 +9360,7 @@ + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" + + save_LDFLAGS="$LDFLAGS" +- eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" ++ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" + + save_LIBS="$LIBS" + LIBS="$lt_cv_dlopen_libs $LIBS" +@@ -9250,7 +9376,7 @@ + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext <&5 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then +- (./conftest; exit; ) 2>/dev/null ++ (./conftest; exit; ) >&5 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; +- x$lt_unknown|x*) lt_cv_dlopen_self=no ;; ++ x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; + esac + else : + # compilation failed +@@ -9336,7 +9464,7 @@ + echo "${ECHO_T}$lt_cv_dlopen_self" >&6 + + if test "x$lt_cv_dlopen_self" = xyes; then +- LDFLAGS="$LDFLAGS $link_static_flag" ++ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" + echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 + echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 + if test "${lt_cv_dlopen_self_static+set}" = set; then +@@ -9348,7 +9476,7 @@ + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext <&5 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then +- (./conftest; exit; ) 2>/dev/null ++ (./conftest; exit; ) >&5 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; +- x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; ++ x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; + esac + else : + # compilation failed +@@ -9452,7 +9582,7 @@ + fi + + +-# Report which librarie types wil actually be built ++# Report which library types will actually be built + echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 + echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 + echo "$as_me:$LINENO: result: $can_build_shared" >&5 +@@ -9464,7 +9594,7 @@ + + # On AIX, shared libraries and static libraries use the same namespace, and + # are all built from PIC. +-case "$host_os" in ++case $host_os in + aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then +@@ -9502,7 +9632,7 @@ + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. +- for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ ++ for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ + SED SHELL STRIP \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ +@@ -9668,6 +9798,9 @@ + # A C compiler. + LTCC=$lt_LTCC + ++# LTCC compiler flags. ++LTCFLAGS=$lt_LTCFLAGS ++ + # A language-specific compiler. + CC=$lt_compiler + +@@ -9998,6 +10131,9 @@ + echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;} + fi + fi ++ if test -z "$LTCFLAGS"; then ++ eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`" ++ fi + + # Extract list of available tagged configurations in $ofile. + # Note that this assumes the entire list is on one line. +@@ -10050,6 +10186,7 @@ + hardcode_libdir_flag_spec_ld_CXX= + hardcode_libdir_separator_CXX= + hardcode_minus_L_CXX=no ++hardcode_shlibpath_var_CXX=unsupported + hardcode_automatic_CXX=no + module_cmds_CXX= + module_expsym_cmds_CXX= +@@ -10067,7 +10204,7 @@ + compiler_lib_search_path_CXX= + + # Source file extension for C++ test sources. +-ac_ext=cc ++ac_ext=cpp + + # Object file extension for compiled C++ test sources. + objext=o +@@ -10077,13 +10214,16 @@ + lt_simple_compile_test_code="int some_variable = 0;\n" + + # Code to be used in simple link tests +-lt_simple_link_test_code='int main(int, char *) { return(0); }\n' ++lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n' + + # ltmain only uses $CC for tagged configurations so make sure $CC is set. + + # If no C compiler was specified, use CC. + LTCC=${LTCC-"$CC"} + ++# If no C compiler flags were specified, use CFLAGS. ++LTCFLAGS=${LTCFLAGS-"$CFLAGS"} ++ + # Allow CC to be a program name with arguments. + compiler=$CC + +@@ -10091,13 +10231,13 @@ + # save warnings/boilerplate of simple test code + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" >conftest.$ac_ext +-eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err ++eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err + _lt_compiler_boilerplate=`cat conftest.err` + $rm conftest* + + ac_outfile=conftest.$ac_objext + printf "$lt_simple_link_test_code" >conftest.$ac_ext +-eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err ++eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err + _lt_linker_boilerplate=`cat conftest.err` + $rm conftest* + +@@ -10112,12 +10252,12 @@ + if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx + else +- unset lt_cv_prog_gnu_ld ++ $as_unset lt_cv_prog_gnu_ld + fi + if test -n "${lt_cv_path_LDCXX+set}"; then + lt_cv_path_LD=$lt_cv_path_LDCXX + else +- unset lt_cv_path_LD ++ $as_unset lt_cv_path_LD + fi + test -z "${LDCXX+set}" || LD=$LDCXX + CC=${CXX-"c++"} +@@ -10203,7 +10343,7 @@ + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + lt_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, +- # but apparently some GNU ld's only accept -v. ++ # but apparently some variants of GNU ld only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + case `"$lt_cv_path_LD" -v 2>&1 &6 + else +- # I'd rather use --version here, but apparently some GNU ld's only accept -v. ++ # I'd rather use --version here, but apparently some GNU lds only accept -v. + case `$LD -v 2>&1 &5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_cxx_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -10447,12 +10588,12 @@ + + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" + +- archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" ++ archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag_CXX="-z nodefs" +- archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" ++ archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +@@ -10479,8 +10620,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_cxx_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -10512,16 +10652,26 @@ + # -berok will link without error, but may produce a broken library. + no_undefined_flag_CXX=' ${wl}-bernotok' + allow_undefined_flag_CXX=' ${wl}-berok' +- # -bexpall does not export symbols beginning with underscore (_) +- always_export_symbols_CXX=yes + # Exported symbols can be pulled into shared objects from archives +- whole_archive_flag_spec_CXX=' ' ++ whole_archive_flag_spec_CXX='$convenience' + archive_cmds_need_lc_CXX=yes +- # This is similar to how AIX traditionally builds it's shared libraries. +- archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' ++ # This is similar to how AIX traditionally builds its shared libraries. ++ archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; ++ ++ beos*) ++ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then ++ allow_undefined_flag_CXX=unsupported ++ # Joseph Beckenbach says some releases of gcc ++ # support --undefined. This deserves some investigation. FIXME ++ archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' ++ else ++ ld_shlibs_CXX=no ++ fi ++ ;; ++ + chorus*) + case $cc_basename in + *) +@@ -10531,7 +10681,6 @@ + esac + ;; + +- + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, + # as there is no search path for DLLs. +@@ -10541,7 +10690,7 @@ + enable_shared_with_static_runtimes_CXX=yes + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then +- archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' ++ archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then +@@ -10550,13 +10699,13 @@ + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ +- $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' ++ $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + else + ld_shlibs_CXX=no + fi + ;; + darwin* | rhapsody*) +- case "$host_os" in ++ case $host_os in + rhapsody* | darwin1.[012]) + allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress' + ;; +@@ -10594,7 +10743,7 @@ + archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' +- # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's ++ # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else +@@ -10607,7 +10756,7 @@ + output_verbose_link_cmd='echo' + archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' + module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' +- # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's ++ # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + ;; +@@ -10687,33 +10836,22 @@ + ;; + hpux10*|hpux11*) + if test $with_gnu_ld = no; then +- case "$host_cpu" in +- hppa*64*) +- hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' ++ hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' ++ hardcode_libdir_separator_CXX=: ++ ++ case $host_cpu in ++ hppa*64*|ia64*) + hardcode_libdir_flag_spec_ld_CXX='+b $libdir' +- hardcode_libdir_separator_CXX=: +- ;; +- ia64*) +- hardcode_libdir_flag_spec_CXX='-L$libdir' + ;; + *) +- hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' +- hardcode_libdir_separator_CXX=: + export_dynamic_flag_spec_CXX='${wl}-E' + ;; + esac + fi +- case "$host_cpu" in +- hppa*64*) +- hardcode_direct_CXX=no +- hardcode_shlibpath_var_CXX=no +- ;; +- ia64*) ++ case $host_cpu in ++ hppa*64*|ia64*) + hardcode_direct_CXX=no + hardcode_shlibpath_var_CXX=no +- hardcode_minus_L_CXX=yes # Not in the search PATH, +- # but as the default +- # location of the library. + ;; + *) + hardcode_direct_CXX=yes +@@ -10729,9 +10867,12 @@ + ld_shlibs_CXX=no + ;; + aCC*) +- case "$host_cpu" in +- hppa*64*|ia64*) +- archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' ++ case $host_cpu in ++ hppa*64*) ++ archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ++ ;; ++ ia64*) ++ archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + *) + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' +@@ -10750,9 +10891,12 @@ + *) + if test "$GXX" = yes; then + if test $with_gnu_ld = no; then +- case "$host_cpu" in +- ia64*|hppa*64*) +- archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' ++ case $host_cpu in ++ hppa*64*) ++ archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ++ ;; ++ ia64*) ++ archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + *) + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' +@@ -10766,6 +10910,20 @@ + ;; + esac + ;; ++ interix3*) ++ hardcode_direct_CXX=no ++ hardcode_shlibpath_var_CXX=no ++ hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' ++ export_dynamic_flag_spec_CXX='${wl}-E' ++ # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. ++ # Instead, shared libraries are loaded at an image base (0x10000000 by ++ # default) and relocated if they conflict, which is a slow very memory ++ # consuming and fragmenting process. To avoid this, we pick a random, ++ # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link ++ # time. Moving up from 0x10000000 also allows more sbrk(2) space. ++ archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ++ archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ++ ;; + irix5* | irix6*) + case $cc_basename in + CC*) +@@ -10851,7 +11009,7 @@ + + hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' +- whole_archive_flag_spec_CXX='${wl}--whole-archive,`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' ++ whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' + ;; + cxx*) + # Compaq C++ +@@ -10894,7 +11052,7 @@ + ;; + esac + ;; +- netbsd*) ++ netbsd* | netbsdelf*-gnu | knetbsd*-gnu) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' + wlarc= +@@ -11048,19 +11206,6 @@ + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; +- sco*) +- archive_cmds_need_lc_CXX=no +- case $cc_basename in +- CC*) +- # FIXME: insert proper C++ library support +- ld_shlibs_CXX=no +- ;; +- *) +- # FIXME: insert proper C++ library support +- ld_shlibs_CXX=no +- ;; +- esac +- ;; + sunos4*) + case $cc_basename in + CC*) +@@ -11083,10 +11228,11 @@ + case $cc_basename in + CC*) + # Sun C++ 4.2, 5.x and Centerline C++ ++ archive_cmds_need_lc_CXX=yes + no_undefined_flag_CXX=' -zdefs' +- archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ++ archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ +- $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' ++ $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + hardcode_libdir_flag_spec_CXX='-R$libdir' + hardcode_shlibpath_var_CXX=no +@@ -11106,15 +11252,7 @@ + esac + link_all_deplibs_CXX=yes + +- # Commands to make compiler produce verbose output that lists +- # what "hidden" libraries, object files and flags are used when +- # linking a shared library. +- # +- # There doesn't appear to be a way to prevent this compiler from +- # explicitly linking system object files so we need to strip them +- # from the output so that they don't get included in the library +- # dependencies. +- output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ++ output_verbose_link_cmd='echo' + + # Archives containing C++ object files must be created using + # "CC -xar", where "CC" is the Sun C++ compiler. This is +@@ -11160,8 +11298,59 @@ + ;; + esac + ;; +- sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) ++ sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) ++ no_undefined_flag_CXX='${wl}-z,text' + archive_cmds_need_lc_CXX=no ++ hardcode_shlibpath_var_CXX=no ++ runpath_var='LD_RUN_PATH' ++ ++ case $cc_basename in ++ CC*) ++ archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ++ archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ++ ;; ++ *) ++ archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ++ archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ++ ;; ++ esac ++ ;; ++ sysv5* | sco3.2v5* | sco5v6*) ++ # Note: We can NOT use -z defs as we might desire, because we do not ++ # link with -lc, and that would cause any symbols used from libc to ++ # always be unresolved, which means just about no library would ++ # ever link correctly. If we're not using GNU ld we use -z text ++ # though, which does catch some bad symbols but isn't as heavy-handed ++ # as -z defs. ++ # For security reasons, it is highly recommended that you always ++ # use absolute paths for naming shared libraries, and exclude the ++ # DT_RUNPATH tag from executables and libraries. But doing so ++ # requires that you compile everything twice, which is a pain. ++ # So that behaviour is only enabled if SCOABSPATH is set to a ++ # non-empty value in the environment. Most likely only useful for ++ # creating official distributions of packages. ++ # This is a hack until libtool officially supports absolute path ++ # names for shared libraries. ++ no_undefined_flag_CXX='${wl}-z,text' ++ allow_undefined_flag_CXX='${wl}-z,nodefs' ++ archive_cmds_need_lc_CXX=no ++ hardcode_shlibpath_var_CXX=no ++ hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' ++ hardcode_libdir_separator_CXX=':' ++ link_all_deplibs_CXX=yes ++ export_dynamic_flag_spec_CXX='${wl}-Bexport' ++ runpath_var='LD_RUN_PATH' ++ ++ case $cc_basename in ++ CC*) ++ archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' ++ archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' ++ ;; ++ *) ++ archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' ++ archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' ++ ;; ++ esac + ;; + tandem*) + case $cc_basename in +@@ -11218,7 +11407,7 @@ + # The `*' in the case matches for architectures that use `case' in + # $output_verbose_cmd can trigger glob expansion during the loop + # eval without this substitution. +- output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`" ++ output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"` + + for p in `eval $output_verbose_link_cmd`; do + case $p in +@@ -11294,6 +11483,29 @@ + + $rm -f confest.$objext + ++# PORTME: override above test on systems where it is broken ++case $host_os in ++interix3*) ++ # Interix 3.5 installs completely hosed .la files for C++, so rather than ++ # hack all around it, let's just trust "g++" to DTRT. ++ predep_objects_CXX= ++ postdep_objects_CXX= ++ postdeps_CXX= ++ ;; ++ ++solaris*) ++ case $cc_basename in ++ CC*) ++ # Adding this requires a known-good setup of shared libraries for ++ # Sun compiler versions before 5.6, else PIC objects from an old ++ # archive will be linked into the output, leading to subtle bugs. ++ postdeps_CXX='-lCstd -lCrun' ++ ;; ++ esac ++ ;; ++esac ++ ++ + case " $postdeps_CXX " in + *" -lc "*) archive_cmds_need_lc_CXX=no ;; + esac +@@ -11341,6 +11553,10 @@ + # DJGPP does not support shared libraries at all + lt_prog_compiler_pic_CXX= + ;; ++ interix3*) ++ # Interix 3.x gcc -fpic/-fPIC options generate broken code. ++ # Instead, we relocate shared libraries at runtime. ++ ;; + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic_CXX=-Kconform_pic +@@ -11349,7 +11565,7 @@ + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. +- case "$host_cpu" in ++ case $host_cpu in + hppa*64*|ia64*) + ;; + *) +@@ -11410,15 +11626,15 @@ + case $cc_basename in + CC*) + lt_prog_compiler_wl_CXX='-Wl,' +- lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" ++ lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' + if test "$host_cpu" != ia64; then + lt_prog_compiler_pic_CXX='+Z' + fi + ;; + aCC*) + lt_prog_compiler_wl_CXX='-Wl,' +- lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" +- case "$host_cpu" in ++ lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' ++ case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; +@@ -11431,6 +11647,10 @@ + ;; + esac + ;; ++ interix*) ++ # This is c89, which is MS Visual C++ (no shared libs) ++ # Anyone wants to do a port? ++ ;; + irix5* | irix6* | nonstopux*) + case $cc_basename in + CC*) +@@ -11459,7 +11679,7 @@ + # Portland Group C++ compiler. + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_pic_CXX='-fpic' +- lt_prog_compiler_static_CXX='-static' ++ lt_prog_compiler_static_CXX='-Bstatic' + ;; + cxx*) + # Compaq C++ +@@ -11485,7 +11705,7 @@ + ;; + esac + ;; +- netbsd*) ++ netbsd* | netbsdelf*-gnu | knetbsd*-gnu) + ;; + osf3* | osf4* | osf5*) + case $cc_basename in +@@ -11510,15 +11730,6 @@ + ;; + psos*) + ;; +- sco*) +- case $cc_basename in +- CC*) +- lt_prog_compiler_pic_CXX='-fPIC' +- ;; +- *) +- ;; +- esac +- ;; + solaris*) + case $cc_basename in + CC*) +@@ -11560,7 +11771,14 @@ + ;; + esac + ;; +- unixware*) ++ sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) ++ case $cc_basename in ++ CC*) ++ lt_prog_compiler_wl_CXX='-Wl,' ++ lt_prog_compiler_pic_CXX='-KPIC' ++ lt_prog_compiler_static_CXX='-Bstatic' ++ ;; ++ esac + ;; + vxworks*) + ;; +@@ -11593,20 +11811,20 @@ + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ +- -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ ++ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:11599: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:11817: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 +- echo "$as_me:11603: \$? = $ac_status" >&5 ++ echo "$as_me:11821: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. +- $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp +- $SED '/^$/d' conftest.err >conftest.er2 +- if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then ++ $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp ++ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 ++ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then + lt_prog_compiler_pic_works_CXX=yes + fi + fi +@@ -11627,7 +11845,7 @@ + fi + + fi +-case "$host_os" in ++case $host_os in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic_CXX= +@@ -11637,6 +11855,48 @@ + ;; + esac + ++# ++# Check to make sure the static flag actually works. ++# ++wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" ++echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 ++echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6 ++if test "${lt_prog_compiler_static_works_CXX+set}" = set; then ++ echo $ECHO_N "(cached) $ECHO_C" >&6 ++else ++ lt_prog_compiler_static_works_CXX=no ++ save_LDFLAGS="$LDFLAGS" ++ LDFLAGS="$LDFLAGS $lt_tmp_static_flag" ++ printf "$lt_simple_link_test_code" > conftest.$ac_ext ++ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then ++ # The linker can only warn and ignore the option if not recognized ++ # So say no if there are warnings ++ if test -s conftest.err; then ++ # Append any errors to the config.log. ++ cat conftest.err 1>&5 ++ $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp ++ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 ++ if diff conftest.exp conftest.er2 >/dev/null; then ++ lt_prog_compiler_static_works_CXX=yes ++ fi ++ else ++ lt_prog_compiler_static_works_CXX=yes ++ fi ++ fi ++ $rm conftest* ++ LDFLAGS="$save_LDFLAGS" ++ ++fi ++echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5 ++echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6 ++ ++if test x"$lt_prog_compiler_static_works_CXX" = xyes; then ++ : ++else ++ lt_prog_compiler_static_CXX= ++fi ++ ++ + echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 + echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 + if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then +@@ -11655,25 +11915,25 @@ + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ +- -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ ++ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:11661: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:11921: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 +- echo "$as_me:11665: \$? = $ac_status" >&5 ++ echo "$as_me:11925: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings +- $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp +- $SED '/^$/d' out/conftest.err >out/conftest.er2 +- if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then ++ $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp ++ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 ++ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then + lt_cv_prog_compiler_c_o_CXX=yes + fi + fi +- chmod u+w . ++ chmod u+w . 2>&5 + $rm conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation +@@ -11730,6 +11990,12 @@ + cygwin* | mingw*) + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' + ;; ++ kfreebsd*-gnu) ++ link_all_deplibs_CXX=no ++ ;; ++ linux*) ++ link_all_deplibs_CXX=no ++ ;; + *) + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + ;; +@@ -11739,11 +12005,6 @@ + echo "${ECHO_T}$ld_shlibs_CXX" >&6 + test "$ld_shlibs_CXX" = no && can_build_shared=no + +-variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +-if test "$GCC" = yes; then +- variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +-fi +- + # + # Do we need to explicitly link libc? + # +@@ -11776,6 +12037,7 @@ + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl_CXX ++ pic_flag=$lt_prog_compiler_pic_CXX + compiler_flags=-v + linker_flags=-v + verstring= +@@ -11936,7 +12198,8 @@ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ +- $install_prog $dir/$dlname \$dldir/$dlname' ++ $install_prog $dir/$dlname \$dldir/$dlname~ ++ chmod a+x \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' +@@ -11989,7 +12252,7 @@ + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH +- shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)' ++ shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. + if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` +@@ -12027,7 +12290,14 @@ + freebsd* | dragonfly*) + # DragonFly does not have aout. When/if they implement a new + # versioning mechanism, adjust this. +- objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` ++ if test -x /usr/bin/objformat; then ++ objformat=`/usr/bin/objformat` ++ else ++ case $host_os in ++ freebsd[123]*) objformat=aout ;; ++ *) objformat=elf ;; ++ esac ++ fi + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) +@@ -12049,10 +12319,15 @@ + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; +- *) # from 3.2 on ++ freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ ++ freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; ++ freebsd*) # from 4.6 on ++ shlibpath_overrides_runpath=yes ++ hardcode_into_libs=yes ++ ;; + esac + ;; + +@@ -12072,7 +12347,7 @@ + version_type=sunos + need_lib_prefix=no + need_version=no +- case "$host_cpu" in ++ case $host_cpu in + ia64*) + shrext_cmds='.so' + hardcode_into_libs=yes +@@ -12112,6 +12387,18 @@ + postinstall_cmds='chmod 555 $lib' + ;; + ++interix3*) ++ version_type=linux ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' ++ shlibpath_var=LD_LIBRARY_PATH ++ shlibpath_overrides_runpath=no ++ hardcode_into_libs=yes ++ ;; ++ + irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; +@@ -12169,31 +12456,10 @@ + # before this can be enabled. + hardcode_into_libs=yes + +- # find out which ABI we are using +- libsuff= +- case "$host_cpu" in +- x86_64*|s390x*|powerpc64*) +- echo '#line 12176 "configure"' > conftest.$ac_ext +- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 +- (eval $ac_compile) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; then +- case `/usr/bin/file conftest.$ac_objext` in +- *64-bit*) +- libsuff=64 +- sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" +- ;; +- esac +- fi +- rm -rf conftest* +- ;; +- esac +- + # Append ld.so.conf contents to the search path + if test -f /etc/ld.so.conf; then + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` +- sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" ++ sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" + fi + + # We used to test for /lib/ld.so.1 and disable shared libraries on +@@ -12205,6 +12471,18 @@ + dynamic_linker='GNU/Linux ld.so' + ;; + ++netbsdelf*-gnu) ++ version_type=linux ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ shlibpath_var=LD_LIBRARY_PATH ++ shlibpath_overrides_runpath=no ++ hardcode_into_libs=yes ++ dynamic_linker='NetBSD ld.elf_so' ++ ;; ++ + knetbsd*-gnu) + version_type=linux + need_lib_prefix=no +@@ -12254,6 +12532,7 @@ + + openbsd*) + version_type=sunos ++ sys_lib_dlsearch_path_spec="/usr/lib" + need_lib_prefix=no + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. + case $host_os in +@@ -12297,13 +12576,6 @@ + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +-sco3.2v5*) +- version_type=osf +- soname_spec='${libname}${release}${shared_ext}$major' +- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' +- shlibpath_var=LD_LIBRARY_PATH +- ;; +- + solaris*) + version_type=linux + need_lib_prefix=no +@@ -12329,7 +12601,7 @@ + need_version=yes + ;; + +-sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) ++sysv4 | sysv4.3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' +@@ -12362,6 +12634,29 @@ + fi + ;; + ++sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) ++ version_type=freebsd-elf ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ shlibpath_var=LD_LIBRARY_PATH ++ hardcode_into_libs=yes ++ if test "$with_gnu_ld" = yes; then ++ sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' ++ shlibpath_overrides_runpath=no ++ else ++ sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' ++ shlibpath_overrides_runpath=yes ++ case $host_os in ++ sco3.2v5*) ++ sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" ++ ;; ++ esac ++ fi ++ sys_lib_dlsearch_path_spec='/usr/lib' ++ ;; ++ + uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' +@@ -12377,6 +12672,11 @@ + echo "${ECHO_T}$dynamic_linker" >&6 + test "$dynamic_linker" = no && can_build_shared=no + ++variables_saved_for_relink="PATH $shlibpath_var $runpath_var" ++if test "$GCC" = yes; then ++ variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" ++fi ++ + echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 + echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 + hardcode_action_CXX= +@@ -12414,1159 +12714,327 @@ + enable_fast_install=needless + fi + +-striplib= +-old_striplib= +-echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 +-echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 +-if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then +- test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" +- test -z "$striplib" && striplib="$STRIP --strip-unneeded" +- echo "$as_me:$LINENO: result: yes" >&5 +-echo "${ECHO_T}yes" >&6 +-else +-# FIXME - insert some real tests, host_os isn't really good enough +- case $host_os in +- darwin*) +- if test -n "$STRIP" ; then +- striplib="$STRIP -x" +- echo "$as_me:$LINENO: result: yes" >&5 +-echo "${ECHO_T}yes" >&6 +- else +- echo "$as_me:$LINENO: result: no" >&5 +-echo "${ECHO_T}no" >&6 +-fi +- ;; +- *) +- echo "$as_me:$LINENO: result: no" >&5 +-echo "${ECHO_T}no" >&6 ++ ++# The else clause should only fire when bootstrapping the ++# libtool distribution, otherwise you forgot to ship ltmain.sh ++# with your package, and you will get complaints that there are ++# no rules to generate ltmain.sh. ++if test -f "$ltmain"; then ++ # See if we are running on zsh, and set the options which allow our commands through ++ # without removal of \ escapes. ++ if test -n "${ZSH_VERSION+set}" ; then ++ setopt NO_GLOB_SUBST ++ fi ++ # Now quote all the things that may contain metacharacters while being ++ # careful not to overquote the AC_SUBSTed values. We take copies of the ++ # variables and quote the copies for generation of the libtool script. ++ for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ ++ SED SHELL STRIP \ ++ libname_spec library_names_spec soname_spec extract_expsyms_cmds \ ++ old_striplib striplib file_magic_cmd finish_cmds finish_eval \ ++ deplibs_check_method reload_flag reload_cmds need_locks \ ++ lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ ++ lt_cv_sys_global_symbol_to_c_name_address \ ++ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ ++ old_postinstall_cmds old_postuninstall_cmds \ ++ compiler_CXX \ ++ CC_CXX \ ++ LD_CXX \ ++ lt_prog_compiler_wl_CXX \ ++ lt_prog_compiler_pic_CXX \ ++ lt_prog_compiler_static_CXX \ ++ lt_prog_compiler_no_builtin_flag_CXX \ ++ export_dynamic_flag_spec_CXX \ ++ thread_safe_flag_spec_CXX \ ++ whole_archive_flag_spec_CXX \ ++ enable_shared_with_static_runtimes_CXX \ ++ old_archive_cmds_CXX \ ++ old_archive_from_new_cmds_CXX \ ++ predep_objects_CXX \ ++ postdep_objects_CXX \ ++ predeps_CXX \ ++ postdeps_CXX \ ++ compiler_lib_search_path_CXX \ ++ archive_cmds_CXX \ ++ archive_expsym_cmds_CXX \ ++ postinstall_cmds_CXX \ ++ postuninstall_cmds_CXX \ ++ old_archive_from_expsyms_cmds_CXX \ ++ allow_undefined_flag_CXX \ ++ no_undefined_flag_CXX \ ++ export_symbols_cmds_CXX \ ++ hardcode_libdir_flag_spec_CXX \ ++ hardcode_libdir_flag_spec_ld_CXX \ ++ hardcode_libdir_separator_CXX \ ++ hardcode_automatic_CXX \ ++ module_cmds_CXX \ ++ module_expsym_cmds_CXX \ ++ lt_cv_prog_compiler_c_o_CXX \ ++ exclude_expsyms_CXX \ ++ include_expsyms_CXX; do ++ ++ case $var in ++ old_archive_cmds_CXX | \ ++ old_archive_from_new_cmds_CXX | \ ++ archive_cmds_CXX | \ ++ archive_expsym_cmds_CXX | \ ++ module_cmds_CXX | \ ++ module_expsym_cmds_CXX | \ ++ old_archive_from_expsyms_cmds_CXX | \ ++ export_symbols_cmds_CXX | \ ++ extract_expsyms_cmds | reload_cmds | finish_cmds | \ ++ postinstall_cmds | postuninstall_cmds | \ ++ old_postinstall_cmds | old_postuninstall_cmds | \ ++ sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) ++ # Double-quote double-evaled strings. ++ eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" ++ ;; ++ *) ++ eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" ++ ;; ++ esac ++ done ++ ++ case $lt_echo in ++ *'\$0 --fallback-echo"') ++ lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac +-fi + +-if test "x$enable_dlopen" != xyes; then +- enable_dlopen=unknown +- enable_dlopen_self=unknown +- enable_dlopen_self_static=unknown +-else +- lt_cv_dlopen=no +- lt_cv_dlopen_libs= ++cfgfile="$ofile" + +- case $host_os in +- beos*) +- lt_cv_dlopen="load_add_on" +- lt_cv_dlopen_libs= +- lt_cv_dlopen_self=yes +- ;; ++ cat <<__EOF__ >> "$cfgfile" ++# ### BEGIN LIBTOOL TAG CONFIG: $tagname + +- mingw* | pw32*) +- lt_cv_dlopen="LoadLibrary" +- lt_cv_dlopen_libs= +- ;; ++# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +- cygwin*) +- lt_cv_dlopen="dlopen" +- lt_cv_dlopen_libs= +- ;; ++# Shell to use when invoking shell scripts. ++SHELL=$lt_SHELL + +- darwin*) +- # if libdl is installed we need to link against it +- echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 +-echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 +-if test "${ac_cv_lib_dl_dlopen+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- ac_check_lib_save_LIBS=$LIBS +-LIBS="-ldl $LIBS" +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ ++# Whether or not to build shared libraries. ++build_libtool_libs=$enable_shared + +-/* Override any gcc2 internal prototype to avoid an error. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-/* We use char because int might match the return type of a gcc2 +- builtin and then its argument prototype would still apply. */ +-char dlopen (); +-int +-main () +-{ +-dlopen (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 +- (eval $ac_link) 2>conftest.er1 +- ac_status=$? +- grep -v '^ *+' conftest.er1 >conftest.err +- rm -f conftest.er1 +- cat conftest.err >&5 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && +- { ac_try='test -z "$ac_cxx_werror_flag" +- || test ! -s conftest.err' +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 +- (eval $ac_try) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; } && +- { ac_try='test -s conftest$ac_exeext' +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 +- (eval $ac_try) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then +- ac_cv_lib_dl_dlopen=yes +-else +- echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 ++# Whether or not to build static libraries. ++build_old_libs=$enable_static + +-ac_cv_lib_dl_dlopen=no +-fi +-rm -f conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext +-LIBS=$ac_check_lib_save_LIBS +-fi +-echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 +-echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 +-if test $ac_cv_lib_dl_dlopen = yes; then +- lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +-else ++# Whether or not to add -lc for building shared libraries. ++build_libtool_need_lc=$archive_cmds_need_lc_CXX + +- lt_cv_dlopen="dyld" +- lt_cv_dlopen_libs= +- lt_cv_dlopen_self=yes ++# Whether or not to disallow shared libs when runtime libs are static ++allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX + +-fi ++# Whether or not to optimize for fast installation. ++fast_install=$enable_fast_install + +- ;; ++# The host system. ++host_alias=$host_alias ++host=$host ++host_os=$host_os + +- *) +- echo "$as_me:$LINENO: checking for shl_load" >&5 +-echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 +-if test "${ac_cv_func_shl_load+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-/* Define shl_load to an innocuous variant, in case declares shl_load. +- For example, HP-UX 11i declares gettimeofday. */ +-#define shl_load innocuous_shl_load ++# The build system. ++build_alias=$build_alias ++build=$build ++build_os=$build_os + +-/* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char shl_load (); below. +- Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ ++# An echo program that does not interpret backslashes. ++echo=$lt_echo + +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif ++# The archiver. ++AR=$lt_AR ++AR_FLAGS=$lt_AR_FLAGS + +-#undef shl_load ++# A C compiler. ++LTCC=$lt_LTCC + +-/* Override any gcc2 internal prototype to avoid an error. */ +-#ifdef __cplusplus +-extern "C" +-{ +-#endif +-/* We use char because int might match the return type of a gcc2 +- builtin and then its argument prototype would still apply. */ +-char shl_load (); +-/* The GNU C library defines this for functions which it implements +- to always fail with ENOSYS. Some functions are actually named +- something starting with __ and the normal name is an alias. */ +-#if defined (__stub_shl_load) || defined (__stub___shl_load) +-choke me +-#else +-char (*f) () = shl_load; +-#endif +-#ifdef __cplusplus +-} +-#endif ++# LTCC compiler flags. ++LTCFLAGS=$lt_LTCFLAGS + +-int +-main () +-{ +-return f != shl_load; +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 +- (eval $ac_link) 2>conftest.er1 +- ac_status=$? +- grep -v '^ *+' conftest.er1 >conftest.err +- rm -f conftest.er1 +- cat conftest.err >&5 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && +- { ac_try='test -z "$ac_cxx_werror_flag" +- || test ! -s conftest.err' +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 +- (eval $ac_try) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; } && +- { ac_try='test -s conftest$ac_exeext' +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 +- (eval $ac_try) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then +- ac_cv_func_shl_load=yes +-else +- echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 ++# A language-specific compiler. ++CC=$lt_compiler_CXX + +-ac_cv_func_shl_load=no +-fi +-rm -f conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext +-fi +-echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 +-echo "${ECHO_T}$ac_cv_func_shl_load" >&6 +-if test $ac_cv_func_shl_load = yes; then +- lt_cv_dlopen="shl_load" +-else +- echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 +-echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 +-if test "${ac_cv_lib_dld_shl_load+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- ac_check_lib_save_LIBS=$LIBS +-LIBS="-ldld $LIBS" +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ ++# Is the compiler the GNU C compiler? ++with_gcc=$GCC_CXX + +-/* Override any gcc2 internal prototype to avoid an error. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-/* We use char because int might match the return type of a gcc2 +- builtin and then its argument prototype would still apply. */ +-char shl_load (); +-int +-main () +-{ +-shl_load (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 +- (eval $ac_link) 2>conftest.er1 +- ac_status=$? +- grep -v '^ *+' conftest.er1 >conftest.err +- rm -f conftest.er1 +- cat conftest.err >&5 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && +- { ac_try='test -z "$ac_cxx_werror_flag" +- || test ! -s conftest.err' +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 +- (eval $ac_try) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; } && +- { ac_try='test -s conftest$ac_exeext' +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 +- (eval $ac_try) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then +- ac_cv_lib_dld_shl_load=yes +-else +- echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 ++# An ERE matcher. ++EGREP=$lt_EGREP + +-ac_cv_lib_dld_shl_load=no +-fi +-rm -f conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext +-LIBS=$ac_check_lib_save_LIBS +-fi +-echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 +-echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 +-if test $ac_cv_lib_dld_shl_load = yes; then +- lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" +-else +- echo "$as_me:$LINENO: checking for dlopen" >&5 +-echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 +-if test "${ac_cv_func_dlopen+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-/* Define dlopen to an innocuous variant, in case declares dlopen. +- For example, HP-UX 11i declares gettimeofday. */ +-#define dlopen innocuous_dlopen ++# The linker used to build libraries. ++LD=$lt_LD_CXX + +-/* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char dlopen (); below. +- Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ ++# Whether we need hard or soft links. ++LN_S=$lt_LN_S + +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif ++# A BSD-compatible nm program. ++NM=$lt_NM + +-#undef dlopen ++# A symbol stripping program ++STRIP=$lt_STRIP + +-/* Override any gcc2 internal prototype to avoid an error. */ +-#ifdef __cplusplus +-extern "C" +-{ +-#endif +-/* We use char because int might match the return type of a gcc2 +- builtin and then its argument prototype would still apply. */ +-char dlopen (); +-/* The GNU C library defines this for functions which it implements +- to always fail with ENOSYS. Some functions are actually named +- something starting with __ and the normal name is an alias. */ +-#if defined (__stub_dlopen) || defined (__stub___dlopen) +-choke me +-#else +-char (*f) () = dlopen; +-#endif +-#ifdef __cplusplus +-} +-#endif ++# Used to examine libraries when file_magic_cmd begins "file" ++MAGIC_CMD=$MAGIC_CMD + +-int +-main () +-{ +-return f != dlopen; +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 +- (eval $ac_link) 2>conftest.er1 +- ac_status=$? +- grep -v '^ *+' conftest.er1 >conftest.err +- rm -f conftest.er1 +- cat conftest.err >&5 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && +- { ac_try='test -z "$ac_cxx_werror_flag" +- || test ! -s conftest.err' +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 +- (eval $ac_try) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; } && +- { ac_try='test -s conftest$ac_exeext' +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 +- (eval $ac_try) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then +- ac_cv_func_dlopen=yes +-else +- echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 ++# Used on cygwin: DLL creation program. ++DLLTOOL="$DLLTOOL" + +-ac_cv_func_dlopen=no +-fi +-rm -f conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext +-fi +-echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 +-echo "${ECHO_T}$ac_cv_func_dlopen" >&6 +-if test $ac_cv_func_dlopen = yes; then +- lt_cv_dlopen="dlopen" +-else +- echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 +-echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 +-if test "${ac_cv_lib_dl_dlopen+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- ac_check_lib_save_LIBS=$LIBS +-LIBS="-ldl $LIBS" +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ ++# Used on cygwin: object dumper. ++OBJDUMP="$OBJDUMP" + +-/* Override any gcc2 internal prototype to avoid an error. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-/* We use char because int might match the return type of a gcc2 +- builtin and then its argument prototype would still apply. */ +-char dlopen (); +-int +-main () +-{ +-dlopen (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 +- (eval $ac_link) 2>conftest.er1 +- ac_status=$? +- grep -v '^ *+' conftest.er1 >conftest.err +- rm -f conftest.er1 +- cat conftest.err >&5 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && +- { ac_try='test -z "$ac_cxx_werror_flag" +- || test ! -s conftest.err' +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 +- (eval $ac_try) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; } && +- { ac_try='test -s conftest$ac_exeext' +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 +- (eval $ac_try) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then +- ac_cv_lib_dl_dlopen=yes +-else +- echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 ++# Used on cygwin: assembler. ++AS="$AS" + +-ac_cv_lib_dl_dlopen=no +-fi +-rm -f conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext +-LIBS=$ac_check_lib_save_LIBS +-fi +-echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 +-echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 +-if test $ac_cv_lib_dl_dlopen = yes; then +- lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +-else +- echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 +-echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 +-if test "${ac_cv_lib_svld_dlopen+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- ac_check_lib_save_LIBS=$LIBS +-LIBS="-lsvld $LIBS" +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ ++# The name of the directory that contains temporary libtool files. ++objdir=$objdir + +-/* Override any gcc2 internal prototype to avoid an error. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-/* We use char because int might match the return type of a gcc2 +- builtin and then its argument prototype would still apply. */ +-char dlopen (); +-int +-main () +-{ +-dlopen (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 +- (eval $ac_link) 2>conftest.er1 +- ac_status=$? +- grep -v '^ *+' conftest.er1 >conftest.err +- rm -f conftest.er1 +- cat conftest.err >&5 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && +- { ac_try='test -z "$ac_cxx_werror_flag" +- || test ! -s conftest.err' +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 +- (eval $ac_try) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; } && +- { ac_try='test -s conftest$ac_exeext' +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 +- (eval $ac_try) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then +- ac_cv_lib_svld_dlopen=yes +-else +- echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 ++# How to create reloadable object files. ++reload_flag=$lt_reload_flag ++reload_cmds=$lt_reload_cmds + +-ac_cv_lib_svld_dlopen=no +-fi +-rm -f conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext +-LIBS=$ac_check_lib_save_LIBS +-fi +-echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 +-echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 +-if test $ac_cv_lib_svld_dlopen = yes; then +- lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" +-else +- echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 +-echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 +-if test "${ac_cv_lib_dld_dld_link+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- ac_check_lib_save_LIBS=$LIBS +-LIBS="-ldld $LIBS" +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ ++# How to pass a linker flag through the compiler. ++wl=$lt_lt_prog_compiler_wl_CXX + +-/* Override any gcc2 internal prototype to avoid an error. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-/* We use char because int might match the return type of a gcc2 +- builtin and then its argument prototype would still apply. */ +-char dld_link (); +-int +-main () +-{ +-dld_link (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 +- (eval $ac_link) 2>conftest.er1 +- ac_status=$? +- grep -v '^ *+' conftest.er1 >conftest.err +- rm -f conftest.er1 +- cat conftest.err >&5 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && +- { ac_try='test -z "$ac_cxx_werror_flag" +- || test ! -s conftest.err' +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 +- (eval $ac_try) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; } && +- { ac_try='test -s conftest$ac_exeext' +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 +- (eval $ac_try) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then +- ac_cv_lib_dld_dld_link=yes +-else +- echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 ++# Object file suffix (normally "o"). ++objext="$ac_objext" + +-ac_cv_lib_dld_dld_link=no +-fi +-rm -f conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext +-LIBS=$ac_check_lib_save_LIBS +-fi +-echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 +-echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 +-if test $ac_cv_lib_dld_dld_link = yes; then +- lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" +-fi ++# Old archive suffix (normally "a"). ++libext="$libext" + ++# Shared library suffix (normally ".so"). ++shrext_cmds='$shrext_cmds' + +-fi ++# Executable file suffix (normally ""). ++exeext="$exeext" + ++# Additional compiler flags for building library objects. ++pic_flag=$lt_lt_prog_compiler_pic_CXX ++pic_mode=$pic_mode + +-fi ++# What is the maximum length of a command? ++max_cmd_len=$lt_cv_sys_max_cmd_len + ++# Does compiler simultaneously support -c and -o options? ++compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX + +-fi ++# Must we lock files when doing compilation? ++need_locks=$lt_need_locks + ++# Do we need the lib prefix for modules? ++need_lib_prefix=$need_lib_prefix + +-fi ++# Do we need a version for libraries? ++need_version=$need_version + ++# Whether dlopen is supported. ++dlopen_support=$enable_dlopen + +-fi ++# Whether dlopen of programs is supported. ++dlopen_self=$enable_dlopen_self + +- ;; +- esac ++# Whether dlopen of statically linked programs is supported. ++dlopen_self_static=$enable_dlopen_self_static + +- if test "x$lt_cv_dlopen" != xno; then +- enable_dlopen=yes +- else +- enable_dlopen=no +- fi ++# Compiler flag to prevent dynamic linking. ++link_static_flag=$lt_lt_prog_compiler_static_CXX + +- case $lt_cv_dlopen in +- dlopen) +- save_CPPFLAGS="$CPPFLAGS" +- test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" ++# Compiler flag to turn off builtin functions. ++no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX + +- save_LDFLAGS="$LDFLAGS" +- eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" ++# Compiler flag to allow reflexive dlopens. ++export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX + +- save_LIBS="$LIBS" +- LIBS="$lt_cv_dlopen_libs $LIBS" ++# Compiler flag to generate shared objects directly from archives. ++whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX + +- echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 +-echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 +-if test "${lt_cv_dlopen_self+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- if test "$cross_compiling" = yes; then : +- lt_cv_dlopen_self=cross +-else +- lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 +- lt_status=$lt_dlunknown +- cat > conftest.$ac_ext < +-#endif ++# Library versioning type. ++version_type=$version_type + +-#include ++# Format of library name prefix. ++libname_spec=$lt_libname_spec + +-#ifdef RTLD_GLOBAL +-# define LT_DLGLOBAL RTLD_GLOBAL +-#else +-# ifdef DL_GLOBAL +-# define LT_DLGLOBAL DL_GLOBAL +-# else +-# define LT_DLGLOBAL 0 +-# endif +-#endif ++# List of archive names. First name is the real one, the rest are links. ++# The last name is the one that the linker finds with -lNAME. ++library_names_spec=$lt_library_names_spec + +-/* We may have to define LT_DLLAZY_OR_NOW in the command line if we +- find out it does not work in some platform. */ +-#ifndef LT_DLLAZY_OR_NOW +-# ifdef RTLD_LAZY +-# define LT_DLLAZY_OR_NOW RTLD_LAZY +-# else +-# ifdef DL_LAZY +-# define LT_DLLAZY_OR_NOW DL_LAZY +-# else +-# ifdef RTLD_NOW +-# define LT_DLLAZY_OR_NOW RTLD_NOW +-# else +-# ifdef DL_NOW +-# define LT_DLLAZY_OR_NOW DL_NOW +-# else +-# define LT_DLLAZY_OR_NOW 0 +-# endif +-# endif +-# endif +-# endif +-#endif ++# The coded name of the library, if different from the real name. ++soname_spec=$lt_soname_spec + +-#ifdef __cplusplus +-extern "C" void exit (int); +-#endif ++# Commands used to build and install an old-style archive. ++RANLIB=$lt_RANLIB ++old_archive_cmds=$lt_old_archive_cmds_CXX ++old_postinstall_cmds=$lt_old_postinstall_cmds ++old_postuninstall_cmds=$lt_old_postuninstall_cmds + +-void fnord() { int i=42;} +-int main () +-{ +- void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); +- int status = $lt_dlunknown; ++# Create an old-style archive from a shared archive. ++old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX + +- if (self) +- { +- if (dlsym (self,"fnord")) status = $lt_dlno_uscore; +- else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; +- /* dlclose (self); */ +- } ++# Create a temporary old-style archive to link instead of a shared archive. ++old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX + +- exit (status); +-} +-EOF +- if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 +- (eval $ac_link) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then +- (./conftest; exit; ) 2>/dev/null +- lt_status=$? +- case x$lt_status in +- x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; +- x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; +- x$lt_unknown|x*) lt_cv_dlopen_self=no ;; +- esac +- else : +- # compilation failed +- lt_cv_dlopen_self=no +- fi +-fi +-rm -fr conftest* ++# Commands used to build and install a shared archive. ++archive_cmds=$lt_archive_cmds_CXX ++archive_expsym_cmds=$lt_archive_expsym_cmds_CXX ++postinstall_cmds=$lt_postinstall_cmds ++postuninstall_cmds=$lt_postuninstall_cmds + ++# Commands used to build a loadable module (assumed same as above if empty) ++module_cmds=$lt_module_cmds_CXX ++module_expsym_cmds=$lt_module_expsym_cmds_CXX + +-fi +-echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 +-echo "${ECHO_T}$lt_cv_dlopen_self" >&6 ++# Commands to strip libraries. ++old_striplib=$lt_old_striplib ++striplib=$lt_striplib + +- if test "x$lt_cv_dlopen_self" = xyes; then +- LDFLAGS="$LDFLAGS $link_static_flag" +- echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 +-echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 +-if test "${lt_cv_dlopen_self_static+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- if test "$cross_compiling" = yes; then : +- lt_cv_dlopen_self_static=cross +-else +- lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 +- lt_status=$lt_dlunknown +- cat > conftest.$ac_ext < +-#endif ++# Dependencies to place after the objects being linked to create a ++# shared library. ++postdep_objects=$lt_postdep_objects_CXX + +-#include ++# Dependencies to place before the objects being linked to create a ++# shared library. ++predeps=$lt_predeps_CXX + +-#ifdef RTLD_GLOBAL +-# define LT_DLGLOBAL RTLD_GLOBAL +-#else +-# ifdef DL_GLOBAL +-# define LT_DLGLOBAL DL_GLOBAL +-# else +-# define LT_DLGLOBAL 0 +-# endif +-#endif ++# Dependencies to place after the objects being linked to create a ++# shared library. ++postdeps=$lt_postdeps_CXX + +-/* We may have to define LT_DLLAZY_OR_NOW in the command line if we +- find out it does not work in some platform. */ +-#ifndef LT_DLLAZY_OR_NOW +-# ifdef RTLD_LAZY +-# define LT_DLLAZY_OR_NOW RTLD_LAZY +-# else +-# ifdef DL_LAZY +-# define LT_DLLAZY_OR_NOW DL_LAZY +-# else +-# ifdef RTLD_NOW +-# define LT_DLLAZY_OR_NOW RTLD_NOW +-# else +-# ifdef DL_NOW +-# define LT_DLLAZY_OR_NOW DL_NOW +-# else +-# define LT_DLLAZY_OR_NOW 0 +-# endif +-# endif +-# endif +-# endif +-#endif ++# The library search path used internally by the compiler when linking ++# a shared library. ++compiler_lib_search_path=$lt_compiler_lib_search_path_CXX + +-#ifdef __cplusplus +-extern "C" void exit (int); +-#endif ++# Method to check whether dependent libraries are shared objects. ++deplibs_check_method=$lt_deplibs_check_method + +-void fnord() { int i=42;} +-int main () +-{ +- void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); +- int status = $lt_dlunknown; ++# Command to use when deplibs_check_method == file_magic. ++file_magic_cmd=$lt_file_magic_cmd + +- if (self) +- { +- if (dlsym (self,"fnord")) status = $lt_dlno_uscore; +- else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; +- /* dlclose (self); */ +- } ++# Flag that allows shared libraries with undefined symbols to be built. ++allow_undefined_flag=$lt_allow_undefined_flag_CXX + +- exit (status); +-} +-EOF +- if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 +- (eval $ac_link) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then +- (./conftest; exit; ) 2>/dev/null +- lt_status=$? +- case x$lt_status in +- x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; +- x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; +- x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; +- esac +- else : +- # compilation failed +- lt_cv_dlopen_self_static=no +- fi +-fi +-rm -fr conftest* ++# Flag that forces no undefined symbols. ++no_undefined_flag=$lt_no_undefined_flag_CXX + ++# Commands used to finish a libtool library installation in a directory. ++finish_cmds=$lt_finish_cmds + +-fi +-echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 +-echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 +- fi ++# Same as above, but a single script fragment to be evaled but not shown. ++finish_eval=$lt_finish_eval + +- CPPFLAGS="$save_CPPFLAGS" +- LDFLAGS="$save_LDFLAGS" +- LIBS="$save_LIBS" +- ;; +- esac ++# Take the output of nm and produce a listing of raw symbols and C names. ++global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +- case $lt_cv_dlopen_self in +- yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; +- *) enable_dlopen_self=unknown ;; +- esac ++# Transform the output of nm in a proper C declaration ++global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +- case $lt_cv_dlopen_self_static in +- yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; +- *) enable_dlopen_self_static=unknown ;; +- esac +-fi ++# Transform the output of nm in a C name address pair ++global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +- +-# The else clause should only fire when bootstrapping the +-# libtool distribution, otherwise you forgot to ship ltmain.sh +-# with your package, and you will get complaints that there are +-# no rules to generate ltmain.sh. +-if test -f "$ltmain"; then +- # See if we are running on zsh, and set the options which allow our commands through +- # without removal of \ escapes. +- if test -n "${ZSH_VERSION+set}" ; then +- setopt NO_GLOB_SUBST +- fi +- # Now quote all the things that may contain metacharacters while being +- # careful not to overquote the AC_SUBSTed values. We take copies of the +- # variables and quote the copies for generation of the libtool script. +- for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ +- SED SHELL STRIP \ +- libname_spec library_names_spec soname_spec extract_expsyms_cmds \ +- old_striplib striplib file_magic_cmd finish_cmds finish_eval \ +- deplibs_check_method reload_flag reload_cmds need_locks \ +- lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ +- lt_cv_sys_global_symbol_to_c_name_address \ +- sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ +- old_postinstall_cmds old_postuninstall_cmds \ +- compiler_CXX \ +- CC_CXX \ +- LD_CXX \ +- lt_prog_compiler_wl_CXX \ +- lt_prog_compiler_pic_CXX \ +- lt_prog_compiler_static_CXX \ +- lt_prog_compiler_no_builtin_flag_CXX \ +- export_dynamic_flag_spec_CXX \ +- thread_safe_flag_spec_CXX \ +- whole_archive_flag_spec_CXX \ +- enable_shared_with_static_runtimes_CXX \ +- old_archive_cmds_CXX \ +- old_archive_from_new_cmds_CXX \ +- predep_objects_CXX \ +- postdep_objects_CXX \ +- predeps_CXX \ +- postdeps_CXX \ +- compiler_lib_search_path_CXX \ +- archive_cmds_CXX \ +- archive_expsym_cmds_CXX \ +- postinstall_cmds_CXX \ +- postuninstall_cmds_CXX \ +- old_archive_from_expsyms_cmds_CXX \ +- allow_undefined_flag_CXX \ +- no_undefined_flag_CXX \ +- export_symbols_cmds_CXX \ +- hardcode_libdir_flag_spec_CXX \ +- hardcode_libdir_flag_spec_ld_CXX \ +- hardcode_libdir_separator_CXX \ +- hardcode_automatic_CXX \ +- module_cmds_CXX \ +- module_expsym_cmds_CXX \ +- lt_cv_prog_compiler_c_o_CXX \ +- exclude_expsyms_CXX \ +- include_expsyms_CXX; do +- +- case $var in +- old_archive_cmds_CXX | \ +- old_archive_from_new_cmds_CXX | \ +- archive_cmds_CXX | \ +- archive_expsym_cmds_CXX | \ +- module_cmds_CXX | \ +- module_expsym_cmds_CXX | \ +- old_archive_from_expsyms_cmds_CXX | \ +- export_symbols_cmds_CXX | \ +- extract_expsyms_cmds | reload_cmds | finish_cmds | \ +- postinstall_cmds | postuninstall_cmds | \ +- old_postinstall_cmds | old_postuninstall_cmds | \ +- sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) +- # Double-quote double-evaled strings. +- eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" +- ;; +- *) +- eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" +- ;; +- esac +- done +- +- case $lt_echo in +- *'\$0 --fallback-echo"') +- lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` +- ;; +- esac +- +-cfgfile="$ofile" +- +- cat <<__EOF__ >> "$cfgfile" +-# ### BEGIN LIBTOOL TAG CONFIG: $tagname +- +-# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: +- +-# Shell to use when invoking shell scripts. +-SHELL=$lt_SHELL +- +-# Whether or not to build shared libraries. +-build_libtool_libs=$enable_shared +- +-# Whether or not to build static libraries. +-build_old_libs=$enable_static +- +-# Whether or not to add -lc for building shared libraries. +-build_libtool_need_lc=$archive_cmds_need_lc_CXX +- +-# Whether or not to disallow shared libs when runtime libs are static +-allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX +- +-# Whether or not to optimize for fast installation. +-fast_install=$enable_fast_install +- +-# The host system. +-host_alias=$host_alias +-host=$host +-host_os=$host_os +- +-# The build system. +-build_alias=$build_alias +-build=$build +-build_os=$build_os +- +-# An echo program that does not interpret backslashes. +-echo=$lt_echo +- +-# The archiver. +-AR=$lt_AR +-AR_FLAGS=$lt_AR_FLAGS +- +-# A C compiler. +-LTCC=$lt_LTCC +- +-# A language-specific compiler. +-CC=$lt_compiler_CXX +- +-# Is the compiler the GNU C compiler? +-with_gcc=$GCC_CXX +- +-# An ERE matcher. +-EGREP=$lt_EGREP +- +-# The linker used to build libraries. +-LD=$lt_LD_CXX +- +-# Whether we need hard or soft links. +-LN_S=$lt_LN_S +- +-# A BSD-compatible nm program. +-NM=$lt_NM +- +-# A symbol stripping program +-STRIP=$lt_STRIP +- +-# Used to examine libraries when file_magic_cmd begins "file" +-MAGIC_CMD=$MAGIC_CMD +- +-# Used on cygwin: DLL creation program. +-DLLTOOL="$DLLTOOL" +- +-# Used on cygwin: object dumper. +-OBJDUMP="$OBJDUMP" +- +-# Used on cygwin: assembler. +-AS="$AS" +- +-# The name of the directory that contains temporary libtool files. +-objdir=$objdir +- +-# How to create reloadable object files. +-reload_flag=$lt_reload_flag +-reload_cmds=$lt_reload_cmds +- +-# How to pass a linker flag through the compiler. +-wl=$lt_lt_prog_compiler_wl_CXX +- +-# Object file suffix (normally "o"). +-objext="$ac_objext" +- +-# Old archive suffix (normally "a"). +-libext="$libext" +- +-# Shared library suffix (normally ".so"). +-shrext_cmds='$shrext_cmds' +- +-# Executable file suffix (normally ""). +-exeext="$exeext" +- +-# Additional compiler flags for building library objects. +-pic_flag=$lt_lt_prog_compiler_pic_CXX +-pic_mode=$pic_mode +- +-# What is the maximum length of a command? +-max_cmd_len=$lt_cv_sys_max_cmd_len +- +-# Does compiler simultaneously support -c and -o options? +-compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX +- +-# Must we lock files when doing compilation? +-need_locks=$lt_need_locks +- +-# Do we need the lib prefix for modules? +-need_lib_prefix=$need_lib_prefix +- +-# Do we need a version for libraries? +-need_version=$need_version +- +-# Whether dlopen is supported. +-dlopen_support=$enable_dlopen +- +-# Whether dlopen of programs is supported. +-dlopen_self=$enable_dlopen_self +- +-# Whether dlopen of statically linked programs is supported. +-dlopen_self_static=$enable_dlopen_self_static +- +-# Compiler flag to prevent dynamic linking. +-link_static_flag=$lt_lt_prog_compiler_static_CXX +- +-# Compiler flag to turn off builtin functions. +-no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX +- +-# Compiler flag to allow reflexive dlopens. +-export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX +- +-# Compiler flag to generate shared objects directly from archives. +-whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX +- +-# Compiler flag to generate thread-safe objects. +-thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX +- +-# Library versioning type. +-version_type=$version_type +- +-# Format of library name prefix. +-libname_spec=$lt_libname_spec +- +-# List of archive names. First name is the real one, the rest are links. +-# The last name is the one that the linker finds with -lNAME. +-library_names_spec=$lt_library_names_spec +- +-# The coded name of the library, if different from the real name. +-soname_spec=$lt_soname_spec +- +-# Commands used to build and install an old-style archive. +-RANLIB=$lt_RANLIB +-old_archive_cmds=$lt_old_archive_cmds_CXX +-old_postinstall_cmds=$lt_old_postinstall_cmds +-old_postuninstall_cmds=$lt_old_postuninstall_cmds +- +-# Create an old-style archive from a shared archive. +-old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX +- +-# Create a temporary old-style archive to link instead of a shared archive. +-old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX +- +-# Commands used to build and install a shared archive. +-archive_cmds=$lt_archive_cmds_CXX +-archive_expsym_cmds=$lt_archive_expsym_cmds_CXX +-postinstall_cmds=$lt_postinstall_cmds +-postuninstall_cmds=$lt_postuninstall_cmds +- +-# Commands used to build a loadable module (assumed same as above if empty) +-module_cmds=$lt_module_cmds_CXX +-module_expsym_cmds=$lt_module_expsym_cmds_CXX +- +-# Commands to strip libraries. +-old_striplib=$lt_old_striplib +-striplib=$lt_striplib +- +-# Dependencies to place before the objects being linked to create a +-# shared library. +-predep_objects=$lt_predep_objects_CXX +- +-# Dependencies to place after the objects being linked to create a +-# shared library. +-postdep_objects=$lt_postdep_objects_CXX +- +-# Dependencies to place before the objects being linked to create a +-# shared library. +-predeps=$lt_predeps_CXX +- +-# Dependencies to place after the objects being linked to create a +-# shared library. +-postdeps=$lt_postdeps_CXX +- +-# The library search path used internally by the compiler when linking +-# a shared library. +-compiler_lib_search_path=$lt_compiler_lib_search_path_CXX +- +-# Method to check whether dependent libraries are shared objects. +-deplibs_check_method=$lt_deplibs_check_method +- +-# Command to use when deplibs_check_method == file_magic. +-file_magic_cmd=$lt_file_magic_cmd +- +-# Flag that allows shared libraries with undefined symbols to be built. +-allow_undefined_flag=$lt_allow_undefined_flag_CXX +- +-# Flag that forces no undefined symbols. +-no_undefined_flag=$lt_no_undefined_flag_CXX +- +-# Commands used to finish a libtool library installation in a directory. +-finish_cmds=$lt_finish_cmds +- +-# Same as above, but a single script fragment to be evaled but not shown. +-finish_eval=$lt_finish_eval +- +-# Take the output of nm and produce a listing of raw symbols and C names. +-global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe +- +-# Transform the output of nm in a proper C declaration +-global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl +- +-# Transform the output of nm in a C name address pair +-global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address +- +-# This is the shared library runtime path variable. +-runpath_var=$runpath_var ++# This is the shared library runtime path variable. ++runpath_var=$runpath_var + + # This is the shared library path variable. + shlibpath_var=$shlibpath_var +@@ -13723,6 +13191,9 @@ + # If no C compiler was specified, use CC. + LTCC=${LTCC-"$CC"} + ++# If no C compiler flags were specified, use CFLAGS. ++LTCFLAGS=${LTCFLAGS-"$CFLAGS"} ++ + # Allow CC to be a program name with arguments. + compiler=$CC + +@@ -13730,13 +13201,13 @@ + # save warnings/boilerplate of simple test code + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" >conftest.$ac_ext +-eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err ++eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err + _lt_compiler_boilerplate=`cat conftest.err` + $rm conftest* + + ac_outfile=conftest.$ac_objext + printf "$lt_simple_link_test_code" >conftest.$ac_ext +-eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err ++eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err + _lt_linker_boilerplate=`cat conftest.err` + $rm conftest* + +@@ -13768,7 +13239,7 @@ + + # On AIX, shared libraries and static libraries use the same namespace, and + # are all built from PIC. +-case "$host_os" in ++case $host_os in + aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then +@@ -13792,8 +13263,6 @@ + echo "$as_me:$LINENO: result: $enable_static" >&5 + echo "${ECHO_T}$enable_static" >&6 + +-test "$ld_shlibs_F77" = no && can_build_shared=no +- + GCC_F77="$G77" + LD_F77="$LD" + +@@ -13840,6 +13309,11 @@ + lt_prog_compiler_pic_F77='-fno-common' + ;; + ++ interix3*) ++ # Interix 3.x gcc -fpic/-fPIC options generate broken code. ++ # Instead, we relocate shared libraries at runtime. ++ ;; ++ + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. +@@ -13856,7 +13330,7 @@ + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. +- case "$host_cpu" in ++ case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; +@@ -13903,7 +13377,7 @@ + lt_prog_compiler_wl_F77='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. +- case "$host_cpu" in ++ case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; +@@ -13933,12 +13407,12 @@ + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-static' + ;; +- pgcc* | pgf77* | pgf90*) ++ pgcc* | pgf77* | pgf90* | pgf95*) + # Portland Group compilers (*not* the Pentium gcc compiler, + # which looks to be a dead project) + lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_pic_F77='-fpic' +- lt_prog_compiler_static_F77='-static' ++ lt_prog_compiler_static_F77='-Bstatic' + ;; + ccc*) + lt_prog_compiler_wl_F77='-Wl,' +@@ -13954,11 +13428,6 @@ + lt_prog_compiler_static_F77='-non_shared' + ;; + +- sco3.2v5*) +- lt_prog_compiler_pic_F77='-Kpic' +- lt_prog_compiler_static_F77='-dn' +- ;; +- + solaris*) + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-Bstatic' +@@ -13976,7 +13445,7 @@ + lt_prog_compiler_static_F77='-Bstatic' + ;; + +- sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) ++ sysv4 | sysv4.2uw2* | sysv4.3*) + lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-Bstatic' +@@ -13989,6 +13458,12 @@ + fi + ;; + ++ sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) ++ lt_prog_compiler_wl_F77='-Wl,' ++ lt_prog_compiler_pic_F77='-KPIC' ++ lt_prog_compiler_static_F77='-Bstatic' ++ ;; ++ + unicos*) + lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_can_build_shared_F77=no +@@ -14028,20 +13503,20 @@ + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ +- -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ ++ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:14034: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:13509: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 +- echo "$as_me:14038: \$? = $ac_status" >&5 ++ echo "$as_me:13513: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. +- $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp +- $SED '/^$/d' conftest.err >conftest.er2 +- if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then ++ $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp ++ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 ++ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then + lt_prog_compiler_pic_works_F77=yes + fi + fi +@@ -14062,7 +13537,7 @@ + fi + + fi +-case "$host_os" in ++case $host_os in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic_F77= +@@ -14072,6 +13547,48 @@ + ;; + esac + ++# ++# Check to make sure the static flag actually works. ++# ++wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\" ++echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 ++echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6 ++if test "${lt_prog_compiler_static_works_F77+set}" = set; then ++ echo $ECHO_N "(cached) $ECHO_C" >&6 ++else ++ lt_prog_compiler_static_works_F77=no ++ save_LDFLAGS="$LDFLAGS" ++ LDFLAGS="$LDFLAGS $lt_tmp_static_flag" ++ printf "$lt_simple_link_test_code" > conftest.$ac_ext ++ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then ++ # The linker can only warn and ignore the option if not recognized ++ # So say no if there are warnings ++ if test -s conftest.err; then ++ # Append any errors to the config.log. ++ cat conftest.err 1>&5 ++ $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp ++ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 ++ if diff conftest.exp conftest.er2 >/dev/null; then ++ lt_prog_compiler_static_works_F77=yes ++ fi ++ else ++ lt_prog_compiler_static_works_F77=yes ++ fi ++ fi ++ $rm conftest* ++ LDFLAGS="$save_LDFLAGS" ++ ++fi ++echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5 ++echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6 ++ ++if test x"$lt_prog_compiler_static_works_F77" = xyes; then ++ : ++else ++ lt_prog_compiler_static_F77= ++fi ++ ++ + echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 + echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 + if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then +@@ -14090,25 +13607,25 @@ + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ +- -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ ++ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:14096: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:13613: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 +- echo "$as_me:14100: \$? = $ac_status" >&5 ++ echo "$as_me:13617: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings +- $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp +- $SED '/^$/d' out/conftest.err >out/conftest.er2 +- if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then ++ $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp ++ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 ++ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then + lt_cv_prog_compiler_c_o_F77=yes + fi + fi +- chmod u+w . ++ chmod u+w . 2>&5 + $rm conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation +@@ -14204,6 +13721,10 @@ + with_gnu_ld=no + fi + ;; ++ interix*) ++ # we just hope/assume this is gcc and not c89 (= MSVC++) ++ with_gnu_ld=yes ++ ;; + openbsd*) + with_gnu_ld=no + ;; +@@ -14288,7 +13809,7 @@ + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then +- archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' ++ archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then +@@ -14297,22 +13818,37 @@ + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ +- $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' ++ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + else + ld_shlibs_F77=no + fi + ;; + ++ interix3*) ++ hardcode_direct_F77=no ++ hardcode_shlibpath_var_F77=no ++ hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' ++ export_dynamic_flag_spec_F77='${wl}-E' ++ # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. ++ # Instead, shared libraries are loaded at an image base (0x10000000 by ++ # default) and relocated if they conflict, which is a slow very memory ++ # consuming and fragmenting process. To avoid this, we pick a random, ++ # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link ++ # time. Moving up from 0x10000000 also allows more sbrk(2) space. ++ archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ++ archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ++ ;; ++ + linux*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + tmp_addflag= + case $cc_basename,$host_cpu in + pgcc*) # Portland Group C compiler +- whole_archive_flag_spec_F77='${wl}--whole-archive,`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' ++ whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_addflag=' $pic_flag' + ;; +- pgf77* | pgf90* ) # Portland Group f77 and f90 compilers +- whole_archive_flag_spec_F77='${wl}--whole-archive,`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' ++ pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers ++ whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_addflag=' $pic_flag -Mnomain' ;; + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 + tmp_addflag=' -i_dynamic' ;; +@@ -14329,12 +13865,13 @@ + $echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' + fi ++ link_all_deplibs_F77=no + else + ld_shlibs_F77=no + fi + ;; + +- netbsd*) ++ netbsd* | netbsdelf*-gnu | knetbsd*-gnu) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= +@@ -14344,7 +13881,7 @@ + fi + ;; + +- solaris* | sysv5*) ++ solaris*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + ld_shlibs_F77=no + cat <&2 +@@ -14365,6 +13902,33 @@ + fi + ;; + ++ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) ++ case `$LD -v 2>&1` in ++ *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) ++ ld_shlibs_F77=no ++ cat <<_LT_EOF 1>&2 ++ ++*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not ++*** reliably create shared libraries on SCO systems. Therefore, libtool ++*** is disabling shared libraries support. We urge you to upgrade GNU ++*** binutils to release 2.16.91.0.3 or newer. Another option is to modify ++*** your PATH or compiler configuration so that the native linker is ++*** used, and then restart. ++ ++_LT_EOF ++ ;; ++ *) ++ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then ++ hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' ++ archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' ++ archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' ++ else ++ ld_shlibs_F77=no ++ fi ++ ;; ++ esac ++ ;; ++ + sunos4*) + archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= +@@ -14398,7 +13962,7 @@ + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + hardcode_minus_L_F77=yes +- if test "$GCC" = yes && test -z "$link_static_flag"; then ++ if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + hardcode_direct_F77=unsupported +@@ -14432,6 +13996,7 @@ + break + fi + done ++ ;; + esac + + exp_sym_flag='-bexport' +@@ -14469,6 +14034,7 @@ + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_libdir_separator_F77= + fi ++ ;; + esac + shared_flag='-shared' + if test "$aix_use_runtimelinking" = yes; then +@@ -14481,11 +14047,11 @@ + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else +- if test "$aix_use_runtimelinking" = yes; then ++ if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' +- fi ++ fi + fi + fi + +@@ -14511,8 +14077,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_f77_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -14540,12 +14105,12 @@ + if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" +- archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" ++ archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag_F77="-z nodefs" +- archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" ++ archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +@@ -14562,8 +14127,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_f77_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -14595,13 +14159,11 @@ + # -berok will link without error, but may produce a broken library. + no_undefined_flag_F77=' ${wl}-bernotok' + allow_undefined_flag_F77=' ${wl}-berok' +- # -bexpall does not export symbols beginning with underscore (_) +- always_export_symbols_F77=yes + # Exported symbols can be pulled into shared objects from archives +- whole_archive_flag_spec_F77=' ' ++ whole_archive_flag_spec_F77='$convenience' + archive_cmds_need_lc_F77=yes +- # This is similar to how AIX traditionally builds it's shared libraries. +- archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' ++ # This is similar to how AIX traditionally builds its shared libraries. ++ archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; +@@ -14640,7 +14202,7 @@ + ;; + + darwin* | rhapsody*) +- case "$host_os" in ++ case $host_os in + rhapsody* | darwin1.[012]) + allow_undefined_flag_F77='${wl}-undefined ${wl}suppress' + ;; +@@ -14669,7 +14231,7 @@ + output_verbose_link_cmd='echo' + archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' +- # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's ++ # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds + archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else +@@ -14678,7 +14240,7 @@ + output_verbose_link_cmd='echo' + archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' + module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' +- # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's ++ # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds + archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + ;; +@@ -14719,11 +14281,20 @@ + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. +- freebsd* | kfreebsd*-gnu | dragonfly*) ++ freebsd* | dragonfly*) ++ archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' ++ hardcode_libdir_flag_spec_F77='-R$libdir' ++ hardcode_direct_F77=yes ++ hardcode_shlibpath_var_F77=no ++ ;; ++ ++ # GNU/kFreeBSD uses gcc -shared to do shared libraries. ++ kfreebsd*-gnu) + archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no ++ link_all_deplibs_F77=no + ;; + + hpux9*) +@@ -14742,47 +14313,62 @@ + export_dynamic_flag_spec_F77='${wl}-E' + ;; + +- hpux10* | hpux11*) ++ hpux10*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then +- case "$host_cpu" in +- hppa*64*|ia64*) ++ archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ++ else ++ archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ++ fi ++ if test "$with_gnu_ld" = no; then ++ hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' ++ hardcode_libdir_separator_F77=: ++ ++ hardcode_direct_F77=yes ++ export_dynamic_flag_spec_F77='${wl}-E' ++ ++ # hardcode_minus_L: Not really in the search PATH, ++ # but as the default location of the library. ++ hardcode_minus_L_F77=yes ++ fi ++ ;; ++ ++ hpux11*) ++ if test "$GCC" = yes -a "$with_gnu_ld" = no; then ++ case $host_cpu in ++ hppa*64*) + archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; ++ ia64*) ++ archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ++ ;; + *) + archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else +- case "$host_cpu" in +- hppa*64*|ia64*) +- archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' ++ case $host_cpu in ++ hppa*64*) ++ archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ++ ;; ++ ia64*) ++ archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) +- archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ++ archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + fi + if test "$with_gnu_ld" = no; then +- case "$host_cpu" in +- hppa*64*) +- hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' ++ hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' ++ hardcode_libdir_separator_F77=: ++ ++ case $host_cpu in ++ hppa*64*|ia64*) + hardcode_libdir_flag_spec_ld_F77='+b $libdir' +- hardcode_libdir_separator_F77=: + hardcode_direct_F77=no + hardcode_shlibpath_var_F77=no + ;; +- ia64*) +- hardcode_libdir_flag_spec_F77='-L$libdir' +- hardcode_direct_F77=no +- hardcode_shlibpath_var_F77=no +- +- # hardcode_minus_L: Not really in the search PATH, +- # but as the default location of the library. +- hardcode_minus_L_F77=yes +- ;; + *) +- hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' +- hardcode_libdir_separator_F77=: + hardcode_direct_F77=yes + export_dynamic_flag_spec_F77='${wl}-E' + +@@ -14806,7 +14392,7 @@ + link_all_deplibs_F77=yes + ;; + +- netbsd*) ++ netbsd* | netbsdelf*-gnu | knetbsd*-gnu) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else +@@ -14884,14 +14470,6 @@ + hardcode_libdir_separator_F77=: + ;; + +- sco3.2v5*) +- archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' +- hardcode_shlibpath_var_F77=no +- export_dynamic_flag_spec_F77='${wl}-Bexport' +- runpath_var=LD_RUN_PATH +- hardcode_runpath_var=yes +- ;; +- + solaris*) + no_undefined_flag_F77=' -z text' + if test "$GCC" = yes; then +@@ -14977,36 +14555,45 @@ + fi + ;; + +- sysv4.2uw2*) +- archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags' +- hardcode_direct_F77=yes +- hardcode_minus_L_F77=no ++ sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*) ++ no_undefined_flag_F77='${wl}-z,text' ++ archive_cmds_need_lc_F77=no + hardcode_shlibpath_var_F77=no +- hardcode_runpath_var=yes +- runpath_var=LD_RUN_PATH +- ;; ++ runpath_var='LD_RUN_PATH' + +- sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) +- no_undefined_flag_F77='${wl}-z ${wl}text' + if test "$GCC" = yes; then +- archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ++ archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ++ archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + else +- archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ++ archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ++ archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + fi +- runpath_var='LD_RUN_PATH' +- hardcode_shlibpath_var_F77=no + ;; + +- sysv5*) +- no_undefined_flag_F77=' -z text' +- # $CC -shared without GNU ld will not create a library from C++ +- # object files and a static libstdc++, better avoid it by now +- archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' +- archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ +- $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' +- hardcode_libdir_flag_spec_F77= ++ sysv5* | sco3.2v5* | sco5v6*) ++ # Note: We can NOT use -z defs as we might desire, because we do not ++ # link with -lc, and that would cause any symbols used from libc to ++ # always be unresolved, which means just about no library would ++ # ever link correctly. If we're not using GNU ld we use -z text ++ # though, which does catch some bad symbols but isn't as heavy-handed ++ # as -z defs. ++ no_undefined_flag_F77='${wl}-z,text' ++ allow_undefined_flag_F77='${wl}-z,nodefs' ++ archive_cmds_need_lc_F77=no + hardcode_shlibpath_var_F77=no ++ hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' ++ hardcode_libdir_separator_F77=':' ++ link_all_deplibs_F77=yes ++ export_dynamic_flag_spec_F77='${wl}-Bexport' + runpath_var='LD_RUN_PATH' ++ ++ if test "$GCC" = yes; then ++ archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' ++ archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' ++ else ++ archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' ++ archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' ++ fi + ;; + + uts4*) +@@ -15025,11 +14612,6 @@ + echo "${ECHO_T}$ld_shlibs_F77" >&6 + test "$ld_shlibs_F77" = no && can_build_shared=no + +-variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +-if test "$GCC" = yes; then +- variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +-fi +- + # + # Do we need to explicitly link libc? + # +@@ -15062,6 +14644,7 @@ + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl_F77 ++ pic_flag=$lt_prog_compiler_pic_F77 + compiler_flags=-v + linker_flags=-v + verstring= +@@ -15222,7 +14805,8 @@ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ +- $install_prog $dir/$dlname \$dldir/$dlname' ++ $install_prog $dir/$dlname \$dldir/$dlname~ ++ chmod a+x \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' +@@ -15275,7 +14859,7 @@ + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH +- shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)' ++ shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. + if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` +@@ -15313,7 +14897,14 @@ + freebsd* | dragonfly*) + # DragonFly does not have aout. When/if they implement a new + # versioning mechanism, adjust this. +- objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` ++ if test -x /usr/bin/objformat; then ++ objformat=`/usr/bin/objformat` ++ else ++ case $host_os in ++ freebsd[123]*) objformat=aout ;; ++ *) objformat=elf ;; ++ esac ++ fi + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) +@@ -15335,10 +14926,15 @@ + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; +- *) # from 3.2 on ++ freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ ++ freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; ++ freebsd*) # from 4.6 on ++ shlibpath_overrides_runpath=yes ++ hardcode_into_libs=yes ++ ;; + esac + ;; + +@@ -15358,7 +14954,7 @@ + version_type=sunos + need_lib_prefix=no + need_version=no +- case "$host_cpu" in ++ case $host_cpu in + ia64*) + shrext_cmds='.so' + hardcode_into_libs=yes +@@ -15398,6 +14994,18 @@ + postinstall_cmds='chmod 555 $lib' + ;; + ++interix3*) ++ version_type=linux ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' ++ shlibpath_var=LD_LIBRARY_PATH ++ shlibpath_overrides_runpath=no ++ hardcode_into_libs=yes ++ ;; ++ + irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; +@@ -15455,31 +15063,10 @@ + # before this can be enabled. + hardcode_into_libs=yes + +- # find out which ABI we are using +- libsuff= +- case "$host_cpu" in +- x86_64*|s390x*|powerpc64*) +- echo '#line 15462 "configure"' > conftest.$ac_ext +- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 +- (eval $ac_compile) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; then +- case `/usr/bin/file conftest.$ac_objext` in +- *64-bit*) +- libsuff=64 +- sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" +- ;; +- esac +- fi +- rm -rf conftest* +- ;; +- esac +- + # Append ld.so.conf contents to the search path + if test -f /etc/ld.so.conf; then + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` +- sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" ++ sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" + fi + + # We used to test for /lib/ld.so.1 and disable shared libraries on +@@ -15491,6 +15078,18 @@ + dynamic_linker='GNU/Linux ld.so' + ;; + ++netbsdelf*-gnu) ++ version_type=linux ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ shlibpath_var=LD_LIBRARY_PATH ++ shlibpath_overrides_runpath=no ++ hardcode_into_libs=yes ++ dynamic_linker='NetBSD ld.elf_so' ++ ;; ++ + knetbsd*-gnu) + version_type=linux + need_lib_prefix=no +@@ -15540,6 +15139,7 @@ + + openbsd*) + version_type=sunos ++ sys_lib_dlsearch_path_spec="/usr/lib" + need_lib_prefix=no + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. + case $host_os in +@@ -15583,13 +15183,6 @@ + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +-sco3.2v5*) +- version_type=osf +- soname_spec='${libname}${release}${shared_ext}$major' +- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' +- shlibpath_var=LD_LIBRARY_PATH +- ;; +- + solaris*) + version_type=linux + need_lib_prefix=no +@@ -15615,7 +15208,7 @@ + need_version=yes + ;; + +-sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) ++sysv4 | sysv4.3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' +@@ -15648,6 +15241,29 @@ + fi + ;; + ++sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) ++ version_type=freebsd-elf ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ shlibpath_var=LD_LIBRARY_PATH ++ hardcode_into_libs=yes ++ if test "$with_gnu_ld" = yes; then ++ sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' ++ shlibpath_overrides_runpath=no ++ else ++ sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' ++ shlibpath_overrides_runpath=yes ++ case $host_os in ++ sco3.2v5*) ++ sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" ++ ;; ++ esac ++ fi ++ sys_lib_dlsearch_path_spec='/usr/lib' ++ ;; ++ + uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' +@@ -15663,6 +15279,11 @@ + echo "${ECHO_T}$dynamic_linker" >&6 + test "$dynamic_linker" = no && can_build_shared=no + ++variables_saved_for_relink="PATH $shlibpath_var $runpath_var" ++if test "$GCC" = yes; then ++ variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" ++fi ++ + echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 + echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 + hardcode_action_F77= +@@ -15700,36 +15321,6 @@ + enable_fast_install=needless + fi + +-striplib= +-old_striplib= +-echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 +-echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 +-if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then +- test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" +- test -z "$striplib" && striplib="$STRIP --strip-unneeded" +- echo "$as_me:$LINENO: result: yes" >&5 +-echo "${ECHO_T}yes" >&6 +-else +-# FIXME - insert some real tests, host_os isn't really good enough +- case $host_os in +- darwin*) +- if test -n "$STRIP" ; then +- striplib="$STRIP -x" +- echo "$as_me:$LINENO: result: yes" >&5 +-echo "${ECHO_T}yes" >&6 +- else +- echo "$as_me:$LINENO: result: no" >&5 +-echo "${ECHO_T}no" >&6 +-fi +- ;; +- *) +- echo "$as_me:$LINENO: result: no" >&5 +-echo "${ECHO_T}no" >&6 +- ;; +- esac +-fi +- +- + + # The else clause should only fire when bootstrapping the + # libtool distribution, otherwise you forgot to ship ltmain.sh +@@ -15744,7 +15335,7 @@ + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. +- for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ ++ for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ + SED SHELL STRIP \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ +@@ -15862,6 +15453,9 @@ + # A C compiler. + LTCC=$lt_LTCC + ++# LTCC compiler flags. ++LTCFLAGS=$lt_LTCFLAGS ++ + # A language-specific compiler. + CC=$lt_compiler_F77 + +@@ -16172,6 +15766,9 @@ + # If no C compiler was specified, use CC. + LTCC=${LTCC-"$CC"} + ++# If no C compiler flags were specified, use CFLAGS. ++LTCFLAGS=${LTCFLAGS-"$CFLAGS"} ++ + # Allow CC to be a program name with arguments. + compiler=$CC + +@@ -16179,13 +15776,13 @@ + # save warnings/boilerplate of simple test code + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" >conftest.$ac_ext +-eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err ++eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err + _lt_compiler_boilerplate=`cat conftest.err` + $rm conftest* + + ac_outfile=conftest.$ac_objext + printf "$lt_simple_link_test_code" >conftest.$ac_ext +-eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err ++eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err + _lt_linker_boilerplate=`cat conftest.err` + $rm conftest* + +@@ -16233,20 +15830,20 @@ + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ +- -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ ++ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:16239: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:15836: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 +- echo "$as_me:16243: \$? = $ac_status" >&5 ++ echo "$as_me:15840: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. +- $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp +- $SED '/^$/d' conftest.err >conftest.er2 +- if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then ++ $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp ++ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 ++ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler_rtti_exceptions=yes + fi + fi +@@ -16307,6 +15904,11 @@ + lt_prog_compiler_pic_GCJ='-fno-common' + ;; + ++ interix3*) ++ # Interix 3.x gcc -fpic/-fPIC options generate broken code. ++ # Instead, we relocate shared libraries at runtime. ++ ;; ++ + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. +@@ -16323,7 +15925,7 @@ + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. +- case "$host_cpu" in ++ case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; +@@ -16370,7 +15972,7 @@ + lt_prog_compiler_wl_GCJ='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. +- case "$host_cpu" in ++ case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; +@@ -16400,12 +16002,12 @@ + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-static' + ;; +- pgcc* | pgf77* | pgf90*) ++ pgcc* | pgf77* | pgf90* | pgf95*) + # Portland Group compilers (*not* the Pentium gcc compiler, + # which looks to be a dead project) + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_pic_GCJ='-fpic' +- lt_prog_compiler_static_GCJ='-static' ++ lt_prog_compiler_static_GCJ='-Bstatic' + ;; + ccc*) + lt_prog_compiler_wl_GCJ='-Wl,' +@@ -16421,11 +16023,6 @@ + lt_prog_compiler_static_GCJ='-non_shared' + ;; + +- sco3.2v5*) +- lt_prog_compiler_pic_GCJ='-Kpic' +- lt_prog_compiler_static_GCJ='-dn' +- ;; +- + solaris*) + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-Bstatic' +@@ -16443,7 +16040,7 @@ + lt_prog_compiler_static_GCJ='-Bstatic' + ;; + +- sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) ++ sysv4 | sysv4.2uw2* | sysv4.3*) + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-Bstatic' +@@ -16456,6 +16053,12 @@ + fi + ;; + ++ sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) ++ lt_prog_compiler_wl_GCJ='-Wl,' ++ lt_prog_compiler_pic_GCJ='-KPIC' ++ lt_prog_compiler_static_GCJ='-Bstatic' ++ ;; ++ + unicos*) + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_can_build_shared_GCJ=no +@@ -16495,20 +16098,20 @@ + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ +- -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ ++ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:16501: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:16104: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 +- echo "$as_me:16505: \$? = $ac_status" >&5 ++ echo "$as_me:16108: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. +- $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp +- $SED '/^$/d' conftest.err >conftest.er2 +- if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then ++ $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp ++ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 ++ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then + lt_prog_compiler_pic_works_GCJ=yes + fi + fi +@@ -16529,7 +16132,7 @@ + fi + + fi +-case "$host_os" in ++case $host_os in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic_GCJ= +@@ -16539,6 +16142,48 @@ + ;; + esac + ++# ++# Check to make sure the static flag actually works. ++# ++wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\" ++echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 ++echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6 ++if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then ++ echo $ECHO_N "(cached) $ECHO_C" >&6 ++else ++ lt_prog_compiler_static_works_GCJ=no ++ save_LDFLAGS="$LDFLAGS" ++ LDFLAGS="$LDFLAGS $lt_tmp_static_flag" ++ printf "$lt_simple_link_test_code" > conftest.$ac_ext ++ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then ++ # The linker can only warn and ignore the option if not recognized ++ # So say no if there are warnings ++ if test -s conftest.err; then ++ # Append any errors to the config.log. ++ cat conftest.err 1>&5 ++ $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp ++ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 ++ if diff conftest.exp conftest.er2 >/dev/null; then ++ lt_prog_compiler_static_works_GCJ=yes ++ fi ++ else ++ lt_prog_compiler_static_works_GCJ=yes ++ fi ++ fi ++ $rm conftest* ++ LDFLAGS="$save_LDFLAGS" ++ ++fi ++echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5 ++echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6 ++ ++if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then ++ : ++else ++ lt_prog_compiler_static_GCJ= ++fi ++ ++ + echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 + echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 + if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then +@@ -16557,25 +16202,25 @@ + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ +- -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ ++ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:16563: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:16208: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 +- echo "$as_me:16567: \$? = $ac_status" >&5 ++ echo "$as_me:16212: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings +- $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp +- $SED '/^$/d' out/conftest.err >out/conftest.er2 +- if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then ++ $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp ++ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 ++ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then + lt_cv_prog_compiler_c_o_GCJ=yes + fi + fi +- chmod u+w . ++ chmod u+w . 2>&5 + $rm conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation +@@ -16671,6 +16316,10 @@ + with_gnu_ld=no + fi + ;; ++ interix*) ++ # we just hope/assume this is gcc and not c89 (= MSVC++) ++ with_gnu_ld=yes ++ ;; + openbsd*) + with_gnu_ld=no + ;; +@@ -16755,7 +16404,7 @@ + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then +- archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' ++ archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then +@@ -16764,22 +16413,37 @@ + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ +- $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' ++ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + else + ld_shlibs_GCJ=no + fi + ;; + ++ interix3*) ++ hardcode_direct_GCJ=no ++ hardcode_shlibpath_var_GCJ=no ++ hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' ++ export_dynamic_flag_spec_GCJ='${wl}-E' ++ # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. ++ # Instead, shared libraries are loaded at an image base (0x10000000 by ++ # default) and relocated if they conflict, which is a slow very memory ++ # consuming and fragmenting process. To avoid this, we pick a random, ++ # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link ++ # time. Moving up from 0x10000000 also allows more sbrk(2) space. ++ archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ++ archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ++ ;; ++ + linux*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + tmp_addflag= + case $cc_basename,$host_cpu in + pgcc*) # Portland Group C compiler +- whole_archive_flag_spec_GCJ='${wl}--whole-archive,`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' ++ whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_addflag=' $pic_flag' + ;; +- pgf77* | pgf90* ) # Portland Group f77 and f90 compilers +- whole_archive_flag_spec_GCJ='${wl}--whole-archive,`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' ++ pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers ++ whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_addflag=' $pic_flag -Mnomain' ;; + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 + tmp_addflag=' -i_dynamic' ;; +@@ -16796,12 +16460,13 @@ + $echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' + fi ++ link_all_deplibs_GCJ=no + else + ld_shlibs_GCJ=no + fi + ;; + +- netbsd*) ++ netbsd* | netbsdelf*-gnu | knetbsd*-gnu) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= +@@ -16811,7 +16476,7 @@ + fi + ;; + +- solaris* | sysv5*) ++ solaris*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + ld_shlibs_GCJ=no + cat <&2 +@@ -16832,6 +16497,33 @@ + fi + ;; + ++ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) ++ case `$LD -v 2>&1` in ++ *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) ++ ld_shlibs_GCJ=no ++ cat <<_LT_EOF 1>&2 ++ ++*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not ++*** reliably create shared libraries on SCO systems. Therefore, libtool ++*** is disabling shared libraries support. We urge you to upgrade GNU ++*** binutils to release 2.16.91.0.3 or newer. Another option is to modify ++*** your PATH or compiler configuration so that the native linker is ++*** used, and then restart. ++ ++_LT_EOF ++ ;; ++ *) ++ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then ++ hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' ++ archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' ++ archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' ++ else ++ ld_shlibs_GCJ=no ++ fi ++ ;; ++ esac ++ ;; ++ + sunos4*) + archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= +@@ -16865,7 +16557,7 @@ + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + hardcode_minus_L_GCJ=yes +- if test "$GCC" = yes && test -z "$link_static_flag"; then ++ if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + hardcode_direct_GCJ=unsupported +@@ -16899,6 +16591,7 @@ + break + fi + done ++ ;; + esac + + exp_sym_flag='-bexport' +@@ -16936,6 +16629,7 @@ + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_libdir_separator_GCJ= + fi ++ ;; + esac + shared_flag='-shared' + if test "$aix_use_runtimelinking" = yes; then +@@ -16948,11 +16642,11 @@ + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else +- if test "$aix_use_runtimelinking" = yes; then ++ if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' +- fi ++ fi + fi + fi + +@@ -16988,8 +16682,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -17017,12 +16710,12 @@ + if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" +- archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" ++ archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag_GCJ="-z nodefs" +- archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" ++ archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +@@ -17049,8 +16742,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -17082,13 +16774,11 @@ + # -berok will link without error, but may produce a broken library. + no_undefined_flag_GCJ=' ${wl}-bernotok' + allow_undefined_flag_GCJ=' ${wl}-berok' +- # -bexpall does not export symbols beginning with underscore (_) +- always_export_symbols_GCJ=yes + # Exported symbols can be pulled into shared objects from archives +- whole_archive_flag_spec_GCJ=' ' ++ whole_archive_flag_spec_GCJ='$convenience' + archive_cmds_need_lc_GCJ=yes +- # This is similar to how AIX traditionally builds it's shared libraries. +- archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' ++ # This is similar to how AIX traditionally builds its shared libraries. ++ archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; +@@ -17127,7 +16817,7 @@ + ;; + + darwin* | rhapsody*) +- case "$host_os" in ++ case $host_os in + rhapsody* | darwin1.[012]) + allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress' + ;; +@@ -17156,7 +16846,7 @@ + output_verbose_link_cmd='echo' + archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' +- # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's ++ # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds + archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else +@@ -17165,7 +16855,7 @@ + output_verbose_link_cmd='echo' + archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' + module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' +- # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's ++ # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds + archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + ;; +@@ -17206,11 +16896,20 @@ + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. +- freebsd* | kfreebsd*-gnu | dragonfly*) ++ freebsd* | dragonfly*) ++ archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' ++ hardcode_libdir_flag_spec_GCJ='-R$libdir' ++ hardcode_direct_GCJ=yes ++ hardcode_shlibpath_var_GCJ=no ++ ;; ++ ++ # GNU/kFreeBSD uses gcc -shared to do shared libraries. ++ kfreebsd*-gnu) + archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_GCJ='-R$libdir' + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no ++ link_all_deplibs_GCJ=no + ;; + + hpux9*) +@@ -17229,47 +16928,62 @@ + export_dynamic_flag_spec_GCJ='${wl}-E' + ;; + +- hpux10* | hpux11*) ++ hpux10*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then +- case "$host_cpu" in +- hppa*64*|ia64*) ++ archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ++ else ++ archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ++ fi ++ if test "$with_gnu_ld" = no; then ++ hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' ++ hardcode_libdir_separator_GCJ=: ++ ++ hardcode_direct_GCJ=yes ++ export_dynamic_flag_spec_GCJ='${wl}-E' ++ ++ # hardcode_minus_L: Not really in the search PATH, ++ # but as the default location of the library. ++ hardcode_minus_L_GCJ=yes ++ fi ++ ;; ++ ++ hpux11*) ++ if test "$GCC" = yes -a "$with_gnu_ld" = no; then ++ case $host_cpu in ++ hppa*64*) + archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; ++ ia64*) ++ archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ++ ;; + *) + archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else +- case "$host_cpu" in +- hppa*64*|ia64*) +- archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' ++ case $host_cpu in ++ hppa*64*) ++ archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ++ ;; ++ ia64*) ++ archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) +- archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ++ archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + fi + if test "$with_gnu_ld" = no; then +- case "$host_cpu" in +- hppa*64*) +- hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' ++ hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' ++ hardcode_libdir_separator_GCJ=: ++ ++ case $host_cpu in ++ hppa*64*|ia64*) + hardcode_libdir_flag_spec_ld_GCJ='+b $libdir' +- hardcode_libdir_separator_GCJ=: + hardcode_direct_GCJ=no + hardcode_shlibpath_var_GCJ=no + ;; +- ia64*) +- hardcode_libdir_flag_spec_GCJ='-L$libdir' +- hardcode_direct_GCJ=no +- hardcode_shlibpath_var_GCJ=no +- +- # hardcode_minus_L: Not really in the search PATH, +- # but as the default location of the library. +- hardcode_minus_L_GCJ=yes +- ;; + *) +- hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' +- hardcode_libdir_separator_GCJ=: + hardcode_direct_GCJ=yes + export_dynamic_flag_spec_GCJ='${wl}-E' + +@@ -17293,7 +17007,7 @@ + link_all_deplibs_GCJ=yes + ;; + +- netbsd*) ++ netbsd* | netbsdelf*-gnu | knetbsd*-gnu) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else +@@ -17371,14 +17085,6 @@ + hardcode_libdir_separator_GCJ=: + ;; + +- sco3.2v5*) +- archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' +- hardcode_shlibpath_var_GCJ=no +- export_dynamic_flag_spec_GCJ='${wl}-Bexport' +- runpath_var=LD_RUN_PATH +- hardcode_runpath_var=yes +- ;; +- + solaris*) + no_undefined_flag_GCJ=' -z text' + if test "$GCC" = yes; then +@@ -17464,36 +17170,45 @@ + fi + ;; + +- sysv4.2uw2*) +- archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags' +- hardcode_direct_GCJ=yes +- hardcode_minus_L_GCJ=no ++ sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*) ++ no_undefined_flag_GCJ='${wl}-z,text' ++ archive_cmds_need_lc_GCJ=no + hardcode_shlibpath_var_GCJ=no +- hardcode_runpath_var=yes +- runpath_var=LD_RUN_PATH +- ;; ++ runpath_var='LD_RUN_PATH' + +- sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) +- no_undefined_flag_GCJ='${wl}-z ${wl}text' + if test "$GCC" = yes; then +- archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ++ archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ++ archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + else +- archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ++ archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ++ archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + fi +- runpath_var='LD_RUN_PATH' +- hardcode_shlibpath_var_GCJ=no + ;; + +- sysv5*) +- no_undefined_flag_GCJ=' -z text' +- # $CC -shared without GNU ld will not create a library from C++ +- # object files and a static libstdc++, better avoid it by now +- archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' +- archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ +- $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' +- hardcode_libdir_flag_spec_GCJ= ++ sysv5* | sco3.2v5* | sco5v6*) ++ # Note: We can NOT use -z defs as we might desire, because we do not ++ # link with -lc, and that would cause any symbols used from libc to ++ # always be unresolved, which means just about no library would ++ # ever link correctly. If we're not using GNU ld we use -z text ++ # though, which does catch some bad symbols but isn't as heavy-handed ++ # as -z defs. ++ no_undefined_flag_GCJ='${wl}-z,text' ++ allow_undefined_flag_GCJ='${wl}-z,nodefs' ++ archive_cmds_need_lc_GCJ=no + hardcode_shlibpath_var_GCJ=no ++ hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' ++ hardcode_libdir_separator_GCJ=':' ++ link_all_deplibs_GCJ=yes ++ export_dynamic_flag_spec_GCJ='${wl}-Bexport' + runpath_var='LD_RUN_PATH' ++ ++ if test "$GCC" = yes; then ++ archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' ++ archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' ++ else ++ archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' ++ archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' ++ fi + ;; + + uts4*) +@@ -17512,11 +17227,6 @@ + echo "${ECHO_T}$ld_shlibs_GCJ" >&6 + test "$ld_shlibs_GCJ" = no && can_build_shared=no + +-variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +-if test "$GCC" = yes; then +- variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +-fi +- + # + # Do we need to explicitly link libc? + # +@@ -17549,6 +17259,7 @@ + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl_GCJ ++ pic_flag=$lt_prog_compiler_pic_GCJ + compiler_flags=-v + linker_flags=-v + verstring= +@@ -17709,7 +17420,8 @@ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ +- $install_prog $dir/$dlname \$dldir/$dlname' ++ $install_prog $dir/$dlname \$dldir/$dlname~ ++ chmod a+x \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' +@@ -17762,7 +17474,7 @@ + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH +- shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)' ++ shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. + if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` +@@ -17800,7 +17512,14 @@ + freebsd* | dragonfly*) + # DragonFly does not have aout. When/if they implement a new + # versioning mechanism, adjust this. +- objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` ++ if test -x /usr/bin/objformat; then ++ objformat=`/usr/bin/objformat` ++ else ++ case $host_os in ++ freebsd[123]*) objformat=aout ;; ++ *) objformat=elf ;; ++ esac ++ fi + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) +@@ -17822,10 +17541,15 @@ + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; +- *) # from 3.2 on ++ freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ ++ freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; ++ freebsd*) # from 4.6 on ++ shlibpath_overrides_runpath=yes ++ hardcode_into_libs=yes ++ ;; + esac + ;; + +@@ -17845,7 +17569,7 @@ + version_type=sunos + need_lib_prefix=no + need_version=no +- case "$host_cpu" in ++ case $host_cpu in + ia64*) + shrext_cmds='.so' + hardcode_into_libs=yes +@@ -17885,6 +17609,18 @@ + postinstall_cmds='chmod 555 $lib' + ;; + ++interix3*) ++ version_type=linux ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' ++ shlibpath_var=LD_LIBRARY_PATH ++ shlibpath_overrides_runpath=no ++ hardcode_into_libs=yes ++ ;; ++ + irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; +@@ -17942,31 +17678,10 @@ + # before this can be enabled. + hardcode_into_libs=yes + +- # find out which ABI we are using +- libsuff= +- case "$host_cpu" in +- x86_64*|s390x*|powerpc64*) +- echo '#line 17949 "configure"' > conftest.$ac_ext +- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 +- (eval $ac_compile) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; then +- case `/usr/bin/file conftest.$ac_objext` in +- *64-bit*) +- libsuff=64 +- sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" +- ;; +- esac +- fi +- rm -rf conftest* +- ;; +- esac +- + # Append ld.so.conf contents to the search path + if test -f /etc/ld.so.conf; then + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` +- sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" ++ sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" + fi + + # We used to test for /lib/ld.so.1 and disable shared libraries on +@@ -17978,6 +17693,18 @@ + dynamic_linker='GNU/Linux ld.so' + ;; + ++netbsdelf*-gnu) ++ version_type=linux ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ shlibpath_var=LD_LIBRARY_PATH ++ shlibpath_overrides_runpath=no ++ hardcode_into_libs=yes ++ dynamic_linker='NetBSD ld.elf_so' ++ ;; ++ + knetbsd*-gnu) + version_type=linux + need_lib_prefix=no +@@ -18027,6 +17754,7 @@ + + openbsd*) + version_type=sunos ++ sys_lib_dlsearch_path_spec="/usr/lib" + need_lib_prefix=no + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. + case $host_os in +@@ -18070,13 +17798,6 @@ + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +-sco3.2v5*) +- version_type=osf +- soname_spec='${libname}${release}${shared_ext}$major' +- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' +- shlibpath_var=LD_LIBRARY_PATH +- ;; +- + solaris*) + version_type=linux + need_lib_prefix=no +@@ -18102,7 +17823,7 @@ + need_version=yes + ;; + +-sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) ++sysv4 | sysv4.3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' +@@ -18135,6 +17856,29 @@ + fi + ;; + ++sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) ++ version_type=freebsd-elf ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ shlibpath_var=LD_LIBRARY_PATH ++ hardcode_into_libs=yes ++ if test "$with_gnu_ld" = yes; then ++ sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' ++ shlibpath_overrides_runpath=no ++ else ++ sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' ++ shlibpath_overrides_runpath=yes ++ case $host_os in ++ sco3.2v5*) ++ sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" ++ ;; ++ esac ++ fi ++ sys_lib_dlsearch_path_spec='/usr/lib' ++ ;; ++ + uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' +@@ -18150,876 +17894,46 @@ + echo "${ECHO_T}$dynamic_linker" >&6 + test "$dynamic_linker" = no && can_build_shared=no + +-echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 +-echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 +-hardcode_action_GCJ= +-if test -n "$hardcode_libdir_flag_spec_GCJ" || \ +- test -n "$runpath_var_GCJ" || \ +- test "X$hardcode_automatic_GCJ" = "Xyes" ; then +- +- # We can hardcode non-existant directories. +- if test "$hardcode_direct_GCJ" != no && +- # If the only mechanism to avoid hardcoding is shlibpath_var, we +- # have to relink, otherwise we might link with an installed library +- # when we should be linking with a yet-to-be-installed one +- ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no && +- test "$hardcode_minus_L_GCJ" != no; then +- # Linking always hardcodes the temporary library directory. +- hardcode_action_GCJ=relink +- else +- # We can link without hardcoding, and we can hardcode nonexisting dirs. +- hardcode_action_GCJ=immediate +- fi +-else +- # We cannot hardcode anything, or else we can only hardcode existing +- # directories. +- hardcode_action_GCJ=unsupported +-fi +-echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5 +-echo "${ECHO_T}$hardcode_action_GCJ" >&6 +- +-if test "$hardcode_action_GCJ" = relink; then +- # Fast installation is not supported +- enable_fast_install=no +-elif test "$shlibpath_overrides_runpath" = yes || +- test "$enable_shared" = no; then +- # Fast installation is not necessary +- enable_fast_install=needless +-fi +- +-striplib= +-old_striplib= +-echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 +-echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 +-if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then +- test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" +- test -z "$striplib" && striplib="$STRIP --strip-unneeded" +- echo "$as_me:$LINENO: result: yes" >&5 +-echo "${ECHO_T}yes" >&6 +-else +-# FIXME - insert some real tests, host_os isn't really good enough +- case $host_os in +- darwin*) +- if test -n "$STRIP" ; then +- striplib="$STRIP -x" +- echo "$as_me:$LINENO: result: yes" >&5 +-echo "${ECHO_T}yes" >&6 +- else +- echo "$as_me:$LINENO: result: no" >&5 +-echo "${ECHO_T}no" >&6 +-fi +- ;; +- *) +- echo "$as_me:$LINENO: result: no" >&5 +-echo "${ECHO_T}no" >&6 +- ;; +- esac +-fi +- +-if test "x$enable_dlopen" != xyes; then +- enable_dlopen=unknown +- enable_dlopen_self=unknown +- enable_dlopen_self_static=unknown +-else +- lt_cv_dlopen=no +- lt_cv_dlopen_libs= +- +- case $host_os in +- beos*) +- lt_cv_dlopen="load_add_on" +- lt_cv_dlopen_libs= +- lt_cv_dlopen_self=yes +- ;; +- +- mingw* | pw32*) +- lt_cv_dlopen="LoadLibrary" +- lt_cv_dlopen_libs= +- ;; +- +- cygwin*) +- lt_cv_dlopen="dlopen" +- lt_cv_dlopen_libs= +- ;; +- +- darwin*) +- # if libdl is installed we need to link against it +- echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 +-echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 +-if test "${ac_cv_lib_dl_dlopen+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- ac_check_lib_save_LIBS=$LIBS +-LIBS="-ldl $LIBS" +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +- +-/* Override any gcc2 internal prototype to avoid an error. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-/* We use char because int might match the return type of a gcc2 +- builtin and then its argument prototype would still apply. */ +-char dlopen (); +-int +-main () +-{ +-dlopen (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 +- (eval $ac_link) 2>conftest.er1 +- ac_status=$? +- grep -v '^ *+' conftest.er1 >conftest.err +- rm -f conftest.er1 +- cat conftest.err >&5 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 +- (eval $ac_try) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; } && +- { ac_try='test -s conftest$ac_exeext' +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 +- (eval $ac_try) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then +- ac_cv_lib_dl_dlopen=yes +-else +- echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +-ac_cv_lib_dl_dlopen=no +-fi +-rm -f conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext +-LIBS=$ac_check_lib_save_LIBS +-fi +-echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 +-echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 +-if test $ac_cv_lib_dl_dlopen = yes; then +- lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +-else +- +- lt_cv_dlopen="dyld" +- lt_cv_dlopen_libs= +- lt_cv_dlopen_self=yes +- +-fi +- +- ;; +- +- *) +- echo "$as_me:$LINENO: checking for shl_load" >&5 +-echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 +-if test "${ac_cv_func_shl_load+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-/* Define shl_load to an innocuous variant, in case declares shl_load. +- For example, HP-UX 11i declares gettimeofday. */ +-#define shl_load innocuous_shl_load +- +-/* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char shl_load (); below. +- Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ +- +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif +- +-#undef shl_load +- +-/* Override any gcc2 internal prototype to avoid an error. */ +-#ifdef __cplusplus +-extern "C" +-{ +-#endif +-/* We use char because int might match the return type of a gcc2 +- builtin and then its argument prototype would still apply. */ +-char shl_load (); +-/* The GNU C library defines this for functions which it implements +- to always fail with ENOSYS. Some functions are actually named +- something starting with __ and the normal name is an alias. */ +-#if defined (__stub_shl_load) || defined (__stub___shl_load) +-choke me +-#else +-char (*f) () = shl_load; +-#endif +-#ifdef __cplusplus +-} +-#endif +- +-int +-main () +-{ +-return f != shl_load; +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 +- (eval $ac_link) 2>conftest.er1 +- ac_status=$? +- grep -v '^ *+' conftest.er1 >conftest.err +- rm -f conftest.er1 +- cat conftest.err >&5 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 +- (eval $ac_try) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; } && +- { ac_try='test -s conftest$ac_exeext' +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 +- (eval $ac_try) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then +- ac_cv_func_shl_load=yes +-else +- echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +-ac_cv_func_shl_load=no +-fi +-rm -f conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext +-fi +-echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 +-echo "${ECHO_T}$ac_cv_func_shl_load" >&6 +-if test $ac_cv_func_shl_load = yes; then +- lt_cv_dlopen="shl_load" +-else +- echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 +-echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 +-if test "${ac_cv_lib_dld_shl_load+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- ac_check_lib_save_LIBS=$LIBS +-LIBS="-ldld $LIBS" +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +- +-/* Override any gcc2 internal prototype to avoid an error. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-/* We use char because int might match the return type of a gcc2 +- builtin and then its argument prototype would still apply. */ +-char shl_load (); +-int +-main () +-{ +-shl_load (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 +- (eval $ac_link) 2>conftest.er1 +- ac_status=$? +- grep -v '^ *+' conftest.er1 >conftest.err +- rm -f conftest.er1 +- cat conftest.err >&5 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 +- (eval $ac_try) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; } && +- { ac_try='test -s conftest$ac_exeext' +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 +- (eval $ac_try) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then +- ac_cv_lib_dld_shl_load=yes +-else +- echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +-ac_cv_lib_dld_shl_load=no +-fi +-rm -f conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext +-LIBS=$ac_check_lib_save_LIBS +-fi +-echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 +-echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 +-if test $ac_cv_lib_dld_shl_load = yes; then +- lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" +-else +- echo "$as_me:$LINENO: checking for dlopen" >&5 +-echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 +-if test "${ac_cv_func_dlopen+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-/* Define dlopen to an innocuous variant, in case declares dlopen. +- For example, HP-UX 11i declares gettimeofday. */ +-#define dlopen innocuous_dlopen +- +-/* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char dlopen (); below. +- Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ +- +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif +- +-#undef dlopen +- +-/* Override any gcc2 internal prototype to avoid an error. */ +-#ifdef __cplusplus +-extern "C" +-{ +-#endif +-/* We use char because int might match the return type of a gcc2 +- builtin and then its argument prototype would still apply. */ +-char dlopen (); +-/* The GNU C library defines this for functions which it implements +- to always fail with ENOSYS. Some functions are actually named +- something starting with __ and the normal name is an alias. */ +-#if defined (__stub_dlopen) || defined (__stub___dlopen) +-choke me +-#else +-char (*f) () = dlopen; +-#endif +-#ifdef __cplusplus +-} +-#endif +- +-int +-main () +-{ +-return f != dlopen; +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 +- (eval $ac_link) 2>conftest.er1 +- ac_status=$? +- grep -v '^ *+' conftest.er1 >conftest.err +- rm -f conftest.er1 +- cat conftest.err >&5 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 +- (eval $ac_try) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; } && +- { ac_try='test -s conftest$ac_exeext' +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 +- (eval $ac_try) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then +- ac_cv_func_dlopen=yes +-else +- echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +-ac_cv_func_dlopen=no +-fi +-rm -f conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext +-fi +-echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 +-echo "${ECHO_T}$ac_cv_func_dlopen" >&6 +-if test $ac_cv_func_dlopen = yes; then +- lt_cv_dlopen="dlopen" +-else +- echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 +-echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 +-if test "${ac_cv_lib_dl_dlopen+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- ac_check_lib_save_LIBS=$LIBS +-LIBS="-ldl $LIBS" +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +- +-/* Override any gcc2 internal prototype to avoid an error. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-/* We use char because int might match the return type of a gcc2 +- builtin and then its argument prototype would still apply. */ +-char dlopen (); +-int +-main () +-{ +-dlopen (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 +- (eval $ac_link) 2>conftest.er1 +- ac_status=$? +- grep -v '^ *+' conftest.er1 >conftest.err +- rm -f conftest.er1 +- cat conftest.err >&5 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 +- (eval $ac_try) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; } && +- { ac_try='test -s conftest$ac_exeext' +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 +- (eval $ac_try) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then +- ac_cv_lib_dl_dlopen=yes +-else +- echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +-ac_cv_lib_dl_dlopen=no +-fi +-rm -f conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext +-LIBS=$ac_check_lib_save_LIBS +-fi +-echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 +-echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 +-if test $ac_cv_lib_dl_dlopen = yes; then +- lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +-else +- echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 +-echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 +-if test "${ac_cv_lib_svld_dlopen+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- ac_check_lib_save_LIBS=$LIBS +-LIBS="-lsvld $LIBS" +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +- +-/* Override any gcc2 internal prototype to avoid an error. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-/* We use char because int might match the return type of a gcc2 +- builtin and then its argument prototype would still apply. */ +-char dlopen (); +-int +-main () +-{ +-dlopen (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 +- (eval $ac_link) 2>conftest.er1 +- ac_status=$? +- grep -v '^ *+' conftest.er1 >conftest.err +- rm -f conftest.er1 +- cat conftest.err >&5 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 +- (eval $ac_try) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; } && +- { ac_try='test -s conftest$ac_exeext' +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 +- (eval $ac_try) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then +- ac_cv_lib_svld_dlopen=yes +-else +- echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +-ac_cv_lib_svld_dlopen=no +-fi +-rm -f conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext +-LIBS=$ac_check_lib_save_LIBS +-fi +-echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 +-echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 +-if test $ac_cv_lib_svld_dlopen = yes; then +- lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" +-else +- echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 +-echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 +-if test "${ac_cv_lib_dld_dld_link+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- ac_check_lib_save_LIBS=$LIBS +-LIBS="-ldld $LIBS" +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +- +-/* Override any gcc2 internal prototype to avoid an error. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-/* We use char because int might match the return type of a gcc2 +- builtin and then its argument prototype would still apply. */ +-char dld_link (); +-int +-main () +-{ +-dld_link (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 +- (eval $ac_link) 2>conftest.er1 +- ac_status=$? +- grep -v '^ *+' conftest.er1 >conftest.err +- rm -f conftest.er1 +- cat conftest.err >&5 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 +- (eval $ac_try) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; } && +- { ac_try='test -s conftest$ac_exeext' +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 +- (eval $ac_try) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then +- ac_cv_lib_dld_dld_link=yes +-else +- echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +-ac_cv_lib_dld_dld_link=no +-fi +-rm -f conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext +-LIBS=$ac_check_lib_save_LIBS +-fi +-echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 +-echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 +-if test $ac_cv_lib_dld_dld_link = yes; then +- lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" +-fi +- +- +-fi +- +- +-fi +- +- +-fi +- +- +-fi +- +- +-fi +- +- ;; +- esac +- +- if test "x$lt_cv_dlopen" != xno; then +- enable_dlopen=yes +- else +- enable_dlopen=no +- fi +- +- case $lt_cv_dlopen in +- dlopen) +- save_CPPFLAGS="$CPPFLAGS" +- test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" +- +- save_LDFLAGS="$LDFLAGS" +- eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" +- +- save_LIBS="$LIBS" +- LIBS="$lt_cv_dlopen_libs $LIBS" +- +- echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 +-echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 +-if test "${lt_cv_dlopen_self+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- if test "$cross_compiling" = yes; then : +- lt_cv_dlopen_self=cross +-else +- lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 +- lt_status=$lt_dlunknown +- cat > conftest.$ac_ext < +-#endif +- +-#include +- +-#ifdef RTLD_GLOBAL +-# define LT_DLGLOBAL RTLD_GLOBAL +-#else +-# ifdef DL_GLOBAL +-# define LT_DLGLOBAL DL_GLOBAL +-# else +-# define LT_DLGLOBAL 0 +-# endif +-#endif +- +-/* We may have to define LT_DLLAZY_OR_NOW in the command line if we +- find out it does not work in some platform. */ +-#ifndef LT_DLLAZY_OR_NOW +-# ifdef RTLD_LAZY +-# define LT_DLLAZY_OR_NOW RTLD_LAZY +-# else +-# ifdef DL_LAZY +-# define LT_DLLAZY_OR_NOW DL_LAZY +-# else +-# ifdef RTLD_NOW +-# define LT_DLLAZY_OR_NOW RTLD_NOW +-# else +-# ifdef DL_NOW +-# define LT_DLLAZY_OR_NOW DL_NOW +-# else +-# define LT_DLLAZY_OR_NOW 0 +-# endif +-# endif +-# endif +-# endif +-#endif +- +-#ifdef __cplusplus +-extern "C" void exit (int); +-#endif +- +-void fnord() { int i=42;} +-int main () +-{ +- void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); +- int status = $lt_dlunknown; +- +- if (self) +- { +- if (dlsym (self,"fnord")) status = $lt_dlno_uscore; +- else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; +- /* dlclose (self); */ +- } +- +- exit (status); +-} +-EOF +- if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 +- (eval $ac_link) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then +- (./conftest; exit; ) 2>/dev/null +- lt_status=$? +- case x$lt_status in +- x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; +- x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; +- x$lt_unknown|x*) lt_cv_dlopen_self=no ;; +- esac +- else : +- # compilation failed +- lt_cv_dlopen_self=no +- fi +-fi +-rm -fr conftest* +- +- +-fi +-echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 +-echo "${ECHO_T}$lt_cv_dlopen_self" >&6 +- +- if test "x$lt_cv_dlopen_self" = xyes; then +- LDFLAGS="$LDFLAGS $link_static_flag" +- echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 +-echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 +-if test "${lt_cv_dlopen_self_static+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- if test "$cross_compiling" = yes; then : +- lt_cv_dlopen_self_static=cross +-else +- lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 +- lt_status=$lt_dlunknown +- cat > conftest.$ac_ext < +-#endif +- +-#include +- +-#ifdef RTLD_GLOBAL +-# define LT_DLGLOBAL RTLD_GLOBAL +-#else +-# ifdef DL_GLOBAL +-# define LT_DLGLOBAL DL_GLOBAL +-# else +-# define LT_DLGLOBAL 0 +-# endif +-#endif +- +-/* We may have to define LT_DLLAZY_OR_NOW in the command line if we +- find out it does not work in some platform. */ +-#ifndef LT_DLLAZY_OR_NOW +-# ifdef RTLD_LAZY +-# define LT_DLLAZY_OR_NOW RTLD_LAZY +-# else +-# ifdef DL_LAZY +-# define LT_DLLAZY_OR_NOW DL_LAZY +-# else +-# ifdef RTLD_NOW +-# define LT_DLLAZY_OR_NOW RTLD_NOW +-# else +-# ifdef DL_NOW +-# define LT_DLLAZY_OR_NOW DL_NOW +-# else +-# define LT_DLLAZY_OR_NOW 0 +-# endif +-# endif +-# endif +-# endif +-#endif +- +-#ifdef __cplusplus +-extern "C" void exit (int); +-#endif +- +-void fnord() { int i=42;} +-int main () +-{ +- void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); +- int status = $lt_dlunknown; +- +- if (self) +- { +- if (dlsym (self,"fnord")) status = $lt_dlno_uscore; +- else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; +- /* dlclose (self); */ +- } +- +- exit (status); +-} +-EOF +- if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 +- (eval $ac_link) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then +- (./conftest; exit; ) 2>/dev/null +- lt_status=$? +- case x$lt_status in +- x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; +- x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; +- x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; +- esac +- else : +- # compilation failed +- lt_cv_dlopen_self_static=no +- fi +-fi +-rm -fr conftest* +- +- ++variables_saved_for_relink="PATH $shlibpath_var $runpath_var" ++if test "$GCC" = yes; then ++ variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" + fi +-echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 +-echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 +- fi + +- CPPFLAGS="$save_CPPFLAGS" +- LDFLAGS="$save_LDFLAGS" +- LIBS="$save_LIBS" +- ;; +- esac ++echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 ++echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 ++hardcode_action_GCJ= ++if test -n "$hardcode_libdir_flag_spec_GCJ" || \ ++ test -n "$runpath_var_GCJ" || \ ++ test "X$hardcode_automatic_GCJ" = "Xyes" ; then + +- case $lt_cv_dlopen_self in +- yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; +- *) enable_dlopen_self=unknown ;; +- esac ++ # We can hardcode non-existant directories. ++ if test "$hardcode_direct_GCJ" != no && ++ # If the only mechanism to avoid hardcoding is shlibpath_var, we ++ # have to relink, otherwise we might link with an installed library ++ # when we should be linking with a yet-to-be-installed one ++ ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no && ++ test "$hardcode_minus_L_GCJ" != no; then ++ # Linking always hardcodes the temporary library directory. ++ hardcode_action_GCJ=relink ++ else ++ # We can link without hardcoding, and we can hardcode nonexisting dirs. ++ hardcode_action_GCJ=immediate ++ fi ++else ++ # We cannot hardcode anything, or else we can only hardcode existing ++ # directories. ++ hardcode_action_GCJ=unsupported ++fi ++echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5 ++echo "${ECHO_T}$hardcode_action_GCJ" >&6 + +- case $lt_cv_dlopen_self_static in +- yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; +- *) enable_dlopen_self_static=unknown ;; +- esac ++if test "$hardcode_action_GCJ" = relink; then ++ # Fast installation is not supported ++ enable_fast_install=no ++elif test "$shlibpath_overrides_runpath" = yes || ++ test "$enable_shared" = no; then ++ # Fast installation is not necessary ++ enable_fast_install=needless + fi + + +@@ -19036,7 +17950,7 @@ + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. +- for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ ++ for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ + SED SHELL STRIP \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ +@@ -19154,6 +18068,9 @@ + # A C compiler. + LTCC=$lt_LTCC + ++# LTCC compiler flags. ++LTCFLAGS=$lt_LTCFLAGS ++ + # A language-specific compiler. + CC=$lt_compiler_GCJ + +@@ -19463,6 +18380,9 @@ + # If no C compiler was specified, use CC. + LTCC=${LTCC-"$CC"} + ++# If no C compiler flags were specified, use CFLAGS. ++LTCFLAGS=${LTCFLAGS-"$CFLAGS"} ++ + # Allow CC to be a program name with arguments. + compiler=$CC + +@@ -19470,13 +18390,13 @@ + # save warnings/boilerplate of simple test code + ac_outfile=conftest.$ac_objext + printf "$lt_simple_compile_test_code" >conftest.$ac_ext +-eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err ++eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err + _lt_compiler_boilerplate=`cat conftest.err` + $rm conftest* + + ac_outfile=conftest.$ac_objext + printf "$lt_simple_link_test_code" >conftest.$ac_ext +-eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err ++eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err + _lt_linker_boilerplate=`cat conftest.err` + $rm conftest* + +@@ -19511,7 +18431,7 @@ + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. +- for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ ++ for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ + SED SHELL STRIP \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ +@@ -19629,6 +18549,9 @@ + # A C compiler. + LTCC=$lt_LTCC + ++# LTCC compiler flags. ++LTCFLAGS=$lt_LTCFLAGS ++ + # A language-specific compiler. + CC=$lt_compiler_RC + +@@ -20345,8 +19268,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -20404,8 +19326,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -20521,8 +19442,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -20576,8 +19496,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -20622,8 +19541,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -20667,8 +19585,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -21183,8 +20100,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -21242,8 +20158,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -21359,8 +20274,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -21414,8 +20328,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -21460,8 +20373,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -21505,8 +20417,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -22708,8 +21619,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -22800,8 +21710,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -22851,8 +21760,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -23318,8 +22226,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -23373,8 +22280,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -23560,8 +22466,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -23629,8 +22534,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -23810,8 +22714,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_cxx_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -23869,8 +22772,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_cxx_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -23941,8 +22843,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_cxx_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -23986,8 +22887,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_cxx_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -24433,8 +23333,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -24488,8 +23387,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -24555,8 +23453,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -24717,8 +23614,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -24796,8 +23692,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -24891,8 +23786,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -24954,8 +23848,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -25040,8 +23933,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -25103,8 +23995,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -25191,8 +24082,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -25254,8 +24144,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -25332,8 +24221,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -25395,8 +24283,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -25436,8 +24323,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -25493,8 +24379,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -25534,8 +24419,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -25599,8 +24483,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -25631,10 +24514,8 @@ + esac + else + if test "$cross_compiling" = yes; then +- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling +-See \`config.log' for more details." >&5 +-echo "$as_me: error: cannot run test program while cross compiling +-See \`config.log' for more details." >&2;} ++ { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 ++echo "$as_me: error: internal error: not reached in cross-compile" >&2;} + { (exit 1); exit 1; }; } + else + cat >conftest.$ac_ext <<_ACEOF +@@ -25746,8 +24627,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -25809,8 +24689,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -25850,8 +24729,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -25907,8 +24785,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -25948,8 +24825,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -26013,8 +24889,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -26045,10 +24920,8 @@ + esac + else + if test "$cross_compiling" = yes; then +- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling +-See \`config.log' for more details." >&5 +-echo "$as_me: error: cannot run test program while cross compiling +-See \`config.log' for more details." >&2;} ++ { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 ++echo "$as_me: error: internal error: not reached in cross-compile" >&2;} + { (exit 1); exit 1; }; } + else + cat >conftest.$ac_ext <<_ACEOF +@@ -26160,8 +25033,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -26223,8 +25095,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -26264,8 +25135,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -26321,8 +25191,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -26362,8 +25231,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -26427,8 +25295,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -26459,10 +25326,8 @@ + esac + else + if test "$cross_compiling" = yes; then +- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling +-See \`config.log' for more details." >&5 +-echo "$as_me: error: cannot run test program while cross compiling +-See \`config.log' for more details." >&2;} ++ { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 ++echo "$as_me: error: internal error: not reached in cross-compile" >&2;} + { (exit 1); exit 1; }; } + else + cat >conftest.$ac_ext <<_ACEOF +@@ -26574,8 +25439,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -26637,8 +25501,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -26678,8 +25541,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -26735,8 +25597,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -26776,8 +25637,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -26841,8 +25701,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -26873,10 +25732,8 @@ + esac + else + if test "$cross_compiling" = yes; then +- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling +-See \`config.log' for more details." >&5 +-echo "$as_me: error: cannot run test program while cross compiling +-See \`config.log' for more details." >&2;} ++ { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 ++echo "$as_me: error: internal error: not reached in cross-compile" >&2;} + { (exit 1); exit 1; }; } + else + cat >conftest.$ac_ext <<_ACEOF +@@ -26988,8 +25845,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -27051,8 +25907,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -27092,8 +25947,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -27149,8 +26003,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -27190,8 +26043,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -27255,8 +26107,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -27287,10 +26138,8 @@ + esac + else + if test "$cross_compiling" = yes; then +- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling +-See \`config.log' for more details." >&5 +-echo "$as_me: error: cannot run test program while cross compiling +-See \`config.log' for more details." >&2;} ++ { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 ++echo "$as_me: error: internal error: not reached in cross-compile" >&2;} + { (exit 1); exit 1; }; } + else + cat >conftest.$ac_ext <<_ACEOF +@@ -27445,8 +26294,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -27503,8 +26351,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -27521,487 +26368,33 @@ + echo "$as_me: failed program was:" >&5 + sed 's/^/| /' conftest.$ac_ext >&5 + +-ac_cv_type_int_fast32_t=no +-fi +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +-fi +-echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5 +-echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6 +- +-echo "$as_me:$LINENO: checking for intmax_t" >&5 +-echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6 +-if test "${ac_cv_type_intmax_t+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include <$ac_cv_header_stdint> +- +-int +-main () +-{ +-if ((intmax_t *) 0) +- return 0; +-if (sizeof (intmax_t)) +- return 0; +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 +- (eval $ac_compile) 2>conftest.er1 +- ac_status=$? +- grep -v '^ *+' conftest.er1 >conftest.err +- rm -f conftest.er1 +- cat conftest.err >&5 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 +- (eval $ac_try) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; } && +- { ac_try='test -s conftest.$ac_objext' +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 +- (eval $ac_try) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then +- ac_cv_type_intmax_t=yes +-else +- echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +-ac_cv_type_intmax_t=no +-fi +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +-fi +-echo "$as_me:$LINENO: result: $ac_cv_type_intmax_t" >&5 +-echo "${ECHO_T}$ac_cv_type_intmax_t" >&6 +- +- +-fi # shortcircut to system "stdint.h" +-# ------------------ PREPARE VARIABLES ------------------------------ +-if test "$GCC" = "yes" ; then +-ac_cv_stdint_message="using gnu compiler "`$CC --version | head -n 1` +-else +-ac_cv_stdint_message="using $CC" +-fi +- +-echo "$as_me:$LINENO: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5 +-echo "${ECHO_T}make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6 +- +-# ----------------- DONE inttypes.h checks START header ------------- +- ac_config_commands="$ac_config_commands $ac_stdint_h" +- +- +- +-if test "${ac_cv_header_malloc_h+set}" = set; then +- echo "$as_me:$LINENO: checking for malloc.h" >&5 +-echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6 +-if test "${ac_cv_header_malloc_h+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-fi +-echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 +-echo "${ECHO_T}$ac_cv_header_malloc_h" >&6 +-else +- # Is the header compilable? +-echo "$as_me:$LINENO: checking malloc.h usability" >&5 +-echo $ECHO_N "checking malloc.h usability... $ECHO_C" >&6 +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-$ac_includes_default +-#include +-_ACEOF +-rm -f conftest.$ac_objext +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 +- (eval $ac_compile) 2>conftest.er1 +- ac_status=$? +- grep -v '^ *+' conftest.er1 >conftest.err +- rm -f conftest.er1 +- cat conftest.err >&5 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 +- (eval $ac_try) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; } && +- { ac_try='test -s conftest.$ac_objext' +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 +- (eval $ac_try) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then +- ac_header_compiler=yes +-else +- echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +-ac_header_compiler=no +-fi +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +-echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +-echo "${ECHO_T}$ac_header_compiler" >&6 +- +-# Is the header present? +-echo "$as_me:$LINENO: checking malloc.h presence" >&5 +-echo $ECHO_N "checking malloc.h presence... $ECHO_C" >&6 +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include +-_ACEOF +-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 +- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 +- ac_status=$? +- grep -v '^ *+' conftest.er1 >conftest.err +- rm -f conftest.er1 +- cat conftest.err >&5 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } >/dev/null; then +- if test -s conftest.err; then +- ac_cpp_err=$ac_c_preproc_warn_flag +- ac_cpp_err=$ac_cpp_err$ac_c_werror_flag +- else +- ac_cpp_err= +- fi +-else +- ac_cpp_err=yes +-fi +-if test -z "$ac_cpp_err"; then +- ac_header_preproc=yes +-else +- echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_header_preproc=no +-fi +-rm -f conftest.err conftest.$ac_ext +-echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +-echo "${ECHO_T}$ac_header_preproc" >&6 +- +-# So? What about this header? +-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in +- yes:no: ) +- { echo "$as_me:$LINENO: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5 +-echo "$as_me: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the compiler's result" >&5 +-echo "$as_me: WARNING: malloc.h: proceeding with the compiler's result" >&2;} +- ac_header_preproc=yes +- ;; +- no:yes:* ) +- { echo "$as_me:$LINENO: WARNING: malloc.h: present but cannot be compiled" >&5 +-echo "$as_me: WARNING: malloc.h: present but cannot be compiled" >&2;} +- { echo "$as_me:$LINENO: WARNING: malloc.h: check for missing prerequisite headers?" >&5 +-echo "$as_me: WARNING: malloc.h: check for missing prerequisite headers?" >&2;} +- { echo "$as_me:$LINENO: WARNING: malloc.h: see the Autoconf documentation" >&5 +-echo "$as_me: WARNING: malloc.h: see the Autoconf documentation" >&2;} +- { echo "$as_me:$LINENO: WARNING: malloc.h: section \"Present But Cannot Be Compiled\"" >&5 +-echo "$as_me: WARNING: malloc.h: section \"Present But Cannot Be Compiled\"" >&2;} +- { echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the preprocessor's result" >&5 +-echo "$as_me: WARNING: malloc.h: proceeding with the preprocessor's result" >&2;} +- { echo "$as_me:$LINENO: WARNING: malloc.h: in the future, the compiler will take precedence" >&5 +-echo "$as_me: WARNING: malloc.h: in the future, the compiler will take precedence" >&2;} +- ( +- cat <<\_ASBOX +-## ------------------------------------------ ## +-## Report this to the AC_PACKAGE_NAME lists. ## +-## ------------------------------------------ ## +-_ASBOX +- ) | +- sed "s/^/$as_me: WARNING: /" >&2 +- ;; +-esac +-echo "$as_me:$LINENO: checking for malloc.h" >&5 +-echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6 +-if test "${ac_cv_header_malloc_h+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- ac_cv_header_malloc_h=$ac_header_preproc +-fi +-echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 +-echo "${ECHO_T}$ac_cv_header_malloc_h" >&6 +- +-fi +-if test $ac_cv_header_malloc_h = yes; then +- +- +-cat >>confdefs.h <<\_ACEOF +-#define HAVE_MALLOC_H 1 +-_ACEOF +- +- +-fi +- +- +- +- +- echo "$as_me:$LINENO: checking whether $CC implements __PRETTY_FUNCTION__" >&5 +-echo $ECHO_N "checking whether $CC implements __PRETTY_FUNCTION__... $ECHO_C" >&6 +- if test "${have_pretty_function+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include +-int +-main () +-{ +-printf("%s", __PRETTY_FUNCTION__); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 +- (eval $ac_link) 2>conftest.er1 +- ac_status=$? +- grep -v '^ *+' conftest.er1 >conftest.err +- rm -f conftest.er1 +- cat conftest.err >&5 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 +- (eval $ac_try) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; } && +- { ac_try='test -s conftest$ac_exeext' +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 +- (eval $ac_try) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then +- have_pretty_function=yes +-else +- echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +-have_pretty_function=no +-fi +-rm -f conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext +- +-fi +- +- echo "$as_me:$LINENO: result: $have_pretty_function" >&5 +-echo "${ECHO_T}$have_pretty_function" >&6 +- if test "$have_pretty_function" = yes; then +- +-cat >>confdefs.h <<\_ACEOF +-#define HAVE_PRETTY_FUNCTION 1 +-_ACEOF +- +- fi +- +- echo "$as_me:$LINENO: checking whether $CC implements __FUNCTION__" >&5 +-echo $ECHO_N "checking whether $CC implements __FUNCTION__... $ECHO_C" >&6 +- if test "${have_function+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include +-int +-main () +-{ +-printf("%s", __FUNCTION__); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 +- (eval $ac_link) 2>conftest.er1 +- ac_status=$? +- grep -v '^ *+' conftest.er1 >conftest.err +- rm -f conftest.er1 +- cat conftest.err >&5 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 +- (eval $ac_try) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; } && +- { ac_try='test -s conftest$ac_exeext' +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 +- (eval $ac_try) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then +- have_function=yes +-else +- echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +-have_function=no +-fi +-rm -f conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext +- +-fi +- +- echo "$as_me:$LINENO: result: $have_function" >&5 +-echo "${ECHO_T}$have_function" >&6 +- if test "$have_function" = yes; then +- +-cat >>confdefs.h <<\_ACEOF +-#define HAVE_FUNCTION 1 +-_ACEOF +- +- fi +- +- echo "$as_me:$LINENO: checking whether $CC implements __func__" >&5 +-echo $ECHO_N "checking whether $CC implements __func__... $ECHO_C" >&6 +- if test "${have_func+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- +- cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +-#include +-int +-main () +-{ +-printf("%s", __func__); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 +- (eval $ac_link) 2>conftest.er1 +- ac_status=$? +- grep -v '^ *+' conftest.er1 >conftest.err +- rm -f conftest.er1 +- cat conftest.err >&5 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 +- (eval $ac_try) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; } && +- { ac_try='test -s conftest$ac_exeext' +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 +- (eval $ac_try) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then +- have_func=yes +-else +- echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +-have_func=no +-fi +-rm -f conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext +- +-fi +- +- echo "$as_me:$LINENO: result: $have_func" >&5 +-echo "${ECHO_T}$have_func" >&6 +- if test "$have_func" = yes; then +- +-cat >>confdefs.h <<\_ACEOF +-#define HAVE_FUNC 1 +-_ACEOF +- +- fi +- +- if test "$have_pretty_function" = yes; then +- function=__PRETTY_FUNCTION__ +- else +- if test "$have_function" = yes; then +- function=__FUNCTION__ +- else +- if test "$have_func" = yes; then +- function=__func__ +- else +- function=\"\" +- fi +- fi +- fi +- +-cat >>confdefs.h <<_ACEOF +-#define GST_FUNCTION $function +-_ACEOF +- +- +- +-if test "x$GST_CVS" = "xyes"; then +- +-cat >>confdefs.h <<\_ACEOF +-#define GST_LEVEL_DEFAULT GST_LEVEL_ERROR +-_ACEOF +- ++ac_cv_type_int_fast32_t=no + fi ++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5 ++echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6 + +- +- +- echo "$as_me:$LINENO: checking for FIONREAD in sys/ioctl.h" >&5 +-echo $ECHO_N "checking for FIONREAD in sys/ioctl.h... $ECHO_C" >&6 +- if test "${GST_FIONREAD_IN_SYS_IOCTL+set}" = set; then ++echo "$as_me:$LINENO: checking for intmax_t" >&5 ++echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6 ++if test "${ac_cv_type_intmax_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else +- +- cat >conftest.$ac_ext <<_ACEOF ++ cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ + _ACEOF + cat confdefs.h >>conftest.$ac_ext + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ +- +-#include +-#include ++#include <$ac_cv_header_stdint> + + int + main () + { +- +-int x = FIONREAD; +-if ( x ) ++if ((intmax_t *) 0) ++ return 0; ++if (sizeof (intmax_t)) + return 0; +- + ; + return 0; + } +@@ -28015,8 +26408,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -28028,57 +26420,55 @@ + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then +- GST_FIONREAD_IN_SYS_IOCTL="yes" ++ ac_cv_type_intmax_t=yes + else + echo "$as_me: failed program was:" >&5 + sed 's/^/| /' conftest.$ac_ext >&5 + +-GST_FIONREAD_IN_SYS_IOCTL="no" ++ac_cv_type_intmax_t=no + fi + rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +- + fi ++echo "$as_me:$LINENO: result: $ac_cv_type_intmax_t" >&5 ++echo "${ECHO_T}$ac_cv_type_intmax_t" >&6 + + +- echo "$as_me:$LINENO: result: $GST_FIONREAD_IN_SYS_IOCTL" >&5 +-echo "${ECHO_T}$GST_FIONREAD_IN_SYS_IOCTL" >&6 ++fi # shortcircut to system "stdint.h" ++# ------------------ PREPARE VARIABLES ------------------------------ ++if test "$GCC" = "yes" ; then ++ac_cv_stdint_message="using gnu compiler "`$CC --version | head -n 1` ++else ++ac_cv_stdint_message="using $CC" ++fi + +- if test "$GST_FIONREAD_IN_SYS_IOCTL" = "yes"; then ++echo "$as_me:$LINENO: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5 ++echo "${ECHO_T}make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6 + +-cat >>confdefs.h <<\_ACEOF +-#define HAVE_FIONREAD_IN_SYS_IOCTL 1 +-_ACEOF ++# ----------------- DONE inttypes.h checks START header ------------- ++ ac_config_commands="$ac_config_commands $ac_stdint_h" + + +- else + +- echo "$as_me:$LINENO: checking for FIONREAD in sys/filio.h" >&5 +-echo $ECHO_N "checking for FIONREAD in sys/filio.h... $ECHO_C" >&6 +- if test "${GST_FIONREAD_IN_SYS_FILIO+set}" = set; then ++if test "${ac_cv_header_malloc_h+set}" = set; then ++ echo "$as_me:$LINENO: checking for malloc.h" >&5 ++echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6 ++if test "${ac_cv_header_malloc_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 ++fi ++echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 ++echo "${ECHO_T}$ac_cv_header_malloc_h" >&6 + else +- +- cat >conftest.$ac_ext <<_ACEOF ++ # Is the header compilable? ++echo "$as_me:$LINENO: checking malloc.h usability" >&5 ++echo $ECHO_N "checking malloc.h usability... $ECHO_C" >&6 ++cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ + _ACEOF + cat confdefs.h >>conftest.$ac_ext + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ +- +- #include +- #include +- +-int +-main () +-{ +- +- int x = FIONREAD; +- if ( x ) +- return 0; +- +- ; +- return 0; +-} ++$ac_includes_default ++#include + _ACEOF + rm -f conftest.$ac_objext + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 +@@ -28089,8 +26479,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -28102,1227 +26491,869 @@ + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then +- GST_FIONREAD_IN_SYS_FILIO="yes" ++ ac_header_compiler=yes + else + echo "$as_me: failed program was:" >&5 + sed 's/^/| /' conftest.$ac_ext >&5 + +-GST_FIONREAD_IN_SYS_FILIO="no" ++ac_header_compiler=no + fi + rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ++echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 ++echo "${ECHO_T}$ac_header_compiler" >&6 + +-fi +- +- +- echo "$as_me:$LINENO: result: $GST_FIONREAD_IN_SYS_FILIO" >&5 +-echo "${ECHO_T}$GST_FIONREAD_IN_SYS_FILIO" >&6 +- +- if test "$GST_FIONREAD_IN_SYS_FILIO" = "yes"; then +- +-cat >>confdefs.h <<\_ACEOF +-#define HAVE_FIONREAD_IN_SYS_FILIO 1 ++# Is the header present? ++echo "$as_me:$LINENO: checking malloc.h presence" >&5 ++echo $ECHO_N "checking malloc.h presence... $ECHO_C" >&6 ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ + _ACEOF +- +- fi +- ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include ++_ACEOF ++if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 ++ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } >/dev/null; then ++ if test -s conftest.err; then ++ ac_cpp_err=$ac_c_preproc_warn_flag ++ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag ++ else ++ ac_cpp_err= + fi ++else ++ ac_cpp_err=yes ++fi ++if test -z "$ac_cpp_err"; then ++ ac_header_preproc=yes ++else ++ echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 + ++ ac_header_preproc=no ++fi ++rm -f conftest.err conftest.$ac_ext ++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 ++echo "${ECHO_T}$ac_header_preproc" >&6 + +- +-DEFAULT_AUDIOSINK="osssink" +-DEFAULT_VIDEOSINK="xvimagesink" +-DEFAULT_AUDIOSRC="osssrc" +-DEFAULT_VIDEOSRC="v4lsrc" +-DEFAULT_VISUALIZER="goom" +-case "$host" in +- *-sun-* | *pc-solaris* ) +- DEFAULT_AUDIOSINK="sunaudiosink" +- DEFAULT_VIDEOSINK="ximagesink" +- DEFAULT_AUDIOSRC="sunaudiosrc" ++# So? What about this header? ++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in ++ yes:no: ) ++ { echo "$as_me:$LINENO: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5 ++echo "$as_me: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;} ++ { echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the compiler's result" >&5 ++echo "$as_me: WARNING: malloc.h: proceeding with the compiler's result" >&2;} ++ ac_header_preproc=yes + ;; +- *-darwin* ) +- DEFAULT_AUDIOSINK="osxaudiosink" +- DEFAULT_AUDIOSRC="osxaudiosrc" +- DEFAULT_VIDEOSINK="osxvideosink" ++ no:yes:* ) ++ { echo "$as_me:$LINENO: WARNING: malloc.h: present but cannot be compiled" >&5 ++echo "$as_me: WARNING: malloc.h: present but cannot be compiled" >&2;} ++ { echo "$as_me:$LINENO: WARNING: malloc.h: check for missing prerequisite headers?" >&5 ++echo "$as_me: WARNING: malloc.h: check for missing prerequisite headers?" >&2;} ++ { echo "$as_me:$LINENO: WARNING: malloc.h: see the Autoconf documentation" >&5 ++echo "$as_me: WARNING: malloc.h: see the Autoconf documentation" >&2;} ++ { echo "$as_me:$LINENO: WARNING: malloc.h: section \"Present But Cannot Be Compiled\"" >&5 ++echo "$as_me: WARNING: malloc.h: section \"Present But Cannot Be Compiled\"" >&2;} ++ { echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the preprocessor's result" >&5 ++echo "$as_me: WARNING: malloc.h: proceeding with the preprocessor's result" >&2;} ++ { echo "$as_me:$LINENO: WARNING: malloc.h: in the future, the compiler will take precedence" >&5 ++echo "$as_me: WARNING: malloc.h: in the future, the compiler will take precedence" >&2;} ++ ( ++ cat <<\_ASBOX ++## ------------------------------------------ ## ++## Report this to the AC_PACKAGE_NAME lists. ## ++## ------------------------------------------ ## ++_ASBOX ++ ) | ++ sed "s/^/$as_me: WARNING: /" >&2 + ;; + esac +- +- +- +-cat >>confdefs.h <<_ACEOF +-#define DEFAULT_AUDIOSINK "$DEFAULT_AUDIOSINK" +-_ACEOF +- +- +- +-cat >>confdefs.h <<_ACEOF +-#define DEFAULT_AUDIOSRC "$DEFAULT_AUDIOSRC" +-_ACEOF +- +- +- +-cat >>confdefs.h <<_ACEOF +-#define DEFAULT_VIDEOSINK "$DEFAULT_VIDEOSINK" +-_ACEOF +- +- +- +-cat >>confdefs.h <<_ACEOF +-#define DEFAULT_VIDEOSRC "$DEFAULT_VIDEOSRC" +-_ACEOF +- +- +- +-cat >>confdefs.h <<_ACEOF +-#define DEFAULT_VISUALIZER "$DEFAULT_VISUALIZER" +-_ACEOF +- +- +- +-echo "$as_me: ***" >&6 +-echo "$as_me: *** checking plugin: ***" >&6 +-echo "$as_me: ***" >&6 +-NOUSE= +-if test "x$USE_EXTERNAL" = "xno"; then +- NOUSE="yes" +-fi +-# Check whether --enable-external or --disable-external was given. +-if test "${enable_external+set}" = set; then +- enableval="$enable_external" +- case "${enableval}" in +- yes) USE_EXTERNAL=yes;; +- no) USE_EXTERNAL=no;; +- *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-external" >&5 +-echo "$as_me: error: bad value ${enableval} for --enable-external" >&2;} +- { (exit 1); exit 1; }; } ;; +- esac ++echo "$as_me:$LINENO: checking for malloc.h" >&5 ++echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6 ++if test "${ac_cv_header_malloc_h+set}" = set; then ++ echo $ECHO_N "(cached) $ECHO_C" >&6 + else +- USE_EXTERNAL=yes +-fi; +-if test "x$NOUSE" = "xyes"; then +- USE_EXTERNAL="no" +- { echo "$as_me:$LINENO: WARNING: *** pre-configured not to be built" >&5 +-echo "$as_me: WARNING: *** pre-configured not to be built" >&2;} ++ ac_cv_header_malloc_h=$ac_header_preproc + fi +-NOUSE= +- +- +-if test x$USE_EXTERNAL = xyes; then +- +- gst_check_save_LIBS=$LIBS +- gst_check_save_LDFLAGS=$LDFLAGS +- gst_check_save_CFLAGS=$CFLAGS +- gst_check_save_CPPFLAGS=$CPPFLAGS +- gst_check_save_CXXFLAGS=$CXXFLAGS +- +- HAVE_EXTERNAL=no +- HAVE_EXTERNAL=yes +- +- LIBS=$gst_check_save_LIBS +- LDFLAGS=$gst_check_save_LDFLAGS +- CFLAGS=$gst_check_save_CFLAGS +- CPPFLAGS=$gst_check_save_CPPFLAGS +- CXXFLAGS=$gst_check_save_CXXFLAGS ++echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 ++echo "${ECHO_T}$ac_cv_header_malloc_h" >&6 + +- if test x$HAVE_EXTERNAL = xno; then +- USE_EXTERNAL=no +- fi + fi +-if test x$USE_EXTERNAL = xyes; then +- +- { echo "$as_me:$LINENO: WARNING: building external plug-ins" >&5 +-echo "$as_me: WARNING: building external plug-ins" >&2;} +- BUILD_EXTERNAL="yes" ++if test $ac_cv_header_malloc_h = yes; then + +- if test "x" != "x"; then +- GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES" +- fi + + cat >>confdefs.h <<\_ACEOF +-#define HAVE_EXTERNAL ++#define HAVE_MALLOC_H 1 + _ACEOF + +-else +- : +- if test "x" != "x"; then +- GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO" +- fi +- +- { echo "$as_me:$LINENO: WARNING: all plug-ins with external dependencies will not be built" >&5 +-echo "$as_me: WARNING: all plug-ins with external dependencies will not be built" >&2;} +- BUILD_EXTERNAL="no" +- +-fi +- + +-if test x$USE_EXTERNAL = xyes; then +- USE_EXTERNAL_TRUE= +- USE_EXTERNAL_FALSE='#' +-else +- USE_EXTERNAL_TRUE='#' +- USE_EXTERNAL_FALSE= + fi + + +-# make BUILD_EXTERNAL available to Makefile.am + + +-if test "x$BUILD_EXTERNAL" = "xyes"; then +- BUILD_EXTERNAL_TRUE= +- BUILD_EXTERNAL_FALSE='#' ++ echo "$as_me:$LINENO: checking whether $CC implements __PRETTY_FUNCTION__" >&5 ++echo $ECHO_N "checking whether $CC implements __PRETTY_FUNCTION__... $ECHO_C" >&6 ++ if test "${have_pretty_function+set}" = set; then ++ echo $ECHO_N "(cached) $ECHO_C" >&6 + else +- BUILD_EXTERNAL_TRUE='#' +- BUILD_EXTERNAL_FALSE= +-fi +- + +-echo "$as_me: ***" >&6 +-echo "$as_me: *** checking plugin: ***" >&6 +-echo "$as_me: ***" >&6 +-NOUSE= +-if test "x$USE_EXPERIMENTAL" = "xno"; then +- NOUSE="yes" +-fi +-# Check whether --enable-experimental or --disable-experimental was given. +-if test "${enable_experimental+set}" = set; then +- enableval="$enable_experimental" +- case "${enableval}" in +- yes) USE_EXPERIMENTAL=yes;; +- no) USE_EXPERIMENTAL=no;; +- *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-experimental" >&5 +-echo "$as_me: error: bad value ${enableval} for --enable-experimental" >&2;} +- { (exit 1); exit 1; }; } ;; +- esac ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++printf("%s", __PRETTY_FUNCTION__); ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ++ (eval $ac_link) 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' ++ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 ++ (eval $ac_try) 2>&5 ++ ac_status=$? ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; } && ++ { ac_try='test -s conftest$ac_exeext' ++ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 ++ (eval $ac_try) 2>&5 ++ ac_status=$? ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; }; then ++ have_pretty_function=yes + else +- USE_EXPERIMENTAL=no +-fi; +-if test "x$NOUSE" = "xyes"; then +- USE_EXPERIMENTAL="no" +- { echo "$as_me:$LINENO: WARNING: *** pre-configured not to be built" >&5 +-echo "$as_me: WARNING: *** pre-configured not to be built" >&2;} +-fi +-NOUSE= +- +- +-if test x$USE_EXPERIMENTAL = xyes; then +- +- gst_check_save_LIBS=$LIBS +- gst_check_save_LDFLAGS=$LDFLAGS +- gst_check_save_CFLAGS=$CFLAGS +- gst_check_save_CPPFLAGS=$CPPFLAGS +- gst_check_save_CXXFLAGS=$CXXFLAGS +- +- HAVE_EXPERIMENTAL=no +- HAVE_EXPERIMENTAL=yes +- +- LIBS=$gst_check_save_LIBS +- LDFLAGS=$gst_check_save_LDFLAGS +- CFLAGS=$gst_check_save_CFLAGS +- CPPFLAGS=$gst_check_save_CPPFLAGS +- CXXFLAGS=$gst_check_save_CXXFLAGS ++ echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 + +- if test x$HAVE_EXPERIMENTAL = xno; then +- USE_EXPERIMENTAL=no +- fi ++have_pretty_function=no + fi +-if test x$USE_EXPERIMENTAL = xyes; then ++rm -f conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + +- { echo "$as_me:$LINENO: WARNING: building experimental plug-ins" >&5 +-echo "$as_me: WARNING: building experimental plug-ins" >&2;} +- USE_TARKIN="yes" ++fi + +- if test "x" != "x"; then +- GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES" +- fi ++ echo "$as_me:$LINENO: result: $have_pretty_function" >&5 ++echo "${ECHO_T}$have_pretty_function" >&6 ++ if test "$have_pretty_function" = yes; then + + cat >>confdefs.h <<\_ACEOF +-#define HAVE_EXPERIMENTAL ++#define HAVE_PRETTY_FUNCTION 1 + _ACEOF + +-else +- : +- if test "x" != "x"; then +- GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO" + fi + +- { echo "$as_me:$LINENO: not building experimental plug-ins" >&5 +-echo "$as_me: not building experimental plug-ins" >&6;} +- USE_TARKIN="no" +- +-fi +- +- +-if test x$USE_EXPERIMENTAL = xyes; then +- USE_EXPERIMENTAL_TRUE= +- USE_EXPERIMENTAL_FALSE='#' ++ echo "$as_me:$LINENO: checking whether $CC implements __FUNCTION__" >&5 ++echo $ECHO_N "checking whether $CC implements __FUNCTION__... $ECHO_C" >&6 ++ if test "${have_function+set}" = set; then ++ echo $ECHO_N "(cached) $ECHO_C" >&6 + else +- USE_EXPERIMENTAL_TRUE='#' +- USE_EXPERIMENTAL_FALSE= +-fi +- + +- +-echo "$as_me: ***" >&6 +-echo "$as_me: *** checking plugin: ***" >&6 +-echo "$as_me: ***" >&6 +-NOUSE= +-if test "x$USE_BROKEN" = "xno"; then +- NOUSE="yes" +-fi +-# Check whether --enable-broken or --disable-broken was given. +-if test "${enable_broken+set}" = set; then +- enableval="$enable_broken" +- case "${enableval}" in +- yes) USE_BROKEN=yes;; +- no) USE_BROKEN=no;; +- *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-broken" >&5 +-echo "$as_me: error: bad value ${enableval} for --enable-broken" >&2;} +- { (exit 1); exit 1; }; } ;; +- esac ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++printf("%s", __FUNCTION__); ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ++ (eval $ac_link) 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' ++ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 ++ (eval $ac_try) 2>&5 ++ ac_status=$? ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; } && ++ { ac_try='test -s conftest$ac_exeext' ++ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 ++ (eval $ac_try) 2>&5 ++ ac_status=$? ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; }; then ++ have_function=yes + else +- USE_BROKEN=no +-fi; +-if test "x$NOUSE" = "xyes"; then +- USE_BROKEN="no" +- { echo "$as_me:$LINENO: WARNING: *** pre-configured not to be built" >&5 +-echo "$as_me: WARNING: *** pre-configured not to be built" >&2;} +-fi +-NOUSE= +- +- +-if test x$USE_BROKEN = xyes; then +- +- gst_check_save_LIBS=$LIBS +- gst_check_save_LDFLAGS=$LDFLAGS +- gst_check_save_CFLAGS=$CFLAGS +- gst_check_save_CPPFLAGS=$CPPFLAGS +- gst_check_save_CXXFLAGS=$CXXFLAGS +- +- HAVE_BROKEN=no +- HAVE_BROKEN=yes +- +- LIBS=$gst_check_save_LIBS +- LDFLAGS=$gst_check_save_LDFLAGS +- CFLAGS=$gst_check_save_CFLAGS +- CPPFLAGS=$gst_check_save_CPPFLAGS +- CXXFLAGS=$gst_check_save_CXXFLAGS ++ echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 + +- if test x$HAVE_BROKEN = xno; then +- USE_BROKEN=no +- fi ++have_function=no + fi +-if test x$USE_BROKEN = xyes; then ++rm -f conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + +- { echo "$as_me:$LINENO: WARNING: building broken plug-ins -- no bug reports on these, only patches :)" >&5 +-echo "$as_me: WARNING: building broken plug-ins -- no bug reports on these, only patches :)" >&2;} ++fi + +- if test "x" != "x"; then +- GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES" +- fi ++ echo "$as_me:$LINENO: result: $have_function" >&5 ++echo "${ECHO_T}$have_function" >&6 ++ if test "$have_function" = yes; then + + cat >>confdefs.h <<\_ACEOF +-#define HAVE_BROKEN ++#define HAVE_FUNCTION 1 + _ACEOF + +-else +- : +- if test "x" != "x"; then +- GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO" + fi + +- { echo "$as_me:$LINENO: not building broken plug-ins" >&5 +-echo "$as_me: not building broken plug-ins" >&6;} +- +-fi +- +- +-if test x$USE_BROKEN = xyes; then +- USE_BROKEN_TRUE= +- USE_BROKEN_FALSE='#' ++ echo "$as_me:$LINENO: checking whether $CC implements __func__" >&5 ++echo $ECHO_N "checking whether $CC implements __func__... $ECHO_C" >&6 ++ if test "${have_func+set}" = set; then ++ echo $ECHO_N "(cached) $ECHO_C" >&6 + else +- USE_BROKEN_TRUE='#' +- USE_BROKEN_FALSE= +-fi +- +- +- +- +- + ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++printf("%s", __func__); ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ++ (eval $ac_link) 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' ++ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 ++ (eval $ac_try) 2>&5 ++ ac_status=$? ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; } && ++ { ac_try='test -s conftest$ac_exeext' ++ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 ++ (eval $ac_try) 2>&5 ++ ac_status=$? ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; }; then ++ have_func=yes ++else ++ echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 + +-# Check whether --with-autoconf or --without-autoconf was given. +-if test "${with_autoconf+set}" = set; then +- withval="$with_autoconf" ++have_func=no ++fi ++rm -f conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + +- unset AUTOCONF ++fi + +-AUTOCONF=${AUTOCONF-"${am_missing_run}${withval}"} ++ echo "$as_me:$LINENO: result: $have_func" >&5 ++echo "${ECHO_T}$have_func" >&6 ++ if test "$have_func" = yes; then + +- { echo "$as_me:$LINENO: Using $AUTOCONF as autoconf" >&5 +-echo "$as_me: Using $AUTOCONF as autoconf" >&6;} ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_FUNC 1 ++_ACEOF + +-fi; ++ fi + ++ if test "$have_pretty_function" = yes; then ++ function=__PRETTY_FUNCTION__ ++ else ++ if test "$have_function" = yes; then ++ function=__FUNCTION__ ++ else ++ if test "$have_func" = yes; then ++ function=__func__ ++ else ++ function=\"\" ++ fi ++ fi ++ fi + +-# Check whether --with-autoheader or --without-autoheader was given. +-if test "${with_autoheader+set}" = set; then +- withval="$with_autoheader" ++cat >>confdefs.h <<_ACEOF ++#define GST_FUNCTION $function ++_ACEOF + +- unset AUTOHEADER + +-AUTOHEADER=${AUTOHEADER-"${am_missing_run}${withval}"} + +- { echo "$as_me:$LINENO: Using $AUTOHEADER as autoheader" >&5 +-echo "$as_me: Using $AUTOHEADER as autoheader" >&6;} ++if test "x$GST_CVS" = "xyes"; then + +-fi; ++cat >>confdefs.h <<\_ACEOF ++#define GST_LEVEL_DEFAULT GST_LEVEL_ERROR ++_ACEOF + ++fi + +-# Check whether --with-automake or --without-automake was given. +-if test "${with_automake+set}" = set; then +- withval="$with_automake" + +- unset AUTOMAKE + +-AUTOMAKE=${AUTOMAKE-"${am_missing_run}${withval}"} ++ echo "$as_me:$LINENO: checking for FIONREAD in sys/ioctl.h" >&5 ++echo $ECHO_N "checking for FIONREAD in sys/ioctl.h... $ECHO_C" >&6 ++ if test "${GST_FIONREAD_IN_SYS_IOCTL+set}" = set; then ++ echo $ECHO_N "(cached) $ECHO_C" >&6 ++else + +- { echo "$as_me:$LINENO: Using $AUTOMAKE as automake" >&5 +-echo "$as_me: Using $AUTOMAKE as automake" >&6;} ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ + +-fi; ++#include ++#include + ++int ++main () ++{ + +-# Check whether --with-aclocal or --without-aclocal was given. +-if test "${with_aclocal+set}" = set; then +- withval="$with_aclocal" ++int x = FIONREAD; ++if ( x ) ++ return 0; + +- unset ACLOCAL ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext ++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ++ (eval $ac_compile) 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' ++ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 ++ (eval $ac_try) 2>&5 ++ ac_status=$? ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; } && ++ { ac_try='test -s conftest.$ac_objext' ++ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 ++ (eval $ac_try) 2>&5 ++ ac_status=$? ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; }; then ++ GST_FIONREAD_IN_SYS_IOCTL="yes" ++else ++ echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 + +-ACLOCAL=${ACLOCAL-"${am_missing_run}${withval}"} ++GST_FIONREAD_IN_SYS_IOCTL="no" ++fi ++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext + +- { echo "$as_me:$LINENO: Using $ACLOCAL as aclocal" >&5 +-echo "$as_me: Using $ACLOCAL as aclocal" >&6;} ++fi + +-fi; + ++ echo "$as_me:$LINENO: result: $GST_FIONREAD_IN_SYS_IOCTL" >&5 ++echo "${ECHO_T}$GST_FIONREAD_IN_SYS_IOCTL" >&6 + ++ if test "$GST_FIONREAD_IN_SYS_IOCTL" = "yes"; then + +-# Check whether --with-pkg-config-path or --without-pkg-config-path was given. +-if test "${with_pkg_config_path+set}" = set; then +- withval="$with_pkg_config_path" +- export PKG_CONFIG_PATH=${withval} +-fi; ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_FIONREAD_IN_SYS_IOCTL 1 ++_ACEOF + + ++ else + +-# Check whether --with-html-dir or --without-html-dir was given. +-if test "${with_html_dir+set}" = set; then +- withval="$with_html_dir" ++ echo "$as_me:$LINENO: checking for FIONREAD in sys/filio.h" >&5 ++echo $ECHO_N "checking for FIONREAD in sys/filio.h... $ECHO_C" >&6 ++ if test "${GST_FIONREAD_IN_SYS_FILIO+set}" = set; then ++ echo $ECHO_N "(cached) $ECHO_C" >&6 ++else + +-fi; ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ + +-if test "x$with_html_dir" = "x" ; then +- HTML_DIR='${datadir}/gtk-doc/html' +-else +- HTML_DIR=$with_html_dir +-fi ++ #include ++ #include + ++int ++main () ++{ + ++ int x = FIONREAD; ++ if ( x ) ++ return 0; + +-# Extract the first word of "gtkdoc-scangobj", so it can be a program name with args. +-set dummy gtkdoc-scangobj; ac_word=$2 +-echo "$as_me:$LINENO: checking for $ac_word" >&5 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +-if test "${ac_cv_prog_HAVE_GTK_DOC+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- if test -n "$HAVE_GTK_DOC"; then +- ac_cv_prog_HAVE_GTK_DOC="$HAVE_GTK_DOC" # Let the user override the test. ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext ++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ++ (eval $ac_compile) 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' ++ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 ++ (eval $ac_try) 2>&5 ++ ac_status=$? ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; } && ++ { ac_try='test -s conftest.$ac_objext' ++ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 ++ (eval $ac_try) 2>&5 ++ ac_status=$? ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; }; then ++ GST_FIONREAD_IN_SYS_FILIO="yes" + else +-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +-for as_dir in $PATH +-do +- IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_prog_HAVE_GTK_DOC="true" +- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 +- break 2 +- fi +-done +-done ++ echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 + +- test -z "$ac_cv_prog_HAVE_GTK_DOC" && ac_cv_prog_HAVE_GTK_DOC="false" +-fi +-fi +-HAVE_GTK_DOC=$ac_cv_prog_HAVE_GTK_DOC +-if test -n "$HAVE_GTK_DOC"; then +- echo "$as_me:$LINENO: result: $HAVE_GTK_DOC" >&5 +-echo "${ECHO_T}$HAVE_GTK_DOC" >&6 +-else +- echo "$as_me:$LINENO: result: no" >&5 +-echo "${ECHO_T}no" >&6 ++GST_FIONREAD_IN_SYS_FILIO="no" + fi ++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext + +-gtk_doc_min_version=1.0 +-if $HAVE_GTK_DOC ; then +- gtk_doc_version=`gtkdoc-mkdb --version` +- echo "$as_me:$LINENO: checking gtk-doc version ($gtk_doc_version) >= $gtk_doc_min_version" >&5 +-echo $ECHO_N "checking gtk-doc version ($gtk_doc_version) >= $gtk_doc_min_version... $ECHO_C" >&6 +- if perl -w < \$min_version_major) || +- (\$gtk_doc_version_major == \$min_version_major) && +- (\$gtk_doc_version_minor >= \$min_version_minor)) ? 0 : 1); +-EOF +- then +- echo "$as_me:$LINENO: result: yes" >&5 +-echo "${ECHO_T}yes" >&6 +- else +- echo "$as_me:$LINENO: result: no" >&5 +-echo "${ECHO_T}no" >&6 +- HAVE_GTK_DOC=false +- fi + fi + +-# don't you love undocumented command line options? +-GTK_DOC_SCANOBJ="gtkdoc-scangobj --nogtkinit" + ++ echo "$as_me:$LINENO: result: $GST_FIONREAD_IN_SYS_FILIO" >&5 ++echo "${ECHO_T}$GST_FIONREAD_IN_SYS_FILIO" >&6 + ++ if test "$GST_FIONREAD_IN_SYS_FILIO" = "yes"; then + +-# Extract the first word of "docbook2ps", so it can be a program name with args. +-set dummy docbook2ps; ac_word=$2 +-echo "$as_me:$LINENO: checking for $ac_word" >&5 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +-if test "${ac_cv_prog_HAVE_DOCBOOK2PS+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- if test -n "$HAVE_DOCBOOK2PS"; then +- ac_cv_prog_HAVE_DOCBOOK2PS="$HAVE_DOCBOOK2PS" # Let the user override the test. +-else +-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +-for as_dir in $PATH +-do +- IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_prog_HAVE_DOCBOOK2PS="true" +- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 +- break 2 +- fi +-done +-done ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_FIONREAD_IN_SYS_FILIO 1 ++_ACEOF + +- test -z "$ac_cv_prog_HAVE_DOCBOOK2PS" && ac_cv_prog_HAVE_DOCBOOK2PS="false" +-fi +-fi +-HAVE_DOCBOOK2PS=$ac_cv_prog_HAVE_DOCBOOK2PS +-if test -n "$HAVE_DOCBOOK2PS"; then +- echo "$as_me:$LINENO: result: $HAVE_DOCBOOK2PS" >&5 +-echo "${ECHO_T}$HAVE_DOCBOOK2PS" >&6 +-else +- echo "$as_me:$LINENO: result: no" >&5 +-echo "${ECHO_T}no" >&6 +-fi ++ fi + +-# Extract the first word of "docbook2html", so it can be a program name with args. +-set dummy docbook2html; ac_word=$2 +-echo "$as_me:$LINENO: checking for $ac_word" >&5 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +-if test "${ac_cv_prog_HAVE_DOCBOOK2HTML+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- if test -n "$HAVE_DOCBOOK2HTML"; then +- ac_cv_prog_HAVE_DOCBOOK2HTML="$HAVE_DOCBOOK2HTML" # Let the user override the test. +-else +-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +-for as_dir in $PATH +-do +- IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_prog_HAVE_DOCBOOK2HTML="true" +- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 +- break 2 + fi +-done +-done + +- test -z "$ac_cv_prog_HAVE_DOCBOOK2HTML" && ac_cv_prog_HAVE_DOCBOOK2HTML="false" +-fi +-fi +-HAVE_DOCBOOK2HTML=$ac_cv_prog_HAVE_DOCBOOK2HTML +-if test -n "$HAVE_DOCBOOK2HTML"; then +- echo "$as_me:$LINENO: result: $HAVE_DOCBOOK2HTML" >&5 +-echo "${ECHO_T}$HAVE_DOCBOOK2HTML" >&6 +-else +- echo "$as_me:$LINENO: result: no" >&5 +-echo "${ECHO_T}no" >&6 +-fi + +-# Extract the first word of "jadetex", so it can be a program name with args. +-set dummy jadetex; ac_word=$2 +-echo "$as_me:$LINENO: checking for $ac_word" >&5 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +-if test "${ac_cv_prog_HAVE_JADETEX+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- if test -n "$HAVE_JADETEX"; then +- ac_cv_prog_HAVE_JADETEX="$HAVE_JADETEX" # Let the user override the test. +-else +-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +-for as_dir in $PATH +-do +- IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_prog_HAVE_JADETEX="true" +- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 +- break 2 +- fi +-done +-done + +- test -z "$ac_cv_prog_HAVE_JADETEX" && ac_cv_prog_HAVE_JADETEX="false" +-fi +-fi +-HAVE_JADETEX=$ac_cv_prog_HAVE_JADETEX +-if test -n "$HAVE_JADETEX"; then +- echo "$as_me:$LINENO: result: $HAVE_JADETEX" >&5 +-echo "${ECHO_T}$HAVE_JADETEX" >&6 +-else +- echo "$as_me:$LINENO: result: no" >&5 +-echo "${ECHO_T}no" >&6 +-fi ++DEFAULT_AUDIOSINK="osssink" ++DEFAULT_VIDEOSINK="xvimagesink" ++DEFAULT_AUDIOSRC="osssrc" ++DEFAULT_VIDEOSRC="v4lsrc" ++DEFAULT_VISUALIZER="goom" ++case "$host" in ++ *-sun-* | *pc-solaris* ) ++ DEFAULT_AUDIOSINK="sunaudiosink" ++ DEFAULT_VIDEOSINK="ximagesink" ++ DEFAULT_AUDIOSRC="sunaudiosrc" ++ ;; ++ *-darwin* ) ++ DEFAULT_AUDIOSINK="osxaudiosink" ++ DEFAULT_AUDIOSRC="osxaudiosrc" ++ DEFAULT_VIDEOSINK="osxvideosink" ++ ;; ++esac + +-# Extract the first word of "ps2pdf", so it can be a program name with args. +-set dummy ps2pdf; ac_word=$2 +-echo "$as_me:$LINENO: checking for $ac_word" >&5 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +-if test "${ac_cv_prog_HAVE_PS2PDF+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- if test -n "$HAVE_PS2PDF"; then +- ac_cv_prog_HAVE_PS2PDF="$HAVE_PS2PDF" # Let the user override the test. +-else +-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +-for as_dir in $PATH +-do +- IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_prog_HAVE_PS2PDF="true" +- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 +- break 2 +- fi +-done +-done + +- test -z "$ac_cv_prog_HAVE_PS2PDF" && ac_cv_prog_HAVE_PS2PDF="false" +-fi +-fi +-HAVE_PS2PDF=$ac_cv_prog_HAVE_PS2PDF +-if test -n "$HAVE_PS2PDF"; then +- echo "$as_me:$LINENO: result: $HAVE_PS2PDF" >&5 +-echo "${ECHO_T}$HAVE_PS2PDF" >&6 +-else +- echo "$as_me:$LINENO: result: no" >&5 +-echo "${ECHO_T}no" >&6 +-fi + ++cat >>confdefs.h <<_ACEOF ++#define DEFAULT_AUDIOSINK "$DEFAULT_AUDIOSINK" ++_ACEOF + +-# -V option appeared in 0.6.10 +-docbook2html_min_version=0.6.10 +-if $HAVE_DOCBOOK2HTML ; then +- docbook2html_version=`docbook2html --version` +- echo "$as_me:$LINENO: checking docbook2html version ($docbook2html_version) >= $docbook2html_min_version" >&5 +-echo $ECHO_N "checking docbook2html version ($docbook2html_version) >= $docbook2html_min_version... $ECHO_C" >&6 +- if perl -w < \$min_version_major) || +- ((\$docbook2html_version_major == \$min_version_major) && +- (\$docbook2html_version_minor >= \$min_version_minor)) || +- ((\$docbook2html_version_major == \$min_version_major) && +- (\$docbook2html_version_minor >= \$min_version_minor) && +- (\$docbook2html_version_micro >= \$min_version_micro))) +- ? 0 : 1); +-EOF +- then +- echo "$as_me:$LINENO: result: yes" >&5 +-echo "${ECHO_T}yes" >&6 +- else +- echo "$as_me:$LINENO: result: no" >&5 +-echo "${ECHO_T}no" >&6 +- HAVE_DOCBOOK2HTML=false +- fi +-fi + + +- XSLTPROC_FLAGS=--nonet +- DOCBOOK_ROOT= +- TYPE_LC=xml +- TYPE_UC=XML +- DOCBOOK_VERSION=4.1.2 ++cat >>confdefs.h <<_ACEOF ++#define DEFAULT_AUDIOSRC "$DEFAULT_AUDIOSRC" ++_ACEOF + +- if test ! -f /etc/xml/catalog; then +- for i in /usr/share/sgml/docbook/stylesheet/xsl/nwalsh /usr/share/sgml/docbook/xsl-stylesheets/; +- do +- if test -d "$i"; then +- DOCBOOK_ROOT=$i +- fi +- done +- else +- XML_CATALOG=/etc/xml/catalog +- CAT_ENTRY_START='' +- fi + +- # Extract the first word of "xsltproc", so it can be a program name with args. +-set dummy xsltproc; ac_word=$2 +-echo "$as_me:$LINENO: checking for $ac_word" >&5 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +-if test "${ac_cv_prog_XSLTPROC+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- if test -n "$XSLTPROC"; then +- ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test. +-else +-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +-for as_dir in $PATH +-do +- IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_prog_XSLTPROC="xsltproc" +- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 +- break 2 +- fi +-done +-done + +-fi +-fi +-XSLTPROC=$ac_cv_prog_XSLTPROC +-if test -n "$XSLTPROC"; then +- echo "$as_me:$LINENO: result: $XSLTPROC" >&5 +-echo "${ECHO_T}$XSLTPROC" >&6 +-else +- echo "$as_me:$LINENO: result: no" >&5 +-echo "${ECHO_T}no" >&6 +-fi ++cat >>confdefs.h <<_ACEOF ++#define DEFAULT_VIDEOSINK "$DEFAULT_VIDEOSINK" ++_ACEOF + +- XSLTPROC_WORKS=no +- if test -n "$XSLTPROC"; then +- echo "$as_me:$LINENO: checking whether xsltproc docbook processing works" >&5 +-echo $ECHO_N "checking whether xsltproc docbook processing works... $ECHO_C" >&6 + +- if test -n "$XML_CATALOG"; then +- DB_FILE="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl" +- else +- DB_FILE="$DOCBOOK_ROOT/docbook.xsl" +- fi +- $XSLTPROC $XSLTPROC_FLAGS $DB_FILE >/dev/null 2>&1 << END +- +- +- +- +-END +- if test "$?" = 0; then +- XSLTPROC_WORKS=yes +- fi +- echo "$as_me:$LINENO: result: $XSLTPROC_WORKS" >&5 +-echo "${ECHO_T}$XSLTPROC_WORKS" >&6 +- fi + +- if test "x$XSLTPROC_WORKS" = "xyes"; then +- HAVE_DOCBOOK=true +- else +- HAVE_DOCBOOK=false +- fi ++cat >>confdefs.h <<_ACEOF ++#define DEFAULT_VIDEOSRC "$DEFAULT_VIDEOSRC" ++_ACEOF ++ + + ++cat >>confdefs.h <<_ACEOF ++#define DEFAULT_VISUALIZER "$DEFAULT_VISUALIZER" ++_ACEOF + + + ++echo "$as_me: ***" >&6 ++echo "$as_me: *** checking plugin: ***" >&6 ++echo "$as_me: ***" >&6 ++NOUSE= ++if test "x$USE_EXTERNAL" = "xno"; then ++ NOUSE="yes" ++fi ++# Check whether --enable-external or --disable-external was given. ++if test "${enable_external+set}" = set; then ++ enableval="$enable_external" ++ case "${enableval}" in ++ yes) USE_EXTERNAL=yes;; ++ no) USE_EXTERNAL=no;; ++ *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-external" >&5 ++echo "$as_me: error: bad value ${enableval} for --enable-external" >&2;} ++ { (exit 1); exit 1; }; } ;; ++ esac ++else ++ USE_EXTERNAL=yes ++fi; ++if test "x$NOUSE" = "xyes"; then ++ USE_EXTERNAL="no" ++ { echo "$as_me:$LINENO: WARNING: *** pre-configured not to be built" >&5 ++echo "$as_me: WARNING: *** pre-configured not to be built" >&2;} ++fi ++NOUSE= + + ++if test x$USE_EXTERNAL = xyes; then + +-# Extract the first word of "dvips", so it can be a program name with args. +-set dummy dvips; ac_word=$2 +-echo "$as_me:$LINENO: checking for $ac_word" >&5 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +-if test "${ac_cv_prog_HAVE_DVIPS+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- if test -n "$HAVE_DVIPS"; then +- ac_cv_prog_HAVE_DVIPS="$HAVE_DVIPS" # Let the user override the test. +-else +-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +-for as_dir in $PATH +-do +- IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_prog_HAVE_DVIPS="true" +- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 +- break 2 +- fi +-done +-done ++ gst_check_save_LIBS=$LIBS ++ gst_check_save_LDFLAGS=$LDFLAGS ++ gst_check_save_CFLAGS=$CFLAGS ++ gst_check_save_CPPFLAGS=$CPPFLAGS ++ gst_check_save_CXXFLAGS=$CXXFLAGS + +- test -z "$ac_cv_prog_HAVE_DVIPS" && ac_cv_prog_HAVE_DVIPS="false" +-fi +-fi +-HAVE_DVIPS=$ac_cv_prog_HAVE_DVIPS +-if test -n "$HAVE_DVIPS"; then +- echo "$as_me:$LINENO: result: $HAVE_DVIPS" >&5 +-echo "${ECHO_T}$HAVE_DVIPS" >&6 +-else +- echo "$as_me:$LINENO: result: no" >&5 +-echo "${ECHO_T}no" >&6 +-fi ++ HAVE_EXTERNAL=no ++ HAVE_EXTERNAL=yes + ++ LIBS=$gst_check_save_LIBS ++ LDFLAGS=$gst_check_save_LDFLAGS ++ CFLAGS=$gst_check_save_CFLAGS ++ CPPFLAGS=$gst_check_save_CPPFLAGS ++ CXXFLAGS=$gst_check_save_CXXFLAGS + +-# Extract the first word of "fig2dev", so it can be a program name with args. +-set dummy fig2dev; ac_word=$2 +-echo "$as_me:$LINENO: checking for $ac_word" >&5 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +-if test "${ac_cv_prog_HAVE_FIG2DEV+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- if test -n "$HAVE_FIG2DEV"; then +- ac_cv_prog_HAVE_FIG2DEV="$HAVE_FIG2DEV" # Let the user override the test. +-else +-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +-for as_dir in $PATH +-do +- IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_prog_HAVE_FIG2DEV="true" +- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 +- break 2 ++ if test x$HAVE_EXTERNAL = xno; then ++ USE_EXTERNAL=no + fi +-done +-done +- +- test -z "$ac_cv_prog_HAVE_FIG2DEV" && ac_cv_prog_HAVE_FIG2DEV="false" +-fi +-fi +-HAVE_FIG2DEV=$ac_cv_prog_HAVE_FIG2DEV +-if test -n "$HAVE_FIG2DEV"; then +- echo "$as_me:$LINENO: result: $HAVE_FIG2DEV" >&5 +-echo "${ECHO_T}$HAVE_FIG2DEV" >&6 +-else +- echo "$as_me:$LINENO: result: no" >&5 +-echo "${ECHO_T}no" >&6 + fi ++if test x$USE_EXTERNAL = xyes; then + +-if test "x$HAVE_FIG2DEV" = "xfalse" ; then +- { echo "$as_me:$LINENO: WARNING: Did not find fig2dev (from xfig), images will not be generated." >&5 +-echo "$as_me: WARNING: Did not find fig2dev (from xfig), images will not be generated." >&2;} +-fi ++ { echo "$as_me:$LINENO: WARNING: building external plug-ins" >&5 ++echo "$as_me: WARNING: building external plug-ins" >&2;} ++ BUILD_EXTERNAL="yes" + +-HAVE_FIG2DEV_EPS=false +-if test "x$HAVE_FIG2DEV" = "xtrue" ; then +- fig2dev_quiet=`fig2dev -L pdf &1 >/dev/null` +- if test "x$fig2dev_quiet" = "x" ; then +- HAVE_FIG2DEV_EPS=true +- fi +-fi +-HAVE_FIG2DEV_PNG=false +-if test "x$HAVE_FIG2DEV" = "xtrue" ; then +- fig2dev_quiet=`fig2dev -L png &1 >/dev/null` +- if test "x$fig2dev_quiet" = "x" ; then +- HAVE_FIG2DEV_PNG=true +- fi +-fi +-HAVE_FIG2DEV_PDF=false +-if test "x$HAVE_FIG2DEV" = "xtrue" ; then +- fig2dev_quiet=`fig2dev -L pdf &1 >/dev/null` +- if test "x$fig2dev_quiet" = "x" ; then +- HAVE_FIG2DEV_PDF=true ++ if test "x" != "x"; then ++ GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES" + fi +-fi + +-# Extract the first word of "pngtopnm", so it can be a program name with args. +-set dummy pngtopnm; ac_word=$2 +-echo "$as_me:$LINENO: checking for $ac_word" >&5 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +-if test "${ac_cv_prog_HAVE_PNGTOPNM+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- if test -n "$HAVE_PNGTOPNM"; then +- ac_cv_prog_HAVE_PNGTOPNM="$HAVE_PNGTOPNM" # Let the user override the test. ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_EXTERNAL ++_ACEOF ++ + else +-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +-for as_dir in $PATH +-do +- IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_prog_HAVE_PNGTOPNM="true" +- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 +- break 2 ++ : ++ if test "x" != "x"; then ++ GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO" + fi +-done +-done + +- test -z "$ac_cv_prog_HAVE_PNGTOPNM" && ac_cv_prog_HAVE_PNGTOPNM="false" +-fi +-fi +-HAVE_PNGTOPNM=$ac_cv_prog_HAVE_PNGTOPNM +-if test -n "$HAVE_PNGTOPNM"; then +- echo "$as_me:$LINENO: result: $HAVE_PNGTOPNM" >&5 +-echo "${ECHO_T}$HAVE_PNGTOPNM" >&6 +-else +- echo "$as_me:$LINENO: result: no" >&5 +-echo "${ECHO_T}no" >&6 ++ { echo "$as_me:$LINENO: WARNING: all plug-ins with external dependencies will not be built" >&5 ++echo "$as_me: WARNING: all plug-ins with external dependencies will not be built" >&2;} ++ BUILD_EXTERNAL="no" ++ + fi + +-# Extract the first word of "pnmtops", so it can be a program name with args. +-set dummy pnmtops; ac_word=$2 +-echo "$as_me:$LINENO: checking for $ac_word" >&5 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +-if test "${ac_cv_prog_HAVE_PNMTOPS+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- if test -n "$HAVE_PNMTOPS"; then +- ac_cv_prog_HAVE_PNMTOPS="$HAVE_PNMTOPS" # Let the user override the test. +-else +-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +-for as_dir in $PATH +-do +- IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_prog_HAVE_PNMTOPS="true" +- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 +- break 2 +- fi +-done +-done + +- test -z "$ac_cv_prog_HAVE_PNMTOPS" && ac_cv_prog_HAVE_PNMTOPS="false" +-fi +-fi +-HAVE_PNMTOPS=$ac_cv_prog_HAVE_PNMTOPS +-if test -n "$HAVE_PNMTOPS"; then +- echo "$as_me:$LINENO: result: $HAVE_PNMTOPS" >&5 +-echo "${ECHO_T}$HAVE_PNMTOPS" >&6 ++if test x$USE_EXTERNAL = xyes; then ++ USE_EXTERNAL_TRUE= ++ USE_EXTERNAL_FALSE='#' + else +- echo "$as_me:$LINENO: result: no" >&5 +-echo "${ECHO_T}no" >&6 ++ USE_EXTERNAL_TRUE='#' ++ USE_EXTERNAL_FALSE= + fi + +-# Extract the first word of "epstopdf", so it can be a program name with args. +-set dummy epstopdf; ac_word=$2 +-echo "$as_me:$LINENO: checking for $ac_word" >&5 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +-if test "${ac_cv_prog_HAVE_EPSTOPDF+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- if test -n "$HAVE_EPSTOPDF"; then +- ac_cv_prog_HAVE_EPSTOPDF="$HAVE_EPSTOPDF" # Let the user override the test. +-else +-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +-for as_dir in $PATH +-do +- IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_prog_HAVE_EPSTOPDF="true" +- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 +- break 2 +- fi +-done +-done + +- test -z "$ac_cv_prog_HAVE_EPSTOPDF" && ac_cv_prog_HAVE_EPSTOPDF="false" +-fi +-fi +-HAVE_EPSTOPDF=$ac_cv_prog_HAVE_EPSTOPDF +-if test -n "$HAVE_EPSTOPDF"; then +- echo "$as_me:$LINENO: result: $HAVE_EPSTOPDF" >&5 +-echo "${ECHO_T}$HAVE_EPSTOPDF" >&6 +-else +- echo "$as_me:$LINENO: result: no" >&5 +-echo "${ECHO_T}no" >&6 +-fi ++# make BUILD_EXTERNAL available to Makefile.am + + +-if test "x$HAVE_DOCBOOK2HTML" = "xtrue" && \ +- test "x$HAVE_DOCBOOK" = "xtrue" && \ +- test "x$HAVE_FIG2DEV_PNG" = "xtrue"; then +- DOC_HTML=true +- { echo "$as_me:$LINENO: Will output HTML documentation" >&5 +-echo "$as_me: Will output HTML documentation" >&6;} ++if test "x$BUILD_EXTERNAL" = "xyes"; then ++ BUILD_EXTERNAL_TRUE= ++ BUILD_EXTERNAL_FALSE='#' + else +- DOC_HTML=false +- { echo "$as_me:$LINENO: Will not output HTML documentation" >&5 +-echo "$as_me: Will not output HTML documentation" >&6;} ++ BUILD_EXTERNAL_TRUE='#' ++ BUILD_EXTERNAL_FALSE= + fi + +-if test "x$HAVE_DOCBOOK2PS" = "xtrue" && \ +- test "x$HAVE_DOCBOOK" = "xtrue" && \ +- test "x$HAVE_JADETEX" = "xtrue" && \ +- test "x$HAVE_FIG2DEV_EPS" = "xtrue" && \ +- test "x$HAVE_DVIPS" = "xtrue" && \ +- test "x$HAVE_PNGTOPNM" = "xtrue" && \ +- test "x$HAVE_PNMTOPS" = "xtrue"; then +- DOC_PS=true +- { echo "$as_me:$LINENO: Will output PS documentation" >&5 +-echo "$as_me: Will output PS documentation" >&6;} +-else +- DOC_PS=false +- { echo "$as_me:$LINENO: Will not output PS documentation" >&5 +-echo "$as_me: Will not output PS documentation" >&6;} +-fi + +-if test "x$DOC_PS" = "xtrue" && \ +- test "x$HAVE_DOCBOOK" = "xtrue" && \ +- test "x$HAVE_PS2PDF" = "xtrue"; then +- DOC_PDF=true +- { echo "$as_me:$LINENO: Will output PDF documentation" >&5 +-echo "$as_me: Will output PDF documentation" >&6;} ++echo "$as_me: ***" >&6 ++echo "$as_me: *** checking plugin: ***" >&6 ++echo "$as_me: ***" >&6 ++NOUSE= ++if test "x$USE_EXPERIMENTAL" = "xno"; then ++ NOUSE="yes" ++fi ++# Check whether --enable-experimental or --disable-experimental was given. ++if test "${enable_experimental+set}" = set; then ++ enableval="$enable_experimental" ++ case "${enableval}" in ++ yes) USE_EXPERIMENTAL=yes;; ++ no) USE_EXPERIMENTAL=no;; ++ *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-experimental" >&5 ++echo "$as_me: error: bad value ${enableval} for --enable-experimental" >&2;} ++ { (exit 1); exit 1; }; } ;; ++ esac + else +- DOC_PDF=false +- { echo "$as_me:$LINENO: Will not output PDF documentation" >&5 +-echo "$as_me: Will not output PDF documentation" >&6;} ++ USE_EXPERIMENTAL=no ++fi; ++if test "x$NOUSE" = "xyes"; then ++ USE_EXPERIMENTAL="no" ++ { echo "$as_me:$LINENO: WARNING: *** pre-configured not to be built" >&5 ++echo "$as_me: WARNING: *** pre-configured not to be built" >&2;} + fi ++NOUSE= + + ++if test x$USE_EXPERIMENTAL = xyes; then + +- PYTHON_CANDIDATES="python python2.2 python2.1 python2.0 python2 \ +- python1.6 python1.5" +- +- { echo "$as_me:$LINENO: Looking for Python version >= 2.1" >&5 +-echo "$as_me: Looking for Python version >= 2.1" >&6;} +- prog=" +-import sys, string +-minver = '2.1' +-# split string by '.' and convert to numeric +-minver_info = map(string.atoi, string.split(minver, '.')) +-# we can now do comparisons on the two lists: +-if sys.version_info >= tuple(minver_info): +- sys.exit(0) +-else: +- sys.exit(1)" ++ gst_check_save_LIBS=$LIBS ++ gst_check_save_LDFLAGS=$LDFLAGS ++ gst_check_save_CFLAGS=$CFLAGS ++ gst_check_save_CPPFLAGS=$CPPFLAGS ++ gst_check_save_CXXFLAGS=$CXXFLAGS + +- python_good=false +- for python_candidate in $PYTHON_CANDIDATES; do +- unset PYTHON +- # Extract the first word of "$python_candidate", so it can be a program name with args. +-set dummy $python_candidate; ac_word=$2 +-echo "$as_me:$LINENO: checking for $ac_word" >&5 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +-if test "${ac_cv_path_PYTHON+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- case $PYTHON in +- [\\/]* | ?:[\\/]*) +- ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. +- ;; +- *) +- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +-for as_dir in $PATH +-do +- IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" +- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 +- break 2 +- fi +-done +-done ++ HAVE_EXPERIMENTAL=no ++ HAVE_EXPERIMENTAL=yes + +- ;; +-esac +-fi +-PYTHON=$ac_cv_path_PYTHON ++ LIBS=$gst_check_save_LIBS ++ LDFLAGS=$gst_check_save_LDFLAGS ++ CFLAGS=$gst_check_save_CFLAGS ++ CPPFLAGS=$gst_check_save_CPPFLAGS ++ CXXFLAGS=$gst_check_save_CXXFLAGS + +-if test -n "$PYTHON"; then +- echo "$as_me:$LINENO: result: $PYTHON" >&5 +-echo "${ECHO_T}$PYTHON" >&6 +-else +- echo "$as_me:$LINENO: result: no" >&5 +-echo "${ECHO_T}no" >&6 ++ if test x$HAVE_EXPERIMENTAL = xno; then ++ USE_EXPERIMENTAL=no ++ fi + fi +- 1> /dev/null 2> /dev/null ++if test x$USE_EXPERIMENTAL = xyes; then + +- if test "x$PYTHON" = "x"; then continue; fi ++ { echo "$as_me:$LINENO: WARNING: building experimental plug-ins" >&5 ++echo "$as_me: WARNING: building experimental plug-ins" >&2;} ++ USE_TARKIN="yes" + +- if $PYTHON -c "$prog" 1>&5 2>&5; then +- echo "$as_me:$LINENO: checking \"$PYTHON\":" >&5 +-echo $ECHO_N "checking \"$PYTHON\":... $ECHO_C" >&6 +- echo "$as_me:$LINENO: result: okay" >&5 +-echo "${ECHO_T}okay" >&6 +- python_good=true +- break; +- else +- unset ac_cv_path_PYTHON +- fi +- done ++ if test "x" != "x"; then ++ GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES" ++ fi + ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_EXPERIMENTAL ++_ACEOF + +- if test "$python_good" != "true"; then +- { echo "$as_me:$LINENO: WARNING: No suitable version of python found" >&5 +-echo "$as_me: WARNING: No suitable version of python found" >&2;} +- PYTHON= +- else ++else ++ : ++ if test "x" != "x"; then ++ GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO" ++ fi + +- echo "$as_me:$LINENO: checking local Python configuration" >&5 +-echo $ECHO_N "checking local Python configuration... $ECHO_C" >&6 ++ { echo "$as_me:$LINENO: not building experimental plug-ins" >&5 ++echo "$as_me: not building experimental plug-ins" >&6;} ++ USE_TARKIN="no" + ++fi + + +- PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[:3]"` ++if test x$USE_EXPERIMENTAL = xyes; then ++ USE_EXPERIMENTAL_TRUE= ++ USE_EXPERIMENTAL_FALSE='#' ++else ++ USE_EXPERIMENTAL_TRUE='#' ++ USE_EXPERIMENTAL_FALSE= ++fi + + + ++echo "$as_me: ***" >&6 ++echo "$as_me: *** checking plugin: ***" >&6 ++echo "$as_me: ***" >&6 ++NOUSE= ++if test "x$USE_BROKEN" = "xno"; then ++ NOUSE="yes" ++fi ++# Check whether --enable-broken or --disable-broken was given. ++if test "${enable_broken+set}" = set; then ++ enableval="$enable_broken" ++ case "${enableval}" in ++ yes) USE_BROKEN=yes;; ++ no) USE_BROKEN=no;; ++ *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-broken" >&5 ++echo "$as_me: error: bad value ${enableval} for --enable-broken" >&2;} ++ { (exit 1); exit 1; }; } ;; ++ esac ++else ++ USE_BROKEN=no ++fi; ++if test "x$NOUSE" = "xyes"; then ++ USE_BROKEN="no" ++ { echo "$as_me:$LINENO: WARNING: *** pre-configured not to be built" >&5 ++echo "$as_me: WARNING: *** pre-configured not to be built" >&2;} ++fi ++NOUSE= + +- PYTHON_PREFIX='${prefix}' + ++if test x$USE_BROKEN = xyes; then + +- PYTHON_EXEC_PREFIX='${exec_prefix}' ++ gst_check_save_LIBS=$LIBS ++ gst_check_save_LDFLAGS=$LDFLAGS ++ gst_check_save_CFLAGS=$CFLAGS ++ gst_check_save_CPPFLAGS=$CPPFLAGS ++ gst_check_save_CXXFLAGS=$CXXFLAGS + ++ HAVE_BROKEN=no ++ HAVE_BROKEN=yes + ++ LIBS=$gst_check_save_LIBS ++ LDFLAGS=$gst_check_save_LDFLAGS ++ CFLAGS=$gst_check_save_CFLAGS ++ CPPFLAGS=$gst_check_save_CPPFLAGS ++ CXXFLAGS=$gst_check_save_CXXFLAGS + +- PYTHON_PLATFORM=`$PYTHON -c "import sys; print sys.platform"` ++ if test x$HAVE_BROKEN = xno; then ++ USE_BROKEN=no ++ fi ++fi ++if test x$USE_BROKEN = xyes; then + ++ { echo "$as_me:$LINENO: WARNING: building broken plug-ins -- no bug reports on these, only patches :)" >&5 ++echo "$as_me: WARNING: building broken plug-ins -- no bug reports on these, only patches :)" >&2;} + ++ if test "x" != "x"; then ++ GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES" ++ fi + ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_BROKEN ++_ACEOF + ++else ++ : ++ if test "x" != "x"; then ++ GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO" ++ fi + +- pythondir=$PYTHON_PREFIX"/lib/python"$PYTHON_VERSION/site-packages ++ { echo "$as_me:$LINENO: not building broken plug-ins" >&5 ++echo "$as_me: not building broken plug-ins" >&6;} + ++fi + + +- pkgpythondir=\${pythondir}/$PACKAGE ++if test x$USE_BROKEN = xyes; then ++ USE_BROKEN_TRUE= ++ USE_BROKEN_FALSE='#' ++else ++ USE_BROKEN_TRUE='#' ++ USE_BROKEN_FALSE= ++fi + + + +- pyexecdir=$PYTHON_EXEC_PREFIX"/lib/python"$PYTHON_VERSION/site-packages + + + +- pkgpyexecdir=\${pyexecdir}/$PACKAGE + +- echo "$as_me:$LINENO: result: looks good" >&5 +-echo "${ECHO_T}looks good" >&6 ++# Check whether --with-autoconf or --without-autoconf was given. ++if test "${with_autoconf+set}" = set; then ++ withval="$with_autoconf" + +- fi ++ unset AUTOCONF + ++AUTOCONF=${AUTOCONF-"${am_missing_run}${withval}"} + ++ { echo "$as_me:$LINENO: Using $AUTOCONF as autoconf" >&5 ++echo "$as_me: Using $AUTOCONF as autoconf" >&6;} + +-# Check whether --enable-docs-build or --disable-docs-build was given. +-if test "${enable_docs_build+set}" = set; then +- enableval="$enable_docs_build" +- case "${enableval}" in +- yes) +- if test "x$HAVE_GTK_DOC" = "xtrue" && \ +- test "x$HAVE_DOCBOOK" = "xtrue"; then +- BUILD_DOCS=yes +- else +- BUILD_DOCS=no +- fi ;; +- no) BUILD_DOCS=no ;; +- *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --disable-docs-build" >&5 +-echo "$as_me: error: bad value ${enableval} for --disable-docs-build" >&2;} +- { (exit 1); exit 1; }; } ;; +-esac +-else +- BUILD_DOCS=yes + fi; +-BUILD_PLUGIN_DOCS=no +- + + +-if $HAVE_GTK_DOC; then +- HAVE_GTK_DOC_TRUE= +- HAVE_GTK_DOC_FALSE='#' +-else +- HAVE_GTK_DOC_TRUE='#' +- HAVE_GTK_DOC_FALSE= +-fi ++# Check whether --with-autoheader or --without-autoheader was given. ++if test "${with_autoheader+set}" = set; then ++ withval="$with_autoheader" + ++ unset AUTOHEADER + ++AUTOHEADER=${AUTOHEADER-"${am_missing_run}${withval}"} + +-if $HAVE_DOCBOOK; then +- HAVE_DOCBOOK_TRUE= +- HAVE_DOCBOOK_FALSE='#' +-else +- HAVE_DOCBOOK_TRUE='#' +- HAVE_DOCBOOK_FALSE= +-fi ++ { echo "$as_me:$LINENO: Using $AUTOHEADER as autoheader" >&5 ++echo "$as_me: Using $AUTOHEADER as autoheader" >&6;} + ++fi; + + +-if test "x$BUILD_DOCS" = "xyes"; then +- BUILD_DOCS_TRUE= +- BUILD_DOCS_FALSE='#' +-else +- BUILD_DOCS_TRUE='#' +- BUILD_DOCS_FALSE= +-fi ++# Check whether --with-automake or --without-automake was given. ++if test "${with_automake+set}" = set; then ++ withval="$with_automake" + ++ unset AUTOMAKE + ++AUTOMAKE=${AUTOMAKE-"${am_missing_run}${withval}"} + +-if test "x$BUILD_PLUGIN_DOCS" = "xyes"; then +- BUILD_PLUGIN_DOCS_TRUE= +- BUILD_PLUGIN_DOCS_FALSE='#' +-else +- BUILD_PLUGIN_DOCS_TRUE='#' +- BUILD_PLUGIN_DOCS_FALSE= +-fi ++ { echo "$as_me:$LINENO: Using $AUTOMAKE as automake" >&5 ++echo "$as_me: Using $AUTOMAKE as automake" >&6;} + ++fi; + + +-if $DOC_HTML; then +- DOC_HTML_TRUE= +- DOC_HTML_FALSE='#' +-else +- DOC_HTML_TRUE='#' +- DOC_HTML_FALSE= +-fi ++# Check whether --with-aclocal or --without-aclocal was given. ++if test "${with_aclocal+set}" = set; then ++ withval="$with_aclocal" + ++ unset ACLOCAL + ++ACLOCAL=${ACLOCAL-"${am_missing_run}${withval}"} + +-if $DOC_PDF; then +- DOC_PDF_TRUE= +- DOC_PDF_FALSE='#' +-else +- DOC_PDF_TRUE='#' +- DOC_PDF_FALSE= +-fi ++ { echo "$as_me:$LINENO: Using $ACLOCAL as aclocal" >&5 ++echo "$as_me: Using $ACLOCAL as aclocal" >&6;} + ++fi; + + +-if $DOC_PS; then +- DOC_PS_TRUE= +- DOC_PS_FALSE='#' +-else +- DOC_PS_TRUE='#' +- DOC_PS_FALSE= +-fi + ++# Check whether --with-pkg-config-path or --without-pkg-config-path was given. ++if test "${with_pkg_config_path+set}" = set; then ++ withval="$with_pkg_config_path" ++ export PKG_CONFIG_PATH=${withval} ++fi; + ++GST_DOCBOOK_CHECK() + + + case "x${target_cpu}" in +@@ -29437,8 +27468,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -29480,8 +27510,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -29538,8 +27567,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -30369,8 +28397,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -30412,8 +28439,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -30470,8 +28496,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -30599,8 +28624,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -30666,8 +28690,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -31499,8 +29522,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -31645,8 +29667,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -31872,8 +29893,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -32019,8 +30039,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -32166,8 +30185,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -32406,8 +30424,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -32631,8 +30648,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -32866,8 +30882,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -33102,8 +31117,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -33326,8 +31340,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -33559,8 +31572,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -33622,8 +31634,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -33861,8 +31872,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -34010,8 +32020,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -34214,9 +32223,50 @@ + + + +-echo "$as_me:$LINENO: checking for X" >&5 ++echo "$as_me: ***" >&6 ++echo "$as_me: *** checking plugin: ximagesink ***" >&6 ++echo "$as_me: ***" >&6 ++NOUSE= ++if test "x$USE_X" = "xno"; then ++ NOUSE="yes" ++fi ++# Check whether --enable-x or --disable-x was given. ++if test "${enable_x+set}" = set; then ++ enableval="$enable_x" ++ case "${enableval}" in ++ yes) USE_X=yes;; ++ no) USE_X=no;; ++ *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-x" >&5 ++echo "$as_me: error: bad value ${enableval} for --enable-x" >&2;} ++ { (exit 1); exit 1; }; } ;; ++ esac ++else ++ USE_X=yes ++fi; ++if test "x$NOUSE" = "xyes"; then ++ USE_X="no" ++ { echo "$as_me:$LINENO: WARNING: *** ximagesink pre-configured not to be built" >&5 ++echo "$as_me: WARNING: *** ximagesink pre-configured not to be built" >&2;} ++fi ++NOUSE= ++ ++ ++if test x$USE_X = xyes; then ++ ++ gst_check_save_LIBS=$LIBS ++ gst_check_save_LDFLAGS=$LDFLAGS ++ gst_check_save_CFLAGS=$CFLAGS ++ gst_check_save_CPPFLAGS=$CPPFLAGS ++ gst_check_save_CXXFLAGS=$CXXFLAGS ++ ++ HAVE_X=no ++ ++ ++if test "x$ac_path_x_has_been_run" != xyes; then ++ echo "$as_me:$LINENO: checking for X" >&5 + echo $ECHO_N "checking for X... $ECHO_C" >&6 + ++ac_path_x_has_been_run=yes + + # Check whether --with-x or --without-x was given. + if test "${with_x+set}" = set; then +@@ -34309,7 +32359,7 @@ + /usr/openwin/share/include' + + if test "$ac_x_includes" = no; then +- # Guess where to find include files, by looking for Intrinsic.h. ++ # Guess where to find include files, by looking for a specified header file. + # First, try using that file with no special directory specified. + cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ +@@ -34317,7 +32367,7 @@ + cat confdefs.h >>conftest.$ac_ext + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ +-#include ++#include + _ACEOF + if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 +@@ -34344,7 +32394,7 @@ + sed 's/^/| /' conftest.$ac_ext >&5 + + for ac_dir in $ac_x_header_dirs; do +- if test -r "$ac_dir/X11/Intrinsic.h"; then ++ if test -r "$ac_dir/X11/Xlib.h"; then + ac_x_includes=$ac_dir + break + fi +@@ -34358,18 +32408,18 @@ + # See if we find them without any special options. + # Don't add to $LIBS permanently. + ac_save_LIBS=$LIBS +- LIBS="-lXt $LIBS" ++ LIBS="-lX11 $LIBS" + cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ + _ACEOF + cat confdefs.h >>conftest.$ac_ext + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ +-#include ++#include + int + main () + { +-XtMalloc (0) ++XrmInitialize () + ; + return 0; + } +@@ -34383,8 +32433,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -34408,7 +32457,7 @@ + do + # Don't even attempt the hair of trying to link an X program! + for ac_extension in a so sl; do +- if test -r $ac_dir/libXt.$ac_extension; then ++ if test -r $ac_dir/libX11.$ac_extension; then + ac_x_libraries=$ac_dir + break 2 + fi +@@ -34444,49 +32493,16 @@ + # Update the cache value to reflect the command line values. + ac_cv_have_x="have_x=yes \ + ac_x_includes=$x_includes ac_x_libraries=$x_libraries" +- echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 +-echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 ++ # It might be that x_includes is empty (headers are found in the ++ # standard search path. Then output the corresponding message ++ ac_out_x_includes=$x_includes ++ test "x$x_includes" = x && ac_out_x_includes="in standard search path" ++ echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5 ++echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6 + fi + +-echo "$as_me: ***" >&6 +-echo "$as_me: *** checking plugin: ximagesink ***" >&6 +-echo "$as_me: ***" >&6 +-NOUSE= +-if test "x$USE_X" = "xno"; then +- NOUSE="yes" +-fi +-# Check whether --enable-x or --disable-x was given. +-if test "${enable_x+set}" = set; then +- enableval="$enable_x" +- case "${enableval}" in +- yes) USE_X=yes;; +- no) USE_X=no;; +- *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-x" >&5 +-echo "$as_me: error: bad value ${enableval} for --enable-x" >&2;} +- { (exit 1); exit 1; }; } ;; +- esac +-else +- USE_X=yes +-fi; +-if test "x$NOUSE" = "xyes"; then +- USE_X="no" +- { echo "$as_me:$LINENO: WARNING: *** ximagesink pre-configured not to be built" >&5 +-echo "$as_me: WARNING: *** ximagesink pre-configured not to be built" >&2;} + fi +-NOUSE= +- +- +-if test x$USE_X = xyes; then +- +- gst_check_save_LIBS=$LIBS +- gst_check_save_LDFLAGS=$LDFLAGS +- gst_check_save_CFLAGS=$CFLAGS +- gst_check_save_CPPFLAGS=$CPPFLAGS +- gst_check_save_CXXFLAGS=$CXXFLAGS +- +- HAVE_X=no +- +- if test "$no_x" = yes; then ++if test "$no_x" = yes; then + # Not all programs may use this symbol, but it does not hurt to define it. + + cat >>confdefs.h <<\_ACEOF +@@ -34533,8 +32549,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -34585,8 +32600,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -34662,8 +32676,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -34718,8 +32731,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -34787,8 +32799,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -34896,8 +32907,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -34961,8 +32971,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -35030,8 +33039,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -35135,8 +33143,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -35200,8 +33207,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -35298,8 +33304,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -35363,8 +33368,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -35461,8 +33465,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -35526,8 +33529,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -35606,8 +33608,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -35672,8 +33673,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -36144,8 +34144,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -36220,8 +34219,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -36379,8 +34377,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -36452,8 +34449,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -36615,8 +34611,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -36766,8 +34761,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -36817,8 +34811,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -36975,8 +34968,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -37141,8 +35133,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -37208,8 +35199,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -37372,8 +35362,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -37439,8 +35428,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -38008,8 +35996,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -38370,8 +36357,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -38443,8 +36429,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -38624,8 +36609,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -38687,8 +36671,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -39197,8 +37180,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -39403,8 +37385,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -39794,8 +37775,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -39870,8 +37850,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -40699,8 +38678,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -40762,8 +38740,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -40930,8 +38907,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -40993,8 +38969,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -41693,8 +39668,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -41843,8 +39817,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -41900,8 +39873,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -42051,8 +40023,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -42118,8 +40089,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -42198,8 +40168,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -42363,8 +40332,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -42426,8 +40394,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -42671,8 +40638,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -42734,8 +40700,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -43045,8 +41010,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -43611,8 +41575,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -43794,8 +41757,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -43857,8 +41819,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -44114,8 +42075,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -44177,8 +42137,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -44334,8 +42293,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -44397,8 +42355,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -44565,8 +42522,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -44628,8 +42584,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -44950,8 +42905,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -45013,8 +42967,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -45174,8 +43127,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -45584,8 +43536,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -45647,8 +43598,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -45812,8 +43762,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -45875,8 +43824,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -46128,8 +44076,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -46191,8 +44138,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -46437,8 +44383,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -46778,8 +44723,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -46851,8 +44795,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -47029,8 +44972,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -47262,8 +45204,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -47325,8 +45266,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -48333,8 +46273,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -48856,8 +46795,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -48919,8 +46857,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -49438,8 +47375,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -49510,8 +47446,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -49919,8 +47854,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -50367,8 +48301,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_cxx_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -50767,8 +48700,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_cxx_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -51084,8 +49016,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_cxx_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -51509,8 +49440,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -51572,8 +49502,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -52176,8 +50105,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -52239,8 +50167,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -52403,8 +50330,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -52466,8 +50392,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -52630,8 +50555,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -52693,8 +50617,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -53155,8 +51078,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -53320,8 +51242,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -53383,8 +51304,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -53822,8 +51742,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -53992,8 +51911,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_cxx_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -54373,8 +52291,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -54436,8 +52353,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -54904,8 +52820,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -54967,8 +52882,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -55113,8 +53027,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -55261,8 +53174,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -55324,8 +53236,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -55496,8 +53407,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -56323,8 +54233,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -56596,8 +54505,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -56659,8 +54567,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -57134,8 +55041,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -57268,8 +55174,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -57554,8 +55459,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -57617,8 +55521,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -58034,8 +55937,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -58183,8 +56085,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -58249,8 +56150,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -58315,8 +56215,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -58482,8 +56381,7 @@ + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -59432,55 +57330,6 @@ + Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } + fi +-if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then +- { { echo "$as_me:$LINENO: error: conditional \"HAVE_GTK_DOC\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-echo "$as_me: error: conditional \"HAVE_GTK_DOC\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } +-fi +-if test -z "${HAVE_DOCBOOK_TRUE}" && test -z "${HAVE_DOCBOOK_FALSE}"; then +- { { echo "$as_me:$LINENO: error: conditional \"HAVE_DOCBOOK\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-echo "$as_me: error: conditional \"HAVE_DOCBOOK\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } +-fi +-if test -z "${BUILD_DOCS_TRUE}" && test -z "${BUILD_DOCS_FALSE}"; then +- { { echo "$as_me:$LINENO: error: conditional \"BUILD_DOCS\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-echo "$as_me: error: conditional \"BUILD_DOCS\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } +-fi +-if test -z "${BUILD_PLUGIN_DOCS_TRUE}" && test -z "${BUILD_PLUGIN_DOCS_FALSE}"; then +- { { echo "$as_me:$LINENO: error: conditional \"BUILD_PLUGIN_DOCS\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-echo "$as_me: error: conditional \"BUILD_PLUGIN_DOCS\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } +-fi +-if test -z "${DOC_HTML_TRUE}" && test -z "${DOC_HTML_FALSE}"; then +- { { echo "$as_me:$LINENO: error: conditional \"DOC_HTML\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-echo "$as_me: error: conditional \"DOC_HTML\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } +-fi +-if test -z "${DOC_PDF_TRUE}" && test -z "${DOC_PDF_FALSE}"; then +- { { echo "$as_me:$LINENO: error: conditional \"DOC_PDF\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-echo "$as_me: error: conditional \"DOC_PDF\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } +-fi +-if test -z "${DOC_PS_TRUE}" && test -z "${DOC_PS_FALSE}"; then +- { { echo "$as_me:$LINENO: error: conditional \"DOC_PS\" was never defined. +-Usually this means the macro was only invoked conditionally." >&5 +-echo "$as_me: error: conditional \"DOC_PS\" was never defined. +-Usually this means the macro was only invoked conditionally." >&2;} +- { (exit 1); exit 1; }; } +-fi + if test -z "${HAVE_CPU_I386_TRUE}" && test -z "${HAVE_CPU_I386_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"HAVE_CPU_I386\" was never defined. + Usually this means the macro was only invoked conditionally." >&5 +@@ -61177,47 +59026,6 @@ + s,@USE_EXPERIMENTAL_FALSE@,$USE_EXPERIMENTAL_FALSE,;t t + s,@USE_BROKEN_TRUE@,$USE_BROKEN_TRUE,;t t + s,@USE_BROKEN_FALSE@,$USE_BROKEN_FALSE,;t t +-s,@HTML_DIR@,$HTML_DIR,;t t +-s,@HAVE_GTK_DOC@,$HAVE_GTK_DOC,;t t +-s,@GTK_DOC_SCANOBJ@,$GTK_DOC_SCANOBJ,;t t +-s,@HAVE_DOCBOOK2PS@,$HAVE_DOCBOOK2PS,;t t +-s,@HAVE_DOCBOOK2HTML@,$HAVE_DOCBOOK2HTML,;t t +-s,@HAVE_JADETEX@,$HAVE_JADETEX,;t t +-s,@HAVE_PS2PDF@,$HAVE_PS2PDF,;t t +-s,@XSLTPROC@,$XSLTPROC,;t t +-s,@XML_CATALOG@,$XML_CATALOG,;t t +-s,@XSLTPROC_FLAGS@,$XSLTPROC_FLAGS,;t t +-s,@DOCBOOK_ROOT@,$DOCBOOK_ROOT,;t t +-s,@CAT_ENTRY_START@,$CAT_ENTRY_START,;t t +-s,@CAT_ENTRY_END@,$CAT_ENTRY_END,;t t +-s,@HAVE_DVIPS@,$HAVE_DVIPS,;t t +-s,@HAVE_FIG2DEV@,$HAVE_FIG2DEV,;t t +-s,@HAVE_PNGTOPNM@,$HAVE_PNGTOPNM,;t t +-s,@HAVE_PNMTOPS@,$HAVE_PNMTOPS,;t t +-s,@HAVE_EPSTOPDF@,$HAVE_EPSTOPDF,;t t +-s,@PYTHON@,$PYTHON,;t t +-s,@PYTHON_VERSION@,$PYTHON_VERSION,;t t +-s,@PYTHON_PREFIX@,$PYTHON_PREFIX,;t t +-s,@PYTHON_EXEC_PREFIX@,$PYTHON_EXEC_PREFIX,;t t +-s,@PYTHON_PLATFORM@,$PYTHON_PLATFORM,;t t +-s,@pythondir@,$pythondir,;t t +-s,@pkgpythondir@,$pkgpythondir,;t t +-s,@pyexecdir@,$pyexecdir,;t t +-s,@pkgpyexecdir@,$pkgpyexecdir,;t t +-s,@HAVE_GTK_DOC_TRUE@,$HAVE_GTK_DOC_TRUE,;t t +-s,@HAVE_GTK_DOC_FALSE@,$HAVE_GTK_DOC_FALSE,;t t +-s,@HAVE_DOCBOOK_TRUE@,$HAVE_DOCBOOK_TRUE,;t t +-s,@HAVE_DOCBOOK_FALSE@,$HAVE_DOCBOOK_FALSE,;t t +-s,@BUILD_DOCS_TRUE@,$BUILD_DOCS_TRUE,;t t +-s,@BUILD_DOCS_FALSE@,$BUILD_DOCS_FALSE,;t t +-s,@BUILD_PLUGIN_DOCS_TRUE@,$BUILD_PLUGIN_DOCS_TRUE,;t t +-s,@BUILD_PLUGIN_DOCS_FALSE@,$BUILD_PLUGIN_DOCS_FALSE,;t t +-s,@DOC_HTML_TRUE@,$DOC_HTML_TRUE,;t t +-s,@DOC_HTML_FALSE@,$DOC_HTML_FALSE,;t t +-s,@DOC_PDF_TRUE@,$DOC_PDF_TRUE,;t t +-s,@DOC_PDF_FALSE@,$DOC_PDF_FALSE,;t t +-s,@DOC_PS_TRUE@,$DOC_PS_TRUE,;t t +-s,@DOC_PS_FALSE@,$DOC_PS_FALSE,;t t + s,@HAVE_CPU_I386_TRUE@,$HAVE_CPU_I386_TRUE,;t t + s,@HAVE_CPU_I386_FALSE@,$HAVE_CPU_I386_FALSE,;t t + s,@HAVE_CPU_PPC_TRUE@,$HAVE_CPU_PPC_TRUE,;t t +@@ -61623,10 +59431,16 @@ + s,@HAVE_NASM_FALSE@,$HAVE_NASM_FALSE,;t t + s,@HAVE_GTK_TRUE@,$HAVE_GTK_TRUE,;t t + s,@HAVE_GTK_FALSE@,$HAVE_GTK_FALSE,;t t ++s,@HAVE_GTK_DOC_TRUE@,$HAVE_GTK_DOC_TRUE,;t t ++s,@HAVE_GTK_DOC_FALSE@,$HAVE_GTK_DOC_FALSE,;t t ++s,@BUILD_DOCS_TRUE@,$BUILD_DOCS_TRUE,;t t ++s,@BUILD_DOCS_FALSE@,$BUILD_DOCS_FALSE,;t t + s,@BUILD_TESTS_TRUE@,$BUILD_TESTS_TRUE,;t t + s,@BUILD_TESTS_FALSE@,$BUILD_TESTS_FALSE,;t t + s,@BUILD_EXAMPLES_TRUE@,$BUILD_EXAMPLES_TRUE,;t t + s,@BUILD_EXAMPLES_FALSE@,$BUILD_EXAMPLES_FALSE,;t t ++s,@BUILD_PLUGIN_DOCS_TRUE@,$BUILD_PLUGIN_DOCS_TRUE,;t t ++s,@BUILD_PLUGIN_DOCS_FALSE@,$BUILD_PLUGIN_DOCS_FALSE,;t t + s,@HAVE_FIG2DEV_PNG_TRUE@,$HAVE_FIG2DEV_PNG_TRUE,;t t + s,@HAVE_FIG2DEV_PNG_FALSE@,$HAVE_FIG2DEV_PNG_FALSE,;t t + s,@HAVE_FIG2DEV_PDF_TRUE@,$HAVE_FIG2DEV_PDF_TRUE,;t t +@@ -61801,11 +59615,6 @@ + *) ac_INSTALL=$ac_top_builddir$INSTALL ;; + esac + +- if test x"$ac_file" != x-; then +- { echo "$as_me:$LINENO: creating $ac_file" >&5 +-echo "$as_me: creating $ac_file" >&6;} +- rm -f "$ac_file" +- fi + # Let's still pretend it is `configure' which instantiates (i.e., don't + # use $as_me), people would be surprised to read: + # /* config.h. Generated by config.status. */ +@@ -61844,6 +59653,12 @@ + fi;; + esac + done` || { (exit 1); exit 1; } ++ ++ if test x"$ac_file" != x-; then ++ { echo "$as_me:$LINENO: creating $ac_file" >&5 ++echo "$as_me: creating $ac_file" >&6;} ++ rm -f "$ac_file" ++ fi + _ACEOF + cat >>$CONFIG_STATUS <<_ACEOF + sed "$ac_vpsub +diff -urN -urN -x config.guess -x config.sub gst-plugins-0.8.11.2.orig/ltmain.sh gst-plugins-0.8.11.2/ltmain.sh +--- gst-plugins-0.8.11.2.orig/ltmain.sh 2005-07-09 21:14:44.000000000 +0200 ++++ gst-plugins-0.8.11.2/ltmain.sh 2006-01-09 16:21:15.000000000 +0100 +@@ -43,8 +43,8 @@ + + PROGRAM=ltmain.sh + PACKAGE=libtool +-VERSION=1.5.18 +-TIMESTAMP=" (1.1220.2.246 2005/05/16 10:00:18)" ++VERSION="1.5.22 Debian 1.5.22-2" ++TIMESTAMP=" (1.1220.2.365 2005/12/18 22:14:06)" + + # See if we are running on zsh, and set the options which allow our + # commands through without removal of \ escapes. +@@ -88,14 +88,15 @@ + Xsed="${SED}"' -e 1s/^X//' + sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g' + # test EBCDIC or ASCII +-case `echo A|tr A '\301'` in +- A) # EBCDIC based system +- SP2NL="tr '\100' '\n'" +- NL2SP="tr '\r\n' '\100\100'" ++case `echo X|tr X '\101'` in ++ A) # ASCII based system ++ # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr ++ SP2NL='tr \040 \012' ++ NL2SP='tr \015\012 \040\040' + ;; +- *) # Assume ASCII based system +- SP2NL="tr '\040' '\012'" +- NL2SP="tr '\015\012' '\040\040'" ++ *) # EBCDIC based system ++ SP2NL='tr \100 \n' ++ NL2SP='tr \r\n \100\100' + ;; + esac + +@@ -131,14 +132,52 @@ + show="$echo" + show_help= + execute_dlfiles= ++duplicate_deps=no ++preserve_args= + lo2o="s/\\.lo\$/.${objext}/" + o2lo="s/\\.${objext}\$/.lo/" +-quote_scanset='[[~#^*{};<>?'"'"' ]' + + ##################################### + # Shell function definitions: + # This seems to be the best place for them + ++# func_mktempdir [string] ++# Make a temporary directory that won't clash with other running ++# libtool processes, and avoids race conditions if possible. If ++# given, STRING is the basename for that directory. ++func_mktempdir () ++{ ++ my_template="${TMPDIR-/tmp}/${1-$progname}" ++ ++ if test "$run" = ":"; then ++ # Return a directory name, but don't create it in dry-run mode ++ my_tmpdir="${my_template}-$$" ++ else ++ ++ # If mktemp works, use that first and foremost ++ my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null` ++ ++ if test ! -d "$my_tmpdir"; then ++ # Failing that, at least try and use $RANDOM to avoid a race ++ my_tmpdir="${my_template}-${RANDOM-0}$$" ++ ++ save_mktempdir_umask=`umask` ++ umask 0077 ++ $mkdir "$my_tmpdir" ++ umask $save_mktempdir_umask ++ fi ++ ++ # If we're not in dry-run mode, bomb out on failure ++ test -d "$my_tmpdir" || { ++ $echo "cannot create temporary directory \`$my_tmpdir'" 1>&2 ++ exit $EXIT_FAILURE ++ } ++ fi ++ ++ $echo "X$my_tmpdir" | $Xsed ++} ++ ++ + # func_win32_libid arg + # return the library type of file 'arg' + # +@@ -157,12 +196,11 @@ + if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \ + $EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then + win32_nmres=`eval $NM -f posix -A $1 | \ +- sed -n -e '1,100{/ I /{x;/import/!{s/^/import/;h;p;};x;};}'` +- if test "X$win32_nmres" = "Ximport" ; then +- win32_libid_type="x86 archive import" +- else +- win32_libid_type="x86 archive static" +- fi ++ $SED -n -e '1,100{/ I /{s,.*,import,;p;q;};}'` ++ case $win32_nmres in ++ import*) win32_libid_type="x86 archive import";; ++ *) win32_libid_type="x86 archive static";; ++ esac + fi + ;; + *DLL*) +@@ -192,7 +230,7 @@ + CC_quoted= + for arg in $CC; do + case $arg in +- *$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "") ++ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac +@@ -213,7 +251,7 @@ + for arg in $CC; do + # Double-quote args containing other shell metacharacters. + case $arg in +- *$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "") ++ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac +@@ -295,9 +333,9 @@ + $run ${rm}r "$my_xdir" + $show "$mkdir $my_xdir" + $run $mkdir "$my_xdir" +- status=$? +- if test "$status" -ne 0 && test ! -d "$my_xdir"; then +- exit $status ++ exit_status=$? ++ if test "$exit_status" -ne 0 && test ! -d "$my_xdir"; then ++ exit $exit_status + fi + case $host in + *-darwin*) +@@ -337,7 +375,7 @@ + func_extract_an_archive "$my_xdir" "$my_xabs" + fi # $darwin_arches + fi # $run +- ;; ++ ;; + *) + func_extract_an_archive "$my_xdir" "$my_xabs" + ;; +@@ -352,6 +390,8 @@ + # Darwin sucks + eval std_shrext=\"$shrext_cmds\" + ++disable_libs=no ++ + # Parse our command line options once, thoroughly. + while test "$#" -gt 0 + do +@@ -468,7 +508,11 @@ + preserve_args="$preserve_args $arg" + ;; + +- --tag) prevopt="--tag" prev=tag ;; ++ --tag) ++ prevopt="--tag" ++ prev=tag ++ preserve_args="$preserve_args --tag" ++ ;; + --tag=*) + set tag "$optarg" ${1+"$@"} + shift +@@ -500,6 +544,18 @@ + exit $EXIT_FAILURE + fi + ++case $disable_libs in ++no) ++ ;; ++shared) ++ build_libtool_libs=no ++ build_old_libs=yes ++ ;; ++static) ++ build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac` ++ ;; ++esac ++ + # If this variable is set in any of the actions, the command in it + # will be execed at the end. This prevents here-documents from being + # left over by shells. +@@ -576,7 +632,7 @@ + + for arg + do +- case "$arg_mode" in ++ case $arg_mode in + arg ) + # do not "continue". Instead, add this to base_compile + lastarg="$arg" +@@ -627,7 +683,7 @@ + # Many Bourne shells cannot handle close brackets correctly + # in scan sets, so we specify it separately. + case $arg in +- *$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "") ++ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac +@@ -662,7 +718,7 @@ + # in scan sets (worked around with variable expansion), + # and furthermore cannot handle '|' '&' '(' ')' in scan sets + # at all, so we specify them separately. +- *$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "") ++ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + lastarg="\"$lastarg\"" + ;; + esac +@@ -737,13 +793,12 @@ + + qlibobj=`$echo "X$libobj" | $Xsed -e "$sed_quote_subst"` + case $qlibobj in +- *$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "") ++ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + qlibobj="\"$qlibobj\"" ;; + esac +- if test "X$libobj" != "X$qlibobj"; then +- $echo "$modename: libobj name \`$libobj' may not contain shell special characters." +- exit $EXIT_FAILURE +- fi ++ test "X$libobj" != "X$qlibobj" \ ++ && $echo "X$libobj" | grep '[]~#^*{};<>?"'"'"' &()|`$[]' \ ++ && $echo "$modename: libobj name \`$libobj' may not contain shell special characters." + objname=`$echo "X$obj" | $Xsed -e 's%^.*/%%'` + xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'` + if test "X$xdir" = "X$obj"; then +@@ -824,7 +879,7 @@ + fi + qsrcfile=`$echo "X$srcfile" | $Xsed -e "$sed_quote_subst"` + case $qsrcfile in +- *$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "") ++ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + qsrcfile="\"$qsrcfile\"" ;; + esac + +@@ -857,9 +912,9 @@ + if test ! -d "${xdir}$objdir"; then + $show "$mkdir ${xdir}$objdir" + $run $mkdir ${xdir}$objdir +- status=$? +- if test "$status" -ne 0 && test ! -d "${xdir}$objdir"; then +- exit $status ++ exit_status=$? ++ if test "$exit_status" -ne 0 && test ! -d "${xdir}$objdir"; then ++ exit $exit_status + fi + fi + +@@ -1062,6 +1117,7 @@ + no_install=no + objs= + non_pic_objects= ++ notinst_path= # paths that contain not-installed libtool libraries + precious_files_regex= + prefer_static_libs=no + preload=no +@@ -1090,14 +1146,15 @@ + if test -n "$link_static_flag"; then + dlopen_self=$dlopen_self_static + fi ++ prefer_static_libs=yes + else + if test -z "$pic_flag" && test -n "$link_static_flag"; then + dlopen_self=$dlopen_self_static + fi ++ prefer_static_libs=built + fi + build_libtool_libs=no + build_old_libs=yes +- prefer_static_libs=yes + break + ;; + esac +@@ -1111,7 +1168,7 @@ + arg="$1" + shift + case $arg in +- *$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "") ++ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + qarg=\"`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`\" ### testsuite: skip nested quoting test + ;; + *) qarg=$arg ;; +@@ -1272,6 +1329,11 @@ + if test -z "$pic_object" || test "$pic_object" = none ; then + arg="$non_pic_object" + fi ++ else ++ # If the PIC object exists, use it instead. ++ # $xdir was prepended to $pic_object above. ++ non_pic_object="$pic_object" ++ non_pic_objects="$non_pic_objects $non_pic_object" + fi + else + # Only an error if not doing a dry-run. +@@ -1355,8 +1417,8 @@ + prev= + continue + ;; +- darwin_framework) +- compiler_flags="$compiler_flags $arg" ++ darwin_framework|darwin_framework_skip) ++ test "$prev" = "darwin_framework" && compiler_flags="$compiler_flags $arg" + compile_command="$compile_command $arg" + finalize_command="$finalize_command $arg" + prev= +@@ -1420,13 +1482,17 @@ + continue + ;; + +- -framework) +- prev=darwin_framework +- compiler_flags="$compiler_flags $arg" ++ -framework|-arch|-isysroot) ++ case " $CC " in ++ *" ${arg} ${1} "* | *" ${arg} ${1} "*) ++ prev=darwin_framework_skip ;; ++ *) compiler_flags="$compiler_flags $arg" ++ prev=darwin_framework ;; ++ esac + compile_command="$compile_command $arg" + finalize_command="$finalize_command $arg" +- continue +- ;; ++ continue ++ ;; + + -inst-prefix-dir) + prev=inst_prefix +@@ -1454,7 +1520,8 @@ + absdir=`cd "$dir" && pwd` + if test -z "$absdir"; then + $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2 +- exit $EXIT_FAILURE ++ absdir="$dir" ++ notinst_path="$notinst_path $dir" + fi + dir="$absdir" + ;; +@@ -1468,10 +1535,15 @@ + esac + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) ++ testbindir=`$echo "X$dir" | $Xsed -e 's*/lib$*/bin*'` + case :$dllsearchpath: in + *":$dir:"*) ;; + *) dllsearchpath="$dllsearchpath:$dir";; + esac ++ case :$dllsearchpath: in ++ *":$testbindir:"*) ;; ++ *) dllsearchpath="$dllsearchpath:$testbindir";; ++ esac + ;; + esac + continue +@@ -1480,11 +1552,11 @@ + -l*) + if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then + case $host in +- *-*-cygwin* | *-*-pw32* | *-*-beos*) ++ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos*) + # These systems don't actually have a C or math library (as such) + continue + ;; +- *-*-mingw* | *-*-os2*) ++ *-*-os2*) + # These systems don't actually have a C library (as such) + test "X$arg" = "X-lc" && continue + ;; +@@ -1496,6 +1568,15 @@ + # Rhapsody C and math libraries are in the System framework + deplibs="$deplibs -framework System" + continue ++ ;; ++ *-*-sco3.2v5* | *-*-sco5v6*) ++ # Causes problems with __ctype ++ test "X$arg" = "X-lc" && continue ++ ;; ++ *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) ++ # Compiler inserts libc in the correct place for threads to work ++ test "X$arg" = "X-lc" && continue ++ ;; + esac + elif test "X$arg" = "X-lc_r"; then + case $host in +@@ -1537,21 +1618,24 @@ + # +DA*, +DD* enable 64-bit mode on the HP compiler + # -q* pass through compiler args for the IBM compiler + # -m* pass through architecture-specific compiler args for GCC +- -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*) ++ # -m*, -t[45]*, -txscale* pass through architecture-specific ++ # compiler args for GCC ++ # -pg pass through profiling flag for GCC ++ # @file GCC response files ++ -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*|-pg| \ ++ -t[45]*|-txscale*|@*) + + # Unknown arguments in both finalize_command and compile_command need + # to be aesthetically quoted because they are evaled later. + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` + case $arg in +- *$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "") ++ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac + compile_command="$compile_command $arg" + finalize_command="$finalize_command $arg" +- if test "$with_gcc" = "yes" ; then +- compiler_flags="$compiler_flags $arg" +- fi ++ compiler_flags="$compiler_flags $arg" + continue + ;; + +@@ -1659,7 +1743,7 @@ + for flag in $args; do + IFS="$save_ifs" + case $flag in +- *$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "") ++ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + flag="\"$flag\"" + ;; + esac +@@ -1677,7 +1761,7 @@ + for flag in $args; do + IFS="$save_ifs" + case $flag in +- *$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "") ++ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + flag="\"$flag\"" + ;; + esac +@@ -1710,7 +1794,7 @@ + # to be aesthetically quoted because they are evaled later. + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` + case $arg in +- *$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "") ++ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac +@@ -1789,6 +1873,11 @@ + if test -z "$pic_object" || test "$pic_object" = none ; then + arg="$non_pic_object" + fi ++ else ++ # If the PIC object exists, use it instead. ++ # $xdir was prepended to $pic_object above. ++ non_pic_object="$pic_object" ++ non_pic_objects="$non_pic_objects $non_pic_object" + fi + else + # Only an error if not doing a dry-run. +@@ -1844,7 +1933,7 @@ + # to be aesthetically quoted because they are evaled later. + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` + case $arg in +- *$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "") ++ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac +@@ -1894,9 +1983,9 @@ + if test ! -d "$output_objdir"; then + $show "$mkdir $output_objdir" + $run $mkdir $output_objdir +- status=$? +- if test "$status" -ne 0 && test ! -d "$output_objdir"; then +- exit $status ++ exit_status=$? ++ if test "$exit_status" -ne 0 && test ! -d "$output_objdir"; then ++ exit $exit_status + fi + fi + +@@ -1959,7 +2048,6 @@ + newlib_search_path= + need_relink=no # whether we're linking any uninstalled libtool libraries + notinst_deplibs= # not-installed libtool libraries +- notinst_path= # paths that contain not-installed libtool libraries + case $linkmode in + lib) + passes="conv link" +@@ -1994,7 +2082,10 @@ + case $pass in + dlopen) libs="$dlfiles" ;; + dlpreopen) libs="$dlprefiles" ;; +- link) libs="$deplibs %DEPLIBS% $dependency_libs" ;; ++ link) ++ libs="$deplibs %DEPLIBS%" ++ test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs" ++ ;; + esac + fi + if test "$pass" = dlopen; then +@@ -2195,7 +2286,7 @@ + esac # case $deplib + if test "$found" = yes || test -f "$lib"; then : + else +- $echo "$modename: cannot find the library \`$lib'" 1>&2 ++ $echo "$modename: cannot find the library \`$lib' or unhandled argument \`$deplib'" 1>&2 + exit $EXIT_FAILURE + fi + +@@ -2409,7 +2500,7 @@ + case "$temp_rpath " in + *" $dir "*) ;; + *" $absdir "*) ;; +- *) temp_rpath="$temp_rpath $dir" ;; ++ *) temp_rpath="$temp_rpath $absdir" ;; + esac + fi + +@@ -2446,8 +2537,12 @@ + fi + + link_static=no # Whether the deplib will be linked statically ++ use_static_libs=$prefer_static_libs ++ if test "$use_static_libs" = built && test "$installed" = yes ; then ++ use_static_libs=no ++ fi + if test -n "$library_names" && +- { test "$prefer_static_libs" = no || test -z "$old_library"; }; then ++ { test "$use_static_libs" = no || test -z "$old_library"; }; then + if test "$installed" = no; then + notinst_deplibs="$notinst_deplibs $lib" + need_relink=yes +@@ -2560,11 +2655,15 @@ + if test "$hardcode_direct" = no; then + add="$dir/$linklib" + case $host in +- *-*-sco3.2v5* ) add_dir="-L$dir" ;; ++ *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;; ++ *-*-sysv4*uw2*) add_dir="-L$dir" ;; ++ *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \ ++ *-*-unixware7*) add_dir="-L$dir" ;; + *-*-darwin* ) + # if the lib is a module then we can not link against + # it, someone is ignoring the new warnings I added +- if /usr/bin/file -L $add 2> /dev/null | $EGREP "bundle" >/dev/null ; then ++ if /usr/bin/file -L $add 2> /dev/null | ++ $EGREP ": [^:]* bundle" >/dev/null ; then + $echo "** Warning, lib $linklib is a module, not a shared library" + if test -z "$old_library" ; then + $echo +@@ -2595,7 +2694,7 @@ + add_dir="-L$dir" + # Try looking first in the location we're being installed to. + if test -n "$inst_prefix_dir"; then +- case "$libdir" in ++ case $libdir in + [\\/]*) + add_dir="$add_dir -L$inst_prefix_dir$libdir" + ;; +@@ -2668,7 +2767,7 @@ + add_dir="-L$libdir" + # Try looking first in the location we're being installed to. + if test -n "$inst_prefix_dir"; then +- case "$libdir" in ++ case $libdir in + [\\/]*) + add_dir="$add_dir -L$inst_prefix_dir$libdir" + ;; +@@ -2729,8 +2828,6 @@ + fi + fi + else +- convenience="$convenience $dir/$old_library" +- old_convenience="$old_convenience $dir/$old_library" + deplibs="$dir/$old_library $deplibs" + link_static=yes + fi +@@ -3107,6 +3204,11 @@ + age="$number_minor" + revision="$number_minor" + ;; ++ *) ++ $echo "$modename: unknown library version type \`$version_type'" 1>&2 ++ $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2 ++ exit $EXIT_FAILURE ++ ;; + esac + ;; + no) +@@ -3317,9 +3419,9 @@ + + # Eliminate all temporary directories. + for path in $notinst_path; do +- lib_search_path=`$echo "$lib_search_path " | ${SED} -e 's% $path % %g'` +- deplibs=`$echo "$deplibs " | ${SED} -e 's% -L$path % %g'` +- dependency_libs=`$echo "$dependency_libs " | ${SED} -e 's% -L$path % %g'` ++ lib_search_path=`$echo "$lib_search_path " | ${SED} -e "s% $path % %g"` ++ deplibs=`$echo "$deplibs " | ${SED} -e "s% -L$path % %g"` ++ dependency_libs=`$echo "$dependency_libs " | ${SED} -e "s% -L$path % %g"` + done + + if test -n "$xrpath"; then +@@ -3372,7 +3474,12 @@ + ;; + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) + # Do not include libc due to us having libc/libc_r. +- test "X$arg" = "X-lc" && continue ++ ;; ++ *-*-sco3.2v5* | *-*-sco5v6*) ++ # Causes problems with __ctype ++ ;; ++ *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) ++ # Compiler inserts libc in the correct place for threads to work + ;; + *) + # Add libc to deplibs on all other systems if necessary. +@@ -3416,11 +3523,11 @@ + int main() { return 0; } + EOF + $rm conftest +- $LTCC -o conftest conftest.c $deplibs ++ $LTCC $LTCFLAGS -o conftest conftest.c $deplibs + if test "$?" -eq 0 ; then + ldd_output=`ldd conftest` + for i in $deplibs; do +- name="`expr $i : '-l\(.*\)'`" ++ name=`expr $i : '-l\(.*\)'` + # If $name is empty we are operating on a -L argument. + if test "$name" != "" && test "$name" -ne "0"; then + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then +@@ -3457,11 +3564,11 @@ + # Error occurred in the first compile. Let's try to salvage + # the situation: Compile a separate program for each library. + for i in $deplibs; do +- name="`expr $i : '-l\(.*\)'`" ++ name=`expr $i : '-l\(.*\)'` + # If $name is empty we are operating on a -L argument. + if test "$name" != "" && test "$name" != "0"; then + $rm conftest +- $LTCC -o conftest conftest.c $i ++ $LTCC $LTCFLAGS -o conftest conftest.c $i + # Did it work? + if test "$?" -eq 0 ; then + ldd_output=`ldd conftest` +@@ -3509,7 +3616,7 @@ + set dummy $deplibs_check_method + file_magic_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"` + for a_deplib in $deplibs; do +- name="`expr $a_deplib : '-l\(.*\)'`" ++ name=`expr $a_deplib : '-l\(.*\)'` + # If $name is empty we are operating on a -L argument. + if test "$name" != "" && test "$name" != "0"; then + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then +@@ -3578,7 +3685,7 @@ + set dummy $deplibs_check_method + match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"` + for a_deplib in $deplibs; do +- name="`expr $a_deplib : '-l\(.*\)'`" ++ name=`expr $a_deplib : '-l\(.*\)'` + # If $name is empty we are operating on a -L argument. + if test -n "$name" && test "$name" != "0"; then + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then +@@ -3708,6 +3815,35 @@ + deplibs=$newdeplibs + fi + ++ ++ # move library search paths that coincide with paths to not yet ++ # installed libraries to the beginning of the library search list ++ new_libs= ++ for path in $notinst_path; do ++ case " $new_libs " in ++ *" -L$path/$objdir "*) ;; ++ *) ++ case " $deplibs " in ++ *" -L$path/$objdir "*) ++ new_libs="$new_libs -L$path/$objdir" ;; ++ esac ++ ;; ++ esac ++ done ++ for deplib in $deplibs; do ++ case $deplib in ++ -L*) ++ case " $new_libs " in ++ *" $deplib "*) ;; ++ *) new_libs="$new_libs $deplib" ;; ++ esac ++ ;; ++ *) new_libs="$new_libs $deplib" ;; ++ esac ++ done ++ deplibs="$new_libs" ++ ++ + # All the library-specific variables (install_libdir is set above). + library_names= + old_library= +@@ -3791,6 +3927,7 @@ + fi + + lib="$output_objdir/$realname" ++ linknames= + for link + do + linknames="$linknames $link" +@@ -3819,6 +3956,9 @@ + # The command line is too long to execute in one step. + $show "using reloadable object file for export list..." + skipped_export=: ++ # Break out early, otherwise skipped_export may be ++ # set to false by a later but shorter cmd. ++ break + fi + done + IFS="$save_ifs" +@@ -3888,7 +4028,8 @@ + fi + fi + +- if test "X$skipped_export" != "X:" && len=`expr "X$test_cmds" : ".*"` && ++ if test "X$skipped_export" != "X:" && ++ len=`expr "X$test_cmds" : ".*" 2>/dev/null` && + test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then + : + else +@@ -3923,7 +4064,7 @@ + do + eval test_cmds=\"$reload_cmds $objlist $last_robj\" + if test "X$objlist" = X || +- { len=`expr "X$test_cmds" : ".*"` && ++ { len=`expr "X$test_cmds" : ".*" 2>/dev/null` && + test "$len" -le "$max_cmd_len"; }; then + objlist="$objlist $obj" + else +@@ -4013,13 +4154,30 @@ + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" +- $run eval "$cmd" || exit $? ++ $run eval "$cmd" || { ++ lt_exit=$? ++ ++ # Restore the uninstalled library and exit ++ if test "$mode" = relink; then ++ $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)' ++ fi ++ ++ exit $lt_exit ++ } + done + IFS="$save_ifs" + + # Restore the uninstalled library and exit + if test "$mode" = relink; then + $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $? ++ ++ if test -n "$convenience"; then ++ if test -z "$whole_archive_flag_spec"; then ++ $show "${rm}r $gentop" ++ $run ${rm}r "$gentop" ++ fi ++ fi ++ + exit $EXIT_SUCCESS + fi + +@@ -4201,6 +4359,35 @@ + ;; + esac + ++ ++ # move library search paths that coincide with paths to not yet ++ # installed libraries to the beginning of the library search list ++ new_libs= ++ for path in $notinst_path; do ++ case " $new_libs " in ++ *" -L$path/$objdir "*) ;; ++ *) ++ case " $compile_deplibs " in ++ *" -L$path/$objdir "*) ++ new_libs="$new_libs -L$path/$objdir" ;; ++ esac ++ ;; ++ esac ++ done ++ for deplib in $compile_deplibs; do ++ case $deplib in ++ -L*) ++ case " $new_libs " in ++ *" $deplib "*) ;; ++ *) new_libs="$new_libs $deplib" ;; ++ esac ++ ;; ++ *) new_libs="$new_libs $deplib" ;; ++ esac ++ done ++ compile_deplibs="$new_libs" ++ ++ + compile_command="$compile_command $compile_deplibs" + finalize_command="$finalize_command $finalize_deplibs" + +@@ -4245,10 +4432,15 @@ + fi + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) ++ testbindir=`$echo "X$libdir" | $Xsed -e 's*/lib$*/bin*'` + case :$dllsearchpath: in + *":$libdir:"*) ;; + *) dllsearchpath="$dllsearchpath:$libdir";; + esac ++ case :$dllsearchpath: in ++ *":$testbindir:"*) ;; ++ *) dllsearchpath="$dllsearchpath:$testbindir";; ++ esac + ;; + esac + done +@@ -4364,11 +4556,23 @@ + if test -z "$export_symbols"; then + export_symbols="$output_objdir/$outputname.exp" + $run $rm $export_symbols +- $run eval "${SED} -n -e '/^: @PROGRAM@$/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' ++ $run eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' ++ case $host in ++ *cygwin* | *mingw* ) ++ $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' ++ $run eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"' ++ ;; ++ esac + else +- $run eval "${SED} -e 's/\([ ][.*^$]\)/\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"' ++ $run eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"' + $run eval 'grep -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T' + $run eval 'mv "$nlist"T "$nlist"' ++ case $host in ++ *cygwin* | *mingw* ) ++ $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' ++ $run eval 'cat "$nlist" >> "$output_objdir/$outputname.def"' ++ ;; ++ esac + fi + fi + +@@ -4485,16 +4689,29 @@ + esac + + # Now compile the dynamic symbol file. +- $show "(cd $output_objdir && $LTCC -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")" +- $run eval '(cd $output_objdir && $LTCC -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $? ++ $show "(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")" ++ $run eval '(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $? + + # Clean up the generated files. + $show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T" + $run $rm "$output_objdir/$dlsyms" "$nlist" "${nlist}S" "${nlist}T" + + # Transform the symbol file into the correct name. +- compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"` +- finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"` ++ case $host in ++ *cygwin* | *mingw* ) ++ if test -f "$output_objdir/${outputname}.def" ; then ++ compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%"` ++ finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%"` ++ else ++ compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"` ++ finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"` ++ fi ++ ;; ++ * ) ++ compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"` ++ finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"` ++ ;; ++ esac + ;; + *) + $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2 +@@ -4519,7 +4736,7 @@ + # We have no uninstalled library dependencies, so finalize right now. + $show "$link_command" + $run eval "$link_command" +- status=$? ++ exit_status=$? + + # Delete the generated files. + if test -n "$dlsyms"; then +@@ -4527,7 +4744,7 @@ + $run $rm "$output_objdir/${outputname}S.${objext}" + fi + +- exit $status ++ exit $exit_status + fi + + if test -n "$shlibpath_var"; then +@@ -4667,10 +4884,12 @@ + esac + case $host in + *cygwin* | *mingw* ) +- cwrappersource=`$echo ${objdir}/lt-${outputname}.c` +- cwrapper=`$echo ${output}.exe` +- $rm $cwrappersource $cwrapper +- trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15 ++ output_name=`basename $output` ++ output_path=`dirname $output` ++ cwrappersource="$output_path/$objdir/lt-$output_name.c" ++ cwrapper="$output_path/$output_name.exe" ++ $rm $cwrappersource $cwrapper ++ trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15 + + cat > $cwrappersource < + #include + #include ++#include ++#include ++#include + + #if defined(PATH_MAX) + # define LT_PATHMAX PATH_MAX +@@ -4705,15 +4927,19 @@ + #endif + + #ifndef DIR_SEPARATOR +-#define DIR_SEPARATOR '/' ++# define DIR_SEPARATOR '/' ++# define PATH_SEPARATOR ':' + #endif + + #if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \ + defined (__OS2__) +-#define HAVE_DOS_BASED_FILE_SYSTEM +-#ifndef DIR_SEPARATOR_2 +-#define DIR_SEPARATOR_2 '\\' +-#endif ++# define HAVE_DOS_BASED_FILE_SYSTEM ++# ifndef DIR_SEPARATOR_2 ++# define DIR_SEPARATOR_2 '\\' ++# endif ++# ifndef PATH_SEPARATOR_2 ++# define PATH_SEPARATOR_2 ';' ++# endif + #endif + + #ifndef DIR_SEPARATOR_2 +@@ -4723,17 +4949,32 @@ + (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2)) + #endif /* DIR_SEPARATOR_2 */ + ++#ifndef PATH_SEPARATOR_2 ++# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR) ++#else /* PATH_SEPARATOR_2 */ ++# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2) ++#endif /* PATH_SEPARATOR_2 */ ++ + #define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type))) + #define XFREE(stale) do { \ + if (stale) { free ((void *) stale); stale = 0; } \ + } while (0) + ++/* -DDEBUG is fairly common in CFLAGS. */ ++#undef DEBUG ++#if defined DEBUGWRAPPER ++# define DEBUG(format, ...) fprintf(stderr, format, __VA_ARGS__) ++#else ++# define DEBUG(format, ...) ++#endif ++ + const char *program_name = NULL; + + void * xmalloc (size_t num); + char * xstrdup (const char *string); +-char * basename (const char *name); +-char * fnqualify(const char *path); ++const char * base_name (const char *name); ++char * find_executable(const char *wrapper); ++int check_executable(const char *path); + char * strendzap(char *str, const char *pat); + void lt_fatal (const char *message, ...); + +@@ -4743,29 +4984,51 @@ + char **newargz; + int i; + +- program_name = (char *) xstrdup ((char *) basename (argv[0])); ++ program_name = (char *) xstrdup (base_name (argv[0])); ++ DEBUG("(main) argv[0] : %s\n",argv[0]); ++ DEBUG("(main) program_name : %s\n",program_name); + newargz = XMALLOC(char *, argc+2); + EOF + +- cat >> $cwrappersource <> $cwrappersource <> $cwrappersource <<"EOF" +- newargz[1] = fnqualify(argv[0]); ++ cat >> $cwrappersource <<"EOF" ++ newargz[1] = find_executable(argv[0]); ++ if (newargz[1] == NULL) ++ lt_fatal("Couldn't find %s", argv[0]); ++ DEBUG("(main) found exe at : %s\n",newargz[1]); + /* we know the script has the same name, without the .exe */ + /* so make sure newargz[1] doesn't end in .exe */ + strendzap(newargz[1],".exe"); + for (i = 1; i < argc; i++) + newargz[i+1] = xstrdup(argv[i]); + newargz[argc+1] = NULL; ++ ++ for (i=0; i> $cwrappersource <> $cwrappersource <> $cwrappersource <> $cwrappersource <<"EOF" ++ cat >> $cwrappersource <<"EOF" ++ return 127; + } + + void * +@@ -4785,48 +5048,148 @@ + ; + } + +-char * +-basename (const char *name) ++const char * ++base_name (const char *name) + { + const char *base; + + #if defined (HAVE_DOS_BASED_FILE_SYSTEM) + /* Skip over the disk name in MSDOS pathnames. */ +- if (isalpha (name[0]) && name[1] == ':') ++ if (isalpha ((unsigned char)name[0]) && name[1] == ':') + name += 2; + #endif + + for (base = name; *name; name++) + if (IS_DIR_SEPARATOR (*name)) + base = name + 1; +- return (char *) base; ++ return base; + } + ++int ++check_executable(const char * path) ++{ ++ struct stat st; ++ ++ DEBUG("(check_executable) : %s\n", path ? (*path ? path : "EMPTY!") : "NULL!"); ++ if ((!path) || (!*path)) ++ return 0; ++ ++ if ((stat (path, &st) >= 0) && ++ ( ++ /* MinGW & native WIN32 do not support S_IXOTH or S_IXGRP */ ++#if defined (S_IXOTH) ++ ((st.st_mode & S_IXOTH) == S_IXOTH) || ++#endif ++#if defined (S_IXGRP) ++ ((st.st_mode & S_IXGRP) == S_IXGRP) || ++#endif ++ ((st.st_mode & S_IXUSR) == S_IXUSR)) ++ ) ++ return 1; ++ else ++ return 0; ++} ++ ++/* Searches for the full path of the wrapper. Returns ++ newly allocated full path name if found, NULL otherwise */ + char * +-fnqualify(const char *path) ++find_executable (const char* wrapper) + { +- size_t size; +- char *p; ++ int has_slash = 0; ++ const char* p; ++ const char* p_next; ++ /* static buffer for getcwd */ + char tmp[LT_PATHMAX + 1]; ++ int tmp_len; ++ char* concat_name; ++ ++ DEBUG("(find_executable) : %s\n", wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!"); + +- assert(path != NULL); ++ if ((wrapper == NULL) || (*wrapper == '\0')) ++ return NULL; + +- /* Is it qualified already? */ ++ /* Absolute path? */ ++#if defined (HAVE_DOS_BASED_FILE_SYSTEM) ++ if (isalpha ((unsigned char)wrapper[0]) && wrapper[1] == ':') ++ { ++ concat_name = xstrdup (wrapper); ++ if (check_executable(concat_name)) ++ return concat_name; ++ XFREE(concat_name); ++ } ++ else ++ { ++#endif ++ if (IS_DIR_SEPARATOR (wrapper[0])) ++ { ++ concat_name = xstrdup (wrapper); ++ if (check_executable(concat_name)) ++ return concat_name; ++ XFREE(concat_name); ++ } + #if defined (HAVE_DOS_BASED_FILE_SYSTEM) +- if (isalpha (path[0]) && path[1] == ':') +- return xstrdup (path); ++ } + #endif +- if (IS_DIR_SEPARATOR (path[0])) +- return xstrdup (path); + +- /* prepend the current directory */ +- /* doesn't handle '~' */ ++ for (p = wrapper; *p; p++) ++ if (*p == '/') ++ { ++ has_slash = 1; ++ break; ++ } ++ if (!has_slash) ++ { ++ /* no slashes; search PATH */ ++ const char* path = getenv ("PATH"); ++ if (path != NULL) ++ { ++ for (p = path; *p; p = p_next) ++ { ++ const char* q; ++ size_t p_len; ++ for (q = p; *q; q++) ++ if (IS_PATH_SEPARATOR(*q)) ++ break; ++ p_len = q - p; ++ p_next = (*q == '\0' ? q : q + 1); ++ if (p_len == 0) ++ { ++ /* empty path: current directory */ ++ if (getcwd (tmp, LT_PATHMAX) == NULL) ++ lt_fatal ("getcwd failed"); ++ tmp_len = strlen(tmp); ++ concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1); ++ memcpy (concat_name, tmp, tmp_len); ++ concat_name[tmp_len] = '/'; ++ strcpy (concat_name + tmp_len + 1, wrapper); ++ } ++ else ++ { ++ concat_name = XMALLOC(char, p_len + 1 + strlen(wrapper) + 1); ++ memcpy (concat_name, p, p_len); ++ concat_name[p_len] = '/'; ++ strcpy (concat_name + p_len + 1, wrapper); ++ } ++ if (check_executable(concat_name)) ++ return concat_name; ++ XFREE(concat_name); ++ } ++ } ++ /* not found in PATH; assume curdir */ ++ } ++ /* Relative path | not found in path: prepend cwd */ + if (getcwd (tmp, LT_PATHMAX) == NULL) + lt_fatal ("getcwd failed"); +- size = strlen(tmp) + 1 + strlen(path) + 1; /* +2 for '/' and '\0' */ +- p = XMALLOC(char, size); +- sprintf(p, "%s%c%s", tmp, DIR_SEPARATOR, path); +- return p; ++ tmp_len = strlen(tmp); ++ concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1); ++ memcpy (concat_name, tmp, tmp_len); ++ concat_name[tmp_len] = '/'; ++ strcpy (concat_name + tmp_len + 1, wrapper); ++ ++ if (check_executable(concat_name)) ++ return concat_name; ++ XFREE(concat_name); ++ return NULL; + } + + char * +@@ -4870,16 +5233,16 @@ + va_end (ap); + } + EOF +- # we should really use a build-platform specific compiler +- # here, but OTOH, the wrappers (shell script and this C one) +- # are only useful if you want to execute the "real" binary. +- # Since the "real" binary is built for $host, then this +- # wrapper might as well be built for $host, too. +- $run $LTCC -s -o $cwrapper $cwrappersource +- ;; +- esac +- $rm $output +- trap "$rm $output; exit $EXIT_FAILURE" 1 2 15 ++ # we should really use a build-platform specific compiler ++ # here, but OTOH, the wrappers (shell script and this C one) ++ # are only useful if you want to execute the "real" binary. ++ # Since the "real" binary is built for $host, then this ++ # wrapper might as well be built for $host, too. ++ $run $LTCC $LTCFLAGS -s -o $cwrapper $cwrappersource ++ ;; ++ esac ++ $rm $output ++ trap "$rm $output; exit $EXIT_FAILURE" 1 2 15 + + $echo > $output "\ + #! $SHELL +@@ -5029,13 +5392,13 @@ + # Backslashes separate directories on plain windows + *-*-mingw | *-*-os2*) + $echo >> $output "\ +- exec \$progdir\\\\\$program \${1+\"\$@\"} ++ exec \"\$progdir\\\\\$program\" \${1+\"\$@\"} + " + ;; + + *) + $echo >> $output "\ +- exec \$progdir/\$program \${1+\"\$@\"} ++ exec \"\$progdir/\$program\" \${1+\"\$@\"} + " + ;; + esac +@@ -5045,7 +5408,7 @@ + fi + else + # The program doesn't exist. +- \$echo \"\$0: error: \$progdir/\$program does not exist\" 1>&2 ++ \$echo \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2 + \$echo \"This script is just a wrapper for \$program.\" 1>&2 + $echo \"See the $PACKAGE documentation for more information.\" 1>&2 + exit $EXIT_FAILURE +@@ -5109,9 +5472,9 @@ + $run ${rm}r "$gentop" + $show "$mkdir $gentop" + $run $mkdir "$gentop" +- status=$? +- if test "$status" -ne 0 && test ! -d "$gentop"; then +- exit $status ++ exit_status=$? ++ if test "$exit_status" -ne 0 && test ! -d "$gentop"; then ++ exit $exit_status + fi + fi + +@@ -5168,7 +5531,7 @@ + oldobjs="$objlist $obj" + objlist="$objlist $obj" + eval test_cmds=\"$old_archive_cmds\" +- if len=`expr "X$test_cmds" : ".*"` && ++ if len=`expr "X$test_cmds" : ".*" 2>/dev/null` && + test "$len" -le "$max_cmd_len"; then + : + else +@@ -5365,11 +5728,11 @@ + # install_prog (especially on Windows NT). + if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh || + # Allow the use of GNU shtool's install command. +- $echo "X$nonopt" | $Xsed | grep shtool > /dev/null; then ++ $echo "X$nonopt" | grep shtool > /dev/null; then + # Aesthetically quote it. + arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"` + case $arg in +- *$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "") ++ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac +@@ -5378,14 +5741,14 @@ + shift + else + install_prog= +- arg="$nonopt" ++ arg=$nonopt + fi + + # The real first argument should be the name of the installation program. + # Aesthetically quote it. + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` + case $arg in +- *$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "") ++ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac +@@ -5403,28 +5766,31 @@ + do + if test -n "$dest"; then + files="$files $dest" +- dest="$arg" ++ dest=$arg + continue + fi + + case $arg in + -d) isdir=yes ;; +- -f) prev="-f" ;; +- -g) prev="-g" ;; +- -m) prev="-m" ;; +- -o) prev="-o" ;; ++ -f) ++ case " $install_prog " in ++ *[\\\ /]cp\ *) ;; ++ *) prev=$arg ;; ++ esac ++ ;; ++ -g | -m | -o) prev=$arg ;; + -s) + stripme=" -s" + continue + ;; +- -*) ;; +- ++ -*) ++ ;; + *) + # If the previous option needed an argument, then skip it. + if test -n "$prev"; then + prev= + else +- dest="$arg" ++ dest=$arg + continue + fi + ;; +@@ -5433,7 +5799,7 @@ + # Aesthetically quote the argument. + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` + case $arg in +- *$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "") ++ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac +@@ -5602,11 +5968,14 @@ + + if test "$#" -gt 0; then + # Delete the old symlinks, and create new ones. ++ # Try `ln -sf' first, because the `ln' binary might depend on ++ # the symlink we replace! Solaris /bin/ln does not understand -f, ++ # so we also need to try rm && ln -s. + for linkname + do + if test "$linkname" != "$realname"; then +- $show "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)" +- $run eval "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)" ++ $show "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })" ++ $run eval "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })" + fi + done + fi +@@ -5619,7 +5988,16 @@ + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" +- $run eval "$cmd" || exit $? ++ $run eval "$cmd" || { ++ lt_exit=$? ++ ++ # Restore the uninstalled library and exit ++ if test "$mode" = relink; then ++ $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)' ++ fi ++ ++ exit $lt_exit ++ } + done + IFS="$save_ifs" + fi +@@ -5713,17 +6091,15 @@ + notinst_deplibs= + relink_command= + +- # To insure that "foo" is sourced, and not "foo.exe", +- # finese the cygwin/MSYS system by explicitly sourcing "foo." +- # which disallows the automatic-append-.exe behavior. +- case $build in +- *cygwin* | *mingw*) wrapperdot=${wrapper}. ;; +- *) wrapperdot=${wrapper} ;; +- esac ++ # Note that it is not necessary on cygwin/mingw to append a dot to ++ # foo even if both foo and FILE.exe exist: automatic-append-.exe ++ # behavior happens only for exec(3), not for open(2)! Also, sourcing ++ # `FILE.' does not work on cygwin managed mounts. ++ # + # If there is no directory component, then add one. +- case $file in +- */* | *\\*) . ${wrapperdot} ;; +- *) . ./${wrapperdot} ;; ++ case $wrapper in ++ */* | *\\*) . ${wrapper} ;; ++ *) . ./${wrapper} ;; + esac + + # Check the variables that should have been set. +@@ -5751,34 +6127,21 @@ + done + + relink_command= +- # To insure that "foo" is sourced, and not "foo.exe", +- # finese the cygwin/MSYS system by explicitly sourcing "foo." +- # which disallows the automatic-append-.exe behavior. +- case $build in +- *cygwin* | *mingw*) wrapperdot=${wrapper}. ;; +- *) wrapperdot=${wrapper} ;; +- esac ++ # Note that it is not necessary on cygwin/mingw to append a dot to ++ # foo even if both foo and FILE.exe exist: automatic-append-.exe ++ # behavior happens only for exec(3), not for open(2)! Also, sourcing ++ # `FILE.' does not work on cygwin managed mounts. ++ # + # If there is no directory component, then add one. +- case $file in +- */* | *\\*) . ${wrapperdot} ;; +- *) . ./${wrapperdot} ;; ++ case $wrapper in ++ */* | *\\*) . ${wrapper} ;; ++ *) . ./${wrapper} ;; + esac + + outputname= + if test "$fast_install" = no && test -n "$relink_command"; then + if test "$finalize" = yes && test -z "$run"; then +- tmpdir="/tmp" +- test -n "$TMPDIR" && tmpdir="$TMPDIR" +- tmpdir="$tmpdir/libtool-$$" +- save_umask=`umask` +- umask 0077 +- if $mkdir "$tmpdir"; then +- umask $save_umask +- else +- umask $save_umask +- $echo "$modename: error: cannot create temporary directory \`$tmpdir'" 1>&2 +- continue +- fi ++ tmpdir=`func_mktempdir` + file=`$echo "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'` + outputname="$tmpdir/$file" + # Replace the output file specification. +@@ -5802,7 +6165,7 @@ + fi + + # remove .exe since cygwin /usr/bin/install will append another +- # one anyways ++ # one anyway + case $install_prog,$host in + */usr/bin/install*,*cygwin*) + case $file:$destfile in +@@ -5902,7 +6265,7 @@ + # Exit here if they wanted silent mode. + test "$show" = : && exit $EXIT_SUCCESS + +- $echo "----------------------------------------------------------------------" ++ $echo "X----------------------------------------------------------------------" | $Xsed + $echo "Libraries have been installed in:" + for libdir in $libdirs; do + $echo " $libdir" +@@ -5935,7 +6298,7 @@ + $echo + $echo "See any operating system documentation about shared libraries for" + $echo "more information, such as the ld(1) and ld.so(8) manual pages." +- $echo "----------------------------------------------------------------------" ++ $echo "X----------------------------------------------------------------------" | $Xsed + exit $EXIT_SUCCESS + ;; + +@@ -6152,9 +6515,17 @@ + rmfiles="$rmfiles $objdir/$n" + done + test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library" +- test "$mode" = clean && rmfiles="$rmfiles $objdir/$name $objdir/${name}i" + +- if test "$mode" = uninstall; then ++ case "$mode" in ++ clean) ++ case " $library_names " in ++ # " " in the beginning catches empty $dlname ++ *" $dlname "*) ;; ++ *) rmfiles="$rmfiles $objdir/$dlname" ;; ++ esac ++ test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i" ++ ;; ++ uninstall) + if test -n "$library_names"; then + # Do each command in the postuninstall commands. + cmds=$postuninstall_cmds +@@ -6187,7 +6558,8 @@ + IFS="$save_ifs" + fi + # FIXME: should reinstall the best remaining shared library. +- fi ++ ;; ++ esac + fi + ;; + +@@ -6486,12 +6858,11 @@ + # configuration. But we'll never go from static-only to shared-only. + + # ### BEGIN LIBTOOL TAG CONFIG: disable-shared +-build_libtool_libs=no +-build_old_libs=yes ++disable_libs=shared + # ### END LIBTOOL TAG CONFIG: disable-shared + + # ### BEGIN LIBTOOL TAG CONFIG: disable-static +-build_old_libs=`case $build_libtool_libs in yes) $echo no;; *) $echo yes;; esac` ++disable_libs=static + # ### END LIBTOOL TAG CONFIG: disable-static + + # Local Variables: --- gst-plugins0.8-0.8.12.orig/debian/patches/50_ladspa-quiet.patch +++ gst-plugins0.8-0.8.12/debian/patches/50_ladspa-quiet.patch @@ -0,0 +1,1075 @@ +diff -urNp gst-plugins-0.8.9.orig/ext/ladspa/gstladspa.c gst-plugins-0.8.9/ext/ladspa/gstladspa.c +--- gst-plugins-0.8.9.orig/ext/ladspa/gstladspa.c 2005-04-12 11:13:06.000000000 +0200 ++++ gst-plugins-0.8.9/ext/ladspa/gstladspa.c 2005-06-19 22:39:22.306057623 +0200 +@@ -514,7 +514,10 @@ gst_ladspa_init (GstLADSPA * ladspa) + /* for example, a plugin with only control inputs and output -- just ignore + * it for now */ + } else { +- g_warning ("%d sink pads, %d src pads not yet supported", sinkcount, ++ /* Changed from g_warning to DEBUG due to gst-compprep printing this for ++ * certain ladspa plugins such as SinCos ++ */ ++ GST_DEBUG_OBJECT (ladspa, "%d sink pads, %d src pads not yet supported", sinkcount, + srccount); + } + +diff -urNp gst-plugins-0.8.9.orig/ext/ladspa/gstladspa.c.orig gst-plugins-0.8.9/ext/ladspa/gstladspa.c.orig +--- gst-plugins-0.8.9.orig/ext/ladspa/gstladspa.c.orig 1970-01-01 01:00:00.000000000 +0100 ++++ gst-plugins-0.8.9/ext/ladspa/gstladspa.c.orig 2005-04-12 11:13:06.000000000 +0200 +@@ -0,0 +1,1056 @@ ++/* GStreamer ++ * Copyright (C) <1999> Erik Walthinsen ++ * <2001> Steve Baker ++ * 2003 Andy Wingo ++ * ++ * This library is free software; you can redistribute it and/or ++ * modify it under the terms of the GNU Library General Public ++ * License as published by the Free Software Foundation; either ++ * version 2 of the License, or (at your option) any later version. ++ * ++ * This library is distributed in the hope that it will be useful, ++ * but WITHOUT ANY WARRANTY; without even the implied warranty of ++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ * Library General Public License for more details. ++ * ++ * You should have received a copy of the GNU Library General Public ++ * License along with this library; if not, write to the ++ * Free Software Foundation, Inc., 59 Temple Place - Suite 330, ++ * Boston, MA 02111-1307, USA. ++ */ ++ ++#ifdef HAVE_CONFIG_H ++#include "config.h" ++#endif ++#include ++#include ++#include ++#include ++ ++#include "gstladspa.h" ++#include /* main ladspa sdk include file */ ++#include "utils.h" /* ladspa sdk utility functions */ ++ ++/* 1.0 and the 1.1 preliminary headers don't define a version, but 1.1 final ++ does */ ++#ifndef LADSPA_VERSION ++#define LADSPA_VERSION "1.0" ++#endif ++ ++static GstStaticCaps ladspa_pad_caps = ++GST_STATIC_CAPS (GST_AUDIO_FLOAT_STANDARD_PAD_TEMPLATE_CAPS); ++ ++static void gst_ladspa_class_init (GstLADSPAClass * klass); ++static void gst_ladspa_base_init (GstLADSPAClass * klass); ++static void gst_ladspa_init (GstLADSPA * ladspa); ++ ++static void gst_ladspa_update_int (const GValue * value, gpointer data); ++static GstPadLinkReturn gst_ladspa_link (GstPad * pad, const GstCaps * caps); ++ ++static void gst_ladspa_set_property (GObject * object, guint prop_id, ++ const GValue * value, GParamSpec * pspec); ++static void gst_ladspa_get_property (GObject * object, guint prop_id, ++ GValue * value, GParamSpec * pspec); ++ ++static gboolean gst_ladspa_instantiate (GstLADSPA * ladspa); ++static void gst_ladspa_activate (GstLADSPA * ladspa); ++static void gst_ladspa_deactivate (GstLADSPA * ladspa); ++ ++static GstElementStateReturn gst_ladspa_change_state (GstElement * element); ++static void gst_ladspa_loop (GstElement * element); ++static void gst_ladspa_chain (GstPad * pad, GstData * _data); ++static GstData *gst_ladspa_get (GstPad * pad); ++ ++static GstElementClass *parent_class = NULL; ++ ++static GstPlugin *ladspa_plugin; ++static GHashTable *ladspa_descriptors; ++ ++enum ++{ ++ ARG_0, ++ ARG_SAMPLERATE, ++ ARG_BUFFERSIZE, ++ ARG_LAST ++}; ++ ++GST_DEBUG_CATEGORY_STATIC (ladspa_debug); ++#define GST_CAT_DEFAULT ladspa_debug ++ ++static void ++gst_ladspa_base_init (GstLADSPAClass * klass) ++{ ++ GstElementClass *element_class = GST_ELEMENT_CLASS (klass); ++ GstPadTemplate *templ; ++ GstElementDetails *details; ++ LADSPA_Descriptor *desc; ++ gint j, sinkcount, srccount; ++ ++ desc = g_hash_table_lookup (ladspa_descriptors, ++ GINT_TO_POINTER (G_TYPE_FROM_CLASS (klass))); ++ if (!desc) ++ desc = g_hash_table_lookup (ladspa_descriptors, GINT_TO_POINTER (0)); ++ g_assert (desc); ++ ++ /* pad templates */ ++ klass->numports = desc->PortCount; ++ klass->numsinkpads = 0; ++ klass->numsrcpads = 0; ++ for (j = 0; j < desc->PortCount; j++) { ++ if (LADSPA_IS_PORT_AUDIO (desc->PortDescriptors[j])) { ++ gchar *name = g_strdup ((gchar *) desc->PortNames[j]); ++ ++ g_strcanon (name, G_CSET_A_2_Z G_CSET_a_2_z G_CSET_DIGITS "-", '-'); ++ ++ /* the factories take ownership of the name */ ++ if (LADSPA_IS_PORT_INPUT (desc->PortDescriptors[j])) { ++ templ = gst_pad_template_new (name, GST_PAD_SINK, GST_PAD_ALWAYS, ++ gst_caps_copy (gst_static_caps_get (&ladspa_pad_caps))); ++ klass->numsinkpads++; ++ } else { ++ templ = gst_pad_template_new (name, GST_PAD_SRC, GST_PAD_ALWAYS, ++ gst_caps_copy (gst_static_caps_get (&ladspa_pad_caps))); ++ klass->numsrcpads++; ++ } ++ ++ g_free (name); ++ gst_element_class_add_pad_template (element_class, templ); ++ } ++ } ++ ++ /* construct the element details struct */ ++ details = g_new0 (GstElementDetails, 1); ++ details->longname = g_locale_to_utf8 (desc->Name, -1, NULL, NULL, NULL); ++ if (!details->longname) ++ details->longname = g_strdup ("no description available"); ++ details->description = details->longname; ++ details->author = g_locale_to_utf8 (desc->Maker, -1, NULL, NULL, NULL); ++ if (!details->author) ++ details->author = g_strdup ("no author available"); ++ if ((klass->numsinkpads > 0) && (klass->numsrcpads > 0)) ++ details->klass = "Filter/Effect/Audio/LADSPA"; ++ else if ((klass->numsinkpads == 0) && (klass->numsrcpads > 0)) ++ details->klass = "Source/Audio/LADSPA"; ++ else if ((klass->numsinkpads > 0) && (klass->numsrcpads == 0)) ++ details->klass = "Sink/Audio/LADSPA"; ++ else ++ details->klass = "Filter/Effect/Audio/LADSPA"; /* whatever this is */ ++ gst_element_class_set_details (element_class, details); ++ ++ klass->srcpad_portnums = g_new0 (gint, klass->numsrcpads); ++ klass->sinkpad_portnums = g_new0 (gint, klass->numsinkpads); ++ sinkcount = 0; ++ srccount = 0; ++ ++ /* walk through the ports, note the portnums for srcpads, sinkpads */ ++ for (j = 0; j < desc->PortCount; j++) { ++ if (LADSPA_IS_PORT_AUDIO (desc->PortDescriptors[j])) { ++ if (LADSPA_IS_PORT_INPUT (desc->PortDescriptors[j])) ++ klass->sinkpad_portnums[sinkcount++] = j; ++ else ++ klass->srcpad_portnums[srccount++] = j; ++ } ++ } ++ ++ klass->descriptor = desc; ++} ++ ++static void ++gst_ladspa_class_init (GstLADSPAClass * klass) ++{ ++ GObjectClass *gobject_class; ++ GstElementClass *gstelement_class; ++ LADSPA_Descriptor *desc; ++ gint i, current_portnum, controlcount; ++ gint hintdesc; ++ gint argtype, argperms; ++ GParamSpec *paramspec = NULL; ++ gchar *argname, *tempstr, *paren; ++ ++ gobject_class = (GObjectClass *) klass; ++ gstelement_class = (GstElementClass *) klass; ++ ++ gobject_class->set_property = gst_ladspa_set_property; ++ gobject_class->get_property = gst_ladspa_get_property; ++ ++ gstelement_class->change_state = gst_ladspa_change_state; ++ ++ /* look up and store the ladspa descriptor */ ++ desc = g_hash_table_lookup (ladspa_descriptors, ++ GINT_TO_POINTER (G_TYPE_FROM_CLASS (klass))); ++ if (!desc) ++ desc = g_hash_table_lookup (ladspa_descriptors, GINT_TO_POINTER (0)); ++ g_assert (desc); ++ ++ klass->numcontrols = 0; ++ ++ /* walk through the ports, count the input, output and control ports */ ++ for (i = 0; i < desc->PortCount; i++) { ++ if (!LADSPA_IS_PORT_AUDIO (desc->PortDescriptors[i]) && ++ LADSPA_IS_PORT_INPUT (desc->PortDescriptors[i])) ++ klass->numcontrols++; ++ } ++ ++ GST_DEBUG ("ladspa element class: init %s with %d sink, %d src, %d control\n", ++ g_type_name (G_TYPE_FROM_CLASS (klass)), ++ klass->numsinkpads, klass->numsrcpads, klass->numcontrols); ++ ++ klass->control_portnums = g_new0 (gint, klass->numcontrols); ++ controlcount = 0; ++ ++ /* walk through the ports, note the portnums for control params */ ++ for (i = 0; i < desc->PortCount; i++) { ++ if (!LADSPA_IS_PORT_AUDIO (desc->PortDescriptors[i]) && ++ LADSPA_IS_PORT_INPUT (desc->PortDescriptors[i])) ++ klass->control_portnums[controlcount++] = i; ++ } ++ ++ /* now build the control info from the control ports */ ++ klass->control_info = g_new0 (ladspa_control_info, klass->numcontrols); ++ ++ for (i = 0; i < klass->numcontrols; i++) { ++ current_portnum = klass->control_portnums[i]; ++ ++ /* short name for hint descriptor */ ++ hintdesc = desc->PortRangeHints[current_portnum].HintDescriptor; ++ ++ /* get the various bits */ ++ if (LADSPA_IS_HINT_TOGGLED (hintdesc)) ++ klass->control_info[i].toggled = TRUE; ++ if (LADSPA_IS_HINT_LOGARITHMIC (hintdesc)) ++ klass->control_info[i].logarithmic = TRUE; ++ if (LADSPA_IS_HINT_INTEGER (hintdesc)) ++ klass->control_info[i].integer = TRUE; ++ ++ /* figure out the argument details */ ++ if (klass->control_info[i].toggled) ++ argtype = G_TYPE_BOOLEAN; ++ else if (klass->control_info[i].integer) ++ argtype = G_TYPE_INT; ++ else ++ argtype = G_TYPE_FLOAT; ++ ++ /* grab the bounds */ ++ if (LADSPA_IS_HINT_BOUNDED_BELOW (hintdesc)) { ++ klass->control_info[i].lower = TRUE; ++ klass->control_info[i].lowerbound = ++ desc->PortRangeHints[current_portnum].LowerBound; ++ } else { ++ if (argtype == G_TYPE_INT) ++ klass->control_info[i].lowerbound = (gfloat) G_MININT; ++ if (argtype == G_TYPE_FLOAT) ++ klass->control_info[i].lowerbound = -G_MAXFLOAT; ++ } ++ ++ if (LADSPA_IS_HINT_BOUNDED_ABOVE (hintdesc)) { ++ klass->control_info[i].upper = TRUE; ++ klass->control_info[i].upperbound = ++ desc->PortRangeHints[current_portnum].UpperBound; ++ if (LADSPA_IS_HINT_SAMPLE_RATE (hintdesc)) { ++ klass->control_info[i].samplerate = TRUE; ++ klass->control_info[i].upperbound *= 44100; /* FIXME? */ ++ } ++ } else { ++ if (argtype == G_TYPE_INT) ++ klass->control_info[i].upperbound = (gfloat) G_MAXINT; ++ if (argtype == G_TYPE_FLOAT) ++ klass->control_info[i].upperbound = G_MAXFLOAT; ++ } ++ ++ /* use the lowerbound as the default value */ ++ klass->control_info[i].def = klass->control_info[i].lowerbound; ++ ++#ifdef LADSPA_IS_HINT_HAS_DEFAULT ++ /* figure out the defaults */ ++ if (LADSPA_IS_HINT_HAS_DEFAULT (hintdesc)) { ++ if (LADSPA_IS_HINT_DEFAULT_MINIMUM (hintdesc)) ++ klass->control_info[i].def = klass->control_info[i].lowerbound; ++ else if (LADSPA_IS_HINT_DEFAULT_LOW (hintdesc)) ++ if (LADSPA_IS_HINT_LOGARITHMIC (hintdesc)) ++ klass->control_info[i].def = ++ exp (0.75 * log (klass->control_info[i].lowerbound) + ++ 0.25 * log (klass->control_info[i].upperbound)); ++ else ++ klass->control_info[i].def = ++ (0.75 * klass->control_info[i].lowerbound + ++ 0.25 * klass->control_info[i].upperbound); ++ else if (LADSPA_IS_HINT_DEFAULT_MIDDLE (hintdesc)) ++ if (LADSPA_IS_HINT_LOGARITHMIC (hintdesc)) ++ klass->control_info[i].def = ++ exp (0.5 * log (klass->control_info[i].lowerbound) + ++ 0.5 * log (klass->control_info[i].upperbound)); ++ else ++ klass->control_info[i].def = ++ (0.5 * klass->control_info[i].lowerbound + ++ 0.5 * klass->control_info[i].upperbound); ++ else if (LADSPA_IS_HINT_DEFAULT_HIGH (hintdesc)) ++ if (LADSPA_IS_HINT_LOGARITHMIC (hintdesc)) ++ klass->control_info[i].def = ++ exp (0.25 * log (klass->control_info[i].lowerbound) + ++ 0.75 * log (klass->control_info[i].upperbound)); ++ else ++ klass->control_info[i].def = ++ (0.25 * klass->control_info[i].lowerbound + ++ 0.75 * klass->control_info[i].upperbound); ++ else if (LADSPA_IS_HINT_DEFAULT_MAXIMUM (hintdesc)) ++ klass->control_info[i].def = klass->control_info[i].upperbound; ++ else if (LADSPA_IS_HINT_DEFAULT_0 (hintdesc)) ++ klass->control_info[i].def = 0.0; ++ else if (LADSPA_IS_HINT_DEFAULT_1 (hintdesc)) ++ klass->control_info[i].def = 1.0; ++ else if (LADSPA_IS_HINT_DEFAULT_100 (hintdesc)) ++ klass->control_info[i].def = 100.0; ++ else if (LADSPA_IS_HINT_DEFAULT_440 (hintdesc)) ++ klass->control_info[i].def = 440.0; ++ } ++#endif /* LADSPA_IS_HINT_HAS_DEFAULT */ ++ ++ klass->control_info[i].def = CLAMP (klass->control_info[i].def, ++ klass->control_info[i].lowerbound, klass->control_info[i].upperbound); ++ ++ if (LADSPA_IS_PORT_INPUT (desc->PortDescriptors[current_portnum])) { ++ argperms = G_PARAM_READWRITE; ++ klass->control_info[i].writable = TRUE; ++ } else { ++ argperms = G_PARAM_READABLE; ++ klass->control_info[i].writable = FALSE; ++ } ++ ++ klass->control_info[i].name = g_strdup (desc->PortNames[current_portnum]); ++ argname = g_strdup (klass->control_info[i].name); ++ /* find out if there is a (unitname) at the end of the argname and get rid ++ of it */ ++ paren = g_strrstr (argname, " ("); ++ if (paren != NULL) { ++ *paren = '\0'; ++ } ++ /* this is the same thing that param_spec_* will do */ ++ g_strcanon (argname, G_CSET_A_2_Z G_CSET_a_2_z G_CSET_DIGITS "-", '-'); ++ /* satisfy glib2 (argname[0] must be [A-Za-z]) */ ++ if (!((argname[0] >= 'a' && argname[0] <= 'z') || (argname[0] >= 'A' ++ && argname[0] <= 'Z'))) { ++ tempstr = argname; ++ argname = g_strconcat ("param-", argname, NULL); ++ g_free (tempstr); ++ } ++ ++ /* check for duplicate property names */ ++ if (g_object_class_find_property (G_OBJECT_CLASS (klass), argname) != NULL) { ++ gint numarg = 1; ++ gchar *numargname = g_strdup_printf ("%s_%d", argname, numarg++); ++ ++ while (g_object_class_find_property (G_OBJECT_CLASS (klass), ++ numargname) != NULL) { ++ g_free (numargname); ++ numargname = g_strdup_printf ("%s_%d", argname, numarg++); ++ } ++ argname = numargname; ++ } ++ ++ klass->control_info[i].param_name = argname; ++ ++ GST_DEBUG ("adding arg %s from %s with access-mode=%d", argname, ++ klass->control_info[i].name, argperms); ++ ++ if (argtype == G_TYPE_BOOLEAN) { ++ paramspec = ++ g_param_spec_boolean (argname, argname, argname, FALSE, argperms); ++ } else if (argtype == G_TYPE_INT) { ++ if (klass->control_info[i].lowerbound > klass->control_info[i].upperbound) { ++ gfloat swap; ++ ++ GST_ERROR ++ (" wrong order of parameter bounds %f ... %f ... %f in \"%s\" plugin", ++ klass->control_info[i].lowerbound, klass->control_info[i].def, ++ klass->control_info[i].upperbound, klass->descriptor->Name); ++ ++ swap = klass->control_info[i].upperbound; ++ klass->control_info[i].upperbound = klass->control_info[i].lowerbound; ++ klass->control_info[i].lowerbound = swap; ++ } ++ paramspec = g_param_spec_int (argname, argname, argname, ++ (gint) klass->control_info[i].lowerbound, ++ (gint) klass->control_info[i].upperbound, ++ (gint) klass->control_info[i].def, argperms); ++ } else if (klass->control_info[i].samplerate) { ++ paramspec = g_param_spec_float (argname, argname, argname, ++ 0.0, G_MAXFLOAT, 0.0, argperms); ++ } else { ++ if (klass->control_info[i].lowerbound > klass->control_info[i].upperbound) { ++ gfloat swap; ++ ++ GST_ERROR ++ (" wrong order of parameter bounds %f ... %f ... %f in \"%s\" plugin", ++ klass->control_info[i].lowerbound, klass->control_info[i].def, ++ klass->control_info[i].upperbound, klass->descriptor->Name); ++ ++ swap = klass->control_info[i].upperbound; ++ klass->control_info[i].upperbound = klass->control_info[i].lowerbound; ++ klass->control_info[i].lowerbound = swap; ++ } ++ paramspec = g_param_spec_float (argname, argname, argname, ++ klass->control_info[i].lowerbound, klass->control_info[i].upperbound, ++ klass->control_info[i].def, argperms); ++ } ++ ++ /* properties have an offset of 1 */ ++ g_object_class_install_property (G_OBJECT_CLASS (klass), i + 1, paramspec); ++ } ++} ++ ++static void ++gst_ladspa_init (GstLADSPA * ladspa) ++{ ++ GstLADSPAClass *oclass; ++ ladspa_control_info cinfo; ++ GList *l; ++ LADSPA_Descriptor *desc; ++ gint i, sinkcount, srccount; ++ ++ oclass = (GstLADSPAClass *) G_OBJECT_GET_CLASS (ladspa); ++ desc = oclass->descriptor; ++ ladspa->descriptor = oclass->descriptor; ++ ++ /* allocate the various arrays */ ++ ladspa->srcpads = g_new0 (GstPad *, oclass->numsrcpads); ++ ladspa->sinkpads = g_new0 (GstPad *, oclass->numsinkpads); ++ ladspa->controls = g_new (gfloat, oclass->numcontrols); ++ ladspa->dpman = gst_dpman_new ("ladspa_dpman", GST_ELEMENT (ladspa)); ++ ++ if (oclass->numsinkpads > 0) { ++ ladspa->data_in = g_new0 (LADSPA_Data *, oclass->numsinkpads); ++ ladspa->buffers_in = g_new0 (GstBuffer *, oclass->numsinkpads); ++ } else { ++ ladspa->data_in = NULL; ++ ladspa->buffers_in = NULL; ++ } ++ ++ if (oclass->numsrcpads > 0) { ++ ladspa->buffers_out = g_new0 (GstBuffer *, oclass->numsrcpads); ++ ladspa->data_out = g_new0 (LADSPA_Data *, oclass->numsrcpads); ++ } else { ++ ladspa->buffers_out = NULL; ++ ladspa->data_out = NULL; ++ } ++ ++ /* set up pads */ ++ sinkcount = 0; ++ srccount = 0; ++ for (l = GST_ELEMENT_CLASS (oclass)->padtemplates; l; l = l->next) { ++ GstPad *pad = gst_pad_new_from_template (GST_PAD_TEMPLATE (l->data), ++ GST_PAD_TEMPLATE_NAME_TEMPLATE (l->data)); ++ ++ gst_pad_set_link_function (pad, gst_ladspa_link); ++ gst_element_add_pad ((GstElement *) ladspa, pad); ++ ++ if (GST_PAD_DIRECTION (pad) == GST_PAD_SINK) ++ ladspa->sinkpads[sinkcount++] = pad; ++ else ++ ladspa->srcpads[srccount++] = pad; ++ } ++ ++ /* set up dparams */ ++ for (i = 0; i < oclass->numcontrols; i++) { ++ if (LADSPA_IS_PORT_INPUT (desc->PortDescriptors[i])) { ++ cinfo = oclass->control_info[i]; ++ ladspa->controls[i] = cinfo.def; ++ ++ if (cinfo.toggled) { ++ gst_dpman_add_required_dparam_callback (ladspa->dpman, ++ g_param_spec_int (cinfo.param_name, cinfo.name, cinfo.name, ++ 0, 1, (gint) (ladspa->controls[i]), G_PARAM_READWRITE), ++ "int", gst_ladspa_update_int, &(ladspa->controls[i]) ++ ); ++ } else if (cinfo.integer) { ++ gst_dpman_add_required_dparam_callback (ladspa->dpman, ++ g_param_spec_int (cinfo.param_name, cinfo.name, cinfo.name, ++ (gint) cinfo.lowerbound, (gint) cinfo.upperbound, ++ (gint) ladspa->controls[i], G_PARAM_READWRITE), ++ "int", gst_ladspa_update_int, &(ladspa->controls[i]) ++ ); ++ } else if (cinfo.samplerate) { ++ gst_dpman_add_required_dparam_direct (ladspa->dpman, ++ g_param_spec_float (cinfo.param_name, cinfo.name, cinfo.name, ++ cinfo.lowerbound, cinfo.upperbound, ++ ladspa->controls[i], G_PARAM_READWRITE), ++ "hertz-rate-bound", &(ladspa->controls[i]) ++ ); ++ } else { ++ gst_dpman_add_required_dparam_direct (ladspa->dpman, ++ g_param_spec_float (cinfo.param_name, cinfo.name, cinfo.name, ++ cinfo.lowerbound, cinfo.upperbound, ++ ladspa->controls[i], G_PARAM_READWRITE), ++ "float", &(ladspa->controls[i]) ++ ); ++ } ++ } ++ } ++ ++ /* nonzero default needed to instantiate() some plugins */ ++ ladspa->samplerate = 44100; ++ ++ ladspa->buffer_frames = 0; /* should be set with caps */ ++ ladspa->activated = FALSE; ++ ladspa->inplace_broken = ++ LADSPA_IS_INPLACE_BROKEN (ladspa->descriptor->Properties); ++ ++ if (sinkcount == 0 && srccount == 1) { ++ /* get mode (no sink pads) */ ++ GST_DEBUG_OBJECT (ladspa, "mono get mode with 1 src pad"); ++ ++ gst_pad_set_get_function (ladspa->srcpads[0], gst_ladspa_get); ++ } else if (sinkcount == 1) { ++ /* with one sink we can use the chain function */ ++ GST_DEBUG_OBJECT (ladspa, "chain mode"); ++ ++ gst_pad_set_chain_function (ladspa->sinkpads[0], gst_ladspa_chain); ++ } else if (sinkcount > 1) { ++ /* more than one sink pad needs loop mode */ ++ GST_DEBUG_OBJECT (ladspa, "loop mode with %d sink pads and %d src pads", ++ sinkcount, srccount); ++ ++ gst_element_set_loop_function (GST_ELEMENT (ladspa), gst_ladspa_loop); ++ } else if (sinkcount == 0 && srccount == 0) { ++ /* for example, a plugin with only control inputs and output -- just ignore ++ * it for now */ ++ } else { ++ g_warning ("%d sink pads, %d src pads not yet supported", sinkcount, ++ srccount); ++ } ++ ++ gst_ladspa_instantiate (ladspa); ++} ++ ++static void ++gst_ladspa_update_int (const GValue * value, gpointer data) ++{ ++ gfloat *target = (gfloat *) data; ++ ++ *target = (gfloat) g_value_get_int (value); ++} ++ ++static GstPadLinkReturn ++gst_ladspa_link (GstPad * pad, const GstCaps * caps) ++{ ++ GstElement *element = (GstElement *) GST_PAD_PARENT (pad); ++ GstLADSPA *ladspa = (GstLADSPA *) element; ++ const GList *l = NULL; ++ gint rate; ++ GstStructure *structure; ++ ++ /* if this fails in some other plugin, the graph is left in an inconsistent ++ state */ ++ for (l = gst_element_get_pad_list (element); l; l = l->next) ++ if ((pad != (GstPad *) l->data) ++ && !GST_PAD_IS_NEGOTIATING ((GstPad *) l->data)) ++ if (gst_pad_try_set_caps ((GstPad *) l->data, caps) <= 0) ++ return GST_PAD_LINK_REFUSED; ++ ++ /* we assume that the ladspa plugin can handle any sample rate, so this ++ check gets put last */ ++ structure = gst_caps_get_structure (caps, 0); ++ gst_structure_get_int (structure, "rate", &rate); ++ /* have to instantiate ladspa plugin when samplerate changes (groan) */ ++ if (ladspa->samplerate != rate) { ++ ladspa->samplerate = rate; ++ if (!gst_ladspa_instantiate (ladspa)) ++ return GST_PAD_LINK_REFUSED; ++ } ++ ++ gst_structure_get_int (structure, "buffer-frames", &ladspa->buffer_frames); ++ ++ return GST_PAD_LINK_OK; ++} ++ ++#if 0 ++static void ++gst_ladspa_force_src_caps (GstLADSPA * ladspa, GstPad * pad) ++{ ++ if (!ladspa->buffer_frames) { ++ ladspa->buffer_frames = 256; /* 5 ms at 44100 kHz (just a default...) */ ++ } ++ ++ GST_DEBUG_OBJECT (ladspa, "forcing caps with rate=%d, buffer-frames=%d", ++ ladspa->samplerate, ladspa->buffer_frames); ++ ++ gst_pad_try_set_caps (pad, ++ gst_caps_new ("ladspa_src_caps", ++ "audio/x-raw-float", ++ gst_props_new ("width", G_TYPE_INT (32), ++ "endianness", G_TYPE_INT (G_BYTE_ORDER), ++ "rate", G_TYPE_INT (ladspa->samplerate), ++ "buffer-frames", G_TYPE_INT (ladspa->buffer_frames), ++ "channels", G_TYPE_INT (1), NULL))); ++} ++#endif ++ ++static void ++gst_ladspa_set_property (GObject * object, guint prop_id, const GValue * value, ++ GParamSpec * pspec) ++{ ++ GstLADSPA *ladspa = (GstLADSPA *) object; ++ GstLADSPAClass *oclass; ++ ladspa_control_info *control_info; ++ ++ oclass = (GstLADSPAClass *) (G_OBJECT_GET_CLASS (object)); ++ ++ /* remember, properties have an offset of 1 */ ++ prop_id--; ++ ++ /* verify it exists */ ++ g_return_if_fail (prop_id < oclass->numcontrols); ++ ++ control_info = &(oclass->control_info[prop_id]); ++ g_return_if_fail (control_info->name != NULL); ++ ++ /* check to see if it's writable */ ++ g_return_if_fail (control_info->writable); ++ ++ /* now see what type it is */ ++ if (control_info->toggled) ++ ladspa->controls[prop_id] = g_value_get_boolean (value) ? 1.f : 0.f; ++ else if (control_info->integer) ++ ladspa->controls[prop_id] = g_value_get_int (value); ++ else ++ ladspa->controls[prop_id] = g_value_get_float (value); ++ ++ GST_DEBUG_OBJECT (object, "set arg %s to %f", control_info->name, ++ ladspa->controls[prop_id]); ++} ++ ++static void ++gst_ladspa_get_property (GObject * object, guint prop_id, GValue * value, ++ GParamSpec * pspec) ++{ ++ GstLADSPA *ladspa = (GstLADSPA *) object; ++ GstLADSPAClass *oclass = (GstLADSPAClass *) (G_OBJECT_GET_CLASS (object)); ++ ladspa_control_info *control_info; ++ ++ /* remember, properties have an offset of 1 */ ++ prop_id--; ++ ++ /* verify it exists */ ++ g_return_if_fail (prop_id < oclass->numcontrols); ++ ++ control_info = &(oclass->control_info[prop_id]); ++ g_return_if_fail (control_info->name != NULL); ++ ++ /* now see what type it is */ ++ if (control_info->toggled) ++ g_value_set_boolean (value, ladspa->controls[prop_id] == 1.0); ++ else if (control_info->integer) ++ g_value_set_int (value, (gint) ladspa->controls[prop_id]); ++ else ++ g_value_set_float (value, ladspa->controls[prop_id]); ++ ++ GST_DEBUG_OBJECT (object, "got arg %s as %f", control_info->name, ++ ladspa->controls[prop_id]); ++} ++ ++static gboolean ++gst_ladspa_instantiate (GstLADSPA * ladspa) ++{ ++ LADSPA_Descriptor *desc; ++ int i; ++ GstLADSPAClass *oclass = (GstLADSPAClass *) (G_OBJECT_GET_CLASS (ladspa)); ++ gboolean was_activated; ++ ++ desc = ladspa->descriptor; ++ ++ /* check for old handle */ ++ was_activated = ladspa->activated; ++ if (ladspa->handle != NULL) { ++ gst_ladspa_deactivate (ladspa); ++ desc->cleanup (ladspa->handle); ++ } ++ ++ /* instantiate the plugin */ ++ GST_DEBUG_OBJECT (ladspa, "instantiating the plugin at %d Hz", ++ ladspa->samplerate); ++ ++ ladspa->handle = desc->instantiate (desc, ladspa->samplerate); ++ g_return_val_if_fail (ladspa->handle != NULL, FALSE); ++ ++ /* connect the control ports */ ++ for (i = 0; i < oclass->numcontrols; i++) ++ desc->connect_port (ladspa->handle, ++ oclass->control_portnums[i], &(ladspa->controls[i])); ++ ++ /* reactivate if it was activated before the reinstantiation */ ++ if (was_activated) ++ gst_ladspa_activate (ladspa); ++ ++ return TRUE; ++} ++ ++static GstElementStateReturn ++gst_ladspa_change_state (GstElement * element) ++{ ++ LADSPA_Descriptor *desc; ++ GstLADSPA *ladspa = (GstLADSPA *) element; ++ ++ desc = ladspa->descriptor; ++ ++ switch (GST_STATE_TRANSITION (element)) { ++ case GST_STATE_NULL_TO_READY: ++ gst_ladspa_activate (ladspa); ++ break; ++ case GST_STATE_READY_TO_NULL: ++ gst_ladspa_deactivate (ladspa); ++ break; ++ default: ++ break; ++ } ++ ++ if (GST_ELEMENT_CLASS (parent_class)->change_state) ++ return GST_ELEMENT_CLASS (parent_class)->change_state (element); ++ ++ return GST_STATE_SUCCESS; ++} ++ ++static void ++gst_ladspa_activate (GstLADSPA * ladspa) ++{ ++ LADSPA_Descriptor *desc; ++ ++ desc = ladspa->descriptor; ++ ++ if (ladspa->activated) ++ gst_ladspa_deactivate (ladspa); ++ ++ GST_DEBUG_OBJECT (ladspa, "activating"); ++ ++ /* activate the plugin (function might be null) */ ++ if (desc->activate != NULL) ++ desc->activate (ladspa->handle); ++ ++ ladspa->activated = TRUE; ++} ++ ++static void ++gst_ladspa_deactivate (GstLADSPA * ladspa) ++{ ++ LADSPA_Descriptor *desc; ++ ++ desc = ladspa->descriptor; ++ ++ GST_DEBUG_OBJECT (ladspa, "deactivating"); ++ ++ /* deactivate the plugin (function might be null) */ ++ if (ladspa->activated && (desc->deactivate != NULL)) ++ desc->deactivate (ladspa->handle); ++ ++ ladspa->activated = FALSE; ++} ++ ++static void ++gst_ladspa_loop (GstElement * element) ++{ ++ guint i, j, numsrcpads, numsinkpads; ++ guint num_processed, num_to_process; ++ gint largest_buffer; ++ LADSPA_Data **data_in, **data_out; ++ GstBuffer **buffers_in, **buffers_out; ++ ++ GstLADSPA *ladspa = (GstLADSPA *) element; ++ GstLADSPAClass *oclass = (GstLADSPAClass *) (G_OBJECT_GET_CLASS (ladspa)); ++ LADSPA_Descriptor *desc = ladspa->descriptor; ++ ++ numsinkpads = oclass->numsinkpads; ++ numsrcpads = oclass->numsrcpads; ++ data_in = ladspa->data_in; ++ data_out = ladspa->data_out; ++ buffers_in = ladspa->buffers_in; ++ buffers_out = ladspa->buffers_out; ++ ++ largest_buffer = -1; ++ ++ /* first get all the necessary data from the input ports */ ++ for (i = 0; i < numsinkpads; i++) { ++ get_buffer: ++ buffers_in[i] = GST_BUFFER (gst_pad_pull (ladspa->sinkpads[i])); ++ ++ if (GST_IS_EVENT (buffers_in[i])) { ++ /* push it out on all pads */ ++ gst_data_ref_by_count ((GstData *) buffers_in[i], numsrcpads); ++ for (j = 0; j < numsrcpads; j++) ++ gst_pad_push (ladspa->srcpads[j], GST_DATA (buffers_in[i])); ++ if (GST_EVENT_TYPE (buffers_in[i]) == GST_EVENT_EOS) { ++ /* shut down */ ++ gst_element_set_eos (element); ++ return; ++ } else { ++ goto get_buffer; ++ } ++ } ++ ++ if (largest_buffer < 0) ++ largest_buffer = GST_BUFFER_SIZE (buffers_in[i]) / sizeof (gfloat); ++ else ++ largest_buffer = ++ MIN (GST_BUFFER_SIZE (buffers_in[i]) / sizeof (gfloat), ++ largest_buffer); ++ data_in[i] = (LADSPA_Data *) GST_BUFFER_DATA (buffers_in[i]); ++ if (GST_CLOCK_TIME_IS_VALID (GST_BUFFER_TIMESTAMP (buffers_in[i]))) ++ ladspa->timestamp = GST_BUFFER_TIMESTAMP (buffers_in[i]); ++ } ++ ++ i = 0; ++ if (!ladspa->inplace_broken) { ++ for (; i < numsrcpads && i < numsinkpads; i++) { ++ /* reuse input buffers */ ++ buffers_out[i] = buffers_in[i]; ++ data_out[i] = data_in[i]; ++ } ++ } ++ for (; i < numsrcpads; i++) { ++ buffers_out[i] = ++ gst_buffer_new_and_alloc (ladspa->buffer_frames * sizeof (gfloat)); ++ GST_BUFFER_TIMESTAMP (buffers_out[i]) = ladspa->timestamp; ++ data_out[i] = (LADSPA_Data *) GST_BUFFER_DATA (buffers_out[i]); ++ } ++ ++ GST_DPMAN_PREPROCESS (ladspa->dpman, largest_buffer, ladspa->timestamp); ++ num_processed = 0; ++ ++ /* split up processing of the buffer into chunks so that dparams can ++ * be updated when required. ++ * In many cases the buffer will be processed in one chunk anyway. ++ */ ++ while (GST_DPMAN_PROCESS (ladspa->dpman, num_processed)) { ++ num_to_process = GST_DPMAN_FRAMES_TO_PROCESS (ladspa->dpman); ++ ++ for (i = 0; i < numsinkpads; i++) ++ desc->connect_port (ladspa->handle, oclass->sinkpad_portnums[i], ++ data_in[i]); ++ for (i = 0; i < numsrcpads; i++) ++ desc->connect_port (ladspa->handle, oclass->srcpad_portnums[i], ++ data_out[i]); ++ ++ desc->run (ladspa->handle, num_to_process); ++ ++ for (i = 0; i < numsinkpads; i++) ++ data_in[i] += num_to_process; ++ for (i = 0; i < numsrcpads; i++) ++ data_out[i] += num_to_process; ++ ++ num_processed += num_to_process; ++ } ++ ++ for (i = 0; i < numsinkpads; i++) { ++ if (i >= numsrcpads || buffers_out[i] != buffers_in[i]) ++ gst_buffer_unref (buffers_in[i]); ++ data_in[i] = NULL; ++ buffers_in[i] = NULL; ++ } ++ for (i = 0; i < numsrcpads; i++) { ++ GST_DEBUG_OBJECT (ladspa, "pushing buffer (%p) on src pad %d", ++ buffers_out[i], i); ++ gst_pad_push (ladspa->srcpads[i], GST_DATA (buffers_out[i])); ++ ++ data_out[i] = NULL; ++ buffers_out[i] = NULL; ++ } ++ ++ ladspa->timestamp += ladspa->buffer_frames * GST_SECOND / ladspa->samplerate; ++ ++} ++ ++static void ++gst_ladspa_chain (GstPad * pad, GstData * _data) ++{ ++ GstBuffer *buffer_in; ++ LADSPA_Descriptor *desc; ++ LADSPA_Data *data_in, **data_out = NULL; ++ GstBuffer **buffers_out = NULL; ++ unsigned long num_samples; ++ guint num_to_process, num_processed, i, numsrcpads; ++ GstLADSPA *ladspa; ++ GstLADSPAClass *oclass; ++ ++ /* we shouldn't get events here... */ ++ g_return_if_fail (GST_IS_BUFFER (_data)); ++ buffer_in = GST_BUFFER (_data); ++ ++ ladspa = (GstLADSPA *) GST_OBJECT_PARENT (pad); ++ oclass = (GstLADSPAClass *) (G_OBJECT_GET_CLASS (ladspa)); ++ data_in = (LADSPA_Data *) GST_BUFFER_DATA (buffer_in); ++ num_samples = GST_BUFFER_SIZE (buffer_in) / sizeof (gfloat); ++ numsrcpads = oclass->numsrcpads; ++ desc = ladspa->descriptor; ++ ++ buffers_out = ladspa->buffers_out; ++ data_out = ladspa->data_out; ++ if (GST_CLOCK_TIME_IS_VALID (GST_BUFFER_TIMESTAMP (buffer_in))) ++ ladspa->timestamp = GST_BUFFER_TIMESTAMP (buffer_in); ++ ++ i = 0; ++ if (!ladspa->inplace_broken && numsrcpads) { ++ /* reuse the first (chained) buffer */ ++ buffers_out[i] = gst_buffer_copy_on_write (buffer_in); ++ GST_DEBUG ("reuse: %d", GST_BUFFER_SIZE (buffer_in)); ++ data_out[i] = data_in; ++ i++; ++ } ++ for (; i < numsrcpads; i++) { ++ buffers_out[i] = gst_buffer_new_and_alloc (GST_BUFFER_SIZE (buffer_in)); ++ GST_DEBUG ("new %d", GST_BUFFER_SIZE (buffer_in)); ++ GST_BUFFER_TIMESTAMP (buffers_out[i]) = ladspa->timestamp; ++ data_out[i] = (LADSPA_Data *) GST_BUFFER_DATA (buffers_out[i]); ++ } ++ ++ GST_DPMAN_PREPROCESS (ladspa->dpman, num_samples, ladspa->timestamp); ++ num_processed = 0; ++ ++ /* split up processing of the buffer into chunks so that dparams can ++ * be updated when required. ++ * In many cases the buffer will be processed in one chunk anyway. ++ */ ++ while (GST_DPMAN_PROCESS (ladspa->dpman, num_processed)) { ++ num_to_process = GST_DPMAN_FRAMES_TO_PROCESS (ladspa->dpman); ++ ++ desc->connect_port (ladspa->handle, oclass->sinkpad_portnums[0], data_in); ++ for (i = 0; i < numsrcpads; i++) ++ desc->connect_port (ladspa->handle, oclass->srcpad_portnums[i], ++ data_out[i]); ++ ++ desc->run (ladspa->handle, num_to_process); ++ ++ data_in += num_to_process; ++ for (i = 0; i < numsrcpads; i++) ++ data_out[i] += num_to_process; ++ ++ num_processed += num_to_process; ++ } ++ ++ if (!numsrcpads || buffers_out[0] != buffer_in) ++ gst_buffer_unref (buffer_in); ++ ++ if (numsrcpads) { ++ for (i = 0; i < numsrcpads; i++) { ++ GST_DEBUG_OBJECT (ladspa, ++ "pushing buffer (%p, length %u bytes) on src pad %d", buffers_out[i], ++ GST_BUFFER_SIZE (buffers_out[i]), i); ++ gst_pad_push (ladspa->srcpads[i], GST_DATA (buffers_out[i])); ++ } ++ } ++} ++ ++static GstData * ++gst_ladspa_get (GstPad * pad) ++{ ++ GstLADSPA *ladspa; ++ GstLADSPAClass *oclass; ++ GstBuffer *buf; ++ LADSPA_Data *data; ++ LADSPA_Descriptor *desc; ++ guint num_to_process, num_processed; ++ ++ ladspa = (GstLADSPA *) gst_pad_get_parent (pad); ++ oclass = (GstLADSPAClass *) (G_OBJECT_GET_CLASS (ladspa)); ++ desc = ladspa->descriptor; ++ ++ /* 4096 is arbitrary */ ++ buf = gst_buffer_new_and_alloc (4096); ++ data = (LADSPA_Data *) GST_BUFFER_DATA (buf); ++ GST_BUFFER_TIMESTAMP (buf) = ladspa->timestamp; ++ ++ GST_DPMAN_PREPROCESS (ladspa->dpman, ladspa->buffer_frames, ++ ladspa->timestamp); ++ num_processed = 0; ++ ++ /* split up processing of the buffer into chunks so that dparams can ++ * be updated when required. ++ * In many cases the buffer will be processed in one chunk anyway. ++ */ ++ while (GST_DPMAN_PROCESS (ladspa->dpman, num_processed)) { ++ num_to_process = GST_DPMAN_FRAMES_TO_PROCESS (ladspa->dpman); ++ ++ /* update timestamp */ ++ ladspa->timestamp += num_to_process * GST_SECOND / ladspa->samplerate; ++ ++ desc->connect_port (ladspa->handle, oclass->srcpad_portnums[0], data); ++ ++ desc->run (ladspa->handle, num_to_process); ++ ++ data += num_to_process; ++ num_processed = num_to_process; ++ } ++ ++ return GST_DATA (buf); ++} ++ ++static void ++ladspa_describe_plugin (const char *pcFullFilename, ++ void *pvPluginHandle, LADSPA_Descriptor_Function pfDescriptorFunction) ++{ ++ const LADSPA_Descriptor *desc; ++ gint i; ++ GTypeInfo typeinfo = { ++ sizeof (GstLADSPAClass), ++ (GBaseInitFunc) gst_ladspa_base_init, ++ NULL, ++ (GClassInitFunc) gst_ladspa_class_init, ++ NULL, ++ NULL, ++ sizeof (GstLADSPA), ++ 0, ++ (GInstanceInitFunc) gst_ladspa_init, ++ }; ++ GType type; ++ ++ /* walk through all the plugins in this pluginlibrary */ ++ i = 0; ++ while ((desc = pfDescriptorFunction (i++))) { ++ gchar *type_name; ++ ++ /* construct the type */ ++ type_name = g_strdup_printf ("ladspa-%s", desc->Label); ++ g_strcanon (type_name, G_CSET_A_2_Z G_CSET_a_2_z G_CSET_DIGITS "-+", '-'); ++ /* if it's already registered, drop it */ ++ if (g_type_from_name (type_name)) { ++ g_free (type_name); ++ continue; ++ } ++ ++ /* base-init temp alloc */ ++ g_hash_table_insert (ladspa_descriptors, ++ GINT_TO_POINTER (0), (gpointer) desc); ++ ++ /* create the type now */ ++ type = g_type_register_static (GST_TYPE_ELEMENT, type_name, &typeinfo, 0); ++ if (!gst_element_register (ladspa_plugin, type_name, GST_RANK_NONE, type)) ++ continue; ++ ++ /* add this plugin to the hash */ ++ g_hash_table_insert (ladspa_descriptors, ++ GINT_TO_POINTER (type), (gpointer) desc); ++ } ++ ++ g_hash_table_remove (ladspa_descriptors, GINT_TO_POINTER (0)); ++} ++ ++static gboolean ++plugin_init (GstPlugin * plugin) ++{ ++ GST_DEBUG_CATEGORY_INIT (ladspa_debug, "ladspa", ++ GST_DEBUG_FG_GREEN | GST_DEBUG_BG_BLACK | GST_DEBUG_BOLD, "LADSPA"); ++ ++ ladspa_descriptors = g_hash_table_new (NULL, NULL); ++ parent_class = g_type_class_ref (GST_TYPE_ELEMENT); ++ ++ ladspa_plugin = plugin; ++ ++ LADSPAPluginSearch (ladspa_describe_plugin); ++ ++ /* initialize dparam support library */ ++ gst_control_init (NULL, NULL); ++ ++ return TRUE; ++} ++ ++GST_PLUGIN_DEFINE (GST_VERSION_MAJOR, ++ GST_VERSION_MINOR, ++ "ladspa", ++ "All LADSPA plugins", ++ plugin_init, VERSION, GST_LICENSE, GST_PACKAGE, GST_ORIGIN) --- gst-plugins0.8-0.8.12.orig/debian/patches/20_gst-doc-m4.patch +++ gst-plugins0.8-0.8.12/debian/patches/20_gst-doc-m4.patch @@ -0,0 +1,12 @@ +diff -urN gst-plugins-0.8.11.orig/configure.ac gst-plugins-0.8.11/configure.ac +--- gst-plugins-0.8.11.orig/configure.ac 2005-09-04 14:14:17.000000000 +0200 ++++ gst-plugins-0.8.11/configure.ac 2006-01-08 11:54:50.000000000 +0100 +@@ -182,7 +182,7 @@ + AC_HELP_STRING([--with-pkg-config-path],[colon-separated list of pkg-config(1) dirs]), + [export PKG_CONFIG_PATH=${withval}]) + +-GST_DOC() ++GST_DOCBOOK_CHECK() + dnl check architecture + GST_ARCH() + --- gst-plugins0.8-0.8.12.orig/debian/patches/default_sink.patch +++ gst-plugins0.8-0.8.12/debian/patches/default_sink.patch @@ -0,0 +1,22 @@ +--- configure.orig 2005-01-07 23:00:20.115000952 +0100 ++++ configure 2005-01-07 23:00:51.852176168 +0100 +@@ -27619,7 +27619,7 @@ + + + +-DEFAULT_AUDIOSINK="osssink" ++DEFAULT_AUDIOSINK="esdsink" + DEFAULT_VIDEOSINK="xvimagesink" + DEFAULT_AUDIOSRC="osssrc" + DEFAULT_VIDEOSRC="v4lsrc" +--- configure.ac.orig 2005-01-07 23:00:13.230047624 +0100 ++++ configure.ac 2005-01-07 23:01:15.601565712 +0100 +@@ -100,7 +100,7 @@ + dnl Check for FIONREAD ioctl declaration : + GST_CHECK_FIONREAD() + +-DEFAULT_AUDIOSINK="osssink" ++DEFAULT_AUDIOSINK="esdsink" + DEFAULT_VIDEOSINK="xvimagesink" + DEFAULT_AUDIOSRC="osssrc" + DEFAULT_VIDEOSRC="v4lsrc" --- gst-plugins0.8-0.8.12.orig/debian/patches/51_wavpack-big-endian.patch +++ gst-plugins0.8-0.8.12/debian/patches/51_wavpack-big-endian.patch @@ -0,0 +1,40 @@ +--- tmp/gst-plugins0.8-0.8.12/ext/wavpack/gstwavpackparse.c 2005-06-09 19:21:00.000000000 +0200 ++++ gst-plugins0.8-0.8.12/ext/wavpack/gstwavpackparse.c 2006-04-21 17:56:07.788000000 +0200 +@@ -432,13 +432,24 @@ + gst_wavpack_parse_handle_event (element); + return; + } ++ buf = gst_buffer_new_and_alloc (header->ckSize + 8); ++ memcpy (GST_BUFFER_DATA (buf), data, header->ckSize + 8); + ++/* ugly hack for big endian systems */ ++#if BYTE_ORDER == BIG_ENDIAN ++ guchar *tmp = (guchar *) GST_BUFFER_DATA(buf); ++ tmp[4] = data[7]; ++ tmp[5] = data[6]; ++ tmp[6] = data[5]; ++ tmp[7] = data[4]; ++#endif ++ + if (!GST_IS_PAD (wavpackparse->srcpad)) { +- guchar *bufptr = data + sizeof (WavpackHeader); ++ guchar *bufptr = GST_BUFFER_DATA (buf) + sizeof (WavpackHeader); + GstCaps *caps = NULL; + WavpackMetadata meta; + +- while (read_metadata_buff (&meta, data, &bufptr)) { ++ while (read_metadata_buff (&meta, GST_BUFFER_DATA (buf), &bufptr)) { + if (meta.id == ID_WVC_BITSTREAM) { + caps = gst_caps_new_simple ("audio/x-wavpack-correction", + "framed", G_TYPE_BOOLEAN, TRUE, NULL); +@@ -473,9 +484,7 @@ + + gst_pad_set_explicit_caps (wavpackparse->srcpad, caps); + } +- +- buf = gst_buffer_new_and_alloc (header->ckSize + 8); +- memcpy (GST_BUFFER_DATA (buf), data, header->ckSize + 8); ++ + gst_bytestream_flush_fast (wavpackparse->bs, header->ckSize + 8); + wavpackparse->timestamp = + ((gdouble) header->block_index / (gdouble) wavpackparse->samplerate) * --- gst-plugins0.8-0.8.12.orig/debian/TODO.Debian +++ gst-plugins0.8-0.8.12/debian/TODO.Debian @@ -0,0 +1,34 @@ + +- check whether we should configure with --enable-gdk-pixbuf-loader and build-depend on libgtk2.0-bin; WARNING: needs a --with-gdk-pixbuf-loader-dir!!! + +WIP: +- prepare a list of plugins not compiled in Debian. + possible reasons : + - unstable (arts) + - not acceptable in Debian (lame?) + - not packaged (wavpack?) + - forgotten (cairo?) +- additional packages should be activated if any + +- ping alsa plugin submitters of bugs now against libasound + +- move the additional modules out of tree? (avifile, lame) + +- autoaudiosink should be the default in next release (see configure.ac check) + +- nasm build-dep should only be turned on, but only for i386, for SPC decoder + support: doesn't build right now + +- document adding a plugin (depends: in control, var in debian/rules...) + thoroughly + +- sort out things of gstreamer0.8-misc + +- fix Depends in gstreamer0.8-plugins with non-linux Depends (alsa...)? + +- add *.la to -dev packages + +- install changelog and symlinks + +- readd usr/lib/gstreamer-0.8/libgstqcam.so (linux only) + --- gst-plugins0.8-0.8.12.orig/debian/gstreamer-plugin-template.preinst +++ gst-plugins0.8-0.8.12/debian/gstreamer-plugin-template.preinst @@ -0,0 +1,29 @@ +#!/bin/sh + +set -e + +if [ "$1" = "upgrade" ]; then + if [ -d "/root/.gstreamer-@GST_ABI@" ]; then + # In versions prior to 0.8.10-2, GStreamer wrote an useless plugin + # registry in /root/.gstreamer-@GST_ABI@. + orig="`cat < + + + + +EOF`" + if [ -r "/root/.gstreamer-@GST_ABI@/registry.xml" ]; then + current="`cat "/root/.gstreamer-@GST_ABI@/registry.xml"`" + if [ "$orig" = "$current" ]; then + rm -f -v "/root/.gstreamer-@GST_ABI@/registry.xml" || true + rmdir -v "/root/.gstreamer-@GST_ABI@" || true + fi + fi + fi +fi + +#DEBHELPER# + +exit 0 + --- gst-plugins0.8-0.8.12.orig/debian/gstreamer-jpeg.install +++ gst-plugins0.8-0.8.12/debian/gstreamer-jpeg.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstjpeg.so --- gst-plugins0.8-0.8.12.orig/debian/gstreamer-gsm.install +++ gst-plugins0.8-0.8.12/debian/gstreamer-gsm.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstgsm.so --- gst-plugins0.8-0.8.12.orig/debian/libgstreamer-plugins.postrm +++ gst-plugins0.8-0.8.12/debian/libgstreamer-plugins.postrm @@ -0,0 +1,15 @@ +#!/bin/sh + +set -e + +if [ "$1" = "remove" ]; then + GST_REGISTRY=/var/lib/gstreamer/@GST_ABI@/registry.xml \ + gst-register-@GST_ABI@ > /dev/null || true + GST_REGISTRY=/var/lib/gstreamer/@GST_ABI@/registry.xml \ + gst-compprep-@GST_ABI@ > /dev/null || true +fi + +#DEBHELPER# + +exit 0 + --- gst-plugins0.8-0.8.12.orig/debian/gstreamer-caca.install +++ gst-plugins0.8-0.8.12/debian/gstreamer-caca.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstcacasink.so --- gst-plugins0.8-0.8.12.orig/debian/build-deps.in +++ gst-plugins0.8-0.8.12/debian/build-deps.in @@ -0,0 +1,55 @@ +@GST_LIB_DEV_DEP@ +@GST_EXTRA_BUILD_DEPENDS@ +libaa1-dev (>= 1.4p5) +autotools-dev +cdbs (>= 0.4.20) +debhelper (>= 4.1.0) +festival-dev (>= 1.4.2) +hermes1-dev (>= 1.3.2) +ladspa-sdk (>= 1.0) +liba52-0.7.4-dev +libarts1-dev (>= 1.4.2-1) +libartsc0-dev (>= 1.4.2-1) +libaudiofile-dev (>= 0.2.3) +libcaca-dev +libcairo2-dev (>= 0.5.0) | libcairo-dev (>= 0.5.0) +libcdio-dev +libdts-dev +libdv4-dev | libdv-dev +libdvdnav-dev (>= 0.1.9) +libdvdread3-dev (>= 0.9.4) +libesd0-dev (>= 0.2.28) +libflac-dev (>= 1.1.2-1) +libgconf2-dev (>= 2.4) +libglib2.0-dev (>= 2.2.0) +libgnomevfs2-dev (>= 2.4) +libgsm1-dev (>= 1.0.10) +libgtk2.0-dev (>= 2.2.0) +libid3tag0-dev (>= 0.14.2b) +libjpeg62-dev (>= 6b) +libmad0-dev (>= 0.14.2b) +libmms-dev (>= 0.2) +libmikmod2-dev (>= 3.1.10) +libmng-dev +libmpcdec-dev +libmpeg2-4-dev (>= 0.4.0b) +liboil0.3-dev (>= 0.3.1) +libpango1.0-dev +libpng12-0-dev +libsdl1.2-dev (>= 1.2.7+1.2.8cvs20041007-5.3) +libshout3-dev +libsidplay1-dev (>= 1.36.59-3) +libspeex-dev (>= 1.0.rel.4) +libswfdec0.3-dev (>= 0.3.2-1) +libtheora-dev +libvorbis-dev (>= 1.0.0-2) +libwavpack-dev (>= 4.32-1) +libx11-dev (>= 6.8.2.dfsg.1-3) +libxdamage-dev +libxext-dev (>= 6.8.2.dfsg.1-3) +libxfixes-dev +libxml2-dev (>= 2.4.23) +libxv-dev (>= 6.8.2.dfsg.1-3) +pkg-config (>= 0.11.0) +libgl1-mesa-dev | libgl-dev +zlib1g-dev (>= 1:1.1.4) --- gst-plugins0.8-0.8.12.orig/debian/build-deps +++ gst-plugins0.8-0.8.12/debian/build-deps @@ -0,0 +1,55 @@ +@GST_LIB_DEV_DEP@ +@GST_EXTRA_BUILD_DEPENDS@ +libaa1-dev (>= 1.4p5) +autotools-dev +cdbs (>= 0.4.20) +debhelper (>= 4.1.0) +festival-dev (>= 1.4.2) +hermes1-dev (>= 1.3.2) +ladspa-sdk (>= 1.0) +liba52-0.7.4-dev +libarts1-dev (>= 1.4.2-1) +libartsc0-dev (>= 1.4.2-1) +libaudiofile-dev (>= 0.2.3) +libcaca-dev +libcairo2-dev (>= 0.5.0) | libcairo-dev (>= 0.5.0) +libcdio-dev +libdts-dev +libdv4-dev | libdv-dev +libdvdnav-dev (>= 0.1.9) +libdvdread3-dev (>= 0.9.4) +libesd0-dev (>= 0.2.28) +libflac-dev (>= 1.1.2-1) +libgconf2-dev (>= 2.4) +libglib2.0-dev (>= 2.2.0) +libgnomevfs2-dev (>= 2.4) +libgsm1-dev (>= 1.0.10) +libgtk2.0-dev (>= 2.2.0) +libid3tag0-dev (>= 0.14.2b) +libjpeg62-dev (>= 6b) +libmad0-dev (>= 0.14.2b) +libmms-dev (>= 0.2) +libmikmod2-dev (>= 3.1.10) +libmng-dev +libmpcdec-dev +libmpeg2-4-dev (>= 0.4.0b) +liboil0.3-dev (>= 0.3.1) +libpango1.0-dev +libpng12-0-dev +libsdl1.2-dev (>= 1.2.7+1.2.8cvs20041007-5.3) +libshout3-dev +libsidplay1-dev (>= 1.36.59-3) +libspeex-dev (>= 1.0.rel.4) +libswfdec0.3-dev (>= 0.3.2-1) +libtheora-dev +libvorbis-dev (>= 1.0.0-2) +libwavpack-dev (>= 4.32-1) +libx11-dev (>= 6.8.2.dfsg.1-3) +libxdamage-dev +libxext-dev (>= 6.8.2.dfsg.1-3) +libxfixes-dev +libxml2-dev (>= 2.4.23) +libxv-dev (>= 6.8.2.dfsg.1-3) +pkg-config (>= 0.11.0) +libgl1-mesa-dev | libgl-dev +zlib1g-dev (>= 1:1.1.4) --- gst-plugins0.8-0.8.12.orig/debian/gstreamer-cdparanoia.install +++ gst-plugins0.8-0.8.12/debian/gstreamer-cdparanoia.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstcdparanoia.so --- gst-plugins0.8-0.8.12.orig/debian/gstreamer-mms.install +++ gst-plugins0.8-0.8.12/debian/gstreamer-mms.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstmms.so --- gst-plugins0.8-0.8.12.orig/debian/mk.control +++ gst-plugins0.8-0.8.12/debian/mk.control @@ -0,0 +1,16 @@ +#!/usr/bin/perl -w + +open BUILDDEPS, "debian/build-deps"; +@builddeplist = ; +close BUILDDEPS; + +chomp(@builddeplist); +$builddeps = join(", ", @builddeplist); + +open CONTROLIN, "debian/control.in"; + +while(){ + s/BUILDDEPS/$builddeps/; + print; +} + --- gst-plugins0.8-0.8.12.orig/debian/watch +++ gst-plugins0.8-0.8.12/debian/watch @@ -0,0 +1,2 @@ +version=2 +http://gstreamer.freedesktop.org/src/gst-plugins/gst-plugins-(0\.8\..*)\.tar\.gz --- gst-plugins0.8-0.8.12.orig/debian/gstreamer-plugin-apps.install +++ gst-plugins0.8-0.8.12/debian/gstreamer-plugin-apps.install @@ -0,0 +1,2 @@ +debian/tmp/usr/bin/gst-launch-ext-@GST_ABI@ +debian/tmp/usr/bin/gst-visualise-@GST_ABI@ --- gst-plugins0.8-0.8.12.orig/debian/gstreamer-audiofile.install +++ gst-plugins0.8-0.8.12/debian/gstreamer-audiofile.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstaudiofile.so --- gst-plugins0.8-0.8.12.orig/debian/gstreamer-oss.install +++ gst-plugins0.8-0.8.12/debian/gstreamer-oss.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstossaudio.so --- gst-plugins0.8-0.8.12.orig/debian/gstreamer-x.install +++ gst-plugins0.8-0.8.12/debian/gstreamer-x.install @@ -0,0 +1,4 @@ +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstglimagesink.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstximagesink.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstxvimagesink.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstxwindowlistener.so --- gst-plugins0.8-0.8.12.orig/debian/gstreamer-dv.install +++ gst-plugins0.8-0.8.12/debian/gstreamer-dv.install @@ -0,0 +1,2 @@ +@1394@ +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstdvdec.so --- gst-plugins0.8-0.8.12.orig/debian/gstreamer-mpeg2dec.install +++ gst-plugins0.8-0.8.12/debian/gstreamer-mpeg2dec.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstmpeg2dec.so --- gst-plugins0.8-0.8.12.orig/debian/gstreamer-dvd.install +++ gst-plugins0.8-0.8.12/debian/gstreamer-dvd.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstdvdnavsrc.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstdvdreadsrc.so --- gst-plugins0.8-0.8.12.orig/debian/gstreamer-artsd.install +++ gst-plugins0.8-0.8.12/debian/gstreamer-artsd.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstartsdsink.so --- gst-plugins0.8-0.8.12.orig/debian/gstreamer-cdio.install +++ gst-plugins0.8-0.8.12/debian/gstreamer-cdio.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstcddasrc.so --- gst-plugins0.8-0.8.12.orig/debian/gstreamer-alsa.install +++ gst-plugins0.8-0.8.12/debian/gstreamer-alsa.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstalsa.so --- gst-plugins0.8-0.8.12.orig/debian/gstreamer-mikmod.install +++ gst-plugins0.8-0.8.12/debian/gstreamer-mikmod.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstmikmod.so --- gst-plugins0.8-0.8.12.orig/debian/gstreamer-aa.install +++ gst-plugins0.8-0.8.12/debian/gstreamer-aa.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstaasink.so --- gst-plugins0.8-0.8.12.orig/debian/gstreamer-sdl.install +++ gst-plugins0.8-0.8.12/debian/gstreamer-sdl.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstsdlvideosink.so --- gst-plugins0.8-0.8.12.orig/debian/gstreamer-theora.install +++ gst-plugins0.8-0.8.12/debian/gstreamer-theora.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgsttheora.so --- gst-plugins0.8-0.8.12.orig/debian/gstreamer-hermes.install +++ gst-plugins0.8-0.8.12/debian/gstreamer-hermes.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgsthermescolorspace.so --- gst-plugins0.8-0.8.12.orig/debian/gstreamer-speex.install +++ gst-plugins0.8-0.8.12/debian/gstreamer-speex.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstspeex.so --- gst-plugins0.8-0.8.12.orig/debian/gstreamer-plugin-apps.manpages +++ gst-plugins0.8-0.8.12/debian/gstreamer-plugin-apps.manpages @@ -0,0 +1,2 @@ +debian/tmp/usr/share/man/man1/gst-launch-ext-@GST_ABI@.1 +debian/tmp/usr/share/man/man1/gst-visualise-@GST_ABI@.1 --- gst-plugins0.8-0.8.12.orig/debian/gstreamer-gtk.install +++ gst-plugins0.8-0.8.12/debian/gstreamer-gtk.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstgdkpixbuf.so --- gst-plugins0.8-0.8.12.orig/debian/libgstreamer-plugins-dev.install +++ gst-plugins0.8-0.8.12/debian/libgstreamer-plugins-dev.install @@ -0,0 +1,24 @@ +debian/tmp/usr/include/gstreamer-@GST_ABI@/gst/audio +debian/tmp/usr/include/gstreamer-@GST_ABI@/gst/colorbalance +debian/tmp/usr/include/gstreamer-@GST_ABI@/gst/floatcast +debian/tmp/usr/include/gstreamer-@GST_ABI@/gst/idct +debian/tmp/usr/include/gstreamer-@GST_ABI@/gst/media-info +debian/tmp/usr/include/gstreamer-@GST_ABI@/gst/mixer +debian/tmp/usr/include/gstreamer-@GST_ABI@/gst/navigation +debian/tmp/usr/include/gstreamer-@GST_ABI@/gst/play +debian/tmp/usr/include/gstreamer-@GST_ABI@/gst/propertyprobe +debian/tmp/usr/include/gstreamer-@GST_ABI@/gst/resample +debian/tmp/usr/include/gstreamer-@GST_ABI@/gst/riff +debian/tmp/usr/include/gstreamer-@GST_ABI@/gst/tag +debian/tmp/usr/include/gstreamer-@GST_ABI@/gst/tuner +debian/tmp/usr/include/gstreamer-@GST_ABI@/gst/video +debian/tmp/usr/include/gstreamer-@GST_ABI@/gst/xoverlay +debian/tmp/usr/include/gstreamer-@GST_ABI@/gst/xwindowlistener +debian/tmp/usr/lib/libgstinterfaces-@GST_ABI@.{la,so} +debian/tmp/usr/lib/libgstmedia-info-@GST_ABI@.{la,so} +debian/tmp/usr/lib/libgstplay-@GST_ABI@.{la,so} +debian/tmp/usr/lib/pkgconfig/gstreamer-plugins-@GST_ABI@.pc +debian/tmp/usr/lib/pkgconfig/gstreamer-libs-@GST_ABI@.pc +debian/tmp/usr/lib/pkgconfig/gstreamer-interfaces-@GST_ABI@.pc +debian/tmp/usr/lib/pkgconfig/gstreamer-media-info-@GST_ABI@.pc +debian/tmp/usr/lib/pkgconfig/gstreamer-play-@GST_ABI@.pc --- gst-plugins0.8-0.8.12.orig/debian/gstreamer-plugin-template.postrm +++ gst-plugins0.8-0.8.12/debian/gstreamer-plugin-template.postrm @@ -0,0 +1,15 @@ +#!/bin/sh + +set -e + +if [ "$1" = "remove" ]; then + GST_REGISTRY=/var/lib/gstreamer/@GST_ABI@/registry.xml \ + gst-register-@GST_ABI@ > /dev/null || true + GST_REGISTRY=/var/lib/gstreamer/@GST_ABI@/registry.xml \ + gst-compprep-@GST_ABI@ > /dev/null || true +fi + +#DEBHELPER# + +exit 0 + --- gst-plugins0.8-0.8.12.orig/debian/gstreamer-spc.install +++ gst-plugins0.8-0.8.12/debian/gstreamer-spc.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstspc.so --- gst-plugins0.8-0.8.12.orig/debian/libgstreamer-plugins.postinst +++ gst-plugins0.8-0.8.12/debian/libgstreamer-plugins.postinst @@ -0,0 +1,15 @@ +#!/bin/sh + +set -e + +if [ "$1" = "configure" ]; then + GST_REGISTRY=/var/lib/gstreamer/@GST_ABI@/registry.xml \ + gst-register-@GST_ABI@ > /dev/null || true + GST_REGISTRY=/var/lib/gstreamer/@GST_ABI@/registry.xml \ + gst-compprep-@GST_ABI@ > /dev/null || true +fi + +#DEBHELPER# + +exit 0 + --- gst-plugins0.8-0.8.12.orig/debian/compat +++ gst-plugins0.8-0.8.12/debian/compat @@ -0,0 +1 @@ +4 --- gst-plugins0.8-0.8.12.orig/debian/extra +++ gst-plugins0.8-0.8.12/debian/extra @@ -0,0 +1,81 @@ +#!/bin/sh + +if [ $# -lt 2 ]; then + echo "usage: $1 deps|control plugin" + exit 1 +fi + +case $1 in + deps) + case $2 in + avifile) + echo "libavifile0.7-dev (>= 0.7.12.20020719)" + ;; + lame) + echo "lame-dev (>= 3.91)" + echo "liblame0 (>= 3.91)" + ;; + spc) + echo "nasm" + ;; + *) + echo "ERROR invalid plugin: add your plugin to debian/extra" + exit 1 + ;; + esac ;; + + control) + case $2 in + avifile) +cat << EOF +Package: @GST_PKGNAME@-avifile +Architecture: any +Section: libs +Depends: \${shlibs:Depends}, @GST_LIB@ +Description: avifile plugin for GStreamer + This GStreamer plugin uses libavifile to read and write compressed streams. + avifile supports many libraries that are natively supported with other + GStreamer plugins. It also supports AVI files (Indeo Video, DivX :-), etc.) + under x86 GNU/Linux through the use of win32 codecs. + . + http://avifile.sourceforge.net/ + +EOF +;; + lame) +cat << EOF +Package: @GST_PKGNAME@-lame +Architecture: any +Section: libs +Depends: \${shlibs:Depends}, @GST_LIB@ +Description: LAME plugin for GStreamer + This GStreamer plugin uses LAME to encode audio stream into a MPEG1 layer 3 + compressed audio stream. This is commonly known as the "mp3" format. + . + http://www.mp3dev.org/ + . + Debian packages can be found at: + http://www.mayin.org/~gandalf/downloads/ + +EOF +;; + spc) +cat << EOF +Package: @GST_PKGNAME@-spc +Architecture: any +Section: libs +Depends: \${shlibs:Depends}, @GST_LIB@ +Description: SPC plugin for GStreamer + This GStreamer plugin plays SPC audio files. SPC files contain programs for + the SPC700 audio processor, used on the SNES game console. + +EOF +;; + *) + echo "ERROR invalid plugin: add your plugin to debian/extra" + exit 1 + ;; + esac ;; + *) echo "ERROR use deps or control" ;; +esac + --- gst-plugins0.8-0.8.12.orig/debian/HACKING.Debian +++ gst-plugins0.8-0.8.12/debian/HACKING.Debian @@ -0,0 +1,107 @@ +Hacking GStreamer for Debian +============================ + +An addition to the README.Debian that has Debian package hacking notes. + +Everything should now be versioned. + +- To update dependencies edit debian/build-deps.in + +- To rebuild package files from .in files: + + debian/rules maint + +- After a version update to check for missing files run: + + debian/maint missing + debian/maint missing-libs + debian/maint missing-so + +- To update package files edit gstreamer-foo then rebuild package files. This + will generate the gstreamerX.Y-foo file. Also update debian/rules and + debian/control.in as needed. + +- Packages are split roughly based on their dependencies. In general, if a + user might have no need for a package that has a specific external library + dependency it has been put in its own package. Possibly group files if they + are related, for instance the -dv package has libdv and 1394 libs + dependencies. Everything else goes in the gstreamer-misc package. + +- Provide gstreamerX.Y-videosink and gstreamerX.Y-audiosink as needed. + +- gstreamerX.Y-plugins depends on all the other non-dev packages. + +- All interfaces and generic libraries go in libgstreamer-plugins, libraries + with external dependencies have their own package such as libgstreamer-gconf. + +- Applications go in gstreamerX.Y-plugin-apps + + +File listing +------------ + +build-deps: + - generated from "build-deps.in" and "extra deps" in "rules + debian/build-deps:": + * "build-deps.in" lists build-depends for Debian main packages + * "extra deps" is a shell script outputting additional build-depends + if you are building additional plugins + - serves generation with "control.in" and "mk.control" of "control" in + "rules debian/control::" +build-deps.in: + - lists build-depends for Debian main packages + - serves generation with "extra deps" of "build-deps" in "rules + debian/build-deps:" +changelog: handled classically +compat: handled classically +control: + - generated for "rules maint" + - generated from "control.in" and "build-deps" in "rules debian/control::": + * "build-deps" lists build-depends to be inserted in "control + Build-Depends:" + * "control.in" serves of template for package descriptions of Debian main + packages and makes use of special stanzas enclosed in "@" such as + "@GST_ABI" which are replaced via sed in "rules debian/control::" + * "extra deps" is a shell script outputting additional binary packages + if you are building additional plugins +control.in: + - serves generation of "control" in "rules debian/control::" via "mk.control" + called in "rules debian/control::" + - template for package descriptions of Debian main packages and makes use of + special stanzas enclosed in "@" such as "@GST_ABI" which are replaced via + sed in "rules debian/control::" +copyright: handled classically +extra: + - serves the generation of build-deps of additional packages not in Debian + main in "rules debian/build-deps:" + - serves the generation of additional binary packages if you are building + additional plugins in "rules debian/control::" +gstreamer-$plugin.install: + - serves the generation of $gst_pkgname-$plugin.install (for example + gstreamer-sdl.install serves the generation of gstreamer0.8-sdl.install) in + "rules pre-build::" via dynamic "@"-enclosed variables replacement + - some plugins are handled specially and some special variables are available +gstreamer-plugin-apps.install: this isn't really a plugin, but the + gstreamer0.8-plugin-apps package +gstreamer-plugin-apps.manpages: man pages for the gstreamer0.8-plugin-apps + package +gstreamer-plugin-template.postinst, gstreamer-plugin-template.postrm: + - serves the generation of $gst_pkgname-$plugin.postinst and .postrm for + all plugin packages +HACKING.Debian: this file +libgstreamer-gconf-dev.install libgstreamer-gconf.install libgstreamer-plugins-dev.install libgstreamer-plugins.install: handled similarly has gstreamer0.8-plugin-apps +maint: makefile wrapping some targets of "rules" with some sh filtering +mk.control: + - Perl script serving the generation of "control" which reads "build-deps" + and "control.in", and replaces the "BUILDDEPS" stanza with the build-deps +patches: handled classically +README.Debian: handled classically +rules: handled classically, with special targets "maint:", and + "debian/build-deps:" +watch: handled classically + +This file is the initial work of: +David I. Lehn Tue, 13 Apr 2004 21:28:55 -0400 +and had some additions by: +Loic Minier Sun, 19 Jun 2005 19:04:58 +0200 + --- gst-plugins0.8-0.8.12.orig/debian/changelog +++ gst-plugins0.8-0.8.12/debian/changelog @@ -0,0 +1,1263 @@ +gst-plugins0.8 (0.8.12-1ubuntu2) dapper; urgency=low + + * debian/patches/51_wavpack-big-endian.patch: + + Add patch that fixes a segfault on big endian systems + * Adjusted Build-Depends to build against wavpack (>= 4.32-1) + + -- Sebastian Dröge Wed, 26 Apr 2006 12:15:38 +0200 + +gst-plugins0.8 (0.8.12-1ubuntu1) dapper; urgency=low + + * Sync with Debian: + + Add Conflicts/Provides for gstreamer0.8-wavpack to gstreamer0.8-misc + + Use Architecture: any for the alsa and cdparanoia plugin (and remove the + @linux@ hack) + + Don't Build-Depend on type-handling + + Use correct Build-Depends for mesa + + Don't ship the autosink + + Drop debian/patches/gstpad.patch: a better solution is upstream now (see + GNOME Bugzilla #315144 and #313209) + + Still use ESD as default sink + + -- Sebastian Dröge Tue, 14 Feb 2006 10:50:30 +0100 + +gst-plugins0.8 (0.8.12-1) unstable; urgency=low + + * New upstream release, "Ravage". + + -- Loic Minier Sat, 11 Feb 2006 11:39:01 +0100 + +gst-plugins0.8 (0.8.11.3-1) unstable; urgency=low + + * New upstream pre-release. + - Bump libmms build-dep to >= 0.2 for mmsh:// support. + [debian/build-deps, debian/build-deps.in, debian/control] + + -- Loic Minier Wed, 8 Feb 2006 16:45:55 +0100 + +gst-plugins0.8 (0.8.11.2-1) unstable; urgency=low + + * New upstream pre-release. + - Bump libgstreamer0.8-dev to >= 0.8.11.2. + [debian/control, debian/rules] + - Bump libasound2-dev build-dep to >= 1.0.0. + [debian/control, debian/rules] + - Drop patch fixing some wavpack use cases (merged upstream). + [debian/patches/10_wavpack-high-quality-segfault.patch] + - Drop patch verifying ALSA accepted the period size (merged upstream). + [debian/patches/30_alsa-verify-accepted-period-size.patch] + - Drop ALSA advanced probing patch (merged upstream). + [debian/patches/31_alsa-advanced-probing.patch] + - Drop SIGFPE fix with buffer-size parameter (merged upstream). + [debian/patches/32_buffer_size_fpe.patch] + - Drop timestamps and duration fix for audioscale (merged upstream). + [debian/patches/40_audioscale-timestamps-and-durations.patch] + - Drop fix for the EOS detection in the last title for cdparanoia (merged + upstream). + [debian/patches/50_cdparanoia-fix-eos-detection-of-last-title.patch] + - Relibtoolize. + [debian/patches/70_relibtoolize.patch] + + -- Loic Minier Wed, 8 Feb 2006 16:36:55 +0100 + +gst-plugins0.8 (0.8.11-6ubuntu1) dapper; urgency=low + + * Merge with Debian + * Remove duplicated Provides for gstreamer0.8-misc package + + -- Sebastian Dröge Sat, 28 Jan 2006 11:25:37 +0100 + +gst-plugins0.8 (0.8.11-6) unstable; urgency=low + + * Bump Replaces and drop Conflicts in gstreamer-gtk against -misc, thanks + Sebastien Bacher and Adeodato Simó. (Closes: #344712) + [debian/control, debian/control.in] + + -- Loic Minier Mon, 9 Jan 2006 18:47:33 +0100 + +gst-plugins0.8 (0.8.11-5) unstable; urgency=low + + * Fix the erroneous GST_DOC call in configure.ac. (You need to relibtoolize + to benefit of this patch.) + [debian/patches/20_gst-doc-m4.patch] + * Relibtoolize. + [debian/patches/70_relibtoolize.patch] + + -- Loic Minier Sun, 8 Jan 2006 12:00:02 +0100 + +gst-plugins0.8 (0.8.11-4) unstable; urgency=high + + * Add a Conflicts on gstreamer0.8-misc additionally to the Replaces. + (Closes: #344712) + [debian/control, debian/control.in] + * New patch by David Riebenbauer to fix setting of the buffer-size parameter + to the alsa plugin which caused SIGFPE in quolibet. (Closes: #344864) + [debian/patches/32_buffer_size_fpe.patch] + * Fix debian/control generation with extra plugins, thanks Josh Triplett. + [debian/rules] + * Add support for building the SPC plugin via extra plugins, thanks Josh + Triplett. (Closes: #345489) + [debian/extra, debian/gstreamer-spc.install] + + -- Loic Minier Sun, 8 Jan 2006 10:17:36 +0100 + +gst-plugins0.8 (0.8.11-3ubuntu2) dapper; urgency=low + + * gstreamer0.8-misc Conflicts/Replaces/Provides gstreamer0.8-wavpack + + -- Sebastien Bacher Thu, 15 Dec 2005 12:41:29 +0100 + +gst-plugins0.8 (0.8.11-3ubuntu1) dapper; urgency=low + + * Sync with Debian. + * don't use type-handling + [debian/build-deps.in, debian/control.in, debian/rules] + * updated the mesa packages [debian/build-deps.in] + * don't ship the autosink, upstream don't recommand using it for the moment + [debian/gstreamer-misc.install] + * default sink is esd + [debian/patches/default_sink.patch] + * patch from http://bugzilla.gnome.org/show_bug.cgi?id=315144 to fix + some issue with banshee and goobox [debian/patches/gstpad.patch] + + -- Sebastien Bacher Mon, 12 Dec 2005 16:06:49 +0100 + +gst-plugins0.8 (0.8.11-3) unstable; urgency=medium + + * New CDIO plugin package. + . Add libcdio-dev build-dep for CDIO support. + [debian/build-deps.in, debian/build-deps, debian/control] + . Add package description and file listing. + [debian/gstreamer-cdio.install, debian/control.in, debian/control] + . List package in plugins build-list. [debian/rules] + . List package in gstreamer-plugins deps. + [debian/control.in, debian/control] + * New MMS plugin package. (Closes: #301246) + . Add libmms-dev build-dep for mms:// and mmsh:// support. + [debian/build-deps.in, debian/build-deps, debian/control] + . Add package description and file listing. + [debian/gstreamer-cdio.install, debian/control.in, debian/control] + . List package in plugins build-list. [debian/rules] + . List package in gstreamer-plugins deps. + [debian/control.in, debian/control] + * Fix the homepage of the mikmod page and stop linking to an adult web site. + [debian/control, debian/control.in] + * Remove "Section: libs" from binary packages. + [debian/control, debian/control.in] + * Exit with non-zero code when requesting an unknown plugin. + [debian/extra] + * Add sample code to permit other distros to build additional plugins. + [debian/rules] + * Minor cleanups. + [debian/rules] + * New Gtk / Gdk package to split out this dep-tree for KDE folks, from + Ubuntu, thanks Sebastien Bacher. + . Add package description and file listing, remove it from -misc. + [debian/control.in, debian/control, debian/gstreamer-gtk.install, + debian/gstreamer-misc.install] + . List package in plugins build-list. [debian/rules] + . List package in gstreamer-plugins deps. + [debian/control.in, debian/control] + . Only "Replace" with -misc in the first version doing the split + (0.8.11-0ubuntu3), no Conflict needed. + * Add wavpack support, build the wavpack plugin and ship it in -misc. + (Closes: #339598) + . Add a libwavpack-dev build-dep. + [debian/build-deps, debian/build-deps.in] + . Ship plugin in -misc. + [debian/gstreamer-misc.install] + . Adjust the size of the internal decode buffer dynamically instead of + assuming 0.5 seconds are enough; fixes a segfault when playing files + encoded with -h; upstream bug: #317774; fix committed in branch + BRANCH-GSTREAMER-0_8. + [debian/patches/10_wavpack-high-quality-segfault.patch] + * Backport some interesting upstream fixes from CVS fixing most resampling + issues for non-standard bitrates and for complex ALSA configurations + (especially dmix), thanks Tim-Philipp Müller, Luca Ognibene, and others. + (Closes: #323447, #324163, #326135, #340038) + - When doing _set_period_size_near(), see what period size was actually + set in the end and continue working with that value instead of just + assuming the desired period size was accepted; upstream bug #318767; + fix committed in branch BRANCH-GSTREAMER-0_8. + [debian/patches/30_alsa-verify-accepted-period-size.patch] + - Don't mess up timestamps and durations when resampling by more than a + factor of 2 (e.g. 8kHz => 48kHz); upstream bug #318273; fix committed + in branch BRANCH-GSTREAMER-0_8. + [debian/patches/40_audioscale-timestamps-and-durations.patch] + - When the default device is being used, try to probe the caps of the + underlying device instead if possible. This should give more narrowly + defined caps that are closer to the hardware's capabilities. This is + enabled by default, but can be switched off via the new + 'advanced-probing' property; upstream bug #315121; fix committed in + branch BRANCH-GSTREAMER-0_8. + [debian/patches/31_alsa-advanced-probing.patch] + * Drop the polypaudio plugin package. (Closes: #342278) + . Drop libpolyp-dev (>= 0.7) build-dep. + [debian/build-deps.in, debian/build-deps, debian/control] + . Remove package description and file listing. + [debian/gstreamer-polypaudio.install, debian/control.in, debian/control] + . Remove package from plugins build-list. [debian/rules] + . Remove package from gstreamer-plugins deps. + [debian/control.in, debian/control] + * Add libgconf2-dev, libglib2.0-dev, liborbit2-dev, libpopt-dev, libxml2-dev + deps to libgstreamer-gconf0.8-dev as listed in its .la files. + [debian/control, debian/control.in] + * Add libglib2.0-dev, libpopt-dev, libxml2-dev deps to + libgstreamer-plugins0.8-dev as listed in its .la files. + [debian/control, debian/control.in] + * Fix EOS detection for last title (fixes gnome-cd hanging after last track + ends), thanks Gustavo Noronha Silva; upstream bug #317630; fix committed + in branch BRANCH-GSTREAMER-0_8. (Closes: #330954) + [debian/patches/50_cdparanoia-fix-eos-detection-of-last-title.patch] + * Don't overwrite DEB_CONFIGURE_EXTRA_FLAGS. + [debian/rules] + + -- Loic Minier Sun, 11 Dec 2005 14:52:38 +0100 + +gst-plugins0.8 (0.8.11-2) unstable; urgency=high + + * Add misc:depends to all binary packages. (Closes: #329759) + + -- Loic Minier Mon, 17 Oct 2005 21:41:54 +0200 + +gst-plugins0.8 (0.8.11-1) unstable; urgency=low + + * Override gstreamer-dv section to extra because it depends on libavc1394-0 + which is in extra. [debian/control, debian/control.in] + * Bump libflac-dev build-dependency for the latest flac soname change + (libflac6 -> libflac7). (Closes: #325940) + * New upstream release, "... And Thanks For All The Fix". + - New plugin imagemixer. [debian/gstreamer-misc.install] + - New plugin dvdsubdec. [debian/gstreamer-misc.install] + - Drop obsolete artsd patch, merged upstream. + [debian/patches/25_artds-no-name.patch] + * Update FSF address. [debian/copyright] + * Add cairo plugin. [debian/build-deps, debian/build-deps.in, + debian/control, debian/gstreamer-misc.install] + + -- Loic Minier Sun, 4 Sep 2005 21:19:47 +0200 + +gst-plugins0.8 (0.8.10-3) unstable; urgency=high + + * Urgency high because this fixes some RC bugs and 0.8.10-2 was caught in + the C++ transition. + * Bump up build-deps to get versions past the C++ transition. + [debian/build-deps, debian/build-deps.in, debian/control] + - libsdl1.2-dev + - libsidplay1-dev (Closes: #321315) + - libarts1-dev, libartsc0-dev + * Change X11 build-deps for the Xorg transition. + [debian/build-deps, debian/build-deps.in, debian/control] + - remove xlibs-dev and xlibs-pic. + - add libx11-dev, libxext-dev, and libxv-dev. + * Drop jack plugin. [debian/build-deps, debian/build-deps.in, + debian/control, debian/control.in, debian/gstreamer-jack.install, + debian/rules] (Closes: #321648) + * Add libgstglimagesink plugin. [debian/gstreamer-x.install] + * Add libgstfreeze plugin. (Closes: #318146) [debian/gstreamer-misc.install] + * Let libgstreamer-gconf suggest gnome-media. (Closes: #294490) + [debian/control, debian/control.in] + + -- Loic Minier Fri, 12 Aug 2005 18:36:58 +0200 + +gst-plugins0.8 (0.8.10-2) unstable; urgency=medium + + [ Sebastien Bacher ] + * debian/build-deps.in: + - list libpolyp-dev. + * debian/control.in: + - gstreamer0.8-plugins depends on gstreamer0.8-polypaudio. + - gstreamer0.8-polypaudio description. + * gstreamer-polypaudio.install: + - install libpolypaudio.so. + * debian/rules: + - list polypaudio. + + [ Loic Minier ] + * Update jack dependency. (Closes: #317197) + [debian/build-deps, debian/build-deps.in, debian/control] + * Update aalib dependency. (Closes: #320886) + [debian/build-deps, debian/build-deps.in, debian/control] + + * Urgency medium because of RC. + + -- Loic Minier Sun, 10 Jul 2005 19:27:08 +0200 + +gst-plugins0.8 (0.8.10-1) unstable; urgency=low + + * Loic Minier: + * New upstream release "Jangle". + - Bump inter-dependencies to >= 0.8.10. + * Use upstream fix for the "name" property of the artsdsink element. + [debian/patches/25_artds-no-name.patch] + + -- Loic Minier Sat, 2 Jul 2005 21:04:40 +0200 + +gst-plugins0.8 (0.8.9-2) unstable; urgency=medium + + * Loic Minier: + * Urgency medium as last gstreamer0.8 release exposed an artsdsink + problem fixed here. + * Add a versioned dependency with >= current-upstream-version to all + current shlibs inter-dependencies to ensure consistency of symbols. + (Closes: #315556) [debian/control, debian/control.in, debian/rules] + * Remove the "name" property in the artsd plugin as it interferes with + the usage of this property within GStreamer. (Closes: #314762) + [debian/patches/25_artds-no-name.patch] + * Call gst-register and gst-compprep with GST_REGISTRY in their + environment to override the default behavior of writing to + /root/.gstreamer-0.8, waiting for an upstream fix. + [debian/gstreamer-plugin-template.postinst, + debian/gstreamer-plugin-template.postrm] + * Add a postinst/postrm snipset to register plugins in + libgstreamer-plugins0.8. (Closes: #283658) + [debian/libgstreamer-plugins.postrm, + debian/libgstreamer-plugins.postinst, debian/changelog, debian/rules] + * Remove left over /root/.gstreamer-0.8 tree if it hasn't been modified. + [debian/gstreamer-plugin-template.preinst, debian/rules] + * Set Maintainer to group. [debian/control, debian/control.in] + * Bump Standards-Version to 3.6.2, no change needed. + [debian/control, debian/control.in] + * Workaround type-handling bug #315761. + [debian/control, debian/control.in, debian/rules] + + -- Loic Minier Mon, 27 Jun 2005 15:44:35 +0200 + +gst-plugins0.8 (0.8.9-1) unstable; urgency=low + + * Loic Minier: + * New upstream release "Old Hat". + - Fix SIGFPE in alsasrc. (Closes: #279399) + - New Musepack plugin package. + . Add libmpcdec-dev build-dep for Musepack support, this is now + detected in a Debian compatible manner via mpcdec/mpcdec.h and + -lmpcdec. [debian/build-deps.in, debian/build-deps, debian/control] + . Add package description and file listing. + [debian/gstreamer-musepack.install, debian/control.in, + debian/control] + . List package in plugins build-list. [debian/rules] + . List package in gstreamer-plugins deps. + [debian/control.in, debian/control] + - Renamed and updated "ladspa" patch. + [debian/patches/ladspa-quiet.patch, + debian/patches/50_ladspa-quiet.patch] + - Add video4linuxradio plugin to the gstreamer-misc package. + [debian/rules] + * Add compatibility block for older dpkg and use DEB_HOST_ARCH_OS. + * Add myself as uploader. [debian/control.in, debian/control] + * Fix indentation and executable permission of package maintaining + helpers. [debian/extra, debian/maint, debian/mk.control] + * Remove more bits from the arts plugin, left over in 0.8.1-2. + [debian/extra, debian/gstreamer-arts.install] + * Document the role of most files. [debian/HACKING.Debian] + * Add a TODO list for the Debian package. [debian/TODO.Debian] + + -- Loic Minier Tue, 21 Jun 2005 07:47:04 +0200 + +gst-plugins0.8 (0.8.8-3) unstable; urgency=low + + * debian/build-deps.in: + * Bump liboil dependency to liboil0.3-dev. gst-plugins doesn't yet use + 0.3 itself but the swfdec plugin build requires it. + + -- David I. Lehn Wed, 30 Mar 2005 19:08:07 -0500 + +gst-plugins0.8 (0.8.8-2) unstable; urgency=low + + * debian/control.in: + * gstreamer0.8-vorbis depends on gstreamer0.8-misc >= 0.8.8-1 + (Closes: #300082, #299954, #299921) + + -- David I. Lehn Thu, 17 Mar 2005 12:53:38 -0500 + +gst-plugins0.8 (0.8.8-1) unstable; urgency=low + + * New upstream + * debian/patches/flac.patch: + * Remove: included upstream + * debian/gstreamer-misc.install: + * Add new plugins: autodetect, dvdlpcmdec, puzzle, rfbsrc, subparse + * Add new plugins with lib dependencies: gconfelements, mng, shout2 + (Closes: #292011) + * debian/build-deps.in: + * Add: libmng-dev, libshout3-dev + * Upstream fixes: + * Xv falls back to X11 (Closes: #296848) + * Better audio sink selection (Closes: #284210) + * alsasink crash (Closes: #296751) + + -- David I. Lehn Wed, 16 Mar 2005 01:00:39 -0500 + +gst-plugins0.8 (0.8.7-3) unstable; urgency=low + + * debian/rules, debian/build-deps.in + * Apply additional kfreebsd-gnu patch (Closes: #272568) + * debian/patches/flac.patch: + * Upstream fix for FLAC API change (Closes: #290784) + + -- David I. Lehn Mon, 17 Jan 2005 17:53:42 -0500 + +gst-plugins0.8 (0.8.7-2) unstable; urgency=low + + * debian/rules: + * Bump libgstreamer0.8-dev dependency to >= 0.8.7.1 + + -- David I. Lehn Sat, 8 Jan 2005 15:50:45 -0500 + +gst-plugins0.8 (0.8.7-1) unstable; urgency=low + + * New upstream + * debian/build-deps.in, debian/control.in, debian/rules, + debian/gstreamer-dv.install, debian/gstreamer-misc.install: + * Patch build system for kfreebsd-gnu (Closes: #272568) + * debian/rules: + * Distribute NEWS (as requested in #275717) + * debian/gstreamer-misc.install: + * Add new plugins: apetag, tta + * debian/patches/configure-speex.patch: + * Remove patch, included upstream + * debian/build-deps.in: + * Build against latest libflac-dev + + -- David I. Lehn Fri, 7 Jan 2005 13:52:27 -0500 + +gst-plugins0.8 (0.8.6-1) unstable; urgency=low + + * New upstream + * Rhythmbox hangs/crashes fixes (Closes: #245757, #277146) + * Rhythmbox silence after resume play fixes (Closes: #261841) + * Ogg seeking fixes (Closes: #277396) + * debian/build-deps.in: + * Bump libswfdec to libswfdec0.3-dev + * Add libavc1394-dev + * Add liboil0.2-dev + * Versioned libspeex-dev + * debian/gstreamer-misc.install: + * Add new plugin: equalizer + * debian/watch: + * Add watch file + * debian/rules: + * Update GStreamer core dev dependency to 0.8.4 + * ext/ladspa/gstladspa.c, debian/patches/ladspa-quiet.patch: + * Move patch to debian/patches/ + + -- David I. Lehn Mon, 29 Nov 2004 04:02:43 -0500 + +gst-plugins0.8 (0.8.5-1) unstable; urgency=low + + * New upstream + * debian/rules: + * Use CDBS simple-patchsys + * debian/control: to debian/control:: for newer CDBS + * debian/patches/configure-speex.diff: + * Fix speex detection + + -- David I. Lehn Wed, 6 Oct 2004 20:15:52 -0400 + +gst-plugins0.8 (0.8.4-1) unstable; urgency=low + + * New upstream + * debian/control.in: + * Add -theora package to -plugins package + * debian/rules: + * Drop upstream ChangeLog from plugin packages due to size + * debian/README.Debian: + * Add note about ChangeLog + + -- David I. Lehn Thu, 2 Sep 2004 23:03:44 -0400 + +gst-plugins0.8 (0.8.3-1) unstable; urgency=low + + * New upstream + * debian/control.in, debian/build-deps.in, debian/gstreamer-theora.install, + debian/rules: + * New theora plugin + * debian/gstreamer-misc.install: + * Add new plugins: alphacolor, decodebin, multifilesink, playbin + + -- David I. Lehn Sat, 7 Aug 2004 09:50:10 -0400 + +gst-plugins0.8 (0.8.2-3) unstable; urgency=high + + * debian/libgstreamer-gconf.postinst: + Remove. schema install now handled by dh_gconf which moved the schema + location causing old hardcoded /etc path to fail. + (Closes: #259538, #259119, #259205) + * Urgency high: GNOME team wants this in sarge now. + + -- David I. Lehn Fri, 16 Jul 2004 09:17:18 -0400 + +gst-plugins0.8 (0.8.2-2) unstable; urgency=low + + * debian/rules: + * Bump libgstreamer0.8-dev dep up to get fixed shlibs + * Rebuild with proper shlibs (Closes: #256181, #256494) + + -- David I. Lehn Wed, 7 Jul 2004 01:16:48 -0400 + +gst-plugins0.8 (0.8.2-1) unstable; urgency=medium + + * New upstream + * debian/build-deps.in: + * Add libdts-dev + * ext/Makefile.{am,in}: + * Fix so dts dir is built + * debian/gstreamer-misc.install: + * Add DTS plugin + * Added alpha, audiorate, dtsdec, multipart, videobox, videomixer, and + videorate + * debian/rules: + * Update libgstreamer0.8-dev build dependency to 0.8.3-2 + * debian/control.in: + * Remove explicit libgstreamer deps, autodetected now + + -- David I. Lehn Wed, 23 Jun 2004 23:50:53 -0400 + +gst-plugins0.8 (0.8.1-4) unstable; urgency=low + + * gst-libs/gst/riff/riff-media.c: + * caps type typo fix from CVS + * gst-libs/gst/resample/private.h: + * disabled ppc code fix from CVS (Closes: #252991) + * sys/v4l/gstv4lsrc.c: + * caps fix NULL->any from CVS + + -- David I. Lehn Wed, 16 Jun 2004 01:24:41 -0400 + +gst-plugins0.8 (0.8.1-3) unstable; urgency=low + + * rerun autoget.sh to fix arm builds (Closes: #251592) + * gconf/gstreamer.schemas.in, gcon/gstreamer-0.8.schemas: + s/xvideosink/xvimagesink/ (Closes: #250575) + + -- David I. Lehn Tue, 1 Jun 2004 10:10:37 -0400 + +gst-plugins0.8 (0.8.1-2) unstable; urgency=low + + * debian/build-deps.in: + * Update "libdv2-dev" to "libdv4-dev | libdv-dev" + * debian/control.in, debian/extra, debian/rules: + * Remove arts plugin. Detection, flags, and include directory build code + is too buggy for plugin to build at the moment. + + -- David I. Lehn Thu, 29 Apr 2004 18:10:48 -0400 + +gst-plugins0.8 (0.8.1-1) unstable; urgency=low + + * New upstream + * debian/gstreamer-misc.install: + * add libgstdebug.so + + -- David I. Lehn Sun, 18 Apr 2004 01:04:36 -0400 + +gst-plugins0.8 (0.8.0-2) unstable; urgency=low + + * Bump to -2 to ease upgrades for early -1 testers + * debian/build-deps.in: + * Add libgtk2.0-dev + + -- David I. Lehn Thu, 15 Apr 2004 17:50:14 -0400 + +gst-plugins0.8 (0.8.0-1) unstable; urgency=low + + * New upstream (Closes: #234071, #240663) + * debian/rules: + * Switch to CDBS + * Version now at 0.8 + * Convert various control files to versioned ones for build + * Add/rename/remove generated plugins files + * debian/control.in: + * Update Standards-Version to 3.6.1 + * Add -caca and -speex plugins + * Remove -http plugin + * debian/build-deps.in: + * Add cdbs + * Update debhelper >= 4.1.0 + * Add caca, speex, and pango deps + * Remove libghttp-dev + * debian/gstreamer-http.install + * Remove + * debian/gstreamer-{speex|caca}.install: + * Add new plugins + * debian/*.install: + * Append debian/tmp for CDBS + * General cleanups to support versioned files and locations + * debian/gstreamer-esd.install: + * Remove libgstesdmod + * Change libgstesdsink to libgstesd + * debian/gstreamer-plugin-libs.install: + * Stick locale info in here for lack of a better place + * debian/gstreamer-plugin-libs[-dev].install: + * Add support for colorbalance, mixer, navigation, propertyprobe, tag, + tuner, xoverlay, and xwindowlistener + * Add pkgconfig support for plugins, interfaces, and media-info + * debian/gstreamer-gnomevfs.install: + * s/libgstgnomevfs{src|sink}.so/libgstgnomevfs.so/ + * debian/gstreamer-colorspace.install: + * Rename to gstreamer-hermes.install + * Move generic and ffmpeg based colorspace plugins to -misc + * Provide gstreamerX.Y-colorspace + * debian/gstreamer-misc.install: + * v4l/v4l2 support merged to libgstvideo4linux[2].so + * Add gdkpixbuf, interleave, nassink, ogg, smoothwave, tagedit, + textoverlay, timeoverlay, typefindfunctions, videobalance, videodrop, + videofilter, videoflip + * Move generic and ffmpeg based colorspace plugins from -hermes + * Provide gstreamerX.Y-colorspace + * debian/gstreamer-plugin-libs.install: + * Rename to libgstreamer-plugins.install + * debian/gstreamer-plugin-libs-dev.install: + * Rename to libgstreamer-plugins-dev.install + * debian/gstreamer-gconf.install: + * Rename libgstreamer-gconf.install + * Remove dev files + * debian/gstreamer-gconf.postinst: + * Rename to libgstreamer-gconf.postinst + * debian/libgstreamer-gconf-dev.install: + * Added + * Add dev parts from gstreamer-gconf.install + * configure.ac, configure: + * Patch from CVS to get arts to detect on Debian boxen + * ext/speex/gstspeex{dec,enc}.c: + * Upstream patch for static pad templates (caused gst-compprep-0.8 bugs) + * ext/ladspa/gstladspa.c: + * Change g_warning to DEBUG_OBJ to silence gst-compprep + * ext/libcaca/gstcacsink.c: + * Upstream patch to avoid cacasink windows with gst-inspect/compprep + + -- David I. Lehn Wed, 14 Apr 2004 19:14:14 -0400 + +gst-plugins0.7 (0.7.6-1) unstable; urgency=low + + * New upstream + + -- David I. Lehn Wed, 17 Mar 2004 19:06:48 -0500 + +gst-plugins0.7 (0.7.5-1) unstable; urgency=low + + * New upstream + + -- David I. Lehn Wed, 17 Mar 2004 18:47:19 -0500 + +gst-plugins0.7 (0.7.4-1) unstable; urgency=low + + * New upstream + + -- David I. Lehn Wed, 17 Mar 2004 18:46:27 -0500 + +gst-plugins0.7 (0.7.3-1) unstable; urgency=low + + * New upstream + + -- David I. Lehn Wed, 17 Mar 2004 18:42:05 -0500 + +gst-plugins0.7 (0.7.1-1) unstable; urgency=low + + * New upstream + * Versioning package as 0.7 + + -- David I. Lehn Wed, 17 Mar 2004 18:31:51 -0500 + +gst-plugins (0.6.4-4) unstable; urgency=low + + * ext/alsa/gstalsa.h: + * Patch to compile with alsa-lib 1.0.x (Closes: #231870) + + -- David I. Lehn Sat, 14 Feb 2004 17:49:01 -0500 + +gst-plugins (0.6.4-3) unstable; urgency=low + + * debian/build-deps.in: + * Update jack dependency to libjack0.80.0-dev (>= 0.94.0) + (Closes: #221620, #228784) + * Update libmpeg2 dependency to libmpeg2-4-dev (>= 0.4.0b) + * ext/mpeg2dec/gstmpeg2dec.c: Patch for libmpeg2 0.4.0b + + -- David I. Lehn Mon, 26 Jan 2004 18:21:45 -0500 + +gst-plugins (0.6.4-2) unstable; urgency=low + + * debian/rules: Disable ffmpeg for everything but i386 due to PIC issues + (Closes: #219284) + + -- David I. Lehn Thu, 6 Nov 2003 16:30:35 -0500 + +gst-plugins (0.6.4-1) unstable; urgency=low + + * New upstream + * ESD updates (Closes: #218736) + * Acknowledge NMU (Closes: #217981, #213811) + * Rebuild to fix gconf liblinc1 dependency (Closes: #217771) + * gstreamer-misc: add v4l2 support (Closes: #199900) + * Use pre-Linux-2.6 videodev.h to compile v4l support + + -- David I. Lehn Mon, 3 Nov 2003 15:10:59 -0500 + +gst-plugins (0.6.3-1.1) unstable; urgency=low + + * NMU - Patch from Jordi Mallach + * debian/build-deps.in: libgconf2-dev and libgnomevfs2-dev need GNOME 2.4 + versions for the liblinc1 transition (closes: #217981). + * debian/rules: gstreamer build-dep should be versioned (>= 0.6.3) + (closes: #213811). + + -- LaMont Jones Thu, 30 Oct 2003 09:12:11 -0700 + +gst-plugins (0.6.3-1) unstable; urgency=low + + * New upstream + * Includes ESD seeking fix (Closes: #201171) + + -- David I. Lehn Mon, 1 Sep 2003 23:15:49 -0400 + +gst-plugins (0.6.2-2) unstable; urgency=low + + * Fix ffmpeg makefile install rule to work even when ffmpeg build is + disabled (Closes: #198148, #199072) + * Apply partial patches from running autogen.sh to fix arm builds (excluding + other unrelated generated file changes) (Closes: #199872) + * Update to support libdvdnav 0.1.9 API + + -- David I. Lehn Fri, 11 Jul 2003 01:01:15 -0400 + +gst-plugins (0.6.2-1) unstable; urgency=low + + * New upstream + * Add dv1394src to gstreamer-dv + + -- David I. Lehn Thu, 12 Jun 2003 11:39:51 -0400 + +gst-plugins (0.6.1-2) unstable; urgency=low + + * (unreleased) + * Adapt to gstreamer package merge: remove -core, -core-libs, -core-libs-dev + dependencies as needed. Fixes missing scheduler bugs. + (Closes: #181503, #191720) + * Use versioned gst-{register,compprep}-0.6 + * Update jack dependency to libjack0.71.2-dev (Closes: #195401) + * Update libdvdnav dependency to (>= 0.1.7) and revert patch for + compatibility with 0.1.3. + * Update libdvdread2 dependency to libdvdread3-dev + * Remove DISPLAY unset hacks from postinst/postrm scripts and fix non-X + installs with 0.6.2 CVS xvideosink patch. (Closes: #165372, #168438) + * Link libgstplay to libgstcontrol. (Closes: #194107) + + -- David I. Lehn Thu, 5 Jun 2003 02:29:44 -0400 + +gst-plugins (0.6.1-1) unstable; urgency=low + + * New upstream + * Update maintainer address to @debian.org + * gstreamer-gconf libs properly linked upstream (Closes: Bug#187353) + * debian/control.in: + * gstreamer-vorbis depends on gstreamer-core-libs (Closes: Bug#188606) + * Apply gnomevfs patch from http://bugzilla.gnome.org/show_bug.cgi?id=94113 + * ffmpeg plugin only builds, and now is only packaged, on i386/powerpc (Yes + this is bad - better shared lib support needed.) (Closes: Bug#186525) + * Revert dvdnav support to libdvdnav 0.1.3 API + * Unset DISPLAY before calling gst-register/gst-compprep + * ext/ladspa/gstladspa.c:472: s/g_warning/GST_DEBUG/ to avoid printing of a + warning on every plugin package install when swh-plugins is installed. + (sinCos plugin executes this code path) + + -- David I. Lehn Sat, 3 May 2003 18:30:16 -0400 + +gst-plugins (0.6.0-4) unstable; urgency=low + + * debian/build-deps.in: + * Updated libvorbis-dev to (>= 1.0.0-2) (Closes: Bug#184671) + + -- David I. Lehn Fri, 14 Mar 2003 11:12:21 -0500 + +gst-plugins (0.6.0-3) unstable; urgency=low + + * debian/build-deps.in: + * Add libartsc0-dev so artsc-config is present so arts[d] plugins get + built so the arts[d] packages actually include the arts[d] plugins + (Closes: Bug#181438) + * Update JACK dependency to 0.50.0 + + -- David I. Lehn Fri, 7 Mar 2003 23:51:46 -0500 + +gst-plugins (0.6.0-2) unstable; urgency=low + + * NMU (with maintainer's permission) + * Change libarts-dev build-dep to libarts1-dev (Closes: #180537) + + -- David Schleef Mon, 10 Feb 2003 21:33:47 -0800 + +gst-plugins (0.6.0-1) unstable; urgency=low + + * New upstream + + -- David I. Lehn Sat, 1 Feb 2003 21:51:54 -0500 + +gst-plugins (0.5.2.3-1) unstable; urgency=low + + * New upstream + + -- David I. Lehn Thu, 30 Jan 2003 23:52:08 -0500 + +gst-plugins (0.5.2.2-1) unstable; urgency=low + + * New upstream + * pre-release for 0.6.0 + * debian/gstreamer-gconf.install: + * add gstreamer-gconf-*.pc + * debian/gstreamer-misc.install: + * remove libgstaviparse.so + + -- David I. Lehn Wed, 29 Jan 2003 15:07:06 -0500 + +gst-plugins (0.5.2-1) unstable; urgency=low + + * New upstream + * debian/build-deps.in: + - Update swfdec dependency to 0.2.0 + * debian/gstreamer-misc.install: + - add libgstaviparse.so + + -- David I. Lehn Thu, 23 Jan 2003 22:17:31 -0500 + +gst-plugins (0.5.1-1) unstable; urgency=low + + * New upstream + * Update GStreamer dependency to 0.5.1 + * Update JACK dependency to 0.44.0 + * Remove gstreamer-avifile package (avifile not supported on many + architectures and upstream is deprecating it in favor of ffmpeg) + * Add support for building unsupported plugin packages (avifile, lame, etc) + * Tighten shlib deps for gstreamer-plugin-libs and gstreamer-gconf packages + (may split off true lib* packages eventually, was trying to avoid even + more packages) + * gstreamer-misc: add oneton and vbidec + * Rebuild for newer sid libs (Closes: Bug#177410) + * Various small fixes from CVS + + -- David I. Lehn Mon, 20 Jan 2003 11:57:26 -0500 + +gst-plugins (0.5.0-1) unstable; urgency=low + + * New upstream + * Update libpng dependency to libpng12-0-dev + * Patch from CVS to support mpeg2dec 0.3.1 + * Patch from CVS to improve X error handling and remote X usage + * gstreamer-plugin-libs[-dev]: add media-info lib + * gstreamer-misc: add png plugin + * Use swfdec 0.1.3 API: s/swf_init/swfdec_decoder_new/ to avoid symbol + conflicts with avifile plugin + + -- David I. Lehn Tue, 17 Dec 2002 20:27:42 -0500 + +gst-plugins (0.4.2-2) unstable; urgency=low + + * Update JACK dependency to 0.40.1 + * Apply gst-launch-ext perlism patch (Closes: #170736) + * Apply patch from Erik Meusel to allow building with + other KDE arts packages (Closes: Bug#167538) + * Update mpeg2dec dependency to 0.3.0, convert over to gstmpeg2deccvs plugin + code, and adjust mpeg2dec check + * Add Provides: for virtual gstreamer-{audio,video}sink packages to make it + easier for applications to ensure output sinks are available. This isn't + foolproof and it's possible that a rare user might not need the standard + packaged audio/video sinks. For now those users can use the "equivs" + package to get around the problem. (Closes: Bug#169968) + + -- David I. Lehn Wed, 4 Dec 2002 02:25:41 -0500 + +gst-plugins (0.4.2-1.1) unstable; urgency=low + + * NMU + * Depend on swfdec-0.1.2-3, since it had a bug. + + -- David Schleef Tue, 12 Nov 2002 17:43:48 -0800 + +gst-plugins (0.4.2-1) unstable; urgency=low + + * New upstream + * Add libpng2-dev to Build-Depends for snapshot + * Add smpte, snapshot, and wavenc to gstreamer-misc + * Add video and play libs to gstreamer-plugin-libs{-dev} + * Add gstreamer-swfdec plugin package + * Add hack to swfdec plugin to not segfault when avifile also loaded due to + symbols conflicts. This annoyance will spew errors during gst-compprep + and probably will cause errors in apps that use both swfdec and avifile. + * Tighten dependency on libgstreamer until upstream code can deal with + multiple plugin versions and upgrades better + * Move gstreamer-plugin-apps to Section: utils from x11 + + -- David I. Lehn Wed, 6 Nov 2002 21:41:01 -0500 + +gst-plugins (0.4.1-1) unstable; urgency=low + + * New upstream + * Update FLAC dependency to 1.0.4 and add support patch from CVS + * Rebuild for libflac4 (Closes: Bug#163549) + * Build gconf code as a library rather than a plugin + * Improved plugin descriptions + * Added to -misc: cdplayer, videocrop, videotestsrc, mixmatrix + * Add autotools-dev to Build-Depends + * Update config.{guess,sub} + + -- David I. Lehn Mon, 7 Oct 2002 17:51:43 -0400 + +gst-plugins (0.4.0.2-cvs20020919-1) unstable; urgency=low + + * CVS snapshot, release branch + * gstreamer-gconf.files: libgstgconf.so moved to /usr/lib + * added control.in, build-deps, and mk.control script. Edit control.in + and/or build-deps, and run 'debian/rules debian/control' from toplevel + directory to recreate debian/control. This should make it a lot + easier to diff build dependencies. + + -- David Schleef Thu, 19 Sep 2002 15:18:41 -0700 + +gst-plugins (0.4.0-5) unstable; urgency=low + + * Update Build-Depends + * Use pkg-config checking vs m4 macros for libdv + + -- David I. Lehn Fri, 23 Aug 2002 10:33:29 -0400 + +gst-plugins (0.4.0-4) unstable; urgency=low + + * Fixes from CVS for gstgnomevfssrc.c and endian issue in vorbisfile.c + + -- David I. Lehn Fri, 2 Aug 2002 20:51:38 -0400 + +gst-plugins (0.4.0-3) unstable; urgency=low + + * Add ladspa-sdk to Build-Depends + * Removed qcam plugin from -misc. + It's i386 only and probably not widely used. Will figure out how to + package in the future if someone needs it. + + -- David I. Lehn Mon, 29 Jul 2002 16:32:33 -0400 + +gst-plugins (0.4.0-2) unstable; urgency=low + + * Clean up the Build-Depends: + - stricter versioning + - remove gnome deps (used for examples which are not build now) + * Fix segfault in vorbis.m4 check + + -- David I. Lehn Mon, 29 Jul 2002 10:47:12 -0400 + +gst-plugins (0.4.0-1) unstable; urgency=low + + * New upstream + * FLAC compile fixes from CVS + * DV comiled fixes + * Upated ltmain hack + * autogen.sh with more recent tools + * Update config.{guess,sub} + * Added plugin packages: -gconf, -http, -jack, -dv + * Added dvdnav plugin to -dvd + * Removed osshelper plugin from -oss + * Added xvideosink back to -x + * Added effectv, filter, and qtdemux plugins to -misc + * Rename gstreamer-lib-misc{-dev} to gstreamer-plugin-libs{-dev} to match + gstreamer core. + * Added gstreamer-plugin-apps package for a lonely 2 scripts + * Renamed gstreamer-all to gstreamer-plugins + + -- David I. Lehn Tue, 16 Jul 2002 02:10:07 -0400 + +gst-plugins (0.3.4-2) unstable; urgency=low + + * Rebuild for new avifile + + -- David I. Lehn Wed, 24 Apr 2002 14:06:46 -0400 + +gst-plugins (0.3.4-1) unstable; urgency=low + + * New upstream + * Fix mpeg2dec.m4 to use newer mpeg2dec libs + + -- David I. Lehn Mon, 15 Apr 2002 03:34:21 -0400 + +gst-plugins (0.3.3-2) unstable; urgency=low + + * Port a52dec plugin to 0.7.3 API (applied upstream) + * Use a52dec packages in Debian vs current external ones + * This switches a52dec plugin to static linking + * Remove LAME support + * No LAME packages in Debian to depend on + * Added explanation in README.Debian since this will likely + cause no end of "Why is there no LAME plugin?" + * Depend on and rebuild for mpeg2dec 0.2.1 + * Depend on and rebuild for glib 2.0 + * Remove gtk from Build-Depends: (not needed for the built plugins) + + -- David I. Lehn Sat, 23 Mar 2002 17:52:03 -0500 + +gst-plugins (0.3.3-1) unstable; urgency=low + + * New upstream version + * SDL fixed upstream, remove patch + * Require libid3tag for mad support + * Remove xvideosink from gstreamer-x package in favor of videosink + Needed to be removed due to symbol conflicts with videosink + * Sync with upstream changes: + * Added videosink to gstreamer-x package + * parseau renamed to auparse in -misc + * Added various plugins to -misc: goom, monoscope, modplug, ... + * Note: new upstream scripts gst-launch-ext and gst-visualise not + packaged yet + + -- David I. Lehn Thu, 21 Mar 2002 02:06:21 -0500 + +gst-plugins (0.3.2-3) unstable; urgency=low + + * Rebuild for glib/gtk 1.3.15 + + -- David I. Lehn Mon, 25 Feb 2002 00:06:51 -0500 + +gst-plugins (0.3.2-2) unstable; urgency=low + + * Build against liblinc1 and newer gnomevfs + + -- David I. Lehn Sun, 17 Feb 2002 15:52:57 -0500 + +gst-plugins (0.3.2-1) unstable; urgency=low + + * New upstream release + * Many diffs merged upstream + * Unversioned plugins upstream, just packaging .so (no .la, .a) + * Added cdxa plugin to -misc + * Various plugins in -misc moved around and merged upstream + + -- David I. Lehn Fri, 15 Feb 2002 21:54:27 -0500 + +gst-plugins (0.3.1-4) unstable; urgency=low + + * Rebuild for glib/gtk 1.3.13 + + -- David I. Lehn Wed, 6 Feb 2002 02:16:16 -0500 + +gst-plugins (0.3.1-3) unstable; urgency=low + + * Fix arts symbol problem (add -lartsflow -lartsflow_idl) + * Replace m4/gst-sdl.m4 with Debian's sdl.m4 + * Use SDL_LIBS_FOR_PLUGINS instead of SDL_LIBS + + -- David I. Lehn Wed, 23 Jan 2002 12:37:00 -0500 + +gst-plugins (0.3.1-2) unstable; urgency=low + + * Rebuild against fixed gstreamer.pc in libgst-dev 0.3.1-2 + Should just link to libxml2 now rather than v1 and v2 + + -- David I. Lehn Wed, 23 Jan 2002 02:29:49 -0500 + +gst-plugins (0.3.1-1) unstable; urgency=low + + * Upstream split plugins into new package + * Upstream removed mpg123 plugin - use mad plugin + * Upstream removed ac3dec plugin - use a52dec + * Added -lib-misc and -lib-misc-dev packages for + library plugins and headers + * Patch to link all plugins to GST_LIBS + + -- David I. Lehn Fri, 11 Jan 2002 11:22:01 -0500 + +gstreamer (0.3.0-3) unstable; urgency=low + + * Remove upstream ChangeLog from packages: 128k changelog.gz per + plugin package for 40 packages is too much + + -- David I. Lehn Tue, 25 Dec 2001 23:36:28 -0500 + +gstreamer (0.3.0-2) unstable; urgency=low + + * Fix bug that slipped into 0.3.0: s/aasink/xvideosink/ in + gstplay/gstplay.c + + -- David I. Lehn Tue, 25 Dec 2001 17:56:29 -0500 + +gstreamer (0.3.0-1) unstable; urgency=low + + * New upstream release + * Attempt to update various Build-Depends versions + * Added plugin packages: -a52dec, -dvd, -mikmod, -sid + * Renamed -elements to -core + * Added to -core: gstbasicscheduler + * Moved from -common to -core: gsttypes, autoplug related + * Renamed -common to -misc + * Added to -misc: speed, qcam, bytesteram, control, silence, sinesrc, + mpegstream, playondemand, resample + * Added gstreamer-guilaunch to gstreamer-tools package + * Added dependencies on unofficial LAME packages + * Use PIC libs for Xv + * Disable broken building of PDF/PS docs + * Renamed -all-plugins to -all + * Disable docs -- too hard to build + + -- David I. Lehn Fri, 21 Dec 2001 12:00:02 -0500 + +gstreamer (0.2.1-4) unstable; urgency=low + + * Fix some problems reported from lintian 1.20.14: + * copyright-lists-upstream-authors-like-dh_make + * debian-changelog-file-contains-user-emacs-settings + * Patch from CVS to link libgst into plugins + Plugins now properly depend on libgst package + * Use RedHat Gtk+-1.3 hack to fix relink issues with ltmain.sh + * Patch from CVS for xvideosink segfault when no DISPLAY set + * Remove builddir references from gstreamer-config.in + * Move libgstelements.la from libgst-dev to gstreamer-elements + + -- David I. Lehn Tue, 28 Aug 2001 20:05:28 -0400 + +gstreamer (0.2.1-3) unstable; urgency=low + + * Update build dependencies to FLAC 1.0 + * Enable debug features + * Fixup broken doc build -scan voodoo with link into .libs/ dir + + -- David I. Lehn Sun, 5 Aug 2001 23:04:28 -0400 + +gstreamer (0.2.1-2) unstable; urgency=low + + * Fix lib deps: run debhelper tools in the right order + * Added arts dir to Makefile.am SUBDIRS so it builds again + * Changed libmpeg2dec to libgstmpeg2dec to avoid naming issues + when using -lmpeg2dec + * Updated system_encode/ with CVS segfaulter bug fix + + -- David I. Lehn Thu, 19 Jul 2001 15:47:24 -0400 + +gstreamer (0.2.1-1) unstable; urgency=low + + * New upstream 0.2.1: "Return of the Sedi Master" + * New plugin packages: -festival, -flac, -avifile, -x + * New plugins in -common: chart, deinterlace, udp + * Added some post-0.2.1 fixes for FLAC, build system, ALSA + + -- David I. Lehn Thu, 28 Jun 2001 20:15:15 -0400 + +gstreamer (0.2.0-6) unstable; urgency=low + + * Move -compprep to -runtime and call it same places as -register + * Do -register and -compprep in postrm instead of prerm + * Make -arts plugin actually build all the source (sent upstream) + * Purge of -runtime removes /etc/gstreamer + + -- David I. Lehn Tue, 19 Jun 2001 13:09:32 -0400 + +gstreamer (0.2.0-5) unstable; urgency=low + + * Added element package dependencies to libgstmediaplay0 + + -- David I. Lehn Mon, 18 Jun 2001 11:18:53 -0400 + +gstreamer (0.2.0-4) unstable; urgency=low + + * Add --gst-mask=0 to -runtime.postinst + + -- David I. Lehn Fri, 15 Jun 2001 11:47:24 -0400 + +gstreamer (0.2.0-3) unstable; urgency=low + + * Fix the plugin control file symlink creation + * Add audiofile to Build-Depends + + -- David I. Lehn Fri, 15 Jun 2001 05:22:28 -0400 + +gstreamer (0.2.0-2) unstable; urgency=low + + * Fixed ALSA checks to not include -lasound in -every- link + * Update LAME plugin to use latest CVS API + * Removed OSS src/sink from -common.files (was in -oss too) + * Swapped -arts.files and -artsd.files contents + + -- David I. Lehn Fri, 15 Jun 2001 04:02:21 -0400 + +gstreamer (0.2.0-1) unstable; urgency=low + + * Added gstreamer-compprep manpage + * Upgrade to 0.2.0 + + -- David I. Lehn Thu, 7 Jun 2001 12:53:59 -0400 + +gstreamer (0.2.0-0.3) unstable; urgency=low + + * GStreamer 0.2.0-pre3 + + -- David I. Lehn Wed, 6 Jun 2001 15:09:59 -0400 + +gstreamer (0.2.0-0.2) unstable; urgency=low + + * GStreamer 0.2.0-pre2 + CVS 20010604 + * Added -artsd (vs -arts), -audiofile, -gnomevfs, -gsm, -jpeg, + -oss, and -sdl plugin packages + * Added osshelper lib to oss package + * Added more AVI related plugins and autoplug libs to -common + * Added pkgconfig file to libgst-dev + * Added gstreamer-all-plugins pseudo package that depends on + all other plugin pacakges + + -- David I. Lehn Mon, 4 Jun 2001 17:33:20 -0400 + +gstreamer (0.2.0-0.1) unstable; urgency=low + + * GStreamer 0.2.0-pre1 + + -- David I. Lehn Thu, 31 May 2001 17:16:23 -0400 + +gstreamer (0.1.1.20010504-1) unstable; urgency=low + + * Latest CVS code + + -- David I. Lehn Fri, 4 May 2001 21:48:45 -0400 + +gstreamer (0.1.1.20010430-2) unstable; urgency=low + + * Added -colorspace package for Hermes dependent conversion + * Added -arts package for aRts sink + + -- David I. Lehn Tue, 1 May 2001 19:46:08 -0400 + +gstreamer (0.1.1.20010430-1) unstable; urgency=low + + * Latest CVS code + * Added -aa package for aasink output + * Added -mad package for mad mp3 decoder + + -- David I. Lehn Mon, 30 Apr 2001 18:25:52 -0400 + +gstreamer (0.1.1.20010320-1) unstable; urgency=low + + * Latest CVS code + * enable main docs + * disable broken plugin docs with new option + + -- David I. Lehn Tue, 20 Mar 2001 18:15:19 -0500 + +gstreamer (0.1.1.20010315-1) unstable; urgency=low + + * Latest CVS code + * Added man pages + * Split mpeg2dec to seperate plugin + * libgst Architectures updated to cothread supported archs + + -- David I. Lehn Thu, 15 Mar 2001 20:17:19 -0500 + +gstreamer (0.1.1-1) unstable; urgency=low + + * New upstream release + * disable docs build, broken at the momemnt + + -- David I. Lehn Sun, 25 Feb 2001 17:58:25 -0500 + +gstreamer (0.1.0-2) unstable; urgency=low + + * debian/rules: call configure instead of autogen.sh + + -- David I. Lehn Sat, 24 Feb 2001 18:31:36 -0500 + +gstreamer (0.1.0-1) unstable; urgency=low + + * Initial Release. + + -- David I. Lehn Mon, 15 Jan 2001 18:25:18 -0500 --- gst-plugins0.8-0.8.12.orig/debian/gstreamer-misc.install +++ gst-plugins0.8-0.8.12/debian/gstreamer-misc.install @@ -0,0 +1,109 @@ +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstac3parse.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstadder.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstalaw.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstalpha.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstalphacolor.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstapetag.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstasf.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstaudioconvert.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstaudiofilter.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstaudiorate.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstavi.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstaudioscale.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstauparse.so +@cdplayer@ +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstcairo.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstcdxaparse.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstchart.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstcolorspace.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstcutter.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstdebug.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstdecodebin.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstdeinterlace.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstdtsdec.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstdvdlpcmdec.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstdvdsubdec.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstefence.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgsteffectv.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstequalizer.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstffmpegcolorspace.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstfilter.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstflxdec.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstfreeze.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstgamma.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstgoom.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstgconfelements.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstinterleave.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstimagemixer.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstladspa.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstlevel.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstmatroska.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstmedian.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstmixmatrix.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstmng.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstmodplug.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstmonoscope.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstmp1videoparse.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstmpeg1systemencode.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstmpeg2subt.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstmpegaudio.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstmpegaudioparse.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstmpegstream.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstmulaw.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstmultifilesink.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstmultipart.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstnassink.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstnavigationtest.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstogg.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstoverlay.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstpassthrough.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstplaybin.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstplayondemand.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstpng.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstpuzzle.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstqtdemux.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstrfbsrc.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstrmdemux.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstrtp.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstrtjpeg.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstshout2.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstsilence.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstsinesrc.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstsmooth.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstsmoothwave.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstsmpte.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstsnapshot.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstspectrum.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstspeed.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgststereo.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstsubparse.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstswitch.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstsynaesthesia.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgsttagedit.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgsttcp.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgsttextoverlay.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgsttimeoverlay.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgsttta.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgsttypefindfunctions.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstudp.so +@video4linux@ +@video4linux2@ +@video4linuxradio@ +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstvbidec.so +@vcdsrc@ +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstvideobalance.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstvideobox.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstvideocrop.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstvideodrop.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstvideofilter.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstvideomixer.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstvideoflip.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstvideorate.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstvideoscale.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstvideotestsrc.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstvolenv.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstvolume.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstwavenc.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstwavpack.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstwavparse.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgsty4menc.so --- gst-plugins0.8-0.8.12.orig/debian/copyright +++ gst-plugins0.8-0.8.12/debian/copyright @@ -0,0 +1,31 @@ +This package was debianized by David I. Lehn on +Mon, 15 Jan 2001 18:21:37 -0500. + +It was downloaded from http://gstreamer.net/ + +Upstream Authors: + + Erik Walthinsen + Wim Taymans + Richard Boulton + and many more... + +Copyright: + + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian GNU/Linux systems, the complete text of the GNU Lesser General +Public License can be found in `/usr/share/common-licenses/LGPL'. + --- gst-plugins0.8-0.8.12.orig/debian/maint +++ gst-plugins0.8-0.8.12/debian/maint @@ -0,0 +1,13 @@ +#!/usr/bin/make -f + +missing: + make -f debian/rules list-missing + +missing-so: + make -f debian/rules list-missing | grep so$$ | cut -c 2- + +missing-libs: + for i in `make -f debian/rules list-missing | grep so$$ | cut -c 2-`; do echo "=== $$i ==="; ldd debian/tmp/$$i; echo; done + +.PHONY: missing missing-so missing-libs + --- gst-plugins0.8-0.8.12.orig/debian/libgstreamer-gconf-dev.install +++ gst-plugins0.8-0.8.12/debian/libgstreamer-gconf-dev.install @@ -0,0 +1,3 @@ +debian/tmp/usr/include/gstreamer-@GST_ABI@/gst/gconf +debian/tmp/usr/lib/libgstgconf-@GST_ABI@.{la,so} +debian/tmp/usr/lib/pkgconfig/gstreamer-gconf-@GST_ABI@.pc --- gst-plugins0.8-0.8.12.orig/debian/gstreamer-mad.install +++ gst-plugins0.8-0.8.12/debian/gstreamer-mad.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstmad.so --- gst-plugins0.8-0.8.12.orig/debian/gstreamer-a52dec.install +++ gst-plugins0.8-0.8.12/debian/gstreamer-a52dec.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgsta52dec.so --- gst-plugins0.8-0.8.12.orig/debian/gstreamer-vorbis.install +++ gst-plugins0.8-0.8.12/debian/gstreamer-vorbis.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstvorbis.so --- gst-plugins0.8-0.8.12.orig/debian/gstreamer-flac.install +++ gst-plugins0.8-0.8.12/debian/gstreamer-flac.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstflac.so --- gst-plugins0.8-0.8.12.orig/debian/gstreamer-musepack.install +++ gst-plugins0.8-0.8.12/debian/gstreamer-musepack.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstmusepack.so --- gst-plugins0.8-0.8.12.orig/debian/libgstreamer-plugins.install +++ gst-plugins0.8-0.8.12/debian/libgstreamer-plugins.install @@ -0,0 +1,9 @@ +debian/tmp/usr/lib/libgstinterfaces-@GST_ABI@.so.* +debian/tmp/usr/lib/libgstmedia-info-@GST_ABI@.so.* +debian/tmp/usr/lib/libgstplay-@GST_ABI@.so.* +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstaudio.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstidct.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstriff.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstresample.so +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstvideo.so +debian/tmp/usr/share/locale --- gst-plugins0.8-0.8.12.orig/debian/gstreamer-esd.install +++ gst-plugins0.8-0.8.12/debian/gstreamer-esd.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstesd.so --- gst-plugins0.8-0.8.12.orig/debian/gstreamer-swfdec.install +++ gst-plugins0.8-0.8.12/debian/gstreamer-swfdec.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstswfdec.so --- gst-plugins0.8-0.8.12.orig/debian/README.Debian +++ gst-plugins0.8-0.8.12/debian/README.Debian @@ -0,0 +1,126 @@ +GStreamer for Debian +==================== +This package contains the GStreamer plugin distribution. + +More information can be found at http://gstreamer.net/ + +As of GStreamer plugins version 0.8.0 all packages are versioned and +parallel installable with other releases with other major.minor +versions. For example, 0.8.x series is versioned as 0.8 and parallel +installable with both unversioned 0.6.x series and future 0.9.x and +beyond. The version part is represented as VER below. + +GStreamer plugins are split into a number of packages: + +pseudo package: + + gstreamerVER-plugins depends on all the packages below + +plugins without external dependencies: + + gstreamerVER-misc many independent plugins + +plugins with external dependencies: + + gstreamerVER-a52dec + gstreamerVER-aa + gstreamerVER-alsa + gstreamerVER-arts + gstreamerVER-artsd + gstreamerVER-audiofile + gstreamerVER-caca + gstreamerVER-cdparanoia + gstreamerVER-colorspace + gstreamerVER-dv + gstreamerVER-dvd + gstreamerVER-esd + gstreamerVER-festival + gstreamerVER-flac + gstreamerVER-gnomevfs + gstreamerVER-gsm + gstreamerVER-http + gstreamerVER-jack + gstreamerVER-jpeg + gstreamerVER-mad + gstreamerVER-mikmod + gstreamerVER-mpeg2dec + gstreamerVER-oss + gstreamerVER-sdl + gstreamerVER-speex + gstreamerVER-sid + gstreamerVER-theora + gstreamerVER-vorbis + gstreamerVER-x + +libraries and library plugins: + + libgstreamer-pluginsVER-# various libs + libgstreamer-pluginsVER-dev development files for above package + + libgstreamer-gconfVER-# GConf support libs + libgstreamer-gconfVER-dev development files for above package + +applications: + + gstreamerVER-plugin-apps small script apps to using gst-launch + + +Notes +===== + +ChangeLog +--------- + +The upstream ChangeLog is not included in all the plugin packages due to its +large size. Please see upstream sources if you are interested in detailed +source changes. + + +Unofficial plugin packages +-------------------------- + +Various plugins in the upstream source are not yet packaged or not officially +supported. This is most likely due to: + + * upstream considers them too unstable + * libraries they depend on are not are yet in Debian or are poorly supported + +To build additional unofficial plugin packages: + + * Get the source and Debian diff (for example, "apt-get source gst-plugins") + * Add new package name to the EXTRA_PLUGINS variable in debian/rules + * Add appropriate dependency and control info to debian/extra + * Add a .install file for the package + * Rebuild + +Currently available untested and unsupported info has been added for: + * gstreamer-avifile + * gstreamer-lame + +mp3 encoding plugins are NOT officially packaged. Specifically, the LAME +plugin is NOT packaged due to Debian not including the LAME libraries. +Please see the following links for more information: + + http://www.debian.org/devel/wnpp/unable-to-package + http://lists.debian.org/debian-devel-0006/msg01213.html + http://www.mp3dev.org/ + +Ogg Vorbis provides a good alternative to mp3s. Try the +gstreamer-vorbis package. For more information: + + http://www.vorbis.com/ + + +External tools support +---------------------- + +Your favorite codec isn't wrapped as a plugin? External programs can be +used to process streams. Take a look at "pipefilter" element or try +something like this (untested): + + $ mkfifo fifo + $ gst-launch myaudiosrc ! filesink location=fifo & + $ cat fifo | my_encoder > output_file + + +David I. Lehn Tue, 23 Mar 2004 04:38:37 -0500 --- gst-plugins0.8-0.8.12.orig/debian/gstreamer-lame.install +++ gst-plugins0.8-0.8.12/debian/gstreamer-lame.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstlame.so --- gst-plugins0.8-0.8.12.orig/debian/gstreamer-festival.install +++ gst-plugins0.8-0.8.12/debian/gstreamer-festival.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstfestival.so --- gst-plugins0.8-0.8.12.orig/debian/gstreamer-sid.install +++ gst-plugins0.8-0.8.12/debian/gstreamer-sid.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstsid.so --- gst-plugins0.8-0.8.12.orig/debian/gstreamer-avifile.install +++ gst-plugins0.8-0.8.12/debian/gstreamer-avifile.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/gstreamer-@GST_ABI@/libgstwincodec.so