wok-next rev 19790

Fix rrdtool (EXTERN.h: No such file or directory -> add perl-dev); add/up openbox-themes-debian, opensp, texinfo, sgml-common, docbook-sgml3, docbook-sgml, openjade, docbook-dsssl, perl-sgmlspm, docbook-utils, openbox, openbox-imlib2 -> openbox-max.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jun 22 20:59:17 2017 +0300 (2017-06-22)
parents c1d8355335f2
children a5893e188f08
files cookutils/receipt docbook-dsssl/receipt docbook-sgml/receipt docbook-sgml3/receipt docbook-utils/receipt docbook-utils/stuff/patches/docbook-utils-0.6.14-grep_fix-1.patch docbook-utils/stuff/patches/series glibc/receipt openbox-dev/receipt openbox-imlib2/receipt openbox-imlib2/stuff/open-folder-menu.sh openbox-imlib2/stuff/openbox-autostart.patch openbox-imlib2/stuff/xsessions/openbox.desktop openbox-max/receipt openbox-max/stuff openbox-python/receipt openbox-themes-debian/receipt openbox-themes/receipt openbox/receipt openbox/stuff/openbox-autostart.patch openbox/stuff/patches/03_place_windows_in_quadrants.patch openbox/stuff/patches/04_fix_xml_load_file.patch openbox/stuff/patches/05_openbox-3.5.0-title-matching.patch openbox/stuff/patches/08_autostart-fix.patch openbox/stuff/patches/14_pi_corners.patch openbox/stuff/patches/15_race_fix.patch openbox/stuff/patches/704724_fix_refers-to-autostart.sh.patch openbox/stuff/patches/719620_fix_show_startup_notification.patch openbox/stuff/patches/808138_Replace-getgrent-with-getgroups.patch openbox/stuff/patches/d9a405e9.patch openbox/stuff/patches/fix-spelling-error-in-binary.patch openbox/stuff/patches/openbox-no-gnome-no-kde.patch openbox/stuff/patches/openbox-no-gnome-no-kde.patch0 openbox/stuff/patches/openbox-rounded.patch openbox/stuff/patches/openbox-slitaz.patch openbox/stuff/patches/series openbox/stuff/patches/update_pl_po.patch openbox/stuff/xsessions/openbox.desktop openjade/receipt openjade/stuff/patches/openjade-1.3.2-upstream-1.patch openjade/stuff/patches/series opensp-dev/receipt opensp/receipt perl-sgmlspm/receipt rrdtool/receipt sgml-common/receipt sgml-common/stuff/patches/series sgml-common/stuff/patches/sgml-common-0.6.3-manpage-1.patch texinfo/receipt
line diff
     1.1 --- a/cookutils/receipt	Tue Jun 20 03:48:54 2017 +0300
     1.2 +++ b/cookutils/receipt	Thu Jun 22 20:59:17 2017 +0300
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="cookutils"
     1.7 -VERSION="930"
     1.8 +VERSION="940"
     1.9  CATEGORY="base-system"
    1.10  SHORT_DESC="SliTaz packages builder new generation"
    1.11  MAINTAINER="pankso@slitaz.org"
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/docbook-dsssl/receipt	Thu Jun 22 20:59:17 2017 +0300
     2.3 @@ -0,0 +1,58 @@
     2.4 +# SliTaz package receipt v2.
     2.5 +
     2.6 +PACKAGE="docbook-dsssl"
     2.7 +VERSION="1.79"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="DSSSL stylesheets for DocBook"
    2.10 +MAINTAINER="al.bobylev@gmail.com"
    2.11 +LICENSE="custom"
    2.12 +WEB_SITE="http://docbook.sourceforge.net/"
    2.13 +
    2.14 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.15 +WGET_URL="$SF_MIRROR/docbook/$TARBALL"
    2.16 +
    2.17 +# Rules to configure and make the package.
    2.18 +compile_rules()
    2.19 +{
    2.20 +	mkdir -p \
    2.21 +		$install/usr/bin \
    2.22 +		$install/usr/share/man/man1 \
    2.23 +		$install/usr/share/sgml/docbook/dsssl-stylesheets-$VERSION
    2.24 +
    2.25 +	install -m755 bin/collateindex.pl   $install/usr/bin &&
    2.26 +	install -m644 bin/collateindex.pl.1 $install/usr/share/man/man1 &&
    2.27 +	cp -R * $install/usr/share/sgml/docbook/dsssl-stylesheets-$VERSION
    2.28 +}
    2.29 +
    2.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.31 +genpkg_rules()
    2.32 +{
    2.33 +	copy bin/ *.dcl *.dtd *.gml *.dsl *.ent *.sgm *.mod *.css *.js \
    2.34 +	frames/*.htm *.gif catalog VERSION
    2.35 +	DEPENDS="sgml-common"
    2.36 +}
    2.37 +
    2.38 +pre_remove() {
    2.39 +	local p1="/etc/sgml/dsssl-docbook-stylesheets.cat"
    2.40 +	local p2="/etc/sgml/sgml-docbook.cat"
    2.41 +	local p3="/usr/share/sgml/docbook/dsssl-stylesheets-$VERSION"
    2.42 +
    2.43 +	touch  "$1/etc/sgml/catalog"
    2.44 +	chroot "$1/" install-catalog --remove $p1 $p3/catalog >/dev/null
    2.45 +	chroot "$1/" install-catalog --remove $p1 $p3/common/catalog >/dev/null
    2.46 +	chroot "$1/" install-catalog --remove $p2 $p1 >/dev/null
    2.47 +}
    2.48 +
    2.49 +post_install() {
    2.50 +	local p1="/etc/sgml/dsssl-docbook-stylesheets.cat"
    2.51 +	local p2="/etc/sgml/sgml-docbook.cat"
    2.52 +	local p3="/usr/share/sgml/docbook/dsssl-stylesheets-$VERSION"
    2.53 +
    2.54 +	# Remove the catalog items prior to upgrading
    2.55 +	[ -e "$1$p1" -a -e "$1$p2" ] && pre_remove
    2.56 +
    2.57 +	touch "$1/etc/sgml/catalog" "$1$p1" "$1$p2"
    2.58 +	chroot "$1/" install-catalog --add $p1 $p3/catalog >/dev/null
    2.59 +	chroot "$1/" install-catalog --add $p1 $p3/common/catalog >/dev/null
    2.60 +	chroot "$1/" install-catalog --add $p2 $p1 >/dev/null
    2.61 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/docbook-sgml/receipt	Thu Jun 22 20:59:17 2017 +0300
     3.3 @@ -0,0 +1,72 @@
     3.4 +# SliTaz package receipt v2.
     3.5 +
     3.6 +PACKAGE="docbook-sgml"
     3.7 +VERSION="4.5"
     3.8 +CATEGORY="development"
     3.9 +SHORT_DESC="Document type definitions for verification of SGML data files against the DocBook rule set"
    3.10 +MAINTAINER="al.bobylev@gmail.com"
    3.11 +LICENSE="MIT"
    3.12 +WEB_SITE="http://docbook.org/sgml/"
    3.13 +HOST_ARCH="any"
    3.14 +
    3.15 +TARBALL="docbook-$VERSION.zip"
    3.16 +WGET_URL="http://www.docbook.org/sgml/$VERSION/$TARBALL"
    3.17 +
    3.18 +# Rules to configure and make the package.
    3.19 +compile_rules()
    3.20 +{
    3.21 +	sed -i -e '/ISO 8879/d' \
    3.22 +		-e '/gml/d' docbook.cat
    3.23 +
    3.24 +	local dtd="$install/usr/share/sgml/docbook/sgml-dtd-$VERSION"
    3.25 +
    3.26 +	mkdir -p $dtd
    3.27 +	cp docbook.cat $dtd/catalog
    3.28 +	cp *.dtd *.mod *.dcl $dtd
    3.29 +
    3.30 +	cat >> $dtd/catalog << "EOF"
    3.31 +  -- Begin Single Major Version catalog changes --
    3.32 +
    3.33 +PUBLIC "-//OASIS//DTD DocBook V4.4//EN" "docbook.dtd"
    3.34 +PUBLIC "-//OASIS//DTD DocBook V4.3//EN" "docbook.dtd"
    3.35 +PUBLIC "-//OASIS//DTD DocBook V4.2//EN" "docbook.dtd"
    3.36 +PUBLIC "-//OASIS//DTD DocBook V4.1//EN" "docbook.dtd"
    3.37 +PUBLIC "-//OASIS//DTD DocBook V4.0//EN" "docbook.dtd"
    3.38 +
    3.39 +  -- End Single Major Version catalog changes --
    3.40 +EOF
    3.41 +
    3.42 +	mkdir -p $install/etc/sgml
    3.43 +	touch $install/etc/sgml/catalog
    3.44 +}
    3.45 +
    3.46 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.47 +genpkg_rules()
    3.48 +{
    3.49 +	copy @std
    3.50 +	DEPENDS="sgml-common"
    3.51 +	CONFIG_FILES="/etc/sgml/catalog"
    3.52 +}
    3.53 +
    3.54 +pre_remove() {
    3.55 +	local p1="/etc/sgml/sgml-docbook-dtd-$VERSION.cat"
    3.56 +	local p2="/usr/share/sgml/docbook/sgml-dtd-$VERSION/catalog"
    3.57 +	local p3="/etc/sgml/sgml-docbook.cat"
    3.58 +
    3.59 +	touch  "$1/etc/sgml/catalog"
    3.60 +	chroot "$1/" install-catalog --remove $p1 $p2 > /dev/null
    3.61 +	chroot "$1/" install-catalog --remove $p1 $p3 > /dev/null
    3.62 +}
    3.63 +
    3.64 +post_install() {
    3.65 +	local p1="/etc/sgml/sgml-docbook-dtd-$VERSION.cat"
    3.66 +	local p2="/usr/share/sgml/docbook/sgml-dtd-$VERSION/catalog"
    3.67 +	local p3="/etc/sgml/sgml-docbook.cat"
    3.68 +
    3.69 +	# Remove the catalog items prior to upgrading
    3.70 +	[ -e "$1$p1" ] && pre_remove
    3.71 +
    3.72 +	touch "$1/etc/sgml/catalog" "$1$p1"
    3.73 +	chroot "$1/" install-catalog --add $p1 $p2 > /dev/null
    3.74 +	chroot "$1/" install-catalog --add $p1 $p3 > /dev/null
    3.75 +}
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/docbook-sgml3/receipt	Thu Jun 22 20:59:17 2017 +0300
     4.3 @@ -0,0 +1,69 @@
     4.4 +# SliTaz package receipt v2.
     4.5 +
     4.6 +PACKAGE="docbook-sgml3"
     4.7 +VERSION="3.1"
     4.8 +CATEGORY="development"
     4.9 +SHORT_DESC="Legacy docbook-sgml"
    4.10 +MAINTAINER="al.bobylev@gmail.com"
    4.11 +LICENSE="MIT"
    4.12 +WEB_SITE="http://docbook.org/sgml/"
    4.13 +HOST_ARCH="any"
    4.14 +
    4.15 +TARBALL="docbk31.zip"
    4.16 +WGET_URL="http://www.docbook.org/sgml/3.1/$TARBALL"
    4.17 +
    4.18 +# Rules to configure and make the package.
    4.19 +compile_rules()
    4.20 +{
    4.21 +	sed -i -e '/ISO 8879/d' \
    4.22 +		-e 's|DTDDECL "-//OASIS//DTD DocBook V3.1//EN"|SGMLDECL|g' \
    4.23 +		docbook.cat
    4.24 +
    4.25 +	local dtd="$install/usr/share/sgml/docbook/sgml-dtd-$VERSION"
    4.26 +
    4.27 +	mkdir -p $dtd
    4.28 +	cp docbook.cat $dtd/catalog
    4.29 +	cp *.dtd *.mod *.dcl $dtd
    4.30 +
    4.31 +	cat >> $dtd/catalog << "EOF"
    4.32 +  -- Begin Single Major Version catalog changes --
    4.33 +
    4.34 +PUBLIC "-//Davenport//DTD DocBook V3.0//EN" "docbook.dtd"
    4.35 +
    4.36 +  -- End Single Major Version catalog changes --
    4.37 +EOF
    4.38 +
    4.39 +	mkdir -p $install/etc/sgml
    4.40 +	touch $install/etc/sgml/catalog
    4.41 +}
    4.42 +
    4.43 +# Rules to gen a SliTaz package suitable for Tazpkg.
    4.44 +genpkg_rules()
    4.45 +{
    4.46 +	copy @std
    4.47 +	DEPENDS="sgml-common"
    4.48 +	CONFIG_FILES="/etc/sgml/catalog"
    4.49 +}
    4.50 +
    4.51 +pre_remove() {
    4.52 +	local p1="/etc/sgml/sgml-docbook-dtd-$VERSION.cat"
    4.53 +	local p2="/usr/share/sgml/docbook/sgml-dtd-$VERSION/catalog"
    4.54 +	local p3="/etc/sgml/sgml-docbook.cat"
    4.55 +
    4.56 +	touch  "$1/etc/sgml/catalog"
    4.57 +	chroot "$1/" install-catalog --remove $p1 $p2 >/dev/null
    4.58 +	chroot "$1/" install-catalog --remove $p1 $p3 >/dev/null
    4.59 +}
    4.60 +
    4.61 +post_install() {
    4.62 +	local p1="/etc/sgml/sgml-docbook-dtd-$VERSION.cat"
    4.63 +	local p2="/usr/share/sgml/docbook/sgml-dtd-$VERSION/catalog"
    4.64 +	local p3="/etc/sgml/sgml-docbook.cat"
    4.65 +
    4.66 +	# Remove the catalog items prior to upgrading
    4.67 +	[ -e "$1$p1" ] && pre_remove
    4.68 +
    4.69 +	touch "$1/etc/sgml/catalog" "$1/$p1"
    4.70 +	chroot "$1/" install-catalog --add $p1 $p2 >/dev/null
    4.71 +	chroot "$1/" install-catalog --add $p1 $p3 >/dev/null
    4.72 +}
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/docbook-utils/receipt	Thu Jun 22 20:59:17 2017 +0300
     5.3 @@ -0,0 +1,38 @@
     5.4 +# SliTaz package receipt v2.
     5.5 +
     5.6 +PACKAGE="docbook-utils"
     5.7 +VERSION="0.6.14"
     5.8 +CATEGORY="development"
     5.9 +SHORT_DESC="Shell scripts to manage DocBook documents"
    5.10 +MAINTAINER="al.bobylev@gmail.com"
    5.11 +LICENSE="GPL2"
    5.12 +WEB_SITE="https://www.sourceware.org/docbook-tools/"
    5.13 +
    5.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    5.15 +WGET_URL="https://www.sourceware.org/pub/docbook-tools/new-trials/SOURCES/$TARBALL"
    5.16 +
    5.17 +BUILD_DEPENDS="openjade docbook-dsssl docbook-sgml3"
    5.18 +
    5.19 +# Rules to configure and make the package.
    5.20 +compile_rules()
    5.21 +{
    5.22 +	sed -i 's:/html::' doc/HTML/Makefile.in
    5.23 +
    5.24 +	./configure \
    5.25 +		--mandir=/usr/share/man \
    5.26 +		$CONFIGURE_ARGS &&
    5.27 +	make &&
    5.28 +	make docdir=/usr/share/doc install &&
    5.29 +
    5.30 +	for i in html ps dvi man pdf rtf tex texi txt; do
    5.31 +		ln -svf docbook2$i $install/usr/bin/db2$i
    5.32 +		ln -svf docbook2$i $install/usr/bin/docbook-to-$i
    5.33 +	done
    5.34 +}
    5.35 +
    5.36 +# Rules to gen a SliTaz package suitable for Tazpkg.
    5.37 +genpkg_rules()
    5.38 +{
    5.39 +	copy @std
    5.40 +	DEPENDS="perl openjade docbook-dsssl docbook-sgml docbook-sgml3 perl-sgmlspm"
    5.41 +}
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/docbook-utils/stuff/patches/docbook-utils-0.6.14-grep_fix-1.patch	Thu Jun 22 20:59:17 2017 +0300
     6.3 @@ -0,0 +1,33 @@
     6.4 +Submitted By: Ken Moffat <ken at linuxfromscratch dot org>
     6.5 +Date: 2011-01-01
     6.6 +Initial Package Version: 0.6.14
     6.7 +Upstream Status: unknown
     6.8 +Origin: fedora
     6.9 +Description: Grep-2.7 errors out on the 'space' syntax, causing
    6.10 +docbook2html to fail.  Fixed up by hand (the fedora version depends
    6.11 +on a different patch which adds --color=never).
    6.12 +
    6.13 +diff -Naur docbook-utils-0.6.14.orig/bin/jw.in docbook-utils-0.6.14//bin/jw.in
    6.14 +--- docbook-utils-0.6.14.orig/bin/jw.in	2003-04-30 17:21:49.000000000 +0100
    6.15 ++++ docbook-utils-0.6.14//bin/jw.in	2011-01-01 18:43:21.558959786 +0000
    6.16 +@@ -80,9 +80,9 @@
    6.17 + SGML_CATALOGS_DIR="/etc/sgml"
    6.18 + if [ -f "$SGML_CONF" ]
    6.19 + then
    6.20 +-  RE='^[:space:]*SGML_BASE_DIR[:space:]*=[:space:]*'
    6.21 ++  RE='^[[:space:]]*SGML_BASE_DIR[[:space:]]*=[[:space:]]*'
    6.22 +   SGML_BASE_DIR=`grep $RE $SGML_CONF | sed "s/$RE//"`
    6.23 +-  RE='^[:space:]*SGML_CATALOGS_DIR[:space:]*=[:space:]*'
    6.24 ++  RE='^[[:space:]]*SGML_CATALOGS_DIR[[:space:]]*=[[:space:]]*'
    6.25 +   SGML_CATALOGS_DIR=`grep $RE $SGML_CONF | sed "s/$RE//"`
    6.26 + fi
    6.27 + 
    6.28 +@@ -312,7 +312,7 @@
    6.29 + 	  SGML_CATALOG_FILES=$SGML_CENTRALIZED_CATALOG
    6.30 + 	else
    6.31 + 	  SGML_CATALOG_FILES=`find $SGML_BASE_DIR -name catalog`
    6.32 +-	  SGML_CATALOG_FILES=`echo "$SGML_CATALOG_FILES" | tr [:space:] :`
    6.33 ++	  SGML_CATALOG_FILES=`echo "$SGML_CATALOG_FILES" | tr [[:space:]] :`
    6.34 + 	fi
    6.35 + 	;;
    6.36 +   no)	SGML_CATALOG_FILES=""
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/docbook-utils/stuff/patches/series	Thu Jun 22 20:59:17 2017 +0300
     7.3 @@ -0,0 +1,3 @@
     7.4 +# taken from BLFS
     7.5 +# <http://www.linuxfromscratch.org/patches/blfs/8.0/docbook-utils-0.6.14-grep_fix-1.patch>
     7.6 +docbook-utils-0.6.14-grep_fix-1.patch
     8.1 --- a/glibc/receipt	Tue Jun 20 03:48:54 2017 +0300
     8.2 +++ b/glibc/receipt	Thu Jun 22 20:59:17 2017 +0300
     8.3 @@ -11,7 +11,6 @@
     8.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     8.5  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
     8.6  
     8.7 -DEPENDS="glibc-base glibc-locale glibc-dev"
     8.8  BUILD_DEPENDS="linux-api-headers autoconf bash gawk gettext bison \
     8.9  texinfo"
    8.10  # slitaz-i18n should present in wok
    8.11 @@ -143,6 +142,8 @@
    8.12  	case $PACKAGE in
    8.13  		glibc)
    8.14  			LOCALE=""
    8.15 +			CAT="meta|meta-package"
    8.16 +			DEPENDS="glibc-base glibc-locale glibc-dev"
    8.17  			;;
    8.18  		glibc-base)
    8.19  			case "$ARCH" in
    8.20 @@ -199,6 +200,7 @@
    8.21  					;;
    8.22  			esac
    8.23  			CAT="base-system|minimal libraries and UTF-8 support for SliTaz"
    8.24 +			DEPENDS=" "
    8.25  			;;
    8.26  		glibc-locale)
    8.27  			copy gconv/ locale/ i18n/ iconv tzselect
    8.28 @@ -213,12 +215,13 @@
    8.29  				rm -rf $fs/usr/share/locale/$i
    8.30  			done
    8.31  			status
    8.32 -			CAT="system-tools|locale files and utilities"
    8.33 +			CAT="system-tools|misc. locale files and utilities"
    8.34  			DEPENDS="glibc-base"
    8.35  			;;
    8.36  		nscd)
    8.37  			copy /var/db/ nscd getent nscd.conf
    8.38  			CAT="base-system|name-server caching daemon"
    8.39 +			DEPENDS=" "
    8.40  			;;
    8.41  		glibc-dev)
    8.42  			copy @std @dev
     9.1 --- a/openbox-dev/receipt	Tue Jun 20 03:48:54 2017 +0300
     9.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.3 @@ -1,22 +0,0 @@
     9.4 -# SliTaz package receipt.
     9.5 -
     9.6 -PACKAGE="openbox-dev"
     9.7 -VERSION="3.6.1"
     9.8 -CATEGORY="development"
     9.9 -SHORT_DESC="Ob devel files."
    9.10 -MAINTAINER="pankso@slitaz.org"
    9.11 -LICENSE="GPL2"
    9.12 -WANTED="openbox"
    9.13 -WEB_SITE="http://openbox.org/"
    9.14 -HOST_ARCH="i486 arm"
    9.15 -
    9.16 -DEPENDS="pkg-config"
    9.17 -
    9.18 -# Rules to gen a SliTaz package suitable for Tazpkg.
    9.19 -genpkg_rules()
    9.20 -{
    9.21 -	mkdir -p $fs/usr/lib
    9.22 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    9.23 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    9.24 -	cp -a $install/usr/include $fs/usr
    9.25 -}
    10.1 --- a/openbox-imlib2/receipt	Tue Jun 20 03:48:54 2017 +0300
    10.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.3 @@ -1,70 +0,0 @@
    10.4 -# SliTaz package receipt.
    10.5 -
    10.6 -PACKAGE="openbox-imlib2"
    10.7 -VERSION="3.6.1"
    10.8 -SOURCE="openbox"
    10.9 -CATEGORY="x-window"
   10.10 -SHORT_DESC="Small-footprint and standard compliant Window Manager (Allow icons in menus)."
   10.11 -SUGGESTED="obconf pcmanfm hsetroot"
   10.12 -MAINTAINER="pankso@slitaz.org"
   10.13 -LICENSE="GPL2"
   10.14 -TARBALL="$SOURCE-$VERSION.tar.gz"
   10.15 -WEB_SITE="http://openbox.org/"
   10.16 -WGET_URL="http://openbox.org/dist/openbox/$TARBALL"
   10.17 -TAGS="window-manager"
   10.18 -PROVIDE="openbox"
   10.19 -
   10.20 -DEPENDS="startup-notification pango glib xorg-libX11 fontconfig freetype \
   10.21 -xorg-libXrandr xorg-libXft xorg-libXinerama xorg-libXcursor libxml2 imlib2 \
   10.22 -slitaz-configs"
   10.23 -BUILD_DEPENDS="xorg-dev pango-dev glib-dev startup-notification-dev \
   10.24 -xorg-libXft-dev util-linux-uuid-dev libxml2-dev imlib2-dev"
   10.25 -
   10.26 -# Rules to configure and make the package.
   10.27 -compile_rules()
   10.28 -{
   10.29 -	cd $src
   10.30 -	chmod +x install-sh
   10.31 -	./configure \
   10.32 -		--prefix=/usr \
   10.33 -		--sysconfdir=/etc \
   10.34 -		--libexecdir=/usr/lib/openbox \
   10.35 -		$CONFIGURE_ARGS &&
   10.36 -	sed -i 's/^mkdir_p = .*/mkdir_p = mkdir -p/' po/Makefile &&
   10.37 -	make &&
   10.38 -	make -j1 DESTDIR=$DESTDIR install &&
   10.39 -	rm -rf $install/usr/share/applications
   10.40 -}
   10.41 -
   10.42 -# Rules to gen a SliTaz package suitable for Tazpkg.
   10.43 -genpkg_rules()
   10.44 -{
   10.45 -	mkdir -p $fs/usr/lib/openbox $fs/usr/share/themes
   10.46 -	cp -a $install/usr/bin $fs/usr
   10.47 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   10.48 -	cp -a $install/usr/lib/openbox $fs/usr/lib
   10.49 -
   10.50 -	# We dont have GNOME or KDE
   10.51 -	rm $fs/usr/bin/openbox-gnome-session
   10.52 -	rm $fs/usr/bin/openbox-kde-session
   10.53 -	rm $fs/usr/bin/gnome-panel-control
   10.54 -	rm $fs/usr/bin/gdm-control
   10.55 -	chmod 0755 $fs/usr/bin/openbox-session
   10.56 -
   10.57 -	# Python XDG script --> openbox-python
   10.58 -	rm -f $fs/usr/lib/openbox/openbox-xdg-autostart
   10.59 -	patch -p1 $fs/usr/lib/openbox/openbox-autostart \
   10.60 -		-i $stuff/openbox-autostart.patch || exit 1
   10.61 -
   10.62 -	# Just Onyx Themes --> openbox-themes
   10.63 -	cp -a $install/usr/share/themes/Onyx* $fs/usr/share/themes
   10.64 -
   10.65 -	# Xsessions
   10.66 -	cp -a $stuff/xsessions $fs/usr/share
   10.67 -
   10.68 -	# Pipe menu.
   10.69 -	cp $stuff/open-folder-menu.sh $fs/usr/lib/openbox
   10.70 -
   10.71 -	# Set perms.
   10.72 -	chown -R root.root $fs
   10.73 -}
    11.1 --- a/openbox-imlib2/stuff/open-folder-menu.sh	Tue Jun 20 03:48:54 2017 +0300
    11.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.3 @@ -1,29 +0,0 @@
    11.4 -#!/bin/sh
    11.5 -#
    11.6 -# Openbox pipe menu to launch SpaceFM using GTK bookmarks.
    11.7 -#
    11.8 -
    11.9 -echo '<openbox_pipe_menu>'
   11.10 -
   11.11 -# Home
   11.12 -echo '<item label="Home">'
   11.13 -echo '<action name="Execute"><execute>'
   11.14 -echo "spacefm ~"
   11.15 -echo '</execute></action></item>'
   11.16 -
   11.17 -# ~/Desktop
   11.18 -echo '<item label="Desktop">'
   11.19 -echo '<action name="Execute"><execute>'
   11.20 -echo "spacefm ~/Desktop"
   11.21 -echo '</execute></action></item>'
   11.22 -
   11.23 -# GTK bookmarks
   11.24 -for dir in `sed 's/[ ][^ ]*$//' .gtk-bookmarks`
   11.25 -do
   11.26 -	echo '<item label="'`basename $dir`'">'
   11.27 -	echo '<action name="Execute"><execute>'
   11.28 -	echo "spacefm $dir"
   11.29 -	echo '</execute></action></item>'
   11.30 -done
   11.31 -
   11.32 -echo '</openbox_pipe_menu>'
    12.1 --- a/openbox-imlib2/stuff/openbox-autostart.patch	Tue Jun 20 03:48:54 2017 +0300
    12.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.3 @@ -1,8 +0,0 @@
    12.4 ---- openbox-autostart.org
    12.5 -+++ openbox-autostart
    12.6 -@@ -31,4 +31,4 @@
    12.7 - # Run the XDG autostart stuff.  These are found in /etc/xdg/autostart and
    12.8 - # in $HOME/.config/autostart.  This requires PyXDG to be installed.
    12.9 - # See openbox-xdg-autostart --help for more details.
   12.10 --/usr/lib/openbox/openbox-xdg-autostart "$@"
   12.11 -+/usr/lib/openbox/openbox-xdg-autostart "$@" || continue
    13.1 --- a/openbox-imlib2/stuff/xsessions/openbox.desktop	Tue Jun 20 03:48:54 2017 +0300
    13.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.3 @@ -1,9 +0,0 @@
    13.4 -[Desktop Entry]
    13.5 -Encoding=UTF-8
    13.6 -Type=XSession
    13.7 -Name=OpenBox Session
    13.8 -Name[pt]=Sessão Openbox
    13.9 -Name[pt_BR]=Sessão Openbox
   13.10 -Name[ru]=Сеанс OpenBox
   13.11 -Icon=openbox
   13.12 -Exec=openbox-session
    14.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.2 +++ b/openbox-max/receipt	Thu Jun 22 20:59:17 2017 +0300
    14.3 @@ -0,0 +1,55 @@
    14.4 +# SliTaz package receipt.
    14.5 +
    14.6 +PACKAGE="openbox-max"
    14.7 +VERSION="3.6.1"
    14.8 +CATEGORY="x-window"
    14.9 +SHORT_DESC="Small-footprint and standard compliant Window Manager (allow icons in menus + SVG support)"
   14.10 +MAINTAINER="pankso@slitaz.org"
   14.11 +LICENSE="GPL2"
   14.12 +WEB_SITE="http://openbox.org/"
   14.13 +
   14.14 +TARBALL="openbox-$VERSION.tar.gz"
   14.15 +WGET_URL="http://openbox.org/dist/openbox/$TARBALL"
   14.16 +
   14.17 +BUILD_DEPENDS="glib-dev pango-dev \
   14.18 +gettext xorg-libXcursor-dev xorg-libICE-dev xorg-libSM-dev xorg-libXrandr-dev \
   14.19 +xorg-libXinerama-dev startup-notification-dev automake libtool docbook-utils \
   14.20 +xorg-libXi-dev imlib2-dev librsvg-dev"
   14.21 +SIBLINGS="openbox"
   14.22 +
   14.23 +# Rules to configure and make the package.
   14.24 +compile_rules()
   14.25 +{
   14.26 +	# we need reconfiguration after patching...
   14.27 +	autoreconf -fi &&
   14.28 +
   14.29 +	./configure \
   14.30 +		--sysconfdir=/etc \
   14.31 +		--libexecdir=/usr/lib/openbox \
   14.32 +		--disable-static \
   14.33 +		--docdir=/usr/share/doc/openbox-$VERSION \
   14.34 +		$CONFIGURE_ARGS &&
   14.35 +	make &&
   14.36 +	make -j1 DESTDIR=$DESTDIR install &&
   14.37 +
   14.38 +	# Pipe menu.
   14.39 +	cp $stuff/open-folder-menu.sh $install/usr/lib/openbox/
   14.40 +}
   14.41 +
   14.42 +# Rules to gen a SliTaz package suitable for Tazpkg.
   14.43 +genpkg_rules()
   14.44 +{
   14.45 +	copy obxprop openbox openbox-session *.so* openbox-autostart \
   14.46 +	pixmaps/ Onyx*/ xsessions/openbox.desktop open-folder-menu.sh
   14.47 +	# SliTaz /etc/xdg/openbox/* files are in 'slitaz-configs' package
   14.48 +	TAGS="window-manager"
   14.49 +	PROVIDE="openbox openbox-imlib2"
   14.50 +	SUGGESTED="obconf pcmanfm hsetroot"
   14.51 +	DEPENDS="imlib2 librsvg pango startup-notification xorg-libSM \
   14.52 +	xorg-libXcursor xorg-libXi xorg-libXinerama xorg-libXrandr slitaz-configs"
   14.53 +}
   14.54 +
   14.55 +pre_install() {
   14.56 +	[ -d "$1/var/lib/tazpkg/installed/openbox" ] &&
   14.57 +		tazpkg -r openbox --root="$1/"
   14.58 +}
    15.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    15.2 +++ b/openbox-max/stuff	Thu Jun 22 20:59:17 2017 +0300
    15.3 @@ -0,0 +1,1 @@
    15.4 +../openbox/stuff
    15.5 \ No newline at end of file
    16.1 --- a/openbox-python/receipt	Tue Jun 20 03:48:54 2017 +0300
    16.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    16.3 @@ -1,19 +0,0 @@
    16.4 -# SliTaz package receipt.
    16.5 -
    16.6 -PACKAGE="openbox-python"
    16.7 -VERSION="3.6.1"
    16.8 -CATEGORY="development"
    16.9 -SHORT_DESC="Openbox Python script (XDG auto start standard support)."
   16.10 -MAINTAINER="pankso@slitaz.org"
   16.11 -LICENSE="GPL2"
   16.12 -WANTED="openbox"
   16.13 -WEB_SITE="http://openbox.org/"
   16.14 -
   16.15 -DEPENDS="openbox python python-xdg"
   16.16 -
   16.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   16.18 -genpkg_rules()
   16.19 -{
   16.20 -	mkdir -p $fs/usr/lib/openbox
   16.21 -	cp -a $install/usr/lib/openbox/*-xdg-* $fs/usr/lib/openbox
   16.22 -}
    17.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    17.2 +++ b/openbox-themes-debian/receipt	Thu Jun 22 20:59:17 2017 +0300
    17.3 @@ -0,0 +1,32 @@
    17.4 +# SliTaz package receipt v2.
    17.5 +
    17.6 +PACKAGE="openbox-themes-debian"
    17.7 +VERSION="40b8915"
    17.8 +CATEGORY="customization"
    17.9 +SHORT_DESC="Openbox themes from Debian"
   17.10 +MAINTAINER="al.bobylev@gmail.com"
   17.11 +LICENSE="GPL2"
   17.12 +WEB_SITE="https://github.com/mati75/openbox-debian"
   17.13 +HOST_ARCH="any"
   17.14 +
   17.15 +TARBALL="$PACKAGE-$VERSION.tar.gz"
   17.16 +WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
   17.17 +
   17.18 +# Rules to configure and make the package.
   17.19 +compile_rules()
   17.20 +{
   17.21 +	mkdir -p $install/usr/share
   17.22 +	cp -a debian/themes $install/usr/share
   17.23 +
   17.24 +	# just in case
   17.25 +	find $install -type d -exec chmod 755 '{}' \;
   17.26 +	find $install -type f -exec chmod 644 '{}' \;
   17.27 +	chown -R root:root $install
   17.28 +}
   17.29 +
   17.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
   17.31 +genpkg_rules()
   17.32 +{
   17.33 +	copy @std
   17.34 +	DEPENDS="openbox"
   17.35 +}
    18.1 --- a/openbox-themes/receipt	Tue Jun 20 03:48:54 2017 +0300
    18.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    18.3 @@ -1,21 +0,0 @@
    18.4 -# SliTaz package receipt.
    18.5 -
    18.6 -PACKAGE="openbox-themes"
    18.7 -VERSION="3.6.1"
    18.8 -CATEGORY="x-window"
    18.9 -SHORT_DESC="Openbox official themes set."
   18.10 -MAINTAINER="pankso@slitaz.org"
   18.11 -LICENSE="GPL2"
   18.12 -WANTED="openbox"
   18.13 -WEB_SITE="http://openbox.org/"
   18.14 -HOST_ARCH="any"
   18.15 -
   18.16 -DEPENDS="openbox"
   18.17 -
   18.18 -# Rules to gen a SliTaz package suitable for Tazpkg.
   18.19 -genpkg_rules()
   18.20 -{
   18.21 -	mkdir -p $fs/usr/share
   18.22 -	cp -a $install/usr/share/themes $fs/usr/share
   18.23 -	rm -rf $fs/usr/share/themes/Onyx*
   18.24 -}
    19.1 --- a/openbox/receipt	Tue Jun 20 03:48:54 2017 +0300
    19.2 +++ b/openbox/receipt	Thu Jun 22 20:59:17 2017 +0300
    19.3 @@ -1,78 +1,82 @@
    19.4 -# SliTaz package receipt.
    19.5 +# SliTaz package receipt v2.
    19.6  
    19.7  PACKAGE="openbox"
    19.8  VERSION="3.6.1"
    19.9  CATEGORY="x-window"
   19.10 -SHORT_DESC="Small-footprint and standard compliant Window Manager."
   19.11 +SHORT_DESC="Small-footprint and standard compliant Window Manager"
   19.12  MAINTAINER="pankso@slitaz.org"
   19.13  LICENSE="GPL2"
   19.14 -TARBALL="$PACKAGE-$VERSION.tar.gz"
   19.15  WEB_SITE="http://openbox.org/"
   19.16 -WGET_URL="http://openbox.org/dist/openbox/$TARBALL"
   19.17 -TAGS="window-manager"
   19.18  HOST_ARCH="i486 arm"
   19.19  
   19.20 -SUGGESTED="obconf spacefm pcmanfm hsetroot wbar2 conky"
   19.21 -DEPENDS="pango glib xorg-libX11 fontconfig freetype xorg-libXrandr \
   19.22 -xorg-libXft xorg-libXinerama xorg-libXcursor libxml2 slitaz-configs"
   19.23 -BUILD_DEPENDS=" pango-dev glib-dev xorg-libXft-dev util-linux-uuid-dev \
   19.24 +TARBALL="openbox-$VERSION.tar.gz"
   19.25 +WGET_URL="http://openbox.org/dist/openbox/$TARBALL"
   19.26 +
   19.27 +BUILD_DEPENDS="glib-dev pango-dev \
   19.28 +gettext xorg-libXcursor-dev xorg-libICE-dev xorg-libSM-dev xorg-libXrandr-dev \
   19.29 +xorg-libXinerama-dev startup-notification-dev automake libtool docbook-utils \
   19.30 +xorg-libXi-dev"
   19.31 +BUILD_DEPENDS_arm="pango-dev glib-dev xorg-libXft-dev util-linux-uuid-dev \
   19.32  libxml2-dev xcb-util-dev"
   19.33 -
   19.34 -# Handle slitaz arch: /etc/slitaz/slitaz.conf
   19.35 -case "$SLITAZ_ARCH" in 
   19.36 -	i?86) DEPENDS="$DEPENDS startup-notification" ;;
   19.37 -	arm*) DEPENDS="$DEPENDS hsetroot tint2" ;;
   19.38 -esac
   19.39 -
   19.40 -# Handle cross compilation
   19.41 -case "$ARCH" in 
   19.42 -	i?86) BUILD_DEPENDS="$BUILD_DEPENDS startup-notification-dev xorg-dev" ;;
   19.43 -esac
   19.44 +SPLIT="openbox-themes openbox-dev" # openbox-python?
   19.45 +SIBLINGS="openbox-max"
   19.46  
   19.47  # Rules to configure and make the package.
   19.48  compile_rules()
   19.49  {
   19.50 -	chmod +x install-sh
   19.51 +	# openbox required reconfiguration after patching...
   19.52 +	autoreconf -fi &&
   19.53 +
   19.54  	./configure \
   19.55 -		--prefix=/usr \
   19.56  		--sysconfdir=/etc \
   19.57  		--libexecdir=/usr/lib/openbox \
   19.58 +		--disable-static \
   19.59 +		--docdir=/usr/share/doc/openbox-$VERSION \
   19.60  		$CONFIGURE_ARGS &&
   19.61 -	sed -i 's/^mkdir_p = .*/mkdir_p = mkdir -p/' po/Makefile &&
   19.62  	make &&
   19.63  	make -j1 DESTDIR=$DESTDIR install &&
   19.64 -	rm -rf $install/usr/share/applications
   19.65 +
   19.66 +	# Pipe menu.
   19.67 +	cp $stuff/open-folder-menu.sh $install/usr/lib/openbox/
   19.68  }
   19.69  
   19.70  # Rules to gen a SliTaz package suitable for Tazpkg.
   19.71  genpkg_rules()
   19.72  {
   19.73 -	mkdir -p $fs/usr/lib/openbox $fs/usr/share/themes
   19.74 -	cp -a $install/usr/bin $fs/usr
   19.75 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   19.76 -	cp -a $install/usr/lib/openbox $fs/usr/lib
   19.77 -
   19.78 -	# We dont have GNOME or KDE
   19.79 -	rm $fs/usr/bin/openbox-gnome-session
   19.80 -	rm $fs/usr/bin/openbox-kde-session
   19.81 -	rm $fs/usr/bin/gnome-panel-control
   19.82 -	rm $fs/usr/bin/gdm-control
   19.83 -	chmod 0755 $fs/usr/bin/openbox-session
   19.84 -
   19.85 -	# Python XDG script --> openbox-python
   19.86 -	rm -f $fs/usr/lib/openbox/openbox-xdg-autostart
   19.87 -	patch -p1 $fs/usr/lib/openbox/openbox-autostart \
   19.88 -		-i $stuff/openbox-autostart.patch || exit 1
   19.89 -
   19.90 -	# Just Onyx Themes --> openbox-themes
   19.91 -	cp -a $install/usr/share/themes/Onyx* $fs/usr/share/themes
   19.92 -
   19.93 -	# Xsessions
   19.94 -	cp -a $stuff/xsessions $fs/usr/share
   19.95 -
   19.96 -	# Pipe menu.
   19.97 -	cp $stuff/open-folder-menu.sh $fs/usr/lib/openbox
   19.98 -
   19.99 -	# Set perms.
  19.100 -	chown -R root.root $fs
  19.101 +	case $PACKAGE in
  19.102 +		openbox)
  19.103 +			copy obxprop openbox openbox-session *.so* openbox-autostart \
  19.104 +			pixmaps/ Onyx*/ xsessions/openbox.desktop open-folder-menu.sh
  19.105 +			# SliTaz /etc/xdg/openbox/* files are in 'slitaz-configs' package
  19.106 +			TAGS="window-manager"
  19.107 +			SUGGESTED="obconf spacefm pcmanfm hsetroot wbar2 conky"
  19.108 +			DEPENDS="pango xorg-libSM xorg-libXcursor xorg-libXi \
  19.109 +			xorg-libXinerama xorg-libXrandr slitaz-configs"
  19.110 +			# Handle SliTaz arch: /etc/slitaz/slitaz.conf
  19.111 +			case "$SLITAZ_ARCH" in
  19.112 +				i?86) DEPENDS="$DEPENDS startup-notification";;
  19.113 +				arm*) DEPENDS="$DEPENDS hsetroot tint2";;
  19.114 +			esac
  19.115 +			;;
  19.116 +		openbox-python)
  19.117 +			copy openbox-xdg-autostart
  19.118 +			CAT="development|Python script - XDG auto start standard support"
  19.119 +			DEPENDS="openbox python python-xdg"
  19.120 +			;;
  19.121 +		openbox-themes)
  19.122 +			copy themes/
  19.123 +			remove_already_packed
  19.124 +			CAT="customiz|official themes set"
  19.125 +			;;
  19.126 +		openbox-dev)
  19.127 +			copy @dev
  19.128 +			DEPENDS="openbox openbox-python openbox-themes bzip2-dev \
  19.129 +			fontconfig-dev freetype-dev glib-dev harfbuzz-dev libffi-dev \
  19.130 +			liblzma-dev libpng16-dev libxcb-dev libxml2-dev pango-dev pcre-dev \
  19.131 +			util-linux-uuid-dev xorg-libICE-dev xorg-libSM-dev xorg-libX11-dev \
  19.132 +			xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev xorg-libXft-dev \
  19.133 +			xorg-libXi-dev xorg-libXinerama-dev xorg-libXrandr-dev \
  19.134 +			xorg-libXrender-dev zlib-dev"
  19.135 +			;;
  19.136 +	esac
  19.137  }
    20.1 --- a/openbox/stuff/openbox-autostart.patch	Tue Jun 20 03:48:54 2017 +0300
    20.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    20.3 @@ -1,8 +0,0 @@
    20.4 ---- openbox-autostart.org
    20.5 -+++ openbox-autostart
    20.6 -@@ -31,4 +31,4 @@
    20.7 - # Run the XDG autostart stuff.  These are found in /etc/xdg/autostart and
    20.8 - # in $HOME/.config/autostart.  This requires PyXDG to be installed.
    20.9 - # See openbox-xdg-autostart --help for more details.
   20.10 --/usr/lib/openbox/openbox-xdg-autostart "$@"
   20.11 -+/usr/lib/openbox/openbox-xdg-autostart "$@" || continue
    21.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    21.2 +++ b/openbox/stuff/patches/03_place_windows_in_quadrants.patch	Thu Jun 22 20:59:17 2017 +0300
    21.3 @@ -0,0 +1,111 @@
    21.4 +patch by Marc Brockschmidt to allow placing windows in certain screen
    21.5 +quadrants using key bindings - #544538
    21.6 +Index: openbox-3.4.11.1/data/rc.xsd
    21.7 +===================================================================
    21.8 +--- openbox-3.4.11.1.orig/data/rc.xsd	2010-04-23 16:49:08.000000000 +0200
    21.9 ++++ openbox-3.4.11.1/data/rc.xsd	2010-04-23 16:49:56.000000000 +0200
   21.10 +@@ -171,8 +171,8 @@
   21.11 +         <xsd:element minOccurs="0" name="manageDesktops" type="ob:bool"/>
   21.12 +     </xsd:complexType>
   21.13 +     <xsd:complexType name="window_position">
   21.14 +-        <xsd:element name="x" type="ob:center_or_int"/>
   21.15 +-        <xsd:element name="y" type="ob:center_or_int"/>
   21.16 ++        <xsd:element name="x" type="ob:horizontal_center_or_int"/>
   21.17 ++        <xsd:element name="y" type="ob:vertical_center_or_int"/>
   21.18 + 	<xsd:element name="monitor" type="ob:mouse_or_int"/>	
   21.19 +         <xsd:element minOccurs="0" name="head" type="xsd:string"/>
   21.20 +         <xsd:attribute name="force" type="ob:bool"/>
   21.21 +@@ -365,6 +365,20 @@
   21.22 +             <xsd:pattern value="center|0|[1-9][0-9]*"/>
   21.23 +         </xsd:restriction>
   21.24 +     </xsd:simpleType>
   21.25 ++    <xsd:simpleType name="horizontal_center_or_int">
   21.26 ++        <xsd:restriction base="xsd:string">
   21.27 ++            <!-- ob: atoi($_) unless $_ eq 'center'; -->
   21.28 ++            <!-- I think the regexp DTRT WRT atoi. -->
   21.29 ++            <xsd:pattern value="(Below|Above)?center|0|[1-9][0-9]*"/>
   21.30 ++        </xsd:restriction>
   21.31 ++    </xsd:simpleType>
   21.32 ++    <xsd:simpleType name="vertical_center_or_int">
   21.33 ++        <xsd:restriction base="xsd:string">
   21.34 ++            <!-- ob: atoi($_) unless $_ eq 'center'; -->
   21.35 ++            <!-- I think the regexp DTRT WRT atoi. -->
   21.36 ++            <xsd:pattern value="(LeftOf|RightOf)?center|0|[1-9][0-9]*"/>
   21.37 ++        </xsd:restriction>
   21.38 ++    </xsd:simpleType>
   21.39 +     <xsd:simpleType name="mouse_or_int">
   21.40 +         <xsd:restriction base="xsd:string">
   21.41 +             <!-- ob: atoi($_) unless $_ eq 'center'; -->
   21.42 +Index: openbox-3.4.11.1/openbox/actions/moveresizeto.c
   21.43 +===================================================================
   21.44 +--- openbox-3.4.11.1.orig/openbox/actions/moveresizeto.c	2010-04-23 16:49:24.000000000 +0200
   21.45 ++++ openbox-3.4.11.1/openbox/actions/moveresizeto.c	2010-04-23 16:49:56.000000000 +0200
   21.46 +@@ -14,6 +14,10 @@
   21.47 + typedef struct {
   21.48 +     gboolean xcenter;
   21.49 +     gboolean ycenter;
   21.50 ++    gboolean rightofcenter;
   21.51 ++    gboolean leftofcenter;
   21.52 ++    gboolean abovecenter;
   21.53 ++    gboolean belowcenter;
   21.54 +     gboolean xopposite;
   21.55 +     gboolean yopposite;
   21.56 +     gint x;
   21.57 +@@ -44,12 +48,22 @@
   21.58 + }
   21.59 + 
   21.60 + static void parse_coord(xmlDocPtr doc, xmlNodePtr n, gint *pos,
   21.61 +-                        gboolean *opposite, gboolean *center)
   21.62 ++                        gboolean *opposite, gboolean *rightofcenter,
   21.63 ++                        gboolean *leftofcenter, gboolean *abovecenter,
   21.64 ++                        gboolean *belowcenter, gboolean *center)
   21.65 + {
   21.66 +     gchar *s = parse_string(doc, n);
   21.67 +     if (g_ascii_strcasecmp(s, "current") != 0) {
   21.68 +         if (!g_ascii_strcasecmp(s, "center"))
   21.69 +             *center = TRUE;
   21.70 ++        else if (!g_ascii_strcasecmp(s, "rightofcenter"))
   21.71 ++            *rightofcenter = TRUE;
   21.72 ++        else if (!g_ascii_strcasecmp(s, "leftofcenter"))
   21.73 ++            *leftofcenter = TRUE;
   21.74 ++        else if (!g_ascii_strcasecmp(s, "belowcenter"))
   21.75 ++            *belowcenter = TRUE;
   21.76 ++        else if (!g_ascii_strcasecmp(s, "abovecenter"))
   21.77 ++            *abovecenter = TRUE;
   21.78 +         else {
   21.79 +             if (s[0] == '-')
   21.80 +                 *opposite = TRUE;
   21.81 +@@ -75,10 +89,14 @@
   21.82 +     o->monitor = CURRENT_MONITOR;
   21.83 + 
   21.84 +     if ((n = parse_find_node("x", node)))
   21.85 +-        parse_coord(doc, n, &o->x, &o->xopposite, &o->xcenter);
   21.86 ++        parse_coord(doc, n, &o->x, &o->xopposite, 
   21.87 ++                    &o->rightofcenter, &o->leftofcenter,
   21.88 ++                    &o->abovecenter, &o->belowcenter, &o->xcenter);
   21.89 + 
   21.90 +     if ((n = parse_find_node("y", node)))
   21.91 +-        parse_coord(doc, n, &o->y, &o->yopposite, &o->ycenter);
   21.92 ++        parse_coord(doc, n, &o->y, &o->yopposite,
   21.93 ++                    &o->rightofcenter, &o->leftofcenter,
   21.94 ++                    &o->abovecenter, &o->belowcenter, &o->ycenter); 
   21.95 + 
   21.96 +     if ((n = parse_find_node("width", node))) {
   21.97 +         gchar *s = parse_string(doc, n);
   21.98 +@@ -182,12 +200,16 @@
   21.99 + 
  21.100 +         x = o->x;
  21.101 +         if (o->xcenter) x = (area->width - w) / 2;
  21.102 ++        else if (o->leftofcenter) x = (area->width / 2) - w;
  21.103 ++        else if (o->rightofcenter) x = area->width / 2;
  21.104 +         else if (x == G_MININT) x = c->frame->area.x - carea->x;
  21.105 +         else if (o->xopposite) x = area->width - w - x;
  21.106 +         x += area->x;
  21.107 + 
  21.108 +         y = o->y;
  21.109 +         if (o->ycenter) y = (area->height - h) / 2;
  21.110 ++        else if (o->abovecenter) y = (area->height / 2) - h;
  21.111 ++        else if (o->belowcenter) y = area->height / 2;
  21.112 +         else if (y == G_MININT) y = c->frame->area.y - carea->y;
  21.113 +         else if (o->yopposite) y = area->height - h - y;
  21.114 +         y += area->y;
    22.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    22.2 +++ b/openbox/stuff/patches/04_fix_xml_load_file.patch	Thu Jun 22 20:59:17 2017 +0300
    22.3 @@ -0,0 +1,25 @@
    22.4 +by Nico Golde <nion@debian.org>, slightly modified version
    22.5 +from Eugenio Paolantonio <me@medesimo.eu>
    22.6 +Do not build filename if a working full path is given.
    22.7 +Fixes #644756.
    22.8 +Index: openbox-3.5.0/obt/xml.c
    22.9 +===================================================================
   22.10 +--- openbox-3.5.0.orig/obt/xml.c	2011-10-30 14:13:07.000000000 +0100
   22.11 ++++ openbox-3.5.0/obt/xml.c	2011-10-30 14:13:10.000000000 +0100
   22.12 +@@ -127,10 +127,13 @@
   22.13 +         gchar *path;
   22.14 +         struct stat s;
   22.15 + 
   22.16 +-        if (!domain && !filename) /* given a full path to the file */
   22.17 ++        if (!domain && !filename){ /* given a full path to the file */
   22.18 +             path = g_strdup(it->data);
   22.19 +-        else
   22.20 ++        } else if(filename && filename[0] == '/' && stat(filename, &s) >= 0) {
   22.21 ++            path = g_strdup(filename);
   22.22 ++        } else {
   22.23 +             path = g_build_filename(it->data, domain, filename, NULL);
   22.24 ++        }
   22.25 + 
   22.26 +         if (stat(path, &s) >= 0) {
   22.27 +             /* XML_PARSE_BLANKS is needed apparently, or the tree can end up
   22.28 +
    23.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    23.2 +++ b/openbox/stuff/patches/05_openbox-3.5.0-title-matching.patch	Thu Jun 22 20:59:17 2017 +0300
    23.3 @@ -0,0 +1,12 @@
    23.4 +Description: Upstream patch to fix title on java applications
    23.5 +--- openbox-3.5.0/openbox/client.c	2011-08-01 22:14:58.000000000 +0200
    23.6 ++++ openbox-3.5.0/openbox/client.c	2011-10-22 14:59:56.000000000 +0200
    23.7 +@@ -883,7 +883,7 @@
    23.8 +                  !g_pattern_match(app->role,
    23.9 +                                   strlen(self->role), self->role, NULL))
   23.10 +             match = FALSE;
   23.11 +-        else if (app->title &&
   23.12 ++        else if (app->title && self->title &&
   23.13 +                  !g_pattern_match(app->title,
   23.14 +                                   strlen(self->title), self->title, NULL))
   23.15 +             match = FALSE;
    24.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    24.2 +++ b/openbox/stuff/patches/08_autostart-fix.patch	Thu Jun 22 20:59:17 2017 +0300
    24.3 @@ -0,0 +1,16 @@
    24.4 +Description: Add compatibility to obsession when the pyxdg is not running
    24.5 +Author: Mateusz Łukasik <mati75@linuxmint.pl>
    24.6 +
    24.7 +--- a/data/autostart/openbox-autostart.in
    24.8 ++++ b/data/autostart/openbox-autostart.in
    24.9 +@@ -31,4 +31,9 @@ fi
   24.10 + # Run the XDG autostart stuff.  These are found in /etc/xdg/autostart and
   24.11 + # in $HOME/.config/autostart.  This requires PyXDG to be installed.
   24.12 + # See openbox-xdg-autostart --help for more details.
   24.13 +-@libexecdir@/openbox-xdg-autostart "$@"
   24.14 ++if which xdg-autostart >/dev/null 2>/dev/null; then
   24.15 ++   CMD=xdg-autostart
   24.16 ++else
   24.17 ++   CMD=@libexecdir@/openbox-xdg-autostart
   24.18 ++fi
   24.19 ++exec $CMD "$@"
    25.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    25.2 +++ b/openbox/stuff/patches/14_pi_corners.patch	Thu Jun 22 20:59:17 2017 +0300
    25.3 @@ -0,0 +1,1383 @@
    25.4 +diff --git a/openbox/config.c b/openbox/config.c
    25.5 +index 76f4856..64822ac 100644
    25.6 +--- a/openbox/config.c
    25.7 ++++ b/openbox/config.c
    25.8 +@@ -48,6 +48,8 @@ StrutPartial config_margins;
    25.9 + gchar   *config_theme;
   25.10 + gboolean config_theme_keepborder;
   25.11 + guint    config_theme_window_list_icon_size;
   25.12 ++gboolean config_theme_roundcorners;
   25.13 ++gboolean config_theme_invhandles;
   25.14 + 
   25.15 + gchar   *config_title_layout;
   25.16 + 
   25.17 +@@ -719,6 +721,10 @@ static void parse_theme(xmlNodePtr node, gpointer d)
   25.18 +         else if (config_theme_window_list_icon_size > 96)
   25.19 +             config_theme_window_list_icon_size = 96;
   25.20 +     }
   25.21 ++    if ((n = obt_xml_find_node(node, "roundCorners")))
   25.22 ++        config_theme_roundcorners = obt_xml_node_bool(n);
   25.23 ++    if ((n = obt_xml_find_node(node, "invisibleHandles")))
   25.24 ++        config_theme_invhandles = obt_xml_node_bool(n);
   25.25 + 
   25.26 +     for (n = obt_xml_find_node(node, "font");
   25.27 +          n;
   25.28 +@@ -1078,6 +1084,8 @@ void config_startup(ObtXmlInst *i)
   25.29 +     config_title_layout = g_strdup("NLIMC");
   25.30 +     config_theme_keepborder = TRUE;
   25.31 +     config_theme_window_list_icon_size = 36;
   25.32 ++    config_theme_roundcorners = FALSE;
   25.33 ++    config_theme_invhandles = FALSE;
   25.34 + 
   25.35 +     config_font_activewindow = NULL;
   25.36 +     config_font_inactivewindow = NULL;
   25.37 +diff --git a/openbox/config.h b/openbox/config.h
   25.38 +index fc1d217..6bff777 100644
   25.39 +--- a/openbox/config.h
   25.40 ++++ b/openbox/config.h
   25.41 +@@ -152,6 +152,10 @@ extern gchar *config_title_layout;
   25.42 + extern gboolean config_animate_iconify;
   25.43 + /*! Size of icons in focus switching dialogs */
   25.44 + extern guint config_theme_window_list_icon_size;
   25.45 ++/*! Display rounded corners for decorated windows */
   25.46 ++extern gboolean config_theme_roundcorners;
   25.47 ++/*! Extend drag handles outside window borders */
   25.48 ++extern gboolean config_theme_invhandles;
   25.49 + 
   25.50 + /*! The font for the active window's title */
   25.51 + extern RrFont *config_font_activewindow;
   25.52 +diff --git a/openbox/frame.c b/openbox/frame.c
   25.53 +index 3dbcf12..cf50c56 100644
   25.54 +--- a/openbox/frame.c
   25.55 ++++ b/openbox/frame.c
   25.56 +@@ -45,6 +45,8 @@
   25.57 + 
   25.58 + #define FRAME_HANDLE_Y(f) (f->size.top + f->client->area.height + f->cbwidth_b)
   25.59 + 
   25.60 ++#define INV_WIDTH 10
   25.61 ++
   25.62 + static void flash_done(gpointer data);
   25.63 + static gboolean flash_timeout(gpointer data);
   25.64 + 
   25.65 +@@ -54,6 +56,8 @@ static void free_theme_statics(ObFrame *self);
   25.66 + static gboolean frame_animate_iconify(gpointer self);
   25.67 + static void frame_adjust_cursors(ObFrame *self);
   25.68 + 
   25.69 ++static gboolean moving = FALSE;
   25.70 ++
   25.71 + static Window createWindow(Window parent, Visual *visual,
   25.72 +                            gulong mask, XSetWindowAttributes *attrib)
   25.73 + {
   25.74 +@@ -64,6 +68,14 @@ static Window createWindow(Window parent, Visual *visual,
   25.75 + 
   25.76 + }
   25.77 + 
   25.78 ++static Window createInputWindow (Window parent, gulong mask, XSetWindowAttributes *attrib)
   25.79 ++{
   25.80 ++    return XCreateWindow(obt_display, parent, 0, 0, 1, 1, 0,
   25.81 ++                         CopyFromParent, InputOnly,
   25.82 ++                         CopyFromParent,
   25.83 ++                         mask, attrib);
   25.84 ++}
   25.85 ++
   25.86 + static Visual *check_32bit_client(ObClient *c)
   25.87 + {
   25.88 +     XWindowAttributes wattrib;
   25.89 +@@ -125,6 +137,7 @@ ObFrame *frame_new(ObClient *client)
   25.90 + 
   25.91 +     mask |= CWEventMask;
   25.92 +     attrib.event_mask = ELEMENT_EVENTMASK;
   25.93 ++
   25.94 +     self->innerleft = createWindow(self->window, NULL, mask, &attrib);
   25.95 +     self->innertop = createWindow(self->window, NULL, mask, &attrib);
   25.96 +     self->innerright = createWindow(self->window, NULL, mask, &attrib);
   25.97 +@@ -176,6 +189,52 @@ ObFrame *frame_new(ObClient *client)
   25.98 +     self->rgriptop = createWindow(self->window, NULL, mask, &attrib);
   25.99 +     self->rgripbottom = createWindow(self->window, NULL, mask, &attrib);
  25.100 + 
  25.101 ++    self->outerleft = createWindow(self->window, NULL, mask, &attrib);
  25.102 ++    self->outerright = createWindow(self->window, NULL, mask, &attrib);
  25.103 ++    self->outertop = createWindow(self->window, NULL, mask, &attrib);
  25.104 ++    self->outerbottom = createWindow(self->window, NULL, mask, &attrib);
  25.105 ++    self->outerlefttop = createWindow(self->window, NULL, mask, &attrib);
  25.106 ++    self->outerrighttop = createWindow(self->window, NULL, mask, &attrib);
  25.107 ++    self->outerleftbottom = createWindow(self->window, NULL, mask, &attrib);
  25.108 ++    self->outerrightbottom = createWindow(self->window, NULL, mask, &attrib);
  25.109 ++    self->outertopleft = createWindow(self->window, NULL, mask, &attrib);
  25.110 ++    self->outertopright = createWindow(self->window, NULL, mask, &attrib);
  25.111 ++    self->outerbottomleft = createWindow(self->window, NULL, mask, &attrib);
  25.112 ++    self->outerbottomright = createWindow(self->window, NULL, mask, &attrib);
  25.113 ++
  25.114 ++    self->edgeleft = createWindow(self->window, NULL, mask, &attrib);
  25.115 ++    self->edgeright = createWindow(self->window, NULL, mask, &attrib);
  25.116 ++    self->edgetop = createWindow(self->window, NULL, mask, &attrib);
  25.117 ++    self->edgebottom = createWindow(self->window, NULL, mask, &attrib);
  25.118 ++    self->edgelefttop = createWindow(self->window, NULL, mask, &attrib);
  25.119 ++    self->edgerighttop = createWindow(self->window, NULL, mask, &attrib);
  25.120 ++    self->edgeleftbottom = createWindow(self->window, NULL, mask, &attrib);
  25.121 ++    self->edgerightbottom = createWindow(self->window, NULL, mask, &attrib);
  25.122 ++    self->edgetopleft = createWindow(self->window, NULL, mask, &attrib);
  25.123 ++    self->edgetopright = createWindow(self->window, NULL, mask, &attrib);
  25.124 ++    self->edgebottomleft = createWindow(self->window, NULL, mask, &attrib);
  25.125 ++    self->edgebottomright = createWindow(self->window, NULL, mask, &attrib);
  25.126 ++    self->ce_tl_t = createWindow(self->window, NULL, mask, &attrib);
  25.127 ++    self->ce_tl_l = createWindow(self->window, NULL, mask, &attrib);
  25.128 ++    self->ce_tr_t = createWindow(self->window, NULL, mask, &attrib);
  25.129 ++    self->ce_tr_r = createWindow(self->window, NULL, mask, &attrib);
  25.130 ++    self->ce_bl_b = createWindow(self->window, NULL, mask, &attrib);
  25.131 ++    self->ce_bl_l = createWindow(self->window, NULL, mask, &attrib);
  25.132 ++    self->ce_br_b = createWindow(self->window, NULL, mask, &attrib);
  25.133 ++    self->ce_br_r = createWindow(self->window, NULL, mask, &attrib);
  25.134 ++
  25.135 ++    if (config_theme_invhandles)
  25.136 ++    {
  25.137 ++        self->invleft = createInputWindow (obt_root (ob_screen), mask, &attrib);
  25.138 ++        self->invright = createInputWindow (obt_root (ob_screen), mask, &attrib);
  25.139 ++        self->invtop = createInputWindow (obt_root (ob_screen), mask, &attrib);
  25.140 ++        self->invbottom = createInputWindow (obt_root (ob_screen), mask, &attrib);
  25.141 ++        self->invtl = createInputWindow (obt_root (ob_screen), mask, &attrib);
  25.142 ++        self->invtr = createInputWindow (obt_root (ob_screen), mask, &attrib);
  25.143 ++        self->invbl = createInputWindow (obt_root (ob_screen), mask, &attrib);
  25.144 ++        self->invbr = createInputWindow (obt_root (ob_screen), mask, &attrib);
  25.145 ++    }
  25.146 ++
  25.147 +     self->focused = FALSE;
  25.148 + 
  25.149 +     /* the other stuff is shown based on decor settings */
  25.150 +@@ -231,12 +290,145 @@ void frame_free(ObFrame *self)
  25.151 +     free_theme_statics(self);
  25.152 + 
  25.153 +     XDestroyWindow(obt_display, self->window);
  25.154 ++    if (config_theme_invhandles)
  25.155 ++    {
  25.156 ++        XDestroyWindow(obt_display, self->invleft);
  25.157 ++        XDestroyWindow(obt_display, self->invright);
  25.158 ++        XDestroyWindow(obt_display, self->invtop);
  25.159 ++        XDestroyWindow(obt_display, self->invbottom);
  25.160 ++        XDestroyWindow(obt_display, self->invtr);
  25.161 ++        XDestroyWindow(obt_display, self->invtl);
  25.162 ++        XDestroyWindow(obt_display, self->invbl);
  25.163 ++        XDestroyWindow(obt_display, self->invbr);
  25.164 ++    }
  25.165 +     if (self->colormap)
  25.166 +         XFreeColormap(obt_display, self->colormap);
  25.167 + 
  25.168 +     g_slice_free(ObFrame, self);
  25.169 + }
  25.170 + 
  25.171 ++void frame_remove_handles (ObClient *client)
  25.172 ++{
  25.173 ++    ObFrame *self = client->frame;
  25.174 ++    moving = TRUE;
  25.175 ++    if (config_theme_invhandles)
  25.176 ++    {
  25.177 ++        window_remove(self->invleft);
  25.178 ++        window_remove(self->invright);
  25.179 ++        window_remove(self->invtop);
  25.180 ++        window_remove(self->invbottom);
  25.181 ++        window_remove(self->invtl);
  25.182 ++        window_remove(self->invtr);
  25.183 ++        window_remove(self->invbl);
  25.184 ++        window_remove(self->invbr);
  25.185 ++        XDestroyWindow(obt_display, self->invleft);
  25.186 ++        XDestroyWindow(obt_display, self->invright);
  25.187 ++        XDestroyWindow(obt_display, self->invtop);
  25.188 ++        XDestroyWindow(obt_display, self->invbottom);
  25.189 ++        XDestroyWindow(obt_display, self->invtr);
  25.190 ++        XDestroyWindow(obt_display, self->invtl);
  25.191 ++        XDestroyWindow(obt_display, self->invbl);
  25.192 ++        XDestroyWindow(obt_display, self->invbr);
  25.193 ++    }
  25.194 ++}
  25.195 ++
  25.196 ++void frame_restore_handles (ObClient *client)
  25.197 ++{
  25.198 ++    ObFrame *self = client->frame;
  25.199 ++    XSetWindowAttributes attrib;
  25.200 ++    gulong mask = 0;
  25.201 ++    Visual *visual = check_32bit_client (client);
  25.202 ++    gboolean topbot = !self->client->max_vert;
  25.203 ++    gboolean sh = self->client->shaded;
  25.204 ++    XSetWindowAttributes a;
  25.205 ++    gboolean r = (self->client->functions & OB_CLIENT_FUNC_RESIZE) &&
  25.206 ++        !(self->client->max_horz && self->client->max_vert);
  25.207 ++
  25.208 ++    moving = FALSE;
  25.209 ++    if (config_theme_invhandles)
  25.210 ++    {
  25.211 ++        if (visual)
  25.212 ++        {
  25.213 ++            /* client has a 32-bit visual */
  25.214 ++            mask = CWColormap | CWBackPixel | CWBorderPixel;
  25.215 ++            attrib.background_pixel = BlackPixel(obt_display, ob_screen);
  25.216 ++            attrib.border_pixel = BlackPixel(obt_display, ob_screen);
  25.217 ++            attrib.colormap = RrColormap(ob_rr_inst);
  25.218 ++        }
  25.219 ++
  25.220 ++        mask |= CWEventMask;
  25.221 ++        attrib.event_mask = ELEMENT_EVENTMASK;
  25.222 ++
  25.223 ++        self->invleft = XCreateWindow (obt_display, obt_root(ob_screen),
  25.224 ++            self->area.x - INV_WIDTH, self->area.y, INV_WIDTH, self->area.height, 0,
  25.225 ++            CopyFromParent, InputOnly, CopyFromParent, mask, &attrib);
  25.226 ++
  25.227 ++        self->invright = XCreateWindow (obt_display, obt_root(ob_screen),
  25.228 ++            self->area.x + self->area.width, self->area.y, INV_WIDTH, self->area.height, 0,
  25.229 ++            CopyFromParent, InputOnly, CopyFromParent, mask, &attrib);
  25.230 ++
  25.231 ++        self->invtop = XCreateWindow (obt_display, obt_root(ob_screen),
  25.232 ++            self->area.x, self->area.y - INV_WIDTH, self->area.width, INV_WIDTH, 0,
  25.233 ++            CopyFromParent, InputOnly, CopyFromParent, mask, &attrib);
  25.234 ++
  25.235 ++        self->invbottom = XCreateWindow (obt_display, obt_root(ob_screen),
  25.236 ++            self->area.x, self->area.y + self->area.height, self->area.width, INV_WIDTH, 0,
  25.237 ++            CopyFromParent, InputOnly, CopyFromParent, mask, &attrib);
  25.238 ++
  25.239 ++        self->invtl = XCreateWindow (obt_display, obt_root(ob_screen),
  25.240 ++            self->area.x - INV_WIDTH, self->area.y - INV_WIDTH, INV_WIDTH, INV_WIDTH, 0,
  25.241 ++            CopyFromParent, InputOnly, CopyFromParent, mask, &attrib);
  25.242 ++
  25.243 ++        self->invtr = XCreateWindow (obt_display, obt_root(ob_screen),
  25.244 ++            self->area.x + self->area.width, self->area.y - INV_WIDTH, INV_WIDTH, INV_WIDTH, 0,
  25.245 ++            CopyFromParent, InputOnly, CopyFromParent, mask, &attrib);
  25.246 ++
  25.247 ++        self->invbl = XCreateWindow (obt_display, obt_root(ob_screen),
  25.248 ++            self->area.x - INV_WIDTH, self->area.y + self->area.height, INV_WIDTH, INV_WIDTH, 0,
  25.249 ++            CopyFromParent, InputOnly, CopyFromParent, mask, &attrib);
  25.250 ++
  25.251 ++        self->invbr = XCreateWindow (obt_display, obt_root(ob_screen),
  25.252 ++            self->area.x + self->area.width, self->area.y + self->area.height, INV_WIDTH, INV_WIDTH, 0,
  25.253 ++            CopyFromParent, InputOnly, CopyFromParent, mask, &attrib);
  25.254 ++
  25.255 ++        window_add(&self->invleft, CLIENT_AS_WINDOW(self->client));
  25.256 ++        window_add(&self->invright, CLIENT_AS_WINDOW(self->client));
  25.257 ++        window_add(&self->invtop, CLIENT_AS_WINDOW(self->client));
  25.258 ++        window_add(&self->invbottom, CLIENT_AS_WINDOW(self->client));
  25.259 ++        window_add(&self->invtl, CLIENT_AS_WINDOW(self->client));
  25.260 ++        window_add(&self->invtr, CLIENT_AS_WINDOW(self->client));
  25.261 ++        window_add(&self->invbl, CLIENT_AS_WINDOW(self->client));
  25.262 ++        window_add(&self->invbr, CLIENT_AS_WINDOW(self->client));
  25.263 ++
  25.264 ++        XMapWindow (obt_display, self->invleft);
  25.265 ++        XMapWindow (obt_display, self->invright);
  25.266 ++        XMapWindow (obt_display, self->invtop);
  25.267 ++        XMapWindow (obt_display, self->invbottom);
  25.268 ++        XMapWindow (obt_display, self->invtl);
  25.269 ++        XMapWindow (obt_display, self->invtr);
  25.270 ++        XMapWindow (obt_display, self->invbl);
  25.271 ++        XMapWindow (obt_display, self->invbr);
  25.272 ++
  25.273 ++        a.cursor = ob_cursor (r && topbot && !sh ? OB_CURSOR_NORTH : OB_CURSOR_NONE);
  25.274 ++        XChangeWindowAttributes(obt_display, self->invtop, CWCursor, &a);
  25.275 ++        a.cursor = ob_cursor (r && topbot ? OB_CURSOR_SOUTH : OB_CURSOR_NONE);
  25.276 ++        XChangeWindowAttributes(obt_display, self->invbottom, CWCursor, &a);
  25.277 ++        a.cursor = ob_cursor (r ? (sh ? OB_CURSOR_WEST : OB_CURSOR_NORTHWEST) : OB_CURSOR_NONE);
  25.278 ++        XChangeWindowAttributes(obt_display, self->invtl, CWCursor, &a);
  25.279 ++        a.cursor = ob_cursor (r ? (sh ? OB_CURSOR_EAST : OB_CURSOR_NORTHEAST) : OB_CURSOR_NONE);
  25.280 ++        XChangeWindowAttributes(obt_display, self->invtr, CWCursor, &a);
  25.281 ++        a.cursor = ob_cursor (r ? OB_CURSOR_WEST : OB_CURSOR_NONE);
  25.282 ++        XChangeWindowAttributes(obt_display, self->invleft, CWCursor, &a);
  25.283 ++        a.cursor = ob_cursor (r ? OB_CURSOR_EAST : OB_CURSOR_NONE);
  25.284 ++        XChangeWindowAttributes(obt_display, self->invright, CWCursor, &a);
  25.285 ++        a.cursor = ob_cursor (r ? OB_CURSOR_SOUTHWEST : OB_CURSOR_NONE);
  25.286 ++        XChangeWindowAttributes(obt_display, self->invbl, CWCursor, &a);
  25.287 ++        a.cursor = ob_cursor (r ? OB_CURSOR_SOUTHEAST : OB_CURSOR_NONE);
  25.288 ++        XChangeWindowAttributes(obt_display, self->invbr, CWCursor, &a);
  25.289 ++    }
  25.290 ++}
  25.291 ++
  25.292 ++
  25.293 + void frame_show(ObFrame *self)
  25.294 + {
  25.295 +     if (!self->visible) {
  25.296 +@@ -376,10 +568,17 @@ void frame_adjust_area(ObFrame *self, gboolean moved,
  25.297 +         self->width = MAX(self->width,
  25.298 +                           (ob_rr_theme->grip_width + self->bwidth) * 2 + 1);
  25.299 + 
  25.300 ++        if (self->decorations & OB_FRAME_DECOR_TITLEBAR && config_theme_roundcorners)
  25.301 ++            self->outer = 2;
  25.302 ++        else
  25.303 ++            self->outer = 0;
  25.304 ++
  25.305 ++        if (self->max_horz || self->max_vert) self->outer = 0;
  25.306 ++
  25.307 +         STRUT_SET(self->size,
  25.308 +-                  self->cbwidth_l + (!self->max_horz ? self->bwidth : 0),
  25.309 ++                  self->cbwidth_l + (!self->max_horz ? self->bwidth : 0) + self->outer,
  25.310 +                   self->cbwidth_t +
  25.311 +-                  (!self->max_horz || !self->max_vert ? self->bwidth : 0),
  25.312 ++                  (!self->max_horz || !self->max_vert ? self->bwidth : 0) + self->outer,
  25.313 +                   self->cbwidth_r + (!self->max_horz ? self->bwidth : 0),
  25.314 +                   self->cbwidth_b +
  25.315 +                   (!self->max_horz || !self->max_vert ? self->bwidth : 0));
  25.316 +@@ -499,32 +698,32 @@ void frame_adjust_area(ObFrame *self, gboolean moved,
  25.317 +                 titlesides = (!self->max_horz ? ob_rr_theme->grip_width : 0);
  25.318 + 
  25.319 +                 XMoveResizeWindow(obt_display, self->titletop,
  25.320 +-                                  ob_rr_theme->grip_width + self->bwidth, 0,
  25.321 ++                                  ob_rr_theme->grip_width + self->bwidth + self->outer, self->outer,
  25.322 +                                   /* width + bwidth*2 - bwidth*2 - grips*2 */
  25.323 +                                   self->width - ob_rr_theme->grip_width * 2,
  25.324 +                                   self->bwidth);
  25.325 +                 XMoveResizeWindow(obt_display, self->titletopleft,
  25.326 +-                                  0, 0,
  25.327 ++                                  self->outer, self->outer,
  25.328 +                                   ob_rr_theme->grip_width + self->bwidth,
  25.329 +                                   self->bwidth);
  25.330 +                 XMoveResizeWindow(obt_display, self->titletopright,
  25.331 +                                   self->client->area.width +
  25.332 +                                   self->size.left + self->size.right -
  25.333 +                                   ob_rr_theme->grip_width - self->bwidth,
  25.334 +-                                  0,
  25.335 ++                                  self->outer,
  25.336 +                                   ob_rr_theme->grip_width + self->bwidth,
  25.337 +                                   self->bwidth);
  25.338 + 
  25.339 +                 if (titlesides > 0) {
  25.340 +                     XMoveResizeWindow(obt_display, self->titleleft,
  25.341 +-                                      0, self->bwidth,
  25.342 ++                                      self->outer, self->bwidth + self->outer,
  25.343 +                                       self->bwidth,
  25.344 +                                       titlesides);
  25.345 +                     XMoveResizeWindow(obt_display, self->titleright,
  25.346 +                                       self->client->area.width +
  25.347 +                                       self->size.left + self->size.right -
  25.348 +                                       self->bwidth,
  25.349 +-                                      self->bwidth,
  25.350 ++                                      self->bwidth + self->outer,
  25.351 +                                       self->bwidth,
  25.352 +                                       titlesides);
  25.353 + 
  25.354 +@@ -541,8 +740,8 @@ void frame_adjust_area(ObFrame *self, gboolean moved,
  25.355 + 
  25.356 +                 if (self->decorations & OB_FRAME_DECOR_TITLEBAR) {
  25.357 +                     XMoveResizeWindow(obt_display, self->titlebottom,
  25.358 +-                                      (self->max_horz ? 0 : self->bwidth),
  25.359 +-                                      ob_rr_theme->title_height + self->bwidth,
  25.360 ++                                      (self->max_horz ? 0 : self->bwidth) + self->outer,
  25.361 ++                                      ob_rr_theme->title_height + self->bwidth + self->outer,
  25.362 +                                       self->width,
  25.363 +                                       self->bwidth);
  25.364 + 
  25.365 +@@ -561,8 +760,8 @@ void frame_adjust_area(ObFrame *self, gboolean moved,
  25.366 + 
  25.367 +             if (self->decorations & OB_FRAME_DECOR_TITLEBAR) {
  25.368 +                 XMoveResizeWindow(obt_display, self->title,
  25.369 +-                                  (self->max_horz ? 0 : self->bwidth),
  25.370 +-                                  self->bwidth,
  25.371 ++                                  (self->max_horz ? 0 : self->bwidth) + self->outer,
  25.372 ++                                  self->bwidth + self->outer,
  25.373 +                                   self->width, ob_rr_theme->title_height);
  25.374 + 
  25.375 +                 XMapWindow(obt_display, self->title);
  25.376 +@@ -607,7 +806,7 @@ void frame_adjust_area(ObFrame *self, gboolean moved,
  25.377 +             if (self->bwidth && self->size.bottom) {
  25.378 +                 XMoveResizeWindow(obt_display, self->handlebottom,
  25.379 +                                   ob_rr_theme->grip_width +
  25.380 +-                                  self->bwidth + sidebwidth,
  25.381 ++                                  self->bwidth + sidebwidth + self->outer,
  25.382 +                                   self->size.top + self->client->area.height +
  25.383 +                                   self->size.bottom - self->bwidth,
  25.384 +                                   self->width - (ob_rr_theme->grip_width +
  25.385 +@@ -617,7 +816,7 @@ void frame_adjust_area(ObFrame *self, gboolean moved,
  25.386 + 
  25.387 +                 if (sidebwidth) {
  25.388 +                     XMoveResizeWindow(obt_display, self->lgripleft,
  25.389 +-                                      0,
  25.390 ++                                      self->outer,
  25.391 +                                       self->size.top +
  25.392 +                                       self->client->area.height +
  25.393 +                                       self->size.bottom -
  25.394 +@@ -651,7 +850,7 @@ void frame_adjust_area(ObFrame *self, gboolean moved,
  25.395 +                 }
  25.396 + 
  25.397 +                 XMoveResizeWindow(obt_display, self->lgripbottom,
  25.398 +-                                  sidebwidth,
  25.399 ++                                  sidebwidth + self->outer,
  25.400 +                                   self->size.top + self->client->area.height +
  25.401 +                                   self->size.bottom - self->bwidth,
  25.402 +                                   ob_rr_theme->grip_width + self->bwidth,
  25.403 +@@ -674,7 +873,7 @@ void frame_adjust_area(ObFrame *self, gboolean moved,
  25.404 +                 {
  25.405 +                     XMoveResizeWindow(obt_display, self->handletop,
  25.406 +                                       ob_rr_theme->grip_width +
  25.407 +-                                      self->bwidth + sidebwidth,
  25.408 ++                                      self->bwidth + sidebwidth + self->outer,
  25.409 +                                       FRAME_HANDLE_Y(self),
  25.410 +                                       self->width - (ob_rr_theme->grip_width +
  25.411 +                                                      sidebwidth) * 2,
  25.412 +@@ -696,7 +895,7 @@ void frame_adjust_area(ObFrame *self, gboolean moved,
  25.413 +                                           ob_rr_theme->handle_height);
  25.414 + 
  25.415 +                         XMoveResizeWindow(obt_display, self->lgriptop,
  25.416 +-                                          sidebwidth,
  25.417 ++                                          sidebwidth + self->outer,
  25.418 +                                           FRAME_HANDLE_Y(self),
  25.419 +                                           ob_rr_theme->grip_width +
  25.420 +                                           self->bwidth,
  25.421 +@@ -748,7 +947,7 @@ void frame_adjust_area(ObFrame *self, gboolean moved,
  25.422 +                 ob_rr_theme->handle_height > 0)
  25.423 +             {
  25.424 +                 XMoveResizeWindow(obt_display, self->handle,
  25.425 +-                                  sidebwidth,
  25.426 ++                                  sidebwidth + self->outer,
  25.427 +                                   FRAME_HANDLE_Y(self) + self->bwidth,
  25.428 +                                   self->width, ob_rr_theme->handle_height);
  25.429 +                 XMapWindow(obt_display, self->handle);
  25.430 +@@ -782,7 +981,7 @@ void frame_adjust_area(ObFrame *self, gboolean moved,
  25.431 +                  self->size.bottom) > ob_rr_theme->grip_width * 2)
  25.432 +             {
  25.433 +                 XMoveResizeWindow(obt_display, self->left,
  25.434 +-                                  0,
  25.435 ++                                  self->outer,
  25.436 +                                   self->bwidth + ob_rr_theme->grip_width,
  25.437 +                                   self->bwidth,
  25.438 +                                   self->client->area.height +
  25.439 +@@ -799,7 +998,7 @@ void frame_adjust_area(ObFrame *self, gboolean moved,
  25.440 +             {
  25.441 +                 XMoveResizeWindow(obt_display, self->right,
  25.442 +                                   self->client->area.width + self->cbwidth_l +
  25.443 +-                                  self->cbwidth_r + self->bwidth,
  25.444 ++                                  self->cbwidth_r + self->bwidth + self->outer,
  25.445 +                                   self->bwidth + ob_rr_theme->grip_width,
  25.446 +                                   self->bwidth,
  25.447 +                                   self->client->area.height +
  25.448 +@@ -810,6 +1009,274 @@ void frame_adjust_area(ObFrame *self, gboolean moved,
  25.449 +             } else
  25.450 +                 XUnmapWindow(obt_display, self->right);
  25.451 + 
  25.452 ++            if (self->decorations & OB_FRAME_DECOR_TITLEBAR && self->outer)
  25.453 ++            {
  25.454 ++                int ww = self->width + self->outer * 2;
  25.455 ++                int th = ob_rr_theme->title_height + self->bwidth * 2;
  25.456 ++                int eh = self->client->area.height + self->cbwidth_t + self->cbwidth_b + self->bwidth;
  25.457 ++                int wh = th + eh + self->outer * 2;
  25.458 ++
  25.459 ++                XMoveResizeWindow (obt_display, self->edgetop,
  25.460 ++                                  th,
  25.461 ++                                  0,
  25.462 ++                                  ww - (th * 2),
  25.463 ++                                  1);
  25.464 ++                XMapWindow (obt_display, self->edgetop);
  25.465 ++
  25.466 ++                XMoveResizeWindow (obt_display, self->edgetopleft,
  25.467 ++                                  0,
  25.468 ++                                  0,
  25.469 ++                                  th,
  25.470 ++                                  1);
  25.471 ++                XMapWindow (obt_display, self->edgetopleft);
  25.472 ++
  25.473 ++                XMoveResizeWindow (obt_display, self->edgetopright,
  25.474 ++                                  ww - th,
  25.475 ++                                  0,
  25.476 ++                                  th,
  25.477 ++                                  1);
  25.478 ++                XMapWindow (obt_display, self->edgetopright);
  25.479 ++
  25.480 ++                XMoveResizeWindow (obt_display, self->outertop,
  25.481 ++                                  th,
  25.482 ++                                  1,
  25.483 ++                                  ww - (th * 2),
  25.484 ++                                  self->outer - 1);
  25.485 ++                XMapWindow (obt_display, self->outertop);
  25.486 ++
  25.487 ++                XMoveResizeWindow (obt_display, self->outertopleft,
  25.488 ++                                  0,
  25.489 ++                                  1,
  25.490 ++                                  th,
  25.491 ++                                  self->outer - 1);
  25.492 ++                XMapWindow (obt_display, self->outertopleft);
  25.493 ++
  25.494 ++                XMoveResizeWindow (obt_display, self->outertopright,
  25.495 ++                                  ww - th,
  25.496 ++                                  1,
  25.497 ++                                  th,
  25.498 ++                                  self->outer - 1);
  25.499 ++                XMapWindow (obt_display, self->outertopright);
  25.500 ++
  25.501 ++                XMoveResizeWindow (obt_display, self->edgelefttop,
  25.502 ++                                  0,
  25.503 ++                                  self->outer,
  25.504 ++                                  1,
  25.505 ++                                  th);
  25.506 ++                XMapWindow (obt_display, self->edgelefttop);
  25.507 ++
  25.508 ++                XMoveResizeWindow (obt_display, self->outerlefttop,
  25.509 ++                                  1,
  25.510 ++                                  self->outer,
  25.511 ++                                  self->outer - 1,
  25.512 ++                                  th);
  25.513 ++                XMapWindow (obt_display, self->outerlefttop);
  25.514 ++
  25.515 ++                XMoveResizeWindow (obt_display, self->edgerighttop,
  25.516 ++                                  ww - 1,
  25.517 ++                                  self->outer,
  25.518 ++                                  1,
  25.519 ++                                  th);
  25.520 ++                XMapWindow (obt_display, self->edgerighttop);
  25.521 ++
  25.522 ++                XMoveResizeWindow (obt_display, self->outerrighttop,
  25.523 ++                                  ww - self->outer,
  25.524 ++                                  self->outer,
  25.525 ++                                  self->outer - 1,
  25.526 ++                                  th);
  25.527 ++                XMapWindow (obt_display, self->outerrighttop);
  25.528 ++
  25.529 ++                XMoveResizeWindow (obt_display, self->edgeleft,
  25.530 ++                                  0,
  25.531 ++                                  th + self->outer,
  25.532 ++                                  1,
  25.533 ++                                  eh - th);
  25.534 ++                XMapWindow (obt_display, self->edgeleft);
  25.535 ++
  25.536 ++                XMoveResizeWindow (obt_display, self->edgeleftbottom,
  25.537 ++                                  0,
  25.538 ++                                  eh + self->outer,
  25.539 ++                                  1,
  25.540 ++                                  th);
  25.541 ++                XMapWindow (obt_display, self->edgeleftbottom);
  25.542 ++
  25.543 ++                XMoveResizeWindow (obt_display, self->outerleft,
  25.544 ++                                  1,
  25.545 ++                                  th + self->outer,
  25.546 ++                                  self->outer - 1,
  25.547 ++                                  eh - th);
  25.548 ++                XMapWindow (obt_display, self->outerleft);
  25.549 ++
  25.550 ++                XMoveResizeWindow (obt_display, self->outerleftbottom,
  25.551 ++                                  1,
  25.552 ++                                  eh + self->outer,
  25.553 ++                                  self->outer - 1,
  25.554 ++                                  th);
  25.555 ++                XMapWindow (obt_display, self->outerleftbottom);
  25.556 ++
  25.557 ++                XMoveResizeWindow (obt_display, self->edgeright,
  25.558 ++                                  ww - 1,
  25.559 ++                                  th + self->outer,
  25.560 ++                                  1,
  25.561 ++                                  eh - th);
  25.562 ++                XMapWindow (obt_display, self->edgeright);
  25.563 ++
  25.564 ++                XMoveResizeWindow (obt_display, self->edgerightbottom,
  25.565 ++                                  ww - 1,
  25.566 ++                                  eh + self->outer,
  25.567 ++                                  1,
  25.568 ++                                  th);
  25.569 ++                XMapWindow (obt_display, self->edgerightbottom);
  25.570 ++
  25.571 ++                XMoveResizeWindow (obt_display, self->outerright,
  25.572 ++                                  ww - self->outer,
  25.573 ++                                  th + self->outer,
  25.574 ++                                  self->outer - 1,
  25.575 ++                                  eh - th);
  25.576 ++                XMapWindow (obt_display, self->outerright);
  25.577 ++
  25.578 ++                XMoveResizeWindow (obt_display, self->outerrightbottom,
  25.579 ++                                  ww - self->outer,
  25.580 ++                                  eh + self->outer,
  25.581 ++                                  self->outer - 1,
  25.582 ++                                  th);
  25.583 ++                XMapWindow (obt_display, self->outerrightbottom);
  25.584 ++
  25.585 ++                XMoveResizeWindow (obt_display, self->edgebottom,
  25.586 ++                                  th,
  25.587 ++                                  wh - 1,
  25.588 ++                                  ww - (th * 2),
  25.589 ++                                  1);
  25.590 ++                XMapWindow (obt_display, self->edgebottom);
  25.591 ++
  25.592 ++                XMoveResizeWindow (obt_display, self->edgebottomleft,
  25.593 ++                                  0,
  25.594 ++                                  wh - 1,
  25.595 ++                                  th,
  25.596 ++                                  1);
  25.597 ++                XMapWindow (obt_display, self->edgebottomleft);
  25.598 ++
  25.599 ++                XMoveResizeWindow (obt_display, self->edgebottomright,
  25.600 ++                                  ww - th,
  25.601 ++                                  wh - 1,
  25.602 ++                                  th,
  25.603 ++                                  1);
  25.604 ++                XMapWindow (obt_display, self->edgebottomright);
  25.605 ++
  25.606 ++                XMoveResizeWindow (obt_display, self->outerbottom,
  25.607 ++                                  th,
  25.608 ++                                  wh - self->outer,
  25.609 ++                                  ww - (th * 2),
  25.610 ++                                  self->outer - 1);
  25.611 ++                XMapWindow (obt_display, self->outerbottom);
  25.612 ++
  25.613 ++                XMoveResizeWindow (obt_display, self->outerbottomleft,
  25.614 ++                                  0,
  25.615 ++                                  wh - self->outer,
  25.616 ++                                  th,
  25.617 ++                                  self->outer - 1);
  25.618 ++                XMapWindow (obt_display, self->outerbottomleft);
  25.619 ++
  25.620 ++                XMoveResizeWindow (obt_display, self->outerbottomright,
  25.621 ++                                  ww - th,
  25.622 ++                                  wh - self->outer,
  25.623 ++                                  th,
  25.624 ++                                  self->outer - 1);
  25.625 ++                XMapWindow (obt_display, self->outerbottomright);
  25.626 ++
  25.627 ++                XMoveResizeWindow (obt_display, self->ce_tl_t,
  25.628 ++                                  2,
  25.629 ++                                  1,
  25.630 ++                                  2,
  25.631 ++                                  1);
  25.632 ++                XMapWindow (obt_display, self->ce_tl_t);
  25.633 ++
  25.634 ++                XMoveResizeWindow (obt_display, self->ce_tl_l,
  25.635 ++                                  1,
  25.636 ++                                  2,
  25.637 ++                                  1,
  25.638 ++                                  2);
  25.639 ++                XMapWindow (obt_display, self->ce_tl_l);
  25.640 ++
  25.641 ++                XMoveResizeWindow (obt_display, self->ce_tr_t,
  25.642 ++                                  ww - 4,
  25.643 ++                                  1,
  25.644 ++                                  2,
  25.645 ++                                  1);
  25.646 ++                XMapWindow (obt_display, self->ce_tr_t);
  25.647 ++
  25.648 ++                XMoveResizeWindow (obt_display, self->ce_tr_r,
  25.649 ++                                  ww - 2,
  25.650 ++                                  2,
  25.651 ++                                  1,
  25.652 ++                                  2);
  25.653 ++                XMapWindow (obt_display, self->ce_tr_r);
  25.654 ++
  25.655 ++                XMoveResizeWindow (obt_display, self->ce_bl_b,
  25.656 ++                                  2,
  25.657 ++                                  wh - 2,
  25.658 ++                                  2,
  25.659 ++                                  1);
  25.660 ++                XMapWindow (obt_display, self->ce_bl_b);
  25.661 ++
  25.662 ++                XMoveResizeWindow (obt_display, self->ce_bl_l,
  25.663 ++                                  1,
  25.664 ++                                  wh - 4,
  25.665 ++                                  1,
  25.666 ++                                  2);
  25.667 ++                XMapWindow (obt_display, self->ce_bl_l);
  25.668 ++
  25.669 ++                XMoveResizeWindow (obt_display, self->ce_br_b,
  25.670 ++                                  ww - 4,
  25.671 ++                                  wh - 2,
  25.672 ++                                  2,
  25.673 ++                                  1);
  25.674 ++                XMapWindow (obt_display, self->ce_br_b);
  25.675 ++
  25.676 ++                XMoveResizeWindow (obt_display, self->ce_br_r,
  25.677 ++                                  ww - 2,
  25.678 ++                                  wh - 4,
  25.679 ++                                  1,
  25.680 ++                                  2);
  25.681 ++                XMapWindow (obt_display, self->ce_br_r);
  25.682 ++
  25.683 ++           }
  25.684 ++            else
  25.685 ++            {
  25.686 ++                XUnmapWindow (obt_display, self->outertop);
  25.687 ++                XUnmapWindow (obt_display, self->outerlefttop);
  25.688 ++                XUnmapWindow (obt_display, self->outerrighttop);
  25.689 ++                XUnmapWindow (obt_display, self->outerleftbottom);
  25.690 ++                XUnmapWindow (obt_display, self->outerrightbottom);
  25.691 ++                XUnmapWindow (obt_display, self->outertopleft);
  25.692 ++                XUnmapWindow (obt_display, self->outertopright);
  25.693 ++                XUnmapWindow (obt_display, self->outerbottomleft);
  25.694 ++                XUnmapWindow (obt_display, self->outerbottomright);
  25.695 ++                XUnmapWindow (obt_display, self->outerleft);
  25.696 ++                XUnmapWindow (obt_display, self->outerright);
  25.697 ++                XUnmapWindow (obt_display, self->outerbottom);
  25.698 ++                XUnmapWindow (obt_display, self->edgetop);
  25.699 ++                XUnmapWindow (obt_display, self->edgelefttop);
  25.700 ++                XUnmapWindow (obt_display, self->edgerighttop);
  25.701 ++                XUnmapWindow (obt_display, self->edgeleftbottom);
  25.702 ++                XUnmapWindow (obt_display, self->edgerightbottom);
  25.703 ++                XUnmapWindow (obt_display, self->edgetopleft);
  25.704 ++                XUnmapWindow (obt_display, self->edgetopright);
  25.705 ++                XUnmapWindow (obt_display, self->edgebottomleft);
  25.706 ++                XUnmapWindow (obt_display, self->edgebottomright);
  25.707 ++                XUnmapWindow (obt_display, self->edgeleft);
  25.708 ++                XUnmapWindow (obt_display, self->edgeright);
  25.709 ++                XUnmapWindow (obt_display, self->edgebottom);
  25.710 ++                XUnmapWindow (obt_display, self->ce_tl_t);
  25.711 ++                XUnmapWindow (obt_display, self->ce_tl_l);
  25.712 ++                XUnmapWindow (obt_display, self->ce_tr_t);
  25.713 ++                XUnmapWindow (obt_display, self->ce_tr_r);
  25.714 ++                XUnmapWindow (obt_display, self->ce_bl_b);
  25.715 ++                XUnmapWindow (obt_display, self->ce_bl_l);
  25.716 ++                XUnmapWindow (obt_display, self->ce_br_b);
  25.717 ++                XUnmapWindow (obt_display, self->ce_br_r);
  25.718 ++            }
  25.719 ++
  25.720 +             XMoveResizeWindow(obt_display, self->backback,
  25.721 +                               self->size.left, self->size.top,
  25.722 +                               self->client->area.width,
  25.723 +@@ -834,6 +1301,66 @@ void frame_adjust_area(ObFrame *self, gboolean moved,
  25.724 +         frame_client_gravity(self, &self->area.x, &self->area.y);
  25.725 +     }
  25.726 + 
  25.727 ++    /* the invisible handles - can only set after applying gravity */
  25.728 ++    if (config_theme_invhandles && !moving)
  25.729 ++    {
  25.730 ++        XMoveResizeWindow(obt_display, self->invleft,
  25.731 ++          self->area.x - INV_WIDTH,
  25.732 ++          self->area.y,
  25.733 ++          INV_WIDTH,
  25.734 ++          self->area.height);
  25.735 ++        XMapWindow (obt_display, self->invleft);
  25.736 ++
  25.737 ++        XMoveResizeWindow(obt_display, self->invright,
  25.738 ++          self->area.x + self->area.width,
  25.739 ++          self->area.y,
  25.740 ++          INV_WIDTH,
  25.741 ++          self->area.height);
  25.742 ++        XMapWindow (obt_display, self->invright);
  25.743 ++
  25.744 ++        XMoveResizeWindow(obt_display, self->invtop,
  25.745 ++          self->area.x,
  25.746 ++          self->area.y - INV_WIDTH,
  25.747 ++          self->area.width,
  25.748 ++          INV_WIDTH);
  25.749 ++        XMapWindow (obt_display, self->invtop);
  25.750 ++
  25.751 ++        XMoveResizeWindow(obt_display, self->invbottom,
  25.752 ++          self->area.x,
  25.753 ++          self->area.y + self->area.height,
  25.754 ++          self->area.width,
  25.755 ++          INV_WIDTH);
  25.756 ++        XMapWindow (obt_display, self->invbottom);
  25.757 ++
  25.758 ++        XMoveResizeWindow(obt_display, self->invtl,
  25.759 ++          self->area.x - INV_WIDTH,
  25.760 ++          self->area.y - INV_WIDTH,
  25.761 ++          INV_WIDTH,
  25.762 ++          INV_WIDTH);
  25.763 ++        XMapWindow (obt_display, self->invtl);
  25.764 ++
  25.765 ++        XMoveResizeWindow(obt_display, self->invtr,
  25.766 ++          self->area.x + self->area.width,
  25.767 ++          self->area.y - INV_WIDTH,
  25.768 ++          INV_WIDTH,
  25.769 ++          INV_WIDTH);
  25.770 ++        XMapWindow (obt_display, self->invtr);
  25.771 ++
  25.772 ++        XMoveResizeWindow(obt_display, self->invbl,
  25.773 ++          self->area.x - INV_WIDTH,
  25.774 ++          self->area.y + self->area.height,
  25.775 ++          INV_WIDTH,
  25.776 ++          INV_WIDTH);
  25.777 ++        XMapWindow (obt_display, self->invbl);
  25.778 ++
  25.779 ++        XMoveResizeWindow(obt_display, self->invbr,
  25.780 ++          self->area.x + self->area.width,
  25.781 ++          self->area.y + self->area.height,
  25.782 ++          INV_WIDTH,
  25.783 ++          INV_WIDTH);
  25.784 ++        XMapWindow (obt_display, self->invbr);
  25.785 ++    }
  25.786 ++
  25.787 +     if (!fake) {
  25.788 +         if (!frame_iconify_animating(self))
  25.789 +             /* move and resize the top level frame.
  25.790 +@@ -845,8 +1372,8 @@ void frame_adjust_area(ObFrame *self, gboolean moved,
  25.791 +             XMoveResizeWindow(obt_display, self->window,
  25.792 +                               self->area.x,
  25.793 +                               self->area.y,
  25.794 +-                              self->area.width,
  25.795 +-                              self->area.height);
  25.796 ++                              self->area.width + self->outer,
  25.797 ++                              self->area.height + self->outer);
  25.798 + 
  25.799 +         /* when the client has StaticGravity, it likes to move around.
  25.800 +            also this correctly positions the client when it maps.
  25.801 +@@ -906,11 +1433,17 @@ static void frame_adjust_cursors(ObFrame *self)
  25.802 +                              OB_CURSOR_NORTH : OB_CURSOR_NONE);
  25.803 +         XChangeWindowAttributes(obt_display, self->topresize, CWCursor, &a);
  25.804 +         XChangeWindowAttributes(obt_display, self->titletop, CWCursor, &a);
  25.805 ++        XChangeWindowAttributes(obt_display, self->outertop, CWCursor, &a);
  25.806 ++        XChangeWindowAttributes(obt_display, self->edgetop, CWCursor, &a);
  25.807 ++        XChangeWindowAttributes(obt_display, self->invtop, CWCursor, &a);
  25.808 +         a.cursor = ob_cursor(r && topbot ? OB_CURSOR_SOUTH : OB_CURSOR_NONE);
  25.809 +         XChangeWindowAttributes(obt_display, self->handle, CWCursor, &a);
  25.810 +         XChangeWindowAttributes(obt_display, self->handletop, CWCursor, &a);
  25.811 +         XChangeWindowAttributes(obt_display, self->handlebottom, CWCursor, &a);
  25.812 +         XChangeWindowAttributes(obt_display, self->innerbottom, CWCursor, &a);
  25.813 ++        XChangeWindowAttributes(obt_display, self->outerbottom, CWCursor, &a);
  25.814 ++        XChangeWindowAttributes(obt_display, self->edgebottom, CWCursor, &a);
  25.815 ++        XChangeWindowAttributes(obt_display, self->invbottom, CWCursor, &a);
  25.816 + 
  25.817 +         /* these ones change when shaded */
  25.818 +         a.cursor = ob_cursor(r ? (sh ? OB_CURSOR_WEST : OB_CURSOR_NORTHWEST) :
  25.819 +@@ -919,18 +1452,38 @@ static void frame_adjust_cursors(ObFrame *self)
  25.820 +         XChangeWindowAttributes(obt_display, self->tltresize, CWCursor, &a);
  25.821 +         XChangeWindowAttributes(obt_display, self->tllresize, CWCursor, &a);
  25.822 +         XChangeWindowAttributes(obt_display, self->titletopleft, CWCursor, &a);
  25.823 ++        XChangeWindowAttributes(obt_display, self->edgelefttop, CWCursor, &a);
  25.824 ++        XChangeWindowAttributes(obt_display, self->edgetopleft, CWCursor, &a);
  25.825 ++        XChangeWindowAttributes(obt_display, self->outerlefttop, CWCursor, &a);
  25.826 ++        XChangeWindowAttributes(obt_display, self->outertopleft, CWCursor, &a);
  25.827 ++        XChangeWindowAttributes(obt_display, self->invtl, CWCursor, &a);
  25.828 ++        XChangeWindowAttributes(obt_display, self->ce_tl_t, CWCursor, &a);
  25.829 ++        XChangeWindowAttributes(obt_display, self->ce_tl_l, CWCursor, &a);
  25.830 +         a.cursor = ob_cursor(r ? (sh ? OB_CURSOR_EAST : OB_CURSOR_NORTHEAST) :
  25.831 +                              OB_CURSOR_NONE);
  25.832 +         XChangeWindowAttributes(obt_display, self->titleright, CWCursor, &a);
  25.833 +         XChangeWindowAttributes(obt_display, self->trtresize, CWCursor, &a);
  25.834 +         XChangeWindowAttributes(obt_display, self->trrresize, CWCursor, &a);
  25.835 +         XChangeWindowAttributes(obt_display, self->titletopright, CWCursor,&a);
  25.836 ++        XChangeWindowAttributes(obt_display, self->edgerighttop, CWCursor, &a);
  25.837 ++        XChangeWindowAttributes(obt_display, self->edgetopright, CWCursor, &a);
  25.838 ++        XChangeWindowAttributes(obt_display, self->outerrighttop, CWCursor, &a);
  25.839 ++        XChangeWindowAttributes(obt_display, self->outertopright, CWCursor, &a);
  25.840 ++        XChangeWindowAttributes(obt_display, self->invtr, CWCursor, &a);
  25.841 ++        XChangeWindowAttributes(obt_display, self->ce_tr_t, CWCursor, &a);
  25.842 ++        XChangeWindowAttributes(obt_display, self->ce_tr_r, CWCursor, &a);
  25.843 + 
  25.844 +         /* these ones are pretty static */
  25.845 +         a.cursor = ob_cursor(r ? OB_CURSOR_WEST : OB_CURSOR_NONE);
  25.846 ++        XChangeWindowAttributes(obt_display, self->outerleft, CWCursor, &a);
  25.847 ++        XChangeWindowAttributes(obt_display, self->edgeleft, CWCursor, &a);
  25.848 ++        XChangeWindowAttributes(obt_display, self->invleft, CWCursor, &a);
  25.849 +         XChangeWindowAttributes(obt_display, self->left, CWCursor, &a);
  25.850 +         XChangeWindowAttributes(obt_display, self->innerleft, CWCursor, &a);
  25.851 +         a.cursor = ob_cursor(r ? OB_CURSOR_EAST : OB_CURSOR_NONE);
  25.852 ++        XChangeWindowAttributes(obt_display, self->outerright, CWCursor, &a);
  25.853 ++        XChangeWindowAttributes(obt_display, self->edgeright, CWCursor, &a);
  25.854 ++        XChangeWindowAttributes(obt_display, self->invright, CWCursor, &a);
  25.855 +         XChangeWindowAttributes(obt_display, self->right, CWCursor, &a);
  25.856 +         XChangeWindowAttributes(obt_display, self->innerright, CWCursor, &a);
  25.857 +         a.cursor = ob_cursor(r ? OB_CURSOR_SOUTHWEST : OB_CURSOR_NONE);
  25.858 +@@ -941,6 +1494,13 @@ static void frame_adjust_cursors(ObFrame *self)
  25.859 +         XChangeWindowAttributes(obt_display, self->lgripbottom, CWCursor, &a);
  25.860 +         XChangeWindowAttributes(obt_display, self->innerbll, CWCursor, &a);
  25.861 +         XChangeWindowAttributes(obt_display, self->innerblb, CWCursor, &a);
  25.862 ++        XChangeWindowAttributes(obt_display, self->ce_bl_b, CWCursor, &a);
  25.863 ++        XChangeWindowAttributes(obt_display, self->ce_bl_l, CWCursor, &a);
  25.864 ++        XChangeWindowAttributes(obt_display, self->edgeleftbottom, CWCursor, &a);
  25.865 ++        XChangeWindowAttributes(obt_display, self->edgebottomleft, CWCursor, &a);
  25.866 ++        XChangeWindowAttributes(obt_display, self->outerleftbottom, CWCursor, &a);
  25.867 ++        XChangeWindowAttributes(obt_display, self->outerbottomleft, CWCursor, &a);
  25.868 ++        XChangeWindowAttributes(obt_display, self->invbl, CWCursor, &a);
  25.869 +         a.cursor = ob_cursor(r ? OB_CURSOR_SOUTHEAST : OB_CURSOR_NONE);
  25.870 +         XChangeWindowAttributes(obt_display, self->rgrip, CWCursor, &a);
  25.871 +         XChangeWindowAttributes(obt_display, self->handleright, CWCursor, &a);
  25.872 +@@ -949,6 +1509,13 @@ static void frame_adjust_cursors(ObFrame *self)
  25.873 +         XChangeWindowAttributes(obt_display, self->rgripbottom, CWCursor, &a);
  25.874 +         XChangeWindowAttributes(obt_display, self->innerbrr, CWCursor, &a);
  25.875 +         XChangeWindowAttributes(obt_display, self->innerbrb, CWCursor, &a);
  25.876 ++        XChangeWindowAttributes(obt_display, self->ce_br_b, CWCursor, &a);
  25.877 ++        XChangeWindowAttributes(obt_display, self->ce_br_r, CWCursor, &a);
  25.878 ++        XChangeWindowAttributes(obt_display, self->edgerightbottom, CWCursor, &a);
  25.879 ++        XChangeWindowAttributes(obt_display, self->edgebottomright, CWCursor, &a);
  25.880 ++        XChangeWindowAttributes(obt_display, self->outerrightbottom, CWCursor, &a);
  25.881 ++        XChangeWindowAttributes(obt_display, self->outerbottomright, CWCursor, &a);
  25.882 ++        XChangeWindowAttributes(obt_display, self->invbr, CWCursor, &a);
  25.883 +     }
  25.884 + }
  25.885 + 
  25.886 +@@ -958,6 +1525,8 @@ void frame_adjust_client_area(ObFrame *self)
  25.887 +     XMoveResizeWindow(obt_display, self->backfront, 0, 0,
  25.888 +                       self->client->area.width,
  25.889 +                       self->client->area.height);
  25.890 ++    self->need_render = TRUE;
  25.891 ++    framerender_frame(self);
  25.892 + }
  25.893 + 
  25.894 + void frame_adjust_state(ObFrame *self)
  25.895 +@@ -974,6 +1543,31 @@ void frame_adjust_focus(ObFrame *self, gboolean hilite)
  25.896 +     self->focused = hilite;
  25.897 +     self->need_render = TRUE;
  25.898 +     framerender_frame(self);
  25.899 ++    if (config_theme_invhandles)
  25.900 ++    {
  25.901 ++        if (self->focused)
  25.902 ++        {
  25.903 ++            XMapWindow (obt_display, self->invleft);
  25.904 ++            XMapWindow (obt_display, self->invright);
  25.905 ++            XMapWindow (obt_display, self->invtop);
  25.906 ++            XMapWindow (obt_display, self->invbottom);
  25.907 ++            XMapWindow (obt_display, self->invtl);
  25.908 ++            XMapWindow (obt_display, self->invtr);
  25.909 ++            XMapWindow (obt_display, self->invbl);
  25.910 ++            XMapWindow (obt_display, self->invbr);
  25.911 ++        }
  25.912 ++        else
  25.913 ++        {
  25.914 ++            XUnmapWindow (obt_display, self->invleft);
  25.915 ++            XUnmapWindow (obt_display, self->invright);
  25.916 ++            XUnmapWindow (obt_display, self->invtop);
  25.917 ++            XUnmapWindow (obt_display, self->invbottom);
  25.918 ++            XUnmapWindow (obt_display, self->invtl);
  25.919 ++            XUnmapWindow (obt_display, self->invtr);
  25.920 ++            XUnmapWindow (obt_display, self->invbl);
  25.921 ++            XUnmapWindow (obt_display, self->invbr);
  25.922 ++        }
  25.923 ++    }
  25.924 +     XFlush(obt_display);
  25.925 + }
  25.926 + 
  25.927 +@@ -1058,6 +1652,49 @@ void frame_grab_client(ObFrame *self)
  25.928 +     window_add(&self->rgripright, CLIENT_AS_WINDOW(self->client));
  25.929 +     window_add(&self->rgriptop, CLIENT_AS_WINDOW(self->client));
  25.930 +     window_add(&self->rgripbottom, CLIENT_AS_WINDOW(self->client));
  25.931 ++    window_add(&self->outerleft, CLIENT_AS_WINDOW(self->client));
  25.932 ++    window_add(&self->outerright, CLIENT_AS_WINDOW(self->client));
  25.933 ++    window_add(&self->outertop, CLIENT_AS_WINDOW(self->client));
  25.934 ++    window_add(&self->outerbottom, CLIENT_AS_WINDOW(self->client));
  25.935 ++    window_add(&self->outerlefttop, CLIENT_AS_WINDOW(self->client));
  25.936 ++    window_add(&self->outerrighttop, CLIENT_AS_WINDOW(self->client));
  25.937 ++    window_add(&self->outerleftbottom, CLIENT_AS_WINDOW(self->client));
  25.938 ++    window_add(&self->outerrightbottom, CLIENT_AS_WINDOW(self->client));
  25.939 ++    window_add(&self->outertopleft, CLIENT_AS_WINDOW(self->client));
  25.940 ++    window_add(&self->outertopright, CLIENT_AS_WINDOW(self->client));
  25.941 ++    window_add(&self->outerbottomleft, CLIENT_AS_WINDOW(self->client));
  25.942 ++    window_add(&self->outerbottomright, CLIENT_AS_WINDOW(self->client));
  25.943 ++    window_add(&self->edgeleft, CLIENT_AS_WINDOW(self->client));
  25.944 ++    window_add(&self->edgeright, CLIENT_AS_WINDOW(self->client));
  25.945 ++    window_add(&self->edgetop, CLIENT_AS_WINDOW(self->client));
  25.946 ++    window_add(&self->edgebottom, CLIENT_AS_WINDOW(self->client));
  25.947 ++    window_add(&self->edgelefttop, CLIENT_AS_WINDOW(self->client));
  25.948 ++    window_add(&self->edgerighttop, CLIENT_AS_WINDOW(self->client));
  25.949 ++    window_add(&self->edgeleftbottom, CLIENT_AS_WINDOW(self->client));
  25.950 ++    window_add(&self->edgerightbottom, CLIENT_AS_WINDOW(self->client));
  25.951 ++    window_add(&self->edgetopleft, CLIENT_AS_WINDOW(self->client));
  25.952 ++    window_add(&self->edgetopright, CLIENT_AS_WINDOW(self->client));
  25.953 ++    window_add(&self->edgebottomleft, CLIENT_AS_WINDOW(self->client));
  25.954 ++    window_add(&self->edgebottomright, CLIENT_AS_WINDOW(self->client));
  25.955 ++    window_add(&self->ce_tl_t, CLIENT_AS_WINDOW(self->client));
  25.956 ++    window_add(&self->ce_tl_l, CLIENT_AS_WINDOW(self->client));
  25.957 ++    window_add(&self->ce_tr_t, CLIENT_AS_WINDOW(self->client));
  25.958 ++    window_add(&self->ce_tr_r, CLIENT_AS_WINDOW(self->client));
  25.959 ++    window_add(&self->ce_bl_b, CLIENT_AS_WINDOW(self->client));
  25.960 ++    window_add(&self->ce_bl_l, CLIENT_AS_WINDOW(self->client));
  25.961 ++    window_add(&self->ce_br_b, CLIENT_AS_WINDOW(self->client));
  25.962 ++    window_add(&self->ce_br_r, CLIENT_AS_WINDOW(self->client));
  25.963 ++    if (config_theme_invhandles)
  25.964 ++    {
  25.965 ++        window_add(&self->invleft, CLIENT_AS_WINDOW(self->client));
  25.966 ++        window_add(&self->invright, CLIENT_AS_WINDOW(self->client));
  25.967 ++        window_add(&self->invtop, CLIENT_AS_WINDOW(self->client));
  25.968 ++        window_add(&self->invbottom, CLIENT_AS_WINDOW(self->client));
  25.969 ++        window_add(&self->invtl, CLIENT_AS_WINDOW(self->client));
  25.970 ++        window_add(&self->invtr, CLIENT_AS_WINDOW(self->client));
  25.971 ++        window_add(&self->invbl, CLIENT_AS_WINDOW(self->client));
  25.972 ++        window_add(&self->invbr, CLIENT_AS_WINDOW(self->client));
  25.973 ++    }
  25.974 + }
  25.975 + 
  25.976 + static gboolean find_reparent(XEvent *e, gpointer data)
  25.977 +@@ -1130,6 +1767,49 @@ void frame_release_client(ObFrame *self)
  25.978 +     window_remove(self->rgripright);
  25.979 +     window_remove(self->rgriptop);
  25.980 +     window_remove(self->rgripbottom);
  25.981 ++    window_remove(self->outerleft);
  25.982 ++    window_remove(self->outerright);
  25.983 ++    window_remove(self->outertop);
  25.984 ++    window_remove(self->outerbottom);
  25.985 ++    window_remove(self->outerlefttop);
  25.986 ++    window_remove(self->outerrighttop);
  25.987 ++    window_remove(self->outerleftbottom);
  25.988 ++    window_remove(self->outerrightbottom);
  25.989 ++    window_remove(self->outertopleft);
  25.990 ++    window_remove(self->outertopright);
  25.991 ++    window_remove(self->outerbottomleft);
  25.992 ++    window_remove(self->outerbottomright);
  25.993 ++    window_remove(self->edgeleft);
  25.994 ++    window_remove(self->edgeright);
  25.995 ++    window_remove(self->edgetop);
  25.996 ++    window_remove(self->edgebottom);
  25.997 ++    window_remove(self->edgelefttop);
  25.998 ++    window_remove(self->edgerighttop);
  25.999 ++    window_remove(self->edgeleftbottom);
 25.1000 ++    window_remove(self->edgerightbottom);
 25.1001 ++    window_remove(self->edgetopleft);
 25.1002 ++    window_remove(self->edgetopright);
 25.1003 ++    window_remove(self->edgebottomleft);
 25.1004 ++    window_remove(self->edgebottomright);
 25.1005 ++    window_remove(self->ce_tl_t);
 25.1006 ++    window_remove(self->ce_tl_l);
 25.1007 ++    window_remove(self->ce_tr_t);
 25.1008 ++    window_remove(self->ce_tr_r);
 25.1009 ++    window_remove(self->ce_bl_b);
 25.1010 ++    window_remove(self->ce_bl_l);
 25.1011 ++    window_remove(self->ce_br_b);
 25.1012 ++    window_remove(self->ce_br_r);
 25.1013 ++    if (config_theme_invhandles)
 25.1014 ++    {
 25.1015 ++        window_remove(self->invleft);
 25.1016 ++        window_remove(self->invright);
 25.1017 ++        window_remove(self->invtop);
 25.1018 ++        window_remove(self->invbottom);
 25.1019 ++        window_remove(self->invtl);
 25.1020 ++        window_remove(self->invtr);
 25.1021 ++        window_remove(self->invbl);
 25.1022 ++        window_remove(self->invbr);
 25.1023 ++    }
 25.1024 + 
 25.1025 +     if (self->flash_timer) g_source_remove(self->flash_timer);
 25.1026 + }
 25.1027 +@@ -1188,6 +1868,8 @@ static void layout_title(ObFrame *self)
 25.1028 +     /* position of the rightmost button */
 25.1029 +     const gint right = self->width;
 25.1030 + 
 25.1031 ++    int leftoff, rightoff;
 25.1032 ++
 25.1033 +     /* turn them all off */
 25.1034 +     self->icon_on = self->desk_on = self->shade_on = self->iconify_on =
 25.1035 +         self->max_on = self->close_on = self->label_on = FALSE;
 25.1036 +@@ -1220,7 +1902,9 @@ static void layout_title(ObFrame *self)
 25.1037 +                 if (i > 0) {
 25.1038 +                     self->label_on = TRUE;
 25.1039 +                     self->label_x = x;
 25.1040 ++                    leftoff = x - left;
 25.1041 +                 }
 25.1042 ++                else rightoff = right - x;
 25.1043 +                 break; /* break the for loop, do other side of label */
 25.1044 +             } else if (*lc == 'N') {
 25.1045 +                 if (firstcon) *firstcon = OB_FRAME_CONTEXT_ICON;
 25.1046 +@@ -1247,6 +1931,20 @@ static void layout_title(ObFrame *self)
 25.1047 +         }
 25.1048 +     }
 25.1049 + 
 25.1050 ++    /* centre text... */
 25.1051 ++    if (ob_rr_theme->a_focused_label->texture[0].data.text.justify == RR_JUSTIFY_CENTER)
 25.1052 ++    {
 25.1053 ++        if (leftoff > rightoff)
 25.1054 ++        {
 25.1055 ++            self->label_width -= (leftoff - rightoff);
 25.1056 ++        }
 25.1057 ++        else if (rightoff > leftoff)
 25.1058 ++        {
 25.1059 ++            self->label_x += (rightoff - leftoff);
 25.1060 ++            self->label_width -= (rightoff - leftoff);
 25.1061 ++        }
 25.1062 ++    }
 25.1063 ++
 25.1064 +     /* position and map the elements */
 25.1065 +     if (self->icon_on) {
 25.1066 +         XMapWindow(obt_display, self->icon);
 25.1067 +@@ -1484,16 +2182,30 @@ ObFrameContext frame_context(ObClient *client, Window win, gint x, gint y)
 25.1068 +     if (win == self->handle)            return OB_FRAME_CONTEXT_BOTTOM;
 25.1069 +     if (win == self->handletop)         return OB_FRAME_CONTEXT_BOTTOM;
 25.1070 +     if (win == self->handlebottom)      return OB_FRAME_CONTEXT_BOTTOM;
 25.1071 ++    if (win == self->outerbottom)       return OB_FRAME_CONTEXT_BOTTOM;
 25.1072 ++    if (win == self->edgebottom)        return OB_FRAME_CONTEXT_BOTTOM;
 25.1073 +     if (win == self->handleleft)        return OB_FRAME_CONTEXT_BLCORNER;
 25.1074 +     if (win == self->lgrip)             return OB_FRAME_CONTEXT_BLCORNER;
 25.1075 +     if (win == self->lgripleft)         return OB_FRAME_CONTEXT_BLCORNER;
 25.1076 +     if (win == self->lgriptop)          return OB_FRAME_CONTEXT_BLCORNER;
 25.1077 +     if (win == self->lgripbottom)       return OB_FRAME_CONTEXT_BLCORNER;
 25.1078 ++    if (win == self->ce_bl_b)           return OB_FRAME_CONTEXT_BLCORNER;
 25.1079 ++    if (win == self->ce_bl_l)           return OB_FRAME_CONTEXT_BLCORNER;
 25.1080 ++    if (win == self->outerleftbottom)   return OB_FRAME_CONTEXT_BLCORNER;
 25.1081 ++    if (win == self->edgeleftbottom)    return OB_FRAME_CONTEXT_BLCORNER;
 25.1082 ++    if (win == self->outerbottomleft)   return OB_FRAME_CONTEXT_BLCORNER;
 25.1083 ++    if (win == self->edgebottomleft)    return OB_FRAME_CONTEXT_BLCORNER;
 25.1084 +     if (win == self->handleright)       return OB_FRAME_CONTEXT_BRCORNER;
 25.1085 +     if (win == self->rgrip)             return OB_FRAME_CONTEXT_BRCORNER;
 25.1086 +     if (win == self->rgripright)        return OB_FRAME_CONTEXT_BRCORNER;
 25.1087 +     if (win == self->rgriptop)          return OB_FRAME_CONTEXT_BRCORNER;
 25.1088 +     if (win == self->rgripbottom)       return OB_FRAME_CONTEXT_BRCORNER;
 25.1089 ++    if (win == self->ce_br_b)           return OB_FRAME_CONTEXT_BRCORNER;
 25.1090 ++    if (win == self->ce_br_r)           return OB_FRAME_CONTEXT_BRCORNER;
 25.1091 ++    if (win == self->outerrightbottom)  return OB_FRAME_CONTEXT_BRCORNER;
 25.1092 ++    if (win == self->edgerightbottom)   return OB_FRAME_CONTEXT_BRCORNER;
 25.1093 ++    if (win == self->outerbottomright)  return OB_FRAME_CONTEXT_BRCORNER;
 25.1094 ++    if (win == self->edgebottomright)   return OB_FRAME_CONTEXT_BRCORNER;
 25.1095 +     if (win == self->title)             return OB_FRAME_CONTEXT_TITLEBAR;
 25.1096 +     if (win == self->titlebottom)       return OB_FRAME_CONTEXT_TITLEBAR;
 25.1097 +     if (win == self->titleleft)         return OB_FRAME_CONTEXT_TLCORNER;
 25.1098 +@@ -1502,26 +2214,56 @@ ObFrameContext frame_context(ObClient *client, Window win, gint x, gint y)
 25.1099 +     if (win == self->titletopright)     return OB_FRAME_CONTEXT_TRCORNER;
 25.1100 +     if (win == self->titletop)          return OB_FRAME_CONTEXT_TOP;
 25.1101 +     if (win == self->topresize)         return OB_FRAME_CONTEXT_TOP;
 25.1102 ++    if (win == self->outertop)          return OB_FRAME_CONTEXT_TOP;
 25.1103 ++    if (win == self->edgetop)           return OB_FRAME_CONTEXT_TOP;
 25.1104 +     if (win == self->tltresize)         return OB_FRAME_CONTEXT_TLCORNER;
 25.1105 +     if (win == self->tllresize)         return OB_FRAME_CONTEXT_TLCORNER;
 25.1106 ++    if (win == self->ce_tl_t)           return OB_FRAME_CONTEXT_TLCORNER;
 25.1107 ++    if (win == self->ce_tl_l)           return OB_FRAME_CONTEXT_TLCORNER;
 25.1108 ++    if (win == self->outerlefttop)      return OB_FRAME_CONTEXT_TLCORNER;
 25.1109 ++    if (win == self->edgelefttop)       return OB_FRAME_CONTEXT_TLCORNER;
 25.1110 ++    if (win == self->outertopleft)      return OB_FRAME_CONTEXT_TLCORNER;
 25.1111 ++    if (win == self->edgetopleft)       return OB_FRAME_CONTEXT_TLCORNER;
 25.1112 +     if (win == self->trtresize)         return OB_FRAME_CONTEXT_TRCORNER;
 25.1113 +     if (win == self->trrresize)         return OB_FRAME_CONTEXT_TRCORNER;
 25.1114 ++    if (win == self->ce_tr_t)           return OB_FRAME_CONTEXT_TRCORNER;
 25.1115 ++    if (win == self->ce_tr_r)           return OB_FRAME_CONTEXT_TRCORNER;
 25.1116 ++    if (win == self->outerrighttop)     return OB_FRAME_CONTEXT_TRCORNER;
 25.1117 ++    if (win == self->edgerighttop)      return OB_FRAME_CONTEXT_TRCORNER;
 25.1118 ++    if (win == self->outertopright)     return OB_FRAME_CONTEXT_TRCORNER;
 25.1119 ++    if (win == self->edgetopright)      return OB_FRAME_CONTEXT_TRCORNER;
 25.1120 +     if (win == self->left)              return OB_FRAME_CONTEXT_LEFT;
 25.1121 ++    if (win == self->outerleft)         return OB_FRAME_CONTEXT_LEFT;
 25.1122 ++    if (win == self->edgeleft)          return OB_FRAME_CONTEXT_LEFT;
 25.1123 +     if (win == self->right)             return OB_FRAME_CONTEXT_RIGHT;
 25.1124 ++    if (win == self->outerright)        return OB_FRAME_CONTEXT_RIGHT;
 25.1125 ++    if (win == self->edgeright)         return OB_FRAME_CONTEXT_RIGHT;
 25.1126 +     if (win == self->innertop)          return OB_FRAME_CONTEXT_TITLEBAR;
 25.1127 +     if (win == self->innerleft)         return OB_FRAME_CONTEXT_LEFT;
 25.1128 +     if (win == self->innerbottom)       return OB_FRAME_CONTEXT_BOTTOM;
 25.1129 +     if (win == self->innerright)        return OB_FRAME_CONTEXT_RIGHT;
 25.1130 +     if (win == self->innerbll)          return OB_FRAME_CONTEXT_BLCORNER;
 25.1131 +     if (win == self->innerblb)          return OB_FRAME_CONTEXT_BLCORNER;
 25.1132 ++    if (win == self->ce_bl_b)           return OB_FRAME_CONTEXT_BLCORNER;
 25.1133 ++    if (win == self->ce_bl_l)           return OB_FRAME_CONTEXT_BLCORNER;
 25.1134 +     if (win == self->innerbrr)          return OB_FRAME_CONTEXT_BRCORNER;
 25.1135 +     if (win == self->innerbrb)          return OB_FRAME_CONTEXT_BRCORNER;
 25.1136 ++    if (win == self->ce_br_b)           return OB_FRAME_CONTEXT_BRCORNER;
 25.1137 ++    if (win == self->ce_br_r)           return OB_FRAME_CONTEXT_BRCORNER;
 25.1138 +     if (win == self->max)               return OB_FRAME_CONTEXT_MAXIMIZE;
 25.1139 +     if (win == self->iconify)           return OB_FRAME_CONTEXT_ICONIFY;
 25.1140 +     if (win == self->close)             return OB_FRAME_CONTEXT_CLOSE;
 25.1141 +     if (win == self->icon)              return OB_FRAME_CONTEXT_ICON;
 25.1142 +     if (win == self->desk)              return OB_FRAME_CONTEXT_ALLDESKTOPS;
 25.1143 +     if (win == self->shade)             return OB_FRAME_CONTEXT_SHADE;
 25.1144 ++    if (win == self->invleft)           return OB_FRAME_CONTEXT_LEFT;
 25.1145 ++    if (win == self->invright)          return OB_FRAME_CONTEXT_RIGHT;
 25.1146 ++    if (win == self->invtop)            return OB_FRAME_CONTEXT_TOP;
 25.1147 ++    if (win == self->invbottom)         return OB_FRAME_CONTEXT_BOTTOM;
 25.1148 ++    if (win == self->invtl)             return OB_FRAME_CONTEXT_TLCORNER;
 25.1149 ++    if (win == self->invtr)             return OB_FRAME_CONTEXT_TRCORNER;
 25.1150 ++    if (win == self->invbl)             return OB_FRAME_CONTEXT_BLCORNER;
 25.1151 ++    if (win == self->invbr)             return OB_FRAME_CONTEXT_BRCORNER;
 25.1152 + 
 25.1153 +     return OB_FRAME_CONTEXT_NONE;
 25.1154 + }
 25.1155 +diff --git a/openbox/frame.h b/openbox/frame.h
 25.1156 +index 915c08d..2e11b53 100644
 25.1157 +--- a/openbox/frame.h
 25.1158 ++++ b/openbox/frame.h
 25.1159 +@@ -143,6 +143,50 @@ struct _ObFrame
 25.1160 +     Window    trtresize;
 25.1161 +     Window    trrresize;
 25.1162 + 
 25.1163 ++    Window    outerleft;
 25.1164 ++    Window    outerright;
 25.1165 ++    Window    outertop;
 25.1166 ++    Window    outerbottom;
 25.1167 ++    Window    outerlefttop;
 25.1168 ++    Window    outerrighttop;
 25.1169 ++    Window    outerleftbottom;
 25.1170 ++    Window    outerrightbottom;
 25.1171 ++    Window    outertopleft;
 25.1172 ++    Window    outertopright;
 25.1173 ++    Window    outerbottomleft;
 25.1174 ++    Window    outerbottomright;
 25.1175 ++
 25.1176 ++    Window    edgeleft;
 25.1177 ++    Window    edgeright;
 25.1178 ++    Window    edgetop;
 25.1179 ++    Window    edgebottom;
 25.1180 ++    Window    edgelefttop;
 25.1181 ++    Window    edgerighttop;
 25.1182 ++    Window    edgeleftbottom;
 25.1183 ++    Window    edgerightbottom;
 25.1184 ++    Window    edgetopleft;
 25.1185 ++    Window    edgetopright;
 25.1186 ++    Window    edgebottomleft;
 25.1187 ++    Window    edgebottomright;
 25.1188 ++
 25.1189 ++    Window    ce_tl_t;
 25.1190 ++    Window    ce_tl_l;
 25.1191 ++    Window    ce_tr_t;
 25.1192 ++    Window    ce_tr_r;
 25.1193 ++    Window    ce_bl_b;
 25.1194 ++    Window    ce_bl_l;
 25.1195 ++    Window    ce_br_b;
 25.1196 ++    Window    ce_br_r;
 25.1197 ++
 25.1198 ++    Window    invleft;
 25.1199 ++    Window    invright;
 25.1200 ++    Window    invtop;
 25.1201 ++    Window    invbottom;
 25.1202 ++    Window    invtl;
 25.1203 ++    Window    invtr;
 25.1204 ++    Window    invbl;
 25.1205 ++    Window    invbr;
 25.1206 ++
 25.1207 +     Colormap  colormap;
 25.1208 + 
 25.1209 +     gint      icon_on;    /* if the window icon button is on */
 25.1210 +@@ -167,6 +211,7 @@ struct _ObFrame
 25.1211 +     gint      cbwidth_t;     /* client border width */
 25.1212 +     gint      cbwidth_r;     /* client border width */
 25.1213 +     gint      cbwidth_b;     /* client border width */
 25.1214 ++    gint      outer;         /* width of outer border used for rounded corners */
 25.1215 +     gboolean  max_horz;      /* when maxed some decorations are hidden */
 25.1216 +     gboolean  max_vert;      /* when maxed some decorations are hidden */
 25.1217 +     gboolean  shaded;        /* decorations adjust when shaded */
 25.1218 +@@ -267,6 +312,9 @@ void frame_flash_stop(ObFrame *self);
 25.1219 + void frame_begin_iconify_animation(ObFrame *self, gboolean iconifying);
 25.1220 + void frame_end_iconify_animation(gpointer data);
 25.1221 + 
 25.1222 ++void frame_remove_handles (struct _ObClient *self);
 25.1223 ++void frame_restore_handles (struct _ObClient *self);
 25.1224 ++
 25.1225 + #define frame_iconify_animating(f) (f->iconify_animation_going != 0)
 25.1226 + 
 25.1227 + #endif
 25.1228 +diff --git a/openbox/framerender.c b/openbox/framerender.c
 25.1229 +index 041e6d1..5221431 100644
 25.1230 +--- a/openbox/framerender.c
 25.1231 ++++ b/openbox/framerender.c
 25.1232 +@@ -21,6 +21,7 @@
 25.1233 + #include "openbox.h"
 25.1234 + #include "screen.h"
 25.1235 + #include "client.h"
 25.1236 ++#include "config.h"
 25.1237 + #include "framerender.h"
 25.1238 + #include "obrender/theme.h"
 25.1239 + 
 25.1240 +@@ -43,6 +44,37 @@ void framerender_frame(ObFrame *self)
 25.1241 +     self->need_render = FALSE;
 25.1242 + 
 25.1243 +     {
 25.1244 ++        if ((self->decorations & OB_FRAME_DECOR_TITLEBAR) && !self->max_horz && !self->max_vert && config_theme_roundcorners)
 25.1245 ++        {
 25.1246 ++            XGCValues xgcv;
 25.1247 ++            XWindowAttributes wd_att;
 25.1248 ++            XGetWindowAttributes (obt_display, self->window, &wd_att);
 25.1249 ++            Pixmap mask = XCreatePixmap (obt_display, self->window, wd_att.width, wd_att.height, 1);
 25.1250 ++            GC shape_gc = XCreateGC (obt_display, mask, 0, &xgcv);
 25.1251 ++            XSetForeground (obt_display, shape_gc, 1);
 25.1252 ++            XFillRectangle (obt_display, mask, shape_gc, 0, 0, wd_att.width, wd_att.height);
 25.1253 ++            XSetForeground (obt_display, shape_gc, 0);
 25.1254 ++
 25.1255 ++            XFillRectangle (obt_display, mask, shape_gc, 0, 0, 2, 2);
 25.1256 ++            XFillRectangle (obt_display, mask, shape_gc, 2, 0, 2, 1);
 25.1257 ++            XFillRectangle (obt_display, mask, shape_gc, 0, 2, 1, 2);
 25.1258 ++
 25.1259 ++            XFillRectangle (obt_display, mask, shape_gc, 0, wd_att.height - 2, 2, 2);
 25.1260 ++            XFillRectangle (obt_display, mask, shape_gc, 2, wd_att.height - 1, 2, 1);
 25.1261 ++            XFillRectangle (obt_display, mask, shape_gc, 0, wd_att.height - 4, 1, 2);
 25.1262 ++
 25.1263 ++            XFillRectangle (obt_display, mask, shape_gc, wd_att.width - 2, 0, 2, 2);
 25.1264 ++            XFillRectangle (obt_display, mask, shape_gc, wd_att.width - 4, 0, 2, 1);
 25.1265 ++            XFillRectangle (obt_display, mask, shape_gc, wd_att.width - 1, 2, 1, 2);
 25.1266 ++
 25.1267 ++            XFillRectangle (obt_display, mask, shape_gc, wd_att.width - 2, wd_att.height - 2, 2, 2);
 25.1268 ++            XFillRectangle (obt_display, mask, shape_gc, wd_att.width - 4, wd_att.height - 1, 2, 1);
 25.1269 ++            XFillRectangle (obt_display, mask, shape_gc, wd_att.width - 1, wd_att.height - 4, 1, 2);
 25.1270 ++
 25.1271 ++            XShapeCombineMask (obt_display, self->window, ShapeBounding, 0, 0, mask, ShapeSet);
 25.1272 ++            XFreePixmap (obt_display, mask);
 25.1273 ++        }
 25.1274 ++
 25.1275 +         gulong px;
 25.1276 + 
 25.1277 +         px = (self->focused ?
 25.1278 +@@ -123,6 +155,88 @@ void framerender_frame(ObFrame *self)
 25.1279 + 
 25.1280 +         XSetWindowBackground(obt_display, self->titlebottom, px);
 25.1281 +         XClearWindow(obt_display, self->titlebottom);
 25.1282 ++
 25.1283 ++        px = (self->focused ?
 25.1284 ++            RrColorPixel (ob_rr_theme->a_focused_title->surface.primary) :
 25.1285 ++            RrColorPixel (ob_rr_theme->a_unfocused_title->surface.primary));
 25.1286 ++
 25.1287 ++        XSetWindowBackground(obt_display, self->outertop, px);
 25.1288 ++        XClearWindow(obt_display, self->outertop);
 25.1289 ++        XSetWindowBackground(obt_display, self->outerlefttop, px);
 25.1290 ++        XClearWindow(obt_display, self->outerlefttop);
 25.1291 ++        XSetWindowBackground(obt_display, self->outerrighttop, px);
 25.1292 ++        XClearWindow(obt_display, self->outerrighttop);
 25.1293 ++        XSetWindowBackground(obt_display, self->outertopleft, px);
 25.1294 ++        XClearWindow(obt_display, self->outertopleft);
 25.1295 ++        XSetWindowBackground(obt_display, self->outertopright, px);
 25.1296 ++        XClearWindow(obt_display, self->outertopright);
 25.1297 ++
 25.1298 ++        px = (self->focused ?
 25.1299 ++              RrColorPixel(ob_rr_theme->cb_focused_color) :
 25.1300 ++              RrColorPixel(ob_rr_theme->cb_unfocused_color));
 25.1301 ++
 25.1302 ++        XSetWindowBackground(obt_display, self->outerleft, px);
 25.1303 ++        XClearWindow(obt_display, self->outerleft);
 25.1304 ++        XSetWindowBackground(obt_display, self->outerright, px);
 25.1305 ++        XClearWindow(obt_display, self->outerright);
 25.1306 ++        XSetWindowBackground(obt_display, self->outerbottom, px);
 25.1307 ++        XClearWindow(obt_display, self->outerbottom);
 25.1308 ++        XSetWindowBackground(obt_display, self->outerleftbottom, px);
 25.1309 ++        XClearWindow(obt_display, self->outerleftbottom);
 25.1310 ++        XSetWindowBackground(obt_display, self->outerrightbottom, px);
 25.1311 ++        XClearWindow(obt_display, self->outerrightbottom);
 25.1312 ++        XSetWindowBackground(obt_display, self->outerbottomleft, px);
 25.1313 ++        XClearWindow(obt_display, self->outerbottomleft);
 25.1314 ++        XSetWindowBackground(obt_display, self->outerbottomright, px);
 25.1315 ++        XClearWindow(obt_display, self->outerbottomright);
 25.1316 ++
 25.1317 ++        px = RrColorPixel (ob_rr_theme->frame_focused_border_color);
 25.1318 ++
 25.1319 ++        XSetWindowBackground(obt_display, self->edgeleft, px);
 25.1320 ++        XClearWindow(obt_display, self->edgeleft);
 25.1321 ++        XSetWindowBackground(obt_display, self->edgeright, px);
 25.1322 ++        XClearWindow(obt_display, self->edgeright);
 25.1323 ++        XSetWindowBackground(obt_display, self->edgebottom, px);
 25.1324 ++        XClearWindow(obt_display, self->edgebottom);
 25.1325 ++        XSetWindowBackground(obt_display, self->edgebottomleft, px);
 25.1326 ++        XClearWindow(obt_display, self->edgebottomleft);
 25.1327 ++        XSetWindowBackground(obt_display, self->edgebottomright, px);
 25.1328 ++        XClearWindow(obt_display, self->edgebottomright);
 25.1329 ++        XSetWindowBackground(obt_display, self->edgeleftbottom, px);
 25.1330 ++        XClearWindow(obt_display, self->edgeleftbottom);
 25.1331 ++        XSetWindowBackground(obt_display, self->edgerightbottom, px);
 25.1332 ++        XClearWindow(obt_display, self->edgerightbottom);
 25.1333 ++        XSetWindowBackground(obt_display, self->ce_bl_b, px);
 25.1334 ++        XClearWindow(obt_display, self->ce_bl_b);
 25.1335 ++        XSetWindowBackground(obt_display, self->ce_bl_l, px);
 25.1336 ++        XClearWindow(obt_display, self->ce_bl_l);
 25.1337 ++        XSetWindowBackground(obt_display, self->ce_br_b, px);
 25.1338 ++        XClearWindow(obt_display, self->ce_br_b);
 25.1339 ++        XSetWindowBackground(obt_display, self->ce_br_r, px);
 25.1340 ++        XClearWindow(obt_display, self->ce_br_r);
 25.1341 ++
 25.1342 ++        px = (self->focused ?
 25.1343 ++              RrColorPixel (ob_rr_theme->a_focused_title->surface.primary) :
 25.1344 ++              RrColorPixel(ob_rr_theme->frame_focused_border_color));
 25.1345 ++
 25.1346 ++        XSetWindowBackground(obt_display, self->edgetop, px);
 25.1347 ++        XClearWindow(obt_display, self->edgetop);
 25.1348 ++        XSetWindowBackground(obt_display, self->edgelefttop, px);
 25.1349 ++        XClearWindow(obt_display, self->edgelefttop);
 25.1350 ++        XSetWindowBackground(obt_display, self->edgerighttop, px);
 25.1351 ++        XClearWindow(obt_display, self->edgerighttop);
 25.1352 ++        XSetWindowBackground(obt_display, self->edgetopleft, px);
 25.1353 ++        XClearWindow(obt_display, self->edgetopleft);
 25.1354 ++        XSetWindowBackground(obt_display, self->edgetopright, px);
 25.1355 ++        XClearWindow(obt_display, self->edgetopright);
 25.1356 ++        XSetWindowBackground(obt_display, self->ce_tl_t, px);
 25.1357 ++        XClearWindow(obt_display, self->ce_tl_t);
 25.1358 ++        XSetWindowBackground(obt_display, self->ce_tl_l, px);
 25.1359 ++        XClearWindow(obt_display, self->ce_tl_l);
 25.1360 ++        XSetWindowBackground(obt_display, self->ce_tr_t, px);
 25.1361 ++        XClearWindow(obt_display, self->ce_tr_t);
 25.1362 ++        XSetWindowBackground(obt_display, self->ce_tr_r, px);
 25.1363 ++        XClearWindow(obt_display, self->ce_tr_r);
 25.1364 +     }
 25.1365 + 
 25.1366 +     if (self->decorations & OB_FRAME_DECOR_TITLEBAR) {
 25.1367 +diff --git a/openbox/moveresize.c b/openbox/moveresize.c
 25.1368 +index 333a1be..a3d7627 100644
 25.1369 +--- a/openbox/moveresize.c
 25.1370 ++++ b/openbox/moveresize.c
 25.1371 +@@ -187,6 +187,7 @@ void moveresize_start(ObClient *c, gint x, gint y, guint b, guint32 cnr)
 25.1372 +           (c->functions & OB_CLIENT_FUNC_MOVE) :
 25.1373 +           (c->functions & OB_CLIENT_FUNC_RESIZE)))
 25.1374 +         return;
 25.1375 ++    frame_remove_handles (c);
 25.1376 + 
 25.1377 +     if (cnr == OBT_PROP_ATOM(NET_WM_MOVERESIZE_SIZE_TOPLEFT)) {
 25.1378 +         cur = OB_CURSOR_NORTHWEST;
 25.1379 +@@ -366,6 +367,7 @@ void moveresize_end(gboolean cancel)
 25.1380 +     /* dont edge warp after its ended */
 25.1381 +     cancel_edge_warp();
 25.1382 + 
 25.1383 ++    frame_restore_handles (moveresize_client);
 25.1384 +     moveresize_in_progress = FALSE;
 25.1385 +     moveresize_client = NULL;
 25.1386 + }
    26.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    26.2 +++ b/openbox/stuff/patches/15_race_fix.patch	Thu Jun 22 20:59:17 2017 +0300
    26.3 @@ -0,0 +1,29 @@
    26.4 +diff --git a/openbox/client.c b/openbox/client.c
    26.5 +index 8317f4b..5559c03 100644
    26.6 +--- a/openbox/client.c
    26.7 ++++ b/openbox/client.c
    26.8 +@@ -3186,12 +3186,12 @@ void client_configure(ObClient *self, gint x, gint y, gint w, gint h,
    26.9 +     /* for app-requested resizes, always resize if 'resized' is true.
   26.10 +        for user-requested ones, only resize if final is true, or when
   26.11 +        resizing in redraw mode */
   26.12 ++    gboolean app_rq = !user && resized;
   26.13 +     send_resize_client = ((!user && resized) ||
   26.14 +                           (user && (final ||
   26.15 +                                     (resized && config_resize_redraw))));
   26.16 +-
   26.17 +     /* if the client is enlarging, then resize the client before the frame */
   26.18 +-    if (send_resize_client && (w > oldclient.width || h > oldclient.height)) {
   26.19 ++    if (!app_rq && send_resize_client && (w > oldclient.width || h > oldclient.height)) {
   26.20 +         XMoveResizeWindow(obt_display, self->window,
   26.21 +                           self->frame->size.left, self->frame->size.top,
   26.22 +                           MAX(w, oldclient.width), MAX(h, oldclient.height));
   26.23 +@@ -3284,7 +3284,8 @@ void client_configure(ObClient *self, gint x, gint y, gint w, gint h,
   26.24 +        both of these resize sections may run, because the top one only resizes
   26.25 +        in the direction that is growing
   26.26 +      */
   26.27 +-    if (send_resize_client && (w <= oldclient.width || h <= oldclient.height))
   26.28 ++    if ((send_resize_client && (w <= oldclient.width || h <= oldclient.height))
   26.29 ++		|| (app_rq && (w != oldclient.width || h != oldclient.height)))
   26.30 +     {
   26.31 +         frame_adjust_client_area(self->frame);
   26.32 +         XMoveResizeWindow(obt_display, self->window,
    27.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    27.2 +++ b/openbox/stuff/patches/704724_fix_refers-to-autostart.sh.patch	Thu Jun 22 20:59:17 2017 +0300
    27.3 @@ -0,0 +1,51 @@
    27.4 +commit c94992179e99f4088f3a1cb8e304a9fb6035170d
    27.5 +Author: John Vogel <jvogel4@stny.rr.com>
    27.6 +Date:   Sat Mar 17 12:33:24 2012 -0400
    27.7 +
    27.8 +    Update manpage to current version. (Fix bug 5444)
    27.9 +
   27.10 +--- a/doc/openbox-session.1.in
   27.11 ++++ b/doc/openbox-session.1.in
   27.12 +@@ -12,8 +12,8 @@ to save your state from one log in to th
   27.13 + arguments. 
   27.14 + .PP 
   27.15 + On log in, \fBopenbox-session\fR will run the 
   27.16 +-~/.config/openbox/autostart.sh script if it exists, and will run the 
   27.17 +-system-wide script @configdir@/openbox/autostart.sh otherwise. You may 
   27.18 ++~/.config/openbox/autostart script if it exists, and will run the 
   27.19 ++system-wide script @configdir@/openbox/autostart otherwise. You may 
   27.20 + place anything you want to run automatically in those files, for example: 
   27.21 +  
   27.22 + .PP 
   27.23 +@@ -27,7 +27,7 @@ gnome-settings-daemon &
   27.24 + .PP 
   27.25 + Make sure that each line is followed by a "&" or else the script will 
   27.26 + stop there and further commands will not be executed. You can use the 
   27.27 +-@configdir@/openbox/autostart.sh file as an example for creating your 
   27.28 ++@configdir@/openbox/autostart file as an example for creating your 
   27.29 + own. 
   27.30 + .SH "SEE ALSO" 
   27.31 + .PP 
   27.32 +--- a/doc/openbox-session.1.sgml
   27.33 ++++ b/doc/openbox-session.1.sgml
   27.34 +@@ -44,8 +44,8 @@ manpage.1: manpage.sgml
   27.35 +       arguments.</para>
   27.36 + 
   27.37 +     <para>On log in, <command>&dhpackage;</command> will run the
   27.38 +-      ~/.config/openbox/autostart.sh script if it exists, and will run the
   27.39 +-      system-wide script @configdir@/openbox/autostart.sh otherwise. You may
   27.40 ++      ~/.config/openbox/autostart script if it exists, and will run the
   27.41 ++      system-wide script @configdir@/openbox/autostart otherwise. You may
   27.42 +       place anything you want to run automatically in those files, for example:
   27.43 +       </para>
   27.44 + 
   27.45 +@@ -55,7 +55,7 @@ manpage.1: manpage.sgml
   27.46 + 
   27.47 +     <para>Make sure that each line is followed by a "&" or else the script will
   27.48 +       stop there and further commands will not be executed. You can use the
   27.49 +-      @configdir@/openbox/autostart.sh file as an example for creating your
   27.50 ++      @configdir@/openbox/autostart file as an example for creating your
   27.51 +       own.</para>
   27.52 + 
   27.53 +   </refsect1>
   27.54 +
    28.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    28.2 +++ b/openbox/stuff/patches/719620_fix_show_startup_notification.patch	Thu Jun 22 20:59:17 2017 +0300
    28.3 @@ -0,0 +1,49 @@
    28.4 +Description: Fix showing startup notification
    28.5 +Author: Andrej N. Gritsenko <andrej@rep.kiev.ua>
    28.6 +Bug-Debian: http://bugs.debian.org/719620
    28.7 +
    28.8 +diff --git a/configure.ac b/configure.ac
    28.9 +index a183309..5d55c56 100644
   28.10 +--- a/configure.ac
   28.11 ++++ b/configure.ac
   28.12 +@@ -125,7 +125,7 @@ AC_ARG_ENABLE(startup-notification,
   28.13 + )
   28.14 + 
   28.15 + if test "$enable_sn" = yes; then
   28.16 +-PKG_CHECK_MODULES(LIBSN, [libstartup-notification-1.0 >= 0.8],
   28.17 ++PKG_CHECK_MODULES(LIBSN, [libstartup-notification-1.0 >= 0.8 xi],
   28.18 +   [
   28.19 +     AC_DEFINE(USE_LIBSN, [1], [Use startup-notification])
   28.20 +     AC_SUBST(LIBSN_CFLAGS)
   28.21 +diff --git a/openbox/screen.c b/openbox/screen.c
   28.22 +index 33acb4a..ed57f22 100644
   28.23 +--- a/openbox/screen.c
   28.24 ++++ b/openbox/screen.c
   28.25 +@@ -40,6 +40,7 @@
   28.26 + #include "obt/prop.h"
   28.27 + 
   28.28 + #include <X11/Xlib.h>
   28.29 ++#include <X11/extensions/XInput2.h>
   28.30 + #ifdef HAVE_UNISTD_H
   28.31 + #  include <sys/types.h>
   28.32 + #  include <unistd.h>
   28.33 +@@ -1844,12 +1845,15 @@ const Rect* screen_physical_area_primary(gboolean fixed)
   28.34 + 
   28.35 + void screen_set_root_cursor(void)
   28.36 + {
   28.37 ++    int pointer_id;
   28.38 ++    if (!XIGetClientPointer(obt_display, None, &pointer_id))
   28.39 ++        return;
   28.40 +     if (sn_app_starting())
   28.41 +-        XDefineCursor(obt_display, obt_root(ob_screen),
   28.42 +-                      ob_cursor(OB_CURSOR_BUSYPOINTER));
   28.43 ++        XIDefineCursor(obt_display, pointer_id, obt_root(ob_screen),
   28.44 ++                       ob_cursor(OB_CURSOR_BUSYPOINTER));
   28.45 +     else
   28.46 +-        XDefineCursor(obt_display, obt_root(ob_screen),
   28.47 +-                      ob_cursor(OB_CURSOR_POINTER));
   28.48 ++        XIDefineCursor(obt_display, pointer_id, obt_root(ob_screen),
   28.49 ++                       ob_cursor(OB_CURSOR_POINTER));
   28.50 + }
   28.51 + 
   28.52 + guint screen_find_monitor_point(guint x, guint y)
    29.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    29.2 +++ b/openbox/stuff/patches/808138_Replace-getgrent-with-getgroups.patch	Thu Jun 22 20:59:17 2017 +0300
    29.3 @@ -0,0 +1,63 @@
    29.4 +>From e0cb404f53c9b21a521ea2f14c8cd66fdfb68ea7 Mon Sep 17 00:00:00 2001
    29.5 +From: Simon <simondobbss@gmail.com>
    29.6 +Date: Tue, 15 Dec 2015 15:46:18 +0100
    29.7 +Subject: [PATCH] Replace getgrent with getgroups. Fixes #5978.
    29.8 +
    29.9 +---
   29.10 + obt/paths.c | 34 +++++++++++++++++++++-------------
   29.11 + 1 file changed, 21 insertions(+), 13 deletions(-)
   29.12 +
   29.13 +diff --git a/obt/paths.c b/obt/paths.c
   29.14 +index 25cb6b0..d526936 100644
   29.15 +--- a/obt/paths.c
   29.16 ++++ b/obt/paths.c
   29.17 +@@ -108,25 +108,33 @@ static void find_uid_gid(uid_t *u, gid_t **g, guint *n)
   29.18 +     const gchar *name;
   29.19 +     struct group *gr;
   29.20 + 
   29.21 ++    gid_t gmain;
   29.22 ++    unsigned int maininc;
   29.23 ++    int i;
   29.24 ++
   29.25 +     *u = getuid();
   29.26 +     pw = getpwuid(*u);
   29.27 +     name = pw->pw_name;
   29.28 + 
   29.29 +-    *g = g_new(gid_t, *n=1);
   29.30 +-    (*g)[0] = getgid();
   29.31 +-
   29.32 +-    while ((gr = getgrent())) {
   29.33 +-        if (gr->gr_gid != (*g)[0]) { /* skip the main group */
   29.34 +-            gchar **c;
   29.35 +-            for (c = gr->gr_mem; *c; ++c)
   29.36 +-                if (strcmp(*c, name) == 0) {
   29.37 +-                    *g = g_renew(gid_t, *g, ++(*n)); /* save the group */
   29.38 +-                    (*g)[*n-1] = gr->gr_gid;
   29.39 +-                    break;
   29.40 +-                }
   29.41 ++    gmain = getgid();
   29.42 ++
   29.43 ++    *n = getgroups(0, *g);
   29.44 ++    *g = g_new(gid_t, *n);
   29.45 ++    *n = getgroups(*n, *g);
   29.46 ++
   29.47 ++    /* Check if the effective group ID of the calling process is already
   29.48 ++       included in the returned list. Add it otherwise. */
   29.49 ++    maininc = 0;
   29.50 ++    for (i = 0; i < *n; i++) {
   29.51 ++        if ( (*g)[i] == gmain ) {
   29.52 ++            maininc = 1;
   29.53 ++            break;
   29.54 +         }
   29.55 +     }
   29.56 +-    endgrent();
   29.57 ++    if (!maininc) {
   29.58 ++        *g = g_renew(gid_t, *g, ++(*n));
   29.59 ++        (*g)[*n-1] = gmain;
   29.60 ++    }
   29.61 + 
   29.62 +     qsort(*g, *n, sizeof(gid_t), gid_cmp);
   29.63 + }
   29.64 +-- 
   29.65 +2.1.4
   29.66 +
    30.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    30.2 +++ b/openbox/stuff/patches/d9a405e9.patch	Thu Jun 22 20:59:17 2017 +0300
    30.3 @@ -0,0 +1,45 @@
    30.4 +From d9a405e9b3b0e9bfe5686c6df456138b443d1e35 Mon Sep 17 00:00:00 2001
    30.5 +From: Mikael Magnusson <mikachu@gmail.com>
    30.6 +Date: Mon, 7 Sep 2015 00:24:03 +0200
    30.7 +Subject: [PATCH] Add 'last' as a desktop target for if/foreach
    30.8 +
    30.9 +---
   30.10 + openbox/actions/if.c | 7 ++++++-
   30.11 + 1 file changed, 6 insertions(+), 1 deletion(-)
   30.12 +
   30.13 +diff --git a/openbox/actions/if.c b/openbox/actions/if.c
   30.14 +index a9c4094..c76fb71 100644
   30.15 +--- a/openbox/actions/if.c
   30.16 ++++ b/openbox/actions/if.c
   30.17 +@@ -68,6 +68,7 @@ typedef struct {
   30.18 +     gboolean omnipresent_off;
   30.19 +     gboolean desktop_current;
   30.20 +     gboolean desktop_other;
   30.21 ++    gboolean desktop_last;
   30.22 +     guint    desktop_number;
   30.23 +     guint    screendesktop_number;
   30.24 +     guint    client_monitor;
   30.25 +@@ -192,8 +193,10 @@ static void setup_query(Options* o, xmlNodePtr node, QueryTarget target) {
   30.26 +         if ((s = obt_xml_node_string(n))) {
   30.27 +             if (!g_ascii_strcasecmp(s, "current"))
   30.28 +                 q->desktop_current = TRUE;
   30.29 +-            if (!g_ascii_strcasecmp(s, "other"))
   30.30 ++            else if (!g_ascii_strcasecmp(s, "other"))
   30.31 +                 q->desktop_other = TRUE;
   30.32 ++            else if (!g_ascii_strcasecmp(s, "last"))
   30.33 ++                q->desktop_last = TRUE;
   30.34 +             else
   30.35 +                 q->desktop_number = atoi(s);
   30.36 +             g_free(s);
   30.37 +@@ -392,6 +395,8 @@ static gboolean run_func_if(ObActionsData *data, gpointer options)
   30.38 +             is_true &= is_on_current_desktop;
   30.39 +         if (q->desktop_other)
   30.40 +             is_true &= !is_on_current_desktop;
   30.41 ++        if (q->desktop_last)
   30.42 ++            is_true &= query_target->desktop == screen_last_desktop;
   30.43 + 
   30.44 +         if (q->desktop_number) {
   30.45 +             gboolean is_on_desktop =
   30.46 +-- 
   30.47 +1.9.1
   30.48 +
    31.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    31.2 +++ b/openbox/stuff/patches/fix-spelling-error-in-binary.patch	Thu Jun 22 20:59:17 2017 +0300
    31.3 @@ -0,0 +1,26 @@
    31.4 +Description: Fix spelling-error-in-binary
    31.5 +Author: Mateusz Łukasik <mati75@linuxmint.pl>
    31.6 +Last-Update: 2016-11-23
    31.7 +
    31.8 +--- a/openbox/openbox.c
    31.9 ++++ b/openbox/openbox.c
   31.10 +@@ -602,7 +602,7 @@ static void parse_env(void)
   31.11 +         if (ob_sm_id) g_free(ob_sm_id);
   31.12 +         ob_sm_id = g_strdup(id);
   31.13 +         ob_debug_type(OB_DEBUG_SM,
   31.14 +-                      "DESKTOP_AUTOSTART_ID %s supercedes --sm-client-id\n",
   31.15 ++                      "DESKTOP_AUTOSTART_ID %s supersedes --sm-client-id\n",
   31.16 +                       ob_sm_id);
   31.17 +     }
   31.18 + }
   31.19 +--- a/openbox/session.c
   31.20 ++++ b/openbox/session.c
   31.21 +@@ -442,7 +442,7 @@ static void sm_save_yourself(SmcConn con
   31.22 +     free(vendor);
   31.23 + 
   31.24 +     if (!SmcRequestSaveYourselfPhase2(conn, sm_save_yourself_2, savedata)) {
   31.25 +-        ob_debug_type(OB_DEBUG_SM, "Requst for phase 2 failed");
   31.26 ++        ob_debug_type(OB_DEBUG_SM, "Request for phase 2 failed");
   31.27 +         g_slice_free(ObSMSaveData, savedata);
   31.28 +         SmcSaveYourselfDone(conn, FALSE);
   31.29 +     }
    32.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    32.2 +++ b/openbox/stuff/patches/openbox-no-gnome-no-kde.patch	Thu Jun 22 20:59:17 2017 +0300
    32.3 @@ -0,0 +1,85 @@
    32.4 +--- a/Makefile.am
    32.5 ++++ b/Makefile.am
    32.6 +@@ -6,8 +6,6 @@
    32.7 + configdir       = $(sysconfdir)/xdg
    32.8 + rcdir           = $(configdir)/openbox
    32.9 + xsessionsdir    = $(datadir)/xsessions
   32.10 +-gnomesessiondir = $(datadir)/gnome-session/sessions
   32.11 +-gnomewmfilesdir = $(datadir)/gnome/wm-properties
   32.12 + pkgconfigdir    = $(libdir)/pkgconfig
   32.13 + obtpubincludedir= $(includedir)/openbox/@OBT_VERSION@/obt
   32.14 + rrpubincludedir = $(includedir)/openbox/@RR_VERSION@/obrender
   32.15 +@@ -32,17 +30,13 @@
   32.16 + 
   32.17 + bin_PROGRAMS = \
   32.18 + 	openbox/openbox \
   32.19 +-	tools/gdm-control/gdm-control \
   32.20 +-	tools/gnome-panel-control/gnome-panel-control \
   32.21 + 	tools/obxprop/obxprop
   32.22 + 
   32.23 + noinst_PROGRAMS = \
   32.24 + 	obt/obt_unittests
   32.25 + 
   32.26 + nodist_bin_SCRIPTS = \
   32.27 +-	data/xsession/openbox-session \
   32.28 +-	data/xsession/openbox-gnome-session \
   32.29 +-	data/xsession/openbox-kde-session
   32.30 ++	data/xsession/openbox-session
   32.31 + 
   32.32 + dist_rc_SCRIPTS = \
   32.33 + 	data/environment
   32.34 +@@ -328,15 +322,6 @@
   32.35 + 	obt/unittest_base.c \
   32.36 + 	obt/bsearch_unittest.c
   32.37 + 
   32.38 +-## gnome-panel-control ##
   32.39 +-
   32.40 +-tools_gnome_panel_control_gnome_panel_control_CPPFLAGS = \
   32.41 +-	$(X_CFLAGS)
   32.42 +-tools_gnome_panel_control_gnome_panel_control_LDADD = \
   32.43 +-	$(X_LIBS)
   32.44 +-tools_gnome_panel_control_gnome_panel_control_SOURCES = \
   32.45 +-	tools/gnome-panel-control/gnome-panel-control.c
   32.46 +-
   32.47 + ## obxprop ##
   32.48 + 
   32.49 + tools_obxprop_obxprop_CPPFLAGS = \
   32.50 +@@ -486,9 +471,6 @@
   32.51 + 
   32.52 + ## data ##
   32.53 + 
   32.54 +-dist_apps_DATA = \
   32.55 +-	data/openbox.desktop
   32.56 +-
   32.57 + dist_pixmap_DATA = \
   32.58 + 	data/openbox.png
   32.59 + 
   32.60 +@@ -531,18 +513,9 @@
   32.61 + 	@echo make: creating $@
   32.62 + 	@$(edit) $< >$@	
   32.63 + 
   32.64 +-dist_gnomewmfiles_DATA = \
   32.65 +-	data/gnome-wm-properties/openbox.desktop
   32.66 +-
   32.67 + nodist_xsessions_DATA = \
   32.68 +-	data/xsession/openbox.desktop \
   32.69 +-	data/xsession/openbox-gnome.desktop \
   32.70 +-	data/xsession/openbox-kde.desktop
   32.71 ++	data/xsession/openbox.desktop
   32.72 + 
   32.73 +-dist_gnomesession_DATA = \
   32.74 +-	data/gnome-session/openbox-gnome.session \
   32.75 +-	data/gnome-session/openbox-gnome-fallback.session
   32.76 +-
   32.77 + dist_noinst_DATA = \
   32.78 + 	data/rc.xsd \
   32.79 + 	data/menu.xsd \
   32.80 +@@ -599,8 +572,6 @@
   32.81 + nodist_man_MANS = \
   32.82 + 	doc/openbox.1 \
   32.83 + 	doc/openbox-session.1 \
   32.84 +-	doc/openbox-gnome-session.1 \
   32.85 +-	doc/openbox-kde-session.1 \
   32.86 + 	doc/obxprop.1
   32.87 + 
   32.88 + EXTRA_DIST = \
    33.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    33.2 +++ b/openbox/stuff/patches/openbox-no-gnome-no-kde.patch0	Thu Jun 22 20:59:17 2017 +0300
    33.3 @@ -0,0 +1,51 @@
    33.4 +--- a/Makefile.in
    33.5 ++++ b/Makefile.in
    33.6 +@@ -57,8 +57,6 @@
    33.7 + host_triplet = @host@
    33.8 + check_PROGRAMS = obrender/rendertest$(EXEEXT)
    33.9 + bin_PROGRAMS = openbox/openbox$(EXEEXT) \
   33.10 +-	tools/gdm-control/gdm-control$(EXEEXT) \
   33.11 +-	tools/gnome-panel-control/gnome-panel-control$(EXEEXT) \
   33.12 + 	tools/obxprop/obxprop$(EXEEXT)
   33.13 + noinst_PROGRAMS = obt/obt_unittests$(EXEEXT)
   33.14 + subdir = .
   33.15 +@@ -635,9 +633,7 @@
   33.16 + 	obrender/libobrender.la
   33.17 + 
   33.18 + nodist_bin_SCRIPTS = \
   33.19 +-	data/xsession/openbox-session \
   33.20 +-	data/xsession/openbox-gnome-session \
   33.21 +-	data/xsession/openbox-kde-session
   33.22 ++	data/xsession/openbox-session
   33.23 + 
   33.24 + dist_rc_SCRIPTS = \
   33.25 + 	data/environment
   33.26 +@@ -1094,9 +1090,7 @@
   33.27 + 	data/gnome-wm-properties/openbox.desktop
   33.28 + 
   33.29 + nodist_xsessions_DATA = \
   33.30 +-	data/xsession/openbox.desktop \
   33.31 +-	data/xsession/openbox-gnome.desktop \
   33.32 +-	data/xsession/openbox-kde.desktop
   33.33 ++	data/xsession/openbox.desktop
   33.34 + 
   33.35 + dist_gnomesession_DATA = \
   33.36 + 	data/gnome-session/openbox-gnome.session \
   33.37 +@@ -4255,14 +4249,14 @@
   33.38 + 
   33.39 + info-am:
   33.40 + 
   33.41 +-install-data-am: install-dist_appsDATA \
   33.42 ++install-data-am: \
   33.43 + 	install-dist_artwizboxed_themeDATA \
   33.44 + 	install-dist_bear2_themeDATA \
   33.45 + 	install-dist_clearlooks34_themeDATA \
   33.46 + 	install-dist_clearlooks_themeDATA \
   33.47 + 	install-dist_clearlooksolive_themeDATA install-dist_docDATA \
   33.48 +-	install-dist_docxbmDATA install-dist_gnomesessionDATA \
   33.49 +-	install-dist_gnomewmfilesDATA install-dist_mikachu_themeDATA \
   33.50 ++	install-dist_docxbmDATA \
   33.51 ++	install-dist_mikachu_themeDATA \
   33.52 + 	install-dist_natura_themeDATA install-dist_onyx_themeDATA \
   33.53 + 	install-dist_onyxcitrus_themeDATA install-dist_orang_themeDATA \
   33.54 + 	install-dist_pixmapDATA install-dist_rcDATA \
    34.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    34.2 +++ b/openbox/stuff/patches/openbox-rounded.patch	Thu Jun 22 20:59:17 2017 +0300
    34.3 @@ -0,0 +1,143 @@
    34.4 +--- a/openbox/config.h	2017-03-03 21:48:15.000000000 -0700
    34.5 ++++ b/openbox/config.h	2017-03-06 14:35:56.084377574 -0700
    34.6 +@@ -152,6 +152,9 @@
    34.7 + extern gboolean config_animate_iconify;
    34.8 + /*! Size of icons in focus switching dialogs */
    34.9 + extern guint config_theme_window_list_icon_size;
   34.10 ++/*! Display rounded corners for decorated windows */
   34.11 ++extern guint config_theme_cornerradius;
   34.12 ++extern gboolean config_theme_menuradius;
   34.13 + 
   34.14 + /*! The font for the active window's title */
   34.15 + extern RrFont *config_font_activewindow;
   34.16 +--- a/openbox/config.c	2017-03-03 21:48:15.000000000 -0700
   34.17 ++++ b/openbox/config.c	2017-03-06 14:37:06.400883218 -0700
   34.18 +@@ -48,6 +48,8 @@
   34.19 + gchar   *config_theme;
   34.20 + gboolean config_theme_keepborder;
   34.21 + guint    config_theme_window_list_icon_size;
   34.22 ++guint	 config_theme_cornerradius;
   34.23 ++gboolean config_theme_menuradius;
   34.24 + 
   34.25 + gchar   *config_title_layout;
   34.26 + 
   34.27 +@@ -719,6 +721,10 @@
   34.28 +         else if (config_theme_window_list_icon_size > 96)
   34.29 +             config_theme_window_list_icon_size = 96;
   34.30 +     }
   34.31 ++    if ((n = obt_xml_find_node(node, "cornerRadius"))) {
   34.32 ++	config_theme_cornerradius = obt_xml_node_int(n);
   34.33 ++	obt_xml_attr_bool(n, "menu", &config_theme_menuradius);
   34.34 ++    }
   34.35 + 
   34.36 +     for (n = obt_xml_find_node(node, "font");
   34.37 +          n;
   34.38 +@@ -1098,6 +1104,8 @@
   34.39 +     config_title_layout = g_strdup("NLIMC");
   34.40 +     config_theme_keepborder = TRUE;
   34.41 +     config_theme_window_list_icon_size = 36;
   34.42 ++    config_theme_cornerradius = 0;
   34.43 ++    config_theme_menuradius = TRUE;
   34.44 + 
   34.45 +     config_font_activewindow = NULL;
   34.46 +     config_font_inactivewindow = NULL;
   34.47 +--- a/openbox/frame.c	2013-08-11 18:33:24.000000000 -0700
   34.48 ++++ b/openbox/frame.c	2017-03-06 14:35:56.088377603 -0700
   34.49 +@@ -334,6 +334,31 @@
   34.50 + #endif
   34.51 + }
   34.52 + 
   34.53 ++void frame_round_corners(Window window)
   34.54 ++{
   34.55 ++    XWindowAttributes win_attr;
   34.56 ++    XGetWindowAttributes(obt_display, window, &win_attr);
   34.57 ++    int width = win_attr.width + win_attr.border_width;
   34.58 ++    int height = win_attr.height + win_attr.border_width;
   34.59 ++    Pixmap mask = XCreatePixmap(obt_display, window, width, height, 1);
   34.60 ++    XGCValues xgcv;
   34.61 ++    GC shape_gc = XCreateGC(obt_display, mask, 0, &xgcv);
   34.62 ++    int rad = config_theme_cornerradius;
   34.63 ++    int dia = 2 * rad;
   34.64 ++    XSetForeground(obt_display, shape_gc, 0);
   34.65 ++    XFillRectangle(obt_display, mask, shape_gc, 0, 0, width, height);
   34.66 ++    XSetForeground(obt_display, shape_gc, 1);
   34.67 ++    XFillArc(obt_display, mask, shape_gc, 0, 0, dia, dia, 0, 23040);
   34.68 ++    XFillArc(obt_display, mask, shape_gc, width-dia-1, 0, dia, dia, 0, 23040);
   34.69 ++    XFillArc(obt_display, mask, shape_gc, 0, height-dia-1, dia, dia, 0, 23040);
   34.70 ++    XFillArc(obt_display, mask, shape_gc, width-dia-1, height-dia-1, dia, dia,
   34.71 ++        0, 23040);
   34.72 ++    XFillRectangle(obt_display, mask, shape_gc, rad, 0, width-dia, height);
   34.73 ++    XFillRectangle(obt_display, mask, shape_gc, 0, rad, width, height-dia);
   34.74 ++    XShapeCombineMask(obt_display, window, ShapeBounding, 0, 0, mask, ShapeSet);
   34.75 ++    XFreePixmap(obt_display, mask);
   34.76 ++}
   34.77 ++
   34.78 + void frame_adjust_area(ObFrame *self, gboolean moved,
   34.79 +                        gboolean resized, gboolean fake)
   34.80 + {
   34.81 +@@ -857,7 +882,6 @@
   34.82 + 
   34.83 +         if (resized) {
   34.84 +             self->need_render = TRUE;
   34.85 +-            framerender_frame(self);
   34.86 +             frame_adjust_shape(self);
   34.87 +         }
   34.88 + 
   34.89 +@@ -884,7 +908,9 @@
   34.90 +     {
   34.91 +         XResizeWindow(obt_display, self->label, self->label_width,
   34.92 +                       ob_rr_theme->label_height);
   34.93 ++	self->need_render = TRUE;
   34.94 +     }
   34.95 ++    framerender_frame(self);
   34.96 + }
   34.97 + 
   34.98 + static void frame_adjust_cursors(ObFrame *self)
   34.99 +@@ -958,6 +984,8 @@
  34.100 +     XMoveResizeWindow(obt_display, self->backfront, 0, 0,
  34.101 +                       self->client->area.width,
  34.102 +                       self->client->area.height);
  34.103 ++    self->need_render = TRUE;
  34.104 ++    framerender_frame(self);
  34.105 + }
  34.106 + 
  34.107 + void frame_adjust_state(ObFrame *self)
  34.108 +--- a/openbox/framerender.c	2013-08-11 18:33:24.000000000 -0700
  34.109 ++++ b/openbox/framerender.c	2017-03-06 14:35:56.088377603 -0700
  34.110 +@@ -21,6 +21,7 @@
  34.111 + #include "openbox.h"
  34.112 + #include "screen.h"
  34.113 + #include "client.h"
  34.114 ++#include "config.h"
  34.115 + #include "framerender.h"
  34.116 + #include "obrender/theme.h"
  34.117 + 
  34.118 +@@ -42,6 +43,9 @@
  34.119 +         return;
  34.120 +     self->need_render = FALSE;
  34.121 + 
  34.122 ++    if ( !self->max_horz && !self->max_vert && config_theme_cornerradius )
  34.123 ++        frame_round_corners(self->window);
  34.124 ++
  34.125 +     {
  34.126 +         gulong px;
  34.127 + 
  34.128 +--- a/openbox/menuframe.c	2013-08-11 18:33:24.000000000 -0700
  34.129 ++++ b/openbox/menuframe.c	2017-03-06 14:35:56.088377603 -0700
  34.130 +@@ -17,6 +17,7 @@
  34.131 +    See the COPYING file for a copy of the GNU General Public License.
  34.132 + */
  34.133 + 
  34.134 ++#include "frame.h"
  34.135 + #include "menuframe.h"
  34.136 + #include "client.h"
  34.137 + #include "menu.h"
  34.138 +@@ -838,6 +839,9 @@
  34.139 + 
  34.140 +     RECT_SET_SIZE(self->area, w, h);
  34.141 + 
  34.142 ++    if ( config_theme_menuradius )
  34.143 ++        frame_round_corners(self->window);
  34.144 ++
  34.145 +     XFlush(obt_display);
  34.146 + }
    35.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    35.2 +++ b/openbox/stuff/patches/openbox-slitaz.patch	Thu Jun 22 20:59:17 2017 +0300
    35.3 @@ -0,0 +1,16 @@
    35.4 +SliTaz GNU/Linux patch to Openbox 3.6.1.
    35.5 +
    35.6 +--- a/data/xsession/openbox.desktop.in
    35.7 ++++ b/data/xsession/openbox.desktop.in
    35.8 +@@ -1,7 +1,9 @@
    35.9 + [Desktop Entry]
   35.10 +-Name=Openbox
   35.11 ++Type=XSession
   35.12 ++Name=Openbox Session
   35.13 ++Name[pt]=Sessão Openbox
   35.14 ++Name[ru]=Сеанс OpenBox
   35.15 + Comment=Log in using the Openbox window manager (without a session manager)
   35.16 + Exec=@bindir@/openbox-session
   35.17 + TryExec=@bindir@/openbox-session
   35.18 + Icon=openbox
   35.19 +-Type=Application
    36.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    36.2 +++ b/openbox/stuff/patches/series	Thu Jun 22 20:59:17 2017 +0300
    36.3 @@ -0,0 +1,27 @@
    36.4 +# taken from Debian
    36.5 +# <https://github.com/mati75/openbox-debian>
    36.6 +
    36.7 +#03_place_windows_in_quadrants.patch ## Needs to be ported
    36.8 +04_fix_xml_load_file.patch
    36.9 +05_openbox-3.5.0-title-matching.patch
   36.10 +08_autostart-fix.patch
   36.11 +704724_fix_refers-to-autostart.sh.patch
   36.12 +719620_fix_show_startup_notification.patch
   36.13 +808138_Replace-getgrent-with-getgroups.patch
   36.14 +d9a405e9.patch
   36.15 +fix-spelling-error-in-binary.patch
   36.16 +
   36.17 +
   36.18 +# taken from RPi
   36.19 +# <http://archive.raspberrypi.org/debian/pool/ui/o/openbox/openbox_3.5.2-8+rpi3.debian.tar.xz>
   36.20 +
   36.21 +#update_pl_po.patch # seems already applied
   36.22 +#14_pi_corners.patch # invisible handles are buggy :(
   36.23 +15_race_fix.patch
   36.24 +
   36.25 +
   36.26 +# SliTaz patches
   36.27 +
   36.28 +openbox-rounded.patch # instead of 14_pi_corners.patch
   36.29 +openbox-no-gnome-no-kde.patch
   36.30 +openbox-slitaz.patch
    37.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    37.2 +++ b/openbox/stuff/patches/update_pl_po.patch	Thu Jun 22 20:59:17 2017 +0300
    37.3 @@ -0,0 +1,627 @@
    37.4 +Description: Update Polish language patch.
    37.5 +Author: Mateusz Łukasik <mati75@linuxmint.pl>
    37.6 +
    37.7 +--- a/po/pl.po
    37.8 ++++ b/po/pl.po
    37.9 +@@ -5,83 +5,79 @@
   37.10 + # Paweł Rusinek <p.rusinek@gmail.com>, 2007.
   37.11 + # Piotr Drąg <raven@pmail.pl>, 2007.
   37.12 + # Jakub Łojewski <lojewski@ovi.com>, 2010.
   37.13 ++# Jakub Błażejczyk <kuboslawik@gmail.com>, 2013.
   37.14 + #
   37.15 + msgid ""
   37.16 + msgstr ""
   37.17 + "Project-Id-Version: Openbox 3.4.3\n"
   37.18 + "Report-Msgid-Bugs-To: http://bugzilla.icculus.org\n"
   37.19 +-"POT-Creation-Date: 2013-08-11 13:47-0400\n"
   37.20 +-"PO-Revision-Date: 2013-06-13 20:37+0100\n"
   37.21 +-"Last-Translator: Piotr Strębski <strebski@o2.pl>\n"
   37.22 +-"Language-Team: Polish <pl@li.org>\n"
   37.23 +-"Language: Polish\n"
   37.24 ++"POT-Creation-Date: 2010-03-11 14:26+0100\n"
   37.25 ++"PO-Revision-Date: 2013-10-06 15:08+0200\n"
   37.26 ++"Last-Translator: Jakub Błażejczyk\n"
   37.27 ++"Language-Team: polski <kuboslawik@gmail.com>\n"
   37.28 + "MIME-Version: 1.0\n"
   37.29 + "Content-Type: text/plain; charset=UTF-8\n"
   37.30 + "Content-Transfer-Encoding: 8bit\n"
   37.31 +-"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
   37.32 +-"|| n%100>=20) ? 1 : 2);\n"
   37.33 +-"X-Generator: Poedit 1.5.4\n"
   37.34 + 
   37.35 +-#: openbox/actions.c:216
   37.36 ++#: openbox/actions.c:149
   37.37 + #, c-format
   37.38 + msgid "Invalid action \"%s\" requested. No such action exists."
   37.39 +-msgstr ""
   37.40 +-"Zażądano niepoprawnego polecenia \"%s\". Takowe polecenie nie istnieje."
   37.41 ++msgstr "Wywołana akcja \"%s\" nie istnieje."
   37.42 + 
   37.43 +-#: openbox/actions/execute.c:245
   37.44 ++#: openbox/actions/execute.c:128
   37.45 + msgid "No"
   37.46 + msgstr "Nie"
   37.47 + 
   37.48 +-#: openbox/actions/execute.c:246
   37.49 ++#: openbox/actions/execute.c:129
   37.50 + msgid "Yes"
   37.51 + msgstr "Tak"
   37.52 + 
   37.53 +-#: openbox/actions/execute.c:250
   37.54 ++#: openbox/actions/execute.c:133
   37.55 + msgid "Execute"
   37.56 + msgstr "Wykonaj"
   37.57 + 
   37.58 +-#: openbox/actions/execute.c:259
   37.59 ++#: openbox/actions/execute.c:142
   37.60 + #, c-format
   37.61 + msgid "Failed to convert the path \"%s\" from utf8"
   37.62 + msgstr "Nie można przekonwertować ścieżki \"%s\" z UTF-8"
   37.63 + 
   37.64 +-#: openbox/actions/exit.c:69 openbox/client.c:3659
   37.65 ++#: openbox/actions/exit.c:62 openbox/client.c:3506
   37.66 + msgid "Cancel"
   37.67 + msgstr "Anuluj"
   37.68 + 
   37.69 +-#: openbox/actions/exit.c:70
   37.70 ++#: openbox/actions/exit.c:63
   37.71 + msgid "Exit"
   37.72 + msgstr "Wyjście"
   37.73 + 
   37.74 +-#: openbox/actions/exit.c:74
   37.75 ++#: openbox/actions/exit.c:67
   37.76 + msgid "Are you sure you want to log out?"
   37.77 + msgstr "Czy na pewno chcesz się wylogować?"
   37.78 + 
   37.79 +-#: openbox/actions/exit.c:75
   37.80 ++#: openbox/actions/exit.c:68
   37.81 + msgid "Log Out"
   37.82 + msgstr "Wyloguj"
   37.83 + 
   37.84 +-#: openbox/actions/exit.c:78
   37.85 ++#: openbox/actions/exit.c:71
   37.86 + msgid "Are you sure you want to exit Openbox?"
   37.87 + msgstr "Czy na pewno chcesz opuścić Openboksa?"
   37.88 + 
   37.89 +-#: openbox/actions/exit.c:79
   37.90 ++#: openbox/actions/exit.c:72
   37.91 + msgid "Exit Openbox"
   37.92 + msgstr "Opuść Openbox"
   37.93 + 
   37.94 +-#: openbox/client.c:2115
   37.95 ++#: openbox/client.c:2024
   37.96 + msgid "Unnamed Window"
   37.97 + msgstr "Okno bez nazwy"
   37.98 + 
   37.99 +-#: openbox/client.c:2129 openbox/client.c:2160
  37.100 ++#: openbox/client.c:2038 openbox/client.c:2070
  37.101 + msgid "Killing..."
  37.102 + msgstr "Kończenie..."
  37.103 + 
  37.104 +-#: openbox/client.c:2131 openbox/client.c:2162
  37.105 ++#: openbox/client.c:2040 openbox/client.c:2072
  37.106 + msgid "Not Responding"
  37.107 + msgstr "Nie odpowiada"
  37.108 + 
  37.109 +-#: openbox/client.c:3648
  37.110 ++#: openbox/client.c:3495
  37.111 + #, c-format
  37.112 + msgid ""
  37.113 + "The window \"%s\" does not seem to be responding.  Do you want to force it "
  37.114 +@@ -90,164 +86,149 @@ msgstr ""
  37.115 + "Okno \"%s\" nie odpowiada. Czy wymusić zakończenie poprzez wysłanie sygnału "
  37.116 + "%s?"
  37.117 + 
  37.118 +-#: openbox/client.c:3650
  37.119 ++#: openbox/client.c:3497
  37.120 + msgid "End Process"
  37.121 + msgstr "Zakończ proces"
  37.122 + 
  37.123 +-#: openbox/client.c:3654
  37.124 ++#: openbox/client.c:3501
  37.125 + #, c-format
  37.126 + msgid ""
  37.127 + "The window \"%s\" does not seem to be responding.  Do you want to disconnect "
  37.128 + "it from the X server?"
  37.129 + msgstr "Okno \"%s\" nie odpowiada. Odłączyć je od serwera X?"
  37.130 + 
  37.131 +-#: openbox/client.c:3656
  37.132 ++#: openbox/client.c:3503
  37.133 + msgid "Disconnect"
  37.134 + msgstr "Odłącz"
  37.135 + 
  37.136 +-#: openbox/client_list_combined_menu.c:93 openbox/client_list_menu.c:90
  37.137 ++#: openbox/client_list_combined_menu.c:87 openbox/client_list_menu.c:91
  37.138 + msgid "Go there..."
  37.139 + msgstr "Przejdź..."
  37.140 + 
  37.141 +-#: openbox/client_list_combined_menu.c:100
  37.142 ++#: openbox/client_list_combined_menu.c:94
  37.143 + msgid "Manage desktops"
  37.144 + msgstr "Zarządzaj pulpitami"
  37.145 + 
  37.146 +-#: openbox/client_list_combined_menu.c:101 openbox/client_list_menu.c:166
  37.147 ++#: openbox/client_list_combined_menu.c:95 openbox/client_list_menu.c:155
  37.148 + msgid "_Add new desktop"
  37.149 + msgstr "Dod_aj nowy pulpit"
  37.150 + 
  37.151 +-#: openbox/client_list_combined_menu.c:102 openbox/client_list_menu.c:167
  37.152 ++#: openbox/client_list_combined_menu.c:96 openbox/client_list_menu.c:156
  37.153 + msgid "_Remove last desktop"
  37.154 + msgstr "_Usuń ostatni pulpit"
  37.155 + 
  37.156 +-#: openbox/client_list_combined_menu.c:157
  37.157 ++#: openbox/client_list_combined_menu.c:149
  37.158 + msgid "Windows"
  37.159 + msgstr "Okna"
  37.160 + 
  37.161 +-#: openbox/client_list_menu.c:214
  37.162 ++#: openbox/client_list_menu.c:203
  37.163 + msgid "Desktops"
  37.164 + msgstr "Pulpity"
  37.165 + 
  37.166 +-#: openbox/client_menu.c:259
  37.167 ++#: openbox/client_menu.c:258
  37.168 + msgid "All desktops"
  37.169 + msgstr "Wszystkie pulpity"
  37.170 + 
  37.171 +-#: openbox/client_menu.c:371
  37.172 ++#: openbox/client_menu.c:370
  37.173 + msgid "_Layer"
  37.174 + msgstr "_Warstwa"
  37.175 + 
  37.176 +-#: openbox/client_menu.c:376
  37.177 ++#: openbox/client_menu.c:375
  37.178 + msgid "Always on _top"
  37.179 + msgstr "Zawsze na _wierzchu"
  37.180 + 
  37.181 +-#: openbox/client_menu.c:377
  37.182 ++#: openbox/client_menu.c:376
  37.183 + msgid "_Normal"
  37.184 + msgstr "_Normalnie"
  37.185 + 
  37.186 +-#: openbox/client_menu.c:378
  37.187 ++#: openbox/client_menu.c:377
  37.188 + msgid "Always on _bottom"
  37.189 + msgstr "Zawsze pod _spodem"
  37.190 + 
  37.191 +-#: openbox/client_menu.c:380
  37.192 ++#: openbox/client_menu.c:379
  37.193 + msgid "_Send to desktop"
  37.194 + msgstr "Wyślij na p_ulpit"
  37.195 + 
  37.196 +-#: openbox/client_menu.c:384
  37.197 ++#: openbox/client_menu.c:383
  37.198 + msgid "Client menu"
  37.199 + msgstr "Menu klienta"
  37.200 + 
  37.201 +-#: openbox/client_menu.c:394
  37.202 ++#: openbox/client_menu.c:393
  37.203 + msgid "R_estore"
  37.204 + msgstr "P_rzywróć"
  37.205 + 
  37.206 +-#: openbox/client_menu.c:398
  37.207 ++#: openbox/client_menu.c:397
  37.208 + msgid "_Move"
  37.209 + msgstr "_Przesuń"
  37.210 + 
  37.211 +-#: openbox/client_menu.c:400
  37.212 ++#: openbox/client_menu.c:399
  37.213 + msgid "Resi_ze"
  37.214 + msgstr "Zmień _rozmiar"
  37.215 + 
  37.216 +-#: openbox/client_menu.c:402
  37.217 ++#: openbox/client_menu.c:401
  37.218 + msgid "Ico_nify"
  37.219 + msgstr "Zmi_nimalizuj"
  37.220 + 
  37.221 +-#: openbox/client_menu.c:406
  37.222 ++#: openbox/client_menu.c:405
  37.223 + msgid "Ma_ximize"
  37.224 + msgstr "Zma_ksymalizuj"
  37.225 + 
  37.226 +-#: openbox/client_menu.c:410
  37.227 ++#: openbox/client_menu.c:409
  37.228 + msgid "_Roll up/down"
  37.229 + msgstr "_Zwiń/Rozwiń"
  37.230 + 
  37.231 +-#: openbox/client_menu.c:414
  37.232 ++#: openbox/client_menu.c:411
  37.233 + msgid "Un/_Decorate"
  37.234 + msgstr "Wyświetl/ukryj _dekoracje"
  37.235 + 
  37.236 +-#: openbox/client_menu.c:418
  37.237 ++#: openbox/client_menu.c:415
  37.238 + msgid "_Close"
  37.239 + msgstr "Z_amknij"
  37.240 + 
  37.241 +-#: openbox/config.c:556
  37.242 +-#, c-format
  37.243 +-msgid "Invalid context \"%s\" in mouse binding"
  37.244 +-msgstr "Nieprawidłowy kontekst \"%s\" w skrócie myszy"
  37.245 +-
  37.246 +-#: openbox/config.c:908
  37.247 ++#: openbox/config.c:798
  37.248 + #, c-format
  37.249 + msgid "Invalid button \"%s\" specified in config file"
  37.250 +-msgstr "Nieprawidłowy przycisk \"%s\" określony w pliku konfiguracyjnym"
  37.251 +-
  37.252 +-#: openbox/config.c:933
  37.253 +-msgid ""
  37.254 +-"Openbox was compiled without image loading support. Icons in menus will not "
  37.255 +-"be loaded."
  37.256 +-msgstr ""
  37.257 ++msgstr "Nieprawidłowy klawisz \"%s\" określony w pliku konfiguracyjnym"
  37.258 + 
  37.259 +-#: openbox/debug.c:57
  37.260 +-#, c-format
  37.261 +-msgid "Unable to make directory '%s': %s"
  37.262 +-msgstr ""
  37.263 +-
  37.264 +-#: openbox/debug.c:195 openbox/openbox.c:377
  37.265 +-msgid "Close"
  37.266 +-msgstr "Zamknij"
  37.267 +-
  37.268 +-#: openbox/keyboard.c:161
  37.269 ++#: openbox/keyboard.c:157
  37.270 + msgid "Conflict with key binding in config file"
  37.271 + msgstr "Konflikt skrótów klawiszowych w pliku konfiguracyjnym"
  37.272 + 
  37.273 +-#: openbox/menu.c:103 openbox/menu.c:115
  37.274 ++#: openbox/menu.c:102 openbox/menu.c:110
  37.275 + #, c-format
  37.276 + msgid "Unable to find a valid menu file \"%s\""
  37.277 + msgstr "Nie można znaleźć prawidłowego pliku menu \"%s\""
  37.278 + 
  37.279 +-#: openbox/menu.c:168
  37.280 ++#: openbox/menu.c:170
  37.281 + #, c-format
  37.282 + msgid "Failed to execute command for pipe-menu \"%s\": %s"
  37.283 + msgstr "Wykonanie polecenia dla pipe-menu \"%s\" nie powiodło się: %s"
  37.284 + 
  37.285 +-#: openbox/menu.c:182
  37.286 ++#: openbox/menu.c:184
  37.287 + #, c-format
  37.288 + msgid "Invalid output from pipe-menu \"%s\""
  37.289 + msgstr "Nieprawidłowe wyjście z pipe-menu \"%s\""
  37.290 + 
  37.291 +-#: openbox/menu.c:195
  37.292 ++#: openbox/menu.c:197
  37.293 + #, c-format
  37.294 + msgid "Attempted to access menu \"%s\" but it does not exist"
  37.295 + msgstr "Spróbowano uzyskać dostęp do menu \"%s\", ale ono nie istnieje"
  37.296 + 
  37.297 +-#: openbox/menu.c:411 openbox/menu.c:412
  37.298 ++#: openbox/menu.c:370 openbox/menu.c:371
  37.299 + msgid "More..."
  37.300 + msgstr "Więcej..."
  37.301 + 
  37.302 +-#: openbox/mouse.c:382
  37.303 ++#: openbox/mouse.c:373
  37.304 + #, c-format
  37.305 + msgid "Invalid button \"%s\" in mouse binding"
  37.306 + msgstr "Nieprawidłowy klawisz \"%s\" w skrócie myszy"
  37.307 + 
  37.308 +-#: openbox/openbox.c:137
  37.309 ++#: openbox/mouse.c:379
  37.310 ++#, c-format
  37.311 ++msgid "Invalid context \"%s\" in mouse binding"
  37.312 ++msgstr "Nieprawidłowy kontekst \"%s\" w skrócie myszy"
  37.313 ++
  37.314 ++#: openbox/openbox.c:133
  37.315 + #, c-format
  37.316 + msgid "Unable to change to home directory \"%s\": %s"
  37.317 + msgstr "Nie można przejść do katalogu domowego \"%s\": %s"
  37.318 +@@ -256,60 +237,64 @@ msgstr "Nie można przejść do katalogu
  37.319 + msgid "Failed to open the display from the DISPLAY environment variable."
  37.320 + msgstr "Otwarcie ekranu ze zmiennej środowiskowej DISPLAY nie powiodło się."
  37.321 + 
  37.322 +-#: openbox/openbox.c:182
  37.323 ++#: openbox/openbox.c:183
  37.324 + msgid "Failed to initialize the obrender library."
  37.325 + msgstr "Zainicjowanie biblioteki obrender nie powiodło się."
  37.326 + 
  37.327 +-#: openbox/openbox.c:193
  37.328 ++#: openbox/openbox.c:194
  37.329 + msgid "X server does not support locale."
  37.330 + msgstr "Serwer X nie obsługuje ustawień lokalnych."
  37.331 + 
  37.332 +-#: openbox/openbox.c:195
  37.333 ++#: openbox/openbox.c:196
  37.334 + msgid "Cannot set locale modifiers for the X server."
  37.335 + msgstr "Nie można ustawić modyfikatorów lokalnych dla serwera X."
  37.336 + 
  37.337 +-#: openbox/openbox.c:254
  37.338 ++#: openbox/openbox.c:265
  37.339 + msgid "Unable to find a valid config file, using some simple defaults"
  37.340 + msgstr ""
  37.341 +-"Nie można znaleźć prawidłowego pliku konfiguracyjnego, używanie domyślnych "
  37.342 +-"wartości."
  37.343 ++"Nie można znaleźć prawidłowego pliku konfiguracyjnego, używanie "
  37.344 ++"domyślnychwartości"
  37.345 + 
  37.346 +-#: openbox/openbox.c:270
  37.347 ++#: openbox/openbox.c:299
  37.348 ++msgid "Unable to load a theme."
  37.349 ++msgstr "Nie można wczytać motywu."
  37.350 ++
  37.351 ++#: openbox/openbox.c:379
  37.352 + #, c-format
  37.353 + msgid ""
  37.354 + "One or more XML syntax errors were found while parsing the Openbox "
  37.355 + "configuration files.  See stdout for more information.  The last error seen "
  37.356 + "was in file \"%s\" line %d, with message: %s"
  37.357 + msgstr ""
  37.358 +-"Podczas sprawdzania plików konfiguracyjnych Openboksa zostało znalezionych "
  37.359 +-"jeden lub więcej błędów składniowych XML.  Zobacz stdout, aby uzyskać więcej "
  37.360 +-"informacji.  Ostatnio błąd znaleziono w pliku \"%s\", linia %d, z "
  37.361 +-"wiadomością: %s"
  37.362 +-
  37.363 +-#: openbox/openbox.c:295
  37.364 +-msgid "Unable to load a theme."
  37.365 +-msgstr "Nie można wczytać motywu."
  37.366 ++"Jeden lub więcej błędów składniowych XML zostało znalezionych podczas "
  37.367 ++"sprawdzania plików konfiguracyjnych. Zobacz stdout aby uzyskać więcej "
  37.368 ++"informacji. Ostatnio błąd znaleziono w pliku \"%s\" linia %d, z wiadomością: "
  37.369 ++"%s"
  37.370 + 
  37.371 +-#: openbox/openbox.c:376
  37.372 ++#: openbox/openbox.c:381
  37.373 + msgid "Openbox Syntax Error"
  37.374 + msgstr "Błąd składniowy Openboksa"
  37.375 + 
  37.376 +-#: openbox/openbox.c:442
  37.377 ++#: openbox/openbox.c:381
  37.378 ++msgid "Close"
  37.379 ++msgstr "Zamknij"
  37.380 ++
  37.381 ++#: openbox/openbox.c:463
  37.382 + #, c-format
  37.383 + msgid "Restart failed to execute new executable \"%s\": %s"
  37.384 + msgstr ""
  37.385 +-"Wykonanie nowego pliku wykonywalnego \"%s\" podczas ponownego uruchomienia "
  37.386 +-"nie powiodło się: %s"
  37.387 ++"Wykonanie nowego pliku wykonywalnego \"%s\" podczas ponownego "
  37.388 ++"uruchomienianie powiodło się: %s"
  37.389 + 
  37.390 +-#: openbox/openbox.c:521 openbox/openbox.c:523
  37.391 ++#: openbox/openbox.c:533 openbox/openbox.c:535
  37.392 + msgid "Copyright (c)"
  37.393 +-msgstr "Prawa autorskie (c)"
  37.394 ++msgstr "Copyright (c)"
  37.395 + 
  37.396 +-#: openbox/openbox.c:532
  37.397 ++#: openbox/openbox.c:544
  37.398 + msgid "Syntax: openbox [options]\n"
  37.399 + msgstr "Składnia: openbox [opcje]\n"
  37.400 + 
  37.401 +-#: openbox/openbox.c:533
  37.402 ++#: openbox/openbox.c:545
  37.403 + msgid ""
  37.404 + "\n"
  37.405 + "Options:\n"
  37.406 +@@ -317,30 +302,30 @@ msgstr ""
  37.407 + "\n"
  37.408 + "Opcje:\n"
  37.409 + 
  37.410 +-#: openbox/openbox.c:534
  37.411 ++#: openbox/openbox.c:546
  37.412 + msgid "  --help              Display this help and exit\n"
  37.413 + msgstr "  --help              Wyświetla tę pomoc i kończy\n"
  37.414 + 
  37.415 +-#: openbox/openbox.c:535
  37.416 ++#: openbox/openbox.c:547
  37.417 + msgid "  --version           Display the version and exit\n"
  37.418 + msgstr "  --version           Wyświetla wersję i kończy\n"
  37.419 + 
  37.420 +-#: openbox/openbox.c:536
  37.421 ++#: openbox/openbox.c:548
  37.422 + msgid "  --replace           Replace the currently running window manager\n"
  37.423 + msgstr "  --replace           Zastępuje aktualnie działający menedżer okien\n"
  37.424 + 
  37.425 + #. TRANSLATORS: if you translate "FILE" here, make sure to keep the "Specify..."
  37.426 + #. aligned still, if you have to, make a new line with \n and 22 spaces. It's
  37.427 + #. fine to leave it as FILE though.
  37.428 +-#: openbox/openbox.c:540
  37.429 ++#: openbox/openbox.c:552
  37.430 + msgid "  --config-file FILE  Specify the path to the config file to use\n"
  37.431 +-msgstr "  --config-file PLIK  Podaj ścieżkę do pliku konfiguracji\n"
  37.432 ++msgstr "  --config-file FILE  Podaj ścieżkę do pliku konfiguracji\n"
  37.433 + 
  37.434 +-#: openbox/openbox.c:541
  37.435 ++#: openbox/openbox.c:553
  37.436 + msgid "  --sm-disable        Disable connection to the session manager\n"
  37.437 +-msgstr "  --sm-disable        Wyłączenie połączenia z menedżerem sesji\n"
  37.438 ++msgstr "  --sm-disable        Nie tworzy połączenia z menedżerem sesji\n"
  37.439 + 
  37.440 +-#: openbox/openbox.c:542
  37.441 ++#: openbox/openbox.c:554
  37.442 + msgid ""
  37.443 + "\n"
  37.444 + "Passing messages to a running Openbox instance:\n"
  37.445 +@@ -348,53 +333,44 @@ msgstr ""
  37.446 + "\n"
  37.447 + "Przekazywanie komunikatów do działającej instancji Openboksa:\n"
  37.448 + 
  37.449 +-#: openbox/openbox.c:543
  37.450 ++#: openbox/openbox.c:555
  37.451 + msgid "  --reconfigure       Reload Openbox's configuration\n"
  37.452 + msgstr "  --reconfigure       Ponownie wczytuje pliki konfiguracyjne\n"
  37.453 + 
  37.454 +-#: openbox/openbox.c:544
  37.455 ++#: openbox/openbox.c:556
  37.456 + msgid "  --restart           Restart Openbox\n"
  37.457 + msgstr "  --restart           Ponownie uruchamia Openboksa\n"
  37.458 + 
  37.459 +-#: openbox/openbox.c:545
  37.460 ++#: openbox/openbox.c:557
  37.461 + msgid "  --exit              Exit Openbox\n"
  37.462 +-msgstr "  --exit              Zakończa Openbox\n"
  37.463 ++msgstr "  --exit              Opuść Openbox\n"
  37.464 + 
  37.465 +-#: openbox/openbox.c:546
  37.466 ++#: openbox/openbox.c:558
  37.467 + msgid ""
  37.468 + "\n"
  37.469 + "Debugging options:\n"
  37.470 + msgstr ""
  37.471 + "\n"
  37.472 +-"Opcje odnajdywania błędów:\n"
  37.473 ++"Opcje debugowania:\n"
  37.474 + 
  37.475 +-#: openbox/openbox.c:547
  37.476 ++#: openbox/openbox.c:559
  37.477 + msgid "  --sync              Run in synchronous mode\n"
  37.478 + msgstr "  --sync              Uruchamia w trybie synchronicznym\n"
  37.479 + 
  37.480 +-#: openbox/openbox.c:548
  37.481 +-msgid "  --startup CMD       Run CMD after starting\n"
  37.482 +-msgstr ""
  37.483 +-
  37.484 +-#: openbox/openbox.c:549
  37.485 ++#: openbox/openbox.c:560
  37.486 + msgid "  --debug             Display debugging output\n"
  37.487 +-msgstr "  --debug             Wyświetla informacje o odnajdywaniu błędów\n"
  37.488 ++msgstr "  --debug             Wyświetla informacje o debugowaniu\n"
  37.489 + 
  37.490 +-#: openbox/openbox.c:550
  37.491 ++#: openbox/openbox.c:561
  37.492 + msgid "  --debug-focus       Display debugging output for focus handling\n"
  37.493 + msgstr ""
  37.494 +-"  --debug-focus       Wyświetla wyjście odnajdywania błędów dla obsługi "
  37.495 +-"aktywacji\n"
  37.496 +-
  37.497 +-#: openbox/openbox.c:551
  37.498 +-msgid "  --debug-session     Display debugging output for session management\n"
  37.499 +-msgstr ""
  37.500 ++"  --debug-focus       Wyświetla wyjście debugowania obsługi aktywacji\n"
  37.501 + 
  37.502 +-#: openbox/openbox.c:552
  37.503 ++#: openbox/openbox.c:562
  37.504 + msgid "  --debug-xinerama    Split the display into fake xinerama screens\n"
  37.505 + msgstr "  --debug-xinerama    Dzieli ekran na sztuczne ekrany xineramy\n"
  37.506 + 
  37.507 +-#: openbox/openbox.c:553
  37.508 ++#: openbox/openbox.c:563
  37.509 + #, c-format
  37.510 + msgid ""
  37.511 + "\n"
  37.512 +@@ -403,27 +379,26 @@ msgstr ""
  37.513 + "\n"
  37.514 + "Proszę zgłaszać błędy (w języku angielskim) pod adresem %s\n"
  37.515 + 
  37.516 +-#: openbox/openbox.c:636 openbox/openbox.c:670
  37.517 +-#, c-format
  37.518 +-msgid "%s requires an argument\n"
  37.519 +-msgstr "%s wymaga argumentu\n"
  37.520 ++#: openbox/openbox.c:645
  37.521 ++msgid "--config-file requires an argument\n"
  37.522 ++msgstr "--config-file wymaga argumentu\n"
  37.523 + 
  37.524 +-#: openbox/openbox.c:713
  37.525 ++#: openbox/openbox.c:688
  37.526 + #, c-format
  37.527 + msgid "Invalid command line argument \"%s\"\n"
  37.528 + msgstr "Nieprawidłowy argument wiersza poleceń \"%s\"\n"
  37.529 + 
  37.530 +-#: openbox/screen.c:106 openbox/screen.c:191
  37.531 ++#: openbox/screen.c:103 openbox/screen.c:191
  37.532 + #, c-format
  37.533 + msgid "A window manager is already running on screen %d"
  37.534 + msgstr "Menedżer okien jest już uruchomiony na ekranie %d"
  37.535 + 
  37.536 +-#: openbox/screen.c:127
  37.537 ++#: openbox/screen.c:125
  37.538 + #, c-format
  37.539 + msgid "Could not acquire window manager selection on screen %d"
  37.540 + msgstr "Nie można uzyskać wyboru menedżera okien na ekranie %d"
  37.541 + 
  37.542 +-#: openbox/screen.c:150
  37.543 ++#: openbox/screen.c:146
  37.544 + #, c-format
  37.545 + msgid "The WM on screen %d is not exiting"
  37.546 + msgstr "Menedżer okien na ekranie %d nie kończy działania"
  37.547 +@@ -441,21 +416,40 @@ msgid_plural ""
  37.548 + "Openbox is configured for %d desktops, but the current session has %d.  "
  37.549 + "Overriding the Openbox configuration."
  37.550 + msgstr[0] ""
  37.551 +-"Openbox jest skonfigurowany dla %d pulpitu, ale obecna sesja posiada ich "
  37.552 +-"%d.  Odrzucenie konfigurcji Openboksa."
  37.553 ++"Openbox jest skonfigurowany dla %d pulpitu, ale bieżąca sesja ma %d. "
  37.554 ++"Nadpisywanie konfiguracji Openboksa."
  37.555 + msgstr[1] ""
  37.556 +-"Openbox jest skonfigurowany dla %d pulpitów, ale obecna sesja posiada ich "
  37.557 +-"%d.  Odrzucenie konfigurcji Openboksa."
  37.558 ++"Openbox jest skonfigurowany dla %d pulpitu, ale bieżąca sesja ma %d. "
  37.559 ++"Nadpisywanie konfiguracji Openboksa."
  37.560 + msgstr[2] ""
  37.561 +-"Openbox jest skonfigurowany dla %d pulpitów, ale obecna sesja posiada ich "
  37.562 +-"%d.  Odrzucenie konfigurcji Openboksa."
  37.563 ++"Openbox jest skonfigurowany dla %d pulpitu, ale bieżąca sesja ma %d. "
  37.564 ++"Nadpisywanie konfiguracji Openboksa."
  37.565 + 
  37.566 +-#: openbox/screen.c:1204
  37.567 ++#: openbox/screen.c:1203
  37.568 + #, c-format
  37.569 + msgid "desktop %i"
  37.570 + msgstr "pulpit %i"
  37.571 + 
  37.572 +-#: openbox/startupnotify.c:241
  37.573 ++#: openbox/session.c:105
  37.574 ++#, c-format
  37.575 ++msgid "Unable to make directory \"%s\": %s"
  37.576 ++msgstr "Nie można utworzyć katalogu \"%s\": %s"
  37.577 ++
  37.578 ++#: openbox/session.c:472
  37.579 ++#, c-format
  37.580 ++msgid "Unable to save the session to \"%s\": %s"
  37.581 ++msgstr "Nie można zapisać sesji do \"%s\": %s"
  37.582 ++
  37.583 ++#: openbox/session.c:611
  37.584 ++#, c-format
  37.585 ++msgid "Error while saving the session to \"%s\": %s"
  37.586 ++msgstr "Wystąpił błąd podczas zapisywania sesji do \"%s\": %s"
  37.587 ++
  37.588 ++#: openbox/session.c:848
  37.589 ++msgid "Not connected to a session manager"
  37.590 ++msgstr "Nie podłączono do menedżera sesji"
  37.591 ++
  37.592 ++#: openbox/startupnotify.c:243
  37.593 + #, c-format
  37.594 + msgid "Running %s"
  37.595 + msgstr "Uruchamianie %s"
  37.596 +@@ -464,7 +458,7 @@ msgstr "Uruchamianie %s"
  37.597 + #, c-format
  37.598 + msgid "Invalid modifier key \"%s\" in key/mouse binding"
  37.599 + msgstr ""
  37.600 +-"Nieprawidłowy przycisk modyfikatora \"%s\" w skrócie klawiszowym lub myszy"
  37.601 ++"Nieprawidłowy klawisz modyfikatora \"%s\" w skrócie klawiszowym lub myszy"
  37.602 + 
  37.603 + #: openbox/translate.c:138
  37.604 + #, c-format
  37.605 +@@ -479,8 +473,23 @@ msgstr "Nieprawidłowa nazwa \"%s\" w sk
  37.606 + #: openbox/translate.c:151
  37.607 + #, c-format
  37.608 + msgid "Requested key \"%s\" does not exist on the display"
  37.609 +-msgstr "Żądany przycisk \"%s\" nie istnieje na ekranie"
  37.610 ++msgstr "Żądany klawisz \"%s\" nie istnieje na ekranie"
  37.611 + 
  37.612 +-#: openbox/prompt.c:154
  37.613 ++#: openbox/xerror.c:40
  37.614 ++#, c-format
  37.615 ++msgid "X Error: %s"
  37.616 ++msgstr "Błąd X: %s"
  37.617 ++
  37.618 ++#: openbox/prompt.c:200
  37.619 + msgid "OK"
  37.620 + msgstr "OK"
  37.621 ++
  37.622 ++#~ msgid ""
  37.623 ++#~ "The SessionLogout action is not available since Openbox was built without "
  37.624 ++#~ "session management support"
  37.625 ++#~ msgstr ""
  37.626 ++#~ "SessionLogout jest niedostępne, ponieważ Openbox został stworzony bez "
  37.627 ++#~ "wsparcia dla zarządzania sesją"
  37.628 ++
  37.629 ++#~ msgid "Failed to execute \"%s\": %s"
  37.630 ++#~ msgstr "Wykonanie \"%s\" nie powiodło się: %s"
    38.1 --- a/openbox/stuff/xsessions/openbox.desktop	Tue Jun 20 03:48:54 2017 +0300
    38.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    38.3 @@ -1,9 +0,0 @@
    38.4 -[Desktop Entry]
    38.5 -Encoding=UTF-8
    38.6 -Type=XSession
    38.7 -Name=OpenBox Session
    38.8 -Name[pt]=Sessão Openbox
    38.9 -Name[pt_BR]=Sessão Openbox
   38.10 -Name[ru]=Сеанс OpenBox
   38.11 -Icon=openbox
   38.12 -Exec=openbox-session
    39.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    39.2 +++ b/openjade/receipt	Thu Jun 22 20:59:17 2017 +0300
    39.3 @@ -0,0 +1,76 @@
    39.4 +# SliTaz package receipt v2.
    39.5 +
    39.6 +PACKAGE="openjade"
    39.7 +VERSION="1.3.2"
    39.8 +CATEGORY="development"
    39.9 +SHORT_DESC="Implementation of the DSSSL language"
   39.10 +MAINTAINER="al.bobylev@gmail.com"
   39.11 +LICENSE="custom"
   39.12 +WEB_SITE="http://openjade.sourceforge.net/"
   39.13 +
   39.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
   39.15 +WGET_URL="$SF_MIRROR/openjade/$TARBALL"
   39.16 +
   39.17 +BUILD_DEPENDS="patch opensp-dev automake texinfo perl"
   39.18 +SPLIT="openjade-dev"
   39.19 +
   39.20 +# Rules to configure and make the package.
   39.21 +compile_rules()
   39.22 +{
   39.23 +	sed -i -e '/getopts/{N;s#&G#g#;s#do .getopts.pl.;##;}' \
   39.24 +		-e '/use POSIX/ause Getopt::Std;' msggen.pl
   39.25 +
   39.26 +	export CXXFLAGS="$CXXFLAGS -fno-lifetime-dse" &&
   39.27 +	./configure \
   39.28 +		--mandir=/usr/share/man \
   39.29 +		--enable-http \
   39.30 +		--disable-static \
   39.31 +		--enable-default-catalog=/etc/sgml/catalog \
   39.32 +		--enable-default-search-path=/usr/share/sgml \
   39.33 +		--datadir=/usr/share/sgml/openjade-$VERSION \
   39.34 +		$CONFIGURE_ARGS &&
   39.35 +	make && make DESTDIR="$install" install install-man &&
   39.36 +
   39.37 +	ln -vsf openjade       $install/usr/bin/jade &&
   39.38 +	ln -vsf libogrove.so   $install/usr/lib/libgrove.so &&
   39.39 +	ln -vsf libospgrove.so $install/usr/lib/libspgrove.so &&
   39.40 +	ln -vsf libostyle.so   $install/usr/lib/libstyle.so &&
   39.41 +
   39.42 +	install -v -m644 dsssl/catalog dsssl/*.dtd dsssl/*.dsl dsssl/*.sgm \
   39.43 +		$install/usr/share/sgml/openjade-$VERSION &&
   39.44 +
   39.45 +	echo 'SYSTEM "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" "/usr/share/xml/docbook/xml-dtd-4.5/docbookx.dtd"' >> \
   39.46 +		$install/usr/share/sgml/openjade-$VERSION/catalog
   39.47 +}
   39.48 +
   39.49 +# Rules to gen a SliTaz package suitable for Tazpkg.
   39.50 +genpkg_rules()
   39.51 +{
   39.52 +	case $PACKAGE in
   39.53 +		openjade) copy @std; DEPENDS="sgml-common opensp";;
   39.54 +		*-dev)    copy @dev;;
   39.55 +	esac
   39.56 +}
   39.57 +
   39.58 +pre_remove() {
   39.59 +	local p1="/etc/sgml/openjade-$VERSION.cat"
   39.60 +	local p2="/etc/sgml/sgml-docbook.cat"
   39.61 +	local p3="/usr/share/sgml/openjade-$VERSION/catalog"
   39.62 +
   39.63 +	touch  "$1/etc/sgml/catalog"
   39.64 +	chroot "$1/" install-catalog --remove $p1 $p3 >/dev/null
   39.65 +	chroot "$1/" install-catalog --remove $p2 $p1 >/dev/null
   39.66 +}
   39.67 +
   39.68 +post_install() {
   39.69 +	local p1="/etc/sgml/openjade-$VERSION.cat"
   39.70 +	local p2="/etc/sgml/sgml-docbook.cat"
   39.71 +	local p3="/usr/share/sgml/openjade-$VERSION/catalog"
   39.72 +
   39.73 +	# Remove the catalog items prior to upgrading
   39.74 +	[ -e "$1$p1" -a "$1$p2" ] && pre_remove
   39.75 +
   39.76 +	touch "$1/etc/sgml/catalog" "$1$p1" "$1$p2"
   39.77 +	chroot "$1/" install-catalog --add $p1 $p3 >/dev/null
   39.78 +	chroot "$1/" install-catalog --add $p2 $p1 >/dev/null
   39.79 +}
    40.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    40.2 +++ b/openjade/stuff/patches/openjade-1.3.2-upstream-1.patch	Thu Jun 22 20:59:17 2017 +0300
    40.3 @@ -0,0 +1,22761 @@
    40.4 +Submitted By:            Bruce Dubbs <bdubbs_at_linuxfromscratch_dot_org>
    40.5 +Date:                    2017-02-19
    40.6 +Initial Package Version: 1.3.2
    40.7 +Upstream Status:         In debian files.  Otherwize package is unmantained.
    40.8 +Origin:                  Debian
    40.9 +Description:             Fixes segmentation faults with newer tool chain.
   40.10 +
   40.11 +--- openjade1.3-1.3.2.orig/Makefile.prog.in
   40.12 ++++ openjade1.3-1.3.2/Makefile.prog.in
   40.13 +@@ -13,6 +13,7 @@
   40.14 + ALL_LIBS = $(XLIBS) $(LIBS)
   40.15 + Makefile.lt:
   40.16 + 	echo 'LT_LIBS='`echo $(ALL_LIBS)|sed 's/\.a/.la/g'` >Makefile.lt
   40.17 ++	echo '.PHONY: -losp' >>Makefile.lt
   40.18 + 
   40.19 + PROG:=$(shell echo "$(PROG)" | sed '@program_transform_name@')
   40.20 + 
   40.21 +--- openjade1.3-1.3.2.orig/config.guess
   40.22 ++++ openjade1.3-1.3.2/config.guess
   40.23 +@@ -0,0 +1,1420 @@
   40.24 ++#! /bin/sh
   40.25 ++# Attempt to guess a canonical system name.
   40.26 ++#   Copyright 1992-2014 Free Software Foundation, Inc.
   40.27 ++
   40.28 ++timestamp='2014-03-23'
   40.29 ++
   40.30 ++# This file is free software; you can redistribute it and/or modify it
   40.31 ++# under the terms of the GNU General Public License as published by
   40.32 ++# the Free Software Foundation; either version 3 of the License, or
   40.33 ++# (at your option) any later version.
   40.34 ++#
   40.35 ++# This program is distributed in the hope that it will be useful, but
   40.36 ++# WITHOUT ANY WARRANTY; without even the implied warranty of
   40.37 ++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   40.38 ++# General Public License for more details.
   40.39 ++#
   40.40 ++# You should have received a copy of the GNU General Public License
   40.41 ++# along with this program; if not, see <http://www.gnu.org/licenses/>.
   40.42 ++#
   40.43 ++# As a special exception to the GNU General Public License, if you
   40.44 ++# distribute this file as part of a program that contains a
   40.45 ++# configuration script generated by Autoconf, you may include it under
   40.46 ++# the same distribution terms that you use for the rest of that
   40.47 ++# program.  This Exception is an additional permission under section 7
   40.48 ++# of the GNU General Public License, version 3 ("GPLv3").
   40.49 ++#
   40.50 ++# Originally written by Per Bothner.
   40.51 ++#
   40.52 ++# You can get the latest version of this script from:
   40.53 ++# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
   40.54 ++#
   40.55 ++# Please send patches with a ChangeLog entry to config-patches@gnu.org.
   40.56 ++
   40.57 ++
   40.58 ++me=`echo "$0" | sed -e 's,.*/,,'`
   40.59 ++
   40.60 ++usage="\
   40.61 ++Usage: $0 [OPTION]
   40.62 ++
   40.63 ++Output the configuration name of the system \`$me' is run on.
   40.64 ++
   40.65 ++Operation modes:
   40.66 ++  -h, --help         print this help, then exit
   40.67 ++  -t, --time-stamp   print date of last modification, then exit
   40.68 ++  -v, --version      print version number, then exit
   40.69 ++
   40.70 ++Report bugs and patches to <config-patches@gnu.org>."
   40.71 ++
   40.72 ++version="\
   40.73 ++GNU config.guess ($timestamp)
   40.74 ++
   40.75 ++Originally written by Per Bothner.
   40.76 ++Copyright 1992-2014 Free Software Foundation, Inc.
   40.77 ++
   40.78 ++This is free software; see the source for copying conditions.  There is NO
   40.79 ++warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
   40.80 ++
   40.81 ++help="
   40.82 ++Try \`$me --help' for more information."
   40.83 ++
   40.84 ++# Parse command line
   40.85 ++while test $# -gt 0 ; do
   40.86 ++  case $1 in
   40.87 ++    --time-stamp | --time* | -t )
   40.88 ++       echo "$timestamp" ; exit ;;
   40.89 ++    --version | -v )
   40.90 ++       echo "$version" ; exit ;;
   40.91 ++    --help | --h* | -h )
   40.92 ++       echo "$usage"; exit ;;
   40.93 ++    -- )     # Stop option processing
   40.94 ++       shift; break ;;
   40.95 ++    - )	# Use stdin as input.
   40.96 ++       break ;;
   40.97 ++    -* )
   40.98 ++       echo "$me: invalid option $1$help" >&2
   40.99 ++       exit 1 ;;
  40.100 ++    * )
  40.101 ++       break ;;
  40.102 ++  esac
  40.103 ++done
  40.104 ++
  40.105 ++if test $# != 0; then
  40.106 ++  echo "$me: too many arguments$help" >&2
  40.107 ++  exit 1
  40.108 ++fi
  40.109 ++
  40.110 ++trap 'exit 1' 1 2 15
  40.111 ++
  40.112 ++# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
  40.113 ++# compiler to aid in system detection is discouraged as it requires
  40.114 ++# temporary files to be created and, as you can see below, it is a
  40.115 ++# headache to deal with in a portable fashion.
  40.116 ++
  40.117 ++# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
  40.118 ++# use `HOST_CC' if defined, but it is deprecated.
  40.119 ++
  40.120 ++# Portable tmp directory creation inspired by the Autoconf team.
  40.121 ++
  40.122 ++set_cc_for_build='
  40.123 ++trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
  40.124 ++trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
  40.125 ++: ${TMPDIR=/tmp} ;
  40.126 ++ { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
  40.127 ++ { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
  40.128 ++ { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
  40.129 ++ { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
  40.130 ++dummy=$tmp/dummy ;
  40.131 ++tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
  40.132 ++case $CC_FOR_BUILD,$HOST_CC,$CC in
  40.133 ++ ,,)    echo "int x;" > $dummy.c ;
  40.134 ++	for c in cc gcc c89 c99 ; do
  40.135 ++	  if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
  40.136 ++	     CC_FOR_BUILD="$c"; break ;
  40.137 ++	  fi ;
  40.138 ++	done ;
  40.139 ++	if test x"$CC_FOR_BUILD" = x ; then
  40.140 ++	  CC_FOR_BUILD=no_compiler_found ;
  40.141 ++	fi
  40.142 ++	;;
  40.143 ++ ,,*)   CC_FOR_BUILD=$CC ;;
  40.144 ++ ,*,*)  CC_FOR_BUILD=$HOST_CC ;;
  40.145 ++esac ; set_cc_for_build= ;'
  40.146 ++
  40.147 ++# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
  40.148 ++# (ghazi@noc.rutgers.edu 1994-08-24)
  40.149 ++if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
  40.150 ++	PATH=$PATH:/.attbin ; export PATH
  40.151 ++fi
  40.152 ++
  40.153 ++UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
  40.154 ++UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
  40.155 ++UNAME_SYSTEM=`(uname -s) 2>/dev/null`  || UNAME_SYSTEM=unknown
  40.156 ++UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
  40.157 ++
  40.158 ++case "${UNAME_SYSTEM}" in
  40.159 ++Linux|GNU|GNU/*)
  40.160 ++	# If the system lacks a compiler, then just pick glibc.
  40.161 ++	# We could probably try harder.
  40.162 ++	LIBC=gnu
  40.163 ++
  40.164 ++	eval $set_cc_for_build
  40.165 ++	cat <<-EOF > $dummy.c
  40.166 ++	#include <features.h>
  40.167 ++	#if defined(__UCLIBC__)
  40.168 ++	LIBC=uclibc
  40.169 ++	#elif defined(__dietlibc__)
  40.170 ++	LIBC=dietlibc
  40.171 ++	#else
  40.172 ++	LIBC=gnu
  40.173 ++	#endif
  40.174 ++	EOF
  40.175 ++	eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`
  40.176 ++	;;
  40.177 ++esac
  40.178 ++
  40.179 ++# Note: order is significant - the case branches are not exclusive.
  40.180 ++
  40.181 ++case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
  40.182 ++    *:NetBSD:*:*)
  40.183 ++	# NetBSD (nbsd) targets should (where applicable) match one or
  40.184 ++	# more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
  40.185 ++	# *-*-netbsdecoff* and *-*-netbsd*.  For targets that recently
  40.186 ++	# switched to ELF, *-*-netbsd* would select the old
  40.187 ++	# object file format.  This provides both forward
  40.188 ++	# compatibility and a consistent mechanism for selecting the
  40.189 ++	# object file format.
  40.190 ++	#
  40.191 ++	# Note: NetBSD doesn't particularly care about the vendor
  40.192 ++	# portion of the name.  We always set it to "unknown".
  40.193 ++	sysctl="sysctl -n hw.machine_arch"
  40.194 ++	UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
  40.195 ++	    /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
  40.196 ++	case "${UNAME_MACHINE_ARCH}" in
  40.197 ++	    armeb) machine=armeb-unknown ;;
  40.198 ++	    arm*) machine=arm-unknown ;;
  40.199 ++	    sh3el) machine=shl-unknown ;;
  40.200 ++	    sh3eb) machine=sh-unknown ;;
  40.201 ++	    sh5el) machine=sh5le-unknown ;;
  40.202 ++	    *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
  40.203 ++	esac
  40.204 ++	# The Operating System including object format, if it has switched
  40.205 ++	# to ELF recently, or will in the future.
  40.206 ++	case "${UNAME_MACHINE_ARCH}" in
  40.207 ++	    arm*|i386|m68k|ns32k|sh3*|sparc|vax)
  40.208 ++		eval $set_cc_for_build
  40.209 ++		if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
  40.210 ++			| grep -q __ELF__
  40.211 ++		then
  40.212 ++		    # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
  40.213 ++		    # Return netbsd for either.  FIX?
  40.214 ++		    os=netbsd
  40.215 ++		else
  40.216 ++		    os=netbsdelf
  40.217 ++		fi
  40.218 ++		;;
  40.219 ++	    *)
  40.220 ++		os=netbsd
  40.221 ++		;;
  40.222 ++	esac
  40.223 ++	# The OS release
  40.224 ++	# Debian GNU/NetBSD machines have a different userland, and
  40.225 ++	# thus, need a distinct triplet. However, they do not need
  40.226 ++	# kernel version information, so it can be replaced with a
  40.227 ++	# suitable tag, in the style of linux-gnu.
  40.228 ++	case "${UNAME_VERSION}" in
  40.229 ++	    Debian*)
  40.230 ++		release='-gnu'
  40.231 ++		;;
  40.232 ++	    *)
  40.233 ++		release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
  40.234 ++		;;
  40.235 ++	esac
  40.236 ++	# Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
  40.237 ++	# contains redundant information, the shorter form:
  40.238 ++	# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
  40.239 ++	echo "${machine}-${os}${release}"
  40.240 ++	exit ;;
  40.241 ++    *:Bitrig:*:*)
  40.242 ++	UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
  40.243 ++	echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE}
  40.244 ++	exit ;;
  40.245 ++    *:OpenBSD:*:*)
  40.246 ++	UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
  40.247 ++	echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
  40.248 ++	exit ;;
  40.249 ++    *:ekkoBSD:*:*)
  40.250 ++	echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
  40.251 ++	exit ;;
  40.252 ++    *:SolidBSD:*:*)
  40.253 ++	echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
  40.254 ++	exit ;;
  40.255 ++    macppc:MirBSD:*:*)
  40.256 ++	echo powerpc-unknown-mirbsd${UNAME_RELEASE}
  40.257 ++	exit ;;
  40.258 ++    *:MirBSD:*:*)
  40.259 ++	echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
  40.260 ++	exit ;;
  40.261 ++    alpha:OSF1:*:*)
  40.262 ++	case $UNAME_RELEASE in
  40.263 ++	*4.0)
  40.264 ++		UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
  40.265 ++		;;
  40.266 ++	*5.*)
  40.267 ++		UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
  40.268 ++		;;
  40.269 ++	esac
  40.270 ++	# According to Compaq, /usr/sbin/psrinfo has been available on
  40.271 ++	# OSF/1 and Tru64 systems produced since 1995.  I hope that
  40.272 ++	# covers most systems running today.  This code pipes the CPU
  40.273 ++	# types through head -n 1, so we only detect the type of CPU 0.
  40.274 ++	ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^  The alpha \(.*\) processor.*$/\1/p' | head -n 1`
  40.275 ++	case "$ALPHA_CPU_TYPE" in
  40.276 ++	    "EV4 (21064)")
  40.277 ++		UNAME_MACHINE="alpha" ;;
  40.278 ++	    "EV4.5 (21064)")
  40.279 ++		UNAME_MACHINE="alpha" ;;
  40.280 ++	    "LCA4 (21066/21068)")
  40.281 ++		UNAME_MACHINE="alpha" ;;
  40.282 ++	    "EV5 (21164)")
  40.283 ++		UNAME_MACHINE="alphaev5" ;;
  40.284 ++	    "EV5.6 (21164A)")
  40.285 ++		UNAME_MACHINE="alphaev56" ;;
  40.286 ++	    "EV5.6 (21164PC)")
  40.287 ++		UNAME_MACHINE="alphapca56" ;;
  40.288 ++	    "EV5.7 (21164PC)")
  40.289 ++		UNAME_MACHINE="alphapca57" ;;
  40.290 ++	    "EV6 (21264)")
  40.291 ++		UNAME_MACHINE="alphaev6" ;;
  40.292 ++	    "EV6.7 (21264A)")
  40.293 ++		UNAME_MACHINE="alphaev67" ;;
  40.294 ++	    "EV6.8CB (21264C)")
  40.295 ++		UNAME_MACHINE="alphaev68" ;;
  40.296 ++	    "EV6.8AL (21264B)")
  40.297 ++		UNAME_MACHINE="alphaev68" ;;
  40.298 ++	    "EV6.8CX (21264D)")
  40.299 ++		UNAME_MACHINE="alphaev68" ;;
  40.300 ++	    "EV6.9A (21264/EV69A)")
  40.301 ++		UNAME_MACHINE="alphaev69" ;;
  40.302 ++	    "EV7 (21364)")
  40.303 ++		UNAME_MACHINE="alphaev7" ;;
  40.304 ++	    "EV7.9 (21364A)")
  40.305 ++		UNAME_MACHINE="alphaev79" ;;
  40.306 ++	esac
  40.307 ++	# A Pn.n version is a patched version.
  40.308 ++	# A Vn.n version is a released version.
  40.309 ++	# A Tn.n version is a released field test version.
  40.310 ++	# A Xn.n version is an unreleased experimental baselevel.
  40.311 ++	# 1.2 uses "1.2" for uname -r.
  40.312 ++	echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
  40.313 ++	# Reset EXIT trap before exiting to avoid spurious non-zero exit code.
  40.314 ++	exitcode=$?
  40.315 ++	trap '' 0
  40.316 ++	exit $exitcode ;;
  40.317 ++    Alpha\ *:Windows_NT*:*)
  40.318 ++	# How do we know it's Interix rather than the generic POSIX subsystem?
  40.319 ++	# Should we change UNAME_MACHINE based on the output of uname instead
  40.320 ++	# of the specific Alpha model?
  40.321 ++	echo alpha-pc-interix
  40.322 ++	exit ;;
  40.323 ++    21064:Windows_NT:50:3)
  40.324 ++	echo alpha-dec-winnt3.5
  40.325 ++	exit ;;
  40.326 ++    Amiga*:UNIX_System_V:4.0:*)
  40.327 ++	echo m68k-unknown-sysv4
  40.328 ++	exit ;;
  40.329 ++    *:[Aa]miga[Oo][Ss]:*:*)
  40.330 ++	echo ${UNAME_MACHINE}-unknown-amigaos
  40.331 ++	exit ;;
  40.332 ++    *:[Mm]orph[Oo][Ss]:*:*)
  40.333 ++	echo ${UNAME_MACHINE}-unknown-morphos
  40.334 ++	exit ;;
  40.335 ++    *:OS/390:*:*)
  40.336 ++	echo i370-ibm-openedition
  40.337 ++	exit ;;
  40.338 ++    *:z/VM:*:*)
  40.339 ++	echo s390-ibm-zvmoe
  40.340 ++	exit ;;
  40.341 ++    *:OS400:*:*)
  40.342 ++	echo powerpc-ibm-os400
  40.343 ++	exit ;;
  40.344 ++    arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
  40.345 ++	echo arm-acorn-riscix${UNAME_RELEASE}
  40.346 ++	exit ;;
  40.347 ++    arm*:riscos:*:*|arm*:RISCOS:*:*)
  40.348 ++	echo arm-unknown-riscos
  40.349 ++	exit ;;
  40.350 ++    SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
  40.351 ++	echo hppa1.1-hitachi-hiuxmpp
  40.352 ++	exit ;;
  40.353 ++    Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
  40.354 ++	# akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
  40.355 ++	if test "`(/bin/universe) 2>/dev/null`" = att ; then
  40.356 ++		echo pyramid-pyramid-sysv3
  40.357 ++	else
  40.358 ++		echo pyramid-pyramid-bsd
  40.359 ++	fi
  40.360 ++	exit ;;
  40.361 ++    NILE*:*:*:dcosx)
  40.362 ++	echo pyramid-pyramid-svr4
  40.363 ++	exit ;;
  40.364 ++    DRS?6000:unix:4.0:6*)
  40.365 ++	echo sparc-icl-nx6
  40.366 ++	exit ;;
  40.367 ++    DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
  40.368 ++	case `/usr/bin/uname -p` in
  40.369 ++	    sparc) echo sparc-icl-nx7; exit ;;
  40.370 ++	esac ;;
  40.371 ++    s390x:SunOS:*:*)
  40.372 ++	echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  40.373 ++	exit ;;
  40.374 ++    sun4H:SunOS:5.*:*)
  40.375 ++	echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  40.376 ++	exit ;;
  40.377 ++    sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
  40.378 ++	echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  40.379 ++	exit ;;
  40.380 ++    i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
  40.381 ++	echo i386-pc-auroraux${UNAME_RELEASE}
  40.382 ++	exit ;;
  40.383 ++    i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
  40.384 ++	eval $set_cc_for_build
  40.385 ++	SUN_ARCH="i386"
  40.386 ++	# If there is a compiler, see if it is configured for 64-bit objects.
  40.387 ++	# Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
  40.388 ++	# This test works for both compilers.
  40.389 ++	if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
  40.390 ++	    if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
  40.391 ++		(CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
  40.392 ++		grep IS_64BIT_ARCH >/dev/null
  40.393 ++	    then
  40.394 ++		SUN_ARCH="x86_64"
  40.395 ++	    fi
  40.396 ++	fi
  40.397 ++	echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  40.398 ++	exit ;;
  40.399 ++    sun4*:SunOS:6*:*)
  40.400 ++	# According to config.sub, this is the proper way to canonicalize
  40.401 ++	# SunOS6.  Hard to guess exactly what SunOS6 will be like, but
  40.402 ++	# it's likely to be more like Solaris than SunOS4.
  40.403 ++	echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  40.404 ++	exit ;;
  40.405 ++    sun4*:SunOS:*:*)
  40.406 ++	case "`/usr/bin/arch -k`" in
  40.407 ++	    Series*|S4*)
  40.408 ++		UNAME_RELEASE=`uname -v`
  40.409 ++		;;
  40.410 ++	esac
  40.411 ++	# Japanese Language versions have a version number like `4.1.3-JL'.
  40.412 ++	echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
  40.413 ++	exit ;;
  40.414 ++    sun3*:SunOS:*:*)
  40.415 ++	echo m68k-sun-sunos${UNAME_RELEASE}
  40.416 ++	exit ;;
  40.417 ++    sun*:*:4.2BSD:*)
  40.418 ++	UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
  40.419 ++	test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
  40.420 ++	case "`/bin/arch`" in
  40.421 ++	    sun3)
  40.422 ++		echo m68k-sun-sunos${UNAME_RELEASE}
  40.423 ++		;;
  40.424 ++	    sun4)
  40.425 ++		echo sparc-sun-sunos${UNAME_RELEASE}
  40.426 ++		;;
  40.427 ++	esac
  40.428 ++	exit ;;
  40.429 ++    aushp:SunOS:*:*)
  40.430 ++	echo sparc-auspex-sunos${UNAME_RELEASE}
  40.431 ++	exit ;;
  40.432 ++    # The situation for MiNT is a little confusing.  The machine name
  40.433 ++    # can be virtually everything (everything which is not
  40.434 ++    # "atarist" or "atariste" at least should have a processor
  40.435 ++    # > m68000).  The system name ranges from "MiNT" over "FreeMiNT"
  40.436 ++    # to the lowercase version "mint" (or "freemint").  Finally
  40.437 ++    # the system name "TOS" denotes a system which is actually not
  40.438 ++    # MiNT.  But MiNT is downward compatible to TOS, so this should
  40.439 ++    # be no problem.
  40.440 ++    atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
  40.441 ++	echo m68k-atari-mint${UNAME_RELEASE}
  40.442 ++	exit ;;
  40.443 ++    atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
  40.444 ++	echo m68k-atari-mint${UNAME_RELEASE}
  40.445 ++	exit ;;
  40.446 ++    *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
  40.447 ++	echo m68k-atari-mint${UNAME_RELEASE}
  40.448 ++	exit ;;
  40.449 ++    milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
  40.450 ++	echo m68k-milan-mint${UNAME_RELEASE}
  40.451 ++	exit ;;
  40.452 ++    hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
  40.453 ++	echo m68k-hades-mint${UNAME_RELEASE}
  40.454 ++	exit ;;
  40.455 ++    *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
  40.456 ++	echo m68k-unknown-mint${UNAME_RELEASE}
  40.457 ++	exit ;;
  40.458 ++    m68k:machten:*:*)
  40.459 ++	echo m68k-apple-machten${UNAME_RELEASE}
  40.460 ++	exit ;;
  40.461 ++    powerpc:machten:*:*)
  40.462 ++	echo powerpc-apple-machten${UNAME_RELEASE}
  40.463 ++	exit ;;
  40.464 ++    RISC*:Mach:*:*)
  40.465 ++	echo mips-dec-mach_bsd4.3
  40.466 ++	exit ;;
  40.467 ++    RISC*:ULTRIX:*:*)
  40.468 ++	echo mips-dec-ultrix${UNAME_RELEASE}
  40.469 ++	exit ;;
  40.470 ++    VAX*:ULTRIX*:*:*)
  40.471 ++	echo vax-dec-ultrix${UNAME_RELEASE}
  40.472 ++	exit ;;
  40.473 ++    2020:CLIX:*:* | 2430:CLIX:*:*)
  40.474 ++	echo clipper-intergraph-clix${UNAME_RELEASE}
  40.475 ++	exit ;;
  40.476 ++    mips:*:*:UMIPS | mips:*:*:RISCos)
  40.477 ++	eval $set_cc_for_build
  40.478 ++	sed 's/^	//' << EOF >$dummy.c
  40.479 ++#ifdef __cplusplus
  40.480 ++#include <stdio.h>  /* for printf() prototype */
  40.481 ++	int main (int argc, char *argv[]) {
  40.482 ++#else
  40.483 ++	int main (argc, argv) int argc; char *argv[]; {
  40.484 ++#endif
  40.485 ++	#if defined (host_mips) && defined (MIPSEB)
  40.486 ++	#if defined (SYSTYPE_SYSV)
  40.487 ++	  printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
  40.488 ++	#endif
  40.489 ++	#if defined (SYSTYPE_SVR4)
  40.490 ++	  printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
  40.491 ++	#endif
  40.492 ++	#if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
  40.493 ++	  printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
  40.494 ++	#endif
  40.495 ++	#endif
  40.496 ++	  exit (-1);
  40.497 ++	}
  40.498 ++EOF
  40.499 ++	$CC_FOR_BUILD -o $dummy $dummy.c &&
  40.500 ++	  dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
  40.501 ++	  SYSTEM_NAME=`$dummy $dummyarg` &&
  40.502 ++	    { echo "$SYSTEM_NAME"; exit; }
  40.503 ++	echo mips-mips-riscos${UNAME_RELEASE}
  40.504 ++	exit ;;
  40.505 ++    Motorola:PowerMAX_OS:*:*)
  40.506 ++	echo powerpc-motorola-powermax
  40.507 ++	exit ;;
  40.508 ++    Motorola:*:4.3:PL8-*)
  40.509 ++	echo powerpc-harris-powermax
  40.510 ++	exit ;;
  40.511 ++    Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
  40.512 ++	echo powerpc-harris-powermax
  40.513 ++	exit ;;
  40.514 ++    Night_Hawk:Power_UNIX:*:*)
  40.515 ++	echo powerpc-harris-powerunix
  40.516 ++	exit ;;
  40.517 ++    m88k:CX/UX:7*:*)
  40.518 ++	echo m88k-harris-cxux7
  40.519 ++	exit ;;
  40.520 ++    m88k:*:4*:R4*)
  40.521 ++	echo m88k-motorola-sysv4
  40.522 ++	exit ;;
  40.523 ++    m88k:*:3*:R3*)
  40.524 ++	echo m88k-motorola-sysv3
  40.525 ++	exit ;;
  40.526 ++    AViiON:dgux:*:*)
  40.527 ++	# DG/UX returns AViiON for all architectures
  40.528 ++	UNAME_PROCESSOR=`/usr/bin/uname -p`
  40.529 ++	if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
  40.530 ++	then
  40.531 ++	    if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
  40.532 ++	       [ ${TARGET_BINARY_INTERFACE}x = x ]
  40.533 ++	    then
  40.534 ++		echo m88k-dg-dgux${UNAME_RELEASE}
  40.535 ++	    else
  40.536 ++		echo m88k-dg-dguxbcs${UNAME_RELEASE}
  40.537 ++	    fi
  40.538 ++	else
  40.539 ++	    echo i586-dg-dgux${UNAME_RELEASE}
  40.540 ++	fi
  40.541 ++	exit ;;
  40.542 ++    M88*:DolphinOS:*:*)	# DolphinOS (SVR3)
  40.543 ++	echo m88k-dolphin-sysv3
  40.544 ++	exit ;;
  40.545 ++    M88*:*:R3*:*)
  40.546 ++	# Delta 88k system running SVR3
  40.547 ++	echo m88k-motorola-sysv3
  40.548 ++	exit ;;
  40.549 ++    XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
  40.550 ++	echo m88k-tektronix-sysv3
  40.551 ++	exit ;;
  40.552 ++    Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
  40.553 ++	echo m68k-tektronix-bsd
  40.554 ++	exit ;;
  40.555 ++    *:IRIX*:*:*)
  40.556 ++	echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
  40.557 ++	exit ;;
  40.558 ++    ????????:AIX?:[12].1:2)   # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
  40.559 ++	echo romp-ibm-aix     # uname -m gives an 8 hex-code CPU id
  40.560 ++	exit ;;               # Note that: echo "'`uname -s`'" gives 'AIX '
  40.561 ++    i*86:AIX:*:*)
  40.562 ++	echo i386-ibm-aix
  40.563 ++	exit ;;
  40.564 ++    ia64:AIX:*:*)
  40.565 ++	if [ -x /usr/bin/oslevel ] ; then
  40.566 ++		IBM_REV=`/usr/bin/oslevel`
  40.567 ++	else
  40.568 ++		IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
  40.569 ++	fi
  40.570 ++	echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
  40.571 ++	exit ;;
  40.572 ++    *:AIX:2:3)
  40.573 ++	if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
  40.574 ++		eval $set_cc_for_build
  40.575 ++		sed 's/^		//' << EOF >$dummy.c
  40.576 ++		#include <sys/systemcfg.h>
  40.577 ++
  40.578 ++		main()
  40.579 ++			{
  40.580 ++			if (!__power_pc())
  40.581 ++				exit(1);
  40.582 ++			puts("powerpc-ibm-aix3.2.5");
  40.583 ++			exit(0);
  40.584 ++			}
  40.585 ++EOF
  40.586 ++		if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
  40.587 ++		then
  40.588 ++			echo "$SYSTEM_NAME"
  40.589 ++		else
  40.590 ++			echo rs6000-ibm-aix3.2.5
  40.591 ++		fi
  40.592 ++	elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
  40.593 ++		echo rs6000-ibm-aix3.2.4
  40.594 ++	else
  40.595 ++		echo rs6000-ibm-aix3.2
  40.596 ++	fi
  40.597 ++	exit ;;
  40.598 ++    *:AIX:*:[4567])
  40.599 ++	IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
  40.600 ++	if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
  40.601 ++		IBM_ARCH=rs6000
  40.602 ++	else
  40.603 ++		IBM_ARCH=powerpc
  40.604 ++	fi
  40.605 ++	if [ -x /usr/bin/oslevel ] ; then
  40.606 ++		IBM_REV=`/usr/bin/oslevel`
  40.607 ++	else
  40.608 ++		IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
  40.609 ++	fi
  40.610 ++	echo ${IBM_ARCH}-ibm-aix${IBM_REV}
  40.611 ++	exit ;;
  40.612 ++    *:AIX:*:*)
  40.613 ++	echo rs6000-ibm-aix
  40.614 ++	exit ;;
  40.615 ++    ibmrt:4.4BSD:*|romp-ibm:BSD:*)
  40.616 ++	echo romp-ibm-bsd4.4
  40.617 ++	exit ;;
  40.618 ++    ibmrt:*BSD:*|romp-ibm:BSD:*)            # covers RT/PC BSD and
  40.619 ++	echo romp-ibm-bsd${UNAME_RELEASE}   # 4.3 with uname added to
  40.620 ++	exit ;;                             # report: romp-ibm BSD 4.3
  40.621 ++    *:BOSX:*:*)
  40.622 ++	echo rs6000-bull-bosx
  40.623 ++	exit ;;
  40.624 ++    DPX/2?00:B.O.S.:*:*)
  40.625 ++	echo m68k-bull-sysv3
  40.626 ++	exit ;;
  40.627 ++    9000/[34]??:4.3bsd:1.*:*)
  40.628 ++	echo m68k-hp-bsd
  40.629 ++	exit ;;
  40.630 ++    hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
  40.631 ++	echo m68k-hp-bsd4.4
  40.632 ++	exit ;;
  40.633 ++    9000/[34678]??:HP-UX:*:*)
  40.634 ++	HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
  40.635 ++	case "${UNAME_MACHINE}" in
  40.636 ++	    9000/31? )            HP_ARCH=m68000 ;;
  40.637 ++	    9000/[34]?? )         HP_ARCH=m68k ;;
  40.638 ++	    9000/[678][0-9][0-9])
  40.639 ++		if [ -x /usr/bin/getconf ]; then
  40.640 ++		    sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
  40.641 ++		    sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
  40.642 ++		    case "${sc_cpu_version}" in
  40.643 ++		      523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
  40.644 ++		      528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
  40.645 ++		      532)                      # CPU_PA_RISC2_0
  40.646 ++			case "${sc_kernel_bits}" in
  40.647 ++			  32) HP_ARCH="hppa2.0n" ;;
  40.648 ++			  64) HP_ARCH="hppa2.0w" ;;
  40.649 ++			  '') HP_ARCH="hppa2.0" ;;   # HP-UX 10.20
  40.650 ++			esac ;;
  40.651 ++		    esac
  40.652 ++		fi
  40.653 ++		if [ "${HP_ARCH}" = "" ]; then
  40.654 ++		    eval $set_cc_for_build
  40.655 ++		    sed 's/^		//' << EOF >$dummy.c
  40.656 ++
  40.657 ++		#define _HPUX_SOURCE
  40.658 ++		#include <stdlib.h>
  40.659 ++		#include <unistd.h>
  40.660 ++
  40.661 ++		int main ()
  40.662 ++		{
  40.663 ++		#if defined(_SC_KERNEL_BITS)
  40.664 ++		    long bits = sysconf(_SC_KERNEL_BITS);
  40.665 ++		#endif
  40.666 ++		    long cpu  = sysconf (_SC_CPU_VERSION);
  40.667 ++
  40.668 ++		    switch (cpu)
  40.669 ++			{
  40.670 ++			case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
  40.671 ++			case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
  40.672 ++			case CPU_PA_RISC2_0:
  40.673 ++		#if defined(_SC_KERNEL_BITS)
  40.674 ++			    switch (bits)
  40.675 ++				{
  40.676 ++				case 64: puts ("hppa2.0w"); break;
  40.677 ++				case 32: puts ("hppa2.0n"); break;
  40.678 ++				default: puts ("hppa2.0"); break;
  40.679 ++				} break;
  40.680 ++		#else  /* !defined(_SC_KERNEL_BITS) */
  40.681 ++			    puts ("hppa2.0"); break;
  40.682 ++		#endif
  40.683 ++			default: puts ("hppa1.0"); break;
  40.684 ++			}
  40.685 ++		    exit (0);
  40.686 ++		}
  40.687 ++EOF
  40.688 ++		    (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
  40.689 ++		    test -z "$HP_ARCH" && HP_ARCH=hppa
  40.690 ++		fi ;;
  40.691 ++	esac
  40.692 ++	if [ ${HP_ARCH} = "hppa2.0w" ]
  40.693 ++	then
  40.694 ++	    eval $set_cc_for_build
  40.695 ++
  40.696 ++	    # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
  40.697 ++	    # 32-bit code.  hppa64-hp-hpux* has the same kernel and a compiler
  40.698 ++	    # generating 64-bit code.  GNU and HP use different nomenclature:
  40.699 ++	    #
  40.700 ++	    # $ CC_FOR_BUILD=cc ./config.guess
  40.701 ++	    # => hppa2.0w-hp-hpux11.23
  40.702 ++	    # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
  40.703 ++	    # => hppa64-hp-hpux11.23
  40.704 ++
  40.705 ++	    if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
  40.706 ++		grep -q __LP64__
  40.707 ++	    then
  40.708 ++		HP_ARCH="hppa2.0w"
  40.709 ++	    else
  40.710 ++		HP_ARCH="hppa64"
  40.711 ++	    fi
  40.712 ++	fi
  40.713 ++	echo ${HP_ARCH}-hp-hpux${HPUX_REV}
  40.714 ++	exit ;;
  40.715 ++    ia64:HP-UX:*:*)
  40.716 ++	HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
  40.717 ++	echo ia64-hp-hpux${HPUX_REV}
  40.718 ++	exit ;;
  40.719 ++    3050*:HI-UX:*:*)
  40.720 ++	eval $set_cc_for_build
  40.721 ++	sed 's/^	//' << EOF >$dummy.c
  40.722 ++	#include <unistd.h>
  40.723 ++	int
  40.724 ++	main ()
  40.725 ++	{
  40.726 ++	  long cpu = sysconf (_SC_CPU_VERSION);
  40.727 ++	  /* The order matters, because CPU_IS_HP_MC68K erroneously returns
  40.728 ++	     true for CPU_PA_RISC1_0.  CPU_IS_PA_RISC returns correct
  40.729 ++	     results, however.  */
  40.730 ++	  if (CPU_IS_PA_RISC (cpu))
  40.731 ++	    {
  40.732 ++	      switch (cpu)
  40.733 ++		{
  40.734 ++		  case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break;
  40.735 ++		  case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break;
  40.736 ++		  case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break;
  40.737 ++		  default: puts ("hppa-hitachi-hiuxwe2"); break;
  40.738 ++		}
  40.739 ++	    }
  40.740 ++	  else if (CPU_IS_HP_MC68K (cpu))
  40.741 ++	    puts ("m68k-hitachi-hiuxwe2");
  40.742 ++	  else puts ("unknown-hitachi-hiuxwe2");
  40.743 ++	  exit (0);
  40.744 ++	}
  40.745 ++EOF
  40.746 ++	$CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
  40.747 ++		{ echo "$SYSTEM_NAME"; exit; }
  40.748 ++	echo unknown-hitachi-hiuxwe2
  40.749 ++	exit ;;
  40.750 ++    9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
  40.751 ++	echo hppa1.1-hp-bsd
  40.752 ++	exit ;;
  40.753 ++    9000/8??:4.3bsd:*:*)
  40.754 ++	echo hppa1.0-hp-bsd
  40.755 ++	exit ;;
  40.756 ++    *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
  40.757 ++	echo hppa1.0-hp-mpeix
  40.758 ++	exit ;;
  40.759 ++    hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
  40.760 ++	echo hppa1.1-hp-osf
  40.761 ++	exit ;;
  40.762 ++    hp8??:OSF1:*:*)
  40.763 ++	echo hppa1.0-hp-osf
  40.764 ++	exit ;;
  40.765 ++    i*86:OSF1:*:*)
  40.766 ++	if [ -x /usr/sbin/sysversion ] ; then
  40.767 ++	    echo ${UNAME_MACHINE}-unknown-osf1mk
  40.768 ++	else
  40.769 ++	    echo ${UNAME_MACHINE}-unknown-osf1
  40.770 ++	fi
  40.771 ++	exit ;;
  40.772 ++    parisc*:Lites*:*:*)
  40.773 ++	echo hppa1.1-hp-lites
  40.774 ++	exit ;;
  40.775 ++    C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
  40.776 ++	echo c1-convex-bsd
  40.777 ++	exit ;;
  40.778 ++    C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
  40.779 ++	if getsysinfo -f scalar_acc
  40.780 ++	then echo c32-convex-bsd
  40.781 ++	else echo c2-convex-bsd
  40.782 ++	fi
  40.783 ++	exit ;;
  40.784 ++    C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
  40.785 ++	echo c34-convex-bsd
  40.786 ++	exit ;;
  40.787 ++    C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
  40.788 ++	echo c38-convex-bsd
  40.789 ++	exit ;;
  40.790 ++    C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
  40.791 ++	echo c4-convex-bsd
  40.792 ++	exit ;;
  40.793 ++    CRAY*Y-MP:*:*:*)
  40.794 ++	echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
  40.795 ++	exit ;;
  40.796 ++    CRAY*[A-Z]90:*:*:*)
  40.797 ++	echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
  40.798 ++	| sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
  40.799 ++	      -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
  40.800 ++	      -e 's/\.[^.]*$/.X/'
  40.801 ++	exit ;;
  40.802 ++    CRAY*TS:*:*:*)
  40.803 ++	echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
  40.804 ++	exit ;;
  40.805 ++    CRAY*T3E:*:*:*)
  40.806 ++	echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
  40.807 ++	exit ;;
  40.808 ++    CRAY*SV1:*:*:*)
  40.809 ++	echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
  40.810 ++	exit ;;
  40.811 ++    *:UNICOS/mp:*:*)
  40.812 ++	echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
  40.813 ++	exit ;;
  40.814 ++    F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
  40.815 ++	FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
  40.816 ++	FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
  40.817 ++	FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
  40.818 ++	echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
  40.819 ++	exit ;;
  40.820 ++    5000:UNIX_System_V:4.*:*)
  40.821 ++	FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
  40.822 ++	FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
  40.823 ++	echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
  40.824 ++	exit ;;
  40.825 ++    i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
  40.826 ++	echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
  40.827 ++	exit ;;
  40.828 ++    sparc*:BSD/OS:*:*)
  40.829 ++	echo sparc-unknown-bsdi${UNAME_RELEASE}
  40.830 ++	exit ;;
  40.831 ++    *:BSD/OS:*:*)
  40.832 ++	echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
  40.833 ++	exit ;;
  40.834 ++    *:FreeBSD:*:*)
  40.835 ++	UNAME_PROCESSOR=`/usr/bin/uname -p`
  40.836 ++	case ${UNAME_PROCESSOR} in
  40.837 ++	    amd64)
  40.838 ++		echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
  40.839 ++	    *)
  40.840 ++		echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
  40.841 ++	esac
  40.842 ++	exit ;;
  40.843 ++    i*:CYGWIN*:*)
  40.844 ++	echo ${UNAME_MACHINE}-pc-cygwin
  40.845 ++	exit ;;
  40.846 ++    *:MINGW64*:*)
  40.847 ++	echo ${UNAME_MACHINE}-pc-mingw64
  40.848 ++	exit ;;
  40.849 ++    *:MINGW*:*)
  40.850 ++	echo ${UNAME_MACHINE}-pc-mingw32
  40.851 ++	exit ;;
  40.852 ++    *:MSYS*:*)
  40.853 ++	echo ${UNAME_MACHINE}-pc-msys
  40.854 ++	exit ;;
  40.855 ++    i*:windows32*:*)
  40.856 ++	# uname -m includes "-pc" on this system.
  40.857 ++	echo ${UNAME_MACHINE}-mingw32
  40.858 ++	exit ;;
  40.859 ++    i*:PW*:*)
  40.860 ++	echo ${UNAME_MACHINE}-pc-pw32
  40.861 ++	exit ;;
  40.862 ++    *:Interix*:*)
  40.863 ++	case ${UNAME_MACHINE} in
  40.864 ++	    x86)
  40.865 ++		echo i586-pc-interix${UNAME_RELEASE}
  40.866 ++		exit ;;
  40.867 ++	    authenticamd | genuineintel | EM64T)
  40.868 ++		echo x86_64-unknown-interix${UNAME_RELEASE}
  40.869 ++		exit ;;
  40.870 ++	    IA64)
  40.871 ++		echo ia64-unknown-interix${UNAME_RELEASE}
  40.872 ++		exit ;;
  40.873 ++	esac ;;
  40.874 ++    [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
  40.875 ++	echo i${UNAME_MACHINE}-pc-mks
  40.876 ++	exit ;;
  40.877 ++    8664:Windows_NT:*)
  40.878 ++	echo x86_64-pc-mks
  40.879 ++	exit ;;
  40.880 ++    i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
  40.881 ++	# How do we know it's Interix rather than the generic POSIX subsystem?
  40.882 ++	# It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
  40.883 ++	# UNAME_MACHINE based on the output of uname instead of i386?
  40.884 ++	echo i586-pc-interix
  40.885 ++	exit ;;
  40.886 ++    i*:UWIN*:*)
  40.887 ++	echo ${UNAME_MACHINE}-pc-uwin
  40.888 ++	exit ;;
  40.889 ++    amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
  40.890 ++	echo x86_64-unknown-cygwin
  40.891 ++	exit ;;
  40.892 ++    p*:CYGWIN*:*)
  40.893 ++	echo powerpcle-unknown-cygwin
  40.894 ++	exit ;;
  40.895 ++    prep*:SunOS:5.*:*)
  40.896 ++	echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  40.897 ++	exit ;;
  40.898 ++    *:GNU:*:*)
  40.899 ++	# the GNU system
  40.900 ++	echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
  40.901 ++	exit ;;
  40.902 ++    *:GNU/*:*:*)
  40.903 ++	# other systems with GNU libc and userland
  40.904 ++	echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
  40.905 ++	exit ;;
  40.906 ++    i*86:Minix:*:*)
  40.907 ++	echo ${UNAME_MACHINE}-pc-minix
  40.908 ++	exit ;;
  40.909 ++    aarch64:Linux:*:*)
  40.910 ++	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
  40.911 ++	exit ;;
  40.912 ++    aarch64_be:Linux:*:*)
  40.913 ++	UNAME_MACHINE=aarch64_be
  40.914 ++	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
  40.915 ++	exit ;;
  40.916 ++    alpha:Linux:*:*)
  40.917 ++	case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
  40.918 ++	  EV5)   UNAME_MACHINE=alphaev5 ;;
  40.919 ++	  EV56)  UNAME_MACHINE=alphaev56 ;;
  40.920 ++	  PCA56) UNAME_MACHINE=alphapca56 ;;
  40.921 ++	  PCA57) UNAME_MACHINE=alphapca56 ;;
  40.922 ++	  EV6)   UNAME_MACHINE=alphaev6 ;;
  40.923 ++	  EV67)  UNAME_MACHINE=alphaev67 ;;
  40.924 ++	  EV68*) UNAME_MACHINE=alphaev68 ;;
  40.925 ++	esac
  40.926 ++	objdump --private-headers /bin/sh | grep -q ld.so.1
  40.927 ++	if test "$?" = 0 ; then LIBC="gnulibc1" ; fi
  40.928 ++	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
  40.929 ++	exit ;;
  40.930 ++    arc:Linux:*:* | arceb:Linux:*:*)
  40.931 ++	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
  40.932 ++	exit ;;
  40.933 ++    arm*:Linux:*:*)
  40.934 ++	eval $set_cc_for_build
  40.935 ++	if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
  40.936 ++	    | grep -q __ARM_EABI__
  40.937 ++	then
  40.938 ++	    echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
  40.939 ++	else
  40.940 ++	    if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
  40.941 ++		| grep -q __ARM_PCS_VFP
  40.942 ++	    then
  40.943 ++		echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi
  40.944 ++	    else
  40.945 ++		echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf
  40.946 ++	    fi
  40.947 ++	fi
  40.948 ++	exit ;;
  40.949 ++    avr32*:Linux:*:*)
  40.950 ++	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
  40.951 ++	exit ;;
  40.952 ++    cris:Linux:*:*)
  40.953 ++	echo ${UNAME_MACHINE}-axis-linux-${LIBC}
  40.954 ++	exit ;;
  40.955 ++    crisv32:Linux:*:*)
  40.956 ++	echo ${UNAME_MACHINE}-axis-linux-${LIBC}
  40.957 ++	exit ;;
  40.958 ++    frv:Linux:*:*)
  40.959 ++	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
  40.960 ++	exit ;;
  40.961 ++    hexagon:Linux:*:*)
  40.962 ++	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
  40.963 ++	exit ;;
  40.964 ++    i*86:Linux:*:*)
  40.965 ++	echo ${UNAME_MACHINE}-pc-linux-${LIBC}
  40.966 ++	exit ;;
  40.967 ++    ia64:Linux:*:*)
  40.968 ++	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
  40.969 ++	exit ;;
  40.970 ++    m32r*:Linux:*:*)
  40.971 ++	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
  40.972 ++	exit ;;
  40.973 ++    m68*:Linux:*:*)
  40.974 ++	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
  40.975 ++	exit ;;
  40.976 ++    mips:Linux:*:* | mips64:Linux:*:*)
  40.977 ++	eval $set_cc_for_build
  40.978 ++	sed 's/^	//' << EOF >$dummy.c
  40.979 ++	#undef CPU
  40.980 ++	#undef ${UNAME_MACHINE}
  40.981 ++	#undef ${UNAME_MACHINE}el
  40.982 ++	#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
  40.983 ++	CPU=${UNAME_MACHINE}el
  40.984 ++	#else
  40.985 ++	#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
  40.986 ++	CPU=${UNAME_MACHINE}
  40.987 ++	#else
  40.988 ++	CPU=
  40.989 ++	#endif
  40.990 ++	#endif
  40.991 ++EOF
  40.992 ++	eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
  40.993 ++	test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
  40.994 ++	;;
  40.995 ++    openrisc*:Linux:*:*)
  40.996 ++	echo or1k-unknown-linux-${LIBC}
  40.997 ++	exit ;;
  40.998 ++    or32:Linux:*:* | or1k*:Linux:*:*)
  40.999 ++	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
 40.1000 ++	exit ;;
 40.1001 ++    padre:Linux:*:*)
 40.1002 ++	echo sparc-unknown-linux-${LIBC}
 40.1003 ++	exit ;;
 40.1004 ++    parisc64:Linux:*:* | hppa64:Linux:*:*)
 40.1005 ++	echo hppa64-unknown-linux-${LIBC}
 40.1006 ++	exit ;;
 40.1007 ++    parisc:Linux:*:* | hppa:Linux:*:*)
 40.1008 ++	# Look for CPU level
 40.1009 ++	case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
 40.1010 ++	  PA7*) echo hppa1.1-unknown-linux-${LIBC} ;;
 40.1011 ++	  PA8*) echo hppa2.0-unknown-linux-${LIBC} ;;
 40.1012 ++	  *)    echo hppa-unknown-linux-${LIBC} ;;
 40.1013 ++	esac
 40.1014 ++	exit ;;
 40.1015 ++    ppc64:Linux:*:*)
 40.1016 ++	echo powerpc64-unknown-linux-${LIBC}
 40.1017 ++	exit ;;
 40.1018 ++    ppc:Linux:*:*)
 40.1019 ++	echo powerpc-unknown-linux-${LIBC}
 40.1020 ++	exit ;;
 40.1021 ++    ppc64le:Linux:*:*)
 40.1022 ++	echo powerpc64le-unknown-linux-${LIBC}
 40.1023 ++	exit ;;
 40.1024 ++    ppcle:Linux:*:*)
 40.1025 ++	echo powerpcle-unknown-linux-${LIBC}
 40.1026 ++	exit ;;
 40.1027 ++    s390:Linux:*:* | s390x:Linux:*:*)
 40.1028 ++	echo ${UNAME_MACHINE}-ibm-linux-${LIBC}
 40.1029 ++	exit ;;
 40.1030 ++    sh64*:Linux:*:*)
 40.1031 ++	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
 40.1032 ++	exit ;;
 40.1033 ++    sh*:Linux:*:*)
 40.1034 ++	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
 40.1035 ++	exit ;;
 40.1036 ++    sparc:Linux:*:* | sparc64:Linux:*:*)
 40.1037 ++	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
 40.1038 ++	exit ;;
 40.1039 ++    tile*:Linux:*:*)
 40.1040 ++	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
 40.1041 ++	exit ;;
 40.1042 ++    vax:Linux:*:*)
 40.1043 ++	echo ${UNAME_MACHINE}-dec-linux-${LIBC}
 40.1044 ++	exit ;;
 40.1045 ++    x86_64:Linux:*:*)
 40.1046 ++	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
 40.1047 ++	exit ;;
 40.1048 ++    xtensa*:Linux:*:*)
 40.1049 ++	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
 40.1050 ++	exit ;;
 40.1051 ++    i*86:DYNIX/ptx:4*:*)
 40.1052 ++	# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
 40.1053 ++	# earlier versions are messed up and put the nodename in both
 40.1054 ++	# sysname and nodename.
 40.1055 ++	echo i386-sequent-sysv4
 40.1056 ++	exit ;;
 40.1057 ++    i*86:UNIX_SV:4.2MP:2.*)
 40.1058 ++	# Unixware is an offshoot of SVR4, but it has its own version
 40.1059 ++	# number series starting with 2...
 40.1060 ++	# I am not positive that other SVR4 systems won't match this,
 40.1061 ++	# I just have to hope.  -- rms.
 40.1062 ++	# Use sysv4.2uw... so that sysv4* matches it.
 40.1063 ++	echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
 40.1064 ++	exit ;;
 40.1065 ++    i*86:OS/2:*:*)
 40.1066 ++	# If we were able to find `uname', then EMX Unix compatibility
 40.1067 ++	# is probably installed.
 40.1068 ++	echo ${UNAME_MACHINE}-pc-os2-emx
 40.1069 ++	exit ;;
 40.1070 ++    i*86:XTS-300:*:STOP)
 40.1071 ++	echo ${UNAME_MACHINE}-unknown-stop
 40.1072 ++	exit ;;
 40.1073 ++    i*86:atheos:*:*)
 40.1074 ++	echo ${UNAME_MACHINE}-unknown-atheos
 40.1075 ++	exit ;;
 40.1076 ++    i*86:syllable:*:*)
 40.1077 ++	echo ${UNAME_MACHINE}-pc-syllable
 40.1078 ++	exit ;;
 40.1079 ++    i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
 40.1080 ++	echo i386-unknown-lynxos${UNAME_RELEASE}
 40.1081 ++	exit ;;
 40.1082 ++    i*86:*DOS:*:*)
 40.1083 ++	echo ${UNAME_MACHINE}-pc-msdosdjgpp
 40.1084 ++	exit ;;
 40.1085 ++    i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
 40.1086 ++	UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
 40.1087 ++	if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
 40.1088 ++		echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
 40.1089 ++	else
 40.1090 ++		echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
 40.1091 ++	fi
 40.1092 ++	exit ;;
 40.1093 ++    i*86:*:5:[678]*)
 40.1094 ++	# UnixWare 7.x, OpenUNIX and OpenServer 6.
 40.1095 ++	case `/bin/uname -X | grep "^Machine"` in
 40.1096 ++	    *486*)	     UNAME_MACHINE=i486 ;;
 40.1097 ++	    *Pentium)	     UNAME_MACHINE=i586 ;;
 40.1098 ++	    *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
 40.1099 ++	esac
 40.1100 ++	echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
 40.1101 ++	exit ;;
 40.1102 ++    i*86:*:3.2:*)
 40.1103 ++	if test -f /usr/options/cb.name; then
 40.1104 ++		UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
 40.1105 ++		echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
 40.1106 ++	elif /bin/uname -X 2>/dev/null >/dev/null ; then
 40.1107 ++		UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
 40.1108 ++		(/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
 40.1109 ++		(/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
 40.1110 ++			&& UNAME_MACHINE=i586
 40.1111 ++		(/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
 40.1112 ++			&& UNAME_MACHINE=i686
 40.1113 ++		(/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
 40.1114 ++			&& UNAME_MACHINE=i686
 40.1115 ++		echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
 40.1116 ++	else
 40.1117 ++		echo ${UNAME_MACHINE}-pc-sysv32
 40.1118 ++	fi
 40.1119 ++	exit ;;
 40.1120 ++    pc:*:*:*)
 40.1121 ++	# Left here for compatibility:
 40.1122 ++	# uname -m prints for DJGPP always 'pc', but it prints nothing about
 40.1123 ++	# the processor, so we play safe by assuming i586.
 40.1124 ++	# Note: whatever this is, it MUST be the same as what config.sub
 40.1125 ++	# prints for the "djgpp" host, or else GDB configury will decide that
 40.1126 ++	# this is a cross-build.
 40.1127 ++	echo i586-pc-msdosdjgpp
 40.1128 ++	exit ;;
 40.1129 ++    Intel:Mach:3*:*)
 40.1130 ++	echo i386-pc-mach3
 40.1131 ++	exit ;;
 40.1132 ++    paragon:*:*:*)
 40.1133 ++	echo i860-intel-osf1
 40.1134 ++	exit ;;
 40.1135 ++    i860:*:4.*:*) # i860-SVR4
 40.1136 ++	if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
 40.1137 ++	  echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
 40.1138 ++	else # Add other i860-SVR4 vendors below as they are discovered.
 40.1139 ++	  echo i860-unknown-sysv${UNAME_RELEASE}  # Unknown i860-SVR4
 40.1140 ++	fi
 40.1141 ++	exit ;;
 40.1142 ++    mini*:CTIX:SYS*5:*)
 40.1143 ++	# "miniframe"
 40.1144 ++	echo m68010-convergent-sysv
 40.1145 ++	exit ;;
 40.1146 ++    mc68k:UNIX:SYSTEM5:3.51m)
 40.1147 ++	echo m68k-convergent-sysv
 40.1148 ++	exit ;;
 40.1149 ++    M680?0:D-NIX:5.3:*)
 40.1150 ++	echo m68k-diab-dnix
 40.1151 ++	exit ;;
 40.1152 ++    M68*:*:R3V[5678]*:*)
 40.1153 ++	test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
 40.1154 ++    3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
 40.1155 ++	OS_REL=''
 40.1156 ++	test -r /etc/.relid \
 40.1157 ++	&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
 40.1158 ++	/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
 40.1159 ++	  && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
 40.1160 ++	/bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
 40.1161 ++	  && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
 40.1162 ++    3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
 40.1163 ++	/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
 40.1164 ++	  && { echo i486-ncr-sysv4; exit; } ;;
 40.1165 ++    NCR*:*:4.2:* | MPRAS*:*:4.2:*)
 40.1166 ++	OS_REL='.3'
 40.1167 ++	test -r /etc/.relid \
 40.1168 ++	    && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
 40.1169 ++	/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
 40.1170 ++	    && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
 40.1171 ++	/bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
 40.1172 ++	    && { echo i586-ncr-sysv4.3${OS_REL}; exit; }
 40.1173 ++	/bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
 40.1174 ++	    && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
 40.1175 ++    m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
 40.1176 ++	echo m68k-unknown-lynxos${UNAME_RELEASE}
 40.1177 ++	exit ;;
 40.1178 ++    mc68030:UNIX_System_V:4.*:*)
 40.1179 ++	echo m68k-atari-sysv4
 40.1180 ++	exit ;;
 40.1181 ++    TSUNAMI:LynxOS:2.*:*)
 40.1182 ++	echo sparc-unknown-lynxos${UNAME_RELEASE}
 40.1183 ++	exit ;;
 40.1184 ++    rs6000:LynxOS:2.*:*)
 40.1185 ++	echo rs6000-unknown-lynxos${UNAME_RELEASE}
 40.1186 ++	exit ;;
 40.1187 ++    PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
 40.1188 ++	echo powerpc-unknown-lynxos${UNAME_RELEASE}
 40.1189 ++	exit ;;
 40.1190 ++    SM[BE]S:UNIX_SV:*:*)
 40.1191 ++	echo mips-dde-sysv${UNAME_RELEASE}
 40.1192 ++	exit ;;
 40.1193 ++    RM*:ReliantUNIX-*:*:*)
 40.1194 ++	echo mips-sni-sysv4
 40.1195 ++	exit ;;
 40.1196 ++    RM*:SINIX-*:*:*)
 40.1197 ++	echo mips-sni-sysv4
 40.1198 ++	exit ;;
 40.1199 ++    *:SINIX-*:*:*)
 40.1200 ++	if uname -p 2>/dev/null >/dev/null ; then
 40.1201 ++		UNAME_MACHINE=`(uname -p) 2>/dev/null`
 40.1202 ++		echo ${UNAME_MACHINE}-sni-sysv4
 40.1203 ++	else
 40.1204 ++		echo ns32k-sni-sysv
 40.1205 ++	fi
 40.1206 ++	exit ;;
 40.1207 ++    PENTIUM:*:4.0*:*)	# Unisys `ClearPath HMP IX 4000' SVR4/MP effort
 40.1208 ++			# says <Richard.M.Bartel@ccMail.Census.GOV>
 40.1209 ++	echo i586-unisys-sysv4
 40.1210 ++	exit ;;
 40.1211 ++    *:UNIX_System_V:4*:FTX*)
 40.1212 ++	# From Gerald Hewes <hewes@openmarket.com>.
 40.1213 ++	# How about differentiating between stratus architectures? -djm
 40.1214 ++	echo hppa1.1-stratus-sysv4
 40.1215 ++	exit ;;
 40.1216 ++    *:*:*:FTX*)
 40.1217 ++	# From seanf@swdc.stratus.com.
 40.1218 ++	echo i860-stratus-sysv4
 40.1219 ++	exit ;;
 40.1220 ++    i*86:VOS:*:*)
 40.1221 ++	# From Paul.Green@stratus.com.
 40.1222 ++	echo ${UNAME_MACHINE}-stratus-vos
 40.1223 ++	exit ;;
 40.1224 ++    *:VOS:*:*)
 40.1225 ++	# From Paul.Green@stratus.com.
 40.1226 ++	echo hppa1.1-stratus-vos
 40.1227 ++	exit ;;
 40.1228 ++    mc68*:A/UX:*:*)
 40.1229 ++	echo m68k-apple-aux${UNAME_RELEASE}
 40.1230 ++	exit ;;
 40.1231 ++    news*:NEWS-OS:6*:*)
 40.1232 ++	echo mips-sony-newsos6
 40.1233 ++	exit ;;
 40.1234 ++    R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
 40.1235 ++	if [ -d /usr/nec ]; then
 40.1236 ++		echo mips-nec-sysv${UNAME_RELEASE}
 40.1237 ++	else
 40.1238 ++		echo mips-unknown-sysv${UNAME_RELEASE}
 40.1239 ++	fi
 40.1240 ++	exit ;;
 40.1241 ++    BeBox:BeOS:*:*)	# BeOS running on hardware made by Be, PPC only.
 40.1242 ++	echo powerpc-be-beos
 40.1243 ++	exit ;;
 40.1244 ++    BeMac:BeOS:*:*)	# BeOS running on Mac or Mac clone, PPC only.
 40.1245 ++	echo powerpc-apple-beos
 40.1246 ++	exit ;;
 40.1247 ++    BePC:BeOS:*:*)	# BeOS running on Intel PC compatible.
 40.1248 ++	echo i586-pc-beos
 40.1249 ++	exit ;;
 40.1250 ++    BePC:Haiku:*:*)	# Haiku running on Intel PC compatible.
 40.1251 ++	echo i586-pc-haiku
 40.1252 ++	exit ;;
 40.1253 ++    x86_64:Haiku:*:*)
 40.1254 ++	echo x86_64-unknown-haiku
 40.1255 ++	exit ;;
 40.1256 ++    SX-4:SUPER-UX:*:*)
 40.1257 ++	echo sx4-nec-superux${UNAME_RELEASE}
 40.1258 ++	exit ;;
 40.1259 ++    SX-5:SUPER-UX:*:*)
 40.1260 ++	echo sx5-nec-superux${UNAME_RELEASE}
 40.1261 ++	exit ;;
 40.1262 ++    SX-6:SUPER-UX:*:*)
 40.1263 ++	echo sx6-nec-superux${UNAME_RELEASE}
 40.1264 ++	exit ;;
 40.1265 ++    SX-7:SUPER-UX:*:*)
 40.1266 ++	echo sx7-nec-superux${UNAME_RELEASE}
 40.1267 ++	exit ;;
 40.1268 ++    SX-8:SUPER-UX:*:*)
 40.1269 ++	echo sx8-nec-superux${UNAME_RELEASE}
 40.1270 ++	exit ;;
 40.1271 ++    SX-8R:SUPER-UX:*:*)
 40.1272 ++	echo sx8r-nec-superux${UNAME_RELEASE}
 40.1273 ++	exit ;;
 40.1274 ++    Power*:Rhapsody:*:*)
 40.1275 ++	echo powerpc-apple-rhapsody${UNAME_RELEASE}
 40.1276 ++	exit ;;
 40.1277 ++    *:Rhapsody:*:*)
 40.1278 ++	echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
 40.1279 ++	exit ;;
 40.1280 ++    *:Darwin:*:*)
 40.1281 ++	UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
 40.1282 ++	eval $set_cc_for_build
 40.1283 ++	if test "$UNAME_PROCESSOR" = unknown ; then
 40.1284 ++	    UNAME_PROCESSOR=powerpc
 40.1285 ++	fi
 40.1286 ++	if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then
 40.1287 ++	    if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
 40.1288 ++		if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
 40.1289 ++		    (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
 40.1290 ++		    grep IS_64BIT_ARCH >/dev/null
 40.1291 ++		then
 40.1292 ++		    case $UNAME_PROCESSOR in
 40.1293 ++			i386) UNAME_PROCESSOR=x86_64 ;;
 40.1294 ++			powerpc) UNAME_PROCESSOR=powerpc64 ;;
 40.1295 ++		    esac
 40.1296 ++		fi
 40.1297 ++	    fi
 40.1298 ++	elif test "$UNAME_PROCESSOR" = i386 ; then
 40.1299 ++	    # Avoid executing cc on OS X 10.9, as it ships with a stub
 40.1300 ++	    # that puts up a graphical alert prompting to install
 40.1301 ++	    # developer tools.  Any system running Mac OS X 10.7 or
 40.1302 ++	    # later (Darwin 11 and later) is required to have a 64-bit
 40.1303 ++	    # processor. This is not true of the ARM version of Darwin
 40.1304 ++	    # that Apple uses in portable devices.
 40.1305 ++	    UNAME_PROCESSOR=x86_64
 40.1306 ++	fi
 40.1307 ++	echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
 40.1308 ++	exit ;;
 40.1309 ++    *:procnto*:*:* | *:QNX:[0123456789]*:*)
 40.1310 ++	UNAME_PROCESSOR=`uname -p`
 40.1311 ++	if test "$UNAME_PROCESSOR" = "x86"; then
 40.1312 ++		UNAME_PROCESSOR=i386
 40.1313 ++		UNAME_MACHINE=pc
 40.1314 ++	fi
 40.1315 ++	echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
 40.1316 ++	exit ;;
 40.1317 ++    *:QNX:*:4*)
 40.1318 ++	echo i386-pc-qnx
 40.1319 ++	exit ;;
 40.1320 ++    NEO-?:NONSTOP_KERNEL:*:*)
 40.1321 ++	echo neo-tandem-nsk${UNAME_RELEASE}
 40.1322 ++	exit ;;
 40.1323 ++    NSE-*:NONSTOP_KERNEL:*:*)
 40.1324 ++	echo nse-tandem-nsk${UNAME_RELEASE}
 40.1325 ++	exit ;;
 40.1326 ++    NSR-?:NONSTOP_KERNEL:*:*)
 40.1327 ++	echo nsr-tandem-nsk${UNAME_RELEASE}
 40.1328 ++	exit ;;
 40.1329 ++    *:NonStop-UX:*:*)
 40.1330 ++	echo mips-compaq-nonstopux
 40.1331 ++	exit ;;
 40.1332 ++    BS2000:POSIX*:*:*)
 40.1333 ++	echo bs2000-siemens-sysv
 40.1334 ++	exit ;;
 40.1335 ++    DS/*:UNIX_System_V:*:*)
 40.1336 ++	echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
 40.1337 ++	exit ;;
 40.1338 ++    *:Plan9:*:*)
 40.1339 ++	# "uname -m" is not consistent, so use $cputype instead. 386
 40.1340 ++	# is converted to i386 for consistency with other x86
 40.1341 ++	# operating systems.
 40.1342 ++	if test "$cputype" = "386"; then
 40.1343 ++	    UNAME_MACHINE=i386
 40.1344 ++	else
 40.1345 ++	    UNAME_MACHINE="$cputype"
 40.1346 ++	fi
 40.1347 ++	echo ${UNAME_MACHINE}-unknown-plan9
 40.1348 ++	exit ;;
 40.1349 ++    *:TOPS-10:*:*)
 40.1350 ++	echo pdp10-unknown-tops10
 40.1351 ++	exit ;;
 40.1352 ++    *:TENEX:*:*)
 40.1353 ++	echo pdp10-unknown-tenex
 40.1354 ++	exit ;;
 40.1355 ++    KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
 40.1356 ++	echo pdp10-dec-tops20
 40.1357 ++	exit ;;
 40.1358 ++    XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
 40.1359 ++	echo pdp10-xkl-tops20
 40.1360 ++	exit ;;
 40.1361 ++    *:TOPS-20:*:*)
 40.1362 ++	echo pdp10-unknown-tops20
 40.1363 ++	exit ;;
 40.1364 ++    *:ITS:*:*)
 40.1365 ++	echo pdp10-unknown-its
 40.1366 ++	exit ;;
 40.1367 ++    SEI:*:*:SEIUX)
 40.1368 ++	echo mips-sei-seiux${UNAME_RELEASE}
 40.1369 ++	exit ;;
 40.1370 ++    *:DragonFly:*:*)
 40.1371 ++	echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
 40.1372 ++	exit ;;
 40.1373 ++    *:*VMS:*:*)
 40.1374 ++	UNAME_MACHINE=`(uname -p) 2>/dev/null`
 40.1375 ++	case "${UNAME_MACHINE}" in
 40.1376 ++	    A*) echo alpha-dec-vms ; exit ;;
 40.1377 ++	    I*) echo ia64-dec-vms ; exit ;;
 40.1378 ++	    V*) echo vax-dec-vms ; exit ;;
 40.1379 ++	esac ;;
 40.1380 ++    *:XENIX:*:SysV)
 40.1381 ++	echo i386-pc-xenix
 40.1382 ++	exit ;;
 40.1383 ++    i*86:skyos:*:*)
 40.1384 ++	echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
 40.1385 ++	exit ;;
 40.1386 ++    i*86:rdos:*:*)
 40.1387 ++	echo ${UNAME_MACHINE}-pc-rdos
 40.1388 ++	exit ;;
 40.1389 ++    i*86:AROS:*:*)
 40.1390 ++	echo ${UNAME_MACHINE}-pc-aros
 40.1391 ++	exit ;;
 40.1392 ++    x86_64:VMkernel:*:*)
 40.1393 ++	echo ${UNAME_MACHINE}-unknown-esx
 40.1394 ++	exit ;;
 40.1395 ++esac
 40.1396 ++
 40.1397 ++cat >&2 <<EOF
 40.1398 ++$0: unable to guess system type
 40.1399 ++
 40.1400 ++This script, last modified $timestamp, has failed to recognize
 40.1401 ++the operating system you are using. It is advised that you
 40.1402 ++download the most up to date version of the config scripts from
 40.1403 ++
 40.1404 ++  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
 40.1405 ++and
 40.1406 ++  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
 40.1407 ++
 40.1408 ++If the version you run ($0) is already up to date, please
 40.1409 ++send the following data and any information you think might be
 40.1410 ++pertinent to <config-patches@gnu.org> in order to provide the needed
 40.1411 ++information to handle your system.
 40.1412 ++
 40.1413 ++config.guess timestamp = $timestamp
 40.1414 ++
 40.1415 ++uname -m = `(uname -m) 2>/dev/null || echo unknown`
 40.1416 ++uname -r = `(uname -r) 2>/dev/null || echo unknown`
 40.1417 ++uname -s = `(uname -s) 2>/dev/null || echo unknown`
 40.1418 ++uname -v = `(uname -v) 2>/dev/null || echo unknown`
 40.1419 ++
 40.1420 ++/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null`
 40.1421 ++/bin/uname -X     = `(/bin/uname -X) 2>/dev/null`
 40.1422 ++
 40.1423 ++hostinfo               = `(hostinfo) 2>/dev/null`
 40.1424 ++/bin/universe          = `(/bin/universe) 2>/dev/null`
 40.1425 ++/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null`
 40.1426 ++/bin/arch              = `(/bin/arch) 2>/dev/null`
 40.1427 ++/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null`
 40.1428 ++/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
 40.1429 ++
 40.1430 ++UNAME_MACHINE = ${UNAME_MACHINE}
 40.1431 ++UNAME_RELEASE = ${UNAME_RELEASE}
 40.1432 ++UNAME_SYSTEM  = ${UNAME_SYSTEM}
 40.1433 ++UNAME_VERSION = ${UNAME_VERSION}
 40.1434 ++EOF
 40.1435 ++
 40.1436 ++exit 1
 40.1437 ++
 40.1438 ++# Local variables:
 40.1439 ++# eval: (add-hook 'write-file-hooks 'time-stamp)
 40.1440 ++# time-stamp-start: "timestamp='"
 40.1441 ++# time-stamp-format: "%:y-%02m-%02d"
 40.1442 ++# time-stamp-end: "'"
 40.1443 ++# End:
 40.1444 +--- openjade1.3-1.3.2.orig/config.sub
 40.1445 ++++ openjade1.3-1.3.2/config.sub
 40.1446 +@@ -0,0 +1,1794 @@
 40.1447 ++#! /bin/sh
 40.1448 ++# Configuration validation subroutine script.
 40.1449 ++#   Copyright 1992-2014 Free Software Foundation, Inc.
 40.1450 ++
 40.1451 ++timestamp='2014-05-01'
 40.1452 ++
 40.1453 ++# This file is free software; you can redistribute it and/or modify it
 40.1454 ++# under the terms of the GNU General Public License as published by
 40.1455 ++# the Free Software Foundation; either version 3 of the License, or
 40.1456 ++# (at your option) any later version.
 40.1457 ++#
 40.1458 ++# This program is distributed in the hope that it will be useful, but
 40.1459 ++# WITHOUT ANY WARRANTY; without even the implied warranty of
 40.1460 ++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 40.1461 ++# General Public License for more details.
 40.1462 ++#
 40.1463 ++# You should have received a copy of the GNU General Public License
 40.1464 ++# along with this program; if not, see <http://www.gnu.org/licenses/>.
 40.1465 ++#
 40.1466 ++# As a special exception to the GNU General Public License, if you
 40.1467 ++# distribute this file as part of a program that contains a
 40.1468 ++# configuration script generated by Autoconf, you may include it under
 40.1469 ++# the same distribution terms that you use for the rest of that
 40.1470 ++# program.  This Exception is an additional permission under section 7
 40.1471 ++# of the GNU General Public License, version 3 ("GPLv3").
 40.1472 ++
 40.1473 ++
 40.1474 ++# Please send patches with a ChangeLog entry to config-patches@gnu.org.
 40.1475 ++#
 40.1476 ++# Configuration subroutine to validate and canonicalize a configuration type.
 40.1477 ++# Supply the specified configuration type as an argument.
 40.1478 ++# If it is invalid, we print an error message on stderr and exit with code 1.
 40.1479 ++# Otherwise, we print the canonical config type on stdout and succeed.
 40.1480 ++
 40.1481 ++# You can get the latest version of this script from:
 40.1482 ++# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
 40.1483 ++
 40.1484 ++# This file is supposed to be the same for all GNU packages
 40.1485 ++# and recognize all the CPU types, system types and aliases
 40.1486 ++# that are meaningful with *any* GNU software.
 40.1487 ++# Each package is responsible for reporting which valid configurations
 40.1488 ++# it does not support.  The user should be able to distinguish
 40.1489 ++# a failure to support a valid configuration from a meaningless
 40.1490 ++# configuration.
 40.1491 ++
 40.1492 ++# The goal of this file is to map all the various variations of a given
 40.1493 ++# machine specification into a single specification in the form:
 40.1494 ++#	CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
 40.1495 ++# or in some cases, the newer four-part form:
 40.1496 ++#	CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
 40.1497 ++# It is wrong to echo any other type of specification.
 40.1498 ++
 40.1499 ++me=`echo "$0" | sed -e 's,.*/,,'`
 40.1500 ++
 40.1501 ++usage="\
 40.1502 ++Usage: $0 [OPTION] CPU-MFR-OPSYS
 40.1503 ++       $0 [OPTION] ALIAS
 40.1504 ++
 40.1505 ++Canonicalize a configuration name.
 40.1506 ++
 40.1507 ++Operation modes:
 40.1508 ++  -h, --help         print this help, then exit
 40.1509 ++  -t, --time-stamp   print date of last modification, then exit
 40.1510 ++  -v, --version      print version number, then exit
 40.1511 ++
 40.1512 ++Report bugs and patches to <config-patches@gnu.org>."
 40.1513 ++
 40.1514 ++version="\
 40.1515 ++GNU config.sub ($timestamp)
 40.1516 ++
 40.1517 ++Copyright 1992-2014 Free Software Foundation, Inc.
 40.1518 ++
 40.1519 ++This is free software; see the source for copying conditions.  There is NO
 40.1520 ++warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
 40.1521 ++
 40.1522 ++help="
 40.1523 ++Try \`$me --help' for more information."
 40.1524 ++
 40.1525 ++# Parse command line
 40.1526 ++while test $# -gt 0 ; do
 40.1527 ++  case $1 in
 40.1528 ++    --time-stamp | --time* | -t )
 40.1529 ++       echo "$timestamp" ; exit ;;
 40.1530 ++    --version | -v )
 40.1531 ++       echo "$version" ; exit ;;
 40.1532 ++    --help | --h* | -h )
 40.1533 ++       echo "$usage"; exit ;;
 40.1534 ++    -- )     # Stop option processing
 40.1535 ++       shift; break ;;
 40.1536 ++    - )	# Use stdin as input.
 40.1537 ++       break ;;
 40.1538 ++    -* )
 40.1539 ++       echo "$me: invalid option $1$help"
 40.1540 ++       exit 1 ;;
 40.1541 ++
 40.1542 ++    *local*)
 40.1543 ++       # First pass through any local machine types.
 40.1544 ++       echo $1
 40.1545 ++       exit ;;
 40.1546 ++
 40.1547 ++    * )
 40.1548 ++       break ;;
 40.1549 ++  esac
 40.1550 ++done
 40.1551 ++
 40.1552 ++case $# in
 40.1553 ++ 0) echo "$me: missing argument$help" >&2
 40.1554 ++    exit 1;;
 40.1555 ++ 1) ;;
 40.1556 ++ *) echo "$me: too many arguments$help" >&2
 40.1557 ++    exit 1;;
 40.1558 ++esac
 40.1559 ++
 40.1560 ++# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
 40.1561 ++# Here we must recognize all the valid KERNEL-OS combinations.
 40.1562 ++maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
 40.1563 ++case $maybe_os in
 40.1564 ++  nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
 40.1565 ++  linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
 40.1566 ++  knetbsd*-gnu* | netbsd*-gnu* | \
 40.1567 ++  kopensolaris*-gnu* | \
 40.1568 ++  storm-chaos* | os2-emx* | rtmk-nova*)
 40.1569 ++    os=-$maybe_os
 40.1570 ++    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
 40.1571 ++    ;;
 40.1572 ++  android-linux)
 40.1573 ++    os=-linux-android
 40.1574 ++    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
 40.1575 ++    ;;
 40.1576 ++  *)
 40.1577 ++    basic_machine=`echo $1 | sed 's/-[^-]*$//'`
 40.1578 ++    if [ $basic_machine != $1 ]
 40.1579 ++    then os=`echo $1 | sed 's/.*-/-/'`
 40.1580 ++    else os=; fi
 40.1581 ++    ;;
 40.1582 ++esac
 40.1583 ++
 40.1584 ++### Let's recognize common machines as not being operating systems so
 40.1585 ++### that things like config.sub decstation-3100 work.  We also
 40.1586 ++### recognize some manufacturers as not being operating systems, so we
 40.1587 ++### can provide default operating systems below.
 40.1588 ++case $os in
 40.1589 ++	-sun*os*)
 40.1590 ++		# Prevent following clause from handling this invalid input.
 40.1591 ++		;;
 40.1592 ++	-dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
 40.1593 ++	-att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
 40.1594 ++	-unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
 40.1595 ++	-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
 40.1596 ++	-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
 40.1597 ++	-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
 40.1598 ++	-apple | -axis | -knuth | -cray | -microblaze*)
 40.1599 ++		os=
 40.1600 ++		basic_machine=$1
 40.1601 ++		;;
 40.1602 ++	-bluegene*)
 40.1603 ++		os=-cnk
 40.1604 ++		;;
 40.1605 ++	-sim | -cisco | -oki | -wec | -winbond)
 40.1606 ++		os=
 40.1607 ++		basic_machine=$1
 40.1608 ++		;;
 40.1609 ++	-scout)
 40.1610 ++		;;
 40.1611 ++	-wrs)
 40.1612 ++		os=-vxworks
 40.1613 ++		basic_machine=$1
 40.1614 ++		;;
 40.1615 ++	-chorusos*)
 40.1616 ++		os=-chorusos
 40.1617 ++		basic_machine=$1
 40.1618 ++		;;
 40.1619 ++	-chorusrdb)
 40.1620 ++		os=-chorusrdb
 40.1621 ++		basic_machine=$1
 40.1622 ++		;;
 40.1623 ++	-hiux*)
 40.1624 ++		os=-hiuxwe2
 40.1625 ++		;;
 40.1626 ++	-sco6)
 40.1627 ++		os=-sco5v6
 40.1628 ++		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
 40.1629 ++		;;
 40.1630 ++	-sco5)
 40.1631 ++		os=-sco3.2v5
 40.1632 ++		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
 40.1633 ++		;;
 40.1634 ++	-sco4)
 40.1635 ++		os=-sco3.2v4
 40.1636 ++		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
 40.1637 ++		;;
 40.1638 ++	-sco3.2.[4-9]*)
 40.1639 ++		os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
 40.1640 ++		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
 40.1641 ++		;;
 40.1642 ++	-sco3.2v[4-9]*)
 40.1643 ++		# Don't forget version if it is 3.2v4 or newer.
 40.1644 ++		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
 40.1645 ++		;;
 40.1646 ++	-sco5v6*)
 40.1647 ++		# Don't forget version if it is 3.2v4 or newer.
 40.1648 ++		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
 40.1649 ++		;;
 40.1650 ++	-sco*)
 40.1651 ++		os=-sco3.2v2
 40.1652 ++		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
 40.1653 ++		;;
 40.1654 ++	-udk*)
 40.1655 ++		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
 40.1656 ++		;;
 40.1657 ++	-isc)
 40.1658 ++		os=-isc2.2
 40.1659 ++		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
 40.1660 ++		;;
 40.1661 ++	-clix*)
 40.1662 ++		basic_machine=clipper-intergraph
 40.1663 ++		;;
 40.1664 ++	-isc*)
 40.1665 ++		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
 40.1666 ++		;;
 40.1667 ++	-lynx*178)
 40.1668 ++		os=-lynxos178
 40.1669 ++		;;
 40.1670 ++	-lynx*5)
 40.1671 ++		os=-lynxos5
 40.1672 ++		;;
 40.1673 ++	-lynx*)
 40.1674 ++		os=-lynxos
 40.1675 ++		;;
 40.1676 ++	-ptx*)
 40.1677 ++		basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
 40.1678 ++		;;
 40.1679 ++	-windowsnt*)
 40.1680 ++		os=`echo $os | sed -e 's/windowsnt/winnt/'`
 40.1681 ++		;;
 40.1682 ++	-psos*)
 40.1683 ++		os=-psos
 40.1684 ++		;;
 40.1685 ++	-mint | -mint[0-9]*)
 40.1686 ++		basic_machine=m68k-atari
 40.1687 ++		os=-mint
 40.1688 ++		;;
 40.1689 ++esac
 40.1690 ++
 40.1691 ++# Decode aliases for certain CPU-COMPANY combinations.
 40.1692 ++case $basic_machine in
 40.1693 ++	# Recognize the basic CPU types without company name.
 40.1694 ++	# Some are omitted here because they have special meanings below.
 40.1695 ++	1750a | 580 \
 40.1696 ++	| a29k \
 40.1697 ++	| aarch64 | aarch64_be \
 40.1698 ++	| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
 40.1699 ++	| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
 40.1700 ++	| am33_2.0 \
 40.1701 ++	| arc | arceb \
 40.1702 ++	| arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
 40.1703 ++	| avr | avr32 \
 40.1704 ++	| be32 | be64 \
 40.1705 ++	| bfin \
 40.1706 ++	| c4x | c8051 | clipper \
 40.1707 ++	| d10v | d30v | dlx | dsp16xx \
 40.1708 ++	| epiphany \
 40.1709 ++	| fido | fr30 | frv \
 40.1710 ++	| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
 40.1711 ++	| hexagon \
 40.1712 ++	| i370 | i860 | i960 | ia64 \
 40.1713 ++	| ip2k | iq2000 \
 40.1714 ++	| k1om \
 40.1715 ++	| le32 | le64 \
 40.1716 ++	| lm32 \
 40.1717 ++	| m32c | m32r | m32rle | m68000 | m68k | m88k \
 40.1718 ++	| maxq | mb | microblaze | microblazeel | mcore | mep | metag \
 40.1719 ++	| mips | mipsbe | mipseb | mipsel | mipsle \
 40.1720 ++	| mips16 \
 40.1721 ++	| mips64 | mips64el \
 40.1722 ++	| mips64octeon | mips64octeonel \
 40.1723 ++	| mips64orion | mips64orionel \
 40.1724 ++	| mips64r5900 | mips64r5900el \
 40.1725 ++	| mips64vr | mips64vrel \
 40.1726 ++	| mips64vr4100 | mips64vr4100el \
 40.1727 ++	| mips64vr4300 | mips64vr4300el \
 40.1728 ++	| mips64vr5000 | mips64vr5000el \
 40.1729 ++	| mips64vr5900 | mips64vr5900el \
 40.1730 ++	| mipsisa32 | mipsisa32el \
 40.1731 ++	| mipsisa32r2 | mipsisa32r2el \
 40.1732 ++	| mipsisa32r6 | mipsisa32r6el \
 40.1733 ++	| mipsisa64 | mipsisa64el \
 40.1734 ++	| mipsisa64r2 | mipsisa64r2el \
 40.1735 ++	| mipsisa64r6 | mipsisa64r6el \
 40.1736 ++	| mipsisa64sb1 | mipsisa64sb1el \
 40.1737 ++	| mipsisa64sr71k | mipsisa64sr71kel \
 40.1738 ++	| mipsr5900 | mipsr5900el \
 40.1739 ++	| mipstx39 | mipstx39el \
 40.1740 ++	| mn10200 | mn10300 \
 40.1741 ++	| moxie \
 40.1742 ++	| mt \
 40.1743 ++	| msp430 \
 40.1744 ++	| nds32 | nds32le | nds32be \
 40.1745 ++	| nios | nios2 | nios2eb | nios2el \
 40.1746 ++	| ns16k | ns32k \
 40.1747 ++	| open8 | or1k | or1knd | or32 \
 40.1748 ++	| pdp10 | pdp11 | pj | pjl \
 40.1749 ++	| powerpc | powerpc64 | powerpc64le | powerpcle \
 40.1750 ++	| pyramid \
 40.1751 ++	| rl78 | rx \
 40.1752 ++	| score \
 40.1753 ++	| sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
 40.1754 ++	| sh64 | sh64le \
 40.1755 ++	| sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
 40.1756 ++	| sparcv8 | sparcv9 | sparcv9b | sparcv9v \
 40.1757 ++	| spu \
 40.1758 ++	| tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
 40.1759 ++	| ubicom32 \
 40.1760 ++	| v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
 40.1761 ++	| we32k \
 40.1762 ++	| x86 | xc16x | xstormy16 | xtensa \
 40.1763 ++	| z8k | z80)
 40.1764 ++		basic_machine=$basic_machine-unknown
 40.1765 ++		;;
 40.1766 ++	c54x)
 40.1767 ++		basic_machine=tic54x-unknown
 40.1768 ++		;;
 40.1769 ++	c55x)
 40.1770 ++		basic_machine=tic55x-unknown
 40.1771 ++		;;
 40.1772 ++	c6x)
 40.1773 ++		basic_machine=tic6x-unknown
 40.1774 ++		;;
 40.1775 ++	m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip)
 40.1776 ++		basic_machine=$basic_machine-unknown
 40.1777 ++		os=-none
 40.1778 ++		;;
 40.1779 ++	m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
 40.1780 ++		;;
 40.1781 ++	ms1)
 40.1782 ++		basic_machine=mt-unknown
 40.1783 ++		;;
 40.1784 ++
 40.1785 ++	strongarm | thumb | xscale)
 40.1786 ++		basic_machine=arm-unknown
 40.1787 ++		;;
 40.1788 ++	xgate)
 40.1789 ++		basic_machine=$basic_machine-unknown
 40.1790 ++		os=-none
 40.1791 ++		;;
 40.1792 ++	xscaleeb)
 40.1793 ++		basic_machine=armeb-unknown
 40.1794 ++		;;
 40.1795 ++
 40.1796 ++	xscaleel)
 40.1797 ++		basic_machine=armel-unknown
 40.1798 ++		;;
 40.1799 ++
 40.1800 ++	# We use `pc' rather than `unknown'
 40.1801 ++	# because (1) that's what they normally are, and
 40.1802 ++	# (2) the word "unknown" tends to confuse beginning users.
 40.1803 ++	i*86 | x86_64)
 40.1804 ++	  basic_machine=$basic_machine-pc
 40.1805 ++	  ;;
 40.1806 ++	# Object if more than one company name word.
 40.1807 ++	*-*-*)
 40.1808 ++		echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
 40.1809 ++		exit 1
 40.1810 ++		;;
 40.1811 ++	# Recognize the basic CPU types with company name.
 40.1812 ++	580-* \
 40.1813 ++	| a29k-* \
 40.1814 ++	| aarch64-* | aarch64_be-* \
 40.1815 ++	| alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
 40.1816 ++	| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
 40.1817 ++	| alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
 40.1818 ++	| arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
 40.1819 ++	| avr-* | avr32-* \
 40.1820 ++	| be32-* | be64-* \
 40.1821 ++	| bfin-* | bs2000-* \
 40.1822 ++	| c[123]* | c30-* | [cjt]90-* | c4x-* \
 40.1823 ++	| c8051-* | clipper-* | craynv-* | cydra-* \
 40.1824 ++	| d10v-* | d30v-* | dlx-* \
 40.1825 ++	| elxsi-* \
 40.1826 ++	| f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
 40.1827 ++	| h8300-* | h8500-* \
 40.1828 ++	| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
 40.1829 ++	| hexagon-* \
 40.1830 ++	| i*86-* | i860-* | i960-* | ia64-* \
 40.1831 ++	| ip2k-* | iq2000-* \
 40.1832 ++	| k1om-* \
 40.1833 ++	| le32-* | le64-* \
 40.1834 ++	| lm32-* \
 40.1835 ++	| m32c-* | m32r-* | m32rle-* \
 40.1836 ++	| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
 40.1837 ++	| m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
 40.1838 ++	| microblaze-* | microblazeel-* \
 40.1839 ++	| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
 40.1840 ++	| mips16-* \
 40.1841 ++	| mips64-* | mips64el-* \
 40.1842 ++	| mips64octeon-* | mips64octeonel-* \
 40.1843 ++	| mips64orion-* | mips64orionel-* \
 40.1844 ++	| mips64r5900-* | mips64r5900el-* \
 40.1845 ++	| mips64vr-* | mips64vrel-* \
 40.1846 ++	| mips64vr4100-* | mips64vr4100el-* \
 40.1847 ++	| mips64vr4300-* | mips64vr4300el-* \
 40.1848 ++	| mips64vr5000-* | mips64vr5000el-* \
 40.1849 ++	| mips64vr5900-* | mips64vr5900el-* \
 40.1850 ++	| mipsisa32-* | mipsisa32el-* \
 40.1851 ++	| mipsisa32r2-* | mipsisa32r2el-* \
 40.1852 ++	| mipsisa32r6-* | mipsisa32r6el-* \
 40.1853 ++	| mipsisa64-* | mipsisa64el-* \
 40.1854 ++	| mipsisa64r2-* | mipsisa64r2el-* \
 40.1855 ++	| mipsisa64r6-* | mipsisa64r6el-* \
 40.1856 ++	| mipsisa64sb1-* | mipsisa64sb1el-* \
 40.1857 ++	| mipsisa64sr71k-* | mipsisa64sr71kel-* \
 40.1858 ++	| mipsr5900-* | mipsr5900el-* \
 40.1859 ++	| mipstx39-* | mipstx39el-* \
 40.1860 ++	| mmix-* \
 40.1861 ++	| mt-* \
 40.1862 ++	| msp430-* \
 40.1863 ++	| nds32-* | nds32le-* | nds32be-* \
 40.1864 ++	| nios-* | nios2-* | nios2eb-* | nios2el-* \
 40.1865 ++	| none-* | np1-* | ns16k-* | ns32k-* \
 40.1866 ++	| open8-* \
 40.1867 ++	| or1k*-* \
 40.1868 ++	| orion-* \
 40.1869 ++	| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
 40.1870 ++	| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
 40.1871 ++	| pyramid-* \
 40.1872 ++	| rl78-* | romp-* | rs6000-* | rx-* \
 40.1873 ++	| sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
 40.1874 ++	| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
 40.1875 ++	| sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
 40.1876 ++	| sparclite-* \
 40.1877 ++	| sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
 40.1878 ++	| tahoe-* \
 40.1879 ++	| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
 40.1880 ++	| tile*-* \
 40.1881 ++	| tron-* \
 40.1882 ++	| ubicom32-* \
 40.1883 ++	| v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
 40.1884 ++	| vax-* \
 40.1885 ++	| we32k-* \
 40.1886 ++	| x86-* | x86_64-* | xc16x-* | xps100-* \
 40.1887 ++	| xstormy16-* | xtensa*-* \
 40.1888 ++	| ymp-* \
 40.1889 ++	| z8k-* | z80-*)
 40.1890 ++		;;
 40.1891 ++	# Recognize the basic CPU types without company name, with glob match.
 40.1892 ++	xtensa*)
 40.1893 ++		basic_machine=$basic_machine-unknown
 40.1894 ++		;;
 40.1895 ++	# Recognize the various machine names and aliases which stand
 40.1896 ++	# for a CPU type and a company and sometimes even an OS.
 40.1897 ++	386bsd)
 40.1898 ++		basic_machine=i386-unknown
 40.1899 ++		os=-bsd
 40.1900 ++		;;
 40.1901 ++	3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
 40.1902 ++		basic_machine=m68000-att
 40.1903 ++		;;
 40.1904 ++	3b*)
 40.1905 ++		basic_machine=we32k-att
 40.1906 ++		;;
 40.1907 ++	a29khif)
 40.1908 ++		basic_machine=a29k-amd
 40.1909 ++		os=-udi
 40.1910 ++		;;
 40.1911 ++	abacus)
 40.1912 ++		basic_machine=abacus-unknown
 40.1913 ++		;;
 40.1914 ++	adobe68k)
 40.1915 ++		basic_machine=m68010-adobe
 40.1916 ++		os=-scout
 40.1917 ++		;;
 40.1918 ++	alliant | fx80)
 40.1919 ++		basic_machine=fx80-alliant
 40.1920 ++		;;
 40.1921 ++	altos | altos3068)
 40.1922 ++		basic_machine=m68k-altos
 40.1923 ++		;;
 40.1924 ++	am29k)
 40.1925 ++		basic_machine=a29k-none
 40.1926 ++		os=-bsd
 40.1927 ++		;;
 40.1928 ++	amd64)
 40.1929 ++		basic_machine=x86_64-pc
 40.1930 ++		;;
 40.1931 ++	amd64-*)
 40.1932 ++		basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
 40.1933 ++		;;
 40.1934 ++	amdahl)
 40.1935 ++		basic_machine=580-amdahl
 40.1936 ++		os=-sysv
 40.1937 ++		;;
 40.1938 ++	amiga | amiga-*)
 40.1939 ++		basic_machine=m68k-unknown
 40.1940 ++		;;
 40.1941 ++	amigaos | amigados)
 40.1942 ++		basic_machine=m68k-unknown
 40.1943 ++		os=-amigaos
 40.1944 ++		;;
 40.1945 ++	amigaunix | amix)
 40.1946 ++		basic_machine=m68k-unknown
 40.1947 ++		os=-sysv4
 40.1948 ++		;;
 40.1949 ++	apollo68)
 40.1950 ++		basic_machine=m68k-apollo
 40.1951 ++		os=-sysv
 40.1952 ++		;;
 40.1953 ++	apollo68bsd)
 40.1954 ++		basic_machine=m68k-apollo
 40.1955 ++		os=-bsd
 40.1956 ++		;;
 40.1957 ++	aros)
 40.1958 ++		basic_machine=i386-pc
 40.1959 ++		os=-aros
 40.1960 ++		;;
 40.1961 ++	aux)
 40.1962 ++		basic_machine=m68k-apple
 40.1963 ++		os=-aux
 40.1964 ++		;;
 40.1965 ++	balance)
 40.1966 ++		basic_machine=ns32k-sequent
 40.1967 ++		os=-dynix
 40.1968 ++		;;
 40.1969 ++	blackfin)
 40.1970 ++		basic_machine=bfin-unknown
 40.1971 ++		os=-linux
 40.1972 ++		;;
 40.1973 ++	blackfin-*)
 40.1974 ++		basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
 40.1975 ++		os=-linux
 40.1976 ++		;;
 40.1977 ++	bluegene*)
 40.1978 ++		basic_machine=powerpc-ibm
 40.1979 ++		os=-cnk
 40.1980 ++		;;
 40.1981 ++	c54x-*)
 40.1982 ++		basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
 40.1983 ++		;;
 40.1984 ++	c55x-*)
 40.1985 ++		basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
 40.1986 ++		;;
 40.1987 ++	c6x-*)
 40.1988 ++		basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
 40.1989 ++		;;
 40.1990 ++	c90)
 40.1991 ++		basic_machine=c90-cray
 40.1992 ++		os=-unicos
 40.1993 ++		;;
 40.1994 ++	cegcc)
 40.1995 ++		basic_machine=arm-unknown
 40.1996 ++		os=-cegcc
 40.1997 ++		;;
 40.1998 ++	convex-c1)
 40.1999 ++		basic_machine=c1-convex
 40.2000 ++		os=-bsd
 40.2001 ++		;;
 40.2002 ++	convex-c2)
 40.2003 ++		basic_machine=c2-convex
 40.2004 ++		os=-bsd
 40.2005 ++		;;
 40.2006 ++	convex-c32)
 40.2007 ++		basic_machine=c32-convex
 40.2008 ++		os=-bsd
 40.2009 ++		;;
 40.2010 ++	convex-c34)
 40.2011 ++		basic_machine=c34-convex
 40.2012 ++		os=-bsd
 40.2013 ++		;;
 40.2014 ++	convex-c38)
 40.2015 ++		basic_machine=c38-convex
 40.2016 ++		os=-bsd
 40.2017 ++		;;
 40.2018 ++	cray | j90)
 40.2019 ++		basic_machine=j90-cray
 40.2020 ++		os=-unicos
 40.2021 ++		;;
 40.2022 ++	craynv)
 40.2023 ++		basic_machine=craynv-cray
 40.2024 ++		os=-unicosmp
 40.2025 ++		;;
 40.2026 ++	cr16 | cr16-*)
 40.2027 ++		basic_machine=cr16-unknown
 40.2028 ++		os=-elf
 40.2029 ++		;;
 40.2030 ++	crds | unos)
 40.2031 ++		basic_machine=m68k-crds
 40.2032 ++		;;
 40.2033 ++	crisv32 | crisv32-* | etraxfs*)
 40.2034 ++		basic_machine=crisv32-axis
 40.2035 ++		;;
 40.2036 ++	cris | cris-* | etrax*)
 40.2037 ++		basic_machine=cris-axis
 40.2038 ++		;;
 40.2039 ++	crx)
 40.2040 ++		basic_machine=crx-unknown
 40.2041 ++		os=-elf
 40.2042 ++		;;
 40.2043 ++	da30 | da30-*)
 40.2044 ++		basic_machine=m68k-da30
 40.2045 ++		;;
 40.2046 ++	decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
 40.2047 ++		basic_machine=mips-dec
 40.2048 ++		;;
 40.2049 ++	decsystem10* | dec10*)
 40.2050 ++		basic_machine=pdp10-dec
 40.2051 ++		os=-tops10
 40.2052 ++		;;
 40.2053 ++	decsystem20* | dec20*)
 40.2054 ++		basic_machine=pdp10-dec
 40.2055 ++		os=-tops20
 40.2056 ++		;;
 40.2057 ++	delta | 3300 | motorola-3300 | motorola-delta \
 40.2058 ++	      | 3300-motorola | delta-motorola)
 40.2059 ++		basic_machine=m68k-motorola
 40.2060 ++		;;
 40.2061 ++	delta88)
 40.2062 ++		basic_machine=m88k-motorola
 40.2063 ++		os=-sysv3
 40.2064 ++		;;
 40.2065 ++	dicos)
 40.2066 ++		basic_machine=i686-pc
 40.2067 ++		os=-dicos
 40.2068 ++		;;
 40.2069 ++	djgpp)
 40.2070 ++		basic_machine=i586-pc
 40.2071 ++		os=-msdosdjgpp
 40.2072 ++		;;
 40.2073 ++	dpx20 | dpx20-*)
 40.2074 ++		basic_machine=rs6000-bull
 40.2075 ++		os=-bosx
 40.2076 ++		;;
 40.2077 ++	dpx2* | dpx2*-bull)
 40.2078 ++		basic_machine=m68k-bull
 40.2079 ++		os=-sysv3
 40.2080 ++		;;
 40.2081 ++	ebmon29k)
 40.2082 ++		basic_machine=a29k-amd
 40.2083 ++		os=-ebmon
 40.2084 ++		;;
 40.2085 ++	elxsi)
 40.2086 ++		basic_machine=elxsi-elxsi
 40.2087 ++		os=-bsd
 40.2088 ++		;;
 40.2089 ++	encore | umax | mmax)
 40.2090 ++		basic_machine=ns32k-encore
 40.2091 ++		;;
 40.2092 ++	es1800 | OSE68k | ose68k | ose | OSE)
 40.2093 ++		basic_machine=m68k-ericsson
 40.2094 ++		os=-ose
 40.2095 ++		;;
 40.2096 ++	fx2800)
 40.2097 ++		basic_machine=i860-alliant
 40.2098 ++		;;
 40.2099 ++	genix)
 40.2100 ++		basic_machine=ns32k-ns
 40.2101 ++		;;
 40.2102 ++	gmicro)
 40.2103 ++		basic_machine=tron-gmicro
 40.2104 ++		os=-sysv
 40.2105 ++		;;
 40.2106 ++	go32)
 40.2107 ++		basic_machine=i386-pc
 40.2108 ++		os=-go32
 40.2109 ++		;;
 40.2110 ++	h3050r* | hiux*)
 40.2111 ++		basic_machine=hppa1.1-hitachi
 40.2112 ++		os=-hiuxwe2
 40.2113 ++		;;
 40.2114 ++	h8300hms)
 40.2115 ++		basic_machine=h8300-hitachi
 40.2116 ++		os=-hms
 40.2117 ++		;;
 40.2118 ++	h8300xray)
 40.2119 ++		basic_machine=h8300-hitachi
 40.2120 ++		os=-xray
 40.2121 ++		;;
 40.2122 ++	h8500hms)
 40.2123 ++		basic_machine=h8500-hitachi
 40.2124 ++		os=-hms
 40.2125 ++		;;
 40.2126 ++	harris)
 40.2127 ++		basic_machine=m88k-harris
 40.2128 ++		os=-sysv3
 40.2129 ++		;;
 40.2130 ++	hp300-*)
 40.2131 ++		basic_machine=m68k-hp
 40.2132 ++		;;
 40.2133 ++	hp300bsd)
 40.2134 ++		basic_machine=m68k-hp
 40.2135 ++		os=-bsd
 40.2136 ++		;;
 40.2137 ++	hp300hpux)
 40.2138 ++		basic_machine=m68k-hp
 40.2139 ++		os=-hpux
 40.2140 ++		;;
 40.2141 ++	hp3k9[0-9][0-9] | hp9[0-9][0-9])
 40.2142 ++		basic_machine=hppa1.0-hp
 40.2143 ++		;;
 40.2144 ++	hp9k2[0-9][0-9] | hp9k31[0-9])
 40.2145 ++		basic_machine=m68000-hp
 40.2146 ++		;;
 40.2147 ++	hp9k3[2-9][0-9])
 40.2148 ++		basic_machine=m68k-hp
 40.2149 ++		;;
 40.2150 ++	hp9k6[0-9][0-9] | hp6[0-9][0-9])
 40.2151 ++		basic_machine=hppa1.0-hp
 40.2152 ++		;;
 40.2153 ++	hp9k7[0-79][0-9] | hp7[0-79][0-9])
 40.2154 ++		basic_machine=hppa1.1-hp
 40.2155 ++		;;
 40.2156 ++	hp9k78[0-9] | hp78[0-9])
 40.2157 ++		# FIXME: really hppa2.0-hp
 40.2158 ++		basic_machine=hppa1.1-hp
 40.2159 ++		;;
 40.2160 ++	hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
 40.2161 ++		# FIXME: really hppa2.0-hp
 40.2162 ++		basic_machine=hppa1.1-hp
 40.2163 ++		;;
 40.2164 ++	hp9k8[0-9][13679] | hp8[0-9][13679])
 40.2165 ++		basic_machine=hppa1.1-hp
 40.2166 ++		;;
 40.2167 ++	hp9k8[0-9][0-9] | hp8[0-9][0-9])
 40.2168 ++		basic_machine=hppa1.0-hp
 40.2169 ++		;;
 40.2170 ++	hppa-next)
 40.2171 ++		os=-nextstep3
 40.2172 ++		;;
 40.2173 ++	hppaosf)
 40.2174 ++		basic_machine=hppa1.1-hp
 40.2175 ++		os=-osf
 40.2176 ++		;;
 40.2177 ++	hppro)
 40.2178 ++		basic_machine=hppa1.1-hp
 40.2179 ++		os=-proelf
 40.2180 ++		;;
 40.2181 ++	i370-ibm* | ibm*)
 40.2182 ++		basic_machine=i370-ibm
 40.2183 ++		;;
 40.2184 ++	i*86v32)
 40.2185 ++		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
 40.2186 ++		os=-sysv32
 40.2187 ++		;;
 40.2188 ++	i*86v4*)
 40.2189 ++		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
 40.2190 ++		os=-sysv4
 40.2191 ++		;;
 40.2192 ++	i*86v)
 40.2193 ++		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
 40.2194 ++		os=-sysv
 40.2195 ++		;;
 40.2196 ++	i*86sol2)
 40.2197 ++		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
 40.2198 ++		os=-solaris2
 40.2199 ++		;;
 40.2200 ++	i386mach)
 40.2201 ++		basic_machine=i386-mach
 40.2202 ++		os=-mach
 40.2203 ++		;;
 40.2204 ++	i386-vsta | vsta)
 40.2205 ++		basic_machine=i386-unknown
 40.2206 ++		os=-vsta
 40.2207 ++		;;
 40.2208 ++	iris | iris4d)
 40.2209 ++		basic_machine=mips-sgi
 40.2210 ++		case $os in
 40.2211 ++		    -irix*)
 40.2212 ++			;;
 40.2213 ++		    *)
 40.2214 ++			os=-irix4
 40.2215 ++			;;
 40.2216 ++		esac
 40.2217 ++		;;
 40.2218 ++	isi68 | isi)
 40.2219 ++		basic_machine=m68k-isi
 40.2220 ++		os=-sysv
 40.2221 ++		;;
 40.2222 ++	m68knommu)
 40.2223 ++		basic_machine=m68k-unknown
 40.2224 ++		os=-linux
 40.2225 ++		;;
 40.2226 ++	m68knommu-*)
 40.2227 ++		basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
 40.2228 ++		os=-linux
 40.2229 ++		;;
 40.2230 ++	m88k-omron*)
 40.2231 ++		basic_machine=m88k-omron
 40.2232 ++		;;
 40.2233 ++	magnum | m3230)
 40.2234 ++		basic_machine=mips-mips
 40.2235 ++		os=-sysv
 40.2236 ++		;;
 40.2237 ++	merlin)
 40.2238 ++		basic_machine=ns32k-utek
 40.2239 ++		os=-sysv
 40.2240 ++		;;
 40.2241 ++	microblaze*)
 40.2242 ++		basic_machine=microblaze-xilinx
 40.2243 ++		;;
 40.2244 ++	mingw64)
 40.2245 ++		basic_machine=x86_64-pc
 40.2246 ++		os=-mingw64
 40.2247 ++		;;
 40.2248 ++	mingw32)
 40.2249 ++		basic_machine=i686-pc
 40.2250 ++		os=-mingw32
 40.2251 ++		;;
 40.2252 ++	mingw32ce)
 40.2253 ++		basic_machine=arm-unknown
 40.2254 ++		os=-mingw32ce
 40.2255 ++		;;
 40.2256 ++	miniframe)
 40.2257 ++		basic_machine=m68000-convergent
 40.2258 ++		;;
 40.2259 ++	*mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
 40.2260 ++		basic_machine=m68k-atari
 40.2261 ++		os=-mint
 40.2262 ++		;;
 40.2263 ++	mips3*-*)
 40.2264 ++		basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
 40.2265 ++		;;
 40.2266 ++	mips3*)
 40.2267 ++		basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
 40.2268 ++		;;
 40.2269 ++	monitor)
 40.2270 ++		basic_machine=m68k-rom68k
 40.2271 ++		os=-coff
 40.2272 ++		;;
 40.2273 ++	morphos)
 40.2274 ++		basic_machine=powerpc-unknown
 40.2275 ++		os=-morphos
 40.2276 ++		;;
 40.2277 ++	msdos)
 40.2278 ++		basic_machine=i386-pc
 40.2279 ++		os=-msdos
 40.2280 ++		;;
 40.2281 ++	ms1-*)
 40.2282 ++		basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
 40.2283 ++		;;
 40.2284 ++	msys)
 40.2285 ++		basic_machine=i686-pc
 40.2286 ++		os=-msys
 40.2287 ++		;;
 40.2288 ++	mvs)
 40.2289 ++		basic_machine=i370-ibm
 40.2290 ++		os=-mvs
 40.2291 ++		;;
 40.2292 ++	nacl)
 40.2293 ++		basic_machine=le32-unknown
 40.2294 ++		os=-nacl
 40.2295 ++		;;
 40.2296 ++	ncr3000)
 40.2297 ++		basic_machine=i486-ncr
 40.2298 ++		os=-sysv4
 40.2299 ++		;;
 40.2300 ++	netbsd386)
 40.2301 ++		basic_machine=i386-unknown
 40.2302 ++		os=-netbsd
 40.2303 ++		;;
 40.2304 ++	netwinder)
 40.2305 ++		basic_machine=armv4l-rebel
 40.2306 ++		os=-linux
 40.2307 ++		;;
 40.2308 ++	news | news700 | news800 | news900)
 40.2309 ++		basic_machine=m68k-sony
 40.2310 ++		os=-newsos
 40.2311 ++		;;
 40.2312 ++	news1000)
 40.2313 ++		basic_machine=m68030-sony
 40.2314 ++		os=-newsos
 40.2315 ++		;;
 40.2316 ++	news-3600 | risc-news)
 40.2317 ++		basic_machine=mips-sony
 40.2318 ++		os=-newsos
 40.2319 ++		;;
 40.2320 ++	necv70)
 40.2321 ++		basic_machine=v70-nec
 40.2322 ++		os=-sysv
 40.2323 ++		;;
 40.2324 ++	next | m*-next )
 40.2325 ++		basic_machine=m68k-next
 40.2326 ++		case $os in
 40.2327 ++		    -nextstep* )
 40.2328 ++			;;
 40.2329 ++		    -ns2*)
 40.2330 ++		      os=-nextstep2
 40.2331 ++			;;
 40.2332 ++		    *)
 40.2333 ++		      os=-nextstep3
 40.2334 ++			;;
 40.2335 ++		esac
 40.2336 ++		;;
 40.2337 ++	nh3000)
 40.2338 ++		basic_machine=m68k-harris
 40.2339 ++		os=-cxux
 40.2340 ++		;;
 40.2341 ++	nh[45]000)
 40.2342 ++		basic_machine=m88k-harris
 40.2343 ++		os=-cxux
 40.2344 ++		;;
 40.2345 ++	nindy960)
 40.2346 ++		basic_machine=i960-intel
 40.2347 ++		os=-nindy
 40.2348 ++		;;
 40.2349 ++	mon960)
 40.2350 ++		basic_machine=i960-intel
 40.2351 ++		os=-mon960
 40.2352 ++		;;
 40.2353 ++	nonstopux)
 40.2354 ++		basic_machine=mips-compaq
 40.2355 ++		os=-nonstopux
 40.2356 ++		;;
 40.2357 ++	np1)
 40.2358 ++		basic_machine=np1-gould
 40.2359 ++		;;
 40.2360 ++	neo-tandem)
 40.2361 ++		basic_machine=neo-tandem
 40.2362 ++		;;
 40.2363 ++	nse-tandem)
 40.2364 ++		basic_machine=nse-tandem
 40.2365 ++		;;
 40.2366 ++	nsr-tandem)
 40.2367 ++		basic_machine=nsr-tandem
 40.2368 ++		;;
 40.2369 ++	op50n-* | op60c-*)
 40.2370 ++		basic_machine=hppa1.1-oki
 40.2371 ++		os=-proelf
 40.2372 ++		;;
 40.2373 ++	openrisc | openrisc-*)
 40.2374 ++		basic_machine=or32-unknown
 40.2375 ++		;;
 40.2376 ++	os400)
 40.2377 ++		basic_machine=powerpc-ibm
 40.2378 ++		os=-os400
 40.2379 ++		;;
 40.2380 ++	OSE68000 | ose68000)
 40.2381 ++		basic_machine=m68000-ericsson
 40.2382 ++		os=-ose
 40.2383 ++		;;
 40.2384 ++	os68k)
 40.2385 ++		basic_machine=m68k-none
 40.2386 ++		os=-os68k
 40.2387 ++		;;
 40.2388 ++	pa-hitachi)
 40.2389 ++		basic_machine=hppa1.1-hitachi
 40.2390 ++		os=-hiuxwe2
 40.2391 ++		;;
 40.2392 ++	paragon)
 40.2393 ++		basic_machine=i860-intel
 40.2394 ++		os=-osf
 40.2395 ++		;;
 40.2396 ++	parisc)
 40.2397 ++		basic_machine=hppa-unknown
 40.2398 ++		os=-linux
 40.2399 ++		;;
 40.2400 ++	parisc-*)
 40.2401 ++		basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
 40.2402 ++		os=-linux
 40.2403 ++		;;
 40.2404 ++	pbd)
 40.2405 ++		basic_machine=sparc-tti
 40.2406 ++		;;
 40.2407 ++	pbb)
 40.2408 ++		basic_machine=m68k-tti
 40.2409 ++		;;
 40.2410 ++	pc532 | pc532-*)
 40.2411 ++		basic_machine=ns32k-pc532
 40.2412 ++		;;
 40.2413 ++	pc98)
 40.2414 ++		basic_machine=i386-pc
 40.2415 ++		;;
 40.2416 ++	pc98-*)
 40.2417 ++		basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
 40.2418 ++		;;
 40.2419 ++	pentium | p5 | k5 | k6 | nexgen | viac3)
 40.2420 ++		basic_machine=i586-pc
 40.2421 ++		;;
 40.2422 ++	pentiumpro | p6 | 6x86 | athlon | athlon_*)
 40.2423 ++		basic_machine=i686-pc
 40.2424 ++		;;
 40.2425 ++	pentiumii | pentium2 | pentiumiii | pentium3)
 40.2426 ++		basic_machine=i686-pc
 40.2427 ++		;;
 40.2428 ++	pentium4)
 40.2429 ++		basic_machine=i786-pc
 40.2430 ++		;;
 40.2431 ++	pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
 40.2432 ++		basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
 40.2433 ++		;;
 40.2434 ++	pentiumpro-* | p6-* | 6x86-* | athlon-*)
 40.2435 ++		basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
 40.2436 ++		;;
 40.2437 ++	pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
 40.2438 ++		basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
 40.2439 ++		;;
 40.2440 ++	pentium4-*)
 40.2441 ++		basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
 40.2442 ++		;;
 40.2443 ++	pn)
 40.2444 ++		basic_machine=pn-gould
 40.2445 ++		;;
 40.2446 ++	power)	basic_machine=power-ibm
 40.2447 ++		;;
 40.2448 ++	ppc | ppcbe)	basic_machine=powerpc-unknown
 40.2449 ++		;;
 40.2450 ++	ppc-* | ppcbe-*)
 40.2451 ++		basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
 40.2452 ++		;;
 40.2453 ++	ppcle | powerpclittle | ppc-le | powerpc-little)
 40.2454 ++		basic_machine=powerpcle-unknown
 40.2455 ++		;;
 40.2456 ++	ppcle-* | powerpclittle-*)
 40.2457 ++		basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
 40.2458 ++		;;
 40.2459 ++	ppc64)	basic_machine=powerpc64-unknown
 40.2460 ++		;;
 40.2461 ++	ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
 40.2462 ++		;;
 40.2463 ++	ppc64le | powerpc64little | ppc64-le | powerpc64-little)
 40.2464 ++		basic_machine=powerpc64le-unknown
 40.2465 ++		;;
 40.2466 ++	ppc64le-* | powerpc64little-*)
 40.2467 ++		basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
 40.2468 ++		;;
 40.2469 ++	ps2)
 40.2470 ++		basic_machine=i386-ibm
 40.2471 ++		;;
 40.2472 ++	pw32)
 40.2473 ++		basic_machine=i586-unknown
 40.2474 ++		os=-pw32
 40.2475 ++		;;
 40.2476 ++	rdos | rdos64)
 40.2477 ++		basic_machine=x86_64-pc
 40.2478 ++		os=-rdos
 40.2479 ++		;;
 40.2480 ++	rdos32)
 40.2481 ++		basic_machine=i386-pc
 40.2482 ++		os=-rdos
 40.2483 ++		;;
 40.2484 ++	rom68k)
 40.2485 ++		basic_machine=m68k-rom68k
 40.2486 ++		os=-coff
 40.2487 ++		;;
 40.2488 ++	rm[46]00)
 40.2489 ++		basic_machine=mips-siemens
 40.2490 ++		;;
 40.2491 ++	rtpc | rtpc-*)
 40.2492 ++		basic_machine=romp-ibm
 40.2493 ++		;;
 40.2494 ++	s390 | s390-*)
 40.2495 ++		basic_machine=s390-ibm
 40.2496 ++		;;
 40.2497 ++	s390x | s390x-*)
 40.2498 ++		basic_machine=s390x-ibm
 40.2499 ++		;;
 40.2500 ++	sa29200)
 40.2501 ++		basic_machine=a29k-amd
 40.2502 ++		os=-udi
 40.2503 ++		;;
 40.2504 ++	sb1)
 40.2505 ++		basic_machine=mipsisa64sb1-unknown
 40.2506 ++		;;
 40.2507 ++	sb1el)
 40.2508 ++		basic_machine=mipsisa64sb1el-unknown
 40.2509 ++		;;
 40.2510 ++	sde)
 40.2511 ++		basic_machine=mipsisa32-sde
 40.2512 ++		os=-elf
 40.2513 ++		;;
 40.2514 ++	sei)
 40.2515 ++		basic_machine=mips-sei
 40.2516 ++		os=-seiux
 40.2517 ++		;;
 40.2518 ++	sequent)
 40.2519 ++		basic_machine=i386-sequent
 40.2520 ++		;;
 40.2521 ++	sh)
 40.2522 ++		basic_machine=sh-hitachi
 40.2523 ++		os=-hms
 40.2524 ++		;;
 40.2525 ++	sh5el)
 40.2526 ++		basic_machine=sh5le-unknown
 40.2527 ++		;;
 40.2528 ++	sh64)
 40.2529 ++		basic_machine=sh64-unknown
 40.2530 ++		;;
 40.2531 ++	sparclite-wrs | simso-wrs)
 40.2532 ++		basic_machine=sparclite-wrs
 40.2533 ++		os=-vxworks
 40.2534 ++		;;
 40.2535 ++	sps7)
 40.2536 ++		basic_machine=m68k-bull
 40.2537 ++		os=-sysv2
 40.2538 ++		;;
 40.2539 ++	spur)
 40.2540 ++		basic_machine=spur-unknown
 40.2541 ++		;;
 40.2542 ++	st2000)
 40.2543 ++		basic_machine=m68k-tandem
 40.2544 ++		;;
 40.2545 ++	stratus)
 40.2546 ++		basic_machine=i860-stratus
 40.2547 ++		os=-sysv4
 40.2548 ++		;;
 40.2549 ++	strongarm-* | thumb-*)
 40.2550 ++		basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
 40.2551 ++		;;
 40.2552 ++	sun2)
 40.2553 ++		basic_machine=m68000-sun
 40.2554 ++		;;
 40.2555 ++	sun2os3)
 40.2556 ++		basic_machine=m68000-sun
 40.2557 ++		os=-sunos3
 40.2558 ++		;;
 40.2559 ++	sun2os4)
 40.2560 ++		basic_machine=m68000-sun
 40.2561 ++		os=-sunos4
 40.2562 ++		;;
 40.2563 ++	sun3os3)
 40.2564 ++		basic_machine=m68k-sun
 40.2565 ++		os=-sunos3
 40.2566 ++		;;
 40.2567 ++	sun3os4)
 40.2568 ++		basic_machine=m68k-sun
 40.2569 ++		os=-sunos4
 40.2570 ++		;;
 40.2571 ++	sun4os3)
 40.2572 ++		basic_machine=sparc-sun
 40.2573 ++		os=-sunos3
 40.2574 ++		;;
 40.2575 ++	sun4os4)
 40.2576 ++		basic_machine=sparc-sun
 40.2577 ++		os=-sunos4
 40.2578 ++		;;
 40.2579 ++	sun4sol2)
 40.2580 ++		basic_machine=sparc-sun
 40.2581 ++		os=-solaris2
 40.2582 ++		;;
 40.2583 ++	sun3 | sun3-*)
 40.2584 ++		basic_machine=m68k-sun
 40.2585 ++		;;
 40.2586 ++	sun4)
 40.2587 ++		basic_machine=sparc-sun
 40.2588 ++		;;
 40.2589 ++	sun386 | sun386i | roadrunner)
 40.2590 ++		basic_machine=i386-sun
 40.2591 ++		;;
 40.2592 ++	sv1)
 40.2593 ++		basic_machine=sv1-cray
 40.2594 ++		os=-unicos
 40.2595 ++		;;
 40.2596 ++	symmetry)
 40.2597 ++		basic_machine=i386-sequent
 40.2598 ++		os=-dynix
 40.2599 ++		;;
 40.2600 ++	t3e)
 40.2601 ++		basic_machine=alphaev5-cray
 40.2602 ++		os=-unicos
 40.2603 ++		;;
 40.2604 ++	t90)
 40.2605 ++		basic_machine=t90-cray
 40.2606 ++		os=-unicos
 40.2607 ++		;;
 40.2608 ++	tile*)
 40.2609 ++		basic_machine=$basic_machine-unknown
 40.2610 ++		os=-linux-gnu
 40.2611 ++		;;
 40.2612 ++	tx39)
 40.2613 ++		basic_machine=mipstx39-unknown
 40.2614 ++		;;
 40.2615 ++	tx39el)
 40.2616 ++		basic_machine=mipstx39el-unknown
 40.2617 ++		;;
 40.2618 ++	toad1)
 40.2619 ++		basic_machine=pdp10-xkl
 40.2620 ++		os=-tops20
 40.2621 ++		;;
 40.2622 ++	tower | tower-32)
 40.2623 ++		basic_machine=m68k-ncr
 40.2624 ++		;;
 40.2625 ++	tpf)
 40.2626 ++		basic_machine=s390x-ibm
 40.2627 ++		os=-tpf
 40.2628 ++		;;
 40.2629 ++	udi29k)
 40.2630 ++		basic_machine=a29k-amd
 40.2631 ++		os=-udi
 40.2632 ++		;;
 40.2633 ++	ultra3)
 40.2634 ++		basic_machine=a29k-nyu
 40.2635 ++		os=-sym1
 40.2636 ++		;;
 40.2637 ++	v810 | necv810)
 40.2638 ++		basic_machine=v810-nec
 40.2639 ++		os=-none
 40.2640 ++		;;
 40.2641 ++	vaxv)
 40.2642 ++		basic_machine=vax-dec
 40.2643 ++		os=-sysv
 40.2644 ++		;;
 40.2645 ++	vms)
 40.2646 ++		basic_machine=vax-dec
 40.2647 ++		os=-vms
 40.2648 ++		;;
 40.2649 ++	vpp*|vx|vx-*)
 40.2650 ++		basic_machine=f301-fujitsu
 40.2651 ++		;;
 40.2652 ++	vxworks960)
 40.2653 ++		basic_machine=i960-wrs
 40.2654 ++		os=-vxworks
 40.2655 ++		;;
 40.2656 ++	vxworks68)
 40.2657 ++		basic_machine=m68k-wrs
 40.2658 ++		os=-vxworks
 40.2659 ++		;;
 40.2660 ++	vxworks29k)
 40.2661 ++		basic_machine=a29k-wrs
 40.2662 ++		os=-vxworks
 40.2663 ++		;;
 40.2664 ++	w65*)
 40.2665 ++		basic_machine=w65-wdc
 40.2666 ++		os=-none
 40.2667 ++		;;
 40.2668 ++	w89k-*)
 40.2669 ++		basic_machine=hppa1.1-winbond
 40.2670 ++		os=-proelf
 40.2671 ++		;;
 40.2672 ++	xbox)
 40.2673 ++		basic_machine=i686-pc
 40.2674 ++		os=-mingw32
 40.2675 ++		;;
 40.2676 ++	xps | xps100)
 40.2677 ++		basic_machine=xps100-honeywell
 40.2678 ++		;;
 40.2679 ++	xscale-* | xscalee[bl]-*)
 40.2680 ++		basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
 40.2681 ++		;;
 40.2682 ++	ymp)
 40.2683 ++		basic_machine=ymp-cray
 40.2684 ++		os=-unicos
 40.2685 ++		;;
 40.2686 ++	z8k-*-coff)
 40.2687 ++		basic_machine=z8k-unknown
 40.2688 ++		os=-sim
 40.2689 ++		;;
 40.2690 ++	z80-*-coff)
 40.2691 ++		basic_machine=z80-unknown
 40.2692 ++		os=-sim
 40.2693 ++		;;
 40.2694 ++	none)
 40.2695 ++		basic_machine=none-none
 40.2696 ++		os=-none
 40.2697 ++		;;
 40.2698 ++
 40.2699 ++# Here we handle the default manufacturer of certain CPU types.  It is in
 40.2700 ++# some cases the only manufacturer, in others, it is the most popular.
 40.2701 ++	w89k)
 40.2702 ++		basic_machine=hppa1.1-winbond
 40.2703 ++		;;
 40.2704 ++	op50n)
 40.2705 ++		basic_machine=hppa1.1-oki
 40.2706 ++		;;
 40.2707 ++	op60c)
 40.2708 ++		basic_machine=hppa1.1-oki
 40.2709 ++		;;
 40.2710 ++	romp)
 40.2711 ++		basic_machine=romp-ibm
 40.2712 ++		;;
 40.2713 ++	mmix)
 40.2714 ++		basic_machine=mmix-knuth
 40.2715 ++		;;
 40.2716 ++	rs6000)
 40.2717 ++		basic_machine=rs6000-ibm
 40.2718 ++		;;
 40.2719 ++	vax)
 40.2720 ++		basic_machine=vax-dec
 40.2721 ++		;;
 40.2722 ++	pdp10)
 40.2723 ++		# there are many clones, so DEC is not a safe bet
 40.2724 ++		basic_machine=pdp10-unknown
 40.2725 ++		;;
 40.2726 ++	pdp11)
 40.2727 ++		basic_machine=pdp11-dec
 40.2728 ++		;;
 40.2729 ++	we32k)
 40.2730 ++		basic_machine=we32k-att
 40.2731 ++		;;
 40.2732 ++	sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
 40.2733 ++		basic_machine=sh-unknown
 40.2734 ++		;;
 40.2735 ++	sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
 40.2736 ++		basic_machine=sparc-sun
 40.2737 ++		;;
 40.2738 ++	cydra)
 40.2739 ++		basic_machine=cydra-cydrome
 40.2740 ++		;;
 40.2741 ++	orion)
 40.2742 ++		basic_machine=orion-highlevel
 40.2743 ++		;;
 40.2744 ++	orion105)
 40.2745 ++		basic_machine=clipper-highlevel
 40.2746 ++		;;
 40.2747 ++	mac | mpw | mac-mpw)
 40.2748 ++		basic_machine=m68k-apple
 40.2749 ++		;;
 40.2750 ++	pmac | pmac-mpw)
 40.2751 ++		basic_machine=powerpc-apple
 40.2752 ++		;;
 40.2753 ++	*-unknown)
 40.2754 ++		# Make sure to match an already-canonicalized machine name.
 40.2755 ++		;;
 40.2756 ++	*)
 40.2757 ++		echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
 40.2758 ++		exit 1
 40.2759 ++		;;
 40.2760 ++esac
 40.2761 ++
 40.2762 ++# Here we canonicalize certain aliases for manufacturers.
 40.2763 ++case $basic_machine in
 40.2764 ++	*-digital*)
 40.2765 ++		basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
 40.2766 ++		;;
 40.2767 ++	*-commodore*)
 40.2768 ++		basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
 40.2769 ++		;;
 40.2770 ++	*)
 40.2771 ++		;;
 40.2772 ++esac
 40.2773 ++
 40.2774 ++# Decode manufacturer-specific aliases for certain operating systems.
 40.2775 ++
 40.2776 ++if [ x"$os" != x"" ]
 40.2777 ++then
 40.2778 ++case $os in
 40.2779 ++	# First match some system type aliases
 40.2780 ++	# that might get confused with valid system types.
 40.2781 ++	# -solaris* is a basic system type, with this one exception.
 40.2782 ++	-auroraux)
 40.2783 ++		os=-auroraux
 40.2784 ++		;;
 40.2785 ++	-solaris1 | -solaris1.*)
 40.2786 ++		os=`echo $os | sed -e 's|solaris1|sunos4|'`
 40.2787 ++		;;
 40.2788 ++	-solaris)
 40.2789 ++		os=-solaris2
 40.2790 ++		;;
 40.2791 ++	-svr4*)
 40.2792 ++		os=-sysv4
 40.2793 ++		;;
 40.2794 ++	-unixware*)
 40.2795 ++		os=-sysv4.2uw
 40.2796 ++		;;
 40.2797 ++	-gnu/linux*)
 40.2798 ++		os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
 40.2799 ++		;;
 40.2800 ++	# First accept the basic system types.
 40.2801 ++	# The portable systems comes first.
 40.2802 ++	# Each alternative MUST END IN A *, to match a version number.
 40.2803 ++	# -sysv* is not here because it comes later, after sysvr4.
 40.2804 ++	-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
 40.2805 ++	      | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
 40.2806 ++	      | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
 40.2807 ++	      | -sym* | -kopensolaris* | -plan9* \
 40.2808 ++	      | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
 40.2809 ++	      | -aos* | -aros* \
 40.2810 ++	      | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
 40.2811 ++	      | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
 40.2812 ++	      | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
 40.2813 ++	      | -bitrig* | -openbsd* | -solidbsd* \
 40.2814 ++	      | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
 40.2815 ++	      | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
 40.2816 ++	      | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
 40.2817 ++	      | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
 40.2818 ++	      | -chorusos* | -chorusrdb* | -cegcc* \
 40.2819 ++	      | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
 40.2820 ++	      | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
 40.2821 ++	      | -linux-newlib* | -linux-musl* | -linux-uclibc* \
 40.2822 ++	      | -uxpv* | -beos* | -mpeix* | -udk* \
 40.2823 ++	      | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
 40.2824 ++	      | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
 40.2825 ++	      | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
 40.2826 ++	      | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
 40.2827 ++	      | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
 40.2828 ++	      | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
 40.2829 ++	      | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -tirtos*)
 40.2830 ++	# Remember, each alternative MUST END IN *, to match a version number.
 40.2831 ++		;;
 40.2832 ++	-qnx*)
 40.2833 ++		case $basic_machine in
 40.2834 ++		    x86-* | i*86-*)
 40.2835 ++			;;
 40.2836 ++		    *)
 40.2837 ++			os=-nto$os
 40.2838 ++			;;
 40.2839 ++		esac
 40.2840 ++		;;
 40.2841 ++	-nto-qnx*)
 40.2842 ++		;;
 40.2843 ++	-nto*)
 40.2844 ++		os=`echo $os | sed -e 's|nto|nto-qnx|'`
 40.2845 ++		;;
 40.2846 ++	-sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
 40.2847 ++	      | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
 40.2848 ++	      | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
 40.2849 ++		;;
 40.2850 ++	-mac*)
 40.2851 ++		os=`echo $os | sed -e 's|mac|macos|'`
 40.2852 ++		;;
 40.2853 ++	-linux-dietlibc)
 40.2854 ++		os=-linux-dietlibc
 40.2855 ++		;;
 40.2856 ++	-linux*)
 40.2857 ++		os=`echo $os | sed -e 's|linux|linux-gnu|'`
 40.2858 ++		;;
 40.2859 ++	-sunos5*)
 40.2860 ++		os=`echo $os | sed -e 's|sunos5|solaris2|'`
 40.2861 ++		;;
 40.2862 ++	-sunos6*)
 40.2863 ++		os=`echo $os | sed -e 's|sunos6|solaris3|'`
 40.2864 ++		;;
 40.2865 ++	-opened*)
 40.2866 ++		os=-openedition
 40.2867 ++		;;
 40.2868 ++	-os400*)
 40.2869 ++		os=-os400
 40.2870 ++		;;
 40.2871 ++	-wince*)
 40.2872 ++		os=-wince
 40.2873 ++		;;
 40.2874 ++	-osfrose*)
 40.2875 ++		os=-osfrose
 40.2876 ++		;;
 40.2877 ++	-osf*)
 40.2878 ++		os=-osf
 40.2879 ++		;;
 40.2880 ++	-utek*)
 40.2881 ++		os=-bsd
 40.2882 ++		;;
 40.2883 ++	-dynix*)
 40.2884 ++		os=-bsd
 40.2885 ++		;;
 40.2886 ++	-acis*)
 40.2887 ++		os=-aos
 40.2888 ++		;;
 40.2889 ++	-atheos*)
 40.2890 ++		os=-atheos
 40.2891 ++		;;
 40.2892 ++	-syllable*)
 40.2893 ++		os=-syllable
 40.2894 ++		;;
 40.2895 ++	-386bsd)
 40.2896 ++		os=-bsd
 40.2897 ++		;;
 40.2898 ++	-ctix* | -uts*)
 40.2899 ++		os=-sysv
 40.2900 ++		;;
 40.2901 ++	-nova*)
 40.2902 ++		os=-rtmk-nova
 40.2903 ++		;;
 40.2904 ++	-ns2 )
 40.2905 ++		os=-nextstep2
 40.2906 ++		;;
 40.2907 ++	-nsk*)
 40.2908 ++		os=-nsk
 40.2909 ++		;;
 40.2910 ++	# Preserve the version number of sinix5.
 40.2911 ++	-sinix5.*)
 40.2912 ++		os=`echo $os | sed -e 's|sinix|sysv|'`
 40.2913 ++		;;
 40.2914 ++	-sinix*)
 40.2915 ++		os=-sysv4
 40.2916 ++		;;
 40.2917 ++	-tpf*)
 40.2918 ++		os=-tpf
 40.2919 ++		;;
 40.2920 ++	-triton*)
 40.2921 ++		os=-sysv3
 40.2922 ++		;;
 40.2923 ++	-oss*)
 40.2924 ++		os=-sysv3
 40.2925 ++		;;
 40.2926 ++	-svr4)
 40.2927 ++		os=-sysv4
 40.2928 ++		;;
 40.2929 ++	-svr3)
 40.2930 ++		os=-sysv3
 40.2931 ++		;;
 40.2932 ++	-sysvr4)
 40.2933 ++		os=-sysv4
 40.2934 ++		;;
 40.2935 ++	# This must come after -sysvr4.
 40.2936 ++	-sysv*)
 40.2937 ++		;;
 40.2938 ++	-ose*)
 40.2939 ++		os=-ose
 40.2940 ++		;;
 40.2941 ++	-es1800*)
 40.2942 ++		os=-ose
 40.2943 ++		;;
 40.2944 ++	-xenix)
 40.2945 ++		os=-xenix
 40.2946 ++		;;
 40.2947 ++	-*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
 40.2948 ++		os=-mint
 40.2949 ++		;;
 40.2950 ++	-aros*)
 40.2951 ++		os=-aros
 40.2952 ++		;;
 40.2953 ++	-zvmoe)
 40.2954 ++		os=-zvmoe
 40.2955 ++		;;
 40.2956 ++	-dicos*)
 40.2957 ++		os=-dicos
 40.2958 ++		;;
 40.2959 ++	-nacl*)
 40.2960 ++		;;
 40.2961 ++	-none)
 40.2962 ++		;;
 40.2963 ++	*)
 40.2964 ++		# Get rid of the `-' at the beginning of $os.
 40.2965 ++		os=`echo $os | sed 's/[^-]*-//'`
 40.2966 ++		echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
 40.2967 ++		exit 1
 40.2968 ++		;;
 40.2969 ++esac
 40.2970 ++else
 40.2971 ++
 40.2972 ++# Here we handle the default operating systems that come with various machines.
 40.2973 ++# The value should be what the vendor currently ships out the door with their
 40.2974 ++# machine or put another way, the most popular os provided with the machine.
 40.2975 ++
 40.2976 ++# Note that if you're going to try to match "-MANUFACTURER" here (say,
 40.2977 ++# "-sun"), then you have to tell the case statement up towards the top
 40.2978 ++# that MANUFACTURER isn't an operating system.  Otherwise, code above
 40.2979 ++# will signal an error saying that MANUFACTURER isn't an operating
 40.2980 ++# system, and we'll never get to this point.
 40.2981 ++
 40.2982 ++case $basic_machine in
 40.2983 ++	score-*)
 40.2984 ++		os=-elf
 40.2985 ++		;;
 40.2986 ++	spu-*)
 40.2987 ++		os=-elf
 40.2988 ++		;;
 40.2989 ++	*-acorn)
 40.2990 ++		os=-riscix1.2
 40.2991 ++		;;
 40.2992 ++	arm*-rebel)
 40.2993 ++		os=-linux
 40.2994 ++		;;
 40.2995 ++	arm*-semi)
 40.2996 ++		os=-aout
 40.2997 ++		;;
 40.2998 ++	c4x-* | tic4x-*)
 40.2999 ++		os=-coff
 40.3000 ++		;;
 40.3001 ++	c8051-*)
 40.3002 ++		os=-elf
 40.3003 ++		;;
 40.3004 ++	hexagon-*)
 40.3005 ++		os=-elf
 40.3006 ++		;;
 40.3007 ++	tic54x-*)
 40.3008 ++		os=-coff
 40.3009 ++		;;
 40.3010 ++	tic55x-*)
 40.3011 ++		os=-coff
 40.3012 ++		;;
 40.3013 ++	tic6x-*)
 40.3014 ++		os=-coff
 40.3015 ++		;;
 40.3016 ++	# This must come before the *-dec entry.
 40.3017 ++	pdp10-*)
 40.3018 ++		os=-tops20
 40.3019 ++		;;
 40.3020 ++	pdp11-*)
 40.3021 ++		os=-none
 40.3022 ++		;;
 40.3023 ++	*-dec | vax-*)
 40.3024 ++		os=-ultrix4.2
 40.3025 ++		;;
 40.3026 ++	m68*-apollo)
 40.3027 ++		os=-domain
 40.3028 ++		;;
 40.3029 ++	i386-sun)
 40.3030 ++		os=-sunos4.0.2
 40.3031 ++		;;
 40.3032 ++	m68000-sun)
 40.3033 ++		os=-sunos3
 40.3034 ++		;;
 40.3035 ++	m68*-cisco)
 40.3036 ++		os=-aout
 40.3037 ++		;;
 40.3038 ++	mep-*)
 40.3039 ++		os=-elf
 40.3040 ++		;;
 40.3041 ++	mips*-cisco)
 40.3042 ++		os=-elf
 40.3043 ++		;;
 40.3044 ++	mips*-*)
 40.3045 ++		os=-elf
 40.3046 ++		;;
 40.3047 ++	or32-*)
 40.3048 ++		os=-coff
 40.3049 ++		;;
 40.3050 ++	*-tti)	# must be before sparc entry or we get the wrong os.
 40.3051 ++		os=-sysv3
 40.3052 ++		;;
 40.3053 ++	sparc-* | *-sun)
 40.3054 ++		os=-sunos4.1.1
 40.3055 ++		;;
 40.3056 ++	*-be)
 40.3057 ++		os=-beos
 40.3058 ++		;;
 40.3059 ++	*-haiku)
 40.3060 ++		os=-haiku
 40.3061 ++		;;
 40.3062 ++	*-ibm)
 40.3063 ++		os=-aix
 40.3064 ++		;;
 40.3065 ++	*-knuth)
 40.3066 ++		os=-mmixware
 40.3067 ++		;;
 40.3068 ++	*-wec)
 40.3069 ++		os=-proelf
 40.3070 ++		;;
 40.3071 ++	*-winbond)
 40.3072 ++		os=-proelf
 40.3073 ++		;;
 40.3074 ++	*-oki)
 40.3075 ++		os=-proelf
 40.3076 ++		;;
 40.3077 ++	*-hp)
 40.3078 ++		os=-hpux
 40.3079 ++		;;
 40.3080 ++	*-hitachi)
 40.3081 ++		os=-hiux
 40.3082 ++		;;
 40.3083 ++	i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
 40.3084 ++		os=-sysv
 40.3085 ++		;;
 40.3086 ++	*-cbm)
 40.3087 ++		os=-amigaos
 40.3088 ++		;;
 40.3089 ++	*-dg)
 40.3090 ++		os=-dgux
 40.3091 ++		;;
 40.3092 ++	*-dolphin)
 40.3093 ++		os=-sysv3
 40.3094 ++		;;
 40.3095 ++	m68k-ccur)
 40.3096 ++		os=-rtu
 40.3097 ++		;;
 40.3098 ++	m88k-omron*)
 40.3099 ++		os=-luna
 40.3100 ++		;;
 40.3101 ++	*-next )
 40.3102 ++		os=-nextstep
 40.3103 ++		;;
 40.3104 ++	*-sequent)
 40.3105 ++		os=-ptx
 40.3106 ++		;;
 40.3107 ++	*-crds)
 40.3108 ++		os=-unos
 40.3109 ++		;;
 40.3110 ++	*-ns)
 40.3111 ++		os=-genix
 40.3112 ++		;;
 40.3113 ++	i370-*)
 40.3114 ++		os=-mvs
 40.3115 ++		;;
 40.3116 ++	*-next)
 40.3117 ++		os=-nextstep3
 40.3118 ++		;;
 40.3119 ++	*-gould)
 40.3120 ++		os=-sysv
 40.3121 ++		;;
 40.3122 ++	*-highlevel)
 40.3123 ++		os=-bsd
 40.3124 ++		;;
 40.3125 ++	*-encore)
 40.3126 ++		os=-bsd
 40.3127 ++		;;
 40.3128 ++	*-sgi)
 40.3129 ++		os=-irix
 40.3130 ++		;;
 40.3131 ++	*-siemens)
 40.3132 ++		os=-sysv4
 40.3133 ++		;;
 40.3134 ++	*-masscomp)
 40.3135 ++		os=-rtu
 40.3136 ++		;;
 40.3137 ++	f30[01]-fujitsu | f700-fujitsu)
 40.3138 ++		os=-uxpv
 40.3139 ++		;;
 40.3140 ++	*-rom68k)
 40.3141 ++		os=-coff
 40.3142 ++		;;
 40.3143 ++	*-*bug)
 40.3144 ++		os=-coff
 40.3145 ++		;;
 40.3146 ++	*-apple)
 40.3147 ++		os=-macos
 40.3148 ++		;;
 40.3149 ++	*-atari*)
 40.3150 ++		os=-mint
 40.3151 ++		;;
 40.3152 ++	*)
 40.3153 ++		os=-none
 40.3154 ++		;;
 40.3155 ++esac
 40.3156 ++fi
 40.3157 ++
 40.3158 ++# Here we handle the case where we know the os, and the CPU type, but not the
 40.3159 ++# manufacturer.  We pick the logical manufacturer.
 40.3160 ++vendor=unknown
 40.3161 ++case $basic_machine in
 40.3162 ++	*-unknown)
 40.3163 ++		case $os in
 40.3164 ++			-riscix*)
 40.3165 ++				vendor=acorn
 40.3166 ++				;;
 40.3167 ++			-sunos*)
 40.3168 ++				vendor=sun
 40.3169 ++				;;
 40.3170 ++			-cnk*|-aix*)
 40.3171 ++				vendor=ibm
 40.3172 ++				;;
 40.3173 ++			-beos*)
 40.3174 ++				vendor=be
 40.3175 ++				;;
 40.3176 ++			-hpux*)
 40.3177 ++				vendor=hp
 40.3178 ++				;;
 40.3179 ++			-mpeix*)
 40.3180 ++				vendor=hp
 40.3181 ++				;;
 40.3182 ++			-hiux*)
 40.3183 ++				vendor=hitachi
 40.3184 ++				;;
 40.3185 ++			-unos*)
 40.3186 ++				vendor=crds
 40.3187 ++				;;
 40.3188 ++			-dgux*)
 40.3189 ++				vendor=dg
 40.3190 ++				;;
 40.3191 ++			-luna*)
 40.3192 ++				vendor=omron
 40.3193 ++				;;
 40.3194 ++			-genix*)
 40.3195 ++				vendor=ns
 40.3196 ++				;;
 40.3197 ++			-mvs* | -opened*)
 40.3198 ++				vendor=ibm
 40.3199 ++				;;
 40.3200 ++			-os400*)
 40.3201 ++				vendor=ibm
 40.3202 ++				;;
 40.3203 ++			-ptx*)
 40.3204 ++				vendor=sequent
 40.3205 ++				;;
 40.3206 ++			-tpf*)
 40.3207 ++				vendor=ibm
 40.3208 ++				;;
 40.3209 ++			-vxsim* | -vxworks* | -windiss*)
 40.3210 ++				vendor=wrs
 40.3211 ++				;;
 40.3212 ++			-aux*)
 40.3213 ++				vendor=apple
 40.3214 ++				;;
 40.3215 ++			-hms*)
 40.3216 ++				vendor=hitachi
 40.3217 ++				;;
 40.3218 ++			-mpw* | -macos*)
 40.3219 ++				vendor=apple
 40.3220 ++				;;
 40.3221 ++			-*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
 40.3222 ++				vendor=atari
 40.3223 ++				;;
 40.3224 ++			-vos*)
 40.3225 ++				vendor=stratus
 40.3226 ++				;;
 40.3227 ++		esac
 40.3228 ++		basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
 40.3229 ++		;;
 40.3230 ++esac
 40.3231 ++
 40.3232 ++echo $basic_machine$os
 40.3233 ++exit
 40.3234 ++
 40.3235 ++# Local variables:
 40.3236 ++# eval: (add-hook 'write-file-hooks 'time-stamp)
 40.3237 ++# time-stamp-start: "timestamp='"
 40.3238 ++# time-stamp-format: "%:y-%02m-%02d"
 40.3239 ++# time-stamp-end: "'"
 40.3240 ++# End:
 40.3241 +--- openjade1.3-1.3.2.orig/config/config.guess
 40.3242 ++++ openjade1.3-1.3.2/config/config.guess
 40.3243 +@@ -1,9 +1,9 @@
 40.3244 + #! /bin/sh
 40.3245 + # Attempt to guess a canonical system name.
 40.3246 + #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
 40.3247 +-#   2000, 2001, 2002 Free Software Foundation, Inc.
 40.3248 ++#   2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
 40.3249 + 
 40.3250 +-timestamp='2002-01-10'
 40.3251 ++timestamp='2005-04-22'
 40.3252 + 
 40.3253 + # This file is free software; you can redistribute it and/or modify it
 40.3254 + # under the terms of the GNU General Public License as published by
 40.3255 +@@ -53,7 +53,7 @@
 40.3256 + GNU config.guess ($timestamp)
 40.3257 + 
 40.3258 + Originally written by Per Bothner.
 40.3259 +-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
 40.3260 ++Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
 40.3261 + Free Software Foundation, Inc.
 40.3262 + 
 40.3263 + This is free software; see the source for copying conditions.  There is NO
 40.3264 +@@ -88,30 +88,42 @@
 40.3265 +   exit 1
 40.3266 + fi
 40.3267 + 
 40.3268 ++trap 'exit 1' 1 2 15
 40.3269 + 
 40.3270 +-dummy=dummy-$$
 40.3271 +-trap 'rm -f $dummy.c $dummy.o $dummy.rel $dummy; exit 1' 1 2 15
 40.3272 ++# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
 40.3273 ++# compiler to aid in system detection is discouraged as it requires
 40.3274 ++# temporary files to be created and, as you can see below, it is a
 40.3275 ++# headache to deal with in a portable fashion.
 40.3276 + 
 40.3277 +-# CC_FOR_BUILD -- compiler used by this script.
 40.3278 + # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
 40.3279 + # use `HOST_CC' if defined, but it is deprecated.
 40.3280 + 
 40.3281 +-set_cc_for_build='case $CC_FOR_BUILD,$HOST_CC,$CC in
 40.3282 +- ,,)    echo "int dummy(){}" > $dummy.c ;
 40.3283 +-	for c in cc gcc c89 ; do
 40.3284 +-	  ($c $dummy.c -c -o $dummy.o) >/dev/null 2>&1 ;
 40.3285 +-	  if test $? = 0 ; then
 40.3286 ++# Portable tmp directory creation inspired by the Autoconf team.
 40.3287 ++
 40.3288 ++set_cc_for_build='
 40.3289 ++trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
 40.3290 ++trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
 40.3291 ++: ${TMPDIR=/tmp} ;
 40.3292 ++ { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
 40.3293 ++ { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
 40.3294 ++ { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
 40.3295 ++ { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
 40.3296 ++dummy=$tmp/dummy ;
 40.3297 ++tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
 40.3298 ++case $CC_FOR_BUILD,$HOST_CC,$CC in
 40.3299 ++ ,,)    echo "int x;" > $dummy.c ;
 40.3300 ++	for c in cc gcc c89 c99 ; do
 40.3301 ++	  if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
 40.3302 + 	     CC_FOR_BUILD="$c"; break ;
 40.3303 + 	  fi ;
 40.3304 + 	done ;
 40.3305 +-	rm -f $dummy.c $dummy.o $dummy.rel ;
 40.3306 + 	if test x"$CC_FOR_BUILD" = x ; then
 40.3307 + 	  CC_FOR_BUILD=no_compiler_found ;
 40.3308 + 	fi
 40.3309 + 	;;
 40.3310 +  ,,*)   CC_FOR_BUILD=$CC ;;
 40.3311 +  ,*,*)  CC_FOR_BUILD=$HOST_CC ;;
 40.3312 +-esac'
 40.3313 ++esac ;'
 40.3314 + 
 40.3315 + # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
 40.3316 + # (ghazi@noc.rutgers.edu 1994-08-24)
 40.3317 +@@ -138,9 +150,11 @@
 40.3318 + 	#
 40.3319 + 	# Note: NetBSD doesn't particularly care about the vendor
 40.3320 + 	# portion of the name.  We always set it to "unknown".
 40.3321 +-	UNAME_MACHINE_ARCH=`(uname -p) 2>/dev/null` || \
 40.3322 +-	    UNAME_MACHINE_ARCH=unknown
 40.3323 ++	sysctl="sysctl -n hw.machine_arch"
 40.3324 ++	UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
 40.3325 ++	    /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
 40.3326 + 	case "${UNAME_MACHINE_ARCH}" in
 40.3327 ++	    armeb) machine=armeb-unknown ;;
 40.3328 + 	    arm*) machine=arm-unknown ;;
 40.3329 + 	    sh3el) machine=shl-unknown ;;
 40.3330 + 	    sh3eb) machine=sh-unknown ;;
 40.3331 +@@ -166,21 +180,38 @@
 40.3332 + 		;;
 40.3333 + 	esac
 40.3334 + 	# The OS release
 40.3335 +-	release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
 40.3336 ++	# Debian GNU/NetBSD machines have a different userland, and
 40.3337 ++	# thus, need a distinct triplet. However, they do not need
 40.3338 ++	# kernel version information, so it can be replaced with a
 40.3339 ++	# suitable tag, in the style of linux-gnu.
 40.3340 ++	case "${UNAME_VERSION}" in
 40.3341 ++	    Debian*)
 40.3342 ++		release='-gnu'
 40.3343 ++		;;
 40.3344 ++	    *)
 40.3345 ++		release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
 40.3346 ++		;;
 40.3347 ++	esac
 40.3348 + 	# Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
 40.3349 + 	# contains redundant information, the shorter form:
 40.3350 + 	# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
 40.3351 + 	echo "${machine}-${os}${release}"
 40.3352 + 	exit 0 ;;
 40.3353 ++    amd64:OpenBSD:*:*)
 40.3354 ++	echo x86_64-unknown-openbsd${UNAME_RELEASE}
 40.3355 ++	exit 0 ;;
 40.3356 +     amiga:OpenBSD:*:*)
 40.3357 + 	echo m68k-unknown-openbsd${UNAME_RELEASE}
 40.3358 + 	exit 0 ;;
 40.3359 +-    arc:OpenBSD:*:*)
 40.3360 +-	echo mipsel-unknown-openbsd${UNAME_RELEASE}
 40.3361 ++    cats:OpenBSD:*:*)
 40.3362 ++	echo arm-unknown-openbsd${UNAME_RELEASE}
 40.3363 + 	exit 0 ;;
 40.3364 +     hp300:OpenBSD:*:*)
 40.3365 + 	echo m68k-unknown-openbsd${UNAME_RELEASE}
 40.3366 + 	exit 0 ;;
 40.3367 ++    luna88k:OpenBSD:*:*)
 40.3368 ++    	echo m88k-unknown-openbsd${UNAME_RELEASE}
 40.3369 ++	exit 0 ;;
 40.3370 +     mac68k:OpenBSD:*:*)
 40.3371 + 	echo m68k-unknown-openbsd${UNAME_RELEASE}
 40.3372 + 	exit 0 ;;
 40.3373 +@@ -196,83 +227,76 @@
 40.3374 +     mvmeppc:OpenBSD:*:*)
 40.3375 + 	echo powerpc-unknown-openbsd${UNAME_RELEASE}
 40.3376 + 	exit 0 ;;
 40.3377 +-    pmax:OpenBSD:*:*)
 40.3378 +-	echo mipsel-unknown-openbsd${UNAME_RELEASE}
 40.3379 +-	exit 0 ;;
 40.3380 +     sgi:OpenBSD:*:*)
 40.3381 +-	echo mipseb-unknown-openbsd${UNAME_RELEASE}
 40.3382 ++	echo mips64-unknown-openbsd${UNAME_RELEASE}
 40.3383 + 	exit 0 ;;
 40.3384 +     sun3:OpenBSD:*:*)
 40.3385 + 	echo m68k-unknown-openbsd${UNAME_RELEASE}
 40.3386 + 	exit 0 ;;
 40.3387 +-    wgrisc:OpenBSD:*:*)
 40.3388 +-	echo mipsel-unknown-openbsd${UNAME_RELEASE}
 40.3389 +-	exit 0 ;;
 40.3390 +     *:OpenBSD:*:*)
 40.3391 + 	echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE}
 40.3392 + 	exit 0 ;;
 40.3393 ++    *:ekkoBSD:*:*)
 40.3394 ++	echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
 40.3395 ++	exit 0 ;;
 40.3396 ++    macppc:MirBSD:*:*)
 40.3397 ++	echo powerppc-unknown-mirbsd${UNAME_RELEASE}
 40.3398 ++	exit 0 ;;
 40.3399 ++    *:MirBSD:*:*)
 40.3400 ++	echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
 40.3401 ++	exit 0 ;;
 40.3402 +     alpha:OSF1:*:*)
 40.3403 +-	if test $UNAME_RELEASE = "V4.0"; then
 40.3404 ++	case $UNAME_RELEASE in
 40.3405 ++	*4.0)
 40.3406 + 		UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
 40.3407 +-	fi
 40.3408 ++		;;
 40.3409 ++	*5.*)
 40.3410 ++	        UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
 40.3411 ++		;;
 40.3412 ++	esac
 40.3413 ++	# According to Compaq, /usr/sbin/psrinfo has been available on
 40.3414 ++	# OSF/1 and Tru64 systems produced since 1995.  I hope that
 40.3415 ++	# covers most systems running today.  This code pipes the CPU
 40.3416 ++	# types through head -n 1, so we only detect the type of CPU 0.
 40.3417 ++	ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^  The alpha \(.*\) processor.*$/\1/p' | head -n 1`
 40.3418 ++	case "$ALPHA_CPU_TYPE" in
 40.3419 ++	    "EV4 (21064)")
 40.3420 ++		UNAME_MACHINE="alpha" ;;
 40.3421 ++	    "EV4.5 (21064)")
 40.3422 ++		UNAME_MACHINE="alpha" ;;
 40.3423 ++	    "LCA4 (21066/21068)")
 40.3424 ++		UNAME_MACHINE="alpha" ;;
 40.3425 ++	    "EV5 (21164)")
 40.3426 ++		UNAME_MACHINE="alphaev5" ;;
 40.3427 ++	    "EV5.6 (21164A)")
 40.3428 ++		UNAME_MACHINE="alphaev56" ;;
 40.3429 ++	    "EV5.6 (21164PC)")
 40.3430 ++		UNAME_MACHINE="alphapca56" ;;
 40.3431 ++	    "EV5.7 (21164PC)")
 40.3432 ++		UNAME_MACHINE="alphapca57" ;;
 40.3433 ++	    "EV6 (21264)")
 40.3434 ++		UNAME_MACHINE="alphaev6" ;;
 40.3435 ++	    "EV6.7 (21264A)")
 40.3436 ++		UNAME_MACHINE="alphaev67" ;;
 40.3437 ++	    "EV6.8CB (21264C)")
 40.3438 ++		UNAME_MACHINE="alphaev68" ;;
 40.3439 ++	    "EV6.8AL (21264B)")
 40.3440 ++		UNAME_MACHINE="alphaev68" ;;
 40.3441 ++	    "EV6.8CX (21264D)")
 40.3442 ++		UNAME_MACHINE="alphaev68" ;;
 40.3443 ++	    "EV6.9A (21264/EV69A)")
 40.3444 ++		UNAME_MACHINE="alphaev69" ;;
 40.3445 ++	    "EV7 (21364)")
 40.3446 ++		UNAME_MACHINE="alphaev7" ;;
 40.3447 ++	    "EV7.9 (21364A)")
 40.3448 ++		UNAME_MACHINE="alphaev79" ;;
 40.3449 ++	esac
 40.3450 ++	# A Pn.n version is a patched version.
 40.3451 + 	# A Vn.n version is a released version.
 40.3452 + 	# A Tn.n version is a released field test version.
 40.3453 + 	# A Xn.n version is an unreleased experimental baselevel.
 40.3454 + 	# 1.2 uses "1.2" for uname -r.
 40.3455 +-	cat <<EOF >$dummy.s
 40.3456 +-	.data
 40.3457 +-\$Lformat:
 40.3458 +-	.byte 37,100,45,37,120,10,0	# "%d-%x\n"
 40.3459 +-
 40.3460 +-	.text
 40.3461 +-	.globl main
 40.3462 +-	.align 4
 40.3463 +-	.ent main
 40.3464 +-main:
 40.3465 +-	.frame \$30,16,\$26,0
 40.3466 +-	ldgp \$29,0(\$27)
 40.3467 +-	.prologue 1
 40.3468 +-	.long 0x47e03d80 # implver \$0
 40.3469 +-	lda \$2,-1
 40.3470 +-	.long 0x47e20c21 # amask \$2,\$1
 40.3471 +-	lda \$16,\$Lformat
 40.3472 +-	mov \$0,\$17
 40.3473 +-	not \$1,\$18
 40.3474 +-	jsr \$26,printf
 40.3475 +-	ldgp \$29,0(\$26)
 40.3476 +-	mov 0,\$16
 40.3477 +-	jsr \$26,exit
 40.3478 +-	.end main
 40.3479 +-EOF
 40.3480 +-	eval $set_cc_for_build
 40.3481 +-	$CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null
 40.3482 +-	if test "$?" = 0 ; then
 40.3483 +-		case `./$dummy` in
 40.3484 +-			0-0)
 40.3485 +-				UNAME_MACHINE="alpha"
 40.3486 +-				;;
 40.3487 +-			1-0)
 40.3488 +-				UNAME_MACHINE="alphaev5"
 40.3489 +-				;;
 40.3490 +-			1-1)
 40.3491 +-				UNAME_MACHINE="alphaev56"
 40.3492 +-				;;
 40.3493 +-			1-101)
 40.3494 +-				UNAME_MACHINE="alphapca56"
 40.3495 +-				;;
 40.3496 +-			2-303)
 40.3497 +-				UNAME_MACHINE="alphaev6"
 40.3498 +-				;;
 40.3499 +-			2-307)
 40.3500 +-				UNAME_MACHINE="alphaev67"
 40.3501 +-				;;
 40.3502 +-			2-1307)
 40.3503 +-				UNAME_MACHINE="alphaev68"
 40.3504 +-				;;
 40.3505 +-		esac
 40.3506 +-	fi
 40.3507 +-	rm -f $dummy.s $dummy
 40.3508 +-	echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
 40.3509 ++	echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
 40.3510 + 	exit 0 ;;
 40.3511 +     Alpha\ *:Windows_NT*:*)
 40.3512 + 	# How do we know it's Interix rather than the generic POSIX subsystem?
 40.3513 +@@ -295,6 +319,12 @@
 40.3514 +     *:OS/390:*:*)
 40.3515 + 	echo i370-ibm-openedition
 40.3516 + 	exit 0 ;;
 40.3517 ++    *:z/VM:*:*)
 40.3518 ++	echo s390-ibm-zvmoe
 40.3519 ++	exit 0 ;;
 40.3520 ++    *:OS400:*:*)
 40.3521 ++        echo powerpc-ibm-os400
 40.3522 ++	exit 0 ;;
 40.3523 +     arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
 40.3524 + 	echo arm-acorn-riscix${UNAME_RELEASE}
 40.3525 + 	exit 0;;
 40.3526 +@@ -312,6 +342,13 @@
 40.3527 +     NILE*:*:*:dcosx)
 40.3528 + 	echo pyramid-pyramid-svr4
 40.3529 + 	exit 0 ;;
 40.3530 ++    DRS?6000:unix:4.0:6*)
 40.3531 ++	echo sparc-icl-nx6
 40.3532 ++	exit 0 ;;
 40.3533 ++    DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
 40.3534 ++	case `/usr/bin/uname -p` in
 40.3535 ++	    sparc) echo sparc-icl-nx7 && exit 0 ;;
 40.3536 ++	esac ;;
 40.3537 +     sun4H:SunOS:5.*:*)
 40.3538 + 	echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
 40.3539 + 	exit 0 ;;
 40.3540 +@@ -340,7 +377,7 @@
 40.3541 + 	echo m68k-sun-sunos${UNAME_RELEASE}
 40.3542 + 	exit 0 ;;
 40.3543 +     sun*:*:4.2BSD:*)
 40.3544 +-	UNAME_RELEASE=`(head -1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
 40.3545 ++	UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
 40.3546 + 	test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
 40.3547 + 	case "`/bin/arch`" in
 40.3548 + 	    sun3)
 40.3549 +@@ -380,6 +417,9 @@
 40.3550 +     *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
 40.3551 +         echo m68k-unknown-mint${UNAME_RELEASE}
 40.3552 +         exit 0 ;;
 40.3553 ++    m68k:machten:*:*)
 40.3554 ++	echo m68k-apple-machten${UNAME_RELEASE}
 40.3555 ++	exit 0 ;;
 40.3556 +     powerpc:machten:*:*)
 40.3557 + 	echo powerpc-apple-machten${UNAME_RELEASE}
 40.3558 + 	exit 0 ;;
 40.3559 +@@ -418,15 +458,20 @@
 40.3560 + 	  exit (-1);
 40.3561 + 	}
 40.3562 + EOF
 40.3563 +-	$CC_FOR_BUILD $dummy.c -o $dummy \
 40.3564 +-	  && ./$dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
 40.3565 +-	  && rm -f $dummy.c $dummy && exit 0
 40.3566 +-	rm -f $dummy.c $dummy
 40.3567 ++	$CC_FOR_BUILD -o $dummy $dummy.c \
 40.3568 ++	  && $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
 40.3569 ++	  && exit 0
 40.3570 + 	echo mips-mips-riscos${UNAME_RELEASE}
 40.3571 + 	exit 0 ;;
 40.3572 +     Motorola:PowerMAX_OS:*:*)
 40.3573 + 	echo powerpc-motorola-powermax
 40.3574 + 	exit 0 ;;
 40.3575 ++    Motorola:*:4.3:PL8-*)
 40.3576 ++	echo powerpc-harris-powermax
 40.3577 ++	exit 0 ;;
 40.3578 ++    Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
 40.3579 ++	echo powerpc-harris-powermax
 40.3580 ++	exit 0 ;;
 40.3581 +     Night_Hawk:Power_UNIX:*:*)
 40.3582 + 	echo powerpc-harris-powerunix
 40.3583 + 	exit 0 ;;
 40.3584 +@@ -499,8 +544,7 @@
 40.3585 + 			exit(0);
 40.3586 + 			}
 40.3587 + EOF
 40.3588 +-		$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0
 40.3589 +-		rm -f $dummy.c $dummy
 40.3590 ++		$CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0
 40.3591 + 		echo rs6000-ibm-aix3.2.5
 40.3592 + 	elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
 40.3593 + 		echo rs6000-ibm-aix3.2.4
 40.3594 +@@ -509,7 +553,7 @@
 40.3595 + 	fi
 40.3596 + 	exit 0 ;;
 40.3597 +     *:AIX:*:[45])
 40.3598 +-	IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -1 | awk '{ print $1 }'`
 40.3599 ++	IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
 40.3600 + 	if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
 40.3601 + 		IBM_ARCH=rs6000
 40.3602 + 	else
 40.3603 +@@ -598,11 +642,21 @@
 40.3604 +                   exit (0);
 40.3605 +               }
 40.3606 + EOF
 40.3607 +-		    (CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null) && HP_ARCH=`./$dummy`
 40.3608 +-		    if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi
 40.3609 +-		    rm -f $dummy.c $dummy
 40.3610 ++		    (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
 40.3611 ++		    test -z "$HP_ARCH" && HP_ARCH=hppa
 40.3612 + 		fi ;;
 40.3613 + 	esac
 40.3614 ++	if [ ${HP_ARCH} = "hppa2.0w" ]
 40.3615 ++	then
 40.3616 ++	    # avoid double evaluation of $set_cc_for_build
 40.3617 ++	    test -n "$CC_FOR_BUILD" || eval $set_cc_for_build
 40.3618 ++	    if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E -) | grep __LP64__ >/dev/null
 40.3619 ++	    then
 40.3620 ++		HP_ARCH="hppa2.0w"
 40.3621 ++	    else
 40.3622 ++		HP_ARCH="hppa64"
 40.3623 ++	    fi
 40.3624 ++	fi
 40.3625 + 	echo ${HP_ARCH}-hp-hpux${HPUX_REV}
 40.3626 + 	exit 0 ;;
 40.3627 +     ia64:HP-UX:*:*)
 40.3628 +@@ -636,8 +690,7 @@
 40.3629 + 	  exit (0);
 40.3630 + 	}
 40.3631 + EOF
 40.3632 +-	$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0
 40.3633 +-	rm -f $dummy.c $dummy
 40.3634 ++	$CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0
 40.3635 + 	echo unknown-hitachi-hiuxwe2
 40.3636 + 	exit 0 ;;
 40.3637 +     9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
 40.3638 +@@ -683,9 +736,6 @@
 40.3639 +     C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
 40.3640 + 	echo c4-convex-bsd
 40.3641 +         exit 0 ;;
 40.3642 +-    CRAY*X-MP:*:*:*)
 40.3643 +-	echo xmp-cray-unicos
 40.3644 +-        exit 0 ;;
 40.3645 +     CRAY*Y-MP:*:*:*)
 40.3646 + 	echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
 40.3647 + 	exit 0 ;;
 40.3648 +@@ -698,24 +748,26 @@
 40.3649 +     CRAY*TS:*:*:*)
 40.3650 + 	echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
 40.3651 + 	exit 0 ;;
 40.3652 +-    CRAY*T3D:*:*:*)
 40.3653 +-	echo alpha-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
 40.3654 +-	exit 0 ;;
 40.3655 +     CRAY*T3E:*:*:*)
 40.3656 + 	echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
 40.3657 + 	exit 0 ;;
 40.3658 +     CRAY*SV1:*:*:*)
 40.3659 + 	echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
 40.3660 + 	exit 0 ;;
 40.3661 +-    CRAY-2:*:*:*)
 40.3662 +-	echo cray2-cray-unicos
 40.3663 +-        exit 0 ;;
 40.3664 ++    *:UNICOS/mp:*:*)
 40.3665 ++	echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
 40.3666 ++	exit 0 ;;
 40.3667 +     F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
 40.3668 + 	FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
 40.3669 +         FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
 40.3670 +         FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
 40.3671 +         echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
 40.3672 +         exit 0 ;;
 40.3673 ++    5000:UNIX_System_V:4.*:*)
 40.3674 ++        FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
 40.3675 ++        FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
 40.3676 ++        echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
 40.3677 ++	exit 0 ;;
 40.3678 +     i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
 40.3679 + 	echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
 40.3680 + 	exit 0 ;;
 40.3681 +@@ -737,18 +789,24 @@
 40.3682 +     i*:PW*:*)
 40.3683 + 	echo ${UNAME_MACHINE}-pc-pw32
 40.3684 + 	exit 0 ;;
 40.3685 +-    x86:Interix*:3*)
 40.3686 +-	echo i386-pc-interix3
 40.3687 ++    x86:Interix*:[34]*)
 40.3688 ++	echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//'
 40.3689 ++	exit 0 ;;
 40.3690 ++    [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
 40.3691 ++	echo i${UNAME_MACHINE}-pc-mks
 40.3692 + 	exit 0 ;;
 40.3693 +     i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
 40.3694 + 	# How do we know it's Interix rather than the generic POSIX subsystem?
 40.3695 + 	# It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
 40.3696 + 	# UNAME_MACHINE based on the output of uname instead of i386?
 40.3697 +-	echo i386-pc-interix
 40.3698 ++	echo i586-pc-interix
 40.3699 + 	exit 0 ;;
 40.3700 +     i*:UWIN*:*)
 40.3701 + 	echo ${UNAME_MACHINE}-pc-uwin
 40.3702 + 	exit 0 ;;
 40.3703 ++    amd64:CYGWIN*:*:*)
 40.3704 ++	echo x86_64-unknown-cygwin
 40.3705 ++	exit 0 ;;
 40.3706 +     p*:CYGWIN*:*)
 40.3707 + 	echo powerpcle-unknown-cygwin
 40.3708 + 	exit 0 ;;
 40.3709 +@@ -756,16 +814,33 @@
 40.3710 + 	echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
 40.3711 + 	exit 0 ;;
 40.3712 +     *:GNU:*:*)
 40.3713 ++	# the GNU system
 40.3714 + 	echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
 40.3715 + 	exit 0 ;;
 40.3716 ++    *:GNU/*:*:*)
 40.3717 ++	# other systems with GNU libc and userland
 40.3718 ++	echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
 40.3719 ++	exit 0 ;;
 40.3720 +     i*86:Minix:*:*)
 40.3721 + 	echo ${UNAME_MACHINE}-pc-minix
 40.3722 + 	exit 0 ;;
 40.3723 +     arm*:Linux:*:*)
 40.3724 + 	echo ${UNAME_MACHINE}-unknown-linux-gnu
 40.3725 + 	exit 0 ;;
 40.3726 ++    cris:Linux:*:*)
 40.3727 ++	echo cris-axis-linux-gnu
 40.3728 ++	exit 0 ;;
 40.3729 ++    crisv32:Linux:*:*)
 40.3730 ++	echo crisv32-axis-linux-gnu
 40.3731 ++	exit 0 ;;
 40.3732 ++    frv:Linux:*:*)
 40.3733 ++    	echo frv-unknown-linux-gnu
 40.3734 ++	exit 0 ;;
 40.3735 +     ia64:Linux:*:*)
 40.3736 +-	echo ${UNAME_MACHINE}-unknown-linux
 40.3737 ++	echo ${UNAME_MACHINE}-unknown-linux-gnu
 40.3738 ++	exit 0 ;;
 40.3739 ++    m32r*:Linux:*:*)
 40.3740 ++	echo ${UNAME_MACHINE}-unknown-linux-gnu
 40.3741 + 	exit 0 ;;
 40.3742 +     m68*:Linux:*:*)
 40.3743 + 	echo ${UNAME_MACHINE}-unknown-linux-gnu
 40.3744 +@@ -776,19 +851,37 @@
 40.3745 + 	#undef CPU
 40.3746 + 	#undef mips
 40.3747 + 	#undef mipsel
 40.3748 +-	#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) 
 40.3749 +-	CPU=mipsel 
 40.3750 ++	#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
 40.3751 ++	CPU=mipsel
 40.3752 + 	#else
 40.3753 +-	#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) 
 40.3754 ++	#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
 40.3755 + 	CPU=mips
 40.3756 + 	#else
 40.3757 + 	CPU=
 40.3758 + 	#endif
 40.3759 +-	#endif 
 40.3760 ++	#endif
 40.3761 ++EOF
 40.3762 ++	eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
 40.3763 ++	test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
 40.3764 ++	;;
 40.3765 ++    mips64:Linux:*:*)
 40.3766 ++	eval $set_cc_for_build
 40.3767 ++	sed 's/^	//' << EOF >$dummy.c
 40.3768 ++	#undef CPU
 40.3769 ++	#undef mips64
 40.3770 ++	#undef mips64el
 40.3771 ++	#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
 40.3772 ++	CPU=mips64el
 40.3773 ++	#else
 40.3774 ++	#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
 40.3775 ++	CPU=mips64
 40.3776 ++	#else
 40.3777 ++	CPU=
 40.3778 ++	#endif
 40.3779 ++	#endif
 40.3780 + EOF
 40.3781 + 	eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
 40.3782 +-	rm -f $dummy.c
 40.3783 +-	test x"${CPU}" != x && echo "${CPU}-pc-linux-gnu" && exit 0
 40.3784 ++	test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
 40.3785 + 	;;
 40.3786 +     ppc:Linux:*:*)
 40.3787 + 	echo powerpc-unknown-linux-gnu
 40.3788 +@@ -824,6 +917,9 @@
 40.3789 +     s390:Linux:*:* | s390x:Linux:*:*)
 40.3790 + 	echo ${UNAME_MACHINE}-ibm-linux
 40.3791 + 	exit 0 ;;
 40.3792 ++    sh64*:Linux:*:*)
 40.3793 ++    	echo ${UNAME_MACHINE}-unknown-linux-gnu
 40.3794 ++	exit 0 ;;
 40.3795 +     sh*:Linux:*:*)
 40.3796 + 	echo ${UNAME_MACHINE}-unknown-linux-gnu
 40.3797 + 	exit 0 ;;
 40.3798 +@@ -837,7 +933,8 @@
 40.3799 + 	# The BFD linker knows what the default object file format is, so
 40.3800 + 	# first see if it will tell us. cd to the root directory to prevent
 40.3801 + 	# problems with other programs or directories called `ld' in the path.
 40.3802 +-	ld_supported_targets=`cd /; ld --help 2>&1 \
 40.3803 ++	# Set LC_ALL=C to ensure ld outputs messages in English.
 40.3804 ++	ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
 40.3805 + 			 | sed -ne '/supported targets:/!d
 40.3806 + 				    s/[ 	][ 	]*/ /g
 40.3807 + 				    s/.*supported targets: *//
 40.3808 +@@ -849,7 +946,7 @@
 40.3809 + 		;;
 40.3810 + 	  a.out-i386-linux)
 40.3811 + 		echo "${UNAME_MACHINE}-pc-linux-gnuaout"
 40.3812 +-		exit 0 ;;		
 40.3813 ++		exit 0 ;;
 40.3814 + 	  coff-i386)
 40.3815 + 		echo "${UNAME_MACHINE}-pc-linux-gnucoff"
 40.3816 + 		exit 0 ;;
 40.3817 +@@ -874,11 +971,17 @@
 40.3818 + 	LIBC=gnulibc1
 40.3819 + 	# endif
 40.3820 + 	#else
 40.3821 ++	#ifdef __INTEL_COMPILER
 40.3822 ++	LIBC=gnu
 40.3823 ++	#else
 40.3824 + 	LIBC=gnuaout
 40.3825 + 	#endif
 40.3826 ++	#endif
 40.3827 ++	#ifdef __dietlibc__
 40.3828 ++	LIBC=dietlibc
 40.3829 ++	#endif
 40.3830 + EOF
 40.3831 + 	eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
 40.3832 +-	rm -f $dummy.c
 40.3833 + 	test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0
 40.3834 + 	test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
 40.3835 + 	;;
 40.3836 +@@ -896,6 +999,26 @@
 40.3837 +         # Use sysv4.2uw... so that sysv4* matches it.
 40.3838 + 	echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
 40.3839 + 	exit 0 ;;
 40.3840 ++    i*86:OS/2:*:*)
 40.3841 ++	# If we were able to find `uname', then EMX Unix compatibility
 40.3842 ++	# is probably installed.
 40.3843 ++	echo ${UNAME_MACHINE}-pc-os2-emx
 40.3844 ++	exit 0 ;;
 40.3845 ++    i*86:XTS-300:*:STOP)
 40.3846 ++	echo ${UNAME_MACHINE}-unknown-stop
 40.3847 ++	exit 0 ;;
 40.3848 ++    i*86:atheos:*:*)
 40.3849 ++	echo ${UNAME_MACHINE}-unknown-atheos
 40.3850 ++	exit 0 ;;
 40.3851 ++	i*86:syllable:*:*)
 40.3852 ++	echo ${UNAME_MACHINE}-pc-syllable
 40.3853 ++	exit 0 ;;
 40.3854 ++    i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
 40.3855 ++	echo i386-unknown-lynxos${UNAME_RELEASE}
 40.3856 ++	exit 0 ;;
 40.3857 ++    i*86:*DOS:*:*)
 40.3858 ++	echo ${UNAME_MACHINE}-pc-msdosdjgpp
 40.3859 ++	exit 0 ;;
 40.3860 +     i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
 40.3861 + 	UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
 40.3862 + 	if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
 40.3863 +@@ -917,22 +1040,19 @@
 40.3864 + 		UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
 40.3865 + 		echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
 40.3866 + 	elif /bin/uname -X 2>/dev/null >/dev/null ; then
 40.3867 +-		UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')`
 40.3868 +-		(/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486
 40.3869 +-		(/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \
 40.3870 ++		UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
 40.3871 ++		(/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
 40.3872 ++		(/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
 40.3873 + 			&& UNAME_MACHINE=i586
 40.3874 +-		(/bin/uname -X|egrep '^Machine.*Pent ?II' >/dev/null) \
 40.3875 ++		(/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
 40.3876 + 			&& UNAME_MACHINE=i686
 40.3877 +-		(/bin/uname -X|egrep '^Machine.*Pentium Pro' >/dev/null) \
 40.3878 ++		(/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
 40.3879 + 			&& UNAME_MACHINE=i686
 40.3880 + 		echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
 40.3881 + 	else
 40.3882 + 		echo ${UNAME_MACHINE}-pc-sysv32
 40.3883 + 	fi
 40.3884 + 	exit 0 ;;
 40.3885 +-    i*86:*DOS:*:*)
 40.3886 +-	echo ${UNAME_MACHINE}-pc-msdosdjgpp
 40.3887 +-	exit 0 ;;
 40.3888 +     pc:*:*:*)
 40.3889 + 	# Left here for compatibility:
 40.3890 +         # uname -m prints for DJGPP always 'pc', but it prints nothing about
 40.3891 +@@ -956,9 +1076,15 @@
 40.3892 + 	# "miniframe"
 40.3893 + 	echo m68010-convergent-sysv
 40.3894 + 	exit 0 ;;
 40.3895 +-    M68*:*:R3V[567]*:*)
 40.3896 ++    mc68k:UNIX:SYSTEM5:3.51m)
 40.3897 ++	echo m68k-convergent-sysv
 40.3898 ++	exit 0 ;;
 40.3899 ++    M680?0:D-NIX:5.3:*)
 40.3900 ++	echo m68k-diab-dnix
 40.3901 ++	exit 0 ;;
 40.3902 ++    M68*:*:R3V[5678]*:*)
 40.3903 + 	test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
 40.3904 +-    3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0)
 40.3905 ++    3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
 40.3906 + 	OS_REL=''
 40.3907 + 	test -r /etc/.relid \
 40.3908 + 	&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
 40.3909 +@@ -975,9 +1101,6 @@
 40.3910 +     mc68030:UNIX_System_V:4.*:*)
 40.3911 + 	echo m68k-atari-sysv4
 40.3912 + 	exit 0 ;;
 40.3913 +-    i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
 40.3914 +-	echo i386-unknown-lynxos${UNAME_RELEASE}
 40.3915 +-	exit 0 ;;
 40.3916 +     TSUNAMI:LynxOS:2.*:*)
 40.3917 + 	echo sparc-unknown-lynxos${UNAME_RELEASE}
 40.3918 + 	exit 0 ;;
 40.3919 +@@ -1017,6 +1140,10 @@
 40.3920 + 	# From seanf@swdc.stratus.com.
 40.3921 + 	echo i860-stratus-sysv4
 40.3922 + 	exit 0 ;;
 40.3923 ++    i*86:VOS:*:*)
 40.3924 ++	# From Paul.Green@stratus.com.
 40.3925 ++	echo ${UNAME_MACHINE}-stratus-vos
 40.3926 ++	exit 0 ;;
 40.3927 +     *:VOS:*:*)
 40.3928 + 	# From Paul.Green@stratus.com.
 40.3929 + 	echo hppa1.1-stratus-vos
 40.3930 +@@ -1049,6 +1176,9 @@
 40.3931 +     SX-5:SUPER-UX:*:*)
 40.3932 + 	echo sx5-nec-superux${UNAME_RELEASE}
 40.3933 + 	exit 0 ;;
 40.3934 ++    SX-6:SUPER-UX:*:*)
 40.3935 ++	echo sx6-nec-superux${UNAME_RELEASE}
 40.3936 ++	exit 0 ;;
 40.3937 +     Power*:Rhapsody:*:*)
 40.3938 + 	echo powerpc-apple-rhapsody${UNAME_RELEASE}
 40.3939 + 	exit 0 ;;
 40.3940 +@@ -1056,18 +1186,28 @@
 40.3941 + 	echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
 40.3942 + 	exit 0 ;;
 40.3943 +     *:Darwin:*:*)
 40.3944 +-	echo `uname -p`-apple-darwin${UNAME_RELEASE}
 40.3945 ++	UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
 40.3946 ++	case $UNAME_PROCESSOR in
 40.3947 ++	    *86) UNAME_PROCESSOR=i686 ;;
 40.3948 ++	    unknown) UNAME_PROCESSOR=powerpc ;;
 40.3949 ++	esac
 40.3950 ++	echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
 40.3951 + 	exit 0 ;;
 40.3952 +     *:procnto*:*:* | *:QNX:[0123456789]*:*)
 40.3953 +-	if test "${UNAME_MACHINE}" = "x86pc"; then
 40.3954 ++	UNAME_PROCESSOR=`uname -p`
 40.3955 ++	if test "$UNAME_PROCESSOR" = "x86"; then
 40.3956 ++		UNAME_PROCESSOR=i386
 40.3957 + 		UNAME_MACHINE=pc
 40.3958 + 	fi
 40.3959 +-	echo `uname -p`-${UNAME_MACHINE}-nto-qnx
 40.3960 ++	echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
 40.3961 + 	exit 0 ;;
 40.3962 +     *:QNX:*:4*)
 40.3963 + 	echo i386-pc-qnx
 40.3964 + 	exit 0 ;;
 40.3965 +-    NSR-[GKLNPTVW]:NONSTOP_KERNEL:*:*)
 40.3966 ++    NSE-?:NONSTOP_KERNEL:*:*)
 40.3967 ++	echo nse-tandem-nsk${UNAME_RELEASE}
 40.3968 ++	exit 0 ;;
 40.3969 ++    NSR-?:NONSTOP_KERNEL:*:*)
 40.3970 + 	echo nsr-tandem-nsk${UNAME_RELEASE}
 40.3971 + 	exit 0 ;;
 40.3972 +     *:NonStop-UX:*:*)
 40.3973 +@@ -1090,11 +1230,6 @@
 40.3974 + 	fi
 40.3975 + 	echo ${UNAME_MACHINE}-unknown-plan9
 40.3976 + 	exit 0 ;;
 40.3977 +-    i*86:OS/2:*:*)
 40.3978 +-	# If we were able to find `uname', then EMX Unix compatibility
 40.3979 +-	# is probably installed.
 40.3980 +-	echo ${UNAME_MACHINE}-pc-os2-emx
 40.3981 +-	exit 0 ;;
 40.3982 +     *:TOPS-10:*:*)
 40.3983 + 	echo pdp10-unknown-tops10
 40.3984 + 	exit 0 ;;
 40.3985 +@@ -1113,11 +1248,21 @@
 40.3986 +     *:ITS:*:*)
 40.3987 + 	echo pdp10-unknown-its
 40.3988 + 	exit 0 ;;
 40.3989 +-    i*86:XTS-300:*:STOP)
 40.3990 +-	echo ${UNAME_MACHINE}-unknown-stop
 40.3991 ++    SEI:*:*:SEIUX)
 40.3992 ++        echo mips-sei-seiux${UNAME_RELEASE}
 40.3993 + 	exit 0 ;;
 40.3994 +-    i*86:atheos:*:*)
 40.3995 +-	echo ${UNAME_MACHINE}-unknown-atheos
 40.3996 ++    *:DragonFly:*:*)
 40.3997 ++	echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
 40.3998 ++	exit 0 ;;
 40.3999 ++    *:*VMS:*:*)
 40.4000 ++    	UNAME_MACHINE=`(uname -p) 2>/dev/null`
 40.4001 ++	case "${UNAME_MACHINE}" in
 40.4002 ++	    A*) echo alpha-dec-vms && exit 0 ;;
 40.4003 ++	    I*) echo ia64-dec-vms && exit 0 ;;
 40.4004 ++	    V*) echo vax-dec-vms && exit 0 ;;
 40.4005 ++	esac ;;
 40.4006 ++    *:XENIX:*:SysV)
 40.4007 ++	echo i386-pc-xenix
 40.4008 + 	exit 0 ;;
 40.4009 + esac
 40.4010 + 
 40.4011 +@@ -1239,8 +1384,7 @@
 40.4012 + }
 40.4013 + EOF
 40.4014 + 
 40.4015 +-$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm -f $dummy.c $dummy && exit 0
 40.4016 +-rm -f $dummy.c $dummy
 40.4017 ++$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && $dummy && exit 0
 40.4018 + 
 40.4019 + # Apollos put the system type in the environment.
 40.4020 + 
 40.4021 +@@ -1279,7 +1423,9 @@
 40.4022 + the operating system you are using. It is advised that you
 40.4023 + download the most up to date version of the config scripts from
 40.4024 + 
 40.4025 +-    ftp://ftp.gnu.org/pub/gnu/config/
 40.4026 ++  http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
 40.4027 ++and
 40.4028 ++  http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
 40.4029 + 
 40.4030 + If the version you run ($0) is already up to date, please
 40.4031 + send the following data and any information you think might be
 40.4032 +--- openjade1.3-1.3.2.orig/config/config.sub
 40.4033 ++++ openjade1.3-1.3.2/config/config.sub
 40.4034 +@@ -1,9 +1,9 @@
 40.4035 + #! /bin/sh
 40.4036 + # Configuration validation subroutine script.
 40.4037 + #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
 40.4038 +-#   2000, 2001, 2002 Free Software Foundation, Inc.
 40.4039 ++#   2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
 40.4040 + 
 40.4041 +-timestamp='2002-01-02'
 40.4042 ++timestamp='2005-04-22'
 40.4043 + 
 40.4044 + # This file is (in principle) common to ALL GNU software.
 40.4045 + # The presence of a machine in this file suggests that SOME GNU software
 40.4046 +@@ -70,7 +70,7 @@
 40.4047 + version="\
 40.4048 + GNU config.sub ($timestamp)
 40.4049 + 
 40.4050 +-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
 40.4051 ++Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
 40.4052 + Free Software Foundation, Inc.
 40.4053 + 
 40.4054 + This is free software; see the source for copying conditions.  There is NO
 40.4055 +@@ -118,7 +118,8 @@
 40.4056 + # Here we must recognize all the valid KERNEL-OS combinations.
 40.4057 + maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
 40.4058 + case $maybe_os in
 40.4059 +-  nto-qnx* | linux-gnu* | storm-chaos* | os2-emx* | windows32-*)
 40.4060 ++  nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \
 40.4061 ++  kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
 40.4062 +     os=-$maybe_os
 40.4063 +     basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
 40.4064 +     ;;
 40.4065 +@@ -144,7 +145,7 @@
 40.4066 + 	-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
 40.4067 + 	-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
 40.4068 + 	-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
 40.4069 +-	-apple | -axis)
 40.4070 ++	-apple | -axis | -knuth | -cray)
 40.4071 + 		os=
 40.4072 + 		basic_machine=$1
 40.4073 + 		;;
 40.4074 +@@ -228,31 +229,47 @@
 40.4075 + 	| a29k \
 40.4076 + 	| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
 40.4077 + 	| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
 40.4078 ++	| am33_2.0 \
 40.4079 + 	| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
 40.4080 ++	| bfin \
 40.4081 + 	| c4x | clipper \
 40.4082 +-	| d10v | d30v | dsp16xx \
 40.4083 +-	| fr30 \
 40.4084 ++	| d10v | d30v | dlx | dsp16xx \
 40.4085 ++	| fr30 | frv \
 40.4086 + 	| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
 40.4087 + 	| i370 | i860 | i960 | ia64 \
 40.4088 +-	| m32r | m68000 | m68k | m88k | mcore \
 40.4089 +-	| mips16 | mips64 | mips64el | mips64orion | mips64orionel \
 40.4090 +-	| mips64vr4100 | mips64vr4100el | mips64vr4300 \
 40.4091 +-	| mips64vr4300el | mips64vr5000 | mips64vr5000el \
 40.4092 +-	| mipsbe | mipseb | mipsel | mipsle | mipstx39 | mipstx39el \
 40.4093 +-	| mipsisa32 \
 40.4094 ++	| ip2k | iq2000 \
 40.4095 ++	| m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \
 40.4096 ++	| mips | mipsbe | mipseb | mipsel | mipsle \
 40.4097 ++	| mips16 \
 40.4098 ++	| mips64 | mips64el \
 40.4099 ++	| mips64vr | mips64vrel \
 40.4100 ++	| mips64orion | mips64orionel \
 40.4101 ++	| mips64vr4100 | mips64vr4100el \
 40.4102 ++	| mips64vr4300 | mips64vr4300el \
 40.4103 ++	| mips64vr5000 | mips64vr5000el \
 40.4104 ++	| mipsisa32 | mipsisa32el \
 40.4105 ++	| mipsisa32r2 | mipsisa32r2el \
 40.4106 ++	| mipsisa64 | mipsisa64el \
 40.4107 ++	| mipsisa64r2 | mipsisa64r2el \
 40.4108 ++	| mipsisa64sb1 | mipsisa64sb1el \
 40.4109 ++	| mipsisa64sr71k | mipsisa64sr71kel \
 40.4110 ++	| mipstx39 | mipstx39el \
 40.4111 + 	| mn10200 | mn10300 \
 40.4112 ++	| msp430 \
 40.4113 + 	| ns16k | ns32k \
 40.4114 +-	| openrisc \
 40.4115 ++	| openrisc | or32 \
 40.4116 + 	| pdp10 | pdp11 | pj | pjl \
 40.4117 + 	| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
 40.4118 + 	| pyramid \
 40.4119 +-	| sh | sh[34] | sh[34]eb | shbe | shle \
 40.4120 +-	| sparc | sparc64 | sparclet | sparclite | sparcv9 | sparcv9b \
 40.4121 ++	| sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
 40.4122 ++	| sh64 | sh64le \
 40.4123 ++	| sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
 40.4124 ++	| sparcv8 | sparcv9 | sparcv9b \
 40.4125 + 	| strongarm \
 40.4126 +-	| tahoe | thumb | tic80 | tron \
 40.4127 ++	| tahoe | thumb | tic4x | tic80 | tron \
 40.4128 + 	| v850 | v850e \
 40.4129 + 	| we32k \
 40.4130 +-	| x86 | xscale | xstormy16 | xtensa \
 40.4131 ++	| x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
 40.4132 + 	| z8k)
 40.4133 + 		basic_machine=$basic_machine-unknown
 40.4134 + 		;;
 40.4135 +@@ -281,38 +298,56 @@
 40.4136 + 	| alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
 40.4137 + 	| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
 40.4138 + 	| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
 40.4139 +-	| arm-*  | armbe-* | armle-* | armv*-* \
 40.4140 ++	| arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
 40.4141 + 	| avr-* \
 40.4142 +-	| bs2000-* \
 40.4143 +-	| c[123]* | c30-* | [cjt]90-* | c54x-* \
 40.4144 +-	| clipper-* | cray2-* | cydra-* \
 40.4145 +-	| d10v-* | d30v-* \
 40.4146 ++	| bfin-* | bs2000-* \
 40.4147 ++	| c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
 40.4148 ++	| clipper-* | craynv-* | cydra-* \
 40.4149 ++	| d10v-* | d30v-* | dlx-* \
 40.4150 + 	| elxsi-* \
 40.4151 +-	| f30[01]-* | f700-* | fr30-* | fx80-* \
 40.4152 ++	| f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
 40.4153 + 	| h8300-* | h8500-* \
 40.4154 + 	| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
 40.4155 + 	| i*86-* | i860-* | i960-* | ia64-* \
 40.4156 +-	| m32r-* \
 40.4157 +-	| m68000-* | m680[01234]0-* | m68360-* | m683?2-* | m68k-* \
 40.4158 +-	| m88110-* | m88k-* | mcore-* \
 40.4159 +-	| mips-* | mips16-* | mips64-* | mips64el-* | mips64orion-* \
 40.4160 +-	| mips64orionel-* | mips64vr4100-* | mips64vr4100el-* \
 40.4161 +-	| mips64vr4300-* | mips64vr4300el-* | mipsbe-* | mipseb-* \
 40.4162 +-	| mipsle-* | mipsel-* | mipstx39-* | mipstx39el-* \
 40.4163 ++	| ip2k-* | iq2000-* \
 40.4164 ++	| m32r-* | m32rle-* \
 40.4165 ++	| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
 40.4166 ++	| m88110-* | m88k-* | maxq-* | mcore-* \
 40.4167 ++	| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
 40.4168 ++	| mips16-* \
 40.4169 ++	| mips64-* | mips64el-* \
 40.4170 ++	| mips64vr-* | mips64vrel-* \
 40.4171 ++	| mips64orion-* | mips64orionel-* \
 40.4172 ++	| mips64vr4100-* | mips64vr4100el-* \
 40.4173 ++	| mips64vr4300-* | mips64vr4300el-* \
 40.4174 ++	| mips64vr5000-* | mips64vr5000el-* \
 40.4175 ++	| mipsisa32-* | mipsisa32el-* \
 40.4176 ++	| mipsisa32r2-* | mipsisa32r2el-* \
 40.4177 ++	| mipsisa64-* | mipsisa64el-* \
 40.4178 ++	| mipsisa64r2-* | mipsisa64r2el-* \
 40.4179 ++	| mipsisa64sb1-* | mipsisa64sb1el-* \
 40.4180 ++	| mipsisa64sr71k-* | mipsisa64sr71kel-* \
 40.4181 ++	| mipstx39-* | mipstx39el-* \
 40.4182 ++	| mmix-* \
 40.4183 ++	| msp430-* \
 40.4184 + 	| none-* | np1-* | ns16k-* | ns32k-* \
 40.4185 + 	| orion-* \
 40.4186 + 	| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
 40.4187 + 	| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
 40.4188 + 	| pyramid-* \
 40.4189 + 	| romp-* | rs6000-* \
 40.4190 +-	| sh-* | sh[34]-* | sh[34]eb-* | shbe-* | shle-* \
 40.4191 +-	| sparc-* | sparc64-* | sparc86x-* | sparclite-* \
 40.4192 +-	| sparcv9-* | sparcv9b-* | strongarm-* | sv1-* \
 40.4193 +-	| t3e-* | tahoe-* | thumb-* | tic30-* | tic54x-* | tic80-* | tron-* \
 40.4194 ++	| sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
 40.4195 ++	| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
 40.4196 ++	| sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
 40.4197 ++	| sparclite-* \
 40.4198 ++	| sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
 40.4199 ++	| tahoe-* | thumb-* \
 40.4200 ++	| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
 40.4201 ++	| tron-* \
 40.4202 + 	| v850-* | v850e-* | vax-* \
 40.4203 + 	| we32k-* \
 40.4204 +-	| x86-* | x86_64-* | xmp-* | xps100-* | xscale-* | xstormy16-* \
 40.4205 +-	| xtensa-* \
 40.4206 ++	| x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
 40.4207 ++	| xstormy16-* | xtensa-* \
 40.4208 + 	| ymp-* \
 40.4209 + 	| z8k-*)
 40.4210 + 		;;
 40.4211 +@@ -332,6 +367,9 @@
 40.4212 + 		basic_machine=a29k-amd
 40.4213 + 		os=-udi
 40.4214 + 		;;
 40.4215 ++    	abacus)
 40.4216 ++		basic_machine=abacus-unknown
 40.4217 ++		;;
 40.4218 + 	adobe68k)
 40.4219 + 		basic_machine=m68010-adobe
 40.4220 + 		os=-scout
 40.4221 +@@ -346,6 +384,12 @@
 40.4222 + 		basic_machine=a29k-none
 40.4223 + 		os=-bsd
 40.4224 + 		;;
 40.4225 ++	amd64)
 40.4226 ++		basic_machine=x86_64-pc
 40.4227 ++		;;
 40.4228 ++	amd64-*)
 40.4229 ++		basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
 40.4230 ++		;;
 40.4231 + 	amdahl)
 40.4232 + 		basic_machine=580-amdahl
 40.4233 + 		os=-sysv
 40.4234 +@@ -377,6 +421,10 @@
 40.4235 + 		basic_machine=ns32k-sequent
 40.4236 + 		os=-dynix
 40.4237 + 		;;
 40.4238 ++	c90)
 40.4239 ++		basic_machine=c90-cray
 40.4240 ++		os=-unicos
 40.4241 ++		;;
 40.4242 + 	convex-c1)
 40.4243 + 		basic_machine=c1-convex
 40.4244 + 		os=-bsd
 40.4245 +@@ -397,24 +445,31 @@
 40.4246 + 		basic_machine=c38-convex
 40.4247 + 		os=-bsd
 40.4248 + 		;;
 40.4249 +-	cray | ymp)
 40.4250 +-		basic_machine=ymp-cray
 40.4251 ++	cray | j90)
 40.4252 ++		basic_machine=j90-cray
 40.4253 + 		os=-unicos
 40.4254 + 		;;
 40.4255 +-	cray2)
 40.4256 +-		basic_machine=cray2-cray
 40.4257 +-		os=-unicos
 40.4258 ++	craynv)
 40.4259 ++		basic_machine=craynv-cray
 40.4260 ++		os=-unicosmp
 40.4261 + 		;;
 40.4262 +-	[cjt]90)
 40.4263 +-		basic_machine=${basic_machine}-cray
 40.4264 +-		os=-unicos
 40.4265 ++	cr16c)
 40.4266 ++		basic_machine=cr16c-unknown
 40.4267 ++		os=-elf
 40.4268 + 		;;
 40.4269 + 	crds | unos)
 40.4270 + 		basic_machine=m68k-crds
 40.4271 + 		;;
 40.4272 ++	crisv32 | crisv32-* | etraxfs*)
 40.4273 ++		basic_machine=crisv32-axis
 40.4274 ++		;;
 40.4275 + 	cris | cris-* | etrax*)
 40.4276 + 		basic_machine=cris-axis
 40.4277 + 		;;
 40.4278 ++	crx)
 40.4279 ++		basic_machine=crx-unknown
 40.4280 ++		os=-elf
 40.4281 ++		;;
 40.4282 + 	da30 | da30-*)
 40.4283 + 		basic_machine=m68k-da30
 40.4284 + 		;;
 40.4285 +@@ -437,6 +492,10 @@
 40.4286 + 		basic_machine=m88k-motorola
 40.4287 + 		os=-sysv3
 40.4288 + 		;;
 40.4289 ++	djgpp)
 40.4290 ++		basic_machine=i586-pc
 40.4291 ++		os=-msdosdjgpp
 40.4292 ++		;;
 40.4293 + 	dpx20 | dpx20-*)
 40.4294 + 		basic_machine=rs6000-bull
 40.4295 + 		os=-bosx
 40.4296 +@@ -609,24 +668,12 @@
 40.4297 + 		basic_machine=m68k-atari
 40.4298 + 		os=-mint
 40.4299 + 		;;
 40.4300 +-	mipsel*-linux*)
 40.4301 +-		basic_machine=mipsel-unknown
 40.4302 +-		os=-linux-gnu
 40.4303 +-		;;
 40.4304 +-	mips*-linux*)
 40.4305 +-		basic_machine=mips-unknown
 40.4306 +-		os=-linux-gnu
 40.4307 +-		;;
 40.4308 + 	mips3*-*)
 40.4309 + 		basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
 40.4310 + 		;;
 40.4311 + 	mips3*)
 40.4312 + 		basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
 40.4313 + 		;;
 40.4314 +-	mmix*)
 40.4315 +-		basic_machine=mmix-knuth
 40.4316 +-		os=-mmixware
 40.4317 +-		;;
 40.4318 + 	monitor)
 40.4319 + 		basic_machine=m68k-rom68k
 40.4320 + 		os=-coff
 40.4321 +@@ -714,6 +761,14 @@
 40.4322 + 		basic_machine=hppa1.1-oki
 40.4323 + 		os=-proelf
 40.4324 + 		;;
 40.4325 ++	or32 | or32-*)
 40.4326 ++		basic_machine=or32-unknown
 40.4327 ++		os=-coff
 40.4328 ++		;;
 40.4329 ++	os400)
 40.4330 ++		basic_machine=powerpc-ibm
 40.4331 ++		os=-os400
 40.4332 ++		;;
 40.4333 + 	OSE68000 | ose68000)
 40.4334 + 		basic_machine=m68000-ericsson
 40.4335 + 		os=-ose
 40.4336 +@@ -736,49 +791,55 @@
 40.4337 + 	pbb)
 40.4338 + 		basic_machine=m68k-tti
 40.4339 + 		;;
 40.4340 +-        pc532 | pc532-*)
 40.4341 ++	pc532 | pc532-*)
 40.4342 + 		basic_machine=ns32k-pc532
 40.4343 + 		;;
 40.4344 + 	pentium | p5 | k5 | k6 | nexgen | viac3)
 40.4345 + 		basic_machine=i586-pc
 40.4346 + 		;;
 40.4347 +-	pentiumpro | p6 | 6x86 | athlon)
 40.4348 ++	pentiumpro | p6 | 6x86 | athlon | athlon_*)
 40.4349 + 		basic_machine=i686-pc
 40.4350 + 		;;
 40.4351 +-	pentiumii | pentium2)
 40.4352 ++	pentiumii | pentium2 | pentiumiii | pentium3)
 40.4353 + 		basic_machine=i686-pc
 40.4354 + 		;;
 40.4355 ++	pentium4)
 40.4356 ++		basic_machine=i786-pc
 40.4357 ++		;;
 40.4358 + 	pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
 40.4359 + 		basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
 40.4360 + 		;;
 40.4361 + 	pentiumpro-* | p6-* | 6x86-* | athlon-*)
 40.4362 + 		basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
 40.4363 + 		;;
 40.4364 +-	pentiumii-* | pentium2-*)
 40.4365 ++	pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
 40.4366 + 		basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
 40.4367 + 		;;
 40.4368 ++	pentium4-*)
 40.4369 ++		basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
 40.4370 ++		;;
 40.4371 + 	pn)
 40.4372 + 		basic_machine=pn-gould
 40.4373 + 		;;
 40.4374 + 	power)	basic_machine=power-ibm
 40.4375 + 		;;
 40.4376 + 	ppc)	basic_machine=powerpc-unknown
 40.4377 +-	        ;;
 40.4378 ++		;;
 40.4379 + 	ppc-*)	basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
 40.4380 + 		;;
 40.4381 + 	ppcle | powerpclittle | ppc-le | powerpc-little)
 40.4382 + 		basic_machine=powerpcle-unknown
 40.4383 +-	        ;;
 40.4384 ++		;;
 40.4385 + 	ppcle-* | powerpclittle-*)
 40.4386 + 		basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
 40.4387 + 		;;
 40.4388 + 	ppc64)	basic_machine=powerpc64-unknown
 40.4389 +-	        ;;
 40.4390 ++		;;
 40.4391 + 	ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
 40.4392 + 		;;
 40.4393 + 	ppc64le | powerpc64little | ppc64-le | powerpc64-little)
 40.4394 + 		basic_machine=powerpc64le-unknown
 40.4395 +-	        ;;
 40.4396 ++		;;
 40.4397 + 	ppc64le-* | powerpc64little-*)
 40.4398 + 		basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
 40.4399 + 		;;
 40.4400 +@@ -809,6 +870,16 @@
 40.4401 + 		basic_machine=a29k-amd
 40.4402 + 		os=-udi
 40.4403 + 		;;
 40.4404 ++	sb1)
 40.4405 ++		basic_machine=mipsisa64sb1-unknown
 40.4406 ++		;;
 40.4407 ++	sb1el)
 40.4408 ++		basic_machine=mipsisa64sb1el-unknown
 40.4409 ++		;;
 40.4410 ++	sei)
 40.4411 ++		basic_machine=mips-sei
 40.4412 ++		os=-seiux
 40.4413 ++		;;
 40.4414 + 	sequent)
 40.4415 + 		basic_machine=i386-sequent
 40.4416 + 		;;
 40.4417 +@@ -816,6 +887,9 @@
 40.4418 + 		basic_machine=sh-hitachi
 40.4419 + 		os=-hms
 40.4420 + 		;;
 40.4421 ++	sh64)
 40.4422 ++		basic_machine=sh64-unknown
 40.4423 ++		;;
 40.4424 + 	sparclite-wrs | simso-wrs)
 40.4425 + 		basic_machine=sparclite-wrs
 40.4426 + 		os=-vxworks
 40.4427 +@@ -883,13 +957,25 @@
 40.4428 + 		os=-dynix
 40.4429 + 		;;
 40.4430 + 	t3e)
 40.4431 +-		basic_machine=t3e-cray
 40.4432 ++		basic_machine=alphaev5-cray
 40.4433 ++		os=-unicos
 40.4434 ++		;;
 40.4435 ++	t90)
 40.4436 ++		basic_machine=t90-cray
 40.4437 + 		os=-unicos
 40.4438 + 		;;
 40.4439 + 	tic54x | c54x*)
 40.4440 + 		basic_machine=tic54x-unknown
 40.4441 + 		os=-coff
 40.4442 + 		;;
 40.4443 ++	tic55x | c55x*)
 40.4444 ++		basic_machine=tic55x-unknown
 40.4445 ++		os=-coff
 40.4446 ++		;;
 40.4447 ++	tic6x | c6x*)
 40.4448 ++		basic_machine=tic6x-unknown
 40.4449 ++		os=-coff
 40.4450 ++		;;
 40.4451 + 	tx39)
 40.4452 + 		basic_machine=mipstx39-unknown
 40.4453 + 		;;
 40.4454 +@@ -903,6 +989,10 @@
 40.4455 + 	tower | tower-32)
 40.4456 + 		basic_machine=m68k-ncr
 40.4457 + 		;;
 40.4458 ++	tpf)
 40.4459 ++		basic_machine=s390x-ibm
 40.4460 ++		os=-tpf
 40.4461 ++		;;
 40.4462 + 	udi29k)
 40.4463 + 		basic_machine=a29k-amd
 40.4464 + 		os=-udi
 40.4465 +@@ -924,8 +1014,8 @@
 40.4466 + 		os=-vms
 40.4467 + 		;;
 40.4468 + 	vpp*|vx|vx-*)
 40.4469 +-               basic_machine=f301-fujitsu
 40.4470 +-               ;;
 40.4471 ++		basic_machine=f301-fujitsu
 40.4472 ++		;;
 40.4473 + 	vxworks960)
 40.4474 + 		basic_machine=i960-wrs
 40.4475 + 		os=-vxworks
 40.4476 +@@ -946,17 +1036,17 @@
 40.4477 + 		basic_machine=hppa1.1-winbond
 40.4478 + 		os=-proelf
 40.4479 + 		;;
 40.4480 +-	windows32)
 40.4481 +-		basic_machine=i386-pc
 40.4482 +-		os=-windows32-msvcrt
 40.4483 +-		;;
 40.4484 +-	xmp)
 40.4485 +-		basic_machine=xmp-cray
 40.4486 +-		os=-unicos
 40.4487 ++	xbox)
 40.4488 ++		basic_machine=i686-pc
 40.4489 ++		os=-mingw32
 40.4490 + 		;;
 40.4491 +-        xps | xps100)
 40.4492 ++	xps | xps100)
 40.4493 + 		basic_machine=xps100-honeywell
 40.4494 + 		;;
 40.4495 ++	ymp)
 40.4496 ++		basic_machine=ymp-cray
 40.4497 ++		os=-unicos
 40.4498 ++		;;
 40.4499 + 	z8k-*-coff)
 40.4500 + 		basic_machine=z8k-unknown
 40.4501 + 		os=-sim
 40.4502 +@@ -977,16 +1067,12 @@
 40.4503 + 	op60c)
 40.4504 + 		basic_machine=hppa1.1-oki
 40.4505 + 		;;
 40.4506 +-	mips)
 40.4507 +-		if [ x$os = x-linux-gnu ]; then
 40.4508 +-			basic_machine=mips-unknown
 40.4509 +-		else
 40.4510 +-			basic_machine=mips-mips
 40.4511 +-		fi
 40.4512 +-		;;
 40.4513 + 	romp)
 40.4514 + 		basic_machine=romp-ibm
 40.4515 + 		;;
 40.4516 ++	mmix)
 40.4517 ++		basic_machine=mmix-knuth
 40.4518 ++		;;
 40.4519 + 	rs6000)
 40.4520 + 		basic_machine=rs6000-ibm
 40.4521 + 		;;
 40.4522 +@@ -1003,13 +1089,16 @@
 40.4523 + 	we32k)
 40.4524 + 		basic_machine=we32k-att
 40.4525 + 		;;
 40.4526 +-	sh3 | sh4 | sh3eb | sh4eb)
 40.4527 ++	sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
 40.4528 + 		basic_machine=sh-unknown
 40.4529 + 		;;
 40.4530 +-	sparc | sparcv9 | sparcv9b)
 40.4531 ++	sh64)
 40.4532 ++		basic_machine=sh64-unknown
 40.4533 ++		;;
 40.4534 ++	sparc | sparcv8 | sparcv9 | sparcv9b)
 40.4535 + 		basic_machine=sparc-sun
 40.4536 + 		;;
 40.4537 +-        cydra)
 40.4538 ++	cydra)
 40.4539 + 		basic_machine=cydra-cydrome
 40.4540 + 		;;
 40.4541 + 	orion)
 40.4542 +@@ -1024,10 +1113,6 @@
 40.4543 + 	pmac | pmac-mpw)
 40.4544 + 		basic_machine=powerpc-apple
 40.4545 + 		;;
 40.4546 +-	c4x*)
 40.4547 +-		basic_machine=c4x-none
 40.4548 +-		os=-coff
 40.4549 +-		;;
 40.4550 + 	*-unknown)
 40.4551 + 		# Make sure to match an already-canonicalized machine name.
 40.4552 + 		;;
 40.4553 +@@ -1083,17 +1168,20 @@
 40.4554 + 	      | -aos* \
 40.4555 + 	      | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
 40.4556 + 	      | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
 40.4557 +-	      | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
 40.4558 +-	      | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
 40.4559 ++	      | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
 40.4560 ++	      | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
 40.4561 ++	      | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
 40.4562 + 	      | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
 40.4563 + 	      | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
 40.4564 + 	      | -chorusos* | -chorusrdb* \
 40.4565 + 	      | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
 40.4566 +-	      | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
 40.4567 +-	      | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \
 40.4568 ++	      | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
 40.4569 ++	      | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
 40.4570 + 	      | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
 40.4571 + 	      | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
 40.4572 +-	      | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* | -morphos*)
 40.4573 ++	      | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
 40.4574 ++	      | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
 40.4575 ++	      | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*)
 40.4576 + 	# Remember, each alternative MUST END IN *, to match a version number.
 40.4577 + 		;;
 40.4578 + 	-qnx*)
 40.4579 +@@ -1105,8 +1193,10 @@
 40.4580 + 			;;
 40.4581 + 		esac
 40.4582 + 		;;
 40.4583 ++	-nto-qnx*)
 40.4584 ++		;;
 40.4585 + 	-nto*)
 40.4586 +-		os=-nto-qnx
 40.4587 ++		os=`echo $os | sed -e 's|nto|nto-qnx|'`
 40.4588 + 		;;
 40.4589 + 	-sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
 40.4590 + 	      | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
 40.4591 +@@ -1115,6 +1205,9 @@
 40.4592 + 	-mac*)
 40.4593 + 		os=`echo $os | sed -e 's|mac|macos|'`
 40.4594 + 		;;
 40.4595 ++	-linux-dietlibc)
 40.4596 ++		os=-linux-dietlibc
 40.4597 ++		;;
 40.4598 + 	-linux*)
 40.4599 + 		os=`echo $os | sed -e 's|linux|linux-gnu|'`
 40.4600 + 		;;
 40.4601 +@@ -1127,6 +1220,9 @@
 40.4602 + 	-opened*)
 40.4603 + 		os=-openedition
 40.4604 + 		;;
 40.4605 ++        -os400*)
 40.4606 ++		os=-os400
 40.4607 ++		;;
 40.4608 + 	-wince*)
 40.4609 + 		os=-wince
 40.4610 + 		;;
 40.4611 +@@ -1148,14 +1244,20 @@
 40.4612 + 	-atheos*)
 40.4613 + 		os=-atheos
 40.4614 + 		;;
 40.4615 ++	-syllable*)
 40.4616 ++		os=-syllable
 40.4617 ++		;;
 40.4618 + 	-386bsd)
 40.4619 + 		os=-bsd
 40.4620 + 		;;
 40.4621 + 	-ctix* | -uts*)
 40.4622 + 		os=-sysv
 40.4623 + 		;;
 40.4624 ++	-nova*)
 40.4625 ++		os=-rtmk-nova
 40.4626 ++		;;
 40.4627 + 	-ns2 )
 40.4628 +-	        os=-nextstep2
 40.4629 ++		os=-nextstep2
 40.4630 + 		;;
 40.4631 + 	-nsk*)
 40.4632 + 		os=-nsk
 40.4633 +@@ -1167,6 +1269,9 @@
 40.4634 + 	-sinix*)
 40.4635 + 		os=-sysv4
 40.4636 + 		;;
 40.4637 ++        -tpf*)
 40.4638 ++		os=-tpf
 40.4639 ++		;;
 40.4640 + 	-triton*)
 40.4641 + 		os=-sysv3
 40.4642 + 		;;
 40.4643 +@@ -1194,8 +1299,17 @@
 40.4644 + 	-xenix)
 40.4645 + 		os=-xenix
 40.4646 + 		;;
 40.4647 +-        -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
 40.4648 +-	        os=-mint
 40.4649 ++	-*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
 40.4650 ++		os=-mint
 40.4651 ++		;;
 40.4652 ++	-aros*)
 40.4653 ++		os=-aros
 40.4654 ++		;;
 40.4655 ++	-kaos*)
 40.4656 ++		os=-kaos
 40.4657 ++		;;
 40.4658 ++	-zvmoe)
 40.4659 ++		os=-zvmoe
 40.4660 + 		;;
 40.4661 + 	-none)
 40.4662 + 		;;
 40.4663 +@@ -1228,11 +1342,14 @@
 40.4664 + 	arm*-semi)
 40.4665 + 		os=-aout
 40.4666 + 		;;
 40.4667 ++    c4x-* | tic4x-*)
 40.4668 ++        os=-coff
 40.4669 ++        ;;
 40.4670 + 	# This must come before the *-dec entry.
 40.4671 + 	pdp10-*)
 40.4672 + 		os=-tops20
 40.4673 + 		;;
 40.4674 +-        pdp11-*)
 40.4675 ++	pdp11-*)
 40.4676 + 		os=-none
 40.4677 + 		;;
 40.4678 + 	*-dec | vax-*)
 40.4679 +@@ -1259,6 +1376,9 @@
 40.4680 + 	mips*-*)
 40.4681 + 		os=-elf
 40.4682 + 		;;
 40.4683 ++	or32-*)
 40.4684 ++		os=-coff
 40.4685 ++		;;
 40.4686 + 	*-tti)	# must be before sparc entry or we get the wrong os.
 40.4687 + 		os=-sysv3
 40.4688 + 		;;
 40.4689 +@@ -1271,6 +1391,9 @@
 40.4690 + 	*-ibm)
 40.4691 + 		os=-aix
 40.4692 + 		;;
 40.4693 ++    	*-knuth)
 40.4694 ++		os=-mmixware
 40.4695 ++		;;
 40.4696 + 	*-wec)
 40.4697 + 		os=-proelf
 40.4698 + 		;;
 40.4699 +@@ -1322,19 +1445,19 @@
 40.4700 + 	*-next)
 40.4701 + 		os=-nextstep3
 40.4702 + 		;;
 40.4703 +-        *-gould)
 40.4704 ++	*-gould)
 40.4705 + 		os=-sysv
 40.4706 + 		;;
 40.4707 +-        *-highlevel)
 40.4708 ++	*-highlevel)
 40.4709 + 		os=-bsd
 40.4710 + 		;;
 40.4711 + 	*-encore)
 40.4712 + 		os=-bsd
 40.4713 + 		;;
 40.4714 +-        *-sgi)
 40.4715 ++	*-sgi)
 40.4716 + 		os=-irix
 40.4717 + 		;;
 40.4718 +-        *-siemens)
 40.4719 ++	*-siemens)
 40.4720 + 		os=-sysv4
 40.4721 + 		;;
 40.4722 + 	*-masscomp)
 40.4723 +@@ -1403,10 +1526,16 @@
 40.4724 + 			-mvs* | -opened*)
 40.4725 + 				vendor=ibm
 40.4726 + 				;;
 40.4727 ++			-os400*)
 40.4728 ++				vendor=ibm
 40.4729 ++				;;
 40.4730 + 			-ptx*)
 40.4731 + 				vendor=sequent
 40.4732 + 				;;
 40.4733 +-			-vxsim* | -vxworks*)
 40.4734 ++			-tpf*)
 40.4735 ++				vendor=ibm
 40.4736 ++				;;
 40.4737 ++			-vxsim* | -vxworks* | -windiss*)
 40.4738 + 				vendor=wrs
 40.4739 + 				;;
 40.4740 + 			-aux*)
 40.4741 +--- openjade1.3-1.3.2.orig/config/configure.in
 40.4742 ++++ openjade1.3-1.3.2/config/configure.in
 40.4743 +@@ -1,7 +1,7 @@
 40.4744 + dnl
 40.4745 + dnl  configure.in
 40.4746 + dnl
 40.4747 +-AC_REVISION($Id: configure.in,v 1.8.4.2.2.12 2002/12/01 11:53:21 icastle Exp $)
 40.4748 ++AC_REVISION($Id: configure.in,v 1.8.4.2.2.11 2002/11/16 18:27:23 icastle Exp $)
 40.4749 + dnl
 40.4750 + dnl  Process this file with autoconf to produce a configure script.
 40.4751 + dnl
 40.4752 +@@ -51,9 +51,6 @@
 40.4753 +   /usr/local/include/OpenSP) osplibdir=/usr/local/lib ;;
 40.4754 +   *) osplibdir=/usr/lib ;;
 40.4755 + esac
 40.4756 +-# On PPC64 libosp is to be found in /usr/lib64; thus
 40.4757 +-# fall back to this directory
 40.4758 +-test -d ${osplibdir}64 && osplibdir=${osplibdir}64
 40.4759 + AC_MSG_CHECKING(location of OpenSP Library)
 40.4760 + AC_ARG_ENABLE(splibdir,
 40.4761 + [  --enable-splibdir=pathlist
 40.4762 +@@ -98,6 +95,7 @@
 40.4763 + AC_PROG_LN_S
 40.4764 + AC_PROG_CXX
 40.4765 + AC_PATH_PROGS(PERL, perl, perl)
 40.4766 ++AC_PATH_PROGS(SED, sed, sed)
 40.4767 + test "$INSTALL" = "./config/install-sh -c" && INSTALL=`pwd`"/config/install-sh -c"
 40.4768 + 
 40.4769 + dnl
 40.4770 +@@ -174,8 +172,14 @@
 40.4771 + 
 40.4772 + dnl
 40.4773 + dnl Check for thread support.
 40.4774 +-AC_CHECK_LIB(threads,cthread_fork,LIB_THREADS="-lthreads",LIB_THREADS="")
 40.4775 +-AC_SUBST(LIB_THREADS)
 40.4776 ++case "${host}" in
 40.4777 ++  *-*-gnu*)
 40.4778 ++    ;;
 40.4779 ++  *)
 40.4780 ++    AC_CHECK_LIB(threads,cthread_fork,LIB_THREADS="-lthreads",LIB_THREADS="")
 40.4781 ++    AC_SUBST(LIB_THREADS)
 40.4782 ++    ;;
 40.4783 ++esac
 40.4784 + 
 40.4785 + dnl
 40.4786 + dnl Check if type of size_t is unsigned int
 40.4787 +--- openjade1.3-1.3.2.orig/config/libtool
 40.4788 ++++ openjade1.3-1.3.2/config/libtool
 40.4789 +@@ -0,0 +1,5229 @@
 40.4790 ++#! /bin/sh
 40.4791 ++
 40.4792 ++# libtool - Provide generalized library-building support services.
 40.4793 ++# Generated automatically by  (GNU openjade 1.3.2)
 40.4794 ++# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 40.4795 ++#
 40.4796 ++# Copyright (C) 1996-2000 Free Software Foundation, Inc.
 40.4797 ++# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
 40.4798 ++#
 40.4799 ++# This program is free software; you can redistribute it and/or modify
 40.4800 ++# it under the terms of the GNU General Public License as published by
 40.4801 ++# the Free Software Foundation; either version 2 of the License, or
 40.4802 ++# (at your option) any later version.
 40.4803 ++#
 40.4804 ++# This program is distributed in the hope that it will be useful, but
 40.4805 ++# WITHOUT ANY WARRANTY; without even the implied warranty of
 40.4806 ++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 40.4807 ++# General Public License for more details.
 40.4808 ++#
 40.4809 ++# You should have received a copy of the GNU General Public License
 40.4810 ++# along with this program; if not, write to the Free Software
 40.4811 ++# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 40.4812 ++#
 40.4813 ++# As a special exception to the GNU General Public License, if you
 40.4814 ++# distribute this file as part of a program that contains a
 40.4815 ++# configuration script generated by Autoconf, you may include it under
 40.4816 ++# the same distribution terms that you use for the rest of that program.
 40.4817 ++
 40.4818 ++# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 40.4819 ++Xsed="sed -e s/^X//"
 40.4820 ++
 40.4821 ++# The HP-UX ksh and POSIX shell print the target directory to stdout
 40.4822 ++# if CDPATH is set.
 40.4823 ++if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
 40.4824 ++
 40.4825 ++# ### BEGIN LIBTOOL CONFIG
 40.4826 ++
 40.4827 ++# Libtool was configured on host ml330:
 40.4828 ++
 40.4829 ++# Shell to use when invoking shell scripts.
 40.4830 ++SHELL="/bin/sh"
 40.4831 ++
 40.4832 ++# Whether or not to build shared libraries.
 40.4833 ++build_libtool_libs=no
 40.4834 ++
 40.4835 ++# Whether or not to add -lc for building shared libraries.
 40.4836 ++build_libtool_need_lc=yes
 40.4837 ++
 40.4838 ++# Whether or not to build static libraries.
 40.4839 ++build_old_libs=yes
 40.4840 ++
 40.4841 ++# Whether or not to optimize for fast installation.
 40.4842 ++fast_install=needless
 40.4843 ++
 40.4844 ++# The host system.
 40.4845 ++host_alias=
 40.4846 ++host=i686-pc-linux-gnu
 40.4847 ++
 40.4848 ++# An echo program that does not interpret backslashes.
 40.4849 ++echo="echo"
 40.4850 ++
 40.4851 ++# The archiver.
 40.4852 ++AR="ar"
 40.4853 ++AR_FLAGS="cru"
 40.4854 ++
 40.4855 ++# The default C compiler.
 40.4856 ++CC="gcc"
 40.4857 ++
 40.4858 ++# Is the compiler the GNU C compiler?
 40.4859 ++with_gcc=yes
 40.4860 ++
 40.4861 ++# The linker used to build libraries.
 40.4862 ++LD="/usr/bin/ld"
 40.4863 ++
 40.4864 ++# Whether we need hard or soft links.
 40.4865 ++LN_S="ln -s"
 40.4866 ++
 40.4867 ++# A BSD-compatible nm program.
 40.4868 ++NM="/usr/bin/nm -B"
 40.4869 ++
 40.4870 ++# A symbol stripping program
 40.4871 ++STRIP=strip
 40.4872 ++
 40.4873 ++# Used to examine libraries when file_magic_cmd begins "file"
 40.4874 ++MAGIC_CMD=file
 40.4875 ++
 40.4876 ++# Used on cygwin: DLL creation program.
 40.4877 ++DLLTOOL="dlltool"
 40.4878 ++
 40.4879 ++# Used on cygwin: object dumper.
 40.4880 ++OBJDUMP="objdump"
 40.4881 ++
 40.4882 ++# Used on cygwin: assembler.
 40.4883 ++AS="as"
 40.4884 ++
 40.4885 ++# The name of the directory that contains temporary libtool files.
 40.4886 ++objdir=.libs
 40.4887 ++
 40.4888 ++# How to create reloadable object files.
 40.4889 ++reload_flag=" -r"
 40.4890 ++reload_cmds="\$LD\$reload_flag -o \$output\$reload_objs"
 40.4891 ++
 40.4892 ++# How to pass a linker flag through the compiler.
 40.4893 ++wl="-Wl,"
 40.4894 ++
 40.4895 ++# Object file suffix (normally "o").
 40.4896 ++objext="o"
 40.4897 ++
 40.4898 ++# Old archive suffix (normally "a").
 40.4899 ++libext="a"
 40.4900 ++
 40.4901 ++# Executable file suffix (normally "").
 40.4902 ++exeext=""
 40.4903 ++
 40.4904 ++# Additional compiler flags for building library objects.
 40.4905 ++pic_flag=" -fPIC"
 40.4906 ++pic_mode=default
 40.4907 ++
 40.4908 ++# Does compiler simultaneously support -c and -o options?
 40.4909 ++compiler_c_o="no"
 40.4910 ++
 40.4911 ++# Can we write directly to a .lo ?
 40.4912 ++compiler_o_lo="no"
 40.4913 ++
 40.4914 ++# Must we lock files when doing compilation ?
 40.4915 ++need_locks="yes"
 40.4916 ++
 40.4917 ++# Do we need the lib prefix for modules?
 40.4918 ++need_lib_prefix=no
 40.4919 ++
 40.4920 ++# Do we need a version for libraries?
 40.4921 ++need_version=no
 40.4922 ++
 40.4923 ++# Whether dlopen is supported.
 40.4924 ++dlopen_support=unknown
 40.4925 ++
 40.4926 ++# Whether dlopen of programs is supported.
 40.4927 ++dlopen_self=unknown
 40.4928 ++
 40.4929 ++# Whether dlopen of statically linked programs is supported.
 40.4930 ++dlopen_self_static=unknown
 40.4931 ++
 40.4932 ++# Compiler flag to prevent dynamic linking.
 40.4933 ++link_static_flag="-static"
 40.4934 ++
 40.4935 ++# Compiler flag to turn off builtin functions.
 40.4936 ++no_builtin_flag=" -fno-builtin -fno-rtti -fno-exceptions"
 40.4937 ++
 40.4938 ++# Compiler flag to allow reflexive dlopens.
 40.4939 ++export_dynamic_flag_spec="\${wl}--export-dynamic"
 40.4940 ++
 40.4941 ++# Compiler flag to generate shared objects directly from archives.
 40.4942 ++whole_archive_flag_spec="\${wl}--whole-archive\$convenience \${wl}--no-whole-archive"
 40.4943 ++
 40.4944 ++# Compiler flag to generate thread-safe objects.
 40.4945 ++thread_safe_flag_spec=""
 40.4946 ++
 40.4947 ++# Library versioning type.
 40.4948 ++version_type=linux
 40.4949 ++
 40.4950 ++# Format of library name prefix.
 40.4951 ++libname_spec="lib\$name"
 40.4952 ++
 40.4953 ++# List of archive names.  First name is the real one, the rest are links.
 40.4954 ++# The last name is the one that the linker finds with -lNAME.
 40.4955 ++library_names_spec="\${libname}\${release}.so\$versuffix \${libname}\${release}.so\$major \$libname.so"
 40.4956 ++
 40.4957 ++# The coded name of the library, if different from the real name.
 40.4958 ++soname_spec="\${libname}\${release}.so\$major"
 40.4959 ++
 40.4960 ++# Commands used to build and install an old-style archive.
 40.4961 ++RANLIB="ranlib"
 40.4962 ++old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs\$old_deplibs~\$RANLIB \$oldlib"
 40.4963 ++old_postinstall_cmds="\$RANLIB \$oldlib~chmod 644 \$oldlib"
 40.4964 ++old_postuninstall_cmds=""
 40.4965 ++
 40.4966 ++# Create an old-style archive from a shared archive.
 40.4967 ++old_archive_from_new_cmds=""
 40.4968 ++
 40.4969 ++# Create a temporary old-style archive to link instead of a shared archive.
 40.4970 ++old_archive_from_expsyms_cmds=""
 40.4971 ++
 40.4972 ++# Commands used to build and install a shared archive.
 40.4973 ++archive_cmds="\$CC -shared \$libobjs \$deplibs \$compiler_flags \${wl}-soname \$wl\$soname -o \$lib"
 40.4974 ++archive_expsym_cmds="\$CC -shared \$libobjs \$deplibs \$compiler_flags \${wl}-soname \$wl\$soname \${wl}-retain-symbols-file \$wl\$export_symbols -o \$lib"
 40.4975 ++postinstall_cmds=""
 40.4976 ++postuninstall_cmds=""
 40.4977 ++
 40.4978 ++# Commands to strip libraries.
 40.4979 ++old_striplib="strip --strip-debug"
 40.4980 ++striplib="strip --strip-unneeded"
 40.4981 ++
 40.4982 ++# Method to check whether dependent libraries are shared objects.
 40.4983 ++deplibs_check_method="pass_all"
 40.4984 ++
 40.4985 ++# Command to use when deplibs_check_method == file_magic.
 40.4986 ++file_magic_cmd="\$MAGIC_CMD"
 40.4987 ++
 40.4988 ++# Flag that allows shared libraries with undefined symbols to be built.
 40.4989 ++allow_undefined_flag=""
 40.4990 ++
 40.4991 ++# Flag that forces no undefined symbols.
 40.4992 ++no_undefined_flag=""
 40.4993 ++
 40.4994 ++# Commands used to finish a libtool library installation in a directory.
 40.4995 ++finish_cmds="PATH=\\\"\\\$PATH:/sbin\\\" ldconfig -n \$libdir"
 40.4996 ++
 40.4997 ++# Same as above, but a single script fragment to be evaled but not shown.
 40.4998 ++finish_eval=""
 40.4999 ++
 40.5000 ++# Take the output of nm and produce a listing of raw symbols and C names.
 40.5001 ++global_symbol_pipe="sed -n -e 's/^.*[ 	]\\([ABCDGISTW][ABCDGISTW]*\\)[ 	][ 	]*\\(\\)\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2\\3 \\3/p'"
 40.5002 ++
 40.5003 ++# Transform the output of nm in a proper C declaration
 40.5004 ++global_symbol_to_cdecl="sed -n -e 's/^. .* \\(.*\\)\$/extern char \\1;/p'"
 40.5005 ++
 40.5006 ++# This is the shared library runtime path variable.
 40.5007 ++runpath_var=LD_RUN_PATH
 40.5008 ++
 40.5009 ++# This is the shared library path variable.
 40.5010 ++shlibpath_var=LD_LIBRARY_PATH
 40.5011 ++
 40.5012 ++# Is shlibpath searched before the hard-coded library search path?
 40.5013 ++shlibpath_overrides_runpath=no
 40.5014 ++
 40.5015 ++# How to hardcode a shared library path into an executable.
 40.5016 ++hardcode_action=immediate
 40.5017 ++
 40.5018 ++# Whether we should hardcode library paths into libraries.
 40.5019 ++hardcode_into_libs=yes
 40.5020 ++
 40.5021 ++# Flag to hardcode $libdir into a binary during linking.
 40.5022 ++# This must work even if $libdir does not exist.
 40.5023 ++hardcode_libdir_flag_spec="\${wl}--rpath \${wl}\$libdir"
 40.5024 ++
 40.5025 ++# Whether we need a single -rpath flag with a separated argument.
 40.5026 ++hardcode_libdir_separator=""
 40.5027 ++
 40.5028 ++# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
 40.5029 ++# resulting binary.
 40.5030 ++hardcode_direct=no
 40.5031 ++
 40.5032 ++# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
 40.5033 ++# resulting binary.
 40.5034 ++hardcode_minus_L=no
 40.5035 ++
 40.5036 ++# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
 40.5037 ++# the resulting binary.
 40.5038 ++hardcode_shlibpath_var=unsupported
 40.5039 ++
 40.5040 ++# Variables whose values should be saved in libtool wrapper scripts and
 40.5041 ++# restored at relink time.
 40.5042 ++variables_saved_for_relink="PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 40.5043 ++
 40.5044 ++# Whether libtool must link a program against all its dependency libraries.
 40.5045 ++link_all_deplibs=unknown
 40.5046 ++
 40.5047 ++# Compile-time system search path for libraries
 40.5048 ++sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 40.5049 ++
 40.5050 ++# Run-time system search path for libraries
 40.5051 ++sys_lib_dlsearch_path_spec="/lib /usr/lib"
 40.5052 ++
 40.5053 ++# Fix the shell variable $srcfile for the compiler.
 40.5054 ++fix_srcfile_path=""
 40.5055 ++
 40.5056 ++# Set to yes if exported symbols are required.
 40.5057 ++always_export_symbols=no
 40.5058 ++
 40.5059 ++# The commands to list exported symbols.
 40.5060 ++export_symbols_cmds="\$NM \$libobjs \$convenience | \$global_symbol_pipe | sed 's/.* //' | sort | uniq > \$export_symbols"
 40.5061 ++
 40.5062 ++# The commands to extract the exported symbol list from a shared archive.
 40.5063 ++extract_expsyms_cmds=""
 40.5064 ++
 40.5065 ++# Symbols that should not be listed in the preloaded symbols.
 40.5066 ++exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
 40.5067 ++
 40.5068 ++# Symbols that must always be exported.
 40.5069 ++include_expsyms=""
 40.5070 ++
 40.5071 ++# ### END LIBTOOL CONFIG
 40.5072 ++
 40.5073 ++# ltmain.sh - Provide generalized library-building support services.
 40.5074 ++# NOTE: Changing this file will not affect anything until you rerun configure.
 40.5075 ++#
 40.5076 ++# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
 40.5077 ++# Free Software Foundation, Inc.
 40.5078 ++# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
 40.5079 ++#
 40.5080 ++# This program is free software; you can redistribute it and/or modify
 40.5081 ++# it under the terms of the GNU General Public License as published by
 40.5082 ++# the Free Software Foundation; either version 2 of the License, or
 40.5083 ++# (at your option) any later version.
 40.5084 ++#
 40.5085 ++# This program is distributed in the hope that it will be useful, but
 40.5086 ++# WITHOUT ANY WARRANTY; without even the implied warranty of
 40.5087 ++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 40.5088 ++# General Public License for more details.
 40.5089 ++#
 40.5090 ++# You should have received a copy of the GNU General Public License
 40.5091 ++# along with this program; if not, write to the Free Software
 40.5092 ++# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 40.5093 ++#
 40.5094 ++# As a special exception to the GNU General Public License, if you
 40.5095 ++# distribute this file as part of a program that contains a
 40.5096 ++# configuration script generated by Autoconf, you may include it under
 40.5097 ++# the same distribution terms that you use for the rest of that program.
 40.5098 ++
 40.5099 ++# Check that we have a working $echo.
 40.5100 ++if test "X$1" = X--no-reexec; then
 40.5101 ++  # Discard the --no-reexec flag, and continue.
 40.5102 ++  shift
 40.5103 ++elif test "X$1" = X--fallback-echo; then
 40.5104 ++  # Avoid inline document here, it may be left over
 40.5105 ++  :
 40.5106 ++elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
 40.5107 ++  # Yippee, $echo works!
 40.5108 ++  :
 40.5109 ++else
 40.5110 ++  # Restart under the correct shell, and then maybe $echo will work.
 40.5111 ++  exec $SHELL "$0" --no-reexec ${1+"$@"}
 40.5112 ++fi
 40.5113 ++
 40.5114 ++if test "X$1" = X--fallback-echo; then
 40.5115 ++  # used as fallback echo
 40.5116 ++  shift
 40.5117 ++  cat <<EOF
 40.5118 ++$*
 40.5119 ++EOF
 40.5120 ++  exit 0
 40.5121 ++fi
 40.5122 ++
 40.5123 ++# The name of this program.
 40.5124 ++progname=`$echo "$0" | sed 's%^.*/%%'`
 40.5125 ++modename="$progname"
 40.5126 ++
 40.5127 ++# Constants.
 40.5128 ++PROGRAM=ltmain.sh
 40.5129 ++PACKAGE=libtool
 40.5130 ++VERSION=1.4
 40.5131 ++TIMESTAMP=" (1.920 2001/04/24 23:26:18)"
 40.5132 ++
 40.5133 ++default_mode=
 40.5134 ++help="Try \`$progname --help' for more information."
 40.5135 ++magic="%%%MAGIC variable%%%"
 40.5136 ++mkdir="mkdir"
 40.5137 ++mv="mv -f"
 40.5138 ++rm="rm -f"
 40.5139 ++
 40.5140 ++# Sed substitution that helps us do robust quoting.  It backslashifies
 40.5141 ++# metacharacters that are still active within double-quoted strings.
 40.5142 ++Xsed='sed -e 1s/^X//'
 40.5143 ++sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g'
 40.5144 ++SP2NL='tr \040 \012'
 40.5145 ++NL2SP='tr \015\012 \040\040'
 40.5146 ++
 40.5147 ++# NLS nuisances.
 40.5148 ++# Only set LANG and LC_ALL to C if already set.
 40.5149 ++# These must not be set unconditionally because not all systems understand
 40.5150 ++# e.g. LANG=C (notably SCO).
 40.5151 ++# We save the old values to restore during execute mode.
 40.5152 ++if test "${LC_ALL+set}" = set; then
 40.5153 ++  save_LC_ALL="$LC_ALL"; LC_ALL=C; export LC_ALL
 40.5154 ++fi
 40.5155 ++if test "${LANG+set}" = set; then
 40.5156 ++  save_LANG="$LANG"; LANG=C; export LANG
 40.5157 ++fi
 40.5158 ++
 40.5159 ++if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
 40.5160 ++  echo "$modename: not configured to build any kind of library" 1>&2
 40.5161 ++  echo "Fatal configuration error.  See the $PACKAGE docs for more information." 1>&2
 40.5162 ++  exit 1
 40.5163 ++fi
 40.5164 ++
 40.5165 ++# Global variables.
 40.5166 ++mode=$default_mode
 40.5167 ++nonopt=
 40.5168 ++prev=
 40.5169 ++prevopt=
 40.5170 ++run=
 40.5171 ++show="$echo"
 40.5172 ++show_help=
 40.5173 ++execute_dlfiles=
 40.5174 ++lo2o="s/\\.lo\$/.${objext}/"
 40.5175 ++o2lo="s/\\.${objext}\$/.lo/"
 40.5176 ++
 40.5177 ++# Parse our command line options once, thoroughly.
 40.5178 ++while test $# -gt 0
 40.5179 ++do
 40.5180 ++  arg="$1"
 40.5181 ++  shift
 40.5182 ++
 40.5183 ++  case $arg in
 40.5184 ++  -*=*) optarg=`$echo "X$arg" | $Xsed -e 's/[-_a-zA-Z0-9]*=//'` ;;
 40.5185 ++  *) optarg= ;;
 40.5186 ++  esac
 40.5187 ++
 40.5188 ++  # If the previous option needs an argument, assign it.
 40.5189 ++  if test -n "$prev"; then
 40.5190 ++    case $prev in
 40.5191 ++    execute_dlfiles)
 40.5192 ++      execute_dlfiles="$execute_dlfiles $arg"
 40.5193 ++      ;;
 40.5194 ++    *)
 40.5195 ++      eval "$prev=\$arg"
 40.5196 ++      ;;
 40.5197 ++    esac
 40.5198 ++
 40.5199 ++    prev=
 40.5200 ++    prevopt=
 40.5201 ++    continue
 40.5202 ++  fi
 40.5203 ++
 40.5204 ++  # Have we seen a non-optional argument yet?
 40.5205 ++  case $arg in
 40.5206 ++  --help)
 40.5207 ++    show_help=yes
 40.5208 ++    ;;
 40.5209 ++
 40.5210 ++  --version)
 40.5211 ++    echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP"
 40.5212 ++    exit 0
 40.5213 ++    ;;
 40.5214 ++
 40.5215 ++  --config)
 40.5216 ++    sed -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $0
 40.5217 ++    exit 0
 40.5218 ++    ;;
 40.5219 ++
 40.5220 ++  --debug)
 40.5221 ++    echo "$progname: enabling shell trace mode"
 40.5222 ++    set -x
 40.5223 ++    ;;
 40.5224 ++
 40.5225 ++  --dry-run | -n)
 40.5226 ++    run=:
 40.5227 ++    ;;
 40.5228 ++
 40.5229 ++  --features)
 40.5230 ++    echo "host: $host"
 40.5231 ++    if test "$build_libtool_libs" = yes; then
 40.5232 ++      echo "enable shared libraries"
 40.5233 ++    else
 40.5234 ++      echo "disable shared libraries"
 40.5235 ++    fi
 40.5236 ++    if test "$build_old_libs" = yes; then
 40.5237 ++      echo "enable static libraries"
 40.5238 ++    else
 40.5239 ++      echo "disable static libraries"
 40.5240 ++    fi
 40.5241 ++    exit 0
 40.5242 ++    ;;
 40.5243 ++
 40.5244 ++  --finish) mode="finish" ;;
 40.5245 ++
 40.5246 ++  --mode) prevopt="--mode" prev=mode ;;
 40.5247 ++  --mode=*) mode="$optarg" ;;
 40.5248 ++
 40.5249 ++  --quiet | --silent)
 40.5250 ++    show=:
 40.5251 ++    ;;
 40.5252 ++
 40.5253 ++  -dlopen)
 40.5254 ++    prevopt="-dlopen"
 40.5255 ++    prev=execute_dlfiles
 40.5256 ++    ;;
 40.5257 ++
 40.5258 ++  -*)
 40.5259 ++    $echo "$modename: unrecognized option \`$arg'" 1>&2
 40.5260 ++    $echo "$help" 1>&2
 40.5261 ++    exit 1
 40.5262 ++    ;;
 40.5263 ++
 40.5264 ++  *)
 40.5265 ++    nonopt="$arg"
 40.5266 ++    break
 40.5267 ++    ;;
 40.5268 ++  esac
 40.5269 ++done
 40.5270 ++
 40.5271 ++if test -n "$prevopt"; then
 40.5272 ++  $echo "$modename: option \`$prevopt' requires an argument" 1>&2
 40.5273 ++  $echo "$help" 1>&2
 40.5274 ++  exit 1
 40.5275 ++fi
 40.5276 ++
 40.5277 ++if test -z "$show_help"; then
 40.5278 ++
 40.5279 ++  # Infer the operation mode.
 40.5280 ++  if test -z "$mode"; then
 40.5281 ++    case $nonopt in
 40.5282 ++    *cc | *++ | gcc* | *-gcc*)
 40.5283 ++      mode=link
 40.5284 ++      for arg
 40.5285 ++      do
 40.5286 ++	case $arg in
 40.5287 ++	-c)
 40.5288 ++	   mode=compile
 40.5289 ++	   break
 40.5290 ++	   ;;
 40.5291 ++	esac
 40.5292 ++      done
 40.5293 ++      ;;
 40.5294 ++    *db | *dbx | *strace | *truss)
 40.5295 ++      mode=execute
 40.5296 ++      ;;
 40.5297 ++    *install*|cp|mv)
 40.5298 ++      mode=install
 40.5299 ++      ;;
 40.5300 ++    *rm)
 40.5301 ++      mode=uninstall
 40.5302 ++      ;;
 40.5303 ++    *)
 40.5304 ++      # If we have no mode, but dlfiles were specified, then do execute mode.
 40.5305 ++      test -n "$execute_dlfiles" && mode=execute
 40.5306 ++
 40.5307 ++      # Just use the default operation mode.
 40.5308 ++      if test -z "$mode"; then
 40.5309 ++	if test -n "$nonopt"; then
 40.5310 ++	  $echo "$modename: warning: cannot infer operation mode from \`$nonopt'" 1>&2
 40.5311 ++	else
 40.5312 ++	  $echo "$modename: warning: cannot infer operation mode without MODE-ARGS" 1>&2
 40.5313 ++	fi
 40.5314 ++      fi
 40.5315 ++      ;;
 40.5316 ++    esac
 40.5317 ++  fi
 40.5318 ++
 40.5319 ++  # Only execute mode is allowed to have -dlopen flags.
 40.5320 ++  if test -n "$execute_dlfiles" && test "$mode" != execute; then
 40.5321 ++    $echo "$modename: unrecognized option \`-dlopen'" 1>&2
 40.5322 ++    $echo "$help" 1>&2
 40.5323 ++    exit 1
 40.5324 ++  fi
 40.5325 ++
 40.5326 ++  # Change the help message to a mode-specific one.
 40.5327 ++  generic_help="$help"
 40.5328 ++  help="Try \`$modename --help --mode=$mode' for more information."
 40.5329 ++
 40.5330 ++  # These modes are in order of execution frequency so that they run quickly.
 40.5331 ++  case $mode in
 40.5332 ++  # libtool compile mode
 40.5333 ++  compile)
 40.5334 ++    modename="$modename: compile"
 40.5335 ++    # Get the compilation command and the source file.
 40.5336 ++    base_compile=
 40.5337 ++    prev=
 40.5338 ++    lastarg=
 40.5339 ++    srcfile="$nonopt"
 40.5340 ++    suppress_output=
 40.5341 ++
 40.5342 ++    user_target=no
 40.5343 ++    for arg
 40.5344 ++    do
 40.5345 ++      case $prev in
 40.5346 ++      "") ;;
 40.5347 ++      xcompiler)
 40.5348 ++	# Aesthetically quote the previous argument.
 40.5349 ++	prev=
 40.5350 ++	lastarg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
 40.5351 ++
 40.5352 ++	case $arg in
 40.5353 ++	# Double-quote args containing other shell metacharacters.
 40.5354 ++	# Many Bourne shells cannot handle close brackets correctly
 40.5355 ++	# in scan sets, so we specify it separately.
 40.5356 ++	*[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*|"")
 40.5357 ++	  arg="\"$arg\""
 40.5358 ++	  ;;
 40.5359 ++	esac
 40.5360 ++
 40.5361 ++	# Add the previous argument to base_compile.
 40.5362 ++	if test -z "$base_compile"; then
 40.5363 ++	  base_compile="$lastarg"
 40.5364 ++	else
 40.5365 ++	  base_compile="$base_compile $lastarg"
 40.5366 ++	fi
 40.5367 ++	continue
 40.5368 ++	;;
 40.5369 ++      esac
 40.5370 ++
 40.5371 ++      # Accept any command-line options.
 40.5372 ++      case $arg in
 40.5373 ++      -o)
 40.5374 ++	if test "$user_target" != "no"; then
 40.5375 ++	  $echo "$modename: you cannot specify \`-o' more than once" 1>&2
 40.5376 ++	  exit 1
 40.5377 ++	fi
 40.5378 ++	user_target=next
 40.5379 ++	;;
 40.5380 ++
 40.5381 ++      -static)
 40.5382 ++	build_old_libs=yes
 40.5383 ++	continue
 40.5384 ++	;;
 40.5385 ++
 40.5386 ++      -prefer-pic)
 40.5387 ++	pic_mode=yes
 40.5388 ++	continue
 40.5389 ++	;;
 40.5390 ++
 40.5391 ++      -prefer-non-pic)
 40.5392 ++	pic_mode=no
 40.5393 ++	continue
 40.5394 ++	;;
 40.5395 ++
 40.5396 ++      -Xcompiler)
 40.5397 ++	prev=xcompiler
 40.5398 ++	continue
 40.5399 ++	;;
 40.5400 ++
 40.5401 ++      -Wc,*)
 40.5402 ++	args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"`
 40.5403 ++	lastarg=
 40.5404 ++	IFS="${IFS= 	}"; save_ifs="$IFS"; IFS=','
 40.5405 ++	for arg in $args; do
 40.5406 ++	  IFS="$save_ifs"
 40.5407 ++
 40.5408 ++	  # Double-quote args containing other shell metacharacters.
 40.5409 ++	  # Many Bourne shells cannot handle close brackets correctly
 40.5410 ++	  # in scan sets, so we specify it separately.
 40.5411 ++	  case $arg in
 40.5412 ++	    *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*|"")
 40.5413 ++	    arg="\"$arg\""
 40.5414 ++	    ;;
 40.5415 ++	  esac
 40.5416 ++	  lastarg="$lastarg $arg"
 40.5417 ++	done
 40.5418 ++	IFS="$save_ifs"
 40.5419 ++	lastarg=`$echo "X$lastarg" | $Xsed -e "s/^ //"`
 40.5420 ++
 40.5421 ++	# Add the arguments to base_compile.
 40.5422 ++	if test -z "$base_compile"; then
 40.5423 ++	  base_compile="$lastarg"
 40.5424 ++	else
 40.5425 ++	  base_compile="$base_compile $lastarg"
 40.5426 ++	fi
 40.5427 ++	continue
 40.5428 ++	;;
 40.5429 ++      esac
 40.5430 ++
 40.5431 ++      case $user_target in
 40.5432 ++      next)
 40.5433 ++	# The next one is the -o target name
 40.5434 ++	user_target=yes
 40.5435 ++	continue
 40.5436 ++	;;
 40.5437 ++      yes)
 40.5438 ++	# We got the output file
 40.5439 ++	user_target=set
 40.5440 ++	libobj="$arg"
 40.5441 ++	continue
 40.5442 ++	;;
 40.5443 ++      esac
 40.5444 ++
 40.5445 ++      # Accept the current argument as the source file.
 40.5446 ++      lastarg="$srcfile"
 40.5447 ++      srcfile="$arg"
 40.5448 ++
 40.5449 ++      # Aesthetically quote the previous argument.
 40.5450 ++
 40.5451 ++      # Backslashify any backslashes, double quotes, and dollar signs.
 40.5452 ++      # These are the only characters that are still specially
 40.5453 ++      # interpreted inside of double-quoted scrings.
 40.5454 ++      lastarg=`$echo "X$lastarg" | $Xsed -e "$sed_quote_subst"`
 40.5455 ++
 40.5456 ++      # Double-quote args containing other shell metacharacters.
 40.5457 ++      # Many Bourne shells cannot handle close brackets correctly
 40.5458 ++      # in scan sets, so we specify it separately.
 40.5459 ++      case $lastarg in
 40.5460 ++      *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*|"")
 40.5461 ++	lastarg="\"$lastarg\""
 40.5462 ++	;;
 40.5463 ++      esac
 40.5464 ++
 40.5465 ++      # Add the previous argument to base_compile.
 40.5466 ++      if test -z "$base_compile"; then
 40.5467 ++	base_compile="$lastarg"
 40.5468 ++      else
 40.5469 ++	base_compile="$base_compile $lastarg"
 40.5470 ++      fi
 40.5471 ++    done
 40.5472 ++
 40.5473 ++    case $user_target in
 40.5474 ++    set)
 40.5475 ++      ;;
 40.5476 ++    no)
 40.5477 ++      # Get the name of the library object.
 40.5478 ++      libobj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%'`
 40.5479 ++      ;;
 40.5480 ++    *)
 40.5481 ++      $echo "$modename: you must specify a target with \`-o'" 1>&2
 40.5482 ++      exit 1
 40.5483 ++      ;;
 40.5484 ++    esac
 40.5485 ++
 40.5486 ++    # Recognize several different file suffixes.
 40.5487 ++    # If the user specifies -o file.o, it is replaced with file.lo
 40.5488 ++    xform='[cCFSfmso]'
 40.5489 ++    case $libobj in
 40.5490 ++    *.ada) xform=ada ;;
 40.5491 ++    *.adb) xform=adb ;;
 40.5492 ++    *.ads) xform=ads ;;
 40.5493 ++    *.asm) xform=asm ;;
 40.5494 ++    *.c++) xform=c++ ;;
 40.5495 ++    *.cc) xform=cc ;;
 40.5496 ++    *.cpp) xform=cpp ;;
 40.5497 ++    *.cxx) xform=cxx ;;
 40.5498 ++    *.f90) xform=f90 ;;
 40.5499 ++    *.for) xform=for ;;
 40.5500 ++    esac
 40.5501 ++
 40.5502 ++    libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"`
 40.5503 ++
 40.5504 ++    case $libobj in
 40.5505 ++    *.lo) obj=`$echo "X$libobj" | $Xsed -e "$lo2o"` ;;
 40.5506 ++    *)
 40.5507 ++      $echo "$modename: cannot determine name of library object from \`$libobj'" 1>&2
 40.5508 ++      exit 1
 40.5509 ++      ;;
 40.5510 ++    esac
 40.5511 ++
 40.5512 ++    if test -z "$base_compile"; then
 40.5513 ++      $echo "$modename: you must specify a compilation command" 1>&2
 40.5514 ++      $echo "$help" 1>&2
 40.5515 ++      exit 1
 40.5516 ++    fi
 40.5517 ++
 40.5518 ++    # Delete any leftover library objects.
 40.5519 ++    if test "$build_old_libs" = yes; then
 40.5520 ++      removelist="$obj $libobj"
 40.5521 ++    else
 40.5522 ++      removelist="$libobj"
 40.5523 ++    fi
 40.5524 ++
 40.5525 ++    $run $rm $removelist
 40.5526 ++    trap "$run $rm $removelist; exit 1" 1 2 15
 40.5527 ++
 40.5528 ++    # On Cygwin there's no "real" PIC flag so we must build both object types
 40.5529 ++    case $host_os in
 40.5530 ++    cygwin* | mingw* | pw32* | os2*)
 40.5531 ++      pic_mode=default
 40.5532 ++      ;;
 40.5533 ++    esac
 40.5534 ++    if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then
 40.5535 ++      # non-PIC code in shared libraries is not supported
 40.5536 ++      pic_mode=default
 40.5537 ++    fi
 40.5538 ++
 40.5539 ++    # Calculate the filename of the output object if compiler does
 40.5540 ++    # not support -o with -c
 40.5541 ++    if test "$compiler_c_o" = no; then
 40.5542 ++      output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
 40.5543 ++      lockfile="$output_obj.lock"
 40.5544 ++      removelist="$removelist $output_obj $lockfile"
 40.5545 ++      trap "$run $rm $removelist; exit 1" 1 2 15
 40.5546 ++    else
 40.5547 ++      need_locks=no
 40.5548 ++      lockfile=
 40.5549 ++    fi
 40.5550 ++
 40.5551 ++    # Lock this critical section if it is needed
 40.5552 ++    # We use this script file to make the link, it avoids creating a new file
 40.5553 ++    if test "$need_locks" = yes; then
 40.5554 ++      until $run ln "$0" "$lockfile" 2>/dev/null; do
 40.5555 ++	$show "Waiting for $lockfile to be removed"
 40.5556 ++	sleep 2
 40.5557 ++      done
 40.5558 ++    elif test "$need_locks" = warn; then
 40.5559 ++      if test -f "$lockfile"; then
 40.5560 ++	echo "\
 40.5561 ++*** ERROR, $lockfile exists and contains:
 40.5562 ++`cat $lockfile 2>/dev/null`
 40.5563 ++
 40.5564 ++This indicates that another process is trying to use the same
 40.5565 ++temporary object file, and libtool could not work around it because
 40.5566 ++your compiler does not support \`-c' and \`-o' together.  If you
 40.5567 ++repeat this compilation, it may succeed, by chance, but you had better
 40.5568 ++avoid parallel builds (make -j) in this platform, or get a better
 40.5569 ++compiler."
 40.5570 ++
 40.5571 ++	$run $rm $removelist
 40.5572 ++	exit 1
 40.5573 ++      fi
 40.5574 ++      echo $srcfile > "$lockfile"
 40.5575 ++    fi
 40.5576 ++
 40.5577 ++    if test -n "$fix_srcfile_path"; then
 40.5578 ++      eval srcfile=\"$fix_srcfile_path\"
 40.5579 ++    fi
 40.5580 ++
 40.5581 ++    # Only build a PIC object if we are building libtool libraries.
 40.5582 ++    if test "$build_libtool_libs" = yes; then
 40.5583 ++      # Without this assignment, base_compile gets emptied.
 40.5584 ++      fbsd_hideous_sh_bug=$base_compile
 40.5585 ++
 40.5586 ++      if test "$pic_mode" != no; then
 40.5587 ++	# All platforms use -DPIC, to notify preprocessed assembler code.
 40.5588 ++	command="$base_compile $srcfile $pic_flag -DPIC"
 40.5589 ++      else
 40.5590 ++	# Don't build PIC code
 40.5591 ++	command="$base_compile $srcfile"
 40.5592 ++      fi
 40.5593 ++      if test "$build_old_libs" = yes; then
 40.5594 ++	lo_libobj="$libobj"
 40.5595 ++	dir=`$echo "X$libobj" | $Xsed -e 's%/[^/]*$%%'`
 40.5596 ++	if test "X$dir" = "X$libobj"; then
 40.5597 ++	  dir="$objdir"
 40.5598 ++	else
 40.5599 ++	  dir="$dir/$objdir"
 40.5600 ++	fi
 40.5601 ++	libobj="$dir/"`$echo "X$libobj" | $Xsed -e 's%^.*/%%'`
 40.5602 ++
 40.5603 ++	if test -d "$dir"; then
 40.5604 ++	  $show "$rm $libobj"
 40.5605 ++	  $run $rm $libobj
 40.5606 ++	else
 40.5607 ++	  $show "$mkdir $dir"
 40.5608 ++	  $run $mkdir $dir
 40.5609 ++	  status=$?
 40.5610 ++	  if test $status -ne 0 && test ! -d $dir; then
 40.5611 ++	    exit $status
 40.5612 ++	  fi
 40.5613 ++	fi
 40.5614 ++      fi
 40.5615 ++      if test "$compiler_o_lo" = yes; then
 40.5616 ++	output_obj="$libobj"
 40.5617 ++	command="$command -o $output_obj"
 40.5618 ++      elif test "$compiler_c_o" = yes; then
 40.5619 ++	output_obj="$obj"
 40.5620 ++	command="$command -o $output_obj"
 40.5621 ++      fi
 40.5622 ++
 40.5623 ++      $run $rm "$output_obj"
 40.5624 ++      $show "$command"
 40.5625 ++      if $run eval "$command"; then :
 40.5626 ++      else
 40.5627 ++	test -n "$output_obj" && $run $rm $removelist
 40.5628 ++	exit 1
 40.5629 ++      fi
 40.5630 ++
 40.5631 ++      if test "$need_locks" = warn &&
 40.5632 ++	 test x"`cat $lockfile 2>/dev/null`" != x"$srcfile"; then
 40.5633 ++	echo "\
 40.5634 ++*** ERROR, $lockfile contains:
 40.5635 ++`cat $lockfile 2>/dev/null`
 40.5636 ++
 40.5637 ++but it should contain:
 40.5638 ++$srcfile
 40.5639 ++
 40.5640 ++This indicates that another process is trying to use the same
 40.5641 ++temporary object file, and libtool could not work around it because
 40.5642 ++your compiler does not support \`-c' and \`-o' together.  If you
 40.5643 ++repeat this compilation, it may succeed, by chance, but you had better
 40.5644 ++avoid parallel builds (make -j) in this platform, or get a better
 40.5645 ++compiler."
 40.5646 ++
 40.5647 ++	$run $rm $removelist
 40.5648 ++	exit 1
 40.5649 ++      fi
 40.5650 ++
 40.5651 ++      # Just move the object if needed, then go on to compile the next one
 40.5652 ++      if test x"$output_obj" != x"$libobj"; then
 40.5653 ++	$show "$mv $output_obj $libobj"
 40.5654 ++	if $run $mv $output_obj $libobj; then :
 40.5655 ++	else
 40.5656 ++	  error=$?
 40.5657 ++	  $run $rm $removelist
 40.5658 ++	  exit $error
 40.5659 ++	fi
 40.5660 ++      fi
 40.5661 ++
 40.5662 ++      # If we have no pic_flag, then copy the object into place and finish.
 40.5663 ++      if (test -z "$pic_flag" || test "$pic_mode" != default) &&
 40.5664 ++	 test "$build_old_libs" = yes; then
 40.5665 ++	# Rename the .lo from within objdir to obj
 40.5666 ++	if test -f $obj; then
 40.5667 ++	  $show $rm $obj
 40.5668 ++	  $run $rm $obj
 40.5669 ++	fi
 40.5670 ++
 40.5671 ++	$show "$mv $libobj $obj"
 40.5672 ++	if $run $mv $libobj $obj; then :
 40.5673 ++	else
 40.5674 ++	  error=$?
 40.5675 ++	  $run $rm $removelist
 40.5676 ++	  exit $error
 40.5677 ++	fi
 40.5678 ++
 40.5679 ++	xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'`
 40.5680 ++	if test "X$xdir" = "X$obj"; then
 40.5681 ++	  xdir="."
 40.5682 ++	else
 40.5683 ++	  xdir="$xdir"
 40.5684 ++	fi
 40.5685 ++	baseobj=`$echo "X$obj" | $Xsed -e "s%.*/%%"`
 40.5686 ++	libobj=`$echo "X$baseobj" | $Xsed -e "$o2lo"`
 40.5687 ++	# Now arrange that obj and lo_libobj become the same file
 40.5688 ++	$show "(cd $xdir && $LN_S $baseobj $libobj)"
 40.5689 ++	if $run eval '(cd $xdir && $LN_S $baseobj $libobj)'; then
 40.5690 ++	  exit 0
 40.5691 ++	else
 40.5692 ++	  error=$?
 40.5693 ++	  $run $rm $removelist
 40.5694 ++	  exit $error
 40.5695 ++	fi
 40.5696 ++      fi
 40.5697 ++
 40.5698 ++      # Allow error messages only from the first compilation.
 40.5699 ++      suppress_output=' >/dev/null 2>&1'
 40.5700 ++    fi
 40.5701 ++
 40.5702 ++    # Only build a position-dependent object if we build old libraries.
 40.5703 ++    if test "$build_old_libs" = yes; then
 40.5704 ++      if test "$pic_mode" != yes; then
 40.5705 ++	# Don't build PIC code
 40.5706 ++	command="$base_compile $srcfile"
 40.5707 ++      else
 40.5708 ++	# All platforms use -DPIC, to notify preprocessed assembler code.
 40.5709 ++	command="$base_compile $srcfile $pic_flag -DPIC"
 40.5710 ++      fi
 40.5711 ++      if test "$compiler_c_o" = yes; then
 40.5712 ++	command="$command -o $obj"
 40.5713 ++	output_obj="$obj"
 40.5714 ++      fi
 40.5715 ++
 40.5716 ++      # Suppress compiler output if we already did a PIC compilation.
 40.5717 ++      command="$command$suppress_output"
 40.5718 ++      $run $rm "$output_obj"
 40.5719 ++      $show "$command"
 40.5720 ++      if $run eval "$command"; then :
 40.5721 ++      else
 40.5722 ++	$run $rm $removelist
 40.5723 ++	exit 1
 40.5724 ++      fi
 40.5725 ++
 40.5726 ++      if test "$need_locks" = warn &&
 40.5727 ++	 test x"`cat $lockfile 2>/dev/null`" != x"$srcfile"; then
 40.5728 ++	echo "\
 40.5729 ++*** ERROR, $lockfile contains:
 40.5730 ++`cat $lockfile 2>/dev/null`
 40.5731 ++
 40.5732 ++but it should contain:
 40.5733 ++$srcfile
 40.5734 ++
 40.5735 ++This indicates that another process is trying to use the same
 40.5736 ++temporary object file, and libtool could not work around it because
 40.5737 ++your compiler does not support \`-c' and \`-o' together.  If you
 40.5738 ++repeat this compilation, it may succeed, by chance, but you had better
 40.5739 ++avoid parallel builds (make -j) in this platform, or get a better
 40.5740 ++compiler."
 40.5741 ++
 40.5742 ++	$run $rm $removelist
 40.5743 ++	exit 1
 40.5744 ++      fi
 40.5745 ++
 40.5746 ++      # Just move the object if needed
 40.5747 ++      if test x"$output_obj" != x"$obj"; then
 40.5748 ++	$show "$mv $output_obj $obj"
 40.5749 ++	if $run $mv $output_obj $obj; then :
 40.5750 ++	else
 40.5751 ++	  error=$?
 40.5752 ++	  $run $rm $removelist
 40.5753 ++	  exit $error
 40.5754 ++	fi
 40.5755 ++      fi
 40.5756 ++
 40.5757 ++      # Create an invalid libtool object if no PIC, so that we do not
 40.5758 ++      # accidentally link it into a program.
 40.5759 ++      if test "$build_libtool_libs" != yes; then
 40.5760 ++	$show "echo timestamp > $libobj"
 40.5761 ++	$run eval "echo timestamp > \$libobj" || exit $?
 40.5762 ++      else
 40.5763 ++	# Move the .lo from within objdir
 40.5764 ++	$show "$mv $libobj $lo_libobj"
 40.5765 ++	if $run $mv $libobj $lo_libobj; then :
 40.5766 ++	else
 40.5767 ++	  error=$?
 40.5768 ++	  $run $rm $removelist
 40.5769 ++	  exit $error
 40.5770 ++	fi
 40.5771 ++      fi
 40.5772 ++    fi
 40.5773 ++
 40.5774 ++    # Unlock the critical section if it was locked
 40.5775 ++    if test "$need_locks" != no; then
 40.5776 ++      $run $rm "$lockfile"
 40.5777 ++    fi
 40.5778 ++
 40.5779 ++    exit 0
 40.5780 ++    ;;
 40.5781 ++
 40.5782 ++  # libtool link mode
 40.5783 ++  link | relink)
 40.5784 ++    modename="$modename: link"
 40.5785 ++    case $host in
 40.5786 ++    *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
 40.5787 ++      # It is impossible to link a dll without this setting, and
 40.5788 ++      # we shouldn't force the makefile maintainer to figure out
 40.5789 ++      # which system we are compiling for in order to pass an extra
 40.5790 ++      # flag for every libtool invokation.
 40.5791 ++      # allow_undefined=no
 40.5792 ++
 40.5793 ++      # FIXME: Unfortunately, there are problems with the above when trying
 40.5794 ++      # to make a dll which has undefined symbols, in which case not
 40.5795 ++      # even a static library is built.  For now, we need to specify
 40.5796 ++      # -no-undefined on the libtool link line when we can be certain
 40.5797 ++      # that all symbols are satisfied, otherwise we get a static library.
 40.5798 ++      allow_undefined=yes
 40.5799 ++      ;;
 40.5800 ++    *)
 40.5801 ++      allow_undefined=yes
 40.5802 ++      ;;
 40.5803 ++    esac
 40.5804 ++    libtool_args="$nonopt"
 40.5805 ++    compile_command="$nonopt"
 40.5806 ++    finalize_command="$nonopt"
 40.5807 ++
 40.5808 ++    compile_rpath=
 40.5809 ++    finalize_rpath=
 40.5810 ++    compile_shlibpath=
 40.5811 ++    finalize_shlibpath=
 40.5812 ++    convenience=
 40.5813 ++    old_convenience=
 40.5814 ++    deplibs=
 40.5815 ++    old_deplibs=
 40.5816 ++    compiler_flags=
 40.5817 ++    linker_flags=
 40.5818 ++    dllsearchpath=
 40.5819 ++    lib_search_path=`pwd`
 40.5820 ++
 40.5821 ++    avoid_version=no
 40.5822 ++    dlfiles=
 40.5823 ++    dlprefiles=
 40.5824 ++    dlself=no
 40.5825 ++    export_dynamic=no
 40.5826 ++    export_symbols=
 40.5827 ++    export_symbols_regex=
 40.5828 ++    generated=
 40.5829 ++    libobjs=
 40.5830 ++    ltlibs=
 40.5831 ++    module=no
 40.5832 ++    no_install=no
 40.5833 ++    objs=
 40.5834 ++    prefer_static_libs=no
 40.5835 ++    preload=no
 40.5836 ++    prev=
 40.5837 ++    prevarg=
 40.5838 ++    release=
 40.5839 ++    rpath=
 40.5840 ++    xrpath=
 40.5841 ++    perm_rpath=
 40.5842 ++    temp_rpath=
 40.5843 ++    thread_safe=no
 40.5844 ++    vinfo=
 40.5845 ++
 40.5846 ++    # We need to know -static, to get the right output filenames.
 40.5847 ++    for arg
 40.5848 ++    do
 40.5849 ++      case $arg in
 40.5850 ++      -all-static | -static)
 40.5851 ++	if test "X$arg" = "X-all-static"; then
 40.5852 ++	  if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then
 40.5853 ++	    $echo "$modename: warning: complete static linking is impossible in this configuration" 1>&2
 40.5854 ++	  fi
 40.5855 ++	  if test -n "$link_static_flag"; then
 40.5856 ++	    dlopen_self=$dlopen_self_static
 40.5857 ++	  fi
 40.5858 ++	else
 40.5859 ++	  if test -z "$pic_flag" && test -n "$link_static_flag"; then
 40.5860 ++	    dlopen_self=$dlopen_self_static
 40.5861 ++	  fi
 40.5862 ++	fi
 40.5863 ++	build_libtool_libs=no
 40.5864 ++	build_old_libs=yes
 40.5865 ++	prefer_static_libs=yes
 40.5866 ++	break
 40.5867 ++	;;
 40.5868 ++      esac
 40.5869 ++    done
 40.5870 ++
 40.5871 ++    # See if our shared archives depend on static archives.
 40.5872 ++    test -n "$old_archive_from_new_cmds" && build_old_libs=yes
 40.5873 ++
 40.5874 ++    # Go through the arguments, transforming them on the way.
 40.5875 ++    while test $# -gt 0; do
 40.5876 ++      arg="$1"
 40.5877 ++      shift
 40.5878 ++      case $arg in
 40.5879 ++      *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*|"")
 40.5880 ++	qarg=\"`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`\" ### testsuite: skip nested quoting test
 40.5881 ++	;;
 40.5882 ++      *) qarg=$arg ;;
 40.5883 ++      esac
 40.5884 ++      libtool_args="$libtool_args $qarg"
 40.5885 ++
 40.5886 ++      # If the previous option needs an argument, assign it.
 40.5887 ++      if test -n "$prev"; then
 40.5888 ++	case $prev in
 40.5889 ++	output)
 40.5890 ++	  compile_command="$compile_command @OUTPUT@"
 40.5891 ++	  finalize_command="$finalize_command @OUTPUT@"
 40.5892 ++	  ;;
 40.5893 ++	esac
 40.5894 ++
 40.5895 ++	case $prev in
 40.5896 ++	dlfiles|dlprefiles)
 40.5897 ++	  if test "$preload" = no; then
 40.5898 ++	    # Add the symbol object into the linking commands.
 40.5899 ++	    compile_command="$compile_command @SYMFILE@"
 40.5900 ++	    finalize_command="$finalize_command @SYMFILE@"
 40.5901 ++	    preload=yes
 40.5902 ++	  fi
 40.5903 ++	  case $arg in
 40.5904 ++	  *.la | *.lo) ;;  # We handle these cases below.
 40.5905 ++	  force)
 40.5906 ++	    if test "$dlself" = no; then
 40.5907 ++	      dlself=needless
 40.5908 ++	      export_dynamic=yes
 40.5909 ++	    fi
 40.5910 ++	    prev=
 40.5911 ++	    continue
 40.5912 ++	    ;;
 40.5913 ++	  self)
 40.5914 ++	    if test "$prev" = dlprefiles; then
 40.5915 ++	      dlself=yes
 40.5916 ++	    elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then
 40.5917 ++	      dlself=yes
 40.5918 ++	    else
 40.5919 ++	      dlself=needless
 40.5920 ++	      export_dynamic=yes
 40.5921 ++	    fi
 40.5922 ++	    prev=
 40.5923 ++	    continue
 40.5924 ++	    ;;
 40.5925 ++	  *)
 40.5926 ++	    if test "$prev" = dlfiles; then
 40.5927 ++	      dlfiles="$dlfiles $arg"
 40.5928 ++	    else
 40.5929 ++	      dlprefiles="$dlprefiles $arg"
 40.5930 ++	    fi
 40.5931 ++	    prev=
 40.5932 ++	    continue
 40.5933 ++	    ;;
 40.5934 ++	  esac
 40.5935 ++	  ;;
 40.5936 ++	expsyms)
 40.5937 ++	  export_symbols="$arg"
 40.5938 ++	  if test ! -f "$arg"; then
 40.5939 ++	    $echo "$modename: symbol file \`$arg' does not exist"
 40.5940 ++	    exit 1
 40.5941 ++	  fi
 40.5942 ++	  prev=
 40.5943 ++	  continue
 40.5944 ++	  ;;
 40.5945 ++	expsyms_regex)
 40.5946 ++	  export_symbols_regex="$arg"
 40.5947 ++	  prev=
 40.5948 ++	  continue
 40.5949 ++	  ;;
 40.5950 ++	release)
 40.5951 ++	  release="-$arg"
 40.5952 ++	  prev=
 40.5953 ++	  continue
 40.5954 ++	  ;;
 40.5955 ++	rpath | xrpath)
 40.5956 ++	  # We need an absolute path.
 40.5957 ++	  case $arg in
 40.5958 ++	  [\\/]* | [A-Za-z]:[\\/]*) ;;
 40.5959 ++	  *)
 40.5960 ++	    $echo "$modename: only absolute run-paths are allowed" 1>&2
 40.5961 ++	    exit 1
 40.5962 ++	    ;;
 40.5963 ++	  esac
 40.5964 ++	  if test "$prev" = rpath; then
 40.5965 ++	    case "$rpath " in
 40.5966 ++	    *" $arg "*) ;;
 40.5967 ++	    *) rpath="$rpath $arg" ;;
 40.5968 ++	    esac
 40.5969 ++	  else
 40.5970 ++	    case "$xrpath " in
 40.5971 ++	    *" $arg "*) ;;
 40.5972 ++	    *) xrpath="$xrpath $arg" ;;
 40.5973 ++	    esac
 40.5974 ++	  fi
 40.5975 ++	  prev=
 40.5976 ++	  continue
 40.5977 ++	  ;;
 40.5978 ++	xcompiler)
 40.5979 ++	  compiler_flags="$compiler_flags $qarg"
 40.5980 ++	  prev=
 40.5981 ++	  compile_command="$compile_command $qarg"
 40.5982 ++	  finalize_command="$finalize_command $qarg"
 40.5983 ++	  continue
 40.5984 ++	  ;;
 40.5985 ++	xlinker)
 40.5986 ++	  linker_flags="$linker_flags $qarg"
 40.5987 ++	  compiler_flags="$compiler_flags $wl$qarg"
 40.5988 ++	  prev=
 40.5989 ++	  compile_command="$compile_command $wl$qarg"
 40.5990 ++	  finalize_command="$finalize_command $wl$qarg"
 40.5991 ++	  continue
 40.5992 ++	  ;;
 40.5993 ++	*)
 40.5994 ++	  eval "$prev=\"\$arg\""
 40.5995 ++	  prev=
 40.5996 ++	  continue
 40.5997 ++	  ;;
 40.5998 ++	esac
 40.5999 ++      fi # test -n $prev
 40.6000 ++
 40.6001 ++      prevarg="$arg"
 40.6002 ++
 40.6003 ++      case $arg in
 40.6004 ++      -all-static)
 40.6005 ++	if test -n "$link_static_flag"; then
 40.6006 ++	  compile_command="$compile_command $link_static_flag"
 40.6007 ++	  finalize_command="$finalize_command $link_static_flag"
 40.6008 ++	fi
 40.6009 ++	continue
 40.6010 ++	;;
 40.6011 ++
 40.6012 ++      -allow-undefined)
 40.6013 ++	# FIXME: remove this flag sometime in the future.
 40.6014 ++	$echo "$modename: \`-allow-undefined' is deprecated because it is the default" 1>&2
 40.6015 ++	continue
 40.6016 ++	;;
 40.6017 ++
 40.6018 ++      -avoid-version)
 40.6019 ++	avoid_version=yes
 40.6020 ++	continue
 40.6021 ++	;;
 40.6022 ++
 40.6023 ++      -dlopen)
 40.6024 ++	prev=dlfiles
 40.6025 ++	continue
 40.6026 ++	;;
 40.6027 ++
 40.6028 ++      -dlpreopen)
 40.6029 ++	prev=dlprefiles
 40.6030 ++	continue
 40.6031 ++	;;
 40.6032 ++
 40.6033 ++      -export-dynamic)
 40.6034 ++	export_dynamic=yes
 40.6035 ++	continue
 40.6036 ++	;;
 40.6037 ++
 40.6038 ++      -export-symbols | -export-symbols-regex)
 40.6039 ++	if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
 40.6040 ++	  $echo "$modename: more than one -exported-symbols argument is not allowed"
 40.6041 ++	  exit 1
 40.6042 ++	fi
 40.6043 ++	if test "X$arg" = "X-export-symbols"; then
 40.6044 ++	  prev=expsyms
 40.6045 ++	else
 40.6046 ++	  prev=expsyms_regex
 40.6047 ++	fi
 40.6048 ++	continue
 40.6049 ++	;;
 40.6050 ++
 40.6051 ++      # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:*
 40.6052 ++      # so, if we see these flags be careful not to treat them like -L
 40.6053 ++      -L[A-Z][A-Z]*:*)
 40.6054 ++	case $with_gcc/$host in
 40.6055 ++	no/*-*-irix*)
 40.6056 ++	  compile_command="$compile_command $arg"
 40.6057 ++	  finalize_command="$finalize_command $arg"
 40.6058 ++	  ;;
 40.6059 ++	esac
 40.6060 ++	continue
 40.6061 ++	;;
 40.6062 ++
 40.6063 ++      -L*)
 40.6064 ++	dir=`$echo "X$arg" | $Xsed -e 's/^-L//'`
 40.6065 ++	# We need an absolute path.
 40.6066 ++	case $dir in
 40.6067 ++	[\\/]* | [A-Za-z]:[\\/]*) ;;
 40.6068 ++	*)
 40.6069 ++	  absdir=`cd "$dir" && pwd`
 40.6070 ++	  if test -z "$absdir"; then
 40.6071 ++	    $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2
 40.6072 ++	    exit 1
 40.6073 ++	  fi
 40.6074 ++	  dir="$absdir"
 40.6075 ++	  ;;
 40.6076 ++	esac
 40.6077 ++	case "$deplibs " in
 40.6078 ++	*" -L$dir "*) ;;
 40.6079 ++	*)
 40.6080 ++	  deplibs="$deplibs -L$dir"
 40.6081 ++	  lib_search_path="$lib_search_path $dir"
 40.6082 ++	  ;;
 40.6083 ++	esac
 40.6084 ++	case $host in
 40.6085 ++	*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
 40.6086 ++	  case :$dllsearchpath: in
 40.6087 ++	  *":$dir:"*) ;;
 40.6088 ++	  *) dllsearchpath="$dllsearchpath:$dir";;
 40.6089 ++	  esac
 40.6090 ++	  ;;
 40.6091 ++	esac
 40.6092 ++	continue
 40.6093 ++	;;
 40.6094 ++
 40.6095 ++      -l*)
 40.6096 ++	if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
 40.6097 ++	  case $host in
 40.6098 ++	  *-*-cygwin* | *-*-pw32* | *-*-beos*)
 40.6099 ++	    # These systems don't actually have a C or math library (as such)
 40.6100 ++	    continue
 40.6101 ++	    ;;
 40.6102 ++	  *-*-mingw* | *-*-os2*)
 40.6103 ++	    # These systems don't actually have a C library (as such)
 40.6104 ++	    test "X$arg" = "X-lc" && continue
 40.6105 ++	    ;;
 40.6106 ++	  esac
 40.6107 ++	fi
 40.6108 ++	deplibs="$deplibs $arg"
 40.6109 ++	continue
 40.6110 ++	;;
 40.6111 ++
 40.6112 ++      -module)
 40.6113 ++	module=yes
 40.6114 ++	continue
 40.6115 ++	;;
 40.6116 ++
 40.6117 ++      -no-fast-install)
 40.6118 ++	fast_install=no
 40.6119 ++	continue
 40.6120 ++	;;
 40.6121 ++
 40.6122 ++      -no-install)
 40.6123 ++	case $host in
 40.6124 ++	*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
 40.6125 ++	  # The PATH hackery in wrapper scripts is required on Windows
 40.6126 ++	  # in order for the loader to find any dlls it needs.
 40.6127 ++	  $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2
 40.6128 ++	  $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2
 40.6129 ++	  fast_install=no
 40.6130 ++	  ;;
 40.6131 ++	*) no_install=yes ;;
 40.6132 ++	esac
 40.6133 ++	continue
 40.6134 ++	;;
 40.6135 ++
 40.6136 ++      -no-undefined)
 40.6137 ++	allow_undefined=no
 40.6138 ++	continue
 40.6139 ++	;;
 40.6140 ++
 40.6141 ++      -o) prev=output ;;
 40.6142 ++
 40.6143 ++      -release)
 40.6144 ++	prev=release
 40.6145 ++	continue
 40.6146 ++	;;
 40.6147 ++
 40.6148 ++      -rpath)
 40.6149 ++	prev=rpath
 40.6150 ++	continue
 40.6151 ++	;;
 40.6152 ++
 40.6153 ++      -R)
 40.6154 ++	prev=xrpath
 40.6155 ++	continue
 40.6156 ++	;;
 40.6157 ++
 40.6158 ++      -R*)
 40.6159 ++	dir=`$echo "X$arg" | $Xsed -e 's/^-R//'`
 40.6160 ++	# We need an absolute path.
 40.6161 ++	case $dir in
 40.6162 ++	[\\/]* | [A-Za-z]:[\\/]*) ;;
 40.6163 ++	*)
 40.6164 ++	  $echo "$modename: only absolute run-paths are allowed" 1>&2
 40.6165 ++	  exit 1
 40.6166 ++	  ;;
 40.6167 ++	esac
 40.6168 ++	case "$xrpath " in
 40.6169 ++	*" $dir "*) ;;
 40.6170 ++	*) xrpath="$xrpath $dir" ;;
 40.6171 ++	esac
 40.6172 ++	continue
 40.6173 ++	;;
 40.6174 ++
 40.6175 ++      -static)
 40.6176 ++	# The effects of -static are defined in a previous loop.
 40.6177 ++	# We used to do the same as -all-static on platforms that
 40.6178 ++	# didn't have a PIC flag, but the assumption that the effects
 40.6179 ++	# would be equivalent was wrong.  It would break on at least
 40.6180 ++	# Digital Unix and AIX.
 40.6181 ++	continue
 40.6182 ++	;;
 40.6183 ++
 40.6184 ++      -thread-safe)
 40.6185 ++	thread_safe=yes
 40.6186 ++	continue
 40.6187 ++	;;
 40.6188 ++
 40.6189 ++      -version-info)
 40.6190 ++	prev=vinfo
 40.6191 ++	continue
 40.6192 ++	;;
 40.6193 ++
 40.6194 ++      -Wc,*)
 40.6195 ++	args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'`
 40.6196 ++	arg=
 40.6197 ++	IFS="${IFS= 	}"; save_ifs="$IFS"; IFS=','
 40.6198 ++	for flag in $args; do
 40.6199 ++	  IFS="$save_ifs"
 40.6200 ++	  case $flag in
 40.6201 ++	    *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*|"")
 40.6202 ++	    flag="\"$flag\""
 40.6203 ++	    ;;
 40.6204 ++	  esac
 40.6205 ++	  arg="$arg $wl$flag"
 40.6206 ++	  compiler_flags="$compiler_flags $flag"
 40.6207 ++	done
 40.6208 ++	IFS="$save_ifs"
 40.6209 ++	arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
 40.6210 ++	;;
 40.6211 ++
 40.6212 ++      -Wl,*)
 40.6213 ++	args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'`
 40.6214 ++	arg=
 40.6215 ++	IFS="${IFS= 	}"; save_ifs="$IFS"; IFS=','
 40.6216 ++	for flag in $args; do
 40.6217 ++	  IFS="$save_ifs"
 40.6218 ++	  case $flag in
 40.6219 ++	    *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*|"")
 40.6220 ++	    flag="\"$flag\""
 40.6221 ++	    ;;
 40.6222 ++	  esac
 40.6223 ++	  arg="$arg $wl$flag"
 40.6224 ++	  compiler_flags="$compiler_flags $wl$flag"
 40.6225 ++	  linker_flags="$linker_flags $flag"
 40.6226 ++	done
 40.6227 ++	IFS="$save_ifs"
 40.6228 ++	arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
 40.6229 ++	;;
 40.6230 ++
 40.6231 ++      -Xcompiler)
 40.6232 ++	prev=xcompiler
 40.6233 ++	continue
 40.6234 ++	;;
 40.6235 ++
 40.6236 ++      -Xlinker)
 40.6237 ++	prev=xlinker
 40.6238 ++	continue
 40.6239 ++	;;
 40.6240 ++
 40.6241 ++      # Some other compiler flag.
 40.6242 ++      -* | +*)
 40.6243 ++	# Unknown arguments in both finalize_command and compile_command need
 40.6244 ++	# to be aesthetically quoted because they are evaled later.
 40.6245 ++	arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
 40.6246 ++	case $arg in
 40.6247 ++	*[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*|"")
 40.6248 ++	  arg="\"$arg\""
 40.6249 ++	  ;;
 40.6250 ++	esac
 40.6251 ++	;;
 40.6252 ++
 40.6253 ++      *.lo | *.$objext)
 40.6254 ++	# A library or standard object.
 40.6255 ++	if test "$prev" = dlfiles; then
 40.6256 ++	  # This file was specified with -dlopen.
 40.6257 ++	  if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
 40.6258 ++	    dlfiles="$dlfiles $arg"
 40.6259 ++	    prev=
 40.6260 ++	    continue
 40.6261 ++	  else
 40.6262 ++	    # If libtool objects are unsupported, then we need to preload.
 40.6263 ++	    prev=dlprefiles
 40.6264 ++	  fi
 40.6265 ++	fi
 40.6266 ++
 40.6267 ++	if test "$prev" = dlprefiles; then
 40.6268 ++	  # Preload the old-style object.
 40.6269 ++	  dlprefiles="$dlprefiles "`$echo "X$arg" | $Xsed -e "$lo2o"`
 40.6270 ++	  prev=
 40.6271 ++	else
 40.6272 ++	  case $arg in
 40.6273 ++	  *.lo) libobjs="$libobjs $arg" ;;
 40.6274 ++	  *) objs="$objs $arg" ;;
 40.6275 ++	  esac
 40.6276 ++	fi
 40.6277 ++	;;
 40.6278 ++
 40.6279 ++      *.$libext)
 40.6280 ++	# An archive.
 40.6281 ++	deplibs="$deplibs $arg"
 40.6282 ++	old_deplibs="$old_deplibs $arg"
 40.6283 ++	continue
 40.6284 ++	;;
 40.6285 ++
 40.6286 ++      *.la)
 40.6287 ++	# A libtool-controlled library.
 40.6288 ++
 40.6289 ++	if test "$prev" = dlfiles; then
 40.6290 ++	  # This library was specified with -dlopen.
 40.6291 ++	  dlfiles="$dlfiles $arg"
 40.6292 ++	  prev=
 40.6293 ++	elif test "$prev" = dlprefiles; then
 40.6294 ++	  # The library was specified with -dlpreopen.
 40.6295 ++	  dlprefiles="$dlprefiles $arg"
 40.6296 ++	  prev=
 40.6297 ++	else
 40.6298 ++	  deplibs="$deplibs $arg"
 40.6299 ++	fi
 40.6300 ++	continue
 40.6301 ++	;;
 40.6302 ++
 40.6303 ++      # Some other compiler argument.
 40.6304 ++      *)
 40.6305 ++	# Unknown arguments in both finalize_command and compile_command need
 40.6306 ++	# to be aesthetically quoted because they are evaled later.
 40.6307 ++	arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
 40.6308 ++	case $arg in
 40.6309 ++	*[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*|"")
 40.6310 ++	  arg="\"$arg\""
 40.6311 ++	  ;;
 40.6312 ++	esac
 40.6313 ++	;;
 40.6314 ++      esac # arg
 40.6315 ++
 40.6316 ++      # Now actually substitute the argument into the commands.
 40.6317 ++      if test -n "$arg"; then
 40.6318 ++	compile_command="$compile_command $arg"
 40.6319 ++	finalize_command="$finalize_command $arg"
 40.6320 ++      fi
 40.6321 ++    done # argument parsing loop
 40.6322 ++
 40.6323 ++    if test -n "$prev"; then
 40.6324 ++      $echo "$modename: the \`$prevarg' option requires an argument" 1>&2
 40.6325 ++      $echo "$help" 1>&2
 40.6326 ++      exit 1
 40.6327 ++    fi
 40.6328 ++
 40.6329 ++    if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then
 40.6330 ++      eval arg=\"$export_dynamic_flag_spec\"
 40.6331 ++      compile_command="$compile_command $arg"
 40.6332 ++      finalize_command="$finalize_command $arg"
 40.6333 ++    fi
 40.6334 ++
 40.6335 ++    # calculate the name of the file, without its directory
 40.6336 ++    outputname=`$echo "X$output" | $Xsed -e 's%^.*/%%'`
 40.6337 ++    libobjs_save="$libobjs"
 40.6338 ++
 40.6339 ++    if test -n "$shlibpath_var"; then
 40.6340 ++      # get the directories listed in $shlibpath_var
 40.6341 ++      eval shlib_search_path=\`\$echo \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\`
 40.6342 ++    else
 40.6343 ++      shlib_search_path=
 40.6344 ++    fi
 40.6345 ++    eval sys_lib_search_path=\"$sys_lib_search_path_spec\"
 40.6346 ++    eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\"
 40.6347 ++
 40.6348 ++    output_objdir=`$echo "X$output" | $Xsed -e 's%/[^/]*$%%'`
 40.6349 ++    if test "X$output_objdir" = "X$output"; then
 40.6350 ++      output_objdir="$objdir"
 40.6351 ++    else
 40.6352 ++      output_objdir="$output_objdir/$objdir"
 40.6353 ++    fi
 40.6354 ++    # Create the object directory.
 40.6355 ++    if test ! -d $output_objdir; then
 40.6356 ++      $show "$mkdir $output_objdir"
 40.6357 ++      $run $mkdir $output_objdir
 40.6358 ++      status=$?
 40.6359 ++      if test $status -ne 0 && test ! -d $output_objdir; then
 40.6360 ++	exit $status
 40.6361 ++      fi
 40.6362 ++    fi
 40.6363 ++
 40.6364 ++    # Determine the type of output
 40.6365 ++    case $output in
 40.6366 ++    "")
 40.6367 ++      $echo "$modename: you must specify an output file" 1>&2
 40.6368 ++      $echo "$help" 1>&2
 40.6369 ++      exit 1
 40.6370 ++      ;;
 40.6371 ++    *.$libext) linkmode=oldlib ;;
 40.6372 ++    *.lo | *.$objext) linkmode=obj ;;
 40.6373 ++    *.la) linkmode=lib ;;
 40.6374 ++    *) linkmode=prog ;; # Anything else should be a program.
 40.6375 ++    esac
 40.6376 ++
 40.6377 ++    specialdeplibs=
 40.6378 ++    libs=
 40.6379 ++    # Find all interdependent deplibs by searching for libraries
 40.6380 ++    # that are linked more than once (e.g. -la -lb -la)
 40.6381 ++    for deplib in $deplibs; do
 40.6382 ++      case "$libs " in
 40.6383 ++      *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
 40.6384 ++      esac
 40.6385 ++      libs="$libs $deplib"
 40.6386 ++    done
 40.6387 ++    deplibs=
 40.6388 ++    newdependency_libs=
 40.6389 ++    newlib_search_path=
 40.6390 ++    need_relink=no # whether we're linking any uninstalled libtool libraries
 40.6391 ++    notinst_deplibs= # not-installed libtool libraries
 40.6392 ++    notinst_path= # paths that contain not-installed libtool libraries
 40.6393 ++    case $linkmode in
 40.6394 ++    lib)
 40.6395 ++	passes="conv link"
 40.6396 ++	for file in $dlfiles $dlprefiles; do
 40.6397 ++	  case $file in
 40.6398 ++	  *.la) ;;
 40.6399 ++	  *)
 40.6400 ++	    $echo "$modename: libraries can \`-dlopen' only libtool libraries: $file" 1>&2
 40.6401 ++	    exit 1
 40.6402 ++	    ;;
 40.6403 ++	  esac
 40.6404 ++	done
 40.6405 ++	;;
 40.6406 ++    prog)
 40.6407 ++	compile_deplibs=
 40.6408 ++	finalize_deplibs=
 40.6409 ++	alldeplibs=no
 40.6410 ++	newdlfiles=
 40.6411 ++	newdlprefiles=
 40.6412 ++	passes="conv scan dlopen dlpreopen link"
 40.6413 ++	;;
 40.6414 ++    *)  passes="conv"
 40.6415 ++	;;
 40.6416 ++    esac
 40.6417 ++    for pass in $passes; do
 40.6418 ++      if test "$linkmode" = prog; then
 40.6419 ++	# Determine which files to process
 40.6420 ++	case $pass in
 40.6421 ++	dlopen)
 40.6422 ++	  libs="$dlfiles"
 40.6423 ++	  save_deplibs="$deplibs" # Collect dlpreopened libraries
 40.6424 ++	  deplibs=
 40.6425 ++	  ;;
 40.6426 ++	dlpreopen) libs="$dlprefiles" ;;
 40.6427 ++	link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
 40.6428 ++	esac
 40.6429 ++      fi
 40.6430 ++      for deplib in $libs; do
 40.6431 ++	lib=
 40.6432 ++	found=no
 40.6433 ++	case $deplib in
 40.6434 ++	-l*)
 40.6435 ++	  if test "$linkmode" = oldlib && test "$linkmode" = obj; then
 40.6436 ++	    $echo "$modename: warning: \`-l' is ignored for archives/objects: $deplib" 1>&2
 40.6437 ++	    continue
 40.6438 ++	  fi
 40.6439 ++	  if test "$pass" = conv; then
 40.6440 ++	    deplibs="$deplib $deplibs"
 40.6441 ++	    continue
 40.6442 ++	  fi
 40.6443 ++	  name=`$echo "X$deplib" | $Xsed -e 's/^-l//'`
 40.6444 ++	  for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do
 40.6445 ++	    # Search the libtool library
 40.6446 ++	    lib="$searchdir/lib${name}.la"
 40.6447 ++	    if test -f "$lib"; then
 40.6448 ++	      found=yes
 40.6449 ++	      break
 40.6450 ++	    fi
 40.6451 ++	  done
 40.6452 ++	  if test "$found" != yes; then
 40.6453 ++	    # deplib doesn't seem to be a libtool library
 40.6454 ++	    if test "$linkmode,$pass" = "prog,link"; then
 40.6455 ++	      compile_deplibs="$deplib $compile_deplibs"
 40.6456 ++	      finalize_deplibs="$deplib $finalize_deplibs"
 40.6457 ++	    else
 40.6458 ++	      deplibs="$deplib $deplibs"
 40.6459 ++	      test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
 40.6460 ++	    fi
 40.6461 ++	    continue
 40.6462 ++	  fi
 40.6463 ++	  ;; # -l
 40.6464 ++	-L*)
 40.6465 ++	  case $linkmode in
 40.6466 ++	  lib)
 40.6467 ++	    deplibs="$deplib $deplibs"
 40.6468 ++	    test "$pass" = conv && continue
 40.6469 ++	    newdependency_libs="$deplib $newdependency_libs"
 40.6470 ++	    newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
 40.6471 ++	    ;;
 40.6472 ++	  prog)
 40.6473 ++	    if test "$pass" = conv; then
 40.6474 ++	      deplibs="$deplib $deplibs"
 40.6475 ++	      continue
 40.6476 ++	    fi
 40.6477 ++	    if test "$pass" = scan; then
 40.6478 ++	      deplibs="$deplib $deplibs"
 40.6479 ++	      newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
 40.6480 ++	    else
 40.6481 ++	      compile_deplibs="$deplib $compile_deplibs"
 40.6482 ++	      finalize_deplibs="$deplib $finalize_deplibs"
 40.6483 ++	    fi
 40.6484 ++	    ;;
 40.6485 ++	  *)
 40.6486 ++	    $echo "$modename: warning: \`-L' is ignored for archives/objects: $deplib" 1>&2
 40.6487 ++	    ;;
 40.6488 ++	  esac # linkmode
 40.6489 ++	  continue
 40.6490 ++	  ;; # -L
 40.6491 ++	-R*)
 40.6492 ++	  if test "$pass" = link; then
 40.6493 ++	    dir=`$echo "X$deplib" | $Xsed -e 's/^-R//'`
 40.6494 ++	    # Make sure the xrpath contains only unique directories.
 40.6495 ++	    case "$xrpath " in
 40.6496 ++	    *" $dir "*) ;;
 40.6497 ++	    *) xrpath="$xrpath $dir" ;;
 40.6498 ++	    esac
 40.6499 ++	  fi
 40.6500 ++	  deplibs="$deplib $deplibs"
 40.6501 ++	  continue
 40.6502 ++	  ;;
 40.6503 ++	*.la) lib="$deplib" ;;
 40.6504 ++	*.$libext)
 40.6505 ++	  if test "$pass" = conv; then
 40.6506 ++	    deplibs="$deplib $deplibs"
 40.6507 ++	    continue
 40.6508 ++	  fi
 40.6509 ++	  case $linkmode in
 40.6510 ++	  lib)
 40.6511 ++	    if test "$deplibs_check_method" != pass_all; then
 40.6512 ++	      echo
 40.6513 ++	      echo "*** Warning: This library needs some functionality provided by $deplib."
 40.6514 ++	      echo "*** I have the capability to make that library automatically link in when"
 40.6515 ++	      echo "*** you link to this library.  But I can only do this if you have a"
 40.6516 ++	      echo "*** shared version of the library, which you do not appear to have."
 40.6517 ++	    else
 40.6518 ++	      echo
 40.6519 ++	      echo "*** Warning: Linking the shared library $output against the"
 40.6520 ++	      echo "*** static library $deplib is not portable!"
 40.6521 ++	      deplibs="$deplib $deplibs"
 40.6522 ++	    fi
 40.6523 ++	    continue
 40.6524 ++	    ;;
 40.6525 ++	  prog)
 40.6526 ++	    if test "$pass" != link; then
 40.6527 ++	      deplibs="$deplib $deplibs"
 40.6528 ++	    else
 40.6529 ++	      compile_deplibs="$deplib $compile_deplibs"
 40.6530 ++	      finalize_deplibs="$deplib $finalize_deplibs"
 40.6531 ++	    fi
 40.6532 ++	    continue
 40.6533 ++	    ;;
 40.6534 ++	  esac # linkmode
 40.6535 ++	  ;; # *.$libext
 40.6536 ++	*.lo | *.$objext)
 40.6537 ++	  if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
 40.6538 ++	    # If there is no dlopen support or we're linking statically,
 40.6539 ++	    # we need to preload.
 40.6540 ++	    newdlprefiles="$newdlprefiles $deplib"
 40.6541 ++	    compile_deplibs="$deplib $compile_deplibs"
 40.6542 ++	    finalize_deplibs="$deplib $finalize_deplibs"
 40.6543 ++	  else
 40.6544 ++	    newdlfiles="$newdlfiles $deplib"
 40.6545 ++	  fi
 40.6546 ++	  continue
 40.6547 ++	  ;;
 40.6548 ++	%DEPLIBS%)
 40.6549 ++	  alldeplibs=yes
 40.6550 ++	  continue
 40.6551 ++	  ;;
 40.6552 ++	esac # case $deplib
 40.6553 ++	if test $found = yes || test -f "$lib"; then :
 40.6554 ++	else
 40.6555 ++	  $echo "$modename: cannot find the library \`$lib'" 1>&2
 40.6556 ++	  exit 1
 40.6557 ++	fi
 40.6558 ++
 40.6559 ++	# Check to see that this really is a libtool archive.
 40.6560 ++	if (sed -e '2q' $lib | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
 40.6561 ++	else
 40.6562 ++	  $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
 40.6563 ++	  exit 1
 40.6564 ++	fi
 40.6565 ++
 40.6566 ++	ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'`
 40.6567 ++	test "X$ladir" = "X$lib" && ladir="."
 40.6568 ++
 40.6569 ++	dlname=
 40.6570 ++	dlopen=
 40.6571 ++	dlpreopen=
 40.6572 ++	libdir=
 40.6573 ++	library_names=
 40.6574 ++	old_library=
 40.6575 ++	# If the library was installed with an old release of libtool,
 40.6576 ++	# it will not redefine variable installed.
 40.6577 ++	installed=yes
 40.6578 ++
 40.6579 ++	# Read the .la file
 40.6580 ++	case $lib in
 40.6581 ++	*/* | *\\*) . $lib ;;
 40.6582 ++	*) . ./$lib ;;
 40.6583 ++	esac
 40.6584 ++
 40.6585 ++	if test "$linkmode,$pass" = "lib,link" ||
 40.6586 ++	   test "$linkmode,$pass" = "prog,scan" ||
 40.6587 ++	   { test "$linkmode" = oldlib && test "$linkmode" = obj; }; then
 40.6588 ++	   # Add dl[pre]opened files of deplib
 40.6589 ++	  test -n "$dlopen" && dlfiles="$dlfiles $dlopen"
 40.6590 ++	  test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen"
 40.6591 ++	fi
 40.6592 ++
 40.6593 ++	if test "$pass" = conv; then
 40.6594 ++	  # Only check for convenience libraries
 40.6595 ++	  deplibs="$lib $deplibs"
 40.6596 ++	  if test -z "$libdir"; then
 40.6597 ++	    if test -z "$old_library"; then
 40.6598 ++	      $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
 40.6599 ++	      exit 1
 40.6600 ++	    fi
 40.6601 ++	    # It is a libtool convenience library, so add in its objects.
 40.6602 ++	    convenience="$convenience $ladir/$objdir/$old_library"
 40.6603 ++	    old_convenience="$old_convenience $ladir/$objdir/$old_library"
 40.6604 ++	    tmp_libs=
 40.6605 ++	    for deplib in $dependency_libs; do
 40.6606 ++	      deplibs="$deplib $deplibs"
 40.6607 ++	      case "$tmp_libs " in
 40.6608 ++	      *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
 40.6609 ++	      esac
 40.6610 ++	      tmp_libs="$tmp_libs $deplib"
 40.6611 ++	    done
 40.6612 ++	  elif test "$linkmode" != prog && test "$linkmode" != lib; then
 40.6613 ++	    $echo "$modename: \`$lib' is not a convenience library" 1>&2
 40.6614 ++	    exit 1
 40.6615 ++	  fi
 40.6616 ++	  continue
 40.6617 ++	fi # $pass = conv
 40.6618 ++
 40.6619 ++	# Get the name of the library we link against.
 40.6620 ++	linklib=
 40.6621 ++	for l in $old_library $library_names; do
 40.6622 ++	  linklib="$l"
 40.6623 ++	done
 40.6624 ++	if test -z "$linklib"; then
 40.6625 ++	  $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
 40.6626 ++	  exit 1
 40.6627 ++	fi
 40.6628 ++
 40.6629 ++	# This library was specified with -dlopen.
 40.6630 ++	if test "$pass" = dlopen; then
 40.6631 ++	  if test -z "$libdir"; then
 40.6632 ++	    $echo "$modename: cannot -dlopen a convenience library: \`$lib'" 1>&2
 40.6633 ++	    exit 1
 40.6634 ++	  fi
 40.6635 ++	  if test -z "$dlname" || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
 40.6636 ++	    # If there is no dlname, no dlopen support or we're linking
 40.6637 ++	    # statically, we need to preload.
 40.6638 ++	    dlprefiles="$dlprefiles $lib"
 40.6639 ++	  else
 40.6640 ++	    newdlfiles="$newdlfiles $lib"
 40.6641 ++	  fi
 40.6642 ++	  continue
 40.6643 ++	fi # $pass = dlopen
 40.6644 ++
 40.6645 ++	# We need an absolute path.
 40.6646 ++	case $ladir in
 40.6647 ++	[\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;;
 40.6648 ++	*)
 40.6649 ++	  abs_ladir=`cd "$ladir" && pwd`
 40.6650 ++	  if test -z "$abs_ladir"; then
 40.6651 ++	    $echo "$modename: warning: cannot determine absolute directory name of \`$ladir'" 1>&2
 40.6652 ++	    $echo "$modename: passing it literally to the linker, although it might fail" 1>&2
 40.6653 ++	    abs_ladir="$ladir"
 40.6654 ++	  fi
 40.6655 ++	  ;;
 40.6656 ++	esac
 40.6657 ++	laname=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
 40.6658 ++
 40.6659 ++	# Find the relevant object directory and library name.
 40.6660 ++	if test "X$installed" = Xyes; then
 40.6661 ++	  if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
 40.6662 ++	    $echo "$modename: warning: library \`$lib' was moved." 1>&2
 40.6663 ++	    dir="$ladir"
 40.6664 ++	    absdir="$abs_ladir"
 40.6665 ++	    libdir="$abs_ladir"
 40.6666 ++	  else
 40.6667 ++	    dir="$libdir"
 40.6668 ++	    absdir="$libdir"
 40.6669 ++	  fi
 40.6670 ++	else
 40.6671 ++	  dir="$ladir/$objdir"
 40.6672 ++	  absdir="$abs_ladir/$objdir"
 40.6673 ++	  # Remove this search path later
 40.6674 ++	  notinst_path="$notinst_path $abs_ladir"
 40.6675 ++	fi # $installed = yes
 40.6676 ++	name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
 40.6677 ++
 40.6678 ++	# This library was specified with -dlpreopen.
 40.6679 ++	if test "$pass" = dlpreopen; then
 40.6680 ++	  if test -z "$libdir"; then
 40.6681 ++	    $echo "$modename: cannot -dlpreopen a convenience library: \`$lib'" 1>&2
 40.6682 ++	    exit 1
 40.6683 ++	  fi
 40.6684 ++	  # Prefer using a static library (so that no silly _DYNAMIC symbols
 40.6685 ++	  # are required to link).
 40.6686 ++	  if test -n "$old_library"; then
 40.6687 ++	    newdlprefiles="$newdlprefiles $dir/$old_library"
 40.6688 ++	  # Otherwise, use the dlname, so that lt_dlopen finds it.
 40.6689 ++	  elif test -n "$dlname"; then
 40.6690 ++	    newdlprefiles="$newdlprefiles $dir/$dlname"
 40.6691 ++	  else
 40.6692 ++	    newdlprefiles="$newdlprefiles $dir/$linklib"
 40.6693 ++	  fi
 40.6694 ++	fi # $pass = dlpreopen
 40.6695 ++
 40.6696 ++	if test -z "$libdir"; then
 40.6697 ++	  # Link the convenience library
 40.6698 ++	  if test "$linkmode" = lib; then
 40.6699 ++	    deplibs="$dir/$old_library $deplibs"
 40.6700 ++	  elif test "$linkmode,$pass" = "prog,link"; then
 40.6701 ++	    compile_deplibs="$dir/$old_library $compile_deplibs"
 40.6702 ++	    finalize_deplibs="$dir/$old_library $finalize_deplibs"
 40.6703 ++	  else
 40.6704 ++	    deplibs="$lib $deplibs"
 40.6705 ++	  fi
 40.6706 ++	  continue
 40.6707 ++	fi
 40.6708 ++
 40.6709 ++	if test "$linkmode" = prog && test "$pass" != link; then
 40.6710 ++	  newlib_search_path="$newlib_search_path $ladir"
 40.6711 ++	  deplibs="$lib $deplibs"
 40.6712 ++
 40.6713 ++	  linkalldeplibs=no
 40.6714 ++	  if test "$link_all_deplibs" != no || test -z "$library_names" ||
 40.6715 ++	     test "$build_libtool_libs" = no; then
 40.6716 ++	    linkalldeplibs=yes
 40.6717 ++	  fi
 40.6718 ++
 40.6719 ++	  tmp_libs=
 40.6720 ++	  for deplib in $dependency_libs; do
 40.6721 ++	    case $deplib in
 40.6722 ++	    -L*) newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`;; ### testsuite: skip nested quoting test
 40.6723 ++	    esac
 40.6724 ++	    # Need to link against all dependency_libs?
 40.6725 ++	    if test $linkalldeplibs = yes; then
 40.6726 ++	      deplibs="$deplib $deplibs"
 40.6727 ++	    else
 40.6728 ++	      # Need to hardcode shared library paths
 40.6729 ++	      # or/and link against static libraries
 40.6730 ++	      newdependency_libs="$deplib $newdependency_libs"
 40.6731 ++	    fi
 40.6732 ++	    case "$tmp_libs " in
 40.6733 ++	    *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
 40.6734 ++	    esac
 40.6735 ++	    tmp_libs="$tmp_libs $deplib"
 40.6736 ++	  done # for deplib
 40.6737 ++	  continue
 40.6738 ++	fi # $linkmode = prog...
 40.6739 ++
 40.6740 ++	link_static=no # Whether the deplib will be linked statically
 40.6741 ++	if test -n "$library_names" &&
 40.6742 ++	   { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
 40.6743 ++	  # Link against this shared library
 40.6744 ++
 40.6745 ++	  if test "$linkmode,$pass" = "prog,link" ||
 40.6746 ++	   { test "$linkmode" = lib && test "$hardcode_into_libs" = yes; }; then
 40.6747 ++	    # Hardcode the library path.
 40.6748 ++	    # Skip directories that are in the system default run-time
 40.6749 ++	    # search path.
 40.6750 ++	    case " $sys_lib_dlsearch_path " in
 40.6751 ++	    *" $absdir "*) ;;
 40.6752 ++	    *)
 40.6753 ++	      case "$compile_rpath " in
 40.6754 ++	      *" $absdir "*) ;;
 40.6755 ++	      *) compile_rpath="$compile_rpath $absdir"
 40.6756 ++	      esac
 40.6757 ++	      ;;
 40.6758 ++	    esac
 40.6759 ++	    case " $sys_lib_dlsearch_path " in
 40.6760 ++	    *" $libdir "*) ;;
 40.6761 ++	    *)
 40.6762 ++	      case "$finalize_rpath " in
 40.6763 ++	      *" $libdir "*) ;;
 40.6764 ++	      *) finalize_rpath="$finalize_rpath $libdir"
 40.6765 ++	      esac
 40.6766 ++	      ;;
 40.6767 ++	    esac
 40.6768 ++	    if test "$linkmode" = prog; then
 40.6769 ++	      # We need to hardcode the library path
 40.6770 ++	      if test -n "$shlibpath_var"; then
 40.6771 ++		# Make sure the rpath contains only unique directories.
 40.6772 ++		case "$temp_rpath " in
 40.6773 ++		*" $dir "*) ;;
 40.6774 ++		*" $absdir "*) ;;
 40.6775 ++		*) temp_rpath="$temp_rpath $dir" ;;
 40.6776 ++		esac
 40.6777 ++	      fi
 40.6778 ++	    fi
 40.6779 ++	  fi # $linkmode,$pass = prog,link...
 40.6780 ++
 40.6781 ++	  if test "$alldeplibs" = yes &&
 40.6782 ++	     { test "$deplibs_check_method" = pass_all ||
 40.6783 ++	       { test "$build_libtool_libs" = yes &&
 40.6784 ++		 test -n "$library_names"; }; }; then
 40.6785 ++	    # We only need to search for static libraries
 40.6786 ++	    continue
 40.6787 ++	  fi
 40.6788 ++
 40.6789 ++	  if test "$installed" = no; then
 40.6790 ++	    notinst_deplibs="$notinst_deplibs $lib"
 40.6791 ++	    need_relink=yes
 40.6792 ++	  fi
 40.6793 ++
 40.6794 ++	  if test -n "$old_archive_from_expsyms_cmds"; then
 40.6795 ++	    # figure out the soname
 40.6796 ++	    set dummy $library_names
 40.6797 ++	    realname="$2"
 40.6798 ++	    shift; shift
 40.6799 ++	    libname=`eval \\$echo \"$libname_spec\"`
 40.6800 ++	    # use dlname if we got it. it's perfectly good, no?
 40.6801 ++	    if test -n "$dlname"; then
 40.6802 ++	      soname="$dlname"
 40.6803 ++	    elif test -n "$soname_spec"; then
 40.6804 ++	      # bleh windows
 40.6805 ++	      case $host in
 40.6806 ++	      *cygwin*)
 40.6807 ++		major=`expr $current - $age`
 40.6808 ++		versuffix="-$major"
 40.6809 ++		;;
 40.6810 ++	      esac
 40.6811 ++	      eval soname=\"$soname_spec\"
 40.6812 ++	    else
 40.6813 ++	      soname="$realname"
 40.6814 ++	    fi
 40.6815 ++
 40.6816 ++	    # Make a new name for the extract_expsyms_cmds to use
 40.6817 ++	    soroot="$soname"
 40.6818 ++	    soname=`echo $soroot | sed -e 's/^.*\///'`
 40.6819 ++	    newlib="libimp-`echo $soname | sed 's/^lib//;s/\.dll$//'`.a"
 40.6820 ++
 40.6821 ++	    # If the library has no export list, then create one now
 40.6822 ++	    if test -f "$output_objdir/$soname-def"; then :
 40.6823 ++	    else
 40.6824 ++	      $show "extracting exported symbol list from \`$soname'"
 40.6825 ++	      IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
 40.6826 ++	      eval cmds=\"$extract_expsyms_cmds\"
 40.6827 ++	      for cmd in $cmds; do
 40.6828 ++		IFS="$save_ifs"
 40.6829 ++		$show "$cmd"
 40.6830 ++		$run eval "$cmd" || exit $?
 40.6831 ++	      done
 40.6832 ++	      IFS="$save_ifs"
 40.6833 ++	    fi
 40.6834 ++
 40.6835 ++	    # Create $newlib
 40.6836 ++	    if test -f "$output_objdir/$newlib"; then :; else
 40.6837 ++	      $show "generating import library for \`$soname'"
 40.6838 ++	      IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
 40.6839 ++	      eval cmds=\"$old_archive_from_expsyms_cmds\"
 40.6840 ++	      for cmd in $cmds; do
 40.6841 ++		IFS="$save_ifs"
 40.6842 ++		$show "$cmd"
 40.6843 ++		$run eval "$cmd" || exit $?
 40.6844 ++	      done
 40.6845 ++	      IFS="$save_ifs"
 40.6846 ++	    fi
 40.6847 ++	    # make sure the library variables are pointing to the new library
 40.6848 ++	    dir=$output_objdir
 40.6849 ++	    linklib=$newlib
 40.6850 ++	  fi # test -n $old_archive_from_expsyms_cmds
 40.6851 ++
 40.6852 ++	  if test "$linkmode" = prog || test "$mode" != relink; then
 40.6853 ++	    add_shlibpath=
 40.6854 ++	    add_dir=
 40.6855 ++	    add=
 40.6856 ++	    lib_linked=yes
 40.6857 ++	    case $hardcode_action in
 40.6858 ++	    immediate | unsupported)
 40.6859 ++	      if test "$hardcode_direct" = no; then
 40.6860 ++		add="$dir/$linklib"
 40.6861 ++	      elif test "$hardcode_minus_L" = no; then
 40.6862 ++		case $host in
 40.6863 ++		*-*-sunos*) add_shlibpath="$dir" ;;
 40.6864 ++		esac
 40.6865 ++		add_dir="-L$dir"
 40.6866 ++		add="-l$name"
 40.6867 ++	      elif test "$hardcode_shlibpath_var" = no; then
 40.6868 ++		add_shlibpath="$dir"
 40.6869 ++		add="-l$name"
 40.6870 ++	      else
 40.6871 ++		lib_linked=no
 40.6872 ++	      fi
 40.6873 ++	      ;;
 40.6874 ++	    relink)
 40.6875 ++	      if test "$hardcode_direct" = yes; then
 40.6876 ++		add="$dir/$linklib"
 40.6877 ++	      elif test "$hardcode_minus_L" = yes; then
 40.6878 ++		add_dir="-L$dir"
 40.6879 ++		add="-l$name"
 40.6880 ++	      elif test "$hardcode_shlibpath_var" = yes; then
 40.6881 ++		add_shlibpath="$dir"
 40.6882 ++		add="-l$name"
 40.6883 ++	      else
 40.6884 ++		lib_linked=no
 40.6885 ++	      fi
 40.6886 ++	      ;;
 40.6887 ++	    *) lib_linked=no ;;
 40.6888 ++	    esac
 40.6889 ++
 40.6890 ++	    if test "$lib_linked" != yes; then
 40.6891 ++	      $echo "$modename: configuration error: unsupported hardcode properties"
 40.6892 ++	      exit 1
 40.6893 ++	    fi
 40.6894 ++
 40.6895 ++	    if test -n "$add_shlibpath"; then
 40.6896 ++	      case :$compile_shlibpath: in
 40.6897 ++	      *":$add_shlibpath:"*) ;;
 40.6898 ++	      *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;;
 40.6899 ++	      esac
 40.6900 ++	    fi
 40.6901 ++	    if test "$linkmode" = prog; then
 40.6902 ++	      test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs"
 40.6903 ++	      test -n "$add" && compile_deplibs="$add $compile_deplibs"
 40.6904 ++	    else
 40.6905 ++	      test -n "$add_dir" && deplibs="$add_dir $deplibs"
 40.6906 ++	      test -n "$add" && deplibs="$add $deplibs"
 40.6907 ++	      if test "$hardcode_direct" != yes && \
 40.6908 ++		 test "$hardcode_minus_L" != yes && \
 40.6909 ++		 test "$hardcode_shlibpath_var" = yes; then
 40.6910 ++		case :$finalize_shlibpath: in
 40.6911 ++		*":$libdir:"*) ;;
 40.6912 ++		*) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
 40.6913 ++		esac
 40.6914 ++	      fi
 40.6915 ++	    fi
 40.6916 ++	  fi
 40.6917 ++
 40.6918 ++	  if test "$linkmode" = prog || test "$mode" = relink; then
 40.6919 ++	    add_shlibpath=
 40.6920 ++	    add_dir=
 40.6921 ++	    add=
 40.6922 ++	    # Finalize command for both is simple: just hardcode it.
 40.6923 ++	    if test "$hardcode_direct" = yes; then
 40.6924 ++	      add="$libdir/$linklib"
 40.6925 ++	    elif test "$hardcode_minus_L" = yes; then
 40.6926 ++	      add_dir="-L$libdir"
 40.6927 ++	      add="-l$name"
 40.6928 ++	    elif test "$hardcode_shlibpath_var" = yes; then
 40.6929 ++	      case :$finalize_shlibpath: in
 40.6930 ++	      *":$libdir:"*) ;;
 40.6931 ++	      *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
 40.6932 ++	      esac
 40.6933 ++	      add="-l$name"
 40.6934 ++	    else
 40.6935 ++	      # We cannot seem to hardcode it, guess we'll fake it.
 40.6936 ++	      add_dir="-L$libdir"
 40.6937 ++	      add="-l$name"
 40.6938 ++	    fi
 40.6939 ++
 40.6940 ++	    if test "$linkmode" = prog; then
 40.6941 ++	      test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs"
 40.6942 ++	      test -n "$add" && finalize_deplibs="$add $finalize_deplibs"
 40.6943 ++	    else
 40.6944 ++	      test -n "$add_dir" && deplibs="$add_dir $deplibs"
 40.6945 ++	      test -n "$add" && deplibs="$add $deplibs"
 40.6946 ++	    fi
 40.6947 ++	  fi
 40.6948 ++	elif test "$linkmode" = prog; then
 40.6949 ++	  if test "$alldeplibs" = yes &&
 40.6950 ++	     { test "$deplibs_check_method" = pass_all ||
 40.6951 ++	       { test "$build_libtool_libs" = yes &&
 40.6952 ++		 test -n "$library_names"; }; }; then
 40.6953 ++	    # We only need to search for static libraries
 40.6954 ++	    continue
 40.6955 ++	  fi
 40.6956 ++
 40.6957 ++	  # Try to link the static library
 40.6958 ++	  # Here we assume that one of hardcode_direct or hardcode_minus_L
 40.6959 ++	  # is not unsupported.  This is valid on all known static and
 40.6960 ++	  # shared platforms.
 40.6961 ++	  if test "$hardcode_direct" != unsupported; then
 40.6962 ++	    test -n "$old_library" && linklib="$old_library"
 40.6963 ++	    compile_deplibs="$dir/$linklib $compile_deplibs"
 40.6964 ++	    finalize_deplibs="$dir/$linklib $finalize_deplibs"
 40.6965 ++	  else
 40.6966 ++	    compile_deplibs="-l$name -L$dir $compile_deplibs"
 40.6967 ++	    finalize_deplibs="-l$name -L$dir $finalize_deplibs"
 40.6968 ++	  fi
 40.6969 ++	elif test "$build_libtool_libs" = yes; then
 40.6970 ++	  # Not a shared library
 40.6971 ++	  if test "$deplibs_check_method" != pass_all; then
 40.6972 ++	    # We're trying link a shared library against a static one
 40.6973 ++	    # but the system doesn't support it.
 40.6974 ++
 40.6975 ++	    # Just print a warning and add the library to dependency_libs so
 40.6976 ++	    # that the program can be linked against the static library.
 40.6977 ++	    echo
 40.6978 ++	    echo "*** Warning: This library needs some functionality provided by $lib."
 40.6979 ++	    echo "*** I have the capability to make that library automatically link in when"
 40.6980 ++	    echo "*** you link to this library.  But I can only do this if you have a"
 40.6981 ++	    echo "*** shared version of the library, which you do not appear to have."
 40.6982 ++	    if test "$module" = yes; then
 40.6983 ++	      echo "*** Therefore, libtool will create a static module, that should work "
 40.6984 ++	      echo "*** as long as the dlopening application is linked with the -dlopen flag."
 40.6985 ++	      if test -z "$global_symbol_pipe"; then
 40.6986 ++	        echo
 40.6987 ++	        echo "*** However, this would only work if libtool was able to extract symbol"
 40.6988 ++	        echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
 40.6989 ++	        echo "*** not find such a program.  So, this module is probably useless."
 40.6990 ++	        echo "*** \`nm' from GNU binutils and a full rebuild may help."
 40.6991 ++	      fi
 40.6992 ++	      if test "$build_old_libs" = no; then
 40.6993 ++	        build_libtool_libs=module
 40.6994 ++	        build_old_libs=yes
 40.6995 ++	      else
 40.6996 ++	        build_libtool_libs=no
 40.6997 ++	      fi
 40.6998 ++	    fi
 40.6999 ++	  else
 40.7000 ++	    convenience="$convenience $dir/$old_library"
 40.7001 ++	    old_convenience="$old_convenience $dir/$old_library"
 40.7002 ++	    deplibs="$dir/$old_library $deplibs"
 40.7003 ++	    link_static=yes
 40.7004 ++	  fi
 40.7005 ++	fi # link shared/static library?
 40.7006 ++
 40.7007 ++	if test "$linkmode" = lib; then
 40.7008 ++	  if test -n "$dependency_libs" &&
 40.7009 ++	     { test "$hardcode_into_libs" != yes || test $build_old_libs = yes ||
 40.7010 ++	       test $link_static = yes; }; then
 40.7011 ++	    # Extract -R from dependency_libs
 40.7012 ++	    temp_deplibs=
 40.7013 ++	    for libdir in $dependency_libs; do
 40.7014 ++	      case $libdir in
 40.7015 ++	      -R*) temp_xrpath=`$echo "X$libdir" | $Xsed -e 's/^-R//'`
 40.7016 ++		   case " $xrpath " in
 40.7017 ++		   *" $temp_xrpath "*) ;;
 40.7018 ++		   *) xrpath="$xrpath $temp_xrpath";;
 40.7019 ++		   esac;;
 40.7020 ++	      *) temp_deplibs="$temp_deplibs $libdir";;
 40.7021 ++	      esac
 40.7022 ++	    done
 40.7023 ++	    dependency_libs="$temp_deplibs"
 40.7024 ++	  fi
 40.7025 ++
 40.7026 ++	  newlib_search_path="$newlib_search_path $absdir"
 40.7027 ++	  # Link against this library
 40.7028 ++	  test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs"
 40.7029 ++	  # ... and its dependency_libs
 40.7030 ++	  tmp_libs=
 40.7031 ++	  for deplib in $dependency_libs; do
 40.7032 ++	    newdependency_libs="$deplib $newdependency_libs"
 40.7033 ++	    case "$tmp_libs " in
 40.7034 ++	    *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
 40.7035 ++	    esac
 40.7036 ++	    tmp_libs="$tmp_libs $deplib"
 40.7037 ++	  done
 40.7038 ++
 40.7039 ++	  if test "$link_all_deplibs" != no; then
 40.7040 ++	    # Add the search paths of all dependency libraries
 40.7041 ++	    for deplib in $dependency_libs; do
 40.7042 ++	      case $deplib in
 40.7043 ++	      -L*) path="$deplib" ;;
 40.7044 ++	      *.la)
 40.7045 ++		dir=`$echo "X$deplib" | $Xsed -e 's%/[^/]*$%%'`
 40.7046 ++		test "X$dir" = "X$deplib" && dir="."
 40.7047 ++		# We need an absolute path.
 40.7048 ++		case $dir in
 40.7049 ++		[\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;;
 40.7050 ++		*)
 40.7051 ++		  absdir=`cd "$dir" && pwd`
 40.7052 ++		  if test -z "$absdir"; then
 40.7053 ++		    $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2
 40.7054 ++		    absdir="$dir"
 40.7055 ++		  fi
 40.7056 ++		  ;;
 40.7057 ++		esac
 40.7058 ++		if grep "^installed=no" $deplib > /dev/null; then
 40.7059 ++		  path="-L$absdir/$objdir"
 40.7060 ++		else
 40.7061 ++		  eval libdir=`sed -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
 40.7062 ++		  if test -z "$libdir"; then
 40.7063 ++		    $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
 40.7064 ++		    exit 1
 40.7065 ++		  fi
 40.7066 ++		  if test "$absdir" != "$libdir"; then
 40.7067 ++		    $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2
 40.7068 ++		  fi
 40.7069 ++		  path="-L$absdir"
 40.7070 ++		fi
 40.7071 ++		;;
 40.7072 ++	      *) continue ;;
 40.7073 ++	      esac
 40.7074 ++	      case " $deplibs " in
 40.7075 ++	      *" $path "*) ;;
 40.7076 ++	      *) deplibs="$deplibs $path" ;;
 40.7077 ++	      esac
 40.7078 ++	    done
 40.7079 ++	  fi # link_all_deplibs != no
 40.7080 ++	fi # linkmode = lib
 40.7081 ++      done # for deplib in $libs
 40.7082 ++      if test "$pass" = dlpreopen; then
 40.7083 ++	# Link the dlpreopened libraries before other libraries
 40.7084 ++	for deplib in $save_deplibs; do
 40.7085 ++	  deplibs="$deplib $deplibs"
 40.7086 ++	done
 40.7087 ++      fi
 40.7088 ++      if test "$pass" != dlopen; then
 40.7089 ++	test "$pass" != scan && dependency_libs="$newdependency_libs"
 40.7090 ++	if test "$pass" != conv; then
 40.7091 ++	  # Make sure lib_search_path contains only unique directories.
 40.7092 ++	  lib_search_path=
 40.7093 ++	  for dir in $newlib_search_path; do
 40.7094 ++	    case "$lib_search_path " in
 40.7095 ++	    *" $dir "*) ;;
 40.7096 ++	    *) lib_search_path="$lib_search_path $dir" ;;
 40.7097 ++	    esac
 40.7098 ++	  done
 40.7099 ++	  newlib_search_path=
 40.7100 ++	fi
 40.7101 ++
 40.7102 ++	if test "$linkmode,$pass" != "prog,link"; then
 40.7103 ++	  vars="deplibs"
 40.7104 ++	else
 40.7105 ++	  vars="compile_deplibs finalize_deplibs"
 40.7106 ++	fi
 40.7107 ++	for var in $vars dependency_libs; do
 40.7108 ++	  # Add libraries to $var in reverse order
 40.7109 ++	  eval tmp_libs=\"\$$var\"
 40.7110 ++	  new_libs=
 40.7111 ++	  for deplib in $tmp_libs; do
 40.7112 ++	    case $deplib in
 40.7113 ++	    -L*) new_libs="$deplib $new_libs" ;;
 40.7114 ++	    *)
 40.7115 ++	      case " $specialdeplibs " in
 40.7116 ++	      *" $deplib "*) new_libs="$deplib $new_libs" ;;
 40.7117 ++	      *)
 40.7118 ++		case " $new_libs " in
 40.7119 ++		*" $deplib "*) ;;
 40.7120 ++		*) new_libs="$deplib $new_libs" ;;
 40.7121 ++		esac
 40.7122 ++		;;
 40.7123 ++	      esac
 40.7124 ++	      ;;
 40.7125 ++	    esac
 40.7126 ++	  done
 40.7127 ++	  tmp_libs=
 40.7128 ++	  for deplib in $new_libs; do
 40.7129 ++	    case $deplib in
 40.7130 ++	    -L*)
 40.7131 ++	      case " $tmp_libs " in
 40.7132 ++	      *" $deplib "*) ;;
 40.7133 ++	      *) tmp_libs="$tmp_libs $deplib" ;;
 40.7134 ++	      esac
 40.7135 ++	      ;;
 40.7136 ++	    *) tmp_libs="$tmp_libs $deplib" ;;
 40.7137 ++	    esac
 40.7138 ++	  done
 40.7139 ++	  eval $var=\"$tmp_libs\"
 40.7140 ++	done # for var
 40.7141 ++      fi
 40.7142 ++      if test "$pass" = "conv" &&
 40.7143 ++       { test "$linkmode" = "lib" || test "$linkmode" = "prog"; }; then
 40.7144 ++	libs="$deplibs" # reset libs
 40.7145 ++	deplibs=
 40.7146 ++      fi
 40.7147 ++    done # for pass
 40.7148 ++    if test "$linkmode" = prog; then
 40.7149 ++      dlfiles="$newdlfiles"
 40.7150 ++      dlprefiles="$newdlprefiles"
 40.7151 ++    fi
 40.7152 ++
 40.7153 ++    case $linkmode in
 40.7154 ++    oldlib)
 40.7155 ++      if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
 40.7156 ++	$echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2
 40.7157 ++      fi
 40.7158 ++
 40.7159 ++      if test -n "$rpath"; then
 40.7160 ++	$echo "$modename: warning: \`-rpath' is ignored for archives" 1>&2
 40.7161 ++      fi
 40.7162 ++
 40.7163 ++      if test -n "$xrpath"; then
 40.7164 ++	$echo "$modename: warning: \`-R' is ignored for archives" 1>&2
 40.7165 ++      fi
 40.7166 ++
 40.7167 ++      if test -n "$vinfo"; then
 40.7168 ++	$echo "$modename: warning: \`-version-info' is ignored for archives" 1>&2
 40.7169 ++      fi
 40.7170 ++
 40.7171 ++      if test -n "$release"; then
 40.7172 ++	$echo "$modename: warning: \`-release' is ignored for archives" 1>&2
 40.7173 ++      fi
 40.7174 ++
 40.7175 ++      if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
 40.7176 ++	$echo "$modename: warning: \`-export-symbols' is ignored for archives" 1>&2
 40.7177 ++      fi
 40.7178 ++
 40.7179 ++      # Now set the variables for building old libraries.
 40.7180 ++      build_libtool_libs=no
 40.7181 ++      oldlibs="$output"
 40.7182 ++      objs="$objs$old_deplibs"
 40.7183 ++      ;;
 40.7184 ++
 40.7185 ++    lib)
 40.7186 ++      # Make sure we only generate libraries of the form `libNAME.la'.
 40.7187 ++      case $outputname in
 40.7188 ++      lib*)
 40.7189 ++	name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
 40.7190 ++	eval libname=\"$libname_spec\"
 40.7191 ++	;;
 40.7192 ++      *)
 40.7193 ++	if test "$module" = no; then
 40.7194 ++	  $echo "$modename: libtool library \`$output' must begin with \`lib'" 1>&2
 40.7195 ++	  $echo "$help" 1>&2
 40.7196 ++	  exit 1
 40.7197 ++	fi
 40.7198 ++	if test "$need_lib_prefix" != no; then
 40.7199 ++	  # Add the "lib" prefix for modules if required
 40.7200 ++	  name=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
 40.7201 ++	  eval libname=\"$libname_spec\"
 40.7202 ++	else
 40.7203 ++	  libname=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
 40.7204 ++	fi
 40.7205 ++	;;
 40.7206 ++      esac
 40.7207 ++
 40.7208 ++      if test -n "$objs"; then
 40.7209 ++	if test "$deplibs_check_method" != pass_all; then
 40.7210 ++	  $echo "$modename: cannot build libtool library \`$output' from non-libtool objects on this host:$objs" 2>&1
 40.7211 ++	  exit 1
 40.7212 ++	else
 40.7213 ++	  echo
 40.7214 ++	  echo "*** Warning: Linking the shared library $output against the non-libtool"
 40.7215 ++	  echo "*** objects $objs is not portable!"
 40.7216 ++	  libobjs="$libobjs $objs"
 40.7217 ++	fi
 40.7218 ++      fi
 40.7219 ++
 40.7220 ++      if test "$dlself" != no; then
 40.7221 ++	$echo "$modename: warning: \`-dlopen self' is ignored for libtool libraries" 1>&2
 40.7222 ++      fi
 40.7223 ++
 40.7224 ++      set dummy $rpath
 40.7225 ++      if test $# -gt 2; then
 40.7226 ++	$echo "$modename: warning: ignoring multiple \`-rpath's for a libtool library" 1>&2
 40.7227 ++      fi
 40.7228 ++      install_libdir="$2"
 40.7229 ++
 40.7230 ++      oldlibs=
 40.7231 ++      if test -z "$rpath"; then
 40.7232 ++	if test "$build_libtool_libs" = yes; then
 40.7233 ++	  # Building a libtool convenience library.
 40.7234 ++	  libext=al
 40.7235 ++	  oldlibs="$output_objdir/$libname.$libext $oldlibs"
 40.7236 ++	  build_libtool_libs=convenience
 40.7237 ++	  build_old_libs=yes
 40.7238 ++	fi
 40.7239 ++
 40.7240 ++	if test -n "$vinfo"; then
 40.7241 ++	  $echo "$modename: warning: \`-version-info' is ignored for convenience libraries" 1>&2
 40.7242 ++	fi
 40.7243 ++
 40.7244 ++	if test -n "$release"; then
 40.7245 ++	  $echo "$modename: warning: \`-release' is ignored for convenience libraries" 1>&2
 40.7246 ++	fi
 40.7247 ++      else
 40.7248 ++
 40.7249 ++	# Parse the version information argument.
 40.7250 ++	IFS="${IFS= 	}"; save_ifs="$IFS"; IFS=':'
 40.7251 ++	set dummy $vinfo 0 0 0
 40.7252 ++	IFS="$save_ifs"
 40.7253 ++
 40.7254 ++	if test -n "$8"; then
 40.7255 ++	  $echo "$modename: too many parameters to \`-version-info'" 1>&2
 40.7256 ++	  $echo "$help" 1>&2
 40.7257 ++	  exit 1
 40.7258 ++	fi
 40.7259 ++
 40.7260 ++	current="$2"
 40.7261 ++	revision="$3"
 40.7262 ++	age="$4"
 40.7263 ++
 40.7264 ++	# Check that each of the things are valid numbers.
 40.7265 ++	case $current in
 40.7266 ++	0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
 40.7267 ++	*)
 40.7268 ++	  $echo "$modename: CURRENT \`$current' is not a nonnegative integer" 1>&2
 40.7269 ++	  $echo "$modename: \`$vinfo' is not valid version information" 1>&2
 40.7270 ++	  exit 1
 40.7271 ++	  ;;
 40.7272 ++	esac
 40.7273 ++
 40.7274 ++	case $revision in
 40.7275 ++	0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
 40.7276 ++	*)
 40.7277 ++	  $echo "$modename: REVISION \`$revision' is not a nonnegative integer" 1>&2
 40.7278 ++	  $echo "$modename: \`$vinfo' is not valid version information" 1>&2
 40.7279 ++	  exit 1
 40.7280 ++	  ;;
 40.7281 ++	esac
 40.7282 ++
 40.7283 ++	case $age in
 40.7284 ++	0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
 40.7285 ++	*)
 40.7286 ++	  $echo "$modename: AGE \`$age' is not a nonnegative integer" 1>&2
 40.7287 ++	  $echo "$modename: \`$vinfo' is not valid version information" 1>&2
 40.7288 ++	  exit 1
 40.7289 ++	  ;;
 40.7290 ++	esac
 40.7291 ++
 40.7292 ++	if test $age -gt $current; then
 40.7293 ++	  $echo "$modename: AGE \`$age' is greater than the current interface number \`$current'" 1>&2
 40.7294 ++	  $echo "$modename: \`$vinfo' is not valid version information" 1>&2
 40.7295 ++	  exit 1
 40.7296 ++	fi
 40.7297 ++
 40.7298 ++	# Calculate the version variables.
 40.7299 ++	major=
 40.7300 ++	versuffix=
 40.7301 ++	verstring=
 40.7302 ++	case $version_type in
 40.7303 ++	none) ;;
 40.7304 ++
 40.7305 ++	darwin)
 40.7306 ++	  # Like Linux, but with the current version available in
 40.7307 ++	  # verstring for coding it into the library header
 40.7308 ++	  major=.`expr $current - $age`
 40.7309 ++	  versuffix="$major.$age.$revision"
 40.7310 ++	  # Darwin ld doesn't like 0 for these options...
 40.7311 ++	  minor_current=`expr $current + 1`
 40.7312 ++	  verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
 40.7313 ++	  ;;
 40.7314 ++
 40.7315 ++	freebsd-aout)
 40.7316 ++	  major=".$current"
 40.7317 ++	  versuffix=".$current.$revision";
 40.7318 ++	  ;;
 40.7319 ++
 40.7320 ++	freebsd-elf)
 40.7321 ++	  major=".$current"
 40.7322 ++	  versuffix=".$current";
 40.7323 ++	  ;;
 40.7324 ++
 40.7325 ++	irix)
 40.7326 ++	  major=`expr $current - $age + 1`
 40.7327 ++	  verstring="sgi$major.$revision"
 40.7328 ++
 40.7329 ++	  # Add in all the interfaces that we are compatible with.
 40.7330 ++	  loop=$revision
 40.7331 ++	  while test $loop != 0; do
 40.7332 ++	    iface=`expr $revision - $loop`
 40.7333 ++	    loop=`expr $loop - 1`
 40.7334 ++	    verstring="sgi$major.$iface:$verstring"
 40.7335 ++	  done
 40.7336 ++
 40.7337 ++	  # Before this point, $major must not contain `.'.
 40.7338 ++	  major=.$major
 40.7339 ++	  versuffix="$major.$revision"
 40.7340 ++	  ;;
 40.7341 ++
 40.7342 ++	linux)
 40.7343 ++	  major=.`expr $current - $age`
 40.7344 ++	  versuffix="$major.$age.$revision"
 40.7345 ++	  ;;
 40.7346 ++
 40.7347 ++	osf)
 40.7348 ++	  major=`expr $current - $age`
 40.7349 ++	  versuffix=".$current.$age.$revision"
 40.7350 ++	  verstring="$current.$age.$revision"
 40.7351 ++
 40.7352 ++	  # Add in all the interfaces that we are compatible with.
 40.7353 ++	  loop=$age
 40.7354 ++	  while test $loop != 0; do
 40.7355 ++	    iface=`expr $current - $loop`
 40.7356 ++	    loop=`expr $loop - 1`
 40.7357 ++	    verstring="$verstring:${iface}.0"
 40.7358 ++	  done
 40.7359 ++
 40.7360 ++	  # Make executables depend on our current version.
 40.7361 ++	  verstring="$verstring:${current}.0"
 40.7362 ++	  ;;
 40.7363 ++
 40.7364 ++	sunos)
 40.7365 ++	  major=".$current"
 40.7366 ++	  versuffix=".$current.$revision"
 40.7367 ++	  ;;
 40.7368 ++
 40.7369 ++	windows)
 40.7370 ++	  # Use '-' rather than '.', since we only want one
 40.7371 ++	  # extension on DOS 8.3 filesystems.
 40.7372 ++	  major=`expr $current - $age`
 40.7373 ++	  versuffix="-$major"
 40.7374 ++	  ;;
 40.7375 ++
 40.7376 ++	*)
 40.7377 ++	  $echo "$modename: unknown library version type \`$version_type'" 1>&2
 40.7378 ++	  echo "Fatal configuration error.  See the $PACKAGE docs for more information." 1>&2
 40.7379 ++	  exit 1
 40.7380 ++	  ;;
 40.7381 ++	esac
 40.7382 ++
 40.7383 ++	# Clear the version info if we defaulted, and they specified a release.
 40.7384 ++	if test -z "$vinfo" && test -n "$release"; then
 40.7385 ++	  major=
 40.7386 ++	  verstring="0.0"
 40.7387 ++	  if test "$need_version" = no; then
 40.7388 ++	    versuffix=
 40.7389 ++	  else
 40.7390 ++	    versuffix=".0.0"
 40.7391 ++	  fi
 40.7392 ++	fi
 40.7393 ++
 40.7394 ++	# Remove version info from name if versioning should be avoided
 40.7395 ++	if test "$avoid_version" = yes && test "$need_version" = no; then
 40.7396 ++	  major=
 40.7397 ++	  versuffix=
 40.7398 ++	  verstring=""
 40.7399 ++	fi
 40.7400 ++
 40.7401 ++	# Check to see if the archive will have undefined symbols.
 40.7402 ++	if test "$allow_undefined" = yes; then
 40.7403 ++	  if test "$allow_undefined_flag" = unsupported; then
 40.7404 ++	    $echo "$modename: warning: undefined symbols not allowed in $host shared libraries" 1>&2
 40.7405 ++	    build_libtool_libs=no
 40.7406 ++	    build_old_libs=yes
 40.7407 ++	  fi
 40.7408 ++	else
 40.7409 ++	  # Don't allow undefined symbols.
 40.7410 ++	  allow_undefined_flag="$no_undefined_flag"
 40.7411 ++	fi
 40.7412 ++      fi
 40.7413 ++
 40.7414 ++      if test "$mode" != relink; then
 40.7415 ++	# Remove our outputs.
 40.7416 ++	$show "${rm}r $output_objdir/$outputname $output_objdir/$libname.* $output_objdir/${libname}${release}.*"
 40.7417 ++	$run ${rm}r $output_objdir/$outputname $output_objdir/$libname.* $output_objdir/${libname}${release}.*
 40.7418 ++      fi
 40.7419 ++
 40.7420 ++      # Now set the variables for building old libraries.
 40.7421 ++      if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then
 40.7422 ++	oldlibs="$oldlibs $output_objdir/$libname.$libext"
 40.7423 ++
 40.7424 ++	# Transform .lo files to .o files.
 40.7425 ++	oldobjs="$objs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP`
 40.7426 ++      fi
 40.7427 ++
 40.7428 ++      # Eliminate all temporary directories.
 40.7429 ++      for path in $notinst_path; do
 40.7430 ++	lib_search_path=`echo "$lib_search_path " | sed -e 's% $path % %g'`
 40.7431 ++	deplibs=`echo "$deplibs " | sed -e 's% -L$path % %g'`
 40.7432 ++	dependency_libs=`echo "$dependency_libs " | sed -e 's% -L$path % %g'`
 40.7433 ++      done
 40.7434 ++
 40.7435 ++      if test -n "$xrpath"; then
 40.7436 ++	# If the user specified any rpath flags, then add them.
 40.7437 ++	temp_xrpath=
 40.7438 ++	for libdir in $xrpath; do
 40.7439 ++	  temp_xrpath="$temp_xrpath -R$libdir"
 40.7440 ++	  case "$finalize_rpath " in
 40.7441 ++	  *" $libdir "*) ;;
 40.7442 ++	  *) finalize_rpath="$finalize_rpath $libdir" ;;
 40.7443 ++	  esac
 40.7444 ++	done
 40.7445 ++	if test $hardcode_into_libs != yes || test $build_old_libs = yes; then
 40.7446 ++	  dependency_libs="$temp_xrpath $dependency_libs"
 40.7447 ++	fi
 40.7448 ++      fi
 40.7449 ++
 40.7450 ++      # Make sure dlfiles contains only unique files that won't be dlpreopened
 40.7451 ++      old_dlfiles="$dlfiles"
 40.7452 ++      dlfiles=
 40.7453 ++      for lib in $old_dlfiles; do
 40.7454 ++	case " $dlprefiles $dlfiles " in
 40.7455 ++	*" $lib "*) ;;
 40.7456 ++	*) dlfiles="$dlfiles $lib" ;;
 40.7457 ++	esac
 40.7458 ++      done
 40.7459 ++
 40.7460 ++      # Make sure dlprefiles contains only unique files
 40.7461 ++      old_dlprefiles="$dlprefiles"
 40.7462 ++      dlprefiles=
 40.7463 ++      for lib in $old_dlprefiles; do
 40.7464 ++	case "$dlprefiles " in
 40.7465 ++	*" $lib "*) ;;
 40.7466 ++	*) dlprefiles="$dlprefiles $lib" ;;
 40.7467 ++	esac
 40.7468 ++      done
 40.7469 ++
 40.7470 ++      if test "$build_libtool_libs" = yes; then
 40.7471 ++	if test -n "$rpath"; then
 40.7472 ++	  case $host in
 40.7473 ++	  *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*)
 40.7474 ++	    # these systems don't actually have a c library (as such)!
 40.7475 ++	    ;;
 40.7476 ++	  *-*-rhapsody* | *-*-darwin1.[012])
 40.7477 ++	    # Rhapsody C library is in the System framework
 40.7478 ++	    deplibs="$deplibs -framework System"
 40.7479 ++	    ;;
 40.7480 ++	  *-*-netbsd*)
 40.7481 ++	    # Don't link with libc until the a.out ld.so is fixed.
 40.7482 ++	    ;;
 40.7483 ++	  *)
 40.7484 ++	    # Add libc to deplibs on all other systems if necessary.
 40.7485 ++	    if test "$build_libtool_need_lc" = "yes"; then
 40.7486 ++	      deplibs="$deplibs -lc"
 40.7487 ++	    fi
 40.7488 ++	    ;;
 40.7489 ++	  esac
 40.7490 ++	fi
 40.7491 ++
 40.7492 ++	# Transform deplibs into only deplibs that can be linked in shared.
 40.7493 ++	name_save=$name
 40.7494 ++	libname_save=$libname
 40.7495 ++	release_save=$release
 40.7496 ++	versuffix_save=$versuffix
 40.7497 ++	major_save=$major
 40.7498 ++	# I'm not sure if I'm treating the release correctly.  I think
 40.7499 ++	# release should show up in the -l (ie -lgmp5) so we don't want to
 40.7500 ++	# add it in twice.  Is that correct?
 40.7501 ++	release=""
 40.7502 ++	versuffix=""
 40.7503 ++	major=""
 40.7504 ++	newdeplibs=
 40.7505 ++	droppeddeps=no
 40.7506 ++	case $deplibs_check_method in
 40.7507 ++	pass_all)
 40.7508 ++	  # Don't check for shared/static.  Everything works.
 40.7509 ++	  # This might be a little naive.  We might want to check
 40.7510 ++	  # whether the library exists or not.  But this is on
 40.7511 ++	  # osf3 & osf4 and I'm not really sure... Just
 40.7512 ++	  # implementing what was already the behaviour.
 40.7513 ++	  newdeplibs=$deplibs
 40.7514 ++	  ;;
 40.7515 ++	test_compile)
 40.7516 ++	  # This code stresses the "libraries are programs" paradigm to its
 40.7517 ++	  # limits. Maybe even breaks it.  We compile a program, linking it
 40.7518 ++	  # against the deplibs as a proxy for the library.  Then we can check
 40.7519 ++	  # whether they linked in statically or dynamically with ldd.
 40.7520 ++	  $rm conftest.c
 40.7521 ++	  cat > conftest.c <<EOF
 40.7522 ++	  int main() { return 0; }
 40.7523 ++EOF
 40.7524 ++	  $rm conftest
 40.7525 ++	  $CC -o conftest conftest.c $deplibs
 40.7526 ++	  if test $? -eq 0 ; then
 40.7527 ++	    ldd_output=`ldd conftest`
 40.7528 ++	    for i in $deplibs; do
 40.7529 ++	      name="`expr $i : '-l\(.*\)'`"
 40.7530 ++	      # If $name is empty we are operating on a -L argument.
 40.7531 ++	      if test -n "$name" && test "$name" != "0"; then
 40.7532 ++		libname=`eval \\$echo \"$libname_spec\"`
 40.7533 ++		deplib_matches=`eval \\$echo \"$library_names_spec\"`
 40.7534 ++		set dummy $deplib_matches
 40.7535 ++		deplib_match=$2
 40.7536 ++		if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
 40.7537 ++		  newdeplibs="$newdeplibs $i"
 40.7538 ++		else
 40.7539 ++		  droppeddeps=yes
 40.7540 ++		  echo
 40.7541 ++		  echo "*** Warning: This library needs some functionality provided by $i."
 40.7542 ++		  echo "*** I have the capability to make that library automatically link in when"
 40.7543 ++		  echo "*** you link to this library.  But I can only do this if you have a"
 40.7544 ++		  echo "*** shared version of the library, which you do not appear to have."
 40.7545 ++		fi
 40.7546 ++	      else
 40.7547 ++		newdeplibs="$newdeplibs $i"
 40.7548 ++	      fi
 40.7549 ++	    done
 40.7550 ++	  else
 40.7551 ++	    # Error occured in the first compile.  Let's try to salvage the situation:
 40.7552 ++	    # Compile a seperate program for each library.
 40.7553 ++	    for i in $deplibs; do
 40.7554 ++	      name="`expr $i : '-l\(.*\)'`"
 40.7555 ++	     # If $name is empty we are operating on a -L argument.
 40.7556 ++	      if test -n "$name" && test "$name" != "0"; then
 40.7557 ++		$rm conftest
 40.7558 ++		$CC -o conftest conftest.c $i
 40.7559 ++		# Did it work?
 40.7560 ++		if test $? -eq 0 ; then
 40.7561 ++		  ldd_output=`ldd conftest`
 40.7562 ++		  libname=`eval \\$echo \"$libname_spec\"`
 40.7563 ++		  deplib_matches=`eval \\$echo \"$library_names_spec\"`
 40.7564 ++		  set dummy $deplib_matches
 40.7565 ++		  deplib_match=$2
 40.7566 ++		  if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
 40.7567 ++		    newdeplibs="$newdeplibs $i"
 40.7568 ++		  else
 40.7569 ++		    droppeddeps=yes
 40.7570 ++		    echo
 40.7571 ++		    echo "*** Warning: This library needs some functionality provided by $i."
 40.7572 ++		    echo "*** I have the capability to make that library automatically link in when"
 40.7573 ++		    echo "*** you link to this library.  But I can only do this if you have a"
 40.7574 ++		    echo "*** shared version of the library, which you do not appear to have."
 40.7575 ++		  fi
 40.7576 ++		else
 40.7577 ++		  droppeddeps=yes
 40.7578 ++		  echo
 40.7579 ++		  echo "*** Warning!  Library $i is needed by this library but I was not able to"
 40.7580 ++		  echo "***  make it link in!  You will probably need to install it or some"
 40.7581 ++		  echo "*** library that it depends on before this library will be fully"
 40.7582 ++		  echo "*** functional.  Installing it before continuing would be even better."
 40.7583 ++		fi
 40.7584 ++	      else
 40.7585 ++		newdeplibs="$newdeplibs $i"
 40.7586 ++	      fi
 40.7587 ++	    done
 40.7588 ++	  fi
 40.7589 ++	  ;;
 40.7590 ++	file_magic*)
 40.7591 ++	  set dummy $deplibs_check_method
 40.7592 ++	  file_magic_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
 40.7593 ++	  for a_deplib in $deplibs; do
 40.7594 ++	    name="`expr $a_deplib : '-l\(.*\)'`"
 40.7595 ++	    # If $name is empty we are operating on a -L argument.
 40.7596 ++	    if test -n "$name" && test "$name" != "0"; then
 40.7597 ++	      libname=`eval \\$echo \"$libname_spec\"`
 40.7598 ++	      for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
 40.7599 ++		    potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
 40.7600 ++		    for potent_lib in $potential_libs; do
 40.7601 ++		      # Follow soft links.
 40.7602 ++		      if ls -lLd "$potent_lib" 2>/dev/null \
 40.7603 ++			 | grep " -> " >/dev/null; then
 40.7604 ++			continue
 40.7605 ++		      fi
 40.7606 ++		      # The statement above tries to avoid entering an
 40.7607 ++		      # endless loop below, in case of cyclic links.
 40.7608 ++		      # We might still enter an endless loop, since a link
 40.7609 ++		      # loop can be closed while we follow links,
 40.7610 ++		      # but so what?
 40.7611 ++		      potlib="$potent_lib"
 40.7612 ++		      while test -h "$potlib" 2>/dev/null; do
 40.7613 ++			potliblink=`ls -ld $potlib | sed 's/.* -> //'`
 40.7614 ++			case $potliblink in
 40.7615 ++			[\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";;
 40.7616 ++			*) potlib=`$echo "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";;
 40.7617 ++			esac
 40.7618 ++		      done
 40.7619 ++		      if eval $file_magic_cmd \"\$potlib\" 2>/dev/null \
 40.7620 ++			 | sed 10q \
 40.7621 ++			 | egrep "$file_magic_regex" > /dev/null; then
 40.7622 ++			newdeplibs="$newdeplibs $a_deplib"
 40.7623 ++			a_deplib=""
 40.7624 ++			break 2
 40.7625 ++		      fi
 40.7626 ++		    done
 40.7627 ++	      done
 40.7628 ++	      if test -n "$a_deplib" ; then
 40.7629 ++		droppeddeps=yes
 40.7630 ++		echo
 40.7631 ++		echo "*** Warning: This library needs some functionality provided by $a_deplib."
 40.7632 ++		echo "*** I have the capability to make that library automatically link in when"
 40.7633 ++		echo "*** you link to this library.  But I can only do this if you have a"
 40.7634 ++		echo "*** shared version of the library, which you do not appear to have."
 40.7635 ++	      fi
 40.7636 ++	    else
 40.7637 ++	      # Add a -L argument.
 40.7638 ++	      newdeplibs="$newdeplibs $a_deplib"
 40.7639 ++	    fi
 40.7640 ++	  done # Gone through all deplibs.
 40.7641 ++	  ;;
 40.7642 ++	match_pattern*)
 40.7643 ++	  set dummy $deplibs_check_method
 40.7644 ++	  match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
 40.7645 ++	  for a_deplib in $deplibs; do
 40.7646 ++	    name="`expr $a_deplib : '-l\(.*\)'`"
 40.7647 ++	    # If $name is empty we are operating on a -L argument.
 40.7648 ++	    if test -n "$name" && test "$name" != "0"; then
 40.7649 ++	      libname=`eval \\$echo \"$libname_spec\"`
 40.7650 ++	      for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
 40.7651 ++		potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
 40.7652 ++		for potent_lib in $potential_libs; do
 40.7653 ++		  if eval echo \"$potent_lib\" 2>/dev/null \
 40.7654 ++		      | sed 10q \
 40.7655 ++		      | egrep "$match_pattern_regex" > /dev/null; then
 40.7656 ++		    newdeplibs="$newdeplibs $a_deplib"
 40.7657 ++		    a_deplib=""
 40.7658 ++		    break 2
 40.7659 ++		  fi
 40.7660 ++		done
 40.7661 ++	      done
 40.7662 ++	      if test -n "$a_deplib" ; then
 40.7663 ++		droppeddeps=yes
 40.7664 ++		echo
 40.7665 ++		echo "*** Warning: This library needs some functionality provided by $a_deplib."
 40.7666 ++		echo "*** I have the capability to make that library automatically link in when"
 40.7667 ++		echo "*** you link to this library.  But I can only do this if you have a"
 40.7668 ++		echo "*** shared version of the library, which you do not appear to have."
 40.7669 ++	      fi
 40.7670 ++	    else
 40.7671 ++	      # Add a -L argument.
 40.7672 ++	      newdeplibs="$newdeplibs $a_deplib"
 40.7673 ++	    fi
 40.7674 ++	  done # Gone through all deplibs.
 40.7675 ++	  ;;
 40.7676 ++	none | unknown | *)
 40.7677 ++	  newdeplibs=""
 40.7678 ++	  if $echo "X $deplibs" | $Xsed -e 's/ -lc$//' \
 40.7679 ++	       -e 's/ -[LR][^ ]*//g' -e 's/[ 	]//g' |
 40.7680 ++	     grep . >/dev/null; then
 40.7681 ++	    echo
 40.7682 ++	    if test "X$deplibs_check_method" = "Xnone"; then
 40.7683 ++	      echo "*** Warning: inter-library dependencies are not supported in this platform."
 40.7684 ++	    else
 40.7685 ++	      echo "*** Warning: inter-library dependencies are not known to be supported."
 40.7686 ++	    fi
 40.7687 ++	    echo "*** All declared inter-library dependencies are being dropped."
 40.7688 ++	    droppeddeps=yes
 40.7689 ++	  fi
 40.7690 ++	  ;;
 40.7691 ++	esac
 40.7692 ++	versuffix=$versuffix_save
 40.7693 ++	major=$major_save
 40.7694 ++	release=$release_save
 40.7695 ++	libname=$libname_save
 40.7696 ++	name=$name_save
 40.7697 ++
 40.7698 ++	case $host in
 40.7699 ++	*-*-rhapsody* | *-*-darwin1.[012])
 40.7700 ++	  # On Rhapsody replace the C library is the System framework
 40.7701 ++	  newdeplibs=`$echo "X $newdeplibs" | $Xsed -e 's/ -lc / -framework System /'`
 40.7702 ++	  ;;
 40.7703 ++	esac
 40.7704 ++
 40.7705 ++	if test "$droppeddeps" = yes; then
 40.7706 ++	  if test "$module" = yes; then
 40.7707 ++	    echo
 40.7708 ++	    echo "*** Warning: libtool could not satisfy all declared inter-library"
 40.7709 ++	    echo "*** dependencies of module $libname.  Therefore, libtool will create"
 40.7710 ++	    echo "*** a static module, that should work as long as the dlopening"
 40.7711 ++	    echo "*** application is linked with the -dlopen flag."
 40.7712 ++	    if test -z "$global_symbol_pipe"; then
 40.7713 ++	      echo
 40.7714 ++	      echo "*** However, this would only work if libtool was able to extract symbol"
 40.7715 ++	      echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
 40.7716 ++	      echo "*** not find such a program.  So, this module is probably useless."
 40.7717 ++	      echo "*** \`nm' from GNU binutils and a full rebuild may help."
 40.7718 ++	    fi
 40.7719 ++	    if test "$build_old_libs" = no; then
 40.7720 ++	      oldlibs="$output_objdir/$libname.$libext"
 40.7721 ++	      build_libtool_libs=module
 40.7722 ++	      build_old_libs=yes
 40.7723 ++	    else
 40.7724 ++	      build_libtool_libs=no
 40.7725 ++	    fi
 40.7726 ++	  else
 40.7727 ++	    echo "*** The inter-library dependencies that have been dropped here will be"
 40.7728 ++	    echo "*** automatically added whenever a program is linked with this library"
 40.7729 ++	    echo "*** or is declared to -dlopen it."
 40.7730 ++
 40.7731 ++	    if test $allow_undefined = no; then
 40.7732 ++	      echo
 40.7733 ++	      echo "*** Since this library must not contain undefined symbols,"
 40.7734 ++	      echo "*** because either the platform does not support them or"
 40.7735 ++	      echo "*** it was explicitly requested with -no-undefined,"
 40.7736 ++	      echo "*** libtool will only create a static version of it."
 40.7737 ++	      if test "$build_old_libs" = no; then
 40.7738 ++		oldlibs="$output_objdir/$libname.$libext"
 40.7739 ++		build_libtool_libs=module
 40.7740 ++		build_old_libs=yes
 40.7741 ++	      else
 40.7742 ++		build_libtool_libs=no
 40.7743 ++	      fi
 40.7744 ++	    fi
 40.7745 ++	  fi
 40.7746 ++	fi
 40.7747 ++	# Done checking deplibs!
 40.7748 ++	deplibs=$newdeplibs
 40.7749 ++      fi
 40.7750 ++
 40.7751 ++      # All the library-specific variables (install_libdir is set above).
 40.7752 ++      library_names=
 40.7753 ++      old_library=
 40.7754 ++      dlname=
 40.7755 ++
 40.7756 ++      # Test again, we may have decided not to build it any more
 40.7757 ++      if test "$build_libtool_libs" = yes; then
 40.7758 ++	if test "$hardcode_into_libs" = yes; then
 40.7759 ++	  # Hardcode the library paths
 40.7760 ++	  hardcode_libdirs=
 40.7761 ++	  dep_rpath=
 40.7762 ++	  rpath="$finalize_rpath"
 40.7763 ++	  test "$mode" != relink && rpath="$compile_rpath$rpath"
 40.7764 ++	  for libdir in $rpath; do
 40.7765 ++	    if test -n "$hardcode_libdir_flag_spec"; then
 40.7766 ++	      if test -n "$hardcode_libdir_separator"; then
 40.7767 ++		if test -z "$hardcode_libdirs"; then
 40.7768 ++		  hardcode_libdirs="$libdir"
 40.7769 ++		else
 40.7770 ++		  # Just accumulate the unique libdirs.
 40.7771 ++		  case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
 40.7772 ++		  *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
 40.7773 ++		    ;;
 40.7774 ++		  *)
 40.7775 ++		    hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
 40.7776 ++		    ;;
 40.7777 ++		  esac
 40.7778 ++		fi
 40.7779 ++	      else
 40.7780 ++		eval flag=\"$hardcode_libdir_flag_spec\"
 40.7781 ++		dep_rpath="$dep_rpath $flag"
 40.7782 ++	      fi
 40.7783 ++	    elif test -n "$runpath_var"; then
 40.7784 ++	      case "$perm_rpath " in
 40.7785 ++	      *" $libdir "*) ;;
 40.7786 ++	      *) perm_rpath="$perm_rpath $libdir" ;;
 40.7787 ++	      esac
 40.7788 ++	    fi
 40.7789 ++	  done
 40.7790 ++	  # Substitute the hardcoded libdirs into the rpath.
 40.7791 ++	  if test -n "$hardcode_libdir_separator" &&
 40.7792 ++	     test -n "$hardcode_libdirs"; then
 40.7793 ++	    libdir="$hardcode_libdirs"
 40.7794 ++	    eval dep_rpath=\"$hardcode_libdir_flag_spec\"
 40.7795 ++	  fi
 40.7796 ++	  if test -n "$runpath_var" && test -n "$perm_rpath"; then
 40.7797 ++	    # We should set the runpath_var.
 40.7798 ++	    rpath=
 40.7799 ++	    for dir in $perm_rpath; do
 40.7800 ++	      rpath="$rpath$dir:"
 40.7801 ++	    done
 40.7802 ++	    eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var"
 40.7803 ++	  fi
 40.7804 ++	  test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs"
 40.7805 ++	fi
 40.7806 ++
 40.7807 ++	shlibpath="$finalize_shlibpath"
 40.7808 ++	test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath"
 40.7809 ++	if test -n "$shlibpath"; then
 40.7810 ++	  eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var"
 40.7811 ++	fi
 40.7812 ++
 40.7813 ++	# Get the real and link names of the library.
 40.7814 ++	eval library_names=\"$library_names_spec\"
 40.7815 ++	set dummy $library_names
 40.7816 ++	realname="$2"
 40.7817 ++	shift; shift
 40.7818 ++
 40.7819 ++	if test -n "$soname_spec"; then
 40.7820 ++	  eval soname=\"$soname_spec\"
 40.7821 ++	else
 40.7822 ++	  soname="$realname"
 40.7823 ++	fi
 40.7824 ++	test -z "$dlname" && dlname=$soname
 40.7825 ++
 40.7826 ++	lib="$output_objdir/$realname"
 40.7827 ++	for link
 40.7828 ++	do
 40.7829 ++	  linknames="$linknames $link"
 40.7830 ++	done
 40.7831 ++
 40.7832 ++	# Ensure that we have .o objects for linkers which dislike .lo
 40.7833 ++	# (e.g. aix) in case we are running --disable-static
 40.7834 ++	for obj in $libobjs; do
 40.7835 ++	  xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'`
 40.7836 ++	  if test "X$xdir" = "X$obj"; then
 40.7837 ++	    xdir="."
 40.7838 ++	  else
 40.7839 ++	    xdir="$xdir"
 40.7840 ++	  fi
 40.7841 ++	  baseobj=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
 40.7842 ++	  oldobj=`$echo "X$baseobj" | $Xsed -e "$lo2o"`
 40.7843 ++	  if test ! -f $xdir/$oldobj; then
 40.7844 ++	    $show "(cd $xdir && ${LN_S} $baseobj $oldobj)"
 40.7845 ++	    $run eval '(cd $xdir && ${LN_S} $baseobj $oldobj)' || exit $?
 40.7846 ++	  fi
 40.7847 ++	done
 40.7848 ++
 40.7849 ++	# Use standard objects if they are pic
 40.7850 ++	test -z "$pic_flag" && libobjs=`$echo "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
 40.7851 ++
 40.7852 ++	# Prepare the list of exported symbols
 40.7853 ++	if test -z "$export_symbols"; then
 40.7854 ++	  if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then
 40.7855 ++	    $show "generating symbol list for \`$libname.la'"
 40.7856 ++	    export_symbols="$output_objdir/$libname.exp"
 40.7857 ++	    $run $rm $export_symbols
 40.7858 ++	    eval cmds=\"$export_symbols_cmds\"
 40.7859 ++	    IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
 40.7860 ++	    for cmd in $cmds; do
 40.7861 ++	      IFS="$save_ifs"
 40.7862 ++	      $show "$cmd"
 40.7863 ++	      $run eval "$cmd" || exit $?
 40.7864 ++	    done
 40.7865 ++	    IFS="$save_ifs"
 40.7866 ++	    if test -n "$export_symbols_regex"; then
 40.7867 ++	      $show "egrep -e \"$export_symbols_regex\" \"$export_symbols\" > \"${export_symbols}T\""
 40.7868 ++	      $run eval 'egrep -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
 40.7869 ++	      $show "$mv \"${export_symbols}T\" \"$export_symbols\""
 40.7870 ++	      $run eval '$mv "${export_symbols}T" "$export_symbols"'
 40.7871 ++	    fi
 40.7872 ++	  fi
 40.7873 ++	fi
 40.7874 ++
 40.7875 ++	if test -n "$export_symbols" && test -n "$include_expsyms"; then
 40.7876 ++	  $run eval '$echo "X$include_expsyms" | $SP2NL >> "$export_symbols"'
 40.7877 ++	fi
 40.7878 ++
 40.7879 ++	if test -n "$convenience"; then
 40.7880 ++	  if test -n "$whole_archive_flag_spec"; then
 40.7881 ++	    eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
 40.7882 ++	  else
 40.7883 ++	    gentop="$output_objdir/${outputname}x"
 40.7884 ++	    $show "${rm}r $gentop"
 40.7885 ++	    $run ${rm}r "$gentop"
 40.7886 ++	    $show "mkdir $gentop"
 40.7887 ++	    $run mkdir "$gentop"
 40.7888 ++	    status=$?
 40.7889 ++	    if test $status -ne 0 && test ! -d "$gentop"; then
 40.7890 ++	      exit $status
 40.7891 ++	    fi
 40.7892 ++	    generated="$generated $gentop"
 40.7893 ++
 40.7894 ++	    for xlib in $convenience; do
 40.7895 ++	      # Extract the objects.
 40.7896 ++	      case $xlib in
 40.7897 ++	      [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
 40.7898 ++	      *) xabs=`pwd`"/$xlib" ;;
 40.7899 ++	      esac
 40.7900 ++	      xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'`
 40.7901 ++	      xdir="$gentop/$xlib"
 40.7902 ++
 40.7903 ++	      $show "${rm}r $xdir"
 40.7904 ++	      $run ${rm}r "$xdir"
 40.7905 ++	      $show "mkdir $xdir"
 40.7906 ++	      $run mkdir "$xdir"
 40.7907 ++	      status=$?
 40.7908 ++	      if test $status -ne 0 && test ! -d "$xdir"; then
 40.7909 ++		exit $status
 40.7910 ++	      fi
 40.7911 ++	      $show "(cd $xdir && $AR x $xabs)"
 40.7912 ++	      $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
 40.7913 ++
 40.7914 ++	      libobjs="$libobjs "`find $xdir -name \*.o -print -o -name \*.lo -print | $NL2SP`
 40.7915 ++	    done
 40.7916 ++	  fi
 40.7917 ++	fi
 40.7918 ++
 40.7919 ++	if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
 40.7920 ++	  eval flag=\"$thread_safe_flag_spec\"
 40.7921 ++	  linker_flags="$linker_flags $flag"
 40.7922 ++	fi
 40.7923 ++
 40.7924 ++	# Make a backup of the uninstalled library when relinking
 40.7925 ++	if test "$mode" = relink; then
 40.7926 ++	  $run eval '(cd $output_objdir && $rm ${realname}U && $mv $realname ${realname}U)' || exit $?
 40.7927 ++	fi
 40.7928 ++
 40.7929 ++	# Do each of the archive commands.
 40.7930 ++	if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
 40.7931 ++	  eval cmds=\"$archive_expsym_cmds\"
 40.7932 ++	else
 40.7933 ++	  eval cmds=\"$archive_cmds\"
 40.7934 ++	fi
 40.7935 ++	IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
 40.7936 ++	for cmd in $cmds; do
 40.7937 ++	  IFS="$save_ifs"
 40.7938 ++	  $show "$cmd"
 40.7939 ++	  $run eval "$cmd" || exit $?
 40.7940 ++	done
 40.7941 ++	IFS="$save_ifs"
 40.7942 ++
 40.7943 ++	# Restore the uninstalled library and exit
 40.7944 ++	if test "$mode" = relink; then
 40.7945 ++	  $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $?
 40.7946 ++	  exit 0
 40.7947 ++	fi
 40.7948 ++
 40.7949 ++	# Create links to the real library.
 40.7950 ++	for linkname in $linknames; do
 40.7951 ++	  if test "$realname" != "$linkname"; then
 40.7952 ++	    $show "(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)"
 40.7953 ++	    $run eval '(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)' || exit $?
 40.7954 ++	  fi
 40.7955 ++	done
 40.7956 ++
 40.7957 ++	# If -module or -export-dynamic was specified, set the dlname.
 40.7958 ++	if test "$module" = yes || test "$export_dynamic" = yes; then
 40.7959 ++	  # On all known operating systems, these are identical.
 40.7960 ++	  dlname="$soname"
 40.7961 ++	fi
 40.7962 ++      fi
 40.7963 ++      ;;
 40.7964 ++
 40.7965 ++    obj)
 40.7966 ++      if test -n "$deplibs"; then
 40.7967 ++	$echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2
 40.7968 ++      fi
 40.7969 ++
 40.7970 ++      if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
 40.7971 ++	$echo "$modename: warning: \`-dlopen' is ignored for objects" 1>&2
 40.7972 ++      fi
 40.7973 ++
 40.7974 ++      if test -n "$rpath"; then
 40.7975 ++	$echo "$modename: warning: \`-rpath' is ignored for objects" 1>&2
 40.7976 ++      fi
 40.7977 ++
 40.7978 ++      if test -n "$xrpath"; then
 40.7979 ++	$echo "$modename: warning: \`-R' is ignored for objects" 1>&2
 40.7980 ++      fi
 40.7981 ++
 40.7982 ++      if test -n "$vinfo"; then
 40.7983 ++	$echo "$modename: warning: \`-version-info' is ignored for objects" 1>&2
 40.7984 ++      fi
 40.7985 ++
 40.7986 ++      if test -n "$release"; then
 40.7987 ++	$echo "$modename: warning: \`-release' is ignored for objects" 1>&2
 40.7988 ++      fi
 40.7989 ++
 40.7990 ++      case $output in
 40.7991 ++      *.lo)
 40.7992 ++	if test -n "$objs$old_deplibs"; then
 40.7993 ++	  $echo "$modename: cannot build library object \`$output' from non-libtool objects" 1>&2
 40.7994 ++	  exit 1
 40.7995 ++	fi
 40.7996 ++	libobj="$output"
 40.7997 ++	obj=`$echo "X$output" | $Xsed -e "$lo2o"`
 40.7998 ++	;;
 40.7999 ++      *)
 40.8000 ++	libobj=
 40.8001 ++	obj="$output"
 40.8002 ++	;;
 40.8003 ++      esac
 40.8004 ++
 40.8005 ++      # Delete the old objects.
 40.8006 ++      $run $rm $obj $libobj
 40.8007 ++
 40.8008 ++      # Objects from convenience libraries.  This assumes
 40.8009 ++      # single-version convenience libraries.  Whenever we create
 40.8010 ++      # different ones for PIC/non-PIC, this we'll have to duplicate
 40.8011 ++      # the extraction.
 40.8012 ++      reload_conv_objs=
 40.8013 ++      gentop=
 40.8014 ++      # reload_cmds runs $LD directly, so let us get rid of
 40.8015 ++      # -Wl from whole_archive_flag_spec
 40.8016 ++      wl=
 40.8017 ++
 40.8018 ++      if test -n "$convenience"; then
 40.8019 ++	if test -n "$whole_archive_flag_spec"; then
 40.8020 ++	  eval reload_conv_objs=\"\$reload_objs $whole_archive_flag_spec\"
 40.8021 ++	else
 40.8022 ++	  gentop="$output_objdir/${obj}x"
 40.8023 ++	  $show "${rm}r $gentop"
 40.8024 ++	  $run ${rm}r "$gentop"
 40.8025 ++	  $show "mkdir $gentop"
 40.8026 ++	  $run mkdir "$gentop"
 40.8027 ++	  status=$?
 40.8028 ++	  if test $status -ne 0 && test ! -d "$gentop"; then
 40.8029 ++	    exit $status
 40.8030 ++	  fi
 40.8031 ++	  generated="$generated $gentop"
 40.8032 ++
 40.8033 ++	  for xlib in $convenience; do
 40.8034 ++	    # Extract the objects.
 40.8035 ++	    case $xlib in
 40.8036 ++	    [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
 40.8037 ++	    *) xabs=`pwd`"/$xlib" ;;
 40.8038 ++	    esac
 40.8039 ++	    xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'`
 40.8040 ++	    xdir="$gentop/$xlib"
 40.8041 ++
 40.8042 ++	    $show "${rm}r $xdir"
 40.8043 ++	    $run ${rm}r "$xdir"
 40.8044 ++	    $show "mkdir $xdir"
 40.8045 ++	    $run mkdir "$xdir"
 40.8046 ++	    status=$?
 40.8047 ++	    if test $status -ne 0 && test ! -d "$xdir"; then
 40.8048 ++	      exit $status
 40.8049 ++	    fi
 40.8050 ++	    $show "(cd $xdir && $AR x $xabs)"
 40.8051 ++	    $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
 40.8052 ++
 40.8053 ++	    reload_conv_objs="$reload_objs "`find $xdir -name \*.o -print -o -name \*.lo -print | $NL2SP`
 40.8054 ++	  done
 40.8055 ++	fi
 40.8056 ++      fi
 40.8057 ++
 40.8058 ++      # Create the old-style object.
 40.8059 ++      reload_objs="$objs$old_deplibs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test
 40.8060 ++
 40.8061 ++      output="$obj"
 40.8062 ++      eval cmds=\"$reload_cmds\"
 40.8063 ++      IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
 40.8064 ++      for cmd in $cmds; do
 40.8065 ++	IFS="$save_ifs"
 40.8066 ++	$show "$cmd"
 40.8067 ++	$run eval "$cmd" || exit $?
 40.8068 ++      done
 40.8069 ++      IFS="$save_ifs"
 40.8070 ++
 40.8071 ++      # Exit if we aren't doing a library object file.
 40.8072 ++      if test -z "$libobj"; then
 40.8073 ++	if test -n "$gentop"; then
 40.8074 ++	  $show "${rm}r $gentop"
 40.8075 ++	  $run ${rm}r $gentop
 40.8076 ++	fi
 40.8077 ++
 40.8078 ++	exit 0
 40.8079 ++      fi
 40.8080 ++
 40.8081 ++      if test "$build_libtool_libs" != yes; then
 40.8082 ++	if test -n "$gentop"; then
 40.8083 ++	  $show "${rm}r $gentop"
 40.8084 ++	  $run ${rm}r $gentop
 40.8085 ++	fi
 40.8086 ++
 40.8087 ++	# Create an invalid libtool object if no PIC, so that we don't
 40.8088 ++	# accidentally link it into a program.
 40.8089 ++	$show "echo timestamp > $libobj"
 40.8090 ++	$run eval "echo timestamp > $libobj" || exit $?
 40.8091 ++	exit 0
 40.8092 ++      fi
 40.8093 ++
 40.8094 ++      if test -n "$pic_flag" || test "$pic_mode" != default; then
 40.8095 ++	# Only do commands if we really have different PIC objects.
 40.8096 ++	reload_objs="$libobjs $reload_conv_objs"
 40.8097 ++	output="$libobj"
 40.8098 ++	eval cmds=\"$reload_cmds\"
 40.8099 ++	IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
 40.8100 ++	for cmd in $cmds; do
 40.8101 ++	  IFS="$save_ifs"
 40.8102 ++	  $show "$cmd"
 40.8103 ++	  $run eval "$cmd" || exit $?
 40.8104 ++	done
 40.8105 ++	IFS="$save_ifs"
 40.8106 ++      else
 40.8107 ++	# Just create a symlink.
 40.8108 ++	$show $rm $libobj
 40.8109 ++	$run $rm $libobj
 40.8110 ++	xdir=`$echo "X$libobj" | $Xsed -e 's%/[^/]*$%%'`
 40.8111 ++	if test "X$xdir" = "X$libobj"; then
 40.8112 ++	  xdir="."
 40.8113 ++	else
 40.8114 ++	  xdir="$xdir"
 40.8115 ++	fi
 40.8116 ++	baseobj=`$echo "X$libobj" | $Xsed -e 's%^.*/%%'`
 40.8117 ++	oldobj=`$echo "X$baseobj" | $Xsed -e "$lo2o"`
 40.8118 ++	$show "(cd $xdir && $LN_S $oldobj $baseobj)"
 40.8119 ++	$run eval '(cd $xdir && $LN_S $oldobj $baseobj)' || exit $?
 40.8120 ++      fi
 40.8121 ++
 40.8122 ++      if test -n "$gentop"; then
 40.8123 ++	$show "${rm}r $gentop"
 40.8124 ++	$run ${rm}r $gentop
 40.8125 ++      fi
 40.8126 ++
 40.8127 ++      exit 0
 40.8128 ++      ;;
 40.8129 ++
 40.8130 ++    prog)
 40.8131 ++      case $host in
 40.8132 ++	*cygwin*) output=`echo $output | sed -e 's,.exe$,,;s,$,.exe,'` ;;
 40.8133 ++      esac
 40.8134 ++      if test -n "$vinfo"; then
 40.8135 ++	$echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2
 40.8136 ++      fi
 40.8137 ++
 40.8138 ++      if test -n "$release"; then
 40.8139 ++	$echo "$modename: warning: \`-release' is ignored for programs" 1>&2
 40.8140 ++      fi
 40.8141 ++
 40.8142 ++      if test "$preload" = yes; then
 40.8143 ++	if test "$dlopen_support" = unknown && test "$dlopen_self" = unknown &&
 40.8144 ++	   test "$dlopen_self_static" = unknown; then
 40.8145 ++	  $echo "$modename: warning: \`AC_LIBTOOL_DLOPEN' not used. Assuming no dlopen support."
 40.8146 ++	fi
 40.8147 ++      fi
 40.8148 ++
 40.8149 ++      case $host in
 40.8150 ++      *-*-rhapsody* | *-*-darwin1.[012])
 40.8151 ++	# On Rhapsody replace the C library is the System framework
 40.8152 ++	compile_deplibs=`$echo "X $compile_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
 40.8153 ++	finalize_deplibs=`$echo "X $finalize_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
 40.8154 ++	;;
 40.8155 ++      esac
 40.8156 ++
 40.8157 ++      compile_command="$compile_command $compile_deplibs"
 40.8158 ++      finalize_command="$finalize_command $finalize_deplibs"
 40.8159 ++
 40.8160 ++      if test -n "$rpath$xrpath"; then
 40.8161 ++	# If the user specified any rpath flags, then add them.
 40.8162 ++	for libdir in $rpath $xrpath; do
 40.8163 ++	  # This is the magic to use -rpath.
 40.8164 ++	  case "$finalize_rpath " in
 40.8165 ++	  *" $libdir "*) ;;
 40.8166 ++	  *) finalize_rpath="$finalize_rpath $libdir" ;;
 40.8167 ++	  esac
 40.8168 ++	done
 40.8169 ++      fi
 40.8170 ++
 40.8171 ++      # Now hardcode the library paths
 40.8172 ++      rpath=
 40.8173 ++      hardcode_libdirs=
 40.8174 ++      for libdir in $compile_rpath $finalize_rpath; do
 40.8175 ++	if test -n "$hardcode_libdir_flag_spec"; then
 40.8176 ++	  if test -n "$hardcode_libdir_separator"; then
 40.8177 ++	    if test -z "$hardcode_libdirs"; then
 40.8178 ++	      hardcode_libdirs="$libdir"
 40.8179 ++	    else
 40.8180 ++	      # Just accumulate the unique libdirs.
 40.8181 ++	      case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
 40.8182 ++	      *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
 40.8183 ++		;;
 40.8184 ++	      *)
 40.8185 ++		hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
 40.8186 ++		;;
 40.8187 ++	      esac
 40.8188 ++	    fi
 40.8189 ++	  else
 40.8190 ++	    eval flag=\"$hardcode_libdir_flag_spec\"
 40.8191 ++	    rpath="$rpath $flag"
 40.8192 ++	  fi
 40.8193 ++	elif test -n "$runpath_var"; then
 40.8194 ++	  case "$perm_rpath " in
 40.8195 ++	  *" $libdir "*) ;;
 40.8196 ++	  *) perm_rpath="$perm_rpath $libdir" ;;
 40.8197 ++	  esac
 40.8198 ++	fi
 40.8199 ++	case $host in
 40.8200 ++	*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
 40.8201 ++	  case :$dllsearchpath: in
 40.8202 ++	  *":$libdir:"*) ;;
 40.8203 ++	  *) dllsearchpath="$dllsearchpath:$libdir";;
 40.8204 ++	  esac
 40.8205 ++	  ;;
 40.8206 ++	esac
 40.8207 ++      done
 40.8208 ++      # Substitute the hardcoded libdirs into the rpath.
 40.8209 ++      if test -n "$hardcode_libdir_separator" &&
 40.8210 ++	 test -n "$hardcode_libdirs"; then
 40.8211 ++	libdir="$hardcode_libdirs"
 40.8212 ++	eval rpath=\" $hardcode_libdir_flag_spec\"
 40.8213 ++      fi
 40.8214 ++      compile_rpath="$rpath"
 40.8215 ++
 40.8216 ++      rpath=
 40.8217 ++      hardcode_libdirs=
 40.8218 ++      for libdir in $finalize_rpath; do
 40.8219 ++	if test -n "$hardcode_libdir_flag_spec"; then
 40.8220 ++	  if test -n "$hardcode_libdir_separator"; then
 40.8221 ++	    if test -z "$hardcode_libdirs"; then
 40.8222 ++	      hardcode_libdirs="$libdir"
 40.8223 ++	    else
 40.8224 ++	      # Just accumulate the unique libdirs.
 40.8225 ++	      case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
 40.8226 ++	      *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
 40.8227 ++		;;
 40.8228 ++	      *)
 40.8229 ++		hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
 40.8230 ++		;;
 40.8231 ++	      esac
 40.8232 ++	    fi
 40.8233 ++	  else
 40.8234 ++	    eval flag=\"$hardcode_libdir_flag_spec\"
 40.8235 ++	    rpath="$rpath $flag"
 40.8236 ++	  fi
 40.8237 ++	elif test -n "$runpath_var"; then
 40.8238 ++	  case "$finalize_perm_rpath " in
 40.8239 ++	  *" $libdir "*) ;;
 40.8240 ++	  *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;;
 40.8241 ++	  esac
 40.8242 ++	fi
 40.8243 ++      done
 40.8244 ++      # Substitute the hardcoded libdirs into the rpath.
 40.8245 ++      if test -n "$hardcode_libdir_separator" &&
 40.8246 ++	 test -n "$hardcode_libdirs"; then
 40.8247 ++	libdir="$hardcode_libdirs"
 40.8248 ++	eval rpath=\" $hardcode_libdir_flag_spec\"
 40.8249 ++      fi
 40.8250 ++      finalize_rpath="$rpath"
 40.8251 ++
 40.8252 ++      if test -n "$libobjs" && test "$build_old_libs" = yes; then
 40.8253 ++	# Transform all the library objects into standard objects.
 40.8254 ++	compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
 40.8255 ++	finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
 40.8256 ++      fi
 40.8257 ++
 40.8258 ++      dlsyms=
 40.8259 ++      if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
 40.8260 ++	if test -n "$NM" && test -n "$global_symbol_pipe"; then
 40.8261 ++	  dlsyms="${outputname}S.c"
 40.8262 ++	else
 40.8263 ++	  $echo "$modename: not configured to extract global symbols from dlpreopened files" 1>&2
 40.8264 ++	fi
 40.8265 ++      fi
 40.8266 ++
 40.8267 ++      if test -n "$dlsyms"; then
 40.8268 ++	case $dlsyms in
 40.8269 ++	"") ;;
 40.8270 ++	*.c)
 40.8271 ++	  # Discover the nlist of each of the dlfiles.
 40.8272 ++	  nlist="$output_objdir/${outputname}.nm"
 40.8273 ++
 40.8274 ++	  $show "$rm $nlist ${nlist}S ${nlist}T"
 40.8275 ++	  $run $rm "$nlist" "${nlist}S" "${nlist}T"
 40.8276 ++
 40.8277 ++	  # Parse the name list into a source file.
 40.8278 ++	  $show "creating $output_objdir/$dlsyms"
 40.8279 ++
 40.8280 ++	  test -z "$run" && $echo > "$output_objdir/$dlsyms" "\
 40.8281 ++/* $dlsyms - symbol resolution table for \`$outputname' dlsym emulation. */
 40.8282 ++/* Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP */
 40.8283 ++
 40.8284 ++#ifdef __cplusplus
 40.8285 ++extern \"C\" {
 40.8286 ++#endif
 40.8287 ++
 40.8288 ++/* Prevent the only kind of declaration conflicts we can make. */
 40.8289 ++#define lt_preloaded_symbols some_other_symbol
 40.8290 ++
 40.8291 ++/* External symbol declarations for the compiler. */\
 40.8292 ++"
 40.8293 ++
 40.8294 ++	  if test "$dlself" = yes; then
 40.8295 ++	    $show "generating symbol list for \`$output'"
 40.8296 ++
 40.8297 ++	    test -z "$run" && $echo ': @PROGRAM@ ' > "$nlist"
 40.8298 ++
 40.8299 ++	    # Add our own program objects to the symbol list.
 40.8300 ++	    progfiles=`$echo "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
 40.8301 ++	    for arg in $progfiles; do
 40.8302 ++	      $show "extracting global C symbols from \`$arg'"
 40.8303 ++	      $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'"
 40.8304 ++	    done
 40.8305 ++
 40.8306 ++	    if test -n "$exclude_expsyms"; then
 40.8307 ++	      $run eval 'egrep -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T'
 40.8308 ++	      $run eval '$mv "$nlist"T "$nlist"'
 40.8309 ++	    fi
 40.8310 ++
 40.8311 ++	    if test -n "$export_symbols_regex"; then
 40.8312 ++	      $run eval 'egrep -e "$export_symbols_regex" "$nlist" > "$nlist"T'
 40.8313 ++	      $run eval '$mv "$nlist"T "$nlist"'
 40.8314 ++	    fi
 40.8315 ++
 40.8316 ++	    # Prepare the list of exported symbols
 40.8317 ++	    if test -z "$export_symbols"; then
 40.8318 ++	      export_symbols="$output_objdir/$output.exp"
 40.8319 ++	      $run $rm $export_symbols
 40.8320 ++	      $run eval "sed -n -e '/^: @PROGRAM@$/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
 40.8321 ++	    else
 40.8322 ++	      $run eval "sed -e 's/\([][.*^$]\)/\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$output.exp"'
 40.8323 ++	      $run eval 'grep -f "$output_objdir/$output.exp" < "$nlist" > "$nlist"T'
 40.8324 ++	      $run eval 'mv "$nlist"T "$nlist"'
 40.8325 ++	    fi
 40.8326 ++	  fi
 40.8327 ++
 40.8328 ++	  for arg in $dlprefiles; do
 40.8329 ++	    $show "extracting global C symbols from \`$arg'"
 40.8330 ++	    name=`echo "$arg" | sed -e 's%^.*/%%'`
 40.8331 ++	    $run eval 'echo ": $name " >> "$nlist"'
 40.8332 ++	    $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'"
 40.8333 ++	  done
 40.8334 ++
 40.8335 ++	  if test -z "$run"; then
 40.8336 ++	    # Make sure we have at least an empty file.
 40.8337 ++	    test -f "$nlist" || : > "$nlist"
 40.8338 ++
 40.8339 ++	    if test -n "$exclude_expsyms"; then
 40.8340 ++	      egrep -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T
 40.8341 ++	      $mv "$nlist"T "$nlist"
 40.8342 ++	    fi
 40.8343 ++
 40.8344 ++	    # Try sorting and uniquifying the output.
 40.8345 ++	    if grep -v "^: " < "$nlist" | sort +2 | uniq > "$nlist"S; then
 40.8346 ++	      :
 40.8347 ++	    else
 40.8348 ++	      grep -v "^: " < "$nlist" > "$nlist"S
 40.8349 ++	    fi
 40.8350 ++
 40.8351 ++	    if test -f "$nlist"S; then
 40.8352 ++	      eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$dlsyms"'
 40.8353 ++	    else
 40.8354 ++	      echo '/* NONE */' >> "$output_objdir/$dlsyms"
 40.8355 ++	    fi
 40.8356 ++
 40.8357 ++	    $echo >> "$output_objdir/$dlsyms" "\
 40.8358 ++
 40.8359 ++#undef lt_preloaded_symbols
 40.8360 ++
 40.8361 ++#if defined (__STDC__) && __STDC__
 40.8362 ++# define lt_ptr_t void *
 40.8363 ++#else
 40.8364 ++# define lt_ptr_t char *
 40.8365 ++# define const
 40.8366 ++#endif
 40.8367 ++
 40.8368 ++/* The mapping between symbol names and symbols. */
 40.8369 ++const struct {
 40.8370 ++  const char *name;
 40.8371 ++  lt_ptr_t address;
 40.8372 ++}
 40.8373 ++lt_preloaded_symbols[] =
 40.8374 ++{\
 40.8375 ++"
 40.8376 ++
 40.8377 ++	    sed -n -e 's/^: \([^ ]*\) $/  {\"\1\", (lt_ptr_t) 0},/p' \
 40.8378 ++		-e 's/^. \([^ ]*\) \([^ ]*\)$/  {"\2", (lt_ptr_t) \&\2},/p' \
 40.8379 ++		  < "$nlist" >> "$output_objdir/$dlsyms"
 40.8380 ++
 40.8381 ++	    $echo >> "$output_objdir/$dlsyms" "\
 40.8382 ++  {0, (lt_ptr_t) 0}
 40.8383 ++};
 40.8384 ++
 40.8385 ++/* This works around a problem in FreeBSD linker */
 40.8386 ++#ifdef FREEBSD_WORKAROUND
 40.8387 ++static const void *lt_preloaded_setup() {
 40.8388 ++  return lt_preloaded_symbols;
 40.8389 ++}
 40.8390 ++#endif
 40.8391 ++
 40.8392 ++#ifdef __cplusplus
 40.8393 ++}
 40.8394 ++#endif\
 40.8395 ++"
 40.8396 ++	  fi
 40.8397 ++
 40.8398 ++	  pic_flag_for_symtable=
 40.8399 ++	  case $host in
 40.8400 ++	  # compiling the symbol table file with pic_flag works around
 40.8401 ++	  # a FreeBSD bug that causes programs to crash when -lm is
 40.8402 ++	  # linked before any other PIC object.  But we must not use
 40.8403 ++	  # pic_flag when linking with -static.  The problem exists in
 40.8404 ++	  # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
 40.8405 ++	  *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
 40.8406 ++	    case "$compile_command " in
 40.8407 ++	    *" -static "*) ;;
 40.8408 ++	    *) pic_flag_for_symtable=" $pic_flag -DPIC -DFREEBSD_WORKAROUND";;
 40.8409 ++	    esac;;
 40.8410 ++	  *-*-hpux*)
 40.8411 ++	    case "$compile_command " in
 40.8412 ++	    *" -static "*) ;;
 40.8413 ++	    *) pic_flag_for_symtable=" $pic_flag -DPIC";;
 40.8414 ++	    esac
 40.8415 ++	  esac
 40.8416 ++
 40.8417 ++	  # Now compile the dynamic symbol file.
 40.8418 ++	  $show "(cd $output_objdir && $CC -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")"
 40.8419 ++	  $run eval '(cd $output_objdir && $CC -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $?
 40.8420 ++
 40.8421 ++	  # Clean up the generated files.
 40.8422 ++	  $show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T"
 40.8423 ++	  $run $rm "$output_objdir/$dlsyms" "$nlist" "${nlist}S" "${nlist}T"
 40.8424 ++
 40.8425 ++	  # Transform the symbol file into the correct name.
 40.8426 ++	  compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
 40.8427 ++	  finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
 40.8428 ++	  ;;
 40.8429 ++	*)
 40.8430 ++	  $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2
 40.8431 ++	  exit 1
 40.8432 ++	  ;;
 40.8433 ++	esac
 40.8434 ++      else
 40.8435 ++	# We keep going just in case the user didn't refer to
 40.8436 ++	# lt_preloaded_symbols.  The linker will fail if global_symbol_pipe
 40.8437 ++	# really was required.
 40.8438 ++
 40.8439 ++	# Nullify the symbol file.
 40.8440 ++	compile_command=`$echo "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"`
 40.8441 ++	finalize_command=`$echo "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"`
 40.8442 ++      fi
 40.8443 ++
 40.8444 ++      if test $need_relink = no || test "$build_libtool_libs" != yes; then
 40.8445 ++	# Replace the output file specification.
 40.8446 ++	compile_command=`$echo "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
 40.8447 ++	link_command="$compile_command$compile_rpath"
 40.8448 ++
 40.8449 ++	# We have no uninstalled library dependencies, so finalize right now.
 40.8450 ++	$show "$link_command"
 40.8451 ++	$run eval "$link_command"
 40.8452 ++	status=$?
 40.8453 ++
 40.8454 ++	# Delete the generated files.
 40.8455 ++	if test -n "$dlsyms"; then
 40.8456 ++	  $show "$rm $output_objdir/${outputname}S.${objext}"
 40.8457 ++	  $run $rm "$output_objdir/${outputname}S.${objext}"
 40.8458 ++	fi
 40.8459 ++
 40.8460 ++	exit $status
 40.8461 ++      fi
 40.8462 ++
 40.8463 ++      if test -n "$shlibpath_var"; then
 40.8464 ++	# We should set the shlibpath_var
 40.8465 ++	rpath=
 40.8466 ++	for dir in $temp_rpath; do
 40.8467 ++	  case $dir in
 40.8468 ++	  [\\/]* | [A-Za-z]:[\\/]*)
 40.8469 ++	    # Absolute path.
 40.8470 ++	    rpath="$rpath$dir:"
 40.8471 ++	    ;;
 40.8472 ++	  *)
 40.8473 ++	    # Relative path: add a thisdir entry.
 40.8474 ++	    rpath="$rpath\$thisdir/$dir:"
 40.8475 ++	    ;;
 40.8476 ++	  esac
 40.8477 ++	done
 40.8478 ++	temp_rpath="$rpath"
 40.8479 ++      fi
 40.8480 ++
 40.8481 ++      if test -n "$compile_shlibpath$finalize_shlibpath"; then
 40.8482 ++	compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command"
 40.8483 ++      fi
 40.8484 ++      if test -n "$finalize_shlibpath"; then
 40.8485 ++	finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command"
 40.8486 ++      fi
 40.8487 ++
 40.8488 ++      compile_var=
 40.8489 ++      finalize_var=
 40.8490 ++      if test -n "$runpath_var"; then
 40.8491 ++	if test -n "$perm_rpath"; then
 40.8492 ++	  # We should set the runpath_var.
 40.8493 ++	  rpath=
 40.8494 ++	  for dir in $perm_rpath; do
 40.8495 ++	    rpath="$rpath$dir:"
 40.8496 ++	  done
 40.8497 ++	  compile_var="$runpath_var=\"$rpath\$$runpath_var\" "
 40.8498 ++	fi
 40.8499 ++	if test -n "$finalize_perm_rpath"; then
 40.8500 ++	  # We should set the runpath_var.
 40.8501 ++	  rpath=
 40.8502 ++	  for dir in $finalize_perm_rpath; do
 40.8503 ++	    rpath="$rpath$dir:"
 40.8504 ++	  done
 40.8505 ++	  finalize_var="$runpath_var=\"$rpath\$$runpath_var\" "
 40.8506 ++	fi
 40.8507 ++      fi
 40.8508 ++
 40.8509 ++      if test "$no_install" = yes; then
 40.8510 ++	# We don't need to create a wrapper script.
 40.8511 ++	link_command="$compile_var$compile_command$compile_rpath"
 40.8512 ++	# Replace the output file specification.
 40.8513 ++	link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
 40.8514 ++	# Delete the old output file.
 40.8515 ++	$run $rm $output
 40.8516 ++	# Link the executable and exit
 40.8517 ++	$show "$link_command"
 40.8518 ++	$run eval "$link_command" || exit $?
 40.8519 ++	exit 0
 40.8520 ++      fi
 40.8521 ++
 40.8522 ++      if test "$hardcode_action" = relink; then
 40.8523 ++	# Fast installation is not supported
 40.8524 ++	link_command="$compile_var$compile_command$compile_rpath"
 40.8525 ++	relink_command="$finalize_var$finalize_command$finalize_rpath"
 40.8526 ++
 40.8527 ++	$echo "$modename: warning: this platform does not like uninstalled shared libraries" 1>&2
 40.8528 ++	$echo "$modename: \`$output' will be relinked during installation" 1>&2
 40.8529 ++      else
 40.8530 ++	if test "$fast_install" != no; then
 40.8531 ++	  link_command="$finalize_var$compile_command$finalize_rpath"
 40.8532 ++	  if test "$fast_install" = yes; then
 40.8533 ++	    relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'`
 40.8534 ++	  else
 40.8535 ++	    # fast_install is set to needless
 40.8536 ++	    relink_command=
 40.8537 ++	  fi
 40.8538 ++	else
 40.8539 ++	  link_command="$compile_var$compile_command$compile_rpath"
 40.8540 ++	  relink_command="$finalize_var$finalize_command$finalize_rpath"
 40.8541 ++	fi
 40.8542 ++      fi
 40.8543 ++
 40.8544 ++      # Replace the output file specification.
 40.8545 ++      link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
 40.8546 ++
 40.8547 ++      # Delete the old output files.
 40.8548 ++      $run $rm $output $output_objdir/$outputname $output_objdir/lt-$outputname
 40.8549 ++
 40.8550 ++      $show "$link_command"
 40.8551 ++      $run eval "$link_command" || exit $?
 40.8552 ++
 40.8553 ++      # Now create the wrapper script.
 40.8554 ++      $show "creating $output"
 40.8555 ++
 40.8556 ++      # Quote the relink command for shipping.
 40.8557 ++      if test -n "$relink_command"; then
 40.8558 ++	# Preserve any variables that may affect compiler behavior
 40.8559 ++	for var in $variables_saved_for_relink; do
 40.8560 ++	  if eval test -z \"\${$var+set}\"; then
 40.8561 ++	    relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command"
 40.8562 ++	  elif eval var_value=\$$var; test -z "$var_value"; then
 40.8563 ++	    relink_command="$var=; export $var; $relink_command"
 40.8564 ++	  else
 40.8565 ++	    var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
 40.8566 ++	    relink_command="$var=\"$var_value\"; export $var; $relink_command"
 40.8567 ++	  fi
 40.8568 ++	done
 40.8569 ++	relink_command="cd `pwd`; $relink_command"
 40.8570 ++	relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
 40.8571 ++      fi
 40.8572 ++
 40.8573 ++      # Quote $echo for shipping.
 40.8574 ++      if test "X$echo" = "X$SHELL $0 --fallback-echo"; then
 40.8575 ++	case $0 in
 40.8576 ++	[\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $0 --fallback-echo";;
 40.8577 ++	*) qecho="$SHELL `pwd`/$0 --fallback-echo";;
 40.8578 ++	esac
 40.8579 ++	qecho=`$echo "X$qecho" | $Xsed -e "$sed_quote_subst"`
 40.8580 ++      else
 40.8581 ++	qecho=`$echo "X$echo" | $Xsed -e "$sed_quote_subst"`
 40.8582 ++      fi
 40.8583 ++
 40.8584 ++      # Only actually do things if our run command is non-null.
 40.8585 ++      if test -z "$run"; then
 40.8586 ++	# win32 will think the script is a binary if it has
 40.8587 ++	# a .exe suffix, so we strip it off here.
 40.8588 ++	case $output in
 40.8589 ++	  *.exe) output=`echo $output|sed 's,.exe$,,'` ;;
 40.8590 ++	esac
 40.8591 ++	# test for cygwin because mv fails w/o .exe extensions
 40.8592 ++	case $host in
 40.8593 ++	  *cygwin*) exeext=.exe ;;
 40.8594 ++	  *) exeext= ;;
 40.8595 ++	esac
 40.8596 ++	$rm $output
 40.8597 ++	trap "$rm $output; exit 1" 1 2 15
 40.8598 ++
 40.8599 ++	$echo > $output "\
 40.8600 ++#! $SHELL
 40.8601 ++
 40.8602 ++# $output - temporary wrapper script for $objdir/$outputname
 40.8603 ++# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
 40.8604 ++#
 40.8605 ++# The $output program cannot be directly executed until all the libtool
 40.8606 ++# libraries that it depends on are installed.
 40.8607 ++#
 40.8608 ++# This wrapper script should never be moved out of the build directory.
 40.8609 ++# If it is, it will not operate correctly.
 40.8610 ++
 40.8611 ++# Sed substitution that helps us do robust quoting.  It backslashifies
 40.8612 ++# metacharacters that are still active within double-quoted strings.
 40.8613 ++Xsed='sed -e 1s/^X//'
 40.8614 ++sed_quote_subst='$sed_quote_subst'
 40.8615 ++
 40.8616 ++# The HP-UX ksh and POSIX shell print the target directory to stdout
 40.8617 ++# if CDPATH is set.
 40.8618 ++if test \"\${CDPATH+set}\" = set; then CDPATH=:; export CDPATH; fi
 40.8619 ++
 40.8620 ++relink_command=\"$relink_command\"
 40.8621 ++
 40.8622 ++# This environment variable determines our operation mode.
 40.8623 ++if test \"\$libtool_install_magic\" = \"$magic\"; then
 40.8624 ++  # install mode needs the following variable:
 40.8625 ++  notinst_deplibs='$notinst_deplibs'
 40.8626 ++else
 40.8627 ++  # When we are sourced in execute mode, \$file and \$echo are already set.
 40.8628 ++  if test \"\$libtool_execute_magic\" != \"$magic\"; then
 40.8629 ++    echo=\"$qecho\"
 40.8630 ++    file=\"\$0\"
 40.8631 ++    # Make sure echo works.
 40.8632 ++    if test \"X\$1\" = X--no-reexec; then
 40.8633 ++      # Discard the --no-reexec flag, and continue.
 40.8634 ++      shift
 40.8635 ++    elif test \"X\`(\$echo '\t') 2>/dev/null\`\" = 'X\t'; then
 40.8636 ++      # Yippee, \$echo works!
 40.8637 ++      :
 40.8638 ++    else
 40.8639 ++      # Restart under the correct shell, and then maybe \$echo will work.
 40.8640 ++      exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"}
 40.8641 ++    fi
 40.8642 ++  fi\
 40.8643 ++"
 40.8644 ++	$echo >> $output "\
 40.8645 ++
 40.8646 ++  # Find the directory that this script lives in.
 40.8647 ++  thisdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\`
 40.8648 ++  test \"x\$thisdir\" = \"x\$file\" && thisdir=.
 40.8649 ++
 40.8650 ++  # Follow symbolic links until we get to the real thisdir.
 40.8651 ++  file=\`ls -ld \"\$file\" | sed -n 's/.*-> //p'\`
 40.8652 ++  while test -n \"\$file\"; do
 40.8653 ++    destdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\`
 40.8654 ++
 40.8655 ++    # If there was a directory component, then change thisdir.
 40.8656 ++    if test \"x\$destdir\" != \"x\$file\"; then
 40.8657 ++      case \"\$destdir\" in
 40.8658 ++      [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;;
 40.8659 ++      *) thisdir=\"\$thisdir/\$destdir\" ;;
 40.8660 ++      esac
 40.8661 ++    fi
 40.8662 ++
 40.8663 ++    file=\`\$echo \"X\$file\" | \$Xsed -e 's%^.*/%%'\`
 40.8664 ++    file=\`ls -ld \"\$thisdir/\$file\" | sed -n 's/.*-> //p'\`
 40.8665 ++  done
 40.8666 ++
 40.8667 ++  # Try to get the absolute directory name.
 40.8668 ++  absdir=\`cd \"\$thisdir\" && pwd\`
 40.8669 ++  test -n \"\$absdir\" && thisdir=\"\$absdir\"
 40.8670 ++"
 40.8671 ++
 40.8672 ++	if test "$fast_install" = yes; then
 40.8673 ++	  echo >> $output "\
 40.8674 ++  program=lt-'$outputname'$exeext
 40.8675 ++  progdir=\"\$thisdir/$objdir\"
 40.8676 ++
 40.8677 ++  if test ! -f \"\$progdir/\$program\" || \\
 40.8678 ++     { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | sed 1q\`; \\
 40.8679 ++       test \"X\$file\" != \"X\$progdir/\$program\"; }; then
 40.8680 ++
 40.8681 ++    file=\"\$\$-\$program\"
 40.8682 ++
 40.8683 ++    if test ! -d \"\$progdir\"; then
 40.8684 ++      $mkdir \"\$progdir\"
 40.8685 ++    else
 40.8686 ++      $rm \"\$progdir/\$file\"
 40.8687 ++    fi"
 40.8688 ++
 40.8689 ++	  echo >> $output "\
 40.8690 ++
 40.8691 ++    # relink executable if necessary
 40.8692 ++    if test -n \"\$relink_command\"; then
 40.8693 ++      if (eval \$relink_command); then :
 40.8694 ++      else
 40.8695 ++	$rm \"\$progdir/\$file\"
 40.8696 ++	exit 1
 40.8697 ++      fi
 40.8698 ++    fi
 40.8699 ++
 40.8700 ++    $mv \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null ||
 40.8701 ++    { $rm \"\$progdir/\$program\";
 40.8702 ++      $mv \"\$progdir/\$file\" \"\$progdir/\$program\"; }
 40.8703 ++    $rm \"\$progdir/\$file\"
 40.8704 ++  fi"
 40.8705 ++	else
 40.8706 ++	  echo >> $output "\
 40.8707 ++  program='$outputname'
 40.8708 ++  progdir=\"\$thisdir/$objdir\"
 40.8709 ++"
 40.8710 ++	fi
 40.8711 ++
 40.8712 ++	echo >> $output "\
 40.8713 ++
 40.8714 ++  if test -f \"\$progdir/\$program\"; then"
 40.8715 ++
 40.8716 ++	# Export our shlibpath_var if we have one.
 40.8717 ++	if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
 40.8718 ++	  $echo >> $output "\
 40.8719 ++    # Add our own library path to $shlibpath_var
 40.8720 ++    $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
 40.8721 ++
 40.8722 ++    # Some systems cannot cope with colon-terminated $shlibpath_var
 40.8723 ++    # The second colon is a workaround for a bug in BeOS R4 sed
 40.8724 ++    $shlibpath_var=\`\$echo \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\`
 40.8725 ++
 40.8726 ++    export $shlibpath_var
 40.8727 ++"
 40.8728 ++	fi
 40.8729 ++
 40.8730 ++	# fixup the dll searchpath if we need to.
 40.8731 ++	if test -n "$dllsearchpath"; then
 40.8732 ++	  $echo >> $output "\
 40.8733 ++    # Add the dll search path components to the executable PATH
 40.8734 ++    PATH=$dllsearchpath:\$PATH
 40.8735 ++"
 40.8736 ++	fi
 40.8737 ++
 40.8738 ++	$echo >> $output "\
 40.8739 ++    if test \"\$libtool_execute_magic\" != \"$magic\"; then
 40.8740 ++      # Run the actual program with our arguments.
 40.8741 ++"
 40.8742 ++	case $host in
 40.8743 ++	# win32 systems need to use the prog path for dll
 40.8744 ++	# lookup to work
 40.8745 ++	*-*-cygwin* | *-*-pw32*)
 40.8746 ++	  $echo >> $output "\
 40.8747 ++      exec \$progdir/\$program \${1+\"\$@\"}
 40.8748 ++"
 40.8749 ++	  ;;
 40.8750 ++
 40.8751 ++	# Backslashes separate directories on plain windows
 40.8752 ++	*-*-mingw | *-*-os2*)
 40.8753 ++	  $echo >> $output "\
 40.8754 ++      exec \$progdir\\\\\$program \${1+\"\$@\"}
 40.8755 ++"
 40.8756 ++	  ;;
 40.8757 ++
 40.8758 ++	*)
 40.8759 ++	  $echo >> $output "\
 40.8760 ++      # Export the path to the program.
 40.8761 ++      PATH=\"\$progdir:\$PATH\"
 40.8762 ++      export PATH
 40.8763 ++
 40.8764 ++      exec \$program \${1+\"\$@\"}
 40.8765 ++"
 40.8766 ++	  ;;
 40.8767 ++	esac
 40.8768 ++	$echo >> $output "\
 40.8769 ++      \$echo \"\$0: cannot exec \$program \${1+\"\$@\"}\"
 40.8770 ++      exit 1
 40.8771 ++    fi
 40.8772 ++  else
 40.8773 ++    # The program doesn't exist.
 40.8774 ++    \$echo \"\$0: error: \$progdir/\$program does not exist\" 1>&2
 40.8775 ++    \$echo \"This script is just a wrapper for \$program.\" 1>&2
 40.8776 ++    echo \"See the $PACKAGE documentation for more information.\" 1>&2
 40.8777 ++    exit 1
 40.8778 ++  fi
 40.8779 ++fi\
 40.8780 ++"
 40.8781 ++	chmod +x $output
 40.8782 ++      fi
 40.8783 ++      exit 0
 40.8784 ++      ;;
 40.8785 ++    esac
 40.8786 ++
 40.8787 ++    # See if we need to build an old-fashioned archive.
 40.8788 ++    for oldlib in $oldlibs; do
 40.8789 ++
 40.8790 ++      if test "$build_libtool_libs" = convenience; then
 40.8791 ++	oldobjs="$libobjs_save"
 40.8792 ++	addlibs="$convenience"
 40.8793 ++	build_libtool_libs=no
 40.8794 ++      else
 40.8795 ++	if test "$build_libtool_libs" = module; then
 40.8796 ++	  oldobjs="$libobjs_save"
 40.8797 ++	  build_libtool_libs=no
 40.8798 ++	else
 40.8799 ++	  oldobjs="$objs$old_deplibs "`$echo "X$libobjs_save" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`
 40.8800 ++	fi
 40.8801 ++	addlibs="$old_convenience"
 40.8802 ++      fi
 40.8803 ++
 40.8804 ++      if test -n "$addlibs"; then
 40.8805 ++	gentop="$output_objdir/${outputname}x"
 40.8806 ++	$show "${rm}r $gentop"
 40.8807 ++	$run ${rm}r "$gentop"
 40.8808 ++	$show "mkdir $gentop"
 40.8809 ++	$run mkdir "$gentop"
 40.8810 ++	status=$?
 40.8811 ++	if test $status -ne 0 && test ! -d "$gentop"; then
 40.8812 ++	  exit $status
 40.8813 ++	fi
 40.8814 ++	generated="$generated $gentop"
 40.8815 ++
 40.8816 ++	# Add in members from convenience archives.
 40.8817 ++	for xlib in $addlibs; do
 40.8818 ++	  # Extract the objects.
 40.8819 ++	  case $xlib in
 40.8820 ++	  [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
 40.8821 ++	  *) xabs=`pwd`"/$xlib" ;;
 40.8822 ++	  esac
 40.8823 ++	  xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'`
 40.8824 ++	  xdir="$gentop/$xlib"
 40.8825 ++
 40.8826 ++	  $show "${rm}r $xdir"
 40.8827 ++	  $run ${rm}r "$xdir"
 40.8828 ++	  $show "mkdir $xdir"
 40.8829 ++	  $run mkdir "$xdir"
 40.8830 ++	  status=$?
 40.8831 ++	  if test $status -ne 0 && test ! -d "$xdir"; then
 40.8832 ++	    exit $status
 40.8833 ++	  fi
 40.8834 ++	  $show "(cd $xdir && $AR x $xabs)"
 40.8835 ++	  $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
 40.8836 ++
 40.8837 ++	  oldobjs="$oldobjs "`find $xdir -name \*.${objext} -print -o -name \*.lo -print | $NL2SP`
 40.8838 ++	done
 40.8839 ++      fi
 40.8840 ++
 40.8841 ++      # Do each command in the archive commands.
 40.8842 ++      if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then
 40.8843 ++	eval cmds=\"$old_archive_from_new_cmds\"
 40.8844 ++      else
 40.8845 ++	# Ensure that we have .o objects in place in case we decided
 40.8846 ++	# not to build a shared library, and have fallen back to building
 40.8847 ++	# static libs even though --disable-static was passed!
 40.8848 ++	for oldobj in $oldobjs; do
 40.8849 ++	  if test ! -f $oldobj; then
 40.8850 ++	    xdir=`$echo "X$oldobj" | $Xsed -e 's%/[^/]*$%%'`
 40.8851 ++	    if test "X$xdir" = "X$oldobj"; then
 40.8852 ++	      xdir="."
 40.8853 ++	    else
 40.8854 ++	      xdir="$xdir"
 40.8855 ++	    fi
 40.8856 ++	    baseobj=`$echo "X$oldobj" | $Xsed -e 's%^.*/%%'`
 40.8857 ++	    obj=`$echo "X$baseobj" | $Xsed -e "$o2lo"`
 40.8858 ++	    $show "(cd $xdir && ${LN_S} $obj $baseobj)"
 40.8859 ++	    $run eval '(cd $xdir && ${LN_S} $obj $baseobj)' || exit $?
 40.8860 ++	  fi
 40.8861 ++	done
 40.8862 ++
 40.8863 ++	eval cmds=\"$old_archive_cmds\"
 40.8864 ++      fi
 40.8865 ++      IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
 40.8866 ++      for cmd in $cmds; do
 40.8867 ++	IFS="$save_ifs"
 40.8868 ++	$show "$cmd"
 40.8869 ++	$run eval "$cmd" || exit $?
 40.8870 ++      done
 40.8871 ++      IFS="$save_ifs"
 40.8872 ++    done
 40.8873 ++
 40.8874 ++    if test -n "$generated"; then
 40.8875 ++      $show "${rm}r$generated"
 40.8876 ++      $run ${rm}r$generated
 40.8877 ++    fi
 40.8878 ++
 40.8879 ++    # Now create the libtool archive.
 40.8880 ++    case $output in
 40.8881 ++    *.la)
 40.8882 ++      old_library=
 40.8883 ++      test "$build_old_libs" = yes && old_library="$libname.$libext"
 40.8884 ++      $show "creating $output"
 40.8885 ++
 40.8886 ++      # Preserve any variables that may affect compiler behavior
 40.8887 ++      for var in $variables_saved_for_relink; do
 40.8888 ++	if eval test -z \"\${$var+set}\"; then
 40.8889 ++	  relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command"
 40.8890 ++	elif eval var_value=\$$var; test -z "$var_value"; then
 40.8891 ++	  relink_command="$var=; export $var; $relink_command"
 40.8892 ++	else
 40.8893 ++	  var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
 40.8894 ++	  relink_command="$var=\"$var_value\"; export $var; $relink_command"
 40.8895 ++	fi
 40.8896 ++      done
 40.8897 ++      # Quote the link command for shipping.
 40.8898 ++      relink_command="cd `pwd`; $SHELL $0 --mode=relink $libtool_args"
 40.8899 ++      relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
 40.8900 ++
 40.8901 ++      # Only create the output if not a dry run.
 40.8902 ++      if test -z "$run"; then
 40.8903 ++	for installed in no yes; do
 40.8904 ++	  if test "$installed" = yes; then
 40.8905 ++	    if test -z "$install_libdir"; then
 40.8906 ++	      break
 40.8907 ++	    fi
 40.8908 ++	    output="$output_objdir/$outputname"i
 40.8909 ++	    # Replace all uninstalled libtool libraries with the installed ones
 40.8910 ++	    newdependency_libs=
 40.8911 ++	    for deplib in $dependency_libs; do
 40.8912 ++	      case $deplib in
 40.8913 ++	      *.la)
 40.8914 ++		name=`$echo "X$deplib" | $Xsed -e 's%^.*/%%'`
 40.8915 ++		eval libdir=`sed -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
 40.8916 ++		if test -z "$libdir"; then
 40.8917 ++		  $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
 40.8918 ++		  exit 1
 40.8919 ++		fi
 40.8920 ++		newdependency_libs="$newdependency_libs $libdir/$name"
 40.8921 ++		;;
 40.8922 ++	      *) newdependency_libs="$newdependency_libs $deplib" ;;
 40.8923 ++	      esac
 40.8924 ++	    done
 40.8925 ++	    dependency_libs="$newdependency_libs"
 40.8926 ++	    newdlfiles=
 40.8927 ++	    for lib in $dlfiles; do
 40.8928 ++	      name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
 40.8929 ++	      eval libdir=`sed -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
 40.8930 ++	      if test -z "$libdir"; then
 40.8931 ++		$echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
 40.8932 ++		exit 1
 40.8933 ++	      fi
 40.8934 ++	      newdlfiles="$newdlfiles $libdir/$name"
 40.8935 ++	    done
 40.8936 ++	    dlfiles="$newdlfiles"
 40.8937 ++	    newdlprefiles=
 40.8938 ++	    for lib in $dlprefiles; do
 40.8939 ++	      name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
 40.8940 ++	      eval libdir=`sed -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
 40.8941 ++	      if test -z "$libdir"; then
 40.8942 ++		$echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
 40.8943 ++		exit 1
 40.8944 ++	      fi
 40.8945 ++	      newdlprefiles="$newdlprefiles $libdir/$name"
 40.8946 ++	    done
 40.8947 ++	    dlprefiles="$newdlprefiles"
 40.8948 ++	  fi
 40.8949 ++	  $rm $output
 40.8950 ++	  # place dlname in correct position for cygwin
 40.8951 ++	  tdlname=$dlname
 40.8952 ++	  case $host,$output,$installed,$module,$dlname in
 40.8953 ++	    *cygwin*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
 40.8954 ++	  esac
 40.8955 ++	  $echo > $output "\
 40.8956 ++# $outputname - a libtool library file
 40.8957 ++# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
 40.8958 ++#
 40.8959 ++# Please DO NOT delete this file!
 40.8960 ++# It is necessary for linking the library.
 40.8961 ++
 40.8962 ++# The name that we can dlopen(3).
 40.8963 ++dlname='$tdlname'
 40.8964 ++
 40.8965 ++# Names of this library.
 40.8966 ++library_names='$library_names'
 40.8967 ++
 40.8968 ++# The name of the static archive.
 40.8969 ++old_library='$old_library'
 40.8970 ++
 40.8971 ++# Libraries that this one depends upon.
 40.8972 ++dependency_libs='$dependency_libs'
 40.8973 ++
 40.8974 ++# Version information for $libname.
 40.8975 ++current=$current
 40.8976 ++age=$age
 40.8977 ++revision=$revision
 40.8978 ++
 40.8979 ++# Is this an already installed library?
 40.8980 ++installed=$installed
 40.8981 ++
 40.8982 ++# Files to dlopen/dlpreopen
 40.8983 ++dlopen='$dlfiles'
 40.8984 ++dlpreopen='$dlprefiles'
 40.8985 ++
 40.8986 ++# Directory that this library needs to be installed in:
 40.8987 ++libdir='$install_libdir'"
 40.8988 ++	  if test "$installed" = no && test $need_relink = yes; then
 40.8989 ++	    $echo >> $output "\
 40.8990 ++relink_command=\"$relink_command\""
 40.8991 ++	  fi
 40.8992 ++	done
 40.8993 ++      fi
 40.8994 ++
 40.8995 ++      # Do a symbolic link so that the libtool archive can be found in
 40.8996 ++      # LD_LIBRARY_PATH before the program is installed.
 40.8997 ++      $show "(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)"
 40.8998 ++      $run eval '(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)' || exit $?
 40.8999 ++      ;;
 40.9000 ++    esac
 40.9001 ++    exit 0
 40.9002 ++    ;;
 40.9003 ++
 40.9004 ++  # libtool install mode
 40.9005 ++  install)
 40.9006 ++    modename="$modename: install"
 40.9007 ++
 40.9008 ++    # There may be an optional sh(1) argument at the beginning of
 40.9009 ++    # install_prog (especially on Windows NT).
 40.9010 ++    if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
 40.9011 ++       # Allow the use of GNU shtool's install command.
 40.9012 ++       $echo "X$nonopt" | $Xsed | grep shtool > /dev/null; then
 40.9013 ++      # Aesthetically quote it.
 40.9014 ++      arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"`
 40.9015 ++      case $arg in
 40.9016 ++      *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*)
 40.9017 ++	arg="\"$arg\""
 40.9018 ++	;;
 40.9019 ++      esac
 40.9020 ++      install_prog="$arg "
 40.9021 ++      arg="$1"
 40.9022 ++      shift
 40.9023 ++    else
 40.9024 ++      install_prog=
 40.9025 ++      arg="$nonopt"
 40.9026 ++    fi
 40.9027 ++
 40.9028 ++    # The real first argument should be the name of the installation program.
 40.9029 ++    # Aesthetically quote it.
 40.9030 ++    arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
 40.9031 ++    case $arg in
 40.9032 ++    *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*)
 40.9033 ++      arg="\"$arg\""
 40.9034 ++      ;;
 40.9035 ++    esac
 40.9036 ++    install_prog="$install_prog$arg"
 40.9037 ++
 40.9038 ++    # We need to accept at least all the BSD install flags.
 40.9039 ++    dest=
 40.9040 ++    files=
 40.9041 ++    opts=
 40.9042 ++    prev=
 40.9043 ++    install_type=
 40.9044 ++    isdir=no
 40.9045 ++    stripme=
 40.9046 ++    for arg
 40.9047 ++    do
 40.9048 ++      if test -n "$dest"; then
 40.9049 ++	files="$files $dest"
 40.9050 ++	dest="$arg"
 40.9051 ++	continue
 40.9052 ++      fi
 40.9053 ++
 40.9054 ++      case $arg in
 40.9055 ++      -d) isdir=yes ;;
 40.9056 ++      -f) prev="-f" ;;
 40.9057 ++      -g) prev="-g" ;;
 40.9058 ++      -m) prev="-m" ;;
 40.9059 ++      -o) prev="-o" ;;
 40.9060 ++      -s)
 40.9061 ++	stripme=" -s"
 40.9062 ++	continue
 40.9063 ++	;;
 40.9064 ++      -*) ;;
 40.9065 ++
 40.9066 ++      *)
 40.9067 ++	# If the previous option needed an argument, then skip it.
 40.9068 ++	if test -n "$prev"; then
 40.9069 ++	  prev=
 40.9070 ++	else
 40.9071 ++	  dest="$arg"
 40.9072 ++	  continue
 40.9073 ++	fi
 40.9074 ++	;;
 40.9075 ++      esac
 40.9076 ++
 40.9077 ++      # Aesthetically quote the argument.
 40.9078 ++      arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
 40.9079 ++      case $arg in
 40.9080 ++      *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*)
 40.9081 ++	arg="\"$arg\""
 40.9082 ++	;;
 40.9083 ++      esac
 40.9084 ++      install_prog="$install_prog $arg"
 40.9085 ++    done
 40.9086 ++
 40.9087 ++    if test -z "$install_prog"; then
 40.9088 ++      $echo "$modename: you must specify an install program" 1>&2
 40.9089 ++      $echo "$help" 1>&2
 40.9090 ++      exit 1
 40.9091 ++    fi
 40.9092 ++
 40.9093 ++    if test -n "$prev"; then
 40.9094 ++      $echo "$modename: the \`$prev' option requires an argument" 1>&2
 40.9095 ++      $echo "$help" 1>&2
 40.9096 ++      exit 1
 40.9097 ++    fi
 40.9098 ++
 40.9099 ++    if test -z "$files"; then
 40.9100 ++      if test -z "$dest"; then
 40.9101 ++	$echo "$modename: no file or destination specified" 1>&2
 40.9102 ++      else
 40.9103 ++	$echo "$modename: you must specify a destination" 1>&2
 40.9104 ++      fi
 40.9105 ++      $echo "$help" 1>&2
 40.9106 ++      exit 1
 40.9107 ++    fi
 40.9108 ++
 40.9109 ++    # Strip any trailing slash from the destination.
 40.9110 ++    dest=`$echo "X$dest" | $Xsed -e 's%/$%%'`
 40.9111 ++
 40.9112 ++    # Check to see that the destination is a directory.
 40.9113 ++    test -d "$dest" && isdir=yes
 40.9114 ++    if test "$isdir" = yes; then
 40.9115 ++      destdir="$dest"
 40.9116 ++      destname=
 40.9117 ++    else
 40.9118 ++      destdir=`$echo "X$dest" | $Xsed -e 's%/[^/]*$%%'`
 40.9119 ++      test "X$destdir" = "X$dest" && destdir=.
 40.9120 ++      destname=`$echo "X$dest" | $Xsed -e 's%^.*/%%'`
 40.9121 ++
 40.9122 ++      # Not a directory, so check to see that there is only one file specified.
 40.9123 ++      set dummy $files
 40.9124 ++      if test $# -gt 2; then
 40.9125 ++	$echo "$modename: \`$dest' is not a directory" 1>&2
 40.9126 ++	$echo "$help" 1>&2
 40.9127 ++	exit 1
 40.9128 ++      fi
 40.9129 ++    fi
 40.9130 ++    case $destdir in
 40.9131 ++    [\\/]* | [A-Za-z]:[\\/]*) ;;
 40.9132 ++    *)
 40.9133 ++      for file in $files; do
 40.9134 ++	case $file in
 40.9135 ++	*.lo) ;;
 40.9136 ++	*)
 40.9137 ++	  $echo "$modename: \`$destdir' must be an absolute directory name" 1>&2
 40.9138 ++	  $echo "$help" 1>&2
 40.9139 ++	  exit 1
 40.9140 ++	  ;;
 40.9141 ++	esac
 40.9142 ++      done
 40.9143 ++      ;;
 40.9144 ++    esac
 40.9145 ++
 40.9146 ++    # This variable tells wrapper scripts just to set variables rather
 40.9147 ++    # than running their programs.
 40.9148 ++    libtool_install_magic="$magic"
 40.9149 ++
 40.9150 ++    staticlibs=
 40.9151 ++    future_libdirs=
 40.9152 ++    current_libdirs=
 40.9153 ++    for file in $files; do
 40.9154 ++
 40.9155 ++      # Do each installation.
 40.9156 ++      case $file in
 40.9157 ++      *.$libext)
 40.9158 ++	# Do the static libraries later.
 40.9159 ++	staticlibs="$staticlibs $file"
 40.9160 ++	;;
 40.9161 ++
 40.9162 ++      *.la)
 40.9163 ++	# Check to see that this really is a libtool archive.
 40.9164 ++	if (sed -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
 40.9165 ++	else
 40.9166 ++	  $echo "$modename: \`$file' is not a valid libtool archive" 1>&2
 40.9167 ++	  $echo "$help" 1>&2
 40.9168 ++	  exit 1
 40.9169 ++	fi
 40.9170 ++
 40.9171 ++	library_names=
 40.9172 ++	old_library=
 40.9173 ++	relink_command=
 40.9174 ++	# If there is no directory component, then add one.
 40.9175 ++	case $file in
 40.9176 ++	*/* | *\\*) . $file ;;
 40.9177 ++	*) . ./$file ;;
 40.9178 ++	esac
 40.9179 ++
 40.9180 ++	# Add the libdir to current_libdirs if it is the destination.
 40.9181 ++	if test "X$destdir" = "X$libdir"; then
 40.9182 ++	  case "$current_libdirs " in
 40.9183 ++	  *" $libdir "*) ;;
 40.9184 ++	  *) current_libdirs="$current_libdirs $libdir" ;;
 40.9185 ++	  esac
 40.9186 ++	else
 40.9187 ++	  # Note the libdir as a future libdir.
 40.9188 ++	  case "$future_libdirs " in
 40.9189 ++	  *" $libdir "*) ;;
 40.9190 ++	  *) future_libdirs="$future_libdirs $libdir" ;;
 40.9191 ++	  esac
 40.9192 ++	fi
 40.9193 ++
 40.9194 ++	dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`/
 40.9195 ++	test "X$dir" = "X$file/" && dir=
 40.9196 ++	dir="$dir$objdir"
 40.9197 ++
 40.9198 ++	if test -n "$relink_command"; then
 40.9199 ++	  $echo "$modename: warning: relinking \`$file'" 1>&2
 40.9200 ++	  $show "$relink_command"
 40.9201 ++	  if $run eval "$relink_command"; then :
 40.9202 ++	  else
 40.9203 ++	    $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2
 40.9204 ++	    continue
 40.9205 ++	  fi
 40.9206 ++	fi
 40.9207 ++
 40.9208 ++	# See the names of the shared library.
 40.9209 ++	set dummy $library_names
 40.9210 ++	if test -n "$2"; then
 40.9211 ++	  realname="$2"
 40.9212 ++	  shift
 40.9213 ++	  shift
 40.9214 ++
 40.9215 ++	  srcname="$realname"
 40.9216 ++	  test -n "$relink_command" && srcname="$realname"T
 40.9217 ++
 40.9218 ++	  # Install the shared library and build the symlinks.
 40.9219 ++	  $show "$install_prog $dir/$srcname $destdir/$realname"
 40.9220 ++	  $run eval "$install_prog $dir/$srcname $destdir/$realname" || exit $?
 40.9221 ++	  if test -n "$stripme" && test -n "$striplib"; then
 40.9222 ++	    $show "$striplib $destdir/$realname"
 40.9223 ++	    $run eval "$striplib $destdir/$realname" || exit $?
 40.9224 ++	  fi
 40.9225 ++
 40.9226 ++	  if test $# -gt 0; then
 40.9227 ++	    # Delete the old symlinks, and create new ones.
 40.9228 ++	    for linkname
 40.9229 ++	    do
 40.9230 ++	      if test "$linkname" != "$realname"; then
 40.9231 ++		$show "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)"
 40.9232 ++		$run eval "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)"
 40.9233 ++	      fi
 40.9234 ++	    done
 40.9235 ++	  fi
 40.9236 ++
 40.9237 ++	  # Do each command in the postinstall commands.
 40.9238 ++	  lib="$destdir/$realname"
 40.9239 ++	  eval cmds=\"$postinstall_cmds\"
 40.9240 ++	  IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
 40.9241 ++	  for cmd in $cmds; do
 40.9242 ++	    IFS="$save_ifs"
 40.9243 ++	    $show "$cmd"
 40.9244 ++	    $run eval "$cmd" || exit $?
 40.9245 ++	  done
 40.9246 ++	  IFS="$save_ifs"
 40.9247 ++	fi
 40.9248 ++
 40.9249 ++	# Install the pseudo-library for information purposes.
 40.9250 ++	name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
 40.9251 ++	instname="$dir/$name"i
 40.9252 ++	$show "$install_prog $instname $destdir/$name"
 40.9253 ++	$run eval "$install_prog $instname $destdir/$name" || exit $?
 40.9254 ++
 40.9255 ++	# Maybe install the static library, too.
 40.9256 ++	test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
 40.9257 ++	;;
 40.9258 ++
 40.9259 ++      *.lo)
 40.9260 ++	# Install (i.e. copy) a libtool object.
 40.9261 ++
 40.9262 ++	# Figure out destination file name, if it wasn't already specified.
 40.9263 ++	if test -n "$destname"; then
 40.9264 ++	  destfile="$destdir/$destname"
 40.9265 ++	else
 40.9266 ++	  destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
 40.9267 ++	  destfile="$destdir/$destfile"
 40.9268 ++	fi
 40.9269 ++
 40.9270 ++	# Deduce the name of the destination old-style object file.
 40.9271 ++	case $destfile in
 40.9272 ++	*.lo)
 40.9273 ++	  staticdest=`$echo "X$destfile" | $Xsed -e "$lo2o"`
 40.9274 ++	  ;;
 40.9275 ++	*.$objext)
 40.9276 ++	  staticdest="$destfile"
 40.9277 ++	  destfile=
 40.9278 ++	  ;;
 40.9279 ++	*)
 40.9280 ++	  $echo "$modename: cannot copy a libtool object to \`$destfile'" 1>&2
 40.9281 ++	  $echo "$help" 1>&2
 40.9282 ++	  exit 1
 40.9283 ++	  ;;
 40.9284 ++	esac
 40.9285 ++
 40.9286 ++	# Install the libtool object if requested.
 40.9287 ++	if test -n "$destfile"; then
 40.9288 ++	  $show "$install_prog $file $destfile"
 40.9289 ++	  $run eval "$install_prog $file $destfile" || exit $?
 40.9290 ++	fi
 40.9291 ++
 40.9292 ++	# Install the old object if enabled.
 40.9293 ++	if test "$build_old_libs" = yes; then
 40.9294 ++	  # Deduce the name of the old-style object file.
 40.9295 ++	  staticobj=`$echo "X$file" | $Xsed -e "$lo2o"`
 40.9296 ++
 40.9297 ++	  $show "$install_prog $staticobj $staticdest"
 40.9298 ++	  $run eval "$install_prog \$staticobj \$staticdest" || exit $?
 40.9299 ++	fi
 40.9300 ++	exit 0
 40.9301 ++	;;
 40.9302 ++
 40.9303 ++      *)
 40.9304 ++	# Figure out destination file name, if it wasn't already specified.
 40.9305 ++	if test -n "$destname"; then
 40.9306 ++	  destfile="$destdir/$destname"
 40.9307 ++	else
 40.9308 ++	  destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
 40.9309 ++	  destfile="$destdir/$destfile"
 40.9310 ++	fi
 40.9311 ++
 40.9312 ++	# Do a test to see if this is really a libtool program.
 40.9313 ++	if (sed -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
 40.9314 ++	  notinst_deplibs=
 40.9315 ++	  relink_command=
 40.9316 ++
 40.9317 ++	  # If there is no directory component, then add one.
 40.9318 ++	  case $file in
 40.9319 ++	  */* | *\\*) . $file ;;
 40.9320 ++	  *) . ./$file ;;
 40.9321 ++	  esac
 40.9322 ++
 40.9323 ++	  # Check the variables that should have been set.
 40.9324 ++	  if test -z "$notinst_deplibs"; then
 40.9325 ++	    $echo "$modename: invalid libtool wrapper script \`$file'" 1>&2
 40.9326 ++	    exit 1
 40.9327 ++	  fi
 40.9328 ++
 40.9329 ++	  finalize=yes
 40.9330 ++	  for lib in $notinst_deplibs; do
 40.9331 ++	    # Check to see that each library is installed.
 40.9332 ++	    libdir=
 40.9333 ++	    if test -f "$lib"; then
 40.9334 ++	      # If there is no directory component, then add one.
 40.9335 ++	      case $lib in
 40.9336 ++	      */* | *\\*) . $lib ;;
 40.9337 ++	      *) . ./$lib ;;
 40.9338 ++	      esac
 40.9339 ++	    fi
 40.9340 ++	    libfile="$libdir/"`$echo "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test
 40.9341 ++	    if test -n "$libdir" && test ! -f "$libfile"; then
 40.9342 ++	      $echo "$modename: warning: \`$lib' has not been installed in \`$libdir'" 1>&2
 40.9343 ++	      finalize=no
 40.9344 ++	    fi
 40.9345 ++	  done
 40.9346 ++
 40.9347 ++	  relink_command=
 40.9348 ++	  # If there is no directory component, then add one.
 40.9349 ++	  case $file in
 40.9350 ++	  */* | *\\*) . $file ;;
 40.9351 ++	  *) . ./$file ;;
 40.9352 ++	  esac
 40.9353 ++
 40.9354 ++	  outputname=
 40.9355 ++	  if test "$fast_install" = no && test -n "$relink_command"; then
 40.9356 ++	    if test "$finalize" = yes && test -z "$run"; then
 40.9357 ++	      tmpdir="/tmp"
 40.9358 ++	      test -n "$TMPDIR" && tmpdir="$TMPDIR"
 40.9359 ++	      tmpdir="$tmpdir/libtool-$$"
 40.9360 ++	      if $mkdir -p "$tmpdir" && chmod 700 "$tmpdir"; then :
 40.9361 ++	      else
 40.9362 ++		$echo "$modename: error: cannot create temporary directory \`$tmpdir'" 1>&2
 40.9363 ++		continue
 40.9364 ++	      fi
 40.9365 ++	      file=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
 40.9366 ++	      outputname="$tmpdir/$file"
 40.9367 ++	      # Replace the output file specification.
 40.9368 ++	      relink_command=`$echo "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'`
 40.9369 ++
 40.9370 ++	      $show "$relink_command"
 40.9371 ++	      if $run eval "$relink_command"; then :
 40.9372 ++	      else
 40.9373 ++		$echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2
 40.9374 ++		${rm}r "$tmpdir"
 40.9375 ++		continue
 40.9376 ++	      fi
 40.9377 ++	      file="$outputname"
 40.9378 ++	    else
 40.9379 ++	      $echo "$modename: warning: cannot relink \`$file'" 1>&2
 40.9380 ++	    fi
 40.9381 ++	  else
 40.9382 ++	    # Install the binary that we compiled earlier.
 40.9383 ++	    file=`$echo "X$file" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"`
 40.9384 ++	  fi
 40.9385 ++	fi
 40.9386 ++
 40.9387 ++	# remove .exe since cygwin /usr/bin/install will append another
 40.9388 ++	# one anyways
 40.9389 ++	case $install_prog,$host in
 40.9390 ++	/usr/bin/install*,*cygwin*)
 40.9391 ++	  case $file:$destfile in
 40.9392 ++	  *.exe:*.exe)
 40.9393 ++	    # this is ok
 40.9394 ++	    ;;
 40.9395 ++	  *.exe:*)
 40.9396 ++	    destfile=$destfile.exe
 40.9397 ++	    ;;
 40.9398 ++	  *:*.exe)
 40.9399 ++	    destfile=`echo $destfile | sed -e 's,.exe$,,'`
 40.9400 ++	    ;;
 40.9401 ++	  esac
 40.9402 ++	  ;;
 40.9403 ++	esac
 40.9404 ++	$show "$install_prog$stripme $file $destfile"
 40.9405 ++	$run eval "$install_prog\$stripme \$file \$destfile" || exit $?
 40.9406 ++	test -n "$outputname" && ${rm}r "$tmpdir"
 40.9407 ++	;;
 40.9408 ++      esac
 40.9409 ++    done
 40.9410 ++
 40.9411 ++    for file in $staticlibs; do
 40.9412 ++      name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
 40.9413 ++
 40.9414 ++      # Set up the ranlib parameters.
 40.9415 ++      oldlib="$destdir/$name"
 40.9416 ++
 40.9417 ++      $show "$install_prog $file $oldlib"
 40.9418 ++      $run eval "$install_prog \$file \$oldlib" || exit $?
 40.9419 ++
 40.9420 ++      if test -n "$stripme" && test -n "$striplib"; then
 40.9421 ++	$show "$old_striplib $oldlib"
 40.9422 ++	$run eval "$old_striplib $oldlib" || exit $?
 40.9423 ++      fi
 40.9424 ++
 40.9425 ++      # Do each command in the postinstall commands.
 40.9426 ++      eval cmds=\"$old_postinstall_cmds\"
 40.9427 ++      IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
 40.9428 ++      for cmd in $cmds; do
 40.9429 ++	IFS="$save_ifs"
 40.9430 ++	$show "$cmd"
 40.9431 ++	$run eval "$cmd" || exit $?
 40.9432 ++      done
 40.9433 ++      IFS="$save_ifs"
 40.9434 ++    done
 40.9435 ++
 40.9436 ++    if test -n "$future_libdirs"; then
 40.9437 ++      $echo "$modename: warning: remember to run \`$progname --finish$future_libdirs'" 1>&2
 40.9438 ++    fi
 40.9439 ++
 40.9440 ++    if test -n "$current_libdirs"; then
 40.9441 ++      # Maybe just do a dry run.
 40.9442 ++      test -n "$run" && current_libdirs=" -n$current_libdirs"
 40.9443 ++      exec $SHELL $0 --finish$current_libdirs
 40.9444 ++      exit 1
 40.9445 ++    fi
 40.9446 ++
 40.9447 ++    exit 0
 40.9448 ++    ;;
 40.9449 ++
 40.9450 ++  # libtool finish mode
 40.9451 ++  finish)
 40.9452 ++    modename="$modename: finish"
 40.9453 ++    libdirs="$nonopt"
 40.9454 ++    admincmds=
 40.9455 ++
 40.9456 ++    if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
 40.9457 ++      for dir
 40.9458 ++      do
 40.9459 ++	libdirs="$libdirs $dir"
 40.9460 ++      done
 40.9461 ++
 40.9462 ++      for libdir in $libdirs; do
 40.9463 ++	if test -n "$finish_cmds"; then
 40.9464 ++	  # Do each command in the finish commands.
 40.9465 ++	  eval cmds=\"$finish_cmds\"
 40.9466 ++	  IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
 40.9467 ++	  for cmd in $cmds; do
 40.9468 ++	    IFS="$save_ifs"
 40.9469 ++	    $show "$cmd"
 40.9470 ++	    $run eval "$cmd" || admincmds="$admincmds
 40.9471 ++       $cmd"
 40.9472 ++	  done
 40.9473 ++	  IFS="$save_ifs"
 40.9474 ++	fi
 40.9475 ++	if test -n "$finish_eval"; then
 40.9476 ++	  # Do the single finish_eval.
 40.9477 ++	  eval cmds=\"$finish_eval\"
 40.9478 ++	  $run eval "$cmds" || admincmds="$admincmds
 40.9479 ++       $cmds"
 40.9480 ++	fi
 40.9481 ++      done
 40.9482 ++    fi
 40.9483 ++
 40.9484 ++    # Exit here if they wanted silent mode.
 40.9485 ++    test "$show" = ":" && exit 0
 40.9486 ++
 40.9487 ++    echo "----------------------------------------------------------------------"
 40.9488 ++    echo "Libraries have been installed in:"
 40.9489 ++    for libdir in $libdirs; do
 40.9490 ++      echo "   $libdir"
 40.9491 ++    done
 40.9492 ++    echo
 40.9493 ++    echo "If you ever happen to want to link against installed libraries"
 40.9494 ++    echo "in a given directory, LIBDIR, you must either use libtool, and"
 40.9495 ++    echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
 40.9496 ++    echo "flag during linking and do at least one of the following:"
 40.9497 ++    if test -n "$shlibpath_var"; then
 40.9498 ++      echo "   - add LIBDIR to the \`$shlibpath_var' environment variable"
 40.9499 ++      echo "     during execution"
 40.9500 ++    fi
 40.9501 ++    if test -n "$runpath_var"; then
 40.9502 ++      echo "   - add LIBDIR to the \`$runpath_var' environment variable"
 40.9503 ++      echo "     during linking"
 40.9504 ++    fi
 40.9505 ++    if test -n "$hardcode_libdir_flag_spec"; then
 40.9506 ++      libdir=LIBDIR
 40.9507 ++      eval flag=\"$hardcode_libdir_flag_spec\"
 40.9508 ++
 40.9509 ++      echo "   - use the \`$flag' linker flag"
 40.9510 ++    fi
 40.9511 ++    if test -n "$admincmds"; then
 40.9512 ++      echo "   - have your system administrator run these commands:$admincmds"
 40.9513 ++    fi
 40.9514 ++    if test -f /etc/ld.so.conf; then
 40.9515 ++      echo "   - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
 40.9516 ++    fi
 40.9517 ++    echo
 40.9518 ++    echo "See any operating system documentation about shared libraries for"
 40.9519 ++    echo "more information, such as the ld(1) and ld.so(8) manual pages."
 40.9520 ++    echo "----------------------------------------------------------------------"
 40.9521 ++    exit 0
 40.9522 ++    ;;
 40.9523 ++
 40.9524 ++  # libtool execute mode
 40.9525 ++  execute)
 40.9526 ++    modename="$modename: execute"
 40.9527 ++
 40.9528 ++    # The first argument is the command name.
 40.9529 ++    cmd="$nonopt"
 40.9530 ++    if test -z "$cmd"; then
 40.9531 ++      $echo "$modename: you must specify a COMMAND" 1>&2
 40.9532 ++      $echo "$help"
 40.9533 ++      exit 1
 40.9534 ++    fi
 40.9535 ++
 40.9536 ++    # Handle -dlopen flags immediately.
 40.9537 ++    for file in $execute_dlfiles; do
 40.9538 ++      if test ! -f "$file"; then
 40.9539 ++	$echo "$modename: \`$file' is not a file" 1>&2
 40.9540 ++	$echo "$help" 1>&2
 40.9541 ++	exit 1
 40.9542 ++      fi
 40.9543 ++
 40.9544 ++      dir=
 40.9545 ++      case $file in
 40.9546 ++      *.la)
 40.9547 ++	# Check to see that this really is a libtool archive.
 40.9548 ++	if (sed -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
 40.9549 ++	else
 40.9550 ++	  $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
 40.9551 ++	  $echo "$help" 1>&2
 40.9552 ++	  exit 1
 40.9553 ++	fi
 40.9554 ++
 40.9555 ++	# Read the libtool library.
 40.9556 ++	dlname=
 40.9557 ++	library_names=
 40.9558 ++
 40.9559 ++	# If there is no directory component, then add one.
 40.9560 ++	case $file in
 40.9561 ++	*/* | *\\*) . $file ;;
 40.9562 ++	*) . ./$file ;;
 40.9563 ++	esac
 40.9564 ++
 40.9565 ++	# Skip this library if it cannot be dlopened.
 40.9566 ++	if test -z "$dlname"; then
 40.9567 ++	  # Warn if it was a shared library.
 40.9568 ++	  test -n "$library_names" && $echo "$modename: warning: \`$file' was not linked with \`-export-dynamic'"
 40.9569 ++	  continue
 40.9570 ++	fi
 40.9571 ++
 40.9572 ++	dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
 40.9573 ++	test "X$dir" = "X$file" && dir=.
 40.9574 ++
 40.9575 ++	if test -f "$dir/$objdir/$dlname"; then
 40.9576 ++	  dir="$dir/$objdir"
 40.9577 ++	else
 40.9578 ++	  $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2
 40.9579 ++	  exit 1
 40.9580 ++	fi
 40.9581 ++	;;
 40.9582 ++
 40.9583 ++      *.lo)
 40.9584 ++	# Just add the directory containing the .lo file.
 40.9585 ++	dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
 40.9586 ++	test "X$dir" = "X$file" && dir=.
 40.9587 ++	;;
 40.9588 ++
 40.9589 ++      *)
 40.9590 ++	$echo "$modename: warning \`-dlopen' is ignored for non-libtool libraries and objects" 1>&2
 40.9591 ++	continue
 40.9592 ++	;;
 40.9593 ++      esac
 40.9594 ++
 40.9595 ++      # Get the absolute pathname.
 40.9596 ++      absdir=`cd "$dir" && pwd`
 40.9597 ++      test -n "$absdir" && dir="$absdir"
 40.9598 ++
 40.9599 ++      # Now add the directory to shlibpath_var.
 40.9600 ++      if eval "test -z \"\$$shlibpath_var\""; then
 40.9601 ++	eval "$shlibpath_var=\"\$dir\""
 40.9602 ++      else
 40.9603 ++	eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\""
 40.9604 ++      fi
 40.9605 ++    done
 40.9606 ++
 40.9607 ++    # This variable tells wrapper scripts just to set shlibpath_var
 40.9608 ++    # rather than running their programs.
 40.9609 ++    libtool_execute_magic="$magic"
 40.9610 ++
 40.9611 ++    # Check if any of the arguments is a wrapper script.
 40.9612 ++    args=
 40.9613 ++    for file
 40.9614 ++    do
 40.9615 ++      case $file in
 40.9616 ++      -*) ;;
 40.9617 ++      *)
 40.9618 ++	# Do a test to see if this is really a libtool program.
 40.9619 ++	if (sed -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
 40.9620 ++	  # If there is no directory component, then add one.
 40.9621 ++	  case $file in
 40.9622 ++	  */* | *\\*) . $file ;;
 40.9623 ++	  *) . ./$file ;;
 40.9624 ++	  esac
 40.9625 ++
 40.9626 ++	  # Transform arg to wrapped name.
 40.9627 ++	  file="$progdir/$program"
 40.9628 ++	fi
 40.9629 ++	;;
 40.9630 ++      esac
 40.9631 ++      # Quote arguments (to preserve shell metacharacters).
 40.9632 ++      file=`$echo "X$file" | $Xsed -e "$sed_quote_subst"`
 40.9633 ++      args="$args \"$file\""
 40.9634 ++    done
 40.9635 ++
 40.9636 ++    if test -z "$run"; then
 40.9637 ++      if test -n "$shlibpath_var"; then
 40.9638 ++	# Export the shlibpath_var.
 40.9639 ++	eval "export $shlibpath_var"
 40.9640 ++      fi
 40.9641 ++
 40.9642 ++      # Restore saved enviroment variables
 40.9643 ++      if test "${save_LC_ALL+set}" = set; then
 40.9644 ++	LC_ALL="$save_LC_ALL"; export LC_ALL
 40.9645 ++      fi
 40.9646 ++      if test "${save_LANG+set}" = set; then
 40.9647 ++	LANG="$save_LANG"; export LANG
 40.9648 ++      fi
 40.9649 ++
 40.9650 ++      # Now actually exec the command.
 40.9651 ++      eval "exec \$cmd$args"
 40.9652 ++
 40.9653 ++      $echo "$modename: cannot exec \$cmd$args"
 40.9654 ++      exit 1
 40.9655 ++    else
 40.9656 ++      # Display what would be done.
 40.9657 ++      if test -n "$shlibpath_var"; then
 40.9658 ++	eval "\$echo \"\$shlibpath_var=\$$shlibpath_var\""
 40.9659 ++	$echo "export $shlibpath_var"
 40.9660 ++      fi
 40.9661 ++      $echo "$cmd$args"
 40.9662 ++      exit 0
 40.9663 ++    fi
 40.9664 ++    ;;
 40.9665 ++
 40.9666 ++  # libtool clean and uninstall mode
 40.9667 ++  clean | uninstall)
 40.9668 ++    modename="$modename: $mode"
 40.9669 ++    rm="$nonopt"
 40.9670 ++    files=
 40.9671 ++    rmforce=
 40.9672 ++    exit_status=0
 40.9673 ++
 40.9674 ++    # This variable tells wrapper scripts just to set variables rather
 40.9675 ++    # than running their programs.
 40.9676 ++    libtool_install_magic="$magic"
 40.9677 ++
 40.9678 ++    for arg
 40.9679 ++    do
 40.9680 ++      case $arg in
 40.9681 ++      -f) rm="$rm $arg"; rmforce=yes ;;
 40.9682 ++      -*) rm="$rm $arg" ;;
 40.9683 ++      *) files="$files $arg" ;;
 40.9684 ++      esac
 40.9685 ++    done
 40.9686 ++
 40.9687 ++    if test -z "$rm"; then
 40.9688 ++      $echo "$modename: you must specify an RM program" 1>&2
 40.9689 ++      $echo "$help" 1>&2
 40.9690 ++      exit 1
 40.9691 ++    fi
 40.9692 ++
 40.9693 ++    rmdirs=
 40.9694 ++
 40.9695 ++    for file in $files; do
 40.9696 ++      dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
 40.9697 ++      if test "X$dir" = "X$file"; then
 40.9698 ++	dir=.
 40.9699 ++	objdir="$objdir"
 40.9700 ++      else
 40.9701 ++	objdir="$dir/$objdir"
 40.9702 ++      fi
 40.9703 ++      name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
 40.9704 ++      test $mode = uninstall && objdir="$dir"
 40.9705 ++
 40.9706 ++      # Remember objdir for removal later, being careful to avoid duplicates
 40.9707 ++      if test $mode = clean; then
 40.9708 ++	case " $rmdirs " in
 40.9709 ++	  *" $objdir "*) ;;
 40.9710 ++	  *) rmdirs="$rmdirs $objdir" ;;
 40.9711 ++	esac
 40.9712 ++      fi
 40.9713 ++
 40.9714 ++      # Don't error if the file doesn't exist and rm -f was used.
 40.9715 ++      if (test -L "$file") >/dev/null 2>&1 \
 40.9716 ++        || (test -h "$file") >/dev/null 2>&1 \
 40.9717 ++	|| test -f "$file"; then
 40.9718 ++        :
 40.9719 ++      elif test -d "$file"; then
 40.9720 ++        exit_status=1
 40.9721 ++	continue
 40.9722 ++      elif test "$rmforce" = yes; then
 40.9723 ++        continue
 40.9724 ++      fi
 40.9725 ++
 40.9726 ++      rmfiles="$file"
 40.9727 ++
 40.9728 ++      case $name in
 40.9729 ++      *.la)
 40.9730 ++	# Possibly a libtool archive, so verify it.
 40.9731 ++	if (sed -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
 40.9732 ++	  . $dir/$name
 40.9733 ++
 40.9734 ++	  # Delete the libtool libraries and symlinks.
 40.9735 ++	  for n in $library_names; do
 40.9736 ++	    rmfiles="$rmfiles $objdir/$n"
 40.9737 ++	  done
 40.9738 ++	  test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library"
 40.9739 ++	  test $mode = clean && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
 40.9740 ++
 40.9741 ++	  if test $mode = uninstall; then
 40.9742 ++	    if test -n "$library_names"; then
 40.9743 ++	      # Do each command in the postuninstall commands.
 40.9744 ++	      eval cmds=\"$postuninstall_cmds\"
 40.9745 ++	      IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
 40.9746 ++	      for cmd in $cmds; do
 40.9747 ++		IFS="$save_ifs"
 40.9748 ++		$show "$cmd"
 40.9749 ++		$run eval "$cmd"
 40.9750 ++		if test $? != 0 && test "$rmforce" != yes; then
 40.9751 ++		  exit_status=1
 40.9752 ++		fi
 40.9753 ++	      done
 40.9754 ++	      IFS="$save_ifs"
 40.9755 ++	    fi
 40.9756 ++
 40.9757 ++	    if test -n "$old_library"; then
 40.9758 ++	      # Do each command in the old_postuninstall commands.
 40.9759 ++	      eval cmds=\"$old_postuninstall_cmds\"
 40.9760 ++	      IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
 40.9761 ++	      for cmd in $cmds; do
 40.9762 ++		IFS="$save_ifs"
 40.9763 ++		$show "$cmd"
 40.9764 ++		$run eval "$cmd"
 40.9765 ++		if test $? != 0 && test "$rmforce" != yes; then
 40.9766 ++		  exit_status=1
 40.9767 ++		fi
 40.9768 ++	      done
 40.9769 ++	      IFS="$save_ifs"
 40.9770 ++	    fi
 40.9771 ++	    # FIXME: should reinstall the best remaining shared library.
 40.9772 ++	  fi
 40.9773 ++	fi
 40.9774 ++	;;
 40.9775 ++
 40.9776 ++      *.lo)
 40.9777 ++	if test "$build_old_libs" = yes; then
 40.9778 ++	  oldobj=`$echo "X$name" | $Xsed -e "$lo2o"`
 40.9779 ++	  rmfiles="$rmfiles $dir/$oldobj"
 40.9780 ++	fi
 40.9781 ++	;;
 40.9782 ++
 40.9783 ++      *)
 40.9784 ++	# Do a test to see if this is a libtool program.
 40.9785 ++	if test $mode = clean &&
 40.9786 ++	   (sed -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
 40.9787 ++	  relink_command=
 40.9788 ++	  . $dir/$file
 40.9789 ++
 40.9790 ++	  rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}"
 40.9791 ++	  if test "$fast_install" = yes && test -n "$relink_command"; then
 40.9792 ++	    rmfiles="$rmfiles $objdir/lt-$name"
 40.9793 ++	  fi
 40.9794 ++	fi
 40.9795 ++	;;
 40.9796 ++      esac
 40.9797 ++      $show "$rm $rmfiles"
 40.9798 ++      $run $rm $rmfiles || exit_status=1
 40.9799 ++    done
 40.9800 ++
 40.9801 ++    # Try to remove the ${objdir}s in the directories where we deleted files
 40.9802 ++    for dir in $rmdirs; do
 40.9803 ++      if test -d "$dir"; then
 40.9804 ++	$show "rmdir $dir"
 40.9805 ++	$run rmdir $dir >/dev/null 2>&1
 40.9806 ++      fi
 40.9807 ++    done
 40.9808 ++
 40.9809 ++    exit $exit_status
 40.9810 ++    ;;
 40.9811 ++
 40.9812 ++  "")
 40.9813 ++    $echo "$modename: you must specify a MODE" 1>&2
 40.9814 ++    $echo "$generic_help" 1>&2
 40.9815 ++    exit 1
 40.9816 ++    ;;
 40.9817 ++  esac
 40.9818 ++
 40.9819 ++  $echo "$modename: invalid operation mode \`$mode'" 1>&2
 40.9820 ++  $echo "$generic_help" 1>&2
 40.9821 ++  exit 1
 40.9822 ++fi # test -z "$show_help"
 40.9823 ++
 40.9824 ++# We need to display help for each of the modes.
 40.9825 ++case $mode in
 40.9826 ++"") $echo \
 40.9827 ++"Usage: $modename [OPTION]... [MODE-ARG]...
 40.9828 ++
 40.9829 ++Provide generalized library-building support services.
 40.9830 ++
 40.9831 ++    --config          show all configuration variables
 40.9832 ++    --debug           enable verbose shell tracing
 40.9833 ++-n, --dry-run         display commands without modifying any files
 40.9834 ++    --features        display basic configuration information and exit
 40.9835 ++    --finish          same as \`--mode=finish'
 40.9836 ++    --help            display this help message and exit
 40.9837 ++    --mode=MODE       use operation mode MODE [default=inferred from MODE-ARGS]
 40.9838 ++    --quiet           same as \`--silent'
 40.9839 ++    --silent          don't print informational messages
 40.9840 ++    --version         print version information
 40.9841 ++
 40.9842 ++MODE must be one of the following:
 40.9843 ++
 40.9844 ++      clean           remove files from the build directory
 40.9845 ++      compile         compile a source file into a libtool object
 40.9846 ++      execute         automatically set library path, then run a program
 40.9847 ++      finish          complete the installation of libtool libraries
 40.9848 ++      install         install libraries or executables
 40.9849 ++      link            create a library or an executable
 40.9850 ++      uninstall       remove libraries from an installed directory
 40.9851 ++
 40.9852 ++MODE-ARGS vary depending on the MODE.  Try \`$modename --help --mode=MODE' for
 40.9853 ++a more detailed description of MODE."
 40.9854 ++  exit 0
 40.9855 ++  ;;
 40.9856 ++
 40.9857 ++clean)
 40.9858 ++  $echo \
 40.9859 ++"Usage: $modename [OPTION]... --mode=clean RM [RM-OPTION]... FILE...
 40.9860 ++
 40.9861 ++Remove files from the build directory.
 40.9862 ++
 40.9863 ++RM is the name of the program to use to delete files associated with each FILE
 40.9864 ++(typically \`/bin/rm').  RM-OPTIONS are options (such as \`-f') to be passed
 40.9865 ++to RM.
 40.9866 ++
 40.9867 ++If FILE is a libtool library, object or program, all the files associated
 40.9868 ++with it are deleted. Otherwise, only FILE itself is deleted using RM."
 40.9869 ++  ;;
 40.9870 ++
 40.9871 ++compile)
 40.9872 ++  $echo \
 40.9873 ++"Usage: $modename [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE
 40.9874 ++
 40.9875 ++Compile a source file into a libtool library object.
 40.9876 ++
 40.9877 ++This mode accepts the following additional options:
 40.9878 ++
 40.9879 ++  -o OUTPUT-FILE    set the output file name to OUTPUT-FILE
 40.9880 ++  -prefer-pic       try to building PIC objects only
 40.9881 ++  -prefer-non-pic   try to building non-PIC objects only
 40.9882 ++  -static           always build a \`.o' file suitable for static linking
 40.9883 ++
 40.9884 ++COMPILE-COMMAND is a command to be used in creating a \`standard' object file
 40.9885 ++from the given SOURCEFILE.
 40.9886 ++
 40.9887 ++The output file name is determined by removing the directory component from
 40.9888 ++SOURCEFILE, then substituting the C source code suffix \`.c' with the
 40.9889 ++library object suffix, \`.lo'."
 40.9890 ++  ;;
 40.9891 ++
 40.9892 ++execute)
 40.9893 ++  $echo \
 40.9894 ++"Usage: $modename [OPTION]... --mode=execute COMMAND [ARGS]...
 40.9895 ++
 40.9896 ++Automatically set library path, then run a program.
 40.9897 ++
 40.9898 ++This mode accepts the following additional options:
 40.9899 ++
 40.9900 ++  -dlopen FILE      add the directory containing FILE to the library path
 40.9901 ++
 40.9902 ++This mode sets the library path environment variable according to \`-dlopen'
 40.9903 ++flags.
 40.9904 ++
 40.9905 ++If any of the ARGS are libtool executable wrappers, then they are translated
 40.9906 ++into their corresponding uninstalled binary, and any of their required library
 40.9907 ++directories are added to the library path.
 40.9908 ++
 40.9909 ++Then, COMMAND is executed, with ARGS as arguments."
 40.9910 ++  ;;
 40.9911 ++
 40.9912 ++finish)
 40.9913 ++  $echo \
 40.9914 ++"Usage: $modename [OPTION]... --mode=finish [LIBDIR]...
 40.9915 ++
 40.9916 ++Complete the installation of libtool libraries.
 40.9917 ++
 40.9918 ++Each LIBDIR is a directory that contains libtool libraries.
 40.9919 ++
 40.9920 ++The commands that this mode executes may require superuser privileges.  Use
 40.9921 ++the \`--dry-run' option if you just want to see what would be executed."
 40.9922 ++  ;;
 40.9923 ++
 40.9924 ++install)
 40.9925 ++  $echo \
 40.9926 ++"Usage: $modename [OPTION]... --mode=install INSTALL-COMMAND...
 40.9927 ++
 40.9928 ++Install executables or libraries.
 40.9929 ++
 40.9930 ++INSTALL-COMMAND is the installation command.  The first component should be
 40.9931 ++either the \`install' or \`cp' program.
 40.9932 ++
 40.9933 ++The rest of the components are interpreted as arguments to that command (only
 40.9934 ++BSD-compatible install options are recognized)."
 40.9935 ++  ;;
 40.9936 ++
 40.9937 ++link)
 40.9938 ++  $echo \
 40.9939 ++"Usage: $modename [OPTION]... --mode=link LINK-COMMAND...
 40.9940 ++
 40.9941 ++Link object files or libraries together to form another library, or to
 40.9942 ++create an executable program.
 40.9943 ++
 40.9944 ++LINK-COMMAND is a command using the C compiler that you would use to create
 40.9945 ++a program from several object files.
 40.9946 ++
 40.9947 ++The following components of LINK-COMMAND are treated specially:
 40.9948 ++
 40.9949 ++  -all-static       do not do any dynamic linking at all
 40.9950 ++  -avoid-version    do not add a version suffix if possible
 40.9951 ++  -dlopen FILE      \`-dlpreopen' FILE if it cannot be dlopened at runtime
 40.9952 ++  -dlpreopen FILE   link in FILE and add its symbols to lt_preloaded_symbols
 40.9953 ++  -export-dynamic   allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
 40.9954 ++  -export-symbols SYMFILE
 40.9955 ++		    try to export only the symbols listed in SYMFILE
 40.9956 ++  -export-symbols-regex REGEX
 40.9957 ++		    try to export only the symbols matching REGEX
 40.9958 ++  -LLIBDIR          search LIBDIR for required installed libraries
 40.9959 ++  -lNAME            OUTPUT-FILE requires the installed library libNAME
 40.9960 ++  -module           build a library that can dlopened
 40.9961 ++  -no-fast-install  disable the fast-install mode
 40.9962 ++  -no-install       link a not-installable executable
 40.9963 ++  -no-undefined     declare that a library does not refer to external symbols
 40.9964 ++  -o OUTPUT-FILE    create OUTPUT-FILE from the specified objects
 40.9965 ++  -release RELEASE  specify package release information
 40.9966 ++  -rpath LIBDIR     the created library will eventually be installed in LIBDIR
 40.9967 ++  -R[ ]LIBDIR       add LIBDIR to the runtime path of programs and libraries
 40.9968 ++  -static           do not do any dynamic linking of libtool libraries
 40.9969 ++  -version-info CURRENT[:REVISION[:AGE]]
 40.9970 ++		    specify library version info [each variable defaults to 0]
 40.9971 ++
 40.9972 ++All other options (arguments beginning with \`-') are ignored.
 40.9973 ++
 40.9974 ++Every other argument is treated as a filename.  Files ending in \`.la' are
 40.9975 ++treated as uninstalled libtool libraries, other files are standard or library
 40.9976 ++object files.
 40.9977 ++
 40.9978 ++If the OUTPUT-FILE ends in \`.la', then a libtool library is created,
 40.9979 ++only library objects (\`.lo' files) may be specified, and \`-rpath' is
 40.9980 ++required, except when creating a convenience library.
 40.9981 ++
 40.9982 ++If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created
 40.9983 ++using \`ar' and \`ranlib', or on Windows using \`lib'.
 40.9984 ++
 40.9985 ++If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file
 40.9986 ++is created, otherwise an executable program is created."
 40.9987 ++  ;;
 40.9988 ++
 40.9989 ++uninstall)
 40.9990 ++  $echo \
 40.9991 ++"Usage: $modename [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE...
 40.9992 ++
 40.9993 ++Remove libraries from an installation directory.
 40.9994 ++
 40.9995 ++RM is the name of the program to use to delete files associated with each FILE
 40.9996 ++(typically \`/bin/rm').  RM-OPTIONS are options (such as \`-f') to be passed
 40.9997 ++to RM.
 40.9998 ++
 40.9999 ++If FILE is a libtool library, all the files associated with it are deleted.
40.10000 ++Otherwise, only FILE itself is deleted using RM."
40.10001 ++  ;;
40.10002 ++
40.10003 ++*)
40.10004 ++  $echo "$modename: invalid operation mode \`$mode'" 1>&2
40.10005 ++  $echo "$help" 1>&2
40.10006 ++  exit 1
40.10007 ++  ;;
40.10008 ++esac
40.10009 ++
40.10010 ++echo
40.10011 ++$echo "Try \`$modename --help' for more information about other modes."
40.10012 ++
40.10013 ++exit 0
40.10014 ++
40.10015 ++# Local Variables:
40.10016 ++# mode:shell-script
40.10017 ++# sh-indentation:2
40.10018 ++# End:
40.10019 +--- openjade1.3-1.3.2.orig/configure
40.10020 ++++ openjade1.3-1.3.2/configure
40.10021 +@@ -1,178 +1,11 @@
40.10022 + #! /bin/sh
40.10023 + # From configure.in Id: configure.in.
40.10024 + # Guess values for system-dependent variables and create Makefiles.
40.10025 +-# Generated by GNU Autoconf 2.53.
40.10026 ++# Generated by GNU Autoconf 2.59.
40.10027 + #
40.10028 +-# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
40.10029 +-# Free Software Foundation, Inc.
40.10030 ++# Copyright (C) 2003 Free Software Foundation, Inc.
40.10031 + # This configure script is free software; the Free Software Foundation
40.10032 + # gives unlimited permission to copy, distribute and modify it.
40.10033 +-
40.10034 +-# Find the correct PATH separator.  Usually this is `:', but
40.10035 +-# DJGPP uses `;' like DOS.
40.10036 +-if test "X${PATH_SEPARATOR+set}" != Xset; then
40.10037 +-  UNAME=${UNAME-`uname 2>/dev/null`}
40.10038 +-  case X$UNAME in
40.10039 +-    *-DOS) lt_cv_sys_path_separator=';' ;;
40.10040 +-    *)     lt_cv_sys_path_separator=':' ;;
40.10041 +-  esac
40.10042 +-fi
40.10043 +-
40.10044 +-
40.10045 +-# Check that we are running under the correct shell.
40.10046 +-SHELL=${CONFIG_SHELL-/bin/sh}
40.10047 +-
40.10048 +-case X$ECHO in
40.10049 +-X*--fallback-echo)
40.10050 +-  # Remove one level of quotation (which was required for Make).
40.10051 +-  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
40.10052 +-  ;;
40.10053 +-esac
40.10054 +-
40.10055 +-echo=${ECHO-echo}
40.10056 +-if test "X$1" = X--no-reexec; then
40.10057 +-  # Discard the --no-reexec flag, and continue.
40.10058 +-  shift
40.10059 +-elif test "X$1" = X--fallback-echo; then
40.10060 +-  # Avoid inline document here, it may be left over
40.10061 +-  :
40.10062 +-elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
40.10063 +-  # Yippee, $echo works!
40.10064 +-  :
40.10065 +-else
40.10066 +-  # Restart under the correct shell.
40.10067 +-  exec $SHELL "$0" --no-reexec ${1+"$@"}
40.10068 +-fi
40.10069 +-
40.10070 +-if test "X$1" = X--fallback-echo; then
40.10071 +-  # used as fallback echo
40.10072 +-  shift
40.10073 +-  cat <<EOF
40.10074 +-
40.10075 +-EOF
40.10076 +-  exit 0
40.10077 +-fi
40.10078 +-
40.10079 +-# The HP-UX ksh and POSIX shell print the target directory to stdout
40.10080 +-# if CDPATH is set.
40.10081 +-if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
40.10082 +-
40.10083 +-if test -z "$ECHO"; then
40.10084 +-if test "X${echo_test_string+set}" != Xset; then
40.10085 +-# find a string as large as possible, as long as the shell can cope with it
40.10086 +-  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
40.10087 +-    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
40.10088 +-    if (echo_test_string="`eval $cmd`") 2>/dev/null &&
40.10089 +-       echo_test_string="`eval $cmd`" &&
40.10090 +-       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
40.10091 +-    then
40.10092 +-      break
40.10093 +-    fi
40.10094 +-  done
40.10095 +-fi
40.10096 +-
40.10097 +-if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
40.10098 +-   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
40.10099 +-   test "X$echo_testing_string" = "X$echo_test_string"; then
40.10100 +-  :
40.10101 +-else
40.10102 +-  # The Solaris, AIX, and Digital Unix default echo programs unquote
40.10103 +-  # backslashes.  This makes it impossible to quote backslashes using
40.10104 +-  #   echo "$something" | sed 's/\\/\\\\/g'
40.10105 +-  #
40.10106 +-  # So, first we look for a working echo in the user's PATH.
40.10107 +-
40.10108 +-  IFS="${IFS= 	}"; save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR}"
40.10109 +-  for dir in $PATH /usr/ucb; do
40.10110 +-    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
40.10111 +-       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
40.10112 +-       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
40.10113 +-       test "X$echo_testing_string" = "X$echo_test_string"; then
40.10114 +-      echo="$dir/echo"
40.10115 +-      break
40.10116 +-    fi
40.10117 +-  done
40.10118 +-  IFS="$save_ifs"
40.10119 +-
40.10120 +-  if test "X$echo" = Xecho; then
40.10121 +-    # We didn't find a better echo, so look for alternatives.
40.10122 +-    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
40.10123 +-       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
40.10124 +-       test "X$echo_testing_string" = "X$echo_test_string"; then
40.10125 +-      # This shell has a builtin print -r that does the trick.
40.10126 +-      echo='print -r'
40.10127 +-    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
40.10128 +-	 test "X$CONFIG_SHELL" != X/bin/ksh; then
40.10129 +-      # If we have ksh, try running configure again with it.
40.10130 +-      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
40.10131 +-      export ORIGINAL_CONFIG_SHELL
40.10132 +-      CONFIG_SHELL=/bin/ksh
40.10133 +-      export CONFIG_SHELL
40.10134 +-      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
40.10135 +-    else
40.10136 +-      # Try using printf.
40.10137 +-      echo='printf %s\n'
40.10138 +-      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
40.10139 +-	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
40.10140 +-	 test "X$echo_testing_string" = "X$echo_test_string"; then
40.10141 +-	# Cool, printf works
40.10142 +-	:
40.10143 +-      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
40.10144 +-	   test "X$echo_testing_string" = 'X\t' &&
40.10145 +-	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
40.10146 +-	   test "X$echo_testing_string" = "X$echo_test_string"; then
40.10147 +-	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
40.10148 +-	export CONFIG_SHELL
40.10149 +-	SHELL="$CONFIG_SHELL"
40.10150 +-	export SHELL
40.10151 +-	echo="$CONFIG_SHELL $0 --fallback-echo"
40.10152 +-      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
40.10153 +-	   test "X$echo_testing_string" = 'X\t' &&
40.10154 +-	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
40.10155 +-	   test "X$echo_testing_string" = "X$echo_test_string"; then
40.10156 +-	echo="$CONFIG_SHELL $0 --fallback-echo"
40.10157 +-      else
40.10158 +-	# maybe with a smaller string...
40.10159 +-	prev=:
40.10160 +-
40.10161 +-	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
40.10162 +-	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
40.10163 +-	  then
40.10164 +-	    break
40.10165 +-	  fi
40.10166 +-	  prev="$cmd"
40.10167 +-	done
40.10168 +-
40.10169 +-	if test "$prev" != 'sed 50q "$0"'; then
40.10170 +-	  echo_test_string=`eval $prev`
40.10171 +-	  export echo_test_string
40.10172 +-	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
40.10173 +-	else
40.10174 +-	  # Oops.  We lost completely, so just stick with echo.
40.10175 +-	  echo=echo
40.10176 +-	fi
40.10177 +-      fi
40.10178 +-    fi
40.10179 +-  fi
40.10180 +-fi
40.10181 +-fi
40.10182 +-
40.10183 +-# Copy echo and quote the copy suitably for passing to libtool from
40.10184 +-# the Makefile, instead of quoting the original, which is used later.
40.10185 +-ECHO=$echo
40.10186 +-if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
40.10187 +-   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
40.10188 +-fi
40.10189 +-
40.10190 +-
40.10191 +-
40.10192 +-if expr a : '\(a\)' >/dev/null 2>&1; then
40.10193 +-  as_expr=expr
40.10194 +-else
40.10195 +-  as_expr=false
40.10196 +-fi
40.10197 +-
40.10198 +-
40.10199 + ## --------------------- ##
40.10200 + ## M4sh Initialization.  ##
40.10201 + ## --------------------- ##
40.10202 +@@ -181,46 +14,57 @@
40.10203 + if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
40.10204 +   emulate sh
40.10205 +   NULLCMD=:
40.10206 ++  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
40.10207 ++  # is contrary to our usage.  Disable this feature.
40.10208 ++  alias -g '${1+"$@"}'='"$@"'
40.10209 + elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
40.10210 +   set -o posix
40.10211 + fi
40.10212 ++DUALCASE=1; export DUALCASE # for MKS sh
40.10213 + 
40.10214 +-# NLS nuisances.
40.10215 + # Support unset when possible.
40.10216 +-if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
40.10217 ++if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
40.10218 +   as_unset=unset
40.10219 + else
40.10220 +   as_unset=false
40.10221 + fi
40.10222 + 
40.10223 +-(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
40.10224 +-    { $as_unset LANG || test "${LANG+set}" != set; } ||
40.10225 +-      { LANG=C; export LANG; }
40.10226 +-(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
40.10227 +-    { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
40.10228 +-      { LC_ALL=C; export LC_ALL; }
40.10229 +-(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
40.10230 +-    { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
40.10231 +-      { LC_TIME=C; export LC_TIME; }
40.10232 +-(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
40.10233 +-    { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
40.10234 +-      { LC_CTYPE=C; export LC_CTYPE; }
40.10235 +-(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
40.10236 +-    { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
40.10237 +-      { LANGUAGE=C; export LANGUAGE; }
40.10238 +-(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
40.10239 +-    { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
40.10240 +-      { LC_COLLATE=C; export LC_COLLATE; }
40.10241 +-(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
40.10242 +-    { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
40.10243 +-      { LC_NUMERIC=C; export LC_NUMERIC; }
40.10244 +-(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
40.10245 +-    { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
40.10246 +-      { LC_MESSAGES=C; export LC_MESSAGES; }
40.10247 ++
40.10248 ++# Work around bugs in pre-3.0 UWIN ksh.
40.10249 ++$as_unset ENV MAIL MAILPATH
40.10250 ++PS1='$ '
40.10251 ++PS2='> '
40.10252 ++PS4='+ '
40.10253 ++
40.10254 ++# NLS nuisances.
40.10255 ++for as_var in \
40.10256 ++  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
40.10257 ++  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
40.10258 ++  LC_TELEPHONE LC_TIME
40.10259 ++do
40.10260 ++  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
40.10261 ++    eval $as_var=C; export $as_var
40.10262 ++  else
40.10263 ++    $as_unset $as_var
40.10264 ++  fi
40.10265 ++done
40.10266 ++
40.10267 ++# Required to use basename.
40.10268 ++if expr a : '\(a\)' >/dev/null 2>&1; then
40.10269 ++  as_expr=expr
40.10270 ++else
40.10271 ++  as_expr=false
40.10272 ++fi
40.10273 ++
40.10274 ++if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
40.10275 ++  as_basename=basename
40.10276 ++else
40.10277 ++  as_basename=false
40.10278 ++fi
40.10279 + 
40.10280 + 
40.10281 + # Name of the executable.
40.10282 +-as_me=`(basename "$0") 2>/dev/null ||
40.10283 ++as_me=`$as_basename "$0" ||
40.10284 + $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
40.10285 + 	 X"$0" : 'X\(//\)$' \| \
40.10286 + 	 X"$0" : 'X\(/\)$' \| \
40.10287 +@@ -231,6 +75,7 @@
40.10288 +   	  /^X\/\(\/\).*/{ s//\1/; q; }
40.10289 +   	  s/.*/./; q'`
40.10290 + 
40.10291 ++
40.10292 + # PATH needs CR, and LINENO needs CR and PATH.
40.10293 + # Avoid depending upon Character Ranges.
40.10294 + as_cr_letters='abcdefghijklmnopqrstuvwxyz'
40.10295 +@@ -241,15 +86,15 @@
40.10296 + 
40.10297 + # The user is always right.
40.10298 + if test "${PATH_SEPARATOR+set}" != set; then
40.10299 +-  echo "#! /bin/sh" >conftest.sh
40.10300 +-  echo  "exit 0"   >>conftest.sh
40.10301 +-  chmod +x conftest.sh
40.10302 +-  if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
40.10303 ++  echo "#! /bin/sh" >conf$$.sh
40.10304 ++  echo  "exit 0"   >>conf$$.sh
40.10305 ++  chmod +x conf$$.sh
40.10306 ++  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
40.10307 +     PATH_SEPARATOR=';'
40.10308 +   else
40.10309 +     PATH_SEPARATOR=:
40.10310 +   fi
40.10311 +-  rm -f conftest.sh
40.10312 ++  rm -f conf$$.sh
40.10313 + fi
40.10314 + 
40.10315 + 
40.10316 +@@ -297,6 +142,8 @@
40.10317 +   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
40.10318 +   test "x$as_lineno_1" != "x$as_lineno_2" &&
40.10319 +   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
40.10320 ++	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
40.10321 ++	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
40.10322 + 	     CONFIG_SHELL=$as_dir/$as_base
40.10323 + 	     export CONFIG_SHELL
40.10324 + 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
40.10325 +@@ -369,13 +216,20 @@
40.10326 + fi
40.10327 + rm -f conf$$ conf$$.exe conf$$.file
40.10328 + 
40.10329 ++if mkdir -p . 2>/dev/null; then
40.10330 ++  as_mkdir_p=:
40.10331 ++else
40.10332 ++  test -d ./-p && rmdir ./-p
40.10333 ++  as_mkdir_p=false
40.10334 ++fi
40.10335 ++
40.10336 + as_executable_p="test -f"
40.10337 + 
40.10338 + # Sed expression to map a string onto a valid CPP name.
40.10339 +-as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
40.10340 ++as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
40.10341 + 
40.10342 + # Sed expression to map a string onto a valid variable name.
40.10343 +-as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
40.10344 ++as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
40.10345 + 
40.10346 + 
40.10347 + # IFS
40.10348 +@@ -385,7 +239,165 @@
40.10349 + IFS=" 	$as_nl"
40.10350 + 
40.10351 + # CDPATH.
40.10352 +-$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
40.10353 ++$as_unset CDPATH
40.10354 ++
40.10355 ++
40.10356 ++# Find the correct PATH separator.  Usually this is `:', but
40.10357 ++# DJGPP uses `;' like DOS.
40.10358 ++if test "X${PATH_SEPARATOR+set}" != Xset; then
40.10359 ++  UNAME=${UNAME-`uname 2>/dev/null`}
40.10360 ++  case X$UNAME in
40.10361 ++    *-DOS) lt_cv_sys_path_separator=';' ;;
40.10362 ++    *)     lt_cv_sys_path_separator=':' ;;
40.10363 ++  esac
40.10364 ++fi
40.10365 ++
40.10366 ++
40.10367 ++# Check that we are running under the correct shell.
40.10368 ++SHELL=${CONFIG_SHELL-/bin/sh}
40.10369 ++
40.10370 ++case X$ECHO in
40.10371 ++X*--fallback-echo)
40.10372 ++  # Remove one level of quotation (which was required for Make).
40.10373 ++  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
40.10374 ++  ;;
40.10375 ++esac
40.10376 ++
40.10377 ++echo=${ECHO-echo}
40.10378 ++if test "X$1" = X--no-reexec; then
40.10379 ++  # Discard the --no-reexec flag, and continue.
40.10380 ++  shift
40.10381 ++elif test "X$1" = X--fallback-echo; then
40.10382 ++  # Avoid inline document here, it may be left over
40.10383 ++  :
40.10384 ++elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
40.10385 ++  # Yippee, $echo works!
40.10386 ++  :
40.10387 ++else
40.10388 ++  # Restart under the correct shell.
40.10389 ++  exec $SHELL "$0" --no-reexec ${1+"$@"}
40.10390 ++fi
40.10391 ++
40.10392 ++if test "X$1" = X--fallback-echo; then
40.10393 ++  # used as fallback echo
40.10394 ++  shift
40.10395 ++  cat <<EOF
40.10396 ++
40.10397 ++EOF
40.10398 ++  exit 0
40.10399 ++fi
40.10400 ++
40.10401 ++# The HP-UX ksh and POSIX shell print the target directory to stdout
40.10402 ++# if CDPATH is set.
40.10403 ++if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
40.10404 ++
40.10405 ++if test -z "$ECHO"; then
40.10406 ++if test "X${echo_test_string+set}" != Xset; then
40.10407 ++# find a string as large as possible, as long as the shell can cope with it
40.10408 ++  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
40.10409 ++    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
40.10410 ++    if (echo_test_string="`eval $cmd`") 2>/dev/null &&
40.10411 ++       echo_test_string="`eval $cmd`" &&
40.10412 ++       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
40.10413 ++    then
40.10414 ++      break
40.10415 ++    fi
40.10416 ++  done
40.10417 ++fi
40.10418 ++
40.10419 ++if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
40.10420 ++   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
40.10421 ++   test "X$echo_testing_string" = "X$echo_test_string"; then
40.10422 ++  :
40.10423 ++else
40.10424 ++  # The Solaris, AIX, and Digital Unix default echo programs unquote
40.10425 ++  # backslashes.  This makes it impossible to quote backslashes using
40.10426 ++  #   echo "$something" | sed 's/\\/\\\\/g'
40.10427 ++  #
40.10428 ++  # So, first we look for a working echo in the user's PATH.
40.10429 ++
40.10430 ++  IFS="${IFS= 	}"; save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR}"
40.10431 ++  for dir in $PATH /usr/ucb; do
40.10432 ++    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
40.10433 ++       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
40.10434 ++       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
40.10435 ++       test "X$echo_testing_string" = "X$echo_test_string"; then
40.10436 ++      echo="$dir/echo"
40.10437 ++      break
40.10438 ++    fi
40.10439 ++  done
40.10440 ++  IFS="$save_ifs"
40.10441 ++
40.10442 ++  if test "X$echo" = Xecho; then
40.10443 ++    # We didn't find a better echo, so look for alternatives.
40.10444 ++    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
40.10445 ++       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
40.10446 ++       test "X$echo_testing_string" = "X$echo_test_string"; then
40.10447 ++      # This shell has a builtin print -r that does the trick.
40.10448 ++      echo='print -r'
40.10449 ++    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
40.10450 ++	 test "X$CONFIG_SHELL" != X/bin/ksh; then
40.10451 ++      # If we have ksh, try running configure again with it.
40.10452 ++      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
40.10453 ++      export ORIGINAL_CONFIG_SHELL
40.10454 ++      CONFIG_SHELL=/bin/ksh
40.10455 ++      export CONFIG_SHELL
40.10456 ++      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
40.10457 ++    else
40.10458 ++      # Try using printf.
40.10459 ++      echo='printf %s\n'
40.10460 ++      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
40.10461 ++	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
40.10462 ++	 test "X$echo_testing_string" = "X$echo_test_string"; then
40.10463 ++	# Cool, printf works
40.10464 ++	:
40.10465 ++      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
40.10466 ++	   test "X$echo_testing_string" = 'X\t' &&
40.10467 ++	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
40.10468 ++	   test "X$echo_testing_string" = "X$echo_test_string"; then
40.10469 ++	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
40.10470 ++	export CONFIG_SHELL
40.10471 ++	SHELL="$CONFIG_SHELL"
40.10472 ++	export SHELL
40.10473 ++	echo="$CONFIG_SHELL $0 --fallback-echo"
40.10474 ++      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
40.10475 ++	   test "X$echo_testing_string" = 'X\t' &&
40.10476 ++	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
40.10477 ++	   test "X$echo_testing_string" = "X$echo_test_string"; then
40.10478 ++	echo="$CONFIG_SHELL $0 --fallback-echo"
40.10479 ++      else
40.10480 ++	# maybe with a smaller string...
40.10481 ++	prev=:
40.10482 ++
40.10483 ++	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
40.10484 ++	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
40.10485 ++	  then
40.10486 ++	    break
40.10487 ++	  fi
40.10488 ++	  prev="$cmd"
40.10489 ++	done
40.10490 ++
40.10491 ++	if test "$prev" != 'sed 50q "$0"'; then
40.10492 ++	  echo_test_string=`eval $prev`
40.10493 ++	  export echo_test_string
40.10494 ++	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
40.10495 ++	else
40.10496 ++	  # Oops.  We lost completely, so just stick with echo.
40.10497 ++	  echo=echo
40.10498 ++	fi
40.10499 ++      fi
40.10500 ++    fi
40.10501 ++  fi
40.10502 ++fi
40.10503 ++fi
40.10504 ++
40.10505 ++# Copy echo and quote the copy suitably for passing to libtool from
40.10506 ++# the Makefile, instead of quoting the original, which is used later.
40.10507 ++ECHO=$echo
40.10508 ++if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
40.10509 ++   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
40.10510 ++fi
40.10511 ++
40.10512 + 
40.10513 + 
40.10514 + # Name of the host.
40.10515 +@@ -399,6 +411,7 @@
40.10516 + # Initializations.
40.10517 + #
40.10518 + ac_default_prefix=/usr/local
40.10519 ++ac_config_libobj_dir=.
40.10520 + cross_compiling=no
40.10521 + subdirs=
40.10522 + MFLAGS=
40.10523 +@@ -455,6 +468,8 @@
40.10524 + # include <unistd.h>
40.10525 + #endif"
40.10526 + 
40.10527 ++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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO SET_MAKE TOP SPINCLUDEDIR SPLIBDIR build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT LN_S CXX CXXFLAGS ac_ct_CXX PERL SED CPP EGREP LIB_THREADS CXXCPP ECHO RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP LIBTOOL LIBTOOL_DEPS LINKFLAGS LIBOBJS LTLIBOBJS'
40.10528 ++ac_subst_files=''
40.10529 + 
40.10530 + # Initialize some variables set by options.
40.10531 + ac_init_help=
40.10532 +@@ -812,7 +827,7 @@
40.10533 + 
40.10534 + # Be sure to have absolute paths.
40.10535 + for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
40.10536 +-              localstatedir libdir includedir oldincludedir infodir mandir
40.10537 ++	      localstatedir libdir includedir oldincludedir infodir mandir
40.10538 + do
40.10539 +   eval ac_val=$`echo $ac_var`
40.10540 +   case $ac_val in
40.10541 +@@ -852,10 +867,10 @@
40.10542 +   # Try the directory containing this script, then its parent.
40.10543 +   ac_confdir=`(dirname "$0") 2>/dev/null ||
40.10544 + $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40.10545 +-         X"$0" : 'X\(//\)[^/]' \| \
40.10546 +-         X"$0" : 'X\(//\)$' \| \
40.10547 +-         X"$0" : 'X\(/\)' \| \
40.10548 +-         .     : '\(.\)' 2>/dev/null ||
40.10549 ++	 X"$0" : 'X\(//\)[^/]' \| \
40.10550 ++	 X"$0" : 'X\(//\)$' \| \
40.10551 ++	 X"$0" : 'X\(/\)' \| \
40.10552 ++	 .     : '\(.\)' 2>/dev/null ||
40.10553 + echo X"$0" |
40.10554 +     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40.10555 +   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40.10556 +@@ -878,6 +893,9 @@
40.10557 +    { (exit 1); exit 1; }; }
40.10558 +   fi
40.10559 + fi
40.10560 ++(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
40.10561 ++  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
40.10562 ++   { (exit 1); exit 1; }; }
40.10563 + srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
40.10564 + ac_env_build_alias_set=${build_alias+set}
40.10565 + ac_env_build_alias_value=$build_alias
40.10566 +@@ -956,9 +974,9 @@
40.10567 +   cat <<_ACEOF
40.10568 + Installation directories:
40.10569 +   --prefix=PREFIX         install architecture-independent files in PREFIX
40.10570 +-                          [$ac_default_prefix]
40.10571 ++			  [$ac_default_prefix]
40.10572 +   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
40.10573 +-                          [PREFIX]
40.10574 ++			  [PREFIX]
40.10575 + 
40.10576 + By default, \`make install' will install all the files in
40.10577 + \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
40.10578 +@@ -1073,12 +1091,45 @@
40.10579 +     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
40.10580 +     ac_top_srcdir=$ac_top_builddir$srcdir ;;
40.10581 + esac
40.10582 +-# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
40.10583 +-# absolute.
40.10584 +-ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
40.10585 +-ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
40.10586 +-ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
40.10587 +-ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
40.10588 ++
40.10589 ++# Do not use `cd foo && pwd` to compute absolute paths, because
40.10590 ++# the directories may not exist.
40.10591 ++case `pwd` in
40.10592 ++.) ac_abs_builddir="$ac_dir";;
40.10593 ++*)
40.10594 ++  case "$ac_dir" in
40.10595 ++  .) ac_abs_builddir=`pwd`;;
40.10596 ++  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
40.10597 ++  *) ac_abs_builddir=`pwd`/"$ac_dir";;
40.10598 ++  esac;;
40.10599 ++esac
40.10600 ++case $ac_abs_builddir in
40.10601 ++.) ac_abs_top_builddir=${ac_top_builddir}.;;
40.10602 ++*)
40.10603 ++  case ${ac_top_builddir}. in
40.10604 ++  .) ac_abs_top_builddir=$ac_abs_builddir;;
40.10605 ++  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
40.10606 ++  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
40.10607 ++  esac;;
40.10608 ++esac
40.10609 ++case $ac_abs_builddir in
40.10610 ++.) ac_abs_srcdir=$ac_srcdir;;
40.10611 ++*)
40.10612 ++  case $ac_srcdir in
40.10613 ++  .) ac_abs_srcdir=$ac_abs_builddir;;
40.10614 ++  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
40.10615 ++  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
40.10616 ++  esac;;
40.10617 ++esac
40.10618 ++case $ac_abs_builddir in
40.10619 ++.) ac_abs_top_srcdir=$ac_top_srcdir;;
40.10620 ++*)
40.10621 ++  case $ac_top_srcdir in
40.10622 ++  .) ac_abs_top_srcdir=$ac_abs_builddir;;
40.10623 ++  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
40.10624 ++  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
40.10625 ++  esac;;
40.10626 ++esac
40.10627 + 
40.10628 +     cd $ac_dir
40.10629 +     # Check for guested configure; otherwise get Cygnus style configure.
40.10630 +@@ -1089,13 +1140,13 @@
40.10631 +       echo
40.10632 +       $SHELL $ac_srcdir/configure  --help=recursive
40.10633 +     elif test -f $ac_srcdir/configure.ac ||
40.10634 +-           test -f $ac_srcdir/configure.in; then
40.10635 ++	   test -f $ac_srcdir/configure.in; then
40.10636 +       echo
40.10637 +       $ac_configure --help
40.10638 +     else
40.10639 +       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
40.10640 +     fi
40.10641 +-    cd $ac_popdir
40.10642 ++    cd "$ac_popdir"
40.10643 +   done
40.10644 + fi
40.10645 + 
40.10646 +@@ -1103,8 +1154,7 @@
40.10647 + if $ac_init_version; then
40.10648 +   cat <<\_ACEOF
40.10649 + 
40.10650 +-Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
40.10651 +-Free Software Foundation, Inc.
40.10652 ++Copyright (C) 2003 Free Software Foundation, Inc.
40.10653 + This configure script is free software; the Free Software Foundation
40.10654 + gives unlimited permission to copy, distribute and modify it.
40.10655 + _ACEOF
40.10656 +@@ -1116,7 +1166,7 @@
40.10657 + running configure, to aid debugging if configure makes a mistake.
40.10658 + 
40.10659 + It was created by $as_me, which was
40.10660 +-generated by GNU Autoconf 2.53.  Invocation command line was
40.10661 ++generated by GNU Autoconf 2.59.  Invocation command line was
40.10662 + 
40.10663 +   $ $0 $@
40.10664 + 
40.10665 +@@ -1168,27 +1218,54 @@
40.10666 + 
40.10667 + # Keep a trace of the command line.
40.10668 + # Strip out --no-create and --no-recursion so they do not pile up.
40.10669 ++# Strip out --silent because we don't want to record it for future runs.
40.10670 + # Also quote any args containing shell meta-characters.
40.10671 ++# Make two passes to allow for proper duplicate-argument suppression.
40.10672 + ac_configure_args=
40.10673 ++ac_configure_args0=
40.10674 ++ac_configure_args1=
40.10675 + ac_sep=
40.10676 +-for ac_arg
40.10677 ++ac_must_keep_next=false
40.10678 ++for ac_pass in 1 2
40.10679 + do
40.10680 +-  case $ac_arg in
40.10681 +-  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
40.10682 +-  | --no-cr | --no-c | -n ) continue ;;
40.10683 +-  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
40.10684 +-  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
40.10685 +-    continue ;;
40.10686 +-  *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
40.10687 +-    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
40.10688 +-  esac
40.10689 +-  case " $ac_configure_args " in
40.10690 +-    *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
40.10691 +-    *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
40.10692 +-       ac_sep=" " ;;
40.10693 +-  esac
40.10694 +-  # Get rid of the leading space.
40.10695 ++  for ac_arg
40.10696 ++  do
40.10697 ++    case $ac_arg in
40.10698 ++    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
40.10699 ++    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
40.10700 ++    | -silent | --silent | --silen | --sile | --sil)
40.10701 ++      continue ;;
40.10702 ++    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
40.10703 ++      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
40.10704 ++    esac
40.10705 ++    case $ac_pass in
40.10706 ++    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
40.10707 ++    2)
40.10708 ++      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
40.10709 ++      if test $ac_must_keep_next = true; then
40.10710 ++	ac_must_keep_next=false # Got value, back to normal.
40.10711 ++      else
40.10712 ++	case $ac_arg in
40.10713 ++	  *=* | --config-cache | -C | -disable-* | --disable-* \
40.10714 ++	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
40.10715 ++	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
40.10716 ++	  | -with-* | --with-* | -without-* | --without-* | --x)
40.10717 ++	    case "$ac_configure_args0 " in
40.10718 ++	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
40.10719 ++	    esac
40.10720 ++	    ;;
40.10721 ++	  -* ) ac_must_keep_next=true ;;
40.10722 ++	esac
40.10723 ++      fi
40.10724 ++      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
40.10725 ++      # Get rid of the leading space.
40.10726 ++      ac_sep=" "
40.10727 ++      ;;
40.10728 ++    esac
40.10729 ++  done
40.10730 + done
40.10731 ++$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
40.10732 ++$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
40.10733 + 
40.10734 + # When interrupted or exit'd, cleanup temporary files, and complete
40.10735 + # config.log.  We remove comments because anyway the quotes in there
40.10736 +@@ -1199,6 +1276,7 @@
40.10737 +   # Save into config.log some information that might help in debugging.
40.10738 +   {
40.10739 +     echo
40.10740 ++
40.10741 +     cat <<\_ASBOX
40.10742 + ## ---------------- ##
40.10743 + ## Cache variables. ##
40.10744 +@@ -1211,16 +1289,45 @@
40.10745 +     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
40.10746 +     *ac_space=\ *)
40.10747 +       sed -n \
40.10748 +-        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
40.10749 +-    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
40.10750 ++	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
40.10751 ++	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
40.10752 +       ;;
40.10753 +     *)
40.10754 +       sed -n \
40.10755 +-        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
40.10756 ++	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
40.10757 +       ;;
40.10758 +     esac;
40.10759 + }
40.10760 +     echo
40.10761 ++
40.10762 ++    cat <<\_ASBOX
40.10763 ++## ----------------- ##
40.10764 ++## Output variables. ##
40.10765 ++## ----------------- ##
40.10766 ++_ASBOX
40.10767 ++    echo
40.10768 ++    for ac_var in $ac_subst_vars
40.10769 ++    do
40.10770 ++      eval ac_val=$`echo $ac_var`
40.10771 ++      echo "$ac_var='"'"'$ac_val'"'"'"
40.10772 ++    done | sort
40.10773 ++    echo
40.10774 ++
40.10775 ++    if test -n "$ac_subst_files"; then
40.10776 ++      cat <<\_ASBOX
40.10777 ++## ------------- ##
40.10778 ++## Output files. ##
40.10779 ++## ------------- ##
40.10780 ++_ASBOX
40.10781 ++      echo
40.10782 ++      for ac_var in $ac_subst_files
40.10783 ++      do
40.10784 ++	eval ac_val=$`echo $ac_var`
40.10785 ++	echo "$ac_var='"'"'$ac_val'"'"'"
40.10786 ++      done | sort
40.10787 ++      echo
40.10788 ++    fi
40.10789 ++
40.10790 +     if test -s confdefs.h; then
40.10791 +       cat <<\_ASBOX
40.10792 + ## ----------- ##
40.10793 +@@ -1228,14 +1335,14 @@
40.10794 + ## ----------- ##
40.10795 + _ASBOX
40.10796 +       echo
40.10797 +-      sed "/^$/d" confdefs.h
40.10798 ++      sed "/^$/d" confdefs.h | sort
40.10799 +       echo
40.10800 +     fi
40.10801 +     test "$ac_signal" != 0 &&
40.10802 +       echo "$as_me: caught signal $ac_signal"
40.10803 +     echo "$as_me: exit $exit_status"
40.10804 +   } >&5
40.10805 +-  rm -f core core.* *.core &&
40.10806 ++  rm -f core *.core &&
40.10807 +   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
40.10808 +     exit $exit_status
40.10809 +      ' 0
40.10810 +@@ -1315,7 +1422,7 @@
40.10811 + # value.
40.10812 + ac_cache_corrupted=false
40.10813 + for ac_var in `(set) 2>&1 |
40.10814 +-               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
40.10815 ++	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
40.10816 +   eval ac_old_set=\$ac_cv_env_${ac_var}_set
40.10817 +   eval ac_new_set=\$ac_env_${ac_var}_set
40.10818 +   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
40.10819 +@@ -1332,13 +1439,13 @@
40.10820 +     ,);;
40.10821 +     *)
40.10822 +       if test "x$ac_old_val" != "x$ac_new_val"; then
40.10823 +-        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
40.10824 ++	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
40.10825 + echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
40.10826 +-        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
40.10827 ++	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
40.10828 + echo "$as_me:   former value:  $ac_old_val" >&2;}
40.10829 +-        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
40.10830 ++	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
40.10831 + echo "$as_me:   current value: $ac_new_val" >&2;}
40.10832 +-        ac_cache_corrupted=:
40.10833 ++	ac_cache_corrupted=:
40.10834 +       fi;;
40.10835 +   esac
40.10836 +   # Pass precious variables to config.status.
40.10837 +@@ -1385,6 +1492,7 @@
40.10838 + 
40.10839 + 
40.10840 + 
40.10841 ++
40.10842 + ac_aux_dir=
40.10843 + for ac_dir in config $srcdir/config; do
40.10844 +   if test -f $ac_dir/install-sh; then
40.10845 +@@ -1421,6 +1529,7 @@
40.10846 + # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
40.10847 + # AFS /usr/afsws/bin/install, which mishandles nonexistent args
40.10848 + # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
40.10849 ++# OS/2's system install, which has a completely different semantic
40.10850 + # ./install, which can be erroneously created by make from ./install.sh.
40.10851 + echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
40.10852 + echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
40.10853 +@@ -1437,6 +1546,7 @@
40.10854 + case $as_dir/ in
40.10855 +   ./ | .// | /cC/* | \
40.10856 +   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
40.10857 ++  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
40.10858 +   /usr/ucb/* ) ;;
40.10859 +   *)
40.10860 +     # OSF1 and SCO ODT 3.0 have their own names for install.
40.10861 +@@ -1444,20 +1554,20 @@
40.10862 +     # by default.
40.10863 +     for ac_prog in ginstall scoinst install; do
40.10864 +       for ac_exec_ext in '' $ac_executable_extensions; do
40.10865 +-        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
40.10866 +-          if test $ac_prog = install &&
40.10867 +-            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
40.10868 +-            # AIX install.  It has an incompatible calling convention.
40.10869 +-            :
40.10870 +-          elif test $ac_prog = install &&
40.10871 +-            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
40.10872 +-            # program-specific install script used by HP pwplus--don't use.
40.10873 +-            :
40.10874 +-          else
40.10875 +-            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
40.10876 +-            break 3
40.10877 +-          fi
40.10878 +-        fi
40.10879 ++	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
40.10880 ++	  if test $ac_prog = install &&
40.10881 ++	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
40.10882 ++	    # AIX install.  It has an incompatible calling convention.
40.10883 ++	    :
40.10884 ++	  elif test $ac_prog = install &&
40.10885 ++	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
40.10886 ++	    # program-specific install script used by HP pwplus--don't use.
40.10887 ++	    :
40.10888 ++	  else
40.10889 ++	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
40.10890 ++	    break 3
40.10891 ++	  fi
40.10892 ++	fi
40.10893 +       done
40.10894 +     done
40.10895 +     ;;
40.10896 +@@ -1545,15 +1655,15 @@
40.10897 + program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
40.10898 + rm conftest.sed
40.10899 + 
40.10900 +-echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
40.10901 +-echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
40.10902 +-set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
40.10903 ++echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
40.10904 ++echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
40.10905 ++set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
40.10906 + if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
40.10907 +   echo $ECHO_N "(cached) $ECHO_C" >&6
40.10908 + else
40.10909 +   cat >conftest.make <<\_ACEOF
40.10910 + all:
40.10911 +-	@echo 'ac_maketemp="${MAKE}"'
40.10912 ++	@echo 'ac_maketemp="$(MAKE)"'
40.10913 + _ACEOF
40.10914 + # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
40.10915 + eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
40.10916 +@@ -1751,9 +1861,6 @@
40.10917 +   /usr/local/include/OpenSP) osplibdir=/usr/local/lib ;;
40.10918 +   *) osplibdir=/usr/lib ;;
40.10919 + esac
40.10920 +-# On PPC64 libosp is to be found in /usr/lib64; thus
40.10921 +-# fall back to this directory
40.10922 +-test -d ${osplibdir}64 && osplibdir=${osplibdir}64
40.10923 + echo "$as_me:$LINENO: checking location of OpenSP Library" >&5
40.10924 + echo $ECHO_N "checking location of OpenSP Library... $ECHO_C" >&6
40.10925 + # Check whether --enable-splibdir or --disable-splibdir was given.
40.10926 +@@ -2048,9 +2155,7 @@
40.10927 +     # However, it has the same basename, so the bogon will be chosen
40.10928 +     # first if we set CC to just the basename; use the full file name.
40.10929 +     shift
40.10930 +-    set dummy "$as_dir/$ac_word" ${1+"$@"}
40.10931 +-    shift
40.10932 +-    ac_cv_prog_CC="$@"
40.10933 ++    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
40.10934 +   fi
40.10935 + fi
40.10936 + fi
40.10937 +@@ -2155,8 +2260,10 @@
40.10938 + fi
40.10939 + 
40.10940 + 
40.10941 +-test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
40.10942 +-echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
40.10943 ++test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
40.10944 ++See \`config.log' for more details." >&5
40.10945 ++echo "$as_me: error: no acceptable C compiler found in \$PATH
40.10946 ++See \`config.log' for more details." >&2;}
40.10947 +    { (exit 1); exit 1; }; }
40.10948 + 
40.10949 + # Provide some information about the compiler.
40.10950 +@@ -2180,15 +2287,12 @@
40.10951 +   (exit $ac_status); }
40.10952 + 
40.10953 + cat >conftest.$ac_ext <<_ACEOF
40.10954 +-#line $LINENO "configure"
40.10955 +-#include "confdefs.h"
40.10956 ++/* confdefs.h.  */
40.10957 ++_ACEOF
40.10958 ++cat confdefs.h >>conftest.$ac_ext
40.10959 ++cat >>conftest.$ac_ext <<_ACEOF
40.10960 ++/* end confdefs.h.  */
40.10961 + 
40.10962 +-#ifdef F77_DUMMY_MAIN
40.10963 +-#  ifdef __cplusplus
40.10964 +-     extern "C"
40.10965 +-#  endif
40.10966 +-   int F77_DUMMY_MAIN() { return 1; }
40.10967 +-#endif
40.10968 + int
40.10969 + main ()
40.10970 + {
40.10971 +@@ -2198,12 +2302,12 @@
40.10972 + }
40.10973 + _ACEOF
40.10974 + ac_clean_files_save=$ac_clean_files
40.10975 +-ac_clean_files="$ac_clean_files a.out a.exe"
40.10976 ++ac_clean_files="$ac_clean_files a.out a.exe b.out"
40.10977 + # Try to create an executable without -o first, disregard a.out.
40.10978 + # It will help us diagnose broken compilers, and finding out an intuition
40.10979 + # of exeext.
40.10980 +-echo "$as_me:$LINENO: checking for C compiler default output" >&5
40.10981 +-echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
40.10982 ++echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
40.10983 ++echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
40.10984 + ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
40.10985 + if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
40.10986 +   (eval $ac_link_default) 2>&5
40.10987 +@@ -2217,26 +2321,39 @@
40.10988 + # Be careful to initialize this variable, since it used to be cached.
40.10989 + # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
40.10990 + ac_cv_exeext=
40.10991 +-for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
40.10992 +-                ls a.out conftest 2>/dev/null;
40.10993 +-                ls a.* conftest.* 2>/dev/null`; do
40.10994 ++# b.out is created by i960 compilers.
40.10995 ++for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
40.10996 ++do
40.10997 ++  test -f "$ac_file" || continue
40.10998 +   case $ac_file in
40.10999 +-    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
40.11000 +-    a.out ) # We found the default executable, but exeext='' is most
40.11001 +-            # certainly right.
40.11002 +-            break;;
40.11003 +-    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
40.11004 +-          # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
40.11005 +-          export ac_cv_exeext
40.11006 +-          break;;
40.11007 +-    * ) break;;
40.11008 ++    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
40.11009 ++	;;
40.11010 ++    conftest.$ac_ext )
40.11011 ++	# This is the source file.
40.11012 ++	;;
40.11013 ++    [ab].out )
40.11014 ++	# We found the default executable, but exeext='' is most
40.11015 ++	# certainly right.
40.11016 ++	break;;
40.11017 ++    *.* )
40.11018 ++	ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
40.11019 ++	# FIXME: I believe we export ac_cv_exeext for Libtool,
40.11020 ++	# but it would be cool to find out if it's true.  Does anybody
40.11021 ++	# maintain Libtool? --akim.
40.11022 ++	export ac_cv_exeext
40.11023 ++	break;;
40.11024 ++    * )
40.11025 ++	break;;
40.11026 +   esac
40.11027 + done
40.11028 + else
40.11029 +   echo "$as_me: failed program was:" >&5
40.11030 +-cat conftest.$ac_ext >&5
40.11031 +-{ { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
40.11032 +-echo "$as_me: error: C compiler cannot create executables" >&2;}
40.11033 ++sed 's/^/| /' conftest.$ac_ext >&5
40.11034 ++
40.11035 ++{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
40.11036 ++See \`config.log' for more details." >&5
40.11037 ++echo "$as_me: error: C compiler cannot create executables
40.11038 ++See \`config.log' for more details." >&2;}
40.11039 +    { (exit 77); exit 77; }; }
40.11040 + fi
40.11041 + 
40.11042 +@@ -2263,9 +2380,11 @@
40.11043 + 	cross_compiling=yes
40.11044 +     else
40.11045 + 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
40.11046 +-If you meant to cross compile, use \`--host'." >&5
40.11047 ++If you meant to cross compile, use \`--host'.
40.11048 ++See \`config.log' for more details." >&5
40.11049 + echo "$as_me: error: cannot run C compiled programs.
40.11050 +-If you meant to cross compile, use \`--host'." >&2;}
40.11051 ++If you meant to cross compile, use \`--host'.
40.11052 ++See \`config.log' for more details." >&2;}
40.11053 +    { (exit 1); exit 1; }; }
40.11054 +     fi
40.11055 +   fi
40.11056 +@@ -2273,7 +2392,7 @@
40.11057 + echo "$as_me:$LINENO: result: yes" >&5
40.11058 + echo "${ECHO_T}yes" >&6
40.11059 + 
40.11060 +-rm -f a.out a.exe conftest$ac_cv_exeext
40.11061 ++rm -f a.out a.exe conftest$ac_cv_exeext b.out
40.11062 + ac_clean_files=$ac_clean_files_save
40.11063 + # Check the compiler produces executables we can run.  If not, either
40.11064 + # the compiler is broken, or we cross compile.
40.11065 +@@ -2293,18 +2412,21 @@
40.11066 + # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
40.11067 + # work properly (i.e., refer to `conftest.exe'), while it won't with
40.11068 + # `rm'.
40.11069 +-for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
40.11070 ++for ac_file in conftest.exe conftest conftest.*; do
40.11071 ++  test -f "$ac_file" || continue
40.11072 +   case $ac_file in
40.11073 +-    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
40.11074 ++    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
40.11075 +     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
40.11076 +-          export ac_cv_exeext
40.11077 +-          break;;
40.11078 ++	  export ac_cv_exeext
40.11079 ++	  break;;
40.11080 +     * ) break;;
40.11081 +   esac
40.11082 + done
40.11083 + else
40.11084 +-  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
40.11085 +-echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
40.11086 ++  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
40.11087 ++See \`config.log' for more details." >&5
40.11088 ++echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
40.11089 ++See \`config.log' for more details." >&2;}
40.11090 +    { (exit 1); exit 1; }; }
40.11091 + fi
40.11092 + 
40.11093 +@@ -2321,15 +2443,12 @@
40.11094 +   echo $ECHO_N "(cached) $ECHO_C" >&6
40.11095 + else
40.11096 +   cat >conftest.$ac_ext <<_ACEOF
40.11097 +-#line $LINENO "configure"
40.11098 +-#include "confdefs.h"
40.11099 ++/* confdefs.h.  */
40.11100 ++_ACEOF
40.11101 ++cat confdefs.h >>conftest.$ac_ext
40.11102 ++cat >>conftest.$ac_ext <<_ACEOF
40.11103 ++/* end confdefs.h.  */
40.11104 + 
40.11105 +-#ifdef F77_DUMMY_MAIN
40.11106 +-#  ifdef __cplusplus
40.11107 +-     extern "C"
40.11108 +-#  endif
40.11109 +-   int F77_DUMMY_MAIN() { return 1; }
40.11110 +-#endif
40.11111 + int
40.11112 + main ()
40.11113 + {
40.11114 +@@ -2346,16 +2465,19 @@
40.11115 +   (exit $ac_status); }; then
40.11116 +   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
40.11117 +   case $ac_file in
40.11118 +-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
40.11119 ++    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
40.11120 +     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
40.11121 +        break;;
40.11122 +   esac
40.11123 + done
40.11124 + else
40.11125 +   echo "$as_me: failed program was:" >&5
40.11126 +-cat conftest.$ac_ext >&5
40.11127 +-{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
40.11128 +-echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
40.11129 ++sed 's/^/| /' conftest.$ac_ext >&5
40.11130 ++
40.11131 ++{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
40.11132 ++See \`config.log' for more details." >&5
40.11133 ++echo "$as_me: error: cannot compute suffix of object files: cannot compile
40.11134 ++See \`config.log' for more details." >&2;}
40.11135 +    { (exit 1); exit 1; }; }
40.11136 + fi
40.11137 + 
40.11138 +@@ -2371,15 +2493,12 @@
40.11139 +   echo $ECHO_N "(cached) $ECHO_C" >&6
40.11140 + else
40.11141 +   cat >conftest.$ac_ext <<_ACEOF
40.11142 +-#line $LINENO "configure"
40.11143 +-#include "confdefs.h"
40.11144 ++/* confdefs.h.  */
40.11145 ++_ACEOF
40.11146 ++cat confdefs.h >>conftest.$ac_ext
40.11147 ++cat >>conftest.$ac_ext <<_ACEOF
40.11148 ++/* end confdefs.h.  */
40.11149 + 
40.11150 +-#ifdef F77_DUMMY_MAIN
40.11151 +-#  ifdef __cplusplus
40.11152 +-     extern "C"
40.11153 +-#  endif
40.11154 +-   int F77_DUMMY_MAIN() { return 1; }
40.11155 +-#endif
40.11156 + int
40.11157 + main ()
40.11158 + {
40.11159 +@@ -2393,11 +2512,20 @@
40.11160 + _ACEOF
40.11161 + rm -f conftest.$ac_objext
40.11162 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40.11163 +-  (eval $ac_compile) 2>&5
40.11164 ++  (eval $ac_compile) 2>conftest.er1
40.11165 +   ac_status=$?
40.11166 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.11167 ++  rm -f conftest.er1
40.11168 ++  cat conftest.err >&5
40.11169 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.11170 +   (exit $ac_status); } &&
40.11171 +-         { ac_try='test -s conftest.$ac_objext'
40.11172 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
40.11173 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.11174 ++  (eval $ac_try) 2>&5
40.11175 ++  ac_status=$?
40.11176 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.11177 ++  (exit $ac_status); }; } &&
40.11178 ++	 { ac_try='test -s conftest.$ac_objext'
40.11179 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.11180 +   (eval $ac_try) 2>&5
40.11181 +   ac_status=$?
40.11182 +@@ -2406,10 +2534,11 @@
40.11183 +   ac_compiler_gnu=yes
40.11184 + else
40.11185 +   echo "$as_me: failed program was:" >&5
40.11186 +-cat conftest.$ac_ext >&5
40.11187 ++sed 's/^/| /' conftest.$ac_ext >&5
40.11188 ++
40.11189 + ac_compiler_gnu=no
40.11190 + fi
40.11191 +-rm -f conftest.$ac_objext conftest.$ac_ext
40.11192 ++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40.11193 + ac_cv_c_compiler_gnu=$ac_compiler_gnu
40.11194 + 
40.11195 + fi
40.11196 +@@ -2425,15 +2554,12 @@
40.11197 +   echo $ECHO_N "(cached) $ECHO_C" >&6
40.11198 + else
40.11199 +   cat >conftest.$ac_ext <<_ACEOF
40.11200 +-#line $LINENO "configure"
40.11201 +-#include "confdefs.h"
40.11202 ++/* confdefs.h.  */
40.11203 ++_ACEOF
40.11204 ++cat confdefs.h >>conftest.$ac_ext
40.11205 ++cat >>conftest.$ac_ext <<_ACEOF
40.11206 ++/* end confdefs.h.  */
40.11207 + 
40.11208 +-#ifdef F77_DUMMY_MAIN
40.11209 +-#  ifdef __cplusplus
40.11210 +-     extern "C"
40.11211 +-#  endif
40.11212 +-   int F77_DUMMY_MAIN() { return 1; }
40.11213 +-#endif
40.11214 + int
40.11215 + main ()
40.11216 + {
40.11217 +@@ -2444,11 +2570,20 @@
40.11218 + _ACEOF
40.11219 + rm -f conftest.$ac_objext
40.11220 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40.11221 +-  (eval $ac_compile) 2>&5
40.11222 ++  (eval $ac_compile) 2>conftest.er1
40.11223 +   ac_status=$?
40.11224 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.11225 ++  rm -f conftest.er1
40.11226 ++  cat conftest.err >&5
40.11227 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.11228 +   (exit $ac_status); } &&
40.11229 +-         { ac_try='test -s conftest.$ac_objext'
40.11230 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
40.11231 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.11232 ++  (eval $ac_try) 2>&5
40.11233 ++  ac_status=$?
40.11234 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.11235 ++  (exit $ac_status); }; } &&
40.11236 ++	 { ac_try='test -s conftest.$ac_objext'
40.11237 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.11238 +   (eval $ac_try) 2>&5
40.11239 +   ac_status=$?
40.11240 +@@ -2457,10 +2592,11 @@
40.11241 +   ac_cv_prog_cc_g=yes
40.11242 + else
40.11243 +   echo "$as_me: failed program was:" >&5
40.11244 +-cat conftest.$ac_ext >&5
40.11245 ++sed 's/^/| /' conftest.$ac_ext >&5
40.11246 ++
40.11247 + ac_cv_prog_cc_g=no
40.11248 + fi
40.11249 +-rm -f conftest.$ac_objext conftest.$ac_ext
40.11250 ++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40.11251 + fi
40.11252 + echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
40.11253 + echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
40.11254 +@@ -2479,6 +2615,120 @@
40.11255 +     CFLAGS=
40.11256 +   fi
40.11257 + fi
40.11258 ++echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
40.11259 ++echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
40.11260 ++if test "${ac_cv_prog_cc_stdc+set}" = set; then
40.11261 ++  echo $ECHO_N "(cached) $ECHO_C" >&6
40.11262 ++else
40.11263 ++  ac_cv_prog_cc_stdc=no
40.11264 ++ac_save_CC=$CC
40.11265 ++cat >conftest.$ac_ext <<_ACEOF
40.11266 ++/* confdefs.h.  */
40.11267 ++_ACEOF
40.11268 ++cat confdefs.h >>conftest.$ac_ext
40.11269 ++cat >>conftest.$ac_ext <<_ACEOF
40.11270 ++/* end confdefs.h.  */
40.11271 ++#include <stdarg.h>
40.11272 ++#include <stdio.h>
40.11273 ++#include <sys/types.h>
40.11274 ++#include <sys/stat.h>
40.11275 ++/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
40.11276 ++struct buf { int x; };
40.11277 ++FILE * (*rcsopen) (struct buf *, struct stat *, int);
40.11278 ++static char *e (p, i)
40.11279 ++     char **p;
40.11280 ++     int i;
40.11281 ++{
40.11282 ++  return p[i];
40.11283 ++}
40.11284 ++static char *f (char * (*g) (char **, int), char **p, ...)
40.11285 ++{
40.11286 ++  char *s;
40.11287 ++  va_list v;
40.11288 ++  va_start (v,p);
40.11289 ++  s = g (p, va_arg (v,int));
40.11290 ++  va_end (v);
40.11291 ++  return s;
40.11292 ++}
40.11293 ++
40.11294 ++/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
40.11295 ++   function prototypes and stuff, but not '\xHH' hex character constants.
40.11296 ++   These don't provoke an error unfortunately, instead are silently treated
40.11297 ++   as 'x'.  The following induces an error, until -std1 is added to get
40.11298 ++   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
40.11299 ++   array size at least.  It's necessary to write '\x00'==0 to get something
40.11300 ++   that's true only with -std1.  */
40.11301 ++int osf4_cc_array ['\x00' == 0 ? 1 : -1];
40.11302 ++
40.11303 ++int test (int i, double x);
40.11304 ++struct s1 {int (*f) (int a);};
40.11305 ++struct s2 {int (*f) (double a);};
40.11306 ++int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
40.11307 ++int argc;
40.11308 ++char **argv;
40.11309 ++int
40.11310 ++main ()
40.11311 ++{
40.11312 ++return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
40.11313 ++  ;
40.11314 ++  return 0;
40.11315 ++}
40.11316 ++_ACEOF
40.11317 ++# Don't try gcc -ansi; that turns off useful extensions and
40.11318 ++# breaks some systems' header files.
40.11319 ++# AIX			-qlanglvl=ansi
40.11320 ++# Ultrix and OSF/1	-std1
40.11321 ++# HP-UX 10.20 and later	-Ae
40.11322 ++# HP-UX older versions	-Aa -D_HPUX_SOURCE
40.11323 ++# SVR4			-Xc -D__EXTENSIONS__
40.11324 ++for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
40.11325 ++do
40.11326 ++  CC="$ac_save_CC $ac_arg"
40.11327 ++  rm -f conftest.$ac_objext
40.11328 ++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40.11329 ++  (eval $ac_compile) 2>conftest.er1
40.11330 ++  ac_status=$?
40.11331 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.11332 ++  rm -f conftest.er1
40.11333 ++  cat conftest.err >&5
40.11334 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.11335 ++  (exit $ac_status); } &&
40.11336 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
40.11337 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.11338 ++  (eval $ac_try) 2>&5
40.11339 ++  ac_status=$?
40.11340 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.11341 ++  (exit $ac_status); }; } &&
40.11342 ++	 { ac_try='test -s conftest.$ac_objext'
40.11343 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.11344 ++  (eval $ac_try) 2>&5
40.11345 ++  ac_status=$?
40.11346 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.11347 ++  (exit $ac_status); }; }; then
40.11348 ++  ac_cv_prog_cc_stdc=$ac_arg
40.11349 ++break
40.11350 ++else
40.11351 ++  echo "$as_me: failed program was:" >&5
40.11352 ++sed 's/^/| /' conftest.$ac_ext >&5
40.11353 ++
40.11354 ++fi
40.11355 ++rm -f conftest.err conftest.$ac_objext
40.11356 ++done
40.11357 ++rm -f conftest.$ac_ext conftest.$ac_objext
40.11358 ++CC=$ac_save_CC
40.11359 ++
40.11360 ++fi
40.11361 ++
40.11362 ++case "x$ac_cv_prog_cc_stdc" in
40.11363 ++  x|xno)
40.11364 ++    echo "$as_me:$LINENO: result: none needed" >&5
40.11365 ++echo "${ECHO_T}none needed" >&6 ;;
40.11366 ++  *)
40.11367 ++    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
40.11368 ++echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
40.11369 ++    CC="$CC $ac_cv_prog_cc_stdc" ;;
40.11370 ++esac
40.11371 ++
40.11372 + # Some people use a C++ compiler to compile C.  Since we use `exit',
40.11373 + # in C++ we need to declare it.  In case someone uses the same compiler
40.11374 + # for both compiling C and C++ we need to have the C++ compiler decide
40.11375 +@@ -2490,19 +2740,27 @@
40.11376 + _ACEOF
40.11377 + rm -f conftest.$ac_objext
40.11378 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40.11379 +-  (eval $ac_compile) 2>&5
40.11380 ++  (eval $ac_compile) 2>conftest.er1
40.11381 +   ac_status=$?
40.11382 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.11383 ++  rm -f conftest.er1
40.11384 ++  cat conftest.err >&5
40.11385 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.11386 +   (exit $ac_status); } &&
40.11387 +-         { ac_try='test -s conftest.$ac_objext'
40.11388 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
40.11389 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.11390 ++  (eval $ac_try) 2>&5
40.11391 ++  ac_status=$?
40.11392 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.11393 ++  (exit $ac_status); }; } &&
40.11394 ++	 { ac_try='test -s conftest.$ac_objext'
40.11395 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.11396 +   (eval $ac_try) 2>&5
40.11397 +   ac_status=$?
40.11398 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.11399 +   (exit $ac_status); }; }; then
40.11400 +   for ac_declaration in \
40.11401 +-   ''\
40.11402 +-   '#include <stdlib.h>' \
40.11403 ++   '' \
40.11404 +    'extern "C" void std::exit (int) throw (); using std::exit;' \
40.11405 +    'extern "C" void std::exit (int); using std::exit;' \
40.11406 +    'extern "C" void exit (int) throw ();' \
40.11407 +@@ -2510,16 +2768,13 @@
40.11408 +    'void exit (int);'
40.11409 + do
40.11410 +   cat >conftest.$ac_ext <<_ACEOF
40.11411 +-#line $LINENO "configure"
40.11412 +-#include "confdefs.h"
40.11413 +-#include <stdlib.h>
40.11414 ++/* confdefs.h.  */
40.11415 ++_ACEOF
40.11416 ++cat confdefs.h >>conftest.$ac_ext
40.11417 ++cat >>conftest.$ac_ext <<_ACEOF
40.11418 ++/* end confdefs.h.  */
40.11419 + $ac_declaration
40.11420 +-#ifdef F77_DUMMY_MAIN
40.11421 +-#  ifdef __cplusplus
40.11422 +-     extern "C"
40.11423 +-#  endif
40.11424 +-   int F77_DUMMY_MAIN() { return 1; }
40.11425 +-#endif
40.11426 ++#include <stdlib.h>
40.11427 + int
40.11428 + main ()
40.11429 + {
40.11430 +@@ -2530,11 +2785,20 @@
40.11431 + _ACEOF
40.11432 + rm -f conftest.$ac_objext
40.11433 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40.11434 +-  (eval $ac_compile) 2>&5
40.11435 ++  (eval $ac_compile) 2>conftest.er1
40.11436 +   ac_status=$?
40.11437 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.11438 ++  rm -f conftest.er1
40.11439 ++  cat conftest.err >&5
40.11440 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.11441 +   (exit $ac_status); } &&
40.11442 +-         { ac_try='test -s conftest.$ac_objext'
40.11443 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
40.11444 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.11445 ++  (eval $ac_try) 2>&5
40.11446 ++  ac_status=$?
40.11447 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.11448 ++  (exit $ac_status); }; } &&
40.11449 ++	 { ac_try='test -s conftest.$ac_objext'
40.11450 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.11451 +   (eval $ac_try) 2>&5
40.11452 +   ac_status=$?
40.11453 +@@ -2543,20 +2807,18 @@
40.11454 +   :
40.11455 + else
40.11456 +   echo "$as_me: failed program was:" >&5
40.11457 +-cat conftest.$ac_ext >&5
40.11458 ++sed 's/^/| /' conftest.$ac_ext >&5
40.11459 ++
40.11460 + continue
40.11461 + fi
40.11462 +-rm -f conftest.$ac_objext conftest.$ac_ext
40.11463 ++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40.11464 +   cat >conftest.$ac_ext <<_ACEOF
40.11465 +-#line $LINENO "configure"
40.11466 +-#include "confdefs.h"
40.11467 ++/* confdefs.h.  */
40.11468 ++_ACEOF
40.11469 ++cat confdefs.h >>conftest.$ac_ext
40.11470 ++cat >>conftest.$ac_ext <<_ACEOF
40.11471 ++/* end confdefs.h.  */
40.11472 + $ac_declaration
40.11473 +-#ifdef F77_DUMMY_MAIN
40.11474 +-#  ifdef __cplusplus
40.11475 +-     extern "C"
40.11476 +-#  endif
40.11477 +-   int F77_DUMMY_MAIN() { return 1; }
40.11478 +-#endif
40.11479 + int
40.11480 + main ()
40.11481 + {
40.11482 +@@ -2567,11 +2829,20 @@
40.11483 + _ACEOF
40.11484 + rm -f conftest.$ac_objext
40.11485 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40.11486 +-  (eval $ac_compile) 2>&5
40.11487 ++  (eval $ac_compile) 2>conftest.er1
40.11488 +   ac_status=$?
40.11489 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.11490 ++  rm -f conftest.er1
40.11491 ++  cat conftest.err >&5
40.11492 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.11493 +   (exit $ac_status); } &&
40.11494 +-         { ac_try='test -s conftest.$ac_objext'
40.11495 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
40.11496 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.11497 ++  (eval $ac_try) 2>&5
40.11498 ++  ac_status=$?
40.11499 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.11500 ++  (exit $ac_status); }; } &&
40.11501 ++	 { ac_try='test -s conftest.$ac_objext'
40.11502 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.11503 +   (eval $ac_try) 2>&5
40.11504 +   ac_status=$?
40.11505 +@@ -2580,9 +2851,10 @@
40.11506 +   break
40.11507 + else
40.11508 +   echo "$as_me: failed program was:" >&5
40.11509 +-cat conftest.$ac_ext >&5
40.11510 ++sed 's/^/| /' conftest.$ac_ext >&5
40.11511 ++
40.11512 + fi
40.11513 +-rm -f conftest.$ac_objext conftest.$ac_ext
40.11514 ++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40.11515 + done
40.11516 + rm -f conftest*
40.11517 + if test -n "$ac_declaration"; then
40.11518 +@@ -2593,9 +2865,10 @@
40.11519 + 
40.11520 + else
40.11521 +   echo "$as_me: failed program was:" >&5
40.11522 +-cat conftest.$ac_ext >&5
40.11523 ++sed 's/^/| /' conftest.$ac_ext >&5
40.11524 ++
40.11525 + fi
40.11526 +-rm -f conftest.$ac_objext conftest.$ac_ext
40.11527 ++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40.11528 + ac_ext=c
40.11529 + ac_cpp='$CPP $CPPFLAGS'
40.11530 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40.11531 +@@ -2613,6 +2886,7 @@
40.11532 + # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
40.11533 + # AFS /usr/afsws/bin/install, which mishandles nonexistent args
40.11534 + # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
40.11535 ++# OS/2's system install, which has a completely different semantic
40.11536 + # ./install, which can be erroneously created by make from ./install.sh.
40.11537 + echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
40.11538 + echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
40.11539 +@@ -2629,6 +2903,7 @@
40.11540 + case $as_dir/ in
40.11541 +   ./ | .// | /cC/* | \
40.11542 +   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
40.11543 ++  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
40.11544 +   /usr/ucb/* ) ;;
40.11545 +   *)
40.11546 +     # OSF1 and SCO ODT 3.0 have their own names for install.
40.11547 +@@ -2636,20 +2911,20 @@
40.11548 +     # by default.
40.11549 +     for ac_prog in ginstall scoinst install; do
40.11550 +       for ac_exec_ext in '' $ac_executable_extensions; do
40.11551 +-        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
40.11552 +-          if test $ac_prog = install &&
40.11553 +-            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
40.11554 +-            # AIX install.  It has an incompatible calling convention.
40.11555 +-            :
40.11556 +-          elif test $ac_prog = install &&
40.11557 +-            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
40.11558 +-            # program-specific install script used by HP pwplus--don't use.
40.11559 +-            :
40.11560 +-          else
40.11561 +-            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
40.11562 +-            break 3
40.11563 +-          fi
40.11564 +-        fi
40.11565 ++	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
40.11566 ++	  if test $ac_prog = install &&
40.11567 ++	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
40.11568 ++	    # AIX install.  It has an incompatible calling convention.
40.11569 ++	    :
40.11570 ++	  elif test $ac_prog = install &&
40.11571 ++	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
40.11572 ++	    # program-specific install script used by HP pwplus--don't use.
40.11573 ++	    :
40.11574 ++	  else
40.11575 ++	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
40.11576 ++	    break 3
40.11577 ++	  fi
40.11578 ++	fi
40.11579 +       done
40.11580 +     done
40.11581 +     ;;
40.11582 +@@ -2809,15 +3084,12 @@
40.11583 +   echo $ECHO_N "(cached) $ECHO_C" >&6
40.11584 + else
40.11585 +   cat >conftest.$ac_ext <<_ACEOF
40.11586 +-#line $LINENO "configure"
40.11587 +-#include "confdefs.h"
40.11588 ++/* confdefs.h.  */
40.11589 ++_ACEOF
40.11590 ++cat confdefs.h >>conftest.$ac_ext
40.11591 ++cat >>conftest.$ac_ext <<_ACEOF
40.11592 ++/* end confdefs.h.  */
40.11593 + 
40.11594 +-#ifdef F77_DUMMY_MAIN
40.11595 +-#  ifdef __cplusplus
40.11596 +-     extern "C"
40.11597 +-#  endif
40.11598 +-   int F77_DUMMY_MAIN() { return 1; }
40.11599 +-#endif
40.11600 + int
40.11601 + main ()
40.11602 + {
40.11603 +@@ -2831,11 +3103,20 @@
40.11604 + _ACEOF
40.11605 + rm -f conftest.$ac_objext
40.11606 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40.11607 +-  (eval $ac_compile) 2>&5
40.11608 ++  (eval $ac_compile) 2>conftest.er1
40.11609 +   ac_status=$?
40.11610 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.11611 ++  rm -f conftest.er1
40.11612 ++  cat conftest.err >&5
40.11613 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.11614 +   (exit $ac_status); } &&
40.11615 +-         { ac_try='test -s conftest.$ac_objext'
40.11616 ++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
40.11617 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.11618 ++  (eval $ac_try) 2>&5
40.11619 ++  ac_status=$?
40.11620 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.11621 ++  (exit $ac_status); }; } &&
40.11622 ++	 { ac_try='test -s conftest.$ac_objext'
40.11623 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.11624 +   (eval $ac_try) 2>&5
40.11625 +   ac_status=$?
40.11626 +@@ -2844,10 +3125,11 @@
40.11627 +   ac_compiler_gnu=yes
40.11628 + else
40.11629 +   echo "$as_me: failed program was:" >&5
40.11630 +-cat conftest.$ac_ext >&5
40.11631 ++sed 's/^/| /' conftest.$ac_ext >&5
40.11632 ++
40.11633 + ac_compiler_gnu=no
40.11634 + fi
40.11635 +-rm -f conftest.$ac_objext conftest.$ac_ext
40.11636 ++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40.11637 + ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
40.11638 + 
40.11639 + fi
40.11640 +@@ -2863,15 +3145,12 @@
40.11641 +   echo $ECHO_N "(cached) $ECHO_C" >&6
40.11642 + else
40.11643 +   cat >conftest.$ac_ext <<_ACEOF
40.11644 +-#line $LINENO "configure"
40.11645 +-#include "confdefs.h"
40.11646 ++/* confdefs.h.  */
40.11647 ++_ACEOF
40.11648 ++cat confdefs.h >>conftest.$ac_ext
40.11649 ++cat >>conftest.$ac_ext <<_ACEOF
40.11650 ++/* end confdefs.h.  */
40.11651 + 
40.11652 +-#ifdef F77_DUMMY_MAIN
40.11653 +-#  ifdef __cplusplus
40.11654 +-     extern "C"
40.11655 +-#  endif
40.11656 +-   int F77_DUMMY_MAIN() { return 1; }
40.11657 +-#endif
40.11658 + int
40.11659 + main ()
40.11660 + {
40.11661 +@@ -2882,11 +3161,20 @@
40.11662 + _ACEOF
40.11663 + rm -f conftest.$ac_objext
40.11664 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40.11665 +-  (eval $ac_compile) 2>&5
40.11666 ++  (eval $ac_compile) 2>conftest.er1
40.11667 +   ac_status=$?
40.11668 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.11669 ++  rm -f conftest.er1
40.11670 ++  cat conftest.err >&5
40.11671 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.11672 +   (exit $ac_status); } &&
40.11673 +-         { ac_try='test -s conftest.$ac_objext'
40.11674 ++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
40.11675 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.11676 ++  (eval $ac_try) 2>&5
40.11677 ++  ac_status=$?
40.11678 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.11679 ++  (exit $ac_status); }; } &&
40.11680 ++	 { ac_try='test -s conftest.$ac_objext'
40.11681 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.11682 +   (eval $ac_try) 2>&5
40.11683 +   ac_status=$?
40.11684 +@@ -2895,10 +3183,11 @@
40.11685 +   ac_cv_prog_cxx_g=yes
40.11686 + else
40.11687 +   echo "$as_me: failed program was:" >&5
40.11688 +-cat conftest.$ac_ext >&5
40.11689 ++sed 's/^/| /' conftest.$ac_ext >&5
40.11690 ++
40.11691 + ac_cv_prog_cxx_g=no
40.11692 + fi
40.11693 +-rm -f conftest.$ac_objext conftest.$ac_ext
40.11694 ++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40.11695 + fi
40.11696 + echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
40.11697 + echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
40.11698 +@@ -2918,8 +3207,7 @@
40.11699 +   fi
40.11700 + fi
40.11701 + for ac_declaration in \
40.11702 +-   ''\
40.11703 +-   '#include <stdlib.h>' \
40.11704 ++   '' \
40.11705 +    'extern "C" void std::exit (int) throw (); using std::exit;' \
40.11706 +    'extern "C" void std::exit (int); using std::exit;' \
40.11707 +    'extern "C" void exit (int) throw ();' \
40.11708 +@@ -2927,16 +3215,13 @@
40.11709 +    'void exit (int);'
40.11710 + do
40.11711 +   cat >conftest.$ac_ext <<_ACEOF
40.11712 +-#line $LINENO "configure"
40.11713 +-#include "confdefs.h"
40.11714 +-#include <stdlib.h>
40.11715 ++/* confdefs.h.  */
40.11716 ++_ACEOF
40.11717 ++cat confdefs.h >>conftest.$ac_ext
40.11718 ++cat >>conftest.$ac_ext <<_ACEOF
40.11719 ++/* end confdefs.h.  */
40.11720 + $ac_declaration
40.11721 +-#ifdef F77_DUMMY_MAIN
40.11722 +-#  ifdef __cplusplus
40.11723 +-     extern "C"
40.11724 +-#  endif
40.11725 +-   int F77_DUMMY_MAIN() { return 1; }
40.11726 +-#endif
40.11727 ++#include <stdlib.h>
40.11728 + int
40.11729 + main ()
40.11730 + {
40.11731 +@@ -2947,11 +3232,20 @@
40.11732 + _ACEOF
40.11733 + rm -f conftest.$ac_objext
40.11734 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40.11735 +-  (eval $ac_compile) 2>&5
40.11736 ++  (eval $ac_compile) 2>conftest.er1
40.11737 +   ac_status=$?
40.11738 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.11739 ++  rm -f conftest.er1
40.11740 ++  cat conftest.err >&5
40.11741 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.11742 +   (exit $ac_status); } &&
40.11743 +-         { ac_try='test -s conftest.$ac_objext'
40.11744 ++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
40.11745 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.11746 ++  (eval $ac_try) 2>&5
40.11747 ++  ac_status=$?
40.11748 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.11749 ++  (exit $ac_status); }; } &&
40.11750 ++	 { ac_try='test -s conftest.$ac_objext'
40.11751 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.11752 +   (eval $ac_try) 2>&5
40.11753 +   ac_status=$?
40.11754 +@@ -2960,20 +3254,18 @@
40.11755 +   :
40.11756 + else
40.11757 +   echo "$as_me: failed program was:" >&5
40.11758 +-cat conftest.$ac_ext >&5
40.11759 ++sed 's/^/| /' conftest.$ac_ext >&5
40.11760 ++
40.11761 + continue
40.11762 + fi
40.11763 +-rm -f conftest.$ac_objext conftest.$ac_ext
40.11764 ++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40.11765 +   cat >conftest.$ac_ext <<_ACEOF
40.11766 +-#line $LINENO "configure"
40.11767 +-#include "confdefs.h"
40.11768 ++/* confdefs.h.  */
40.11769 ++_ACEOF
40.11770 ++cat confdefs.h >>conftest.$ac_ext
40.11771 ++cat >>conftest.$ac_ext <<_ACEOF
40.11772 ++/* end confdefs.h.  */
40.11773 + $ac_declaration
40.11774 +-#ifdef F77_DUMMY_MAIN
40.11775 +-#  ifdef __cplusplus
40.11776 +-     extern "C"
40.11777 +-#  endif
40.11778 +-   int F77_DUMMY_MAIN() { return 1; }
40.11779 +-#endif
40.11780 + int
40.11781 + main ()
40.11782 + {
40.11783 +@@ -2984,11 +3276,20 @@
40.11784 + _ACEOF
40.11785 + rm -f conftest.$ac_objext
40.11786 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40.11787 +-  (eval $ac_compile) 2>&5
40.11788 ++  (eval $ac_compile) 2>conftest.er1
40.11789 +   ac_status=$?
40.11790 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.11791 ++  rm -f conftest.er1
40.11792 ++  cat conftest.err >&5
40.11793 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.11794 +   (exit $ac_status); } &&
40.11795 +-         { ac_try='test -s conftest.$ac_objext'
40.11796 ++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
40.11797 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.11798 ++  (eval $ac_try) 2>&5
40.11799 ++  ac_status=$?
40.11800 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.11801 ++  (exit $ac_status); }; } &&
40.11802 ++	 { ac_try='test -s conftest.$ac_objext'
40.11803 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.11804 +   (eval $ac_try) 2>&5
40.11805 +   ac_status=$?
40.11806 +@@ -2997,9 +3298,10 @@
40.11807 +   break
40.11808 + else
40.11809 +   echo "$as_me: failed program was:" >&5
40.11810 +-cat conftest.$ac_ext >&5
40.11811 ++sed 's/^/| /' conftest.$ac_ext >&5
40.11812 ++
40.11813 + fi
40.11814 +-rm -f conftest.$ac_objext conftest.$ac_ext
40.11815 ++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40.11816 + done
40.11817 + rm -f conftest*
40.11818 + if test -n "$ac_declaration"; then
40.11819 +@@ -3059,6 +3361,51 @@
40.11820 + done
40.11821 + test -n "$PERL" || PERL="perl"
40.11822 + 
40.11823 ++for ac_prog in sed
40.11824 ++do
40.11825 ++  # Extract the first word of "$ac_prog", so it can be a program name with args.
40.11826 ++set dummy $ac_prog; ac_word=$2
40.11827 ++echo "$as_me:$LINENO: checking for $ac_word" >&5
40.11828 ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40.11829 ++if test "${ac_cv_path_SED+set}" = set; then
40.11830 ++  echo $ECHO_N "(cached) $ECHO_C" >&6
40.11831 ++else
40.11832 ++  case $SED in
40.11833 ++  [\\/]* | ?:[\\/]*)
40.11834 ++  ac_cv_path_SED="$SED" # Let the user override the test with a path.
40.11835 ++  ;;
40.11836 ++  *)
40.11837 ++  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40.11838 ++for as_dir in $PATH
40.11839 ++do
40.11840 ++  IFS=$as_save_IFS
40.11841 ++  test -z "$as_dir" && as_dir=.
40.11842 ++  for ac_exec_ext in '' $ac_executable_extensions; do
40.11843 ++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40.11844 ++    ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
40.11845 ++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40.11846 ++    break 2
40.11847 ++  fi
40.11848 ++done
40.11849 ++done
40.11850 ++
40.11851 ++  ;;
40.11852 ++esac
40.11853 ++fi
40.11854 ++SED=$ac_cv_path_SED
40.11855 ++
40.11856 ++if test -n "$SED"; then
40.11857 ++  echo "$as_me:$LINENO: result: $SED" >&5
40.11858 ++echo "${ECHO_T}$SED" >&6
40.11859 ++else
40.11860 ++  echo "$as_me:$LINENO: result: no" >&5
40.11861 ++echo "${ECHO_T}no" >&6
40.11862 ++fi
40.11863 ++
40.11864 ++  test -n "$SED" && break
40.11865 ++done
40.11866 ++test -n "$SED" || SED="sed"
40.11867 ++
40.11868 + test "$INSTALL" = "./config/install-sh -c" && INSTALL=`pwd`"/config/install-sh -c"
40.11869 + 
40.11870 + 
40.11871 +@@ -3069,11 +3416,6 @@
40.11872 +   *)
40.11873 +     if test "$GXX"
40.11874 +     then
40.11875 +-       echo "$as_me:$LINENO: checking whether GNU C++ supports automatic template instantiation" >&5
40.11876 +-echo $ECHO_N "checking whether GNU C++ supports automatic template instantiation... $ECHO_C" >&6
40.11877 +-if test "${ac_cv_c_gnu_automatic_templates+set}" = set; then
40.11878 +-  echo $ECHO_N "(cached) $ECHO_C" >&6
40.11879 +-else
40.11880 + 
40.11881 + ac_ext=c
40.11882 + ac_cpp='$CPP $CPPFLAGS'
40.11883 +@@ -3098,24 +3440,34 @@
40.11884 + do
40.11885 +   # Use a header file that comes with gcc, so configuring glibc
40.11886 +   # with a fresh cross-compiler works.
40.11887 ++  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40.11888 ++  # <limits.h> exists even on freestanding compilers.
40.11889 +   # On the NeXT, cc -E runs the code through the compiler's parser,
40.11890 +   # not just through cpp. "Syntax error" is here to catch this case.
40.11891 +   cat >conftest.$ac_ext <<_ACEOF
40.11892 +-#line $LINENO "configure"
40.11893 +-#include "confdefs.h"
40.11894 +-#include <assert.h>
40.11895 +-                     Syntax error
40.11896 ++/* confdefs.h.  */
40.11897 ++_ACEOF
40.11898 ++cat confdefs.h >>conftest.$ac_ext
40.11899 ++cat >>conftest.$ac_ext <<_ACEOF
40.11900 ++/* end confdefs.h.  */
40.11901 ++#ifdef __STDC__
40.11902 ++# include <limits.h>
40.11903 ++#else
40.11904 ++# include <assert.h>
40.11905 ++#endif
40.11906 ++		     Syntax error
40.11907 + _ACEOF
40.11908 + if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40.11909 +   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40.11910 +   ac_status=$?
40.11911 +-  egrep -v '^ *\+' conftest.er1 >conftest.err
40.11912 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.11913 +   rm -f conftest.er1
40.11914 +   cat conftest.err >&5
40.11915 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.11916 +   (exit $ac_status); } >/dev/null; then
40.11917 +   if test -s conftest.err; then
40.11918 +     ac_cpp_err=$ac_c_preproc_warn_flag
40.11919 ++    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
40.11920 +   else
40.11921 +     ac_cpp_err=
40.11922 +   fi
40.11923 +@@ -3126,7 +3478,8 @@
40.11924 +   :
40.11925 + else
40.11926 +   echo "$as_me: failed program was:" >&5
40.11927 +-  cat conftest.$ac_ext >&5
40.11928 ++sed 's/^/| /' conftest.$ac_ext >&5
40.11929 ++
40.11930 +   # Broken: fails on valid input.
40.11931 + continue
40.11932 + fi
40.11933 +@@ -3135,20 +3488,24 @@
40.11934 +   # OK, works on sane cases.  Now check whether non-existent headers
40.11935 +   # can be detected and how.
40.11936 +   cat >conftest.$ac_ext <<_ACEOF
40.11937 +-#line $LINENO "configure"
40.11938 +-#include "confdefs.h"
40.11939 ++/* confdefs.h.  */
40.11940 ++_ACEOF
40.11941 ++cat confdefs.h >>conftest.$ac_ext
40.11942 ++cat >>conftest.$ac_ext <<_ACEOF
40.11943 ++/* end confdefs.h.  */
40.11944 + #include <ac_nonexistent.h>
40.11945 + _ACEOF
40.11946 + if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40.11947 +   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40.11948 +   ac_status=$?
40.11949 +-  egrep -v '^ *\+' conftest.er1 >conftest.err
40.11950 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.11951 +   rm -f conftest.er1
40.11952 +   cat conftest.err >&5
40.11953 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.11954 +   (exit $ac_status); } >/dev/null; then
40.11955 +   if test -s conftest.err; then
40.11956 +     ac_cpp_err=$ac_c_preproc_warn_flag
40.11957 ++    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
40.11958 +   else
40.11959 +     ac_cpp_err=
40.11960 +   fi
40.11961 +@@ -3160,7 +3517,8 @@
40.11962 + continue
40.11963 + else
40.11964 +   echo "$as_me: failed program was:" >&5
40.11965 +-  cat conftest.$ac_ext >&5
40.11966 ++sed 's/^/| /' conftest.$ac_ext >&5
40.11967 ++
40.11968 +   # Passes both tests.
40.11969 + ac_preproc_ok=:
40.11970 + break
40.11971 +@@ -3189,24 +3547,34 @@
40.11972 + do
40.11973 +   # Use a header file that comes with gcc, so configuring glibc
40.11974 +   # with a fresh cross-compiler works.
40.11975 ++  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40.11976 ++  # <limits.h> exists even on freestanding compilers.
40.11977 +   # On the NeXT, cc -E runs the code through the compiler's parser,
40.11978 +   # not just through cpp. "Syntax error" is here to catch this case.
40.11979 +   cat >conftest.$ac_ext <<_ACEOF
40.11980 +-#line $LINENO "configure"
40.11981 +-#include "confdefs.h"
40.11982 +-#include <assert.h>
40.11983 +-                     Syntax error
40.11984 ++/* confdefs.h.  */
40.11985 ++_ACEOF
40.11986 ++cat confdefs.h >>conftest.$ac_ext
40.11987 ++cat >>conftest.$ac_ext <<_ACEOF
40.11988 ++/* end confdefs.h.  */
40.11989 ++#ifdef __STDC__
40.11990 ++# include <limits.h>
40.11991 ++#else
40.11992 ++# include <assert.h>
40.11993 ++#endif
40.11994 ++		     Syntax error
40.11995 + _ACEOF
40.11996 + if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40.11997 +   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40.11998 +   ac_status=$?
40.11999 +-  egrep -v '^ *\+' conftest.er1 >conftest.err
40.12000 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.12001 +   rm -f conftest.er1
40.12002 +   cat conftest.err >&5
40.12003 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.12004 +   (exit $ac_status); } >/dev/null; then
40.12005 +   if test -s conftest.err; then
40.12006 +     ac_cpp_err=$ac_c_preproc_warn_flag
40.12007 ++    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
40.12008 +   else
40.12009 +     ac_cpp_err=
40.12010 +   fi
40.12011 +@@ -3217,7 +3585,8 @@
40.12012 +   :
40.12013 + else
40.12014 +   echo "$as_me: failed program was:" >&5
40.12015 +-  cat conftest.$ac_ext >&5
40.12016 ++sed 's/^/| /' conftest.$ac_ext >&5
40.12017 ++
40.12018 +   # Broken: fails on valid input.
40.12019 + continue
40.12020 + fi
40.12021 +@@ -3226,20 +3595,24 @@
40.12022 +   # OK, works on sane cases.  Now check whether non-existent headers
40.12023 +   # can be detected and how.
40.12024 +   cat >conftest.$ac_ext <<_ACEOF
40.12025 +-#line $LINENO "configure"
40.12026 +-#include "confdefs.h"
40.12027 ++/* confdefs.h.  */
40.12028 ++_ACEOF
40.12029 ++cat confdefs.h >>conftest.$ac_ext
40.12030 ++cat >>conftest.$ac_ext <<_ACEOF
40.12031 ++/* end confdefs.h.  */
40.12032 + #include <ac_nonexistent.h>
40.12033 + _ACEOF
40.12034 + if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40.12035 +   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40.12036 +   ac_status=$?
40.12037 +-  egrep -v '^ *\+' conftest.er1 >conftest.err
40.12038 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.12039 +   rm -f conftest.er1
40.12040 +   cat conftest.err >&5
40.12041 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.12042 +   (exit $ac_status); } >/dev/null; then
40.12043 +   if test -s conftest.err; then
40.12044 +     ac_cpp_err=$ac_c_preproc_warn_flag
40.12045 ++    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
40.12046 +   else
40.12047 +     ac_cpp_err=
40.12048 +   fi
40.12049 +@@ -3251,7 +3624,8 @@
40.12050 + continue
40.12051 + else
40.12052 +   echo "$as_me: failed program was:" >&5
40.12053 +-  cat conftest.$ac_ext >&5
40.12054 ++sed 's/^/| /' conftest.$ac_ext >&5
40.12055 ++
40.12056 +   # Passes both tests.
40.12057 + ac_preproc_ok=:
40.12058 + break
40.12059 +@@ -3264,8 +3638,10 @@
40.12060 + if $ac_preproc_ok; then
40.12061 +   :
40.12062 + else
40.12063 +-  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
40.12064 +-echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
40.12065 ++  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
40.12066 ++See \`config.log' for more details." >&5
40.12067 ++echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
40.12068 ++See \`config.log' for more details." >&2;}
40.12069 +    { (exit 1); exit 1; }; }
40.12070 + fi
40.12071 + 
40.12072 +@@ -3276,9 +3652,32 @@
40.12073 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
40.12074 + 
40.12075 + 
40.12076 +-cat >conftest.$ac_ext <<_ACEOF
40.12077 +-#line $LINENO "configure"
40.12078 +-#include "confdefs.h"
40.12079 ++echo "$as_me:$LINENO: checking for egrep" >&5
40.12080 ++echo $ECHO_N "checking for egrep... $ECHO_C" >&6
40.12081 ++if test "${ac_cv_prog_egrep+set}" = set; then
40.12082 ++  echo $ECHO_N "(cached) $ECHO_C" >&6
40.12083 ++else
40.12084 ++  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
40.12085 ++    then ac_cv_prog_egrep='grep -E'
40.12086 ++    else ac_cv_prog_egrep='egrep'
40.12087 ++    fi
40.12088 ++fi
40.12089 ++echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
40.12090 ++echo "${ECHO_T}$ac_cv_prog_egrep" >&6
40.12091 ++ EGREP=$ac_cv_prog_egrep
40.12092 ++
40.12093 ++
40.12094 ++echo "$as_me:$LINENO: checking whether GNU C++ supports automatic template instantiation" >&5
40.12095 ++echo $ECHO_N "checking whether GNU C++ supports automatic template instantiation... $ECHO_C" >&6
40.12096 ++if test "${ac_cv_c_gnu_automatic_templates+set}" = set; then
40.12097 ++  echo $ECHO_N "(cached) $ECHO_C" >&6
40.12098 ++else
40.12099 ++  cat >conftest.$ac_ext <<_ACEOF
40.12100 ++/* confdefs.h.  */
40.12101 ++_ACEOF
40.12102 ++cat confdefs.h >>conftest.$ac_ext
40.12103 ++cat >>conftest.$ac_ext <<_ACEOF
40.12104 ++/* end confdefs.h.  */
40.12105 + 
40.12106 + #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 8)
40.12107 +   yes
40.12108 +@@ -3286,7 +3685,7 @@
40.12109 + 
40.12110 + _ACEOF
40.12111 + if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
40.12112 +-  egrep "yes" >/dev/null 2>&1; then
40.12113 ++  $EGREP "yes" >/dev/null 2>&1; then
40.12114 +   ac_cv_c_gnu_automatic_templates=yes
40.12115 + else
40.12116 +   ac_cv_c_gnu_automatic_templates=no
40.12117 +@@ -3321,49 +3720,67 @@
40.12118 +   echo $ECHO_N "(cached) $ECHO_C" >&6
40.12119 + else
40.12120 +   cat >conftest.$ac_ext <<_ACEOF
40.12121 +-#line $LINENO "configure"
40.12122 +-#include "confdefs.h"
40.12123 ++/* confdefs.h.  */
40.12124 ++_ACEOF
40.12125 ++cat confdefs.h >>conftest.$ac_ext
40.12126 ++cat >>conftest.$ac_ext <<_ACEOF
40.12127 ++/* end confdefs.h.  */
40.12128 + #include <stdlib.h>
40.12129 + #include <stdarg.h>
40.12130 + #include <string.h>
40.12131 + #include <float.h>
40.12132 + 
40.12133 ++int
40.12134 ++main ()
40.12135 ++{
40.12136 ++
40.12137 ++  ;
40.12138 ++  return 0;
40.12139 ++}
40.12140 + _ACEOF
40.12141 +-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40.12142 +-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40.12143 ++rm -f conftest.$ac_objext
40.12144 ++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40.12145 ++  (eval $ac_compile) 2>conftest.er1
40.12146 +   ac_status=$?
40.12147 +-  egrep -v '^ *\+' conftest.er1 >conftest.err
40.12148 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.12149 +   rm -f conftest.er1
40.12150 +   cat conftest.err >&5
40.12151 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.12152 +-  (exit $ac_status); } >/dev/null; then
40.12153 +-  if test -s conftest.err; then
40.12154 +-    ac_cpp_err=$ac_c_preproc_warn_flag
40.12155 +-  else
40.12156 +-    ac_cpp_err=
40.12157 +-  fi
40.12158 +-else
40.12159 +-  ac_cpp_err=yes
40.12160 +-fi
40.12161 +-if test -z "$ac_cpp_err"; then
40.12162 ++  (exit $ac_status); } &&
40.12163 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
40.12164 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.12165 ++  (eval $ac_try) 2>&5
40.12166 ++  ac_status=$?
40.12167 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.12168 ++  (exit $ac_status); }; } &&
40.12169 ++	 { ac_try='test -s conftest.$ac_objext'
40.12170 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.12171 ++  (eval $ac_try) 2>&5
40.12172 ++  ac_status=$?
40.12173 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.12174 ++  (exit $ac_status); }; }; then
40.12175 +   ac_cv_header_stdc=yes
40.12176 + else
40.12177 +   echo "$as_me: failed program was:" >&5
40.12178 +-  cat conftest.$ac_ext >&5
40.12179 +-  ac_cv_header_stdc=no
40.12180 ++sed 's/^/| /' conftest.$ac_ext >&5
40.12181 ++
40.12182 ++ac_cv_header_stdc=no
40.12183 + fi
40.12184 +-rm -f conftest.err conftest.$ac_ext
40.12185 ++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40.12186 + 
40.12187 + if test $ac_cv_header_stdc = yes; then
40.12188 +   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
40.12189 +   cat >conftest.$ac_ext <<_ACEOF
40.12190 +-#line $LINENO "configure"
40.12191 +-#include "confdefs.h"
40.12192 ++/* confdefs.h.  */
40.12193 ++_ACEOF
40.12194 ++cat confdefs.h >>conftest.$ac_ext
40.12195 ++cat >>conftest.$ac_ext <<_ACEOF
40.12196 ++/* end confdefs.h.  */
40.12197 + #include <string.h>
40.12198 + 
40.12199 + _ACEOF
40.12200 + if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
40.12201 +-  egrep "memchr" >/dev/null 2>&1; then
40.12202 ++  $EGREP "memchr" >/dev/null 2>&1; then
40.12203 +   :
40.12204 + else
40.12205 +   ac_cv_header_stdc=no
40.12206 +@@ -3375,13 +3792,16 @@
40.12207 + if test $ac_cv_header_stdc = yes; then
40.12208 +   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
40.12209 +   cat >conftest.$ac_ext <<_ACEOF
40.12210 +-#line $LINENO "configure"
40.12211 +-#include "confdefs.h"
40.12212 ++/* confdefs.h.  */
40.12213 ++_ACEOF
40.12214 ++cat confdefs.h >>conftest.$ac_ext
40.12215 ++cat >>conftest.$ac_ext <<_ACEOF
40.12216 ++/* end confdefs.h.  */
40.12217 + #include <stdlib.h>
40.12218 + 
40.12219 + _ACEOF
40.12220 + if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
40.12221 +-  egrep "free" >/dev/null 2>&1; then
40.12222 ++  $EGREP "free" >/dev/null 2>&1; then
40.12223 +   :
40.12224 + else
40.12225 +   ac_cv_header_stdc=no
40.12226 +@@ -3396,16 +3816,20 @@
40.12227 +   :
40.12228 + else
40.12229 +   cat >conftest.$ac_ext <<_ACEOF
40.12230 +-#line $LINENO "configure"
40.12231 +-#include "confdefs.h"
40.12232 ++/* confdefs.h.  */
40.12233 ++_ACEOF
40.12234 ++cat confdefs.h >>conftest.$ac_ext
40.12235 ++cat >>conftest.$ac_ext <<_ACEOF
40.12236 ++/* end confdefs.h.  */
40.12237 + #include <ctype.h>
40.12238 + #if ((' ' & 0x0FF) == 0x020)
40.12239 + # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
40.12240 + # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
40.12241 + #else
40.12242 +-# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
40.12243 +-                     || ('j' <= (c) && (c) <= 'r') \
40.12244 +-                     || ('s' <= (c) && (c) <= 'z'))
40.12245 ++# define ISLOWER(c) \
40.12246 ++		   (('a' <= (c) && (c) <= 'i') \
40.12247 ++		     || ('j' <= (c) && (c) <= 'r') \
40.12248 ++		     || ('s' <= (c) && (c) <= 'z'))
40.12249 + # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
40.12250 + #endif
40.12251 + 
40.12252 +@@ -3416,7 +3840,7 @@
40.12253 +   int i;
40.12254 +   for (i = 0; i < 256; i++)
40.12255 +     if (XOR (islower (i), ISLOWER (i))
40.12256 +-        || toupper (i) != TOUPPER (i))
40.12257 ++	|| toupper (i) != TOUPPER (i))
40.12258 +       exit(2);
40.12259 +   exit (0);
40.12260 + }
40.12261 +@@ -3436,11 +3860,12 @@
40.12262 + else
40.12263 +   echo "$as_me: program exited with status $ac_status" >&5
40.12264 + echo "$as_me: failed program was:" >&5
40.12265 +-cat conftest.$ac_ext >&5
40.12266 ++sed 's/^/| /' conftest.$ac_ext >&5
40.12267 ++
40.12268 + ( exit $ac_status )
40.12269 + ac_cv_header_stdc=no
40.12270 + fi
40.12271 +-rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40.12272 ++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40.12273 + fi
40.12274 + fi
40.12275 + fi
40.12276 +@@ -3465,7 +3890,7 @@
40.12277 + 
40.12278 + 
40.12279 + for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
40.12280 +-                  inttypes.h stdint.h unistd.h
40.12281 ++		  inttypes.h stdint.h unistd.h
40.12282 + do
40.12283 + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40.12284 + echo "$as_me:$LINENO: checking for $ac_header" >&5
40.12285 +@@ -3474,19 +3899,31 @@
40.12286 +   echo $ECHO_N "(cached) $ECHO_C" >&6
40.12287 + else
40.12288 +   cat >conftest.$ac_ext <<_ACEOF
40.12289 +-#line $LINENO "configure"
40.12290 +-#include "confdefs.h"
40.12291 ++/* confdefs.h.  */
40.12292 ++_ACEOF
40.12293 ++cat confdefs.h >>conftest.$ac_ext
40.12294 ++cat >>conftest.$ac_ext <<_ACEOF
40.12295 ++/* end confdefs.h.  */
40.12296 + $ac_includes_default
40.12297 + 
40.12298 + #include <$ac_header>
40.12299 + _ACEOF
40.12300 + rm -f conftest.$ac_objext
40.12301 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40.12302 +-  (eval $ac_compile) 2>&5
40.12303 ++  (eval $ac_compile) 2>conftest.er1
40.12304 +   ac_status=$?
40.12305 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.12306 ++  rm -f conftest.er1
40.12307 ++  cat conftest.err >&5
40.12308 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.12309 +   (exit $ac_status); } &&
40.12310 +-         { ac_try='test -s conftest.$ac_objext'
40.12311 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
40.12312 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.12313 ++  (eval $ac_try) 2>&5
40.12314 ++  ac_status=$?
40.12315 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.12316 ++  (exit $ac_status); }; } &&
40.12317 ++	 { ac_try='test -s conftest.$ac_objext'
40.12318 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.12319 +   (eval $ac_try) 2>&5
40.12320 +   ac_status=$?
40.12321 +@@ -3495,10 +3932,11 @@
40.12322 +   eval "$as_ac_Header=yes"
40.12323 + else
40.12324 +   echo "$as_me: failed program was:" >&5
40.12325 +-cat conftest.$ac_ext >&5
40.12326 ++sed 's/^/| /' conftest.$ac_ext >&5
40.12327 ++
40.12328 + eval "$as_ac_Header=no"
40.12329 + fi
40.12330 +-rm -f conftest.$ac_objext conftest.$ac_ext
40.12331 ++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40.12332 + fi
40.12333 + echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40.12334 + echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40.12335 +@@ -3529,18 +3967,30 @@
40.12336 + echo "$as_me:$LINENO: checking $ac_header usability" >&5
40.12337 + echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40.12338 + cat >conftest.$ac_ext <<_ACEOF
40.12339 +-#line $LINENO "configure"
40.12340 +-#include "confdefs.h"
40.12341 ++/* confdefs.h.  */
40.12342 ++_ACEOF
40.12343 ++cat confdefs.h >>conftest.$ac_ext
40.12344 ++cat >>conftest.$ac_ext <<_ACEOF
40.12345 ++/* end confdefs.h.  */
40.12346 + $ac_includes_default
40.12347 + #include <$ac_header>
40.12348 + _ACEOF
40.12349 + rm -f conftest.$ac_objext
40.12350 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40.12351 +-  (eval $ac_compile) 2>&5
40.12352 ++  (eval $ac_compile) 2>conftest.er1
40.12353 +   ac_status=$?
40.12354 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.12355 ++  rm -f conftest.er1
40.12356 ++  cat conftest.err >&5
40.12357 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.12358 +   (exit $ac_status); } &&
40.12359 +-         { ac_try='test -s conftest.$ac_objext'
40.12360 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
40.12361 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.12362 ++  (eval $ac_try) 2>&5
40.12363 ++  ac_status=$?
40.12364 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.12365 ++  (exit $ac_status); }; } &&
40.12366 ++	 { ac_try='test -s conftest.$ac_objext'
40.12367 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.12368 +   (eval $ac_try) 2>&5
40.12369 +   ac_status=$?
40.12370 +@@ -3549,10 +3999,11 @@
40.12371 +   ac_header_compiler=yes
40.12372 + else
40.12373 +   echo "$as_me: failed program was:" >&5
40.12374 +-cat conftest.$ac_ext >&5
40.12375 ++sed 's/^/| /' conftest.$ac_ext >&5
40.12376 ++
40.12377 + ac_header_compiler=no
40.12378 + fi
40.12379 +-rm -f conftest.$ac_objext conftest.$ac_ext
40.12380 ++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40.12381 + echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40.12382 + echo "${ECHO_T}$ac_header_compiler" >&6
40.12383 + 
40.12384 +@@ -3560,169 +4011,94 @@
40.12385 + echo "$as_me:$LINENO: checking $ac_header presence" >&5
40.12386 + echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40.12387 + cat >conftest.$ac_ext <<_ACEOF
40.12388 +-#line $LINENO "configure"
40.12389 +-#include "confdefs.h"
40.12390 ++/* confdefs.h.  */
40.12391 ++_ACEOF
40.12392 ++cat confdefs.h >>conftest.$ac_ext
40.12393 ++cat >>conftest.$ac_ext <<_ACEOF
40.12394 ++/* end confdefs.h.  */
40.12395 + #include <$ac_header>
40.12396 + _ACEOF
40.12397 + if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40.12398 +   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40.12399 +   ac_status=$?
40.12400 +-  egrep -v '^ *\+' conftest.er1 >conftest.err
40.12401 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.12402 +   rm -f conftest.er1
40.12403 +   cat conftest.err >&5
40.12404 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.12405 +   (exit $ac_status); } >/dev/null; then
40.12406 +-  if test -s conftest.err; then
40.12407 +-    ac_cpp_err=$ac_c_preproc_warn_flag
40.12408 +-  else
40.12409 +-    ac_cpp_err=
40.12410 +-  fi
40.12411 +-else
40.12412 +-  ac_cpp_err=yes
40.12413 +-fi
40.12414 +-if test -z "$ac_cpp_err"; then
40.12415 +-  ac_header_preproc=yes
40.12416 +-else
40.12417 +-  echo "$as_me: failed program was:" >&5
40.12418 +-  cat conftest.$ac_ext >&5
40.12419 +-  ac_header_preproc=no
40.12420 +-fi
40.12421 +-rm -f conftest.err conftest.$ac_ext
40.12422 +-echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40.12423 +-echo "${ECHO_T}$ac_header_preproc" >&6
40.12424 +-
40.12425 +-# So?  What about this header?
40.12426 +-case $ac_header_compiler:$ac_header_preproc in
40.12427 +-  yes:no )
40.12428 +-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40.12429 +-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40.12430 +-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40.12431 +-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
40.12432 +-  no:yes )
40.12433 +-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40.12434 +-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40.12435 +-    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40.12436 +-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40.12437 +-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40.12438 +-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
40.12439 +-esac
40.12440 +-echo "$as_me:$LINENO: checking for $ac_header" >&5
40.12441 +-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40.12442 +-if eval "test \"\${$as_ac_Header+set}\" = set"; then
40.12443 +-  echo $ECHO_N "(cached) $ECHO_C" >&6
40.12444 +-else
40.12445 +-  eval "$as_ac_Header=$ac_header_preproc"
40.12446 +-fi
40.12447 +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40.12448 +-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40.12449 +-
40.12450 +-fi
40.12451 +-if test `eval echo '${'$as_ac_Header'}'` = yes; then
40.12452 +-  cat >>confdefs.h <<_ACEOF
40.12453 +-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40.12454 +-_ACEOF
40.12455 +-
40.12456 +-fi
40.12457 +-
40.12458 +-done
40.12459 +-
40.12460 +-
40.12461 +-echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
40.12462 +-echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
40.12463 +-if test "${ac_cv_prog_cc_stdc+set}" = set; then
40.12464 +-  echo $ECHO_N "(cached) $ECHO_C" >&6
40.12465 +-else
40.12466 +-  ac_cv_prog_cc_stdc=no
40.12467 +-ac_save_CC=$CC
40.12468 +-cat >conftest.$ac_ext <<_ACEOF
40.12469 +-#line $LINENO "configure"
40.12470 +-#include "confdefs.h"
40.12471 +-#include <stdarg.h>
40.12472 +-#include <stdio.h>
40.12473 +-#include <sys/types.h>
40.12474 +-#include <sys/stat.h>
40.12475 +-/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
40.12476 +-struct buf { int x; };
40.12477 +-FILE * (*rcsopen) (struct buf *, struct stat *, int);
40.12478 +-static char *e (p, i)
40.12479 +-     char **p;
40.12480 +-     int i;
40.12481 +-{
40.12482 +-  return p[i];
40.12483 +-}
40.12484 +-static char *f (char * (*g) (char **, int), char **p, ...)
40.12485 +-{
40.12486 +-  char *s;
40.12487 +-  va_list v;
40.12488 +-  va_start (v,p);
40.12489 +-  s = g (p, va_arg (v,int));
40.12490 +-  va_end (v);
40.12491 +-  return s;
40.12492 +-}
40.12493 +-int test (int i, double x);
40.12494 +-struct s1 {int (*f) (int a);};
40.12495 +-struct s2 {int (*f) (double a);};
40.12496 +-int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
40.12497 +-int argc;
40.12498 +-char **argv;
40.12499 +-#ifdef F77_DUMMY_MAIN
40.12500 +-#  ifdef __cplusplus
40.12501 +-     extern "C"
40.12502 +-#  endif
40.12503 +-   int F77_DUMMY_MAIN() { return 1; }
40.12504 +-#endif
40.12505 +-int
40.12506 +-main ()
40.12507 +-{
40.12508 +-return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
40.12509 +-  ;
40.12510 +-  return 0;
40.12511 +-}
40.12512 +-_ACEOF
40.12513 +-# Don't try gcc -ansi; that turns off useful extensions and
40.12514 +-# breaks some systems' header files.
40.12515 +-# AIX			-qlanglvl=ansi
40.12516 +-# Ultrix and OSF/1	-std1
40.12517 +-# HP-UX 10.20 and later	-Ae
40.12518 +-# HP-UX older versions	-Aa -D_HPUX_SOURCE
40.12519 +-# SVR4			-Xc -D__EXTENSIONS__
40.12520 +-for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
40.12521 +-do
40.12522 +-  CC="$ac_save_CC $ac_arg"
40.12523 +-  rm -f conftest.$ac_objext
40.12524 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40.12525 +-  (eval $ac_compile) 2>&5
40.12526 +-  ac_status=$?
40.12527 +-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.12528 +-  (exit $ac_status); } &&
40.12529 +-         { ac_try='test -s conftest.$ac_objext'
40.12530 +-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.12531 +-  (eval $ac_try) 2>&5
40.12532 +-  ac_status=$?
40.12533 +-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.12534 +-  (exit $ac_status); }; }; then
40.12535 +-  ac_cv_prog_cc_stdc=$ac_arg
40.12536 +-break
40.12537 ++  if test -s conftest.err; then
40.12538 ++    ac_cpp_err=$ac_c_preproc_warn_flag
40.12539 ++    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
40.12540 ++  else
40.12541 ++    ac_cpp_err=
40.12542 ++  fi
40.12543 + else
40.12544 +-  echo "$as_me: failed program was:" >&5
40.12545 +-cat conftest.$ac_ext >&5
40.12546 ++  ac_cpp_err=yes
40.12547 + fi
40.12548 +-rm -f conftest.$ac_objext
40.12549 +-done
40.12550 +-rm -f conftest.$ac_ext conftest.$ac_objext
40.12551 +-CC=$ac_save_CC
40.12552 ++if test -z "$ac_cpp_err"; then
40.12553 ++  ac_header_preproc=yes
40.12554 ++else
40.12555 ++  echo "$as_me: failed program was:" >&5
40.12556 ++sed 's/^/| /' conftest.$ac_ext >&5
40.12557 + 
40.12558 ++  ac_header_preproc=no
40.12559 + fi
40.12560 ++rm -f conftest.err conftest.$ac_ext
40.12561 ++echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40.12562 ++echo "${ECHO_T}$ac_header_preproc" >&6
40.12563 + 
40.12564 +-case "x$ac_cv_prog_cc_stdc" in
40.12565 +-  x|xno)
40.12566 +-    echo "$as_me:$LINENO: result: none needed" >&5
40.12567 +-echo "${ECHO_T}none needed" >&6 ;;
40.12568 +-  *)
40.12569 +-    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
40.12570 +-echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
40.12571 +-    CC="$CC $ac_cv_prog_cc_stdc" ;;
40.12572 ++# So?  What about this header?
40.12573 ++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
40.12574 ++  yes:no: )
40.12575 ++    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40.12576 ++echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40.12577 ++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40.12578 ++echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40.12579 ++    ac_header_preproc=yes
40.12580 ++    ;;
40.12581 ++  no:yes:* )
40.12582 ++    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40.12583 ++echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40.12584 ++    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
40.12585 ++echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
40.12586 ++    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40.12587 ++echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40.12588 ++    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
40.12589 ++echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
40.12590 ++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40.12591 ++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40.12592 ++    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40.12593 ++echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40.12594 ++    (
40.12595 ++      cat <<\_ASBOX
40.12596 ++## ------------------------------------------ ##
40.12597 ++## Report this to the AC_PACKAGE_NAME lists.  ##
40.12598 ++## ------------------------------------------ ##
40.12599 ++_ASBOX
40.12600 ++    ) |
40.12601 ++      sed "s/^/$as_me: WARNING:     /" >&2
40.12602 ++    ;;
40.12603 + esac
40.12604 ++echo "$as_me:$LINENO: checking for $ac_header" >&5
40.12605 ++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40.12606 ++if eval "test \"\${$as_ac_Header+set}\" = set"; then
40.12607 ++  echo $ECHO_N "(cached) $ECHO_C" >&6
40.12608 ++else
40.12609 ++  eval "$as_ac_Header=\$ac_header_preproc"
40.12610 ++fi
40.12611 ++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40.12612 ++echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40.12613 ++
40.12614 ++fi
40.12615 ++if test `eval echo '${'$as_ac_Header'}'` = yes; then
40.12616 ++  cat >>confdefs.h <<_ACEOF
40.12617 ++#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40.12618 ++_ACEOF
40.12619 ++
40.12620 ++fi
40.12621 ++
40.12622 ++done
40.12623 ++
40.12624 + 
40.12625 + echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
40.12626 + echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
40.12627 +@@ -3730,15 +4106,12 @@
40.12628 +   echo $ECHO_N "(cached) $ECHO_C" >&6
40.12629 + else
40.12630 +   cat >conftest.$ac_ext <<_ACEOF
40.12631 +-#line $LINENO "configure"
40.12632 +-#include "confdefs.h"
40.12633 ++/* confdefs.h.  */
40.12634 ++_ACEOF
40.12635 ++cat confdefs.h >>conftest.$ac_ext
40.12636 ++cat >>conftest.$ac_ext <<_ACEOF
40.12637 ++/* end confdefs.h.  */
40.12638 + 
40.12639 +-#ifdef F77_DUMMY_MAIN
40.12640 +-#  ifdef __cplusplus
40.12641 +-     extern "C"
40.12642 +-#  endif
40.12643 +-   int F77_DUMMY_MAIN() { return 1; }
40.12644 +-#endif
40.12645 + int
40.12646 + main ()
40.12647 + {
40.12648 +@@ -3795,11 +4168,20 @@
40.12649 + _ACEOF
40.12650 + rm -f conftest.$ac_objext
40.12651 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40.12652 +-  (eval $ac_compile) 2>&5
40.12653 ++  (eval $ac_compile) 2>conftest.er1
40.12654 +   ac_status=$?
40.12655 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.12656 ++  rm -f conftest.er1
40.12657 ++  cat conftest.err >&5
40.12658 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.12659 +   (exit $ac_status); } &&
40.12660 +-         { ac_try='test -s conftest.$ac_objext'
40.12661 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
40.12662 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.12663 ++  (eval $ac_try) 2>&5
40.12664 ++  ac_status=$?
40.12665 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.12666 ++  (exit $ac_status); }; } &&
40.12667 ++	 { ac_try='test -s conftest.$ac_objext'
40.12668 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.12669 +   (eval $ac_try) 2>&5
40.12670 +   ac_status=$?
40.12671 +@@ -3808,10 +4190,11 @@
40.12672 +   ac_cv_c_const=yes
40.12673 + else
40.12674 +   echo "$as_me: failed program was:" >&5
40.12675 +-cat conftest.$ac_ext >&5
40.12676 ++sed 's/^/| /' conftest.$ac_ext >&5
40.12677 ++
40.12678 + ac_cv_c_const=no
40.12679 + fi
40.12680 +-rm -f conftest.$ac_objext conftest.$ac_ext
40.12681 ++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40.12682 + fi
40.12683 + echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
40.12684 + echo "${ECHO_T}$ac_cv_c_const" >&6
40.12685 +@@ -3831,21 +4214,34 @@
40.12686 +   ac_cv_c_inline=no
40.12687 + for ac_kw in inline __inline__ __inline; do
40.12688 +   cat >conftest.$ac_ext <<_ACEOF
40.12689 +-#line $LINENO "configure"
40.12690 +-#include "confdefs.h"
40.12691 ++/* confdefs.h.  */
40.12692 ++_ACEOF
40.12693 ++cat confdefs.h >>conftest.$ac_ext
40.12694 ++cat >>conftest.$ac_ext <<_ACEOF
40.12695 ++/* end confdefs.h.  */
40.12696 + #ifndef __cplusplus
40.12697 +-static $ac_kw int static_foo () {return 0; }
40.12698 +-$ac_kw int foo () {return 0; }
40.12699 ++typedef int foo_t;
40.12700 ++static $ac_kw foo_t static_foo () {return 0; }
40.12701 ++$ac_kw foo_t foo () {return 0; }
40.12702 + #endif
40.12703 + 
40.12704 + _ACEOF
40.12705 + rm -f conftest.$ac_objext
40.12706 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40.12707 +-  (eval $ac_compile) 2>&5
40.12708 ++  (eval $ac_compile) 2>conftest.er1
40.12709 +   ac_status=$?
40.12710 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.12711 ++  rm -f conftest.er1
40.12712 ++  cat conftest.err >&5
40.12713 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.12714 +   (exit $ac_status); } &&
40.12715 +-         { ac_try='test -s conftest.$ac_objext'
40.12716 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
40.12717 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.12718 ++  (eval $ac_try) 2>&5
40.12719 ++  ac_status=$?
40.12720 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.12721 ++  (exit $ac_status); }; } &&
40.12722 ++	 { ac_try='test -s conftest.$ac_objext'
40.12723 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.12724 +   (eval $ac_try) 2>&5
40.12725 +   ac_status=$?
40.12726 +@@ -3854,25 +4250,30 @@
40.12727 +   ac_cv_c_inline=$ac_kw; break
40.12728 + else
40.12729 +   echo "$as_me: failed program was:" >&5
40.12730 +-cat conftest.$ac_ext >&5
40.12731 ++sed 's/^/| /' conftest.$ac_ext >&5
40.12732 ++
40.12733 + fi
40.12734 +-rm -f conftest.$ac_objext conftest.$ac_ext
40.12735 ++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40.12736 + done
40.12737 + 
40.12738 + fi
40.12739 + echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
40.12740 + echo "${ECHO_T}$ac_cv_c_inline" >&6
40.12741 ++
40.12742 ++
40.12743 + case $ac_cv_c_inline in
40.12744 +   inline | yes) ;;
40.12745 +-  no)
40.12746 +-cat >>confdefs.h <<\_ACEOF
40.12747 +-#define inline
40.12748 +-_ACEOF
40.12749 +- ;;
40.12750 +-  *)  cat >>confdefs.h <<_ACEOF
40.12751 +-#define inline $ac_cv_c_inline
40.12752 ++  *)
40.12753 ++    case $ac_cv_c_inline in
40.12754 ++      no) ac_val=;;
40.12755 ++      *) ac_val=$ac_cv_c_inline;;
40.12756 ++    esac
40.12757 ++    cat >>confdefs.h <<_ACEOF
40.12758 ++#ifndef __cplusplus
40.12759 ++#define inline $ac_val
40.12760 ++#endif
40.12761 + _ACEOF
40.12762 +- ;;
40.12763 ++    ;;
40.12764 + esac
40.12765 + 
40.12766 + echo "$as_me:$LINENO: checking for size_t" >&5
40.12767 +@@ -3881,15 +4282,12 @@
40.12768 +   echo $ECHO_N "(cached) $ECHO_C" >&6
40.12769 + else
40.12770 +   cat >conftest.$ac_ext <<_ACEOF
40.12771 +-#line $LINENO "configure"
40.12772 +-#include "confdefs.h"
40.12773 ++/* confdefs.h.  */
40.12774 ++_ACEOF
40.12775 ++cat confdefs.h >>conftest.$ac_ext
40.12776 ++cat >>conftest.$ac_ext <<_ACEOF
40.12777 ++/* end confdefs.h.  */
40.12778 + $ac_includes_default
40.12779 +-#ifdef F77_DUMMY_MAIN
40.12780 +-#  ifdef __cplusplus
40.12781 +-     extern "C"
40.12782 +-#  endif
40.12783 +-   int F77_DUMMY_MAIN() { return 1; }
40.12784 +-#endif
40.12785 + int
40.12786 + main ()
40.12787 + {
40.12788 +@@ -3903,11 +4301,20 @@
40.12789 + _ACEOF
40.12790 + rm -f conftest.$ac_objext
40.12791 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40.12792 +-  (eval $ac_compile) 2>&5
40.12793 ++  (eval $ac_compile) 2>conftest.er1
40.12794 +   ac_status=$?
40.12795 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.12796 ++  rm -f conftest.er1
40.12797 ++  cat conftest.err >&5
40.12798 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.12799 +   (exit $ac_status); } &&
40.12800 +-         { ac_try='test -s conftest.$ac_objext'
40.12801 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
40.12802 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.12803 ++  (eval $ac_try) 2>&5
40.12804 ++  ac_status=$?
40.12805 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.12806 ++  (exit $ac_status); }; } &&
40.12807 ++	 { ac_try='test -s conftest.$ac_objext'
40.12808 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.12809 +   (eval $ac_try) 2>&5
40.12810 +   ac_status=$?
40.12811 +@@ -3916,10 +4323,11 @@
40.12812 +   ac_cv_type_size_t=yes
40.12813 + else
40.12814 +   echo "$as_me: failed program was:" >&5
40.12815 +-cat conftest.$ac_ext >&5
40.12816 ++sed 's/^/| /' conftest.$ac_ext >&5
40.12817 ++
40.12818 + ac_cv_type_size_t=no
40.12819 + fi
40.12820 +-rm -f conftest.$ac_objext conftest.$ac_ext
40.12821 ++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40.12822 + fi
40.12823 + echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
40.12824 + echo "${ECHO_T}$ac_cv_type_size_t" >&6
40.12825 +@@ -3940,15 +4348,12 @@
40.12826 +   echo $ECHO_N "(cached) $ECHO_C" >&6
40.12827 + else
40.12828 +   cat >conftest.$ac_ext <<_ACEOF
40.12829 +-#line $LINENO "configure"
40.12830 +-#include "confdefs.h"
40.12831 ++/* confdefs.h.  */
40.12832 ++_ACEOF
40.12833 ++cat confdefs.h >>conftest.$ac_ext
40.12834 ++cat >>conftest.$ac_ext <<_ACEOF
40.12835 ++/* end confdefs.h.  */
40.12836 + $ac_includes_default
40.12837 +-#ifdef F77_DUMMY_MAIN
40.12838 +-#  ifdef __cplusplus
40.12839 +-     extern "C"
40.12840 +-#  endif
40.12841 +-   int F77_DUMMY_MAIN() { return 1; }
40.12842 +-#endif
40.12843 + int
40.12844 + main ()
40.12845 + {
40.12846 +@@ -3961,11 +4366,63 @@
40.12847 + _ACEOF
40.12848 + rm -f conftest.$ac_objext
40.12849 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40.12850 +-  (eval $ac_compile) 2>&5
40.12851 ++  (eval $ac_compile) 2>conftest.er1
40.12852 ++  ac_status=$?
40.12853 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.12854 ++  rm -f conftest.er1
40.12855 ++  cat conftest.err >&5
40.12856 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.12857 ++  (exit $ac_status); } &&
40.12858 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
40.12859 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.12860 ++  (eval $ac_try) 2>&5
40.12861 ++  ac_status=$?
40.12862 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.12863 ++  (exit $ac_status); }; } &&
40.12864 ++	 { ac_try='test -s conftest.$ac_objext'
40.12865 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.12866 ++  (eval $ac_try) 2>&5
40.12867 ++  ac_status=$?
40.12868 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.12869 ++  (exit $ac_status); }; }; then
40.12870 ++  ac_cv_member_struct_stat_st_blksize=yes
40.12871 ++else
40.12872 ++  echo "$as_me: failed program was:" >&5
40.12873 ++sed 's/^/| /' conftest.$ac_ext >&5
40.12874 ++
40.12875 ++cat >conftest.$ac_ext <<_ACEOF
40.12876 ++/* confdefs.h.  */
40.12877 ++_ACEOF
40.12878 ++cat confdefs.h >>conftest.$ac_ext
40.12879 ++cat >>conftest.$ac_ext <<_ACEOF
40.12880 ++/* end confdefs.h.  */
40.12881 ++$ac_includes_default
40.12882 ++int
40.12883 ++main ()
40.12884 ++{
40.12885 ++static struct stat ac_aggr;
40.12886 ++if (sizeof ac_aggr.st_blksize)
40.12887 ++return 0;
40.12888 ++  ;
40.12889 ++  return 0;
40.12890 ++}
40.12891 ++_ACEOF
40.12892 ++rm -f conftest.$ac_objext
40.12893 ++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40.12894 ++  (eval $ac_compile) 2>conftest.er1
40.12895 +   ac_status=$?
40.12896 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.12897 ++  rm -f conftest.er1
40.12898 ++  cat conftest.err >&5
40.12899 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.12900 +   (exit $ac_status); } &&
40.12901 +-         { ac_try='test -s conftest.$ac_objext'
40.12902 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
40.12903 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.12904 ++  (eval $ac_try) 2>&5
40.12905 ++  ac_status=$?
40.12906 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.12907 ++  (exit $ac_status); }; } &&
40.12908 ++	 { ac_try='test -s conftest.$ac_objext'
40.12909 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.12910 +   (eval $ac_try) 2>&5
40.12911 +   ac_status=$?
40.12912 +@@ -3974,10 +4431,13 @@
40.12913 +   ac_cv_member_struct_stat_st_blksize=yes
40.12914 + else
40.12915 +   echo "$as_me: failed program was:" >&5
40.12916 +-cat conftest.$ac_ext >&5
40.12917 ++sed 's/^/| /' conftest.$ac_ext >&5
40.12918 ++
40.12919 + ac_cv_member_struct_stat_st_blksize=no
40.12920 + fi
40.12921 +-rm -f conftest.$ac_objext conftest.$ac_ext
40.12922 ++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40.12923 ++fi
40.12924 ++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40.12925 + fi
40.12926 + echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
40.12927 + echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
40.12928 +@@ -4001,15 +4461,12 @@
40.12929 +   echo $ECHO_N "(cached) $ECHO_C" >&6
40.12930 + else
40.12931 +   cat >conftest.$ac_ext <<_ACEOF
40.12932 +-#line $LINENO "configure"
40.12933 +-#include "confdefs.h"
40.12934 ++/* confdefs.h.  */
40.12935 ++_ACEOF
40.12936 ++cat confdefs.h >>conftest.$ac_ext
40.12937 ++cat >>conftest.$ac_ext <<_ACEOF
40.12938 ++/* end confdefs.h.  */
40.12939 + #include <signal.h>
40.12940 +-#ifdef F77_DUMMY_MAIN
40.12941 +-#  ifdef __cplusplus
40.12942 +-     extern "C"
40.12943 +-#  endif
40.12944 +-   int F77_DUMMY_MAIN() { return 1; }
40.12945 +-#endif
40.12946 + int
40.12947 + main ()
40.12948 + {
40.12949 +@@ -4020,11 +4477,20 @@
40.12950 + _ACEOF
40.12951 + rm -f conftest.$ac_objext conftest$ac_exeext
40.12952 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40.12953 +-  (eval $ac_link) 2>&5
40.12954 ++  (eval $ac_link) 2>conftest.er1
40.12955 +   ac_status=$?
40.12956 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.12957 ++  rm -f conftest.er1
40.12958 ++  cat conftest.err >&5
40.12959 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.12960 +   (exit $ac_status); } &&
40.12961 +-         { ac_try='test -s conftest$ac_exeext'
40.12962 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
40.12963 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.12964 ++  (eval $ac_try) 2>&5
40.12965 ++  ac_status=$?
40.12966 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.12967 ++  (exit $ac_status); }; } &&
40.12968 ++	 { ac_try='test -s conftest$ac_exeext'
40.12969 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.12970 +   (eval $ac_try) 2>&5
40.12971 +   ac_status=$?
40.12972 +@@ -4033,10 +4499,12 @@
40.12973 +   ac_cv_have_sig_atomic_t=yes
40.12974 + else
40.12975 +   echo "$as_me: failed program was:" >&5
40.12976 +-cat conftest.$ac_ext >&5
40.12977 ++sed 's/^/| /' conftest.$ac_ext >&5
40.12978 ++
40.12979 + ac_cv_have_sig_atomic_t=no
40.12980 + fi
40.12981 +-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40.12982 ++rm -f conftest.err conftest.$ac_objext \
40.12983 ++      conftest$ac_exeext conftest.$ac_ext
40.12984 + fi
40.12985 + echo "$as_me:$LINENO: result: $ac_cv_have_sig_atomic_t" >&5
40.12986 + echo "${ECHO_T}$ac_cv_have_sig_atomic_t" >&6
40.12987 +@@ -4048,15 +4516,12 @@
40.12988 +   echo $ECHO_N "(cached) $ECHO_C" >&6
40.12989 + else
40.12990 +   cat >conftest.$ac_ext <<_ACEOF
40.12991 +-#line $LINENO "configure"
40.12992 +-#include "confdefs.h"
40.12993 ++/* confdefs.h.  */
40.12994 ++_ACEOF
40.12995 ++cat confdefs.h >>conftest.$ac_ext
40.12996 ++cat >>conftest.$ac_ext <<_ACEOF
40.12997 ++/* end confdefs.h.  */
40.12998 + $ac_includes_default
40.12999 +-#ifdef F77_DUMMY_MAIN
40.13000 +-#  ifdef __cplusplus
40.13001 +-     extern "C"
40.13002 +-#  endif
40.13003 +-   int F77_DUMMY_MAIN() { return 1; }
40.13004 +-#endif
40.13005 + int
40.13006 + main ()
40.13007 + {
40.13008 +@@ -4070,11 +4535,20 @@
40.13009 + _ACEOF
40.13010 + rm -f conftest.$ac_objext
40.13011 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40.13012 +-  (eval $ac_compile) 2>&5
40.13013 ++  (eval $ac_compile) 2>conftest.er1
40.13014 +   ac_status=$?
40.13015 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.13016 ++  rm -f conftest.er1
40.13017 ++  cat conftest.err >&5
40.13018 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.13019 +   (exit $ac_status); } &&
40.13020 +-         { ac_try='test -s conftest.$ac_objext'
40.13021 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
40.13022 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.13023 ++  (eval $ac_try) 2>&5
40.13024 ++  ac_status=$?
40.13025 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.13026 ++  (exit $ac_status); }; } &&
40.13027 ++	 { ac_try='test -s conftest.$ac_objext'
40.13028 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.13029 +   (eval $ac_try) 2>&5
40.13030 +   ac_status=$?
40.13031 +@@ -4083,10 +4557,11 @@
40.13032 +   ac_cv_type_sig_atomic_t=yes
40.13033 + else
40.13034 +   echo "$as_me: failed program was:" >&5
40.13035 +-cat conftest.$ac_ext >&5
40.13036 ++sed 's/^/| /' conftest.$ac_ext >&5
40.13037 ++
40.13038 + ac_cv_type_sig_atomic_t=no
40.13039 + fi
40.13040 +-rm -f conftest.$ac_objext conftest.$ac_ext
40.13041 ++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40.13042 + fi
40.13043 + echo "$as_me:$LINENO: result: $ac_cv_type_sig_atomic_t" >&5
40.13044 + echo "${ECHO_T}$ac_cv_type_sig_atomic_t" >&6
40.13045 +@@ -4108,15 +4583,12 @@
40.13046 +   echo $ECHO_N "(cached) $ECHO_C" >&6
40.13047 + else
40.13048 +   cat >conftest.$ac_ext <<_ACEOF
40.13049 +-#line $LINENO "configure"
40.13050 +-#include "confdefs.h"
40.13051 ++/* confdefs.h.  */
40.13052 ++_ACEOF
40.13053 ++cat confdefs.h >>conftest.$ac_ext
40.13054 ++cat >>conftest.$ac_ext <<_ACEOF
40.13055 ++/* end confdefs.h.  */
40.13056 + $ac_includes_default
40.13057 +-#ifdef F77_DUMMY_MAIN
40.13058 +-#  ifdef __cplusplus
40.13059 +-     extern "C"
40.13060 +-#  endif
40.13061 +-   int F77_DUMMY_MAIN() { return 1; }
40.13062 +-#endif
40.13063 + int
40.13064 + main ()
40.13065 + {
40.13066 +@@ -4130,11 +4602,20 @@
40.13067 + _ACEOF
40.13068 + rm -f conftest.$ac_objext
40.13069 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40.13070 +-  (eval $ac_compile) 2>&5
40.13071 ++  (eval $ac_compile) 2>conftest.er1
40.13072 +   ac_status=$?
40.13073 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.13074 ++  rm -f conftest.er1
40.13075 ++  cat conftest.err >&5
40.13076 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.13077 +   (exit $ac_status); } &&
40.13078 +-         { ac_try='test -s conftest.$ac_objext'
40.13079 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
40.13080 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.13081 ++  (eval $ac_try) 2>&5
40.13082 ++  ac_status=$?
40.13083 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.13084 ++  (exit $ac_status); }; } &&
40.13085 ++	 { ac_try='test -s conftest.$ac_objext'
40.13086 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.13087 +   (eval $ac_try) 2>&5
40.13088 +   ac_status=$?
40.13089 +@@ -4143,10 +4624,11 @@
40.13090 +   ac_cv_type_size_t=yes
40.13091 + else
40.13092 +   echo "$as_me: failed program was:" >&5
40.13093 +-cat conftest.$ac_ext >&5
40.13094 ++sed 's/^/| /' conftest.$ac_ext >&5
40.13095 ++
40.13096 + ac_cv_type_size_t=no
40.13097 + fi
40.13098 +-rm -f conftest.$ac_objext conftest.$ac_ext
40.13099 ++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40.13100 + fi
40.13101 + echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
40.13102 + echo "${ECHO_T}$ac_cv_type_size_t" >&6
40.13103 +@@ -4164,15 +4646,12 @@
40.13104 +   if test "$cross_compiling" = yes; then
40.13105 +   # Depending upon the size, compute the lo and hi bounds.
40.13106 + cat >conftest.$ac_ext <<_ACEOF
40.13107 +-#line $LINENO "configure"
40.13108 +-#include "confdefs.h"
40.13109 ++/* confdefs.h.  */
40.13110 ++_ACEOF
40.13111 ++cat confdefs.h >>conftest.$ac_ext
40.13112 ++cat >>conftest.$ac_ext <<_ACEOF
40.13113 ++/* end confdefs.h.  */
40.13114 + $ac_includes_default
40.13115 +-#ifdef F77_DUMMY_MAIN
40.13116 +-#  ifdef __cplusplus
40.13117 +-     extern "C"
40.13118 +-#  endif
40.13119 +-   int F77_DUMMY_MAIN() { return 1; }
40.13120 +-#endif
40.13121 + int
40.13122 + main ()
40.13123 + {
40.13124 +@@ -4185,11 +4664,20 @@
40.13125 + _ACEOF
40.13126 + rm -f conftest.$ac_objext
40.13127 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40.13128 +-  (eval $ac_compile) 2>&5
40.13129 ++  (eval $ac_compile) 2>conftest.er1
40.13130 +   ac_status=$?
40.13131 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.13132 ++  rm -f conftest.er1
40.13133 ++  cat conftest.err >&5
40.13134 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.13135 +   (exit $ac_status); } &&
40.13136 +-         { ac_try='test -s conftest.$ac_objext'
40.13137 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
40.13138 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.13139 ++  (eval $ac_try) 2>&5
40.13140 ++  ac_status=$?
40.13141 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.13142 ++  (exit $ac_status); }; } &&
40.13143 ++	 { ac_try='test -s conftest.$ac_objext'
40.13144 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.13145 +   (eval $ac_try) 2>&5
40.13146 +   ac_status=$?
40.13147 +@@ -4198,15 +4686,12 @@
40.13148 +   ac_lo=0 ac_mid=0
40.13149 +   while :; do
40.13150 +     cat >conftest.$ac_ext <<_ACEOF
40.13151 +-#line $LINENO "configure"
40.13152 +-#include "confdefs.h"
40.13153 ++/* confdefs.h.  */
40.13154 ++_ACEOF
40.13155 ++cat confdefs.h >>conftest.$ac_ext
40.13156 ++cat >>conftest.$ac_ext <<_ACEOF
40.13157 ++/* end confdefs.h.  */
40.13158 + $ac_includes_default
40.13159 +-#ifdef F77_DUMMY_MAIN
40.13160 +-#  ifdef __cplusplus
40.13161 +-     extern "C"
40.13162 +-#  endif
40.13163 +-   int F77_DUMMY_MAIN() { return 1; }
40.13164 +-#endif
40.13165 + int
40.13166 + main ()
40.13167 + {
40.13168 +@@ -4219,11 +4704,20 @@
40.13169 + _ACEOF
40.13170 + rm -f conftest.$ac_objext
40.13171 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40.13172 +-  (eval $ac_compile) 2>&5
40.13173 ++  (eval $ac_compile) 2>conftest.er1
40.13174 +   ac_status=$?
40.13175 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.13176 ++  rm -f conftest.er1
40.13177 ++  cat conftest.err >&5
40.13178 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.13179 +   (exit $ac_status); } &&
40.13180 +-         { ac_try='test -s conftest.$ac_objext'
40.13181 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
40.13182 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.13183 ++  (eval $ac_try) 2>&5
40.13184 ++  ac_status=$?
40.13185 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.13186 ++  (exit $ac_status); }; } &&
40.13187 ++	 { ac_try='test -s conftest.$ac_objext'
40.13188 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.13189 +   (eval $ac_try) 2>&5
40.13190 +   ac_status=$?
40.13191 +@@ -4232,29 +4726,28 @@
40.13192 +   ac_hi=$ac_mid; break
40.13193 + else
40.13194 +   echo "$as_me: failed program was:" >&5
40.13195 +-cat conftest.$ac_ext >&5
40.13196 ++sed 's/^/| /' conftest.$ac_ext >&5
40.13197 ++
40.13198 + ac_lo=`expr $ac_mid + 1`
40.13199 +-                    if test $ac_lo -le $ac_mid; then
40.13200 +-                      ac_lo= ac_hi=
40.13201 +-                      break
40.13202 +-                    fi
40.13203 +-                    ac_mid=`expr 2 '*' $ac_mid + 1`
40.13204 ++		    if test $ac_lo -le $ac_mid; then
40.13205 ++		      ac_lo= ac_hi=
40.13206 ++		      break
40.13207 ++		    fi
40.13208 ++		    ac_mid=`expr 2 '*' $ac_mid + 1`
40.13209 + fi
40.13210 +-rm -f conftest.$ac_objext conftest.$ac_ext
40.13211 ++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40.13212 +   done
40.13213 + else
40.13214 +   echo "$as_me: failed program was:" >&5
40.13215 +-cat conftest.$ac_ext >&5
40.13216 ++sed 's/^/| /' conftest.$ac_ext >&5
40.13217 ++
40.13218 + cat >conftest.$ac_ext <<_ACEOF
40.13219 +-#line $LINENO "configure"
40.13220 +-#include "confdefs.h"
40.13221 ++/* confdefs.h.  */
40.13222 ++_ACEOF
40.13223 ++cat confdefs.h >>conftest.$ac_ext
40.13224 ++cat >>conftest.$ac_ext <<_ACEOF
40.13225 ++/* end confdefs.h.  */
40.13226 + $ac_includes_default
40.13227 +-#ifdef F77_DUMMY_MAIN
40.13228 +-#  ifdef __cplusplus
40.13229 +-     extern "C"
40.13230 +-#  endif
40.13231 +-   int F77_DUMMY_MAIN() { return 1; }
40.13232 +-#endif
40.13233 + int
40.13234 + main ()
40.13235 + {
40.13236 +@@ -4267,11 +4760,20 @@
40.13237 + _ACEOF
40.13238 + rm -f conftest.$ac_objext
40.13239 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40.13240 +-  (eval $ac_compile) 2>&5
40.13241 ++  (eval $ac_compile) 2>conftest.er1
40.13242 +   ac_status=$?
40.13243 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.13244 ++  rm -f conftest.er1
40.13245 ++  cat conftest.err >&5
40.13246 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.13247 +   (exit $ac_status); } &&
40.13248 +-         { ac_try='test -s conftest.$ac_objext'
40.13249 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
40.13250 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.13251 ++  (eval $ac_try) 2>&5
40.13252 ++  ac_status=$?
40.13253 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.13254 ++  (exit $ac_status); }; } &&
40.13255 ++	 { ac_try='test -s conftest.$ac_objext'
40.13256 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.13257 +   (eval $ac_try) 2>&5
40.13258 +   ac_status=$?
40.13259 +@@ -4280,15 +4782,12 @@
40.13260 +   ac_hi=-1 ac_mid=-1
40.13261 +   while :; do
40.13262 +     cat >conftest.$ac_ext <<_ACEOF
40.13263 +-#line $LINENO "configure"
40.13264 +-#include "confdefs.h"
40.13265 ++/* confdefs.h.  */
40.13266 ++_ACEOF
40.13267 ++cat confdefs.h >>conftest.$ac_ext
40.13268 ++cat >>conftest.$ac_ext <<_ACEOF
40.13269 ++/* end confdefs.h.  */
40.13270 + $ac_includes_default
40.13271 +-#ifdef F77_DUMMY_MAIN
40.13272 +-#  ifdef __cplusplus
40.13273 +-     extern "C"
40.13274 +-#  endif
40.13275 +-   int F77_DUMMY_MAIN() { return 1; }
40.13276 +-#endif
40.13277 + int
40.13278 + main ()
40.13279 + {
40.13280 +@@ -4301,11 +4800,20 @@
40.13281 + _ACEOF
40.13282 + rm -f conftest.$ac_objext
40.13283 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40.13284 +-  (eval $ac_compile) 2>&5
40.13285 ++  (eval $ac_compile) 2>conftest.er1
40.13286 +   ac_status=$?
40.13287 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.13288 ++  rm -f conftest.er1
40.13289 ++  cat conftest.err >&5
40.13290 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.13291 +   (exit $ac_status); } &&
40.13292 +-         { ac_try='test -s conftest.$ac_objext'
40.13293 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
40.13294 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.13295 ++  (eval $ac_try) 2>&5
40.13296 ++  ac_status=$?
40.13297 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.13298 ++  (exit $ac_status); }; } &&
40.13299 ++	 { ac_try='test -s conftest.$ac_objext'
40.13300 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.13301 +   (eval $ac_try) 2>&5
40.13302 +   ac_status=$?
40.13303 +@@ -4314,37 +4822,36 @@
40.13304 +   ac_lo=$ac_mid; break
40.13305 + else
40.13306 +   echo "$as_me: failed program was:" >&5
40.13307 +-cat conftest.$ac_ext >&5
40.13308 ++sed 's/^/| /' conftest.$ac_ext >&5
40.13309 ++
40.13310 + ac_hi=`expr '(' $ac_mid ')' - 1`
40.13311 +-                       if test $ac_mid -le $ac_hi; then
40.13312 +-                         ac_lo= ac_hi=
40.13313 +-                         break
40.13314 +-                       fi
40.13315 +-                       ac_mid=`expr 2 '*' $ac_mid`
40.13316 ++		       if test $ac_mid -le $ac_hi; then
40.13317 ++			 ac_lo= ac_hi=
40.13318 ++			 break
40.13319 ++		       fi
40.13320 ++		       ac_mid=`expr 2 '*' $ac_mid`
40.13321 + fi
40.13322 +-rm -f conftest.$ac_objext conftest.$ac_ext
40.13323 ++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40.13324 +   done
40.13325 + else
40.13326 +   echo "$as_me: failed program was:" >&5
40.13327 +-cat conftest.$ac_ext >&5
40.13328 ++sed 's/^/| /' conftest.$ac_ext >&5
40.13329 ++
40.13330 + ac_lo= ac_hi=
40.13331 + fi
40.13332 +-rm -f conftest.$ac_objext conftest.$ac_ext
40.13333 ++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40.13334 + fi
40.13335 +-rm -f conftest.$ac_objext conftest.$ac_ext
40.13336 ++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40.13337 + # Binary search between lo and hi bounds.
40.13338 + while test "x$ac_lo" != "x$ac_hi"; do
40.13339 +   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
40.13340 +   cat >conftest.$ac_ext <<_ACEOF
40.13341 +-#line $LINENO "configure"
40.13342 +-#include "confdefs.h"
40.13343 ++/* confdefs.h.  */
40.13344 ++_ACEOF
40.13345 ++cat confdefs.h >>conftest.$ac_ext
40.13346 ++cat >>conftest.$ac_ext <<_ACEOF
40.13347 ++/* end confdefs.h.  */
40.13348 + $ac_includes_default
40.13349 +-#ifdef F77_DUMMY_MAIN
40.13350 +-#  ifdef __cplusplus
40.13351 +-     extern "C"
40.13352 +-#  endif
40.13353 +-   int F77_DUMMY_MAIN() { return 1; }
40.13354 +-#endif
40.13355 + int
40.13356 + main ()
40.13357 + {
40.13358 +@@ -4357,11 +4864,20 @@
40.13359 + _ACEOF
40.13360 + rm -f conftest.$ac_objext
40.13361 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40.13362 +-  (eval $ac_compile) 2>&5
40.13363 ++  (eval $ac_compile) 2>conftest.er1
40.13364 +   ac_status=$?
40.13365 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.13366 ++  rm -f conftest.er1
40.13367 ++  cat conftest.err >&5
40.13368 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.13369 +   (exit $ac_status); } &&
40.13370 +-         { ac_try='test -s conftest.$ac_objext'
40.13371 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
40.13372 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.13373 ++  (eval $ac_try) 2>&5
40.13374 ++  ac_status=$?
40.13375 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.13376 ++  (exit $ac_status); }; } &&
40.13377 ++	 { ac_try='test -s conftest.$ac_objext'
40.13378 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.13379 +   (eval $ac_try) 2>&5
40.13380 +   ac_status=$?
40.13381 +@@ -4370,37 +4886,37 @@
40.13382 +   ac_hi=$ac_mid
40.13383 + else
40.13384 +   echo "$as_me: failed program was:" >&5
40.13385 +-cat conftest.$ac_ext >&5
40.13386 ++sed 's/^/| /' conftest.$ac_ext >&5
40.13387 ++
40.13388 + ac_lo=`expr '(' $ac_mid ')' + 1`
40.13389 + fi
40.13390 +-rm -f conftest.$ac_objext conftest.$ac_ext
40.13391 ++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40.13392 + done
40.13393 + case $ac_lo in
40.13394 + ?*) ac_cv_sizeof_size_t=$ac_lo;;
40.13395 +-'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77" >&5
40.13396 +-echo "$as_me: error: cannot compute sizeof (size_t), 77" >&2;}
40.13397 ++'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
40.13398 ++See \`config.log' for more details." >&5
40.13399 ++echo "$as_me: error: cannot compute sizeof (size_t), 77
40.13400 ++See \`config.log' for more details." >&2;}
40.13401 +    { (exit 1); exit 1; }; } ;;
40.13402 + esac
40.13403 + else
40.13404 +   if test "$cross_compiling" = yes; then
40.13405 +-  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
40.13406 +-echo "$as_me: error: cannot run test program while cross compiling" >&2;}
40.13407 ++  { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
40.13408 ++echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
40.13409 +    { (exit 1); exit 1; }; }
40.13410 + else
40.13411 +   cat >conftest.$ac_ext <<_ACEOF
40.13412 +-#line $LINENO "configure"
40.13413 +-#include "confdefs.h"
40.13414 ++/* confdefs.h.  */
40.13415 ++_ACEOF
40.13416 ++cat confdefs.h >>conftest.$ac_ext
40.13417 ++cat >>conftest.$ac_ext <<_ACEOF
40.13418 ++/* end confdefs.h.  */
40.13419 + $ac_includes_default
40.13420 + long longval () { return (long) (sizeof (size_t)); }
40.13421 + unsigned long ulongval () { return (long) (sizeof (size_t)); }
40.13422 + #include <stdio.h>
40.13423 + #include <stdlib.h>
40.13424 +-#ifdef F77_DUMMY_MAIN
40.13425 +-#  ifdef __cplusplus
40.13426 +-     extern "C"
40.13427 +-#  endif
40.13428 +-   int F77_DUMMY_MAIN() { return 1; }
40.13429 +-#endif
40.13430 + int
40.13431 + main ()
40.13432 + {
40.13433 +@@ -4443,13 +4959,16 @@
40.13434 + else
40.13435 +   echo "$as_me: program exited with status $ac_status" >&5
40.13436 + echo "$as_me: failed program was:" >&5
40.13437 +-cat conftest.$ac_ext >&5
40.13438 ++sed 's/^/| /' conftest.$ac_ext >&5
40.13439 ++
40.13440 + ( exit $ac_status )
40.13441 +-{ { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77" >&5
40.13442 +-echo "$as_me: error: cannot compute sizeof (size_t), 77" >&2;}
40.13443 ++{ { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
40.13444 ++See \`config.log' for more details." >&5
40.13445 ++echo "$as_me: error: cannot compute sizeof (size_t), 77
40.13446 ++See \`config.log' for more details." >&2;}
40.13447 +    { (exit 1); exit 1; }; }
40.13448 + fi
40.13449 +-rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40.13450 ++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40.13451 + fi
40.13452 + fi
40.13453 + rm -f conftest.val
40.13454 +@@ -4470,15 +4989,12 @@
40.13455 +   echo $ECHO_N "(cached) $ECHO_C" >&6
40.13456 + else
40.13457 +   cat >conftest.$ac_ext <<_ACEOF
40.13458 +-#line $LINENO "configure"
40.13459 +-#include "confdefs.h"
40.13460 ++/* confdefs.h.  */
40.13461 ++_ACEOF
40.13462 ++cat confdefs.h >>conftest.$ac_ext
40.13463 ++cat >>conftest.$ac_ext <<_ACEOF
40.13464 ++/* end confdefs.h.  */
40.13465 + $ac_includes_default
40.13466 +-#ifdef F77_DUMMY_MAIN
40.13467 +-#  ifdef __cplusplus
40.13468 +-     extern "C"
40.13469 +-#  endif
40.13470 +-   int F77_DUMMY_MAIN() { return 1; }
40.13471 +-#endif
40.13472 + int
40.13473 + main ()
40.13474 + {
40.13475 +@@ -4492,11 +5008,20 @@
40.13476 + _ACEOF
40.13477 + rm -f conftest.$ac_objext
40.13478 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40.13479 +-  (eval $ac_compile) 2>&5
40.13480 ++  (eval $ac_compile) 2>conftest.er1
40.13481 +   ac_status=$?
40.13482 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.13483 ++  rm -f conftest.er1
40.13484 ++  cat conftest.err >&5
40.13485 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.13486 +   (exit $ac_status); } &&
40.13487 +-         { ac_try='test -s conftest.$ac_objext'
40.13488 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
40.13489 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.13490 ++  (eval $ac_try) 2>&5
40.13491 ++  ac_status=$?
40.13492 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.13493 ++  (exit $ac_status); }; } &&
40.13494 ++	 { ac_try='test -s conftest.$ac_objext'
40.13495 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.13496 +   (eval $ac_try) 2>&5
40.13497 +   ac_status=$?
40.13498 +@@ -4505,10 +5030,11 @@
40.13499 +   ac_cv_type_unsigned_int=yes
40.13500 + else
40.13501 +   echo "$as_me: failed program was:" >&5
40.13502 +-cat conftest.$ac_ext >&5
40.13503 ++sed 's/^/| /' conftest.$ac_ext >&5
40.13504 ++
40.13505 + ac_cv_type_unsigned_int=no
40.13506 + fi
40.13507 +-rm -f conftest.$ac_objext conftest.$ac_ext
40.13508 ++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40.13509 + fi
40.13510 + echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_int" >&5
40.13511 + echo "${ECHO_T}$ac_cv_type_unsigned_int" >&6
40.13512 +@@ -4526,15 +5052,12 @@
40.13513 +   if test "$cross_compiling" = yes; then
40.13514 +   # Depending upon the size, compute the lo and hi bounds.
40.13515 + cat >conftest.$ac_ext <<_ACEOF
40.13516 +-#line $LINENO "configure"
40.13517 +-#include "confdefs.h"
40.13518 ++/* confdefs.h.  */
40.13519 ++_ACEOF
40.13520 ++cat confdefs.h >>conftest.$ac_ext
40.13521 ++cat >>conftest.$ac_ext <<_ACEOF
40.13522 ++/* end confdefs.h.  */
40.13523 + $ac_includes_default
40.13524 +-#ifdef F77_DUMMY_MAIN
40.13525 +-#  ifdef __cplusplus
40.13526 +-     extern "C"
40.13527 +-#  endif
40.13528 +-   int F77_DUMMY_MAIN() { return 1; }
40.13529 +-#endif
40.13530 + int
40.13531 + main ()
40.13532 + {
40.13533 +@@ -4547,11 +5070,20 @@
40.13534 + _ACEOF
40.13535 + rm -f conftest.$ac_objext
40.13536 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40.13537 +-  (eval $ac_compile) 2>&5
40.13538 ++  (eval $ac_compile) 2>conftest.er1
40.13539 +   ac_status=$?
40.13540 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.13541 ++  rm -f conftest.er1
40.13542 ++  cat conftest.err >&5
40.13543 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.13544 +   (exit $ac_status); } &&
40.13545 +-         { ac_try='test -s conftest.$ac_objext'
40.13546 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
40.13547 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.13548 ++  (eval $ac_try) 2>&5
40.13549 ++  ac_status=$?
40.13550 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.13551 ++  (exit $ac_status); }; } &&
40.13552 ++	 { ac_try='test -s conftest.$ac_objext'
40.13553 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.13554 +   (eval $ac_try) 2>&5
40.13555 +   ac_status=$?
40.13556 +@@ -4560,15 +5092,12 @@
40.13557 +   ac_lo=0 ac_mid=0
40.13558 +   while :; do
40.13559 +     cat >conftest.$ac_ext <<_ACEOF
40.13560 +-#line $LINENO "configure"
40.13561 +-#include "confdefs.h"
40.13562 ++/* confdefs.h.  */
40.13563 ++_ACEOF
40.13564 ++cat confdefs.h >>conftest.$ac_ext
40.13565 ++cat >>conftest.$ac_ext <<_ACEOF
40.13566 ++/* end confdefs.h.  */
40.13567 + $ac_includes_default
40.13568 +-#ifdef F77_DUMMY_MAIN
40.13569 +-#  ifdef __cplusplus
40.13570 +-     extern "C"
40.13571 +-#  endif
40.13572 +-   int F77_DUMMY_MAIN() { return 1; }
40.13573 +-#endif
40.13574 + int
40.13575 + main ()
40.13576 + {
40.13577 +@@ -4581,11 +5110,20 @@
40.13578 + _ACEOF
40.13579 + rm -f conftest.$ac_objext
40.13580 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40.13581 +-  (eval $ac_compile) 2>&5
40.13582 ++  (eval $ac_compile) 2>conftest.er1
40.13583 +   ac_status=$?
40.13584 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.13585 ++  rm -f conftest.er1
40.13586 ++  cat conftest.err >&5
40.13587 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.13588 +   (exit $ac_status); } &&
40.13589 +-         { ac_try='test -s conftest.$ac_objext'
40.13590 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
40.13591 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.13592 ++  (eval $ac_try) 2>&5
40.13593 ++  ac_status=$?
40.13594 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.13595 ++  (exit $ac_status); }; } &&
40.13596 ++	 { ac_try='test -s conftest.$ac_objext'
40.13597 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.13598 +   (eval $ac_try) 2>&5
40.13599 +   ac_status=$?
40.13600 +@@ -4594,29 +5132,28 @@
40.13601 +   ac_hi=$ac_mid; break
40.13602 + else
40.13603 +   echo "$as_me: failed program was:" >&5
40.13604 +-cat conftest.$ac_ext >&5
40.13605 ++sed 's/^/| /' conftest.$ac_ext >&5
40.13606 ++
40.13607 + ac_lo=`expr $ac_mid + 1`
40.13608 +-                    if test $ac_lo -le $ac_mid; then
40.13609 +-                      ac_lo= ac_hi=
40.13610 +-                      break
40.13611 +-                    fi
40.13612 +-                    ac_mid=`expr 2 '*' $ac_mid + 1`
40.13613 ++		    if test $ac_lo -le $ac_mid; then
40.13614 ++		      ac_lo= ac_hi=
40.13615 ++		      break
40.13616 ++		    fi
40.13617 ++		    ac_mid=`expr 2 '*' $ac_mid + 1`
40.13618 + fi
40.13619 +-rm -f conftest.$ac_objext conftest.$ac_ext
40.13620 ++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40.13621 +   done
40.13622 + else
40.13623 +   echo "$as_me: failed program was:" >&5
40.13624 +-cat conftest.$ac_ext >&5
40.13625 ++sed 's/^/| /' conftest.$ac_ext >&5
40.13626 ++
40.13627 + cat >conftest.$ac_ext <<_ACEOF
40.13628 +-#line $LINENO "configure"
40.13629 +-#include "confdefs.h"
40.13630 ++/* confdefs.h.  */
40.13631 ++_ACEOF
40.13632 ++cat confdefs.h >>conftest.$ac_ext
40.13633 ++cat >>conftest.$ac_ext <<_ACEOF
40.13634 ++/* end confdefs.h.  */
40.13635 + $ac_includes_default
40.13636 +-#ifdef F77_DUMMY_MAIN
40.13637 +-#  ifdef __cplusplus
40.13638 +-     extern "C"
40.13639 +-#  endif
40.13640 +-   int F77_DUMMY_MAIN() { return 1; }
40.13641 +-#endif
40.13642 + int
40.13643 + main ()
40.13644 + {
40.13645 +@@ -4629,11 +5166,20 @@
40.13646 + _ACEOF
40.13647 + rm -f conftest.$ac_objext
40.13648 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40.13649 +-  (eval $ac_compile) 2>&5
40.13650 ++  (eval $ac_compile) 2>conftest.er1
40.13651 +   ac_status=$?
40.13652 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.13653 ++  rm -f conftest.er1
40.13654 ++  cat conftest.err >&5
40.13655 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.13656 +   (exit $ac_status); } &&
40.13657 +-         { ac_try='test -s conftest.$ac_objext'
40.13658 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
40.13659 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.13660 ++  (eval $ac_try) 2>&5
40.13661 ++  ac_status=$?
40.13662 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.13663 ++  (exit $ac_status); }; } &&
40.13664 ++	 { ac_try='test -s conftest.$ac_objext'
40.13665 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.13666 +   (eval $ac_try) 2>&5
40.13667 +   ac_status=$?
40.13668 +@@ -4642,15 +5188,12 @@
40.13669 +   ac_hi=-1 ac_mid=-1
40.13670 +   while :; do
40.13671 +     cat >conftest.$ac_ext <<_ACEOF
40.13672 +-#line $LINENO "configure"
40.13673 +-#include "confdefs.h"
40.13674 ++/* confdefs.h.  */
40.13675 ++_ACEOF
40.13676 ++cat confdefs.h >>conftest.$ac_ext
40.13677 ++cat >>conftest.$ac_ext <<_ACEOF
40.13678 ++/* end confdefs.h.  */
40.13679 + $ac_includes_default
40.13680 +-#ifdef F77_DUMMY_MAIN
40.13681 +-#  ifdef __cplusplus
40.13682 +-     extern "C"
40.13683 +-#  endif
40.13684 +-   int F77_DUMMY_MAIN() { return 1; }
40.13685 +-#endif
40.13686 + int
40.13687 + main ()
40.13688 + {
40.13689 +@@ -4663,11 +5206,20 @@
40.13690 + _ACEOF
40.13691 + rm -f conftest.$ac_objext
40.13692 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40.13693 +-  (eval $ac_compile) 2>&5
40.13694 ++  (eval $ac_compile) 2>conftest.er1
40.13695 +   ac_status=$?
40.13696 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.13697 ++  rm -f conftest.er1
40.13698 ++  cat conftest.err >&5
40.13699 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.13700 +   (exit $ac_status); } &&
40.13701 +-         { ac_try='test -s conftest.$ac_objext'
40.13702 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
40.13703 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.13704 ++  (eval $ac_try) 2>&5
40.13705 ++  ac_status=$?
40.13706 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.13707 ++  (exit $ac_status); }; } &&
40.13708 ++	 { ac_try='test -s conftest.$ac_objext'
40.13709 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.13710 +   (eval $ac_try) 2>&5
40.13711 +   ac_status=$?
40.13712 +@@ -4676,37 +5228,36 @@
40.13713 +   ac_lo=$ac_mid; break
40.13714 + else
40.13715 +   echo "$as_me: failed program was:" >&5
40.13716 +-cat conftest.$ac_ext >&5
40.13717 ++sed 's/^/| /' conftest.$ac_ext >&5
40.13718 ++
40.13719 + ac_hi=`expr '(' $ac_mid ')' - 1`
40.13720 +-                       if test $ac_mid -le $ac_hi; then
40.13721 +-                         ac_lo= ac_hi=
40.13722 +-                         break
40.13723 +-                       fi
40.13724 +-                       ac_mid=`expr 2 '*' $ac_mid`
40.13725 ++		       if test $ac_mid -le $ac_hi; then
40.13726 ++			 ac_lo= ac_hi=
40.13727 ++			 break
40.13728 ++		       fi
40.13729 ++		       ac_mid=`expr 2 '*' $ac_mid`
40.13730 + fi
40.13731 +-rm -f conftest.$ac_objext conftest.$ac_ext
40.13732 ++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40.13733 +   done
40.13734 + else
40.13735 +   echo "$as_me: failed program was:" >&5
40.13736 +-cat conftest.$ac_ext >&5
40.13737 ++sed 's/^/| /' conftest.$ac_ext >&5
40.13738 ++
40.13739 + ac_lo= ac_hi=
40.13740 + fi
40.13741 +-rm -f conftest.$ac_objext conftest.$ac_ext
40.13742 ++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40.13743 + fi
40.13744 +-rm -f conftest.$ac_objext conftest.$ac_ext
40.13745 ++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40.13746 + # Binary search between lo and hi bounds.
40.13747 + while test "x$ac_lo" != "x$ac_hi"; do
40.13748 +   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
40.13749 +   cat >conftest.$ac_ext <<_ACEOF
40.13750 +-#line $LINENO "configure"
40.13751 +-#include "confdefs.h"
40.13752 ++/* confdefs.h.  */
40.13753 ++_ACEOF
40.13754 ++cat confdefs.h >>conftest.$ac_ext
40.13755 ++cat >>conftest.$ac_ext <<_ACEOF
40.13756 ++/* end confdefs.h.  */
40.13757 + $ac_includes_default
40.13758 +-#ifdef F77_DUMMY_MAIN
40.13759 +-#  ifdef __cplusplus
40.13760 +-     extern "C"
40.13761 +-#  endif
40.13762 +-   int F77_DUMMY_MAIN() { return 1; }
40.13763 +-#endif
40.13764 + int
40.13765 + main ()
40.13766 + {
40.13767 +@@ -4719,11 +5270,20 @@
40.13768 + _ACEOF
40.13769 + rm -f conftest.$ac_objext
40.13770 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40.13771 +-  (eval $ac_compile) 2>&5
40.13772 ++  (eval $ac_compile) 2>conftest.er1
40.13773 +   ac_status=$?
40.13774 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.13775 ++  rm -f conftest.er1
40.13776 ++  cat conftest.err >&5
40.13777 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.13778 +   (exit $ac_status); } &&
40.13779 +-         { ac_try='test -s conftest.$ac_objext'
40.13780 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
40.13781 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.13782 ++  (eval $ac_try) 2>&5
40.13783 ++  ac_status=$?
40.13784 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.13785 ++  (exit $ac_status); }; } &&
40.13786 ++	 { ac_try='test -s conftest.$ac_objext'
40.13787 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.13788 +   (eval $ac_try) 2>&5
40.13789 +   ac_status=$?
40.13790 +@@ -4732,37 +5292,37 @@
40.13791 +   ac_hi=$ac_mid
40.13792 + else
40.13793 +   echo "$as_me: failed program was:" >&5
40.13794 +-cat conftest.$ac_ext >&5
40.13795 ++sed 's/^/| /' conftest.$ac_ext >&5
40.13796 ++
40.13797 + ac_lo=`expr '(' $ac_mid ')' + 1`
40.13798 + fi
40.13799 +-rm -f conftest.$ac_objext conftest.$ac_ext
40.13800 ++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40.13801 + done
40.13802 + case $ac_lo in
40.13803 + ?*) ac_cv_sizeof_unsigned_int=$ac_lo;;
40.13804 +-'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int), 77" >&5
40.13805 +-echo "$as_me: error: cannot compute sizeof (unsigned int), 77" >&2;}
40.13806 ++'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int), 77
40.13807 ++See \`config.log' for more details." >&5
40.13808 ++echo "$as_me: error: cannot compute sizeof (unsigned int), 77
40.13809 ++See \`config.log' for more details." >&2;}
40.13810 +    { (exit 1); exit 1; }; } ;;
40.13811 + esac
40.13812 + else
40.13813 +   if test "$cross_compiling" = yes; then
40.13814 +-  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
40.13815 +-echo "$as_me: error: cannot run test program while cross compiling" >&2;}
40.13816 ++  { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
40.13817 ++echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
40.13818 +    { (exit 1); exit 1; }; }
40.13819 + else
40.13820 +   cat >conftest.$ac_ext <<_ACEOF
40.13821 +-#line $LINENO "configure"
40.13822 +-#include "confdefs.h"
40.13823 ++/* confdefs.h.  */
40.13824 ++_ACEOF
40.13825 ++cat confdefs.h >>conftest.$ac_ext
40.13826 ++cat >>conftest.$ac_ext <<_ACEOF
40.13827 ++/* end confdefs.h.  */
40.13828 + $ac_includes_default
40.13829 + long longval () { return (long) (sizeof (unsigned int)); }
40.13830 + unsigned long ulongval () { return (long) (sizeof (unsigned int)); }
40.13831 + #include <stdio.h>
40.13832 + #include <stdlib.h>
40.13833 +-#ifdef F77_DUMMY_MAIN
40.13834 +-#  ifdef __cplusplus
40.13835 +-     extern "C"
40.13836 +-#  endif
40.13837 +-   int F77_DUMMY_MAIN() { return 1; }
40.13838 +-#endif
40.13839 + int
40.13840 + main ()
40.13841 + {
40.13842 +@@ -4805,13 +5365,16 @@
40.13843 + else
40.13844 +   echo "$as_me: program exited with status $ac_status" >&5
40.13845 + echo "$as_me: failed program was:" >&5
40.13846 +-cat conftest.$ac_ext >&5
40.13847 ++sed 's/^/| /' conftest.$ac_ext >&5
40.13848 ++
40.13849 + ( exit $ac_status )
40.13850 +-{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int), 77" >&5
40.13851 +-echo "$as_me: error: cannot compute sizeof (unsigned int), 77" >&2;}
40.13852 ++{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int), 77
40.13853 ++See \`config.log' for more details." >&5
40.13854 ++echo "$as_me: error: cannot compute sizeof (unsigned int), 77
40.13855 ++See \`config.log' for more details." >&2;}
40.13856 +    { (exit 1); exit 1; }; }
40.13857 + fi
40.13858 +-rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40.13859 ++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40.13860 + fi
40.13861 + fi
40.13862 + rm -f conftest.val
40.13863 +@@ -4834,49 +5397,72 @@
40.13864 +   echo $ECHO_N "(cached) $ECHO_C" >&6
40.13865 + else
40.13866 +   cat >conftest.$ac_ext <<_ACEOF
40.13867 +-#line $LINENO "configure"
40.13868 +-#include "confdefs.h"
40.13869 ++/* confdefs.h.  */
40.13870 ++_ACEOF
40.13871 ++cat confdefs.h >>conftest.$ac_ext
40.13872 ++cat >>conftest.$ac_ext <<_ACEOF
40.13873 ++/* end confdefs.h.  */
40.13874 ++/* Define setlocale to an innocuous variant, in case <limits.h> declares setlocale.
40.13875 ++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40.13876 ++#define setlocale innocuous_setlocale
40.13877 ++
40.13878 + /* System header to define __stub macros and hopefully few prototypes,
40.13879 +-    which can conflict with char setlocale (); below.  */
40.13880 +-#include <assert.h>
40.13881 ++    which can conflict with char setlocale (); below.
40.13882 ++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40.13883 ++    <limits.h> exists even on freestanding compilers.  */
40.13884 ++
40.13885 ++#ifdef __STDC__
40.13886 ++# include <limits.h>
40.13887 ++#else
40.13888 ++# include <assert.h>
40.13889 ++#endif
40.13890 ++
40.13891 ++#undef setlocale
40.13892 ++
40.13893 + /* Override any gcc2 internal prototype to avoid an error.  */
40.13894 + #ifdef __cplusplus
40.13895 + extern "C"
40.13896 ++{
40.13897 + #endif
40.13898 + /* We use char because int might match the return type of a gcc2
40.13899 +    builtin and then its argument prototype would still apply.  */
40.13900 + char setlocale ();
40.13901 +-char (*f) ();
40.13902 +-
40.13903 +-#ifdef F77_DUMMY_MAIN
40.13904 +-#  ifdef __cplusplus
40.13905 +-     extern "C"
40.13906 +-#  endif
40.13907 +-   int F77_DUMMY_MAIN() { return 1; }
40.13908 +-#endif
40.13909 +-int
40.13910 +-main ()
40.13911 +-{
40.13912 + /* The GNU C library defines this for functions which it implements
40.13913 +     to always fail with ENOSYS.  Some functions are actually named
40.13914 +     something starting with __ and the normal name is an alias.  */
40.13915 + #if defined (__stub_setlocale) || defined (__stub___setlocale)
40.13916 + choke me
40.13917 + #else
40.13918 +-f = setlocale;
40.13919 ++char (*f) () = setlocale;
40.13920 ++#endif
40.13921 ++#ifdef __cplusplus
40.13922 ++}
40.13923 + #endif
40.13924 + 
40.13925 ++int
40.13926 ++main ()
40.13927 ++{
40.13928 ++return f != setlocale;
40.13929 +   ;
40.13930 +   return 0;
40.13931 + }
40.13932 + _ACEOF
40.13933 + rm -f conftest.$ac_objext conftest$ac_exeext
40.13934 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40.13935 +-  (eval $ac_link) 2>&5
40.13936 ++  (eval $ac_link) 2>conftest.er1
40.13937 +   ac_status=$?
40.13938 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.13939 ++  rm -f conftest.er1
40.13940 ++  cat conftest.err >&5
40.13941 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.13942 +   (exit $ac_status); } &&
40.13943 +-         { ac_try='test -s conftest$ac_exeext'
40.13944 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
40.13945 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.13946 ++  (eval $ac_try) 2>&5
40.13947 ++  ac_status=$?
40.13948 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.13949 ++  (exit $ac_status); }; } &&
40.13950 ++	 { ac_try='test -s conftest$ac_exeext'
40.13951 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.13952 +   (eval $ac_try) 2>&5
40.13953 +   ac_status=$?
40.13954 +@@ -4885,10 +5471,12 @@
40.13955 +   ac_cv_func_setlocale=yes
40.13956 + else
40.13957 +   echo "$as_me: failed program was:" >&5
40.13958 +-cat conftest.$ac_ext >&5
40.13959 ++sed 's/^/| /' conftest.$ac_ext >&5
40.13960 ++
40.13961 + ac_cv_func_setlocale=no
40.13962 + fi
40.13963 +-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40.13964 ++rm -f conftest.err conftest.$ac_objext \
40.13965 ++      conftest$ac_exeext conftest.$ac_ext
40.13966 + fi
40.13967 + echo "$as_me:$LINENO: result: $ac_cv_func_setlocale" >&5
40.13968 + echo "${ECHO_T}$ac_cv_func_setlocale" >&6
40.13969 +@@ -4905,49 +5493,72 @@
40.13970 +   echo $ECHO_N "(cached) $ECHO_C" >&6
40.13971 + else
40.13972 +   cat >conftest.$ac_ext <<_ACEOF
40.13973 +-#line $LINENO "configure"
40.13974 +-#include "confdefs.h"
40.13975 ++/* confdefs.h.  */
40.13976 ++_ACEOF
40.13977 ++cat confdefs.h >>conftest.$ac_ext
40.13978 ++cat >>conftest.$ac_ext <<_ACEOF
40.13979 ++/* end confdefs.h.  */
40.13980 ++/* Define towupper to an innocuous variant, in case <limits.h> declares towupper.
40.13981 ++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40.13982 ++#define towupper innocuous_towupper
40.13983 ++
40.13984 + /* System header to define __stub macros and hopefully few prototypes,
40.13985 +-    which can conflict with char towupper (); below.  */
40.13986 +-#include <assert.h>
40.13987 ++    which can conflict with char towupper (); below.
40.13988 ++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40.13989 ++    <limits.h> exists even on freestanding compilers.  */
40.13990 ++
40.13991 ++#ifdef __STDC__
40.13992 ++# include <limits.h>
40.13993 ++#else
40.13994 ++# include <assert.h>
40.13995 ++#endif
40.13996 ++
40.13997 ++#undef towupper
40.13998 ++
40.13999 + /* Override any gcc2 internal prototype to avoid an error.  */
40.14000 + #ifdef __cplusplus
40.14001 + extern "C"
40.14002 ++{
40.14003 + #endif
40.14004 + /* We use char because int might match the return type of a gcc2
40.14005 +    builtin and then its argument prototype would still apply.  */
40.14006 + char towupper ();
40.14007 +-char (*f) ();
40.14008 +-
40.14009 +-#ifdef F77_DUMMY_MAIN
40.14010 +-#  ifdef __cplusplus
40.14011 +-     extern "C"
40.14012 +-#  endif
40.14013 +-   int F77_DUMMY_MAIN() { return 1; }
40.14014 +-#endif
40.14015 +-int
40.14016 +-main ()
40.14017 +-{
40.14018 + /* The GNU C library defines this for functions which it implements
40.14019 +     to always fail with ENOSYS.  Some functions are actually named
40.14020 +     something starting with __ and the normal name is an alias.  */
40.14021 + #if defined (__stub_towupper) || defined (__stub___towupper)
40.14022 + choke me
40.14023 + #else
40.14024 +-f = towupper;
40.14025 ++char (*f) () = towupper;
40.14026 ++#endif
40.14027 ++#ifdef __cplusplus
40.14028 ++}
40.14029 + #endif
40.14030 + 
40.14031 ++int
40.14032 ++main ()
40.14033 ++{
40.14034 ++return f != towupper;
40.14035 +   ;
40.14036 +   return 0;
40.14037 + }
40.14038 + _ACEOF
40.14039 + rm -f conftest.$ac_objext conftest$ac_exeext
40.14040 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40.14041 +-  (eval $ac_link) 2>&5
40.14042 ++  (eval $ac_link) 2>conftest.er1
40.14043 +   ac_status=$?
40.14044 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.14045 ++  rm -f conftest.er1
40.14046 ++  cat conftest.err >&5
40.14047 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.14048 +   (exit $ac_status); } &&
40.14049 +-         { ac_try='test -s conftest$ac_exeext'
40.14050 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
40.14051 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.14052 ++  (eval $ac_try) 2>&5
40.14053 ++  ac_status=$?
40.14054 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.14055 ++  (exit $ac_status); }; } &&
40.14056 ++	 { ac_try='test -s conftest$ac_exeext'
40.14057 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.14058 +   (eval $ac_try) 2>&5
40.14059 +   ac_status=$?
40.14060 +@@ -4956,10 +5567,12 @@
40.14061 +   ac_cv_func_towupper=yes
40.14062 + else
40.14063 +   echo "$as_me: failed program was:" >&5
40.14064 +-cat conftest.$ac_ext >&5
40.14065 ++sed 's/^/| /' conftest.$ac_ext >&5
40.14066 ++
40.14067 + ac_cv_func_towupper=no
40.14068 + fi
40.14069 +-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40.14070 ++rm -f conftest.err conftest.$ac_objext \
40.14071 ++      conftest$ac_exeext conftest.$ac_ext
40.14072 + fi
40.14073 + echo "$as_me:$LINENO: result: $ac_cv_func_towupper" >&5
40.14074 + echo "${ECHO_T}$ac_cv_func_towupper" >&6
40.14075 +@@ -4976,49 +5589,72 @@
40.14076 +   echo $ECHO_N "(cached) $ECHO_C" >&6
40.14077 + else
40.14078 +   cat >conftest.$ac_ext <<_ACEOF
40.14079 +-#line $LINENO "configure"
40.14080 +-#include "confdefs.h"
40.14081 ++/* confdefs.h.  */
40.14082 ++_ACEOF
40.14083 ++cat confdefs.h >>conftest.$ac_ext
40.14084 ++cat >>conftest.$ac_ext <<_ACEOF
40.14085 ++/* end confdefs.h.  */
40.14086 ++/* Define gettext to an innocuous variant, in case <limits.h> declares gettext.
40.14087 ++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40.14088 ++#define gettext innocuous_gettext
40.14089 ++
40.14090 + /* System header to define __stub macros and hopefully few prototypes,
40.14091 +-    which can conflict with char gettext (); below.  */
40.14092 +-#include <assert.h>
40.14093 ++    which can conflict with char gettext (); below.
40.14094 ++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40.14095 ++    <limits.h> exists even on freestanding compilers.  */
40.14096 ++
40.14097 ++#ifdef __STDC__
40.14098 ++# include <limits.h>
40.14099 ++#else
40.14100 ++# include <assert.h>
40.14101 ++#endif
40.14102 ++
40.14103 ++#undef gettext
40.14104 ++
40.14105 + /* Override any gcc2 internal prototype to avoid an error.  */
40.14106 + #ifdef __cplusplus
40.14107 + extern "C"
40.14108 ++{
40.14109 + #endif
40.14110 + /* We use char because int might match the return type of a gcc2
40.14111 +    builtin and then its argument prototype would still apply.  */
40.14112 + char gettext ();
40.14113 +-char (*f) ();
40.14114 +-
40.14115 +-#ifdef F77_DUMMY_MAIN
40.14116 +-#  ifdef __cplusplus
40.14117 +-     extern "C"
40.14118 +-#  endif
40.14119 +-   int F77_DUMMY_MAIN() { return 1; }
40.14120 +-#endif
40.14121 +-int
40.14122 +-main ()
40.14123 +-{
40.14124 + /* The GNU C library defines this for functions which it implements
40.14125 +     to always fail with ENOSYS.  Some functions are actually named
40.14126 +     something starting with __ and the normal name is an alias.  */
40.14127 + #if defined (__stub_gettext) || defined (__stub___gettext)
40.14128 + choke me
40.14129 + #else
40.14130 +-f = gettext;
40.14131 ++char (*f) () = gettext;
40.14132 ++#endif
40.14133 ++#ifdef __cplusplus
40.14134 ++}
40.14135 + #endif
40.14136 + 
40.14137 ++int
40.14138 ++main ()
40.14139 ++{
40.14140 ++return f != gettext;
40.14141 +   ;
40.14142 +   return 0;
40.14143 + }
40.14144 + _ACEOF
40.14145 + rm -f conftest.$ac_objext conftest$ac_exeext
40.14146 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40.14147 +-  (eval $ac_link) 2>&5
40.14148 ++  (eval $ac_link) 2>conftest.er1
40.14149 +   ac_status=$?
40.14150 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.14151 ++  rm -f conftest.er1
40.14152 ++  cat conftest.err >&5
40.14153 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.14154 +   (exit $ac_status); } &&
40.14155 +-         { ac_try='test -s conftest$ac_exeext'
40.14156 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
40.14157 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.14158 ++  (eval $ac_try) 2>&5
40.14159 ++  ac_status=$?
40.14160 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.14161 ++  (exit $ac_status); }; } &&
40.14162 ++	 { ac_try='test -s conftest$ac_exeext'
40.14163 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.14164 +   (eval $ac_try) 2>&5
40.14165 +   ac_status=$?
40.14166 +@@ -5027,10 +5663,12 @@
40.14167 +   ac_cv_func_gettext=yes
40.14168 + else
40.14169 +   echo "$as_me: failed program was:" >&5
40.14170 +-cat conftest.$ac_ext >&5
40.14171 ++sed 's/^/| /' conftest.$ac_ext >&5
40.14172 ++
40.14173 + ac_cv_func_gettext=no
40.14174 + fi
40.14175 +-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40.14176 ++rm -f conftest.err conftest.$ac_objext \
40.14177 ++      conftest$ac_exeext conftest.$ac_ext
40.14178 + fi
40.14179 + echo "$as_me:$LINENO: result: $ac_cv_func_gettext" >&5
40.14180 + echo "${ECHO_T}$ac_cv_func_gettext" >&6
40.14181 +@@ -5048,8 +5686,11 @@
40.14182 +   ac_check_lib_save_LIBS=$LIBS
40.14183 + LIBS="-lintl  $LIBS"
40.14184 + cat >conftest.$ac_ext <<_ACEOF
40.14185 +-#line $LINENO "configure"
40.14186 +-#include "confdefs.h"
40.14187 ++/* confdefs.h.  */
40.14188 ++_ACEOF
40.14189 ++cat confdefs.h >>conftest.$ac_ext
40.14190 ++cat >>conftest.$ac_ext <<_ACEOF
40.14191 ++/* end confdefs.h.  */
40.14192 + 
40.14193 + /* Override any gcc2 internal prototype to avoid an error.  */
40.14194 + #ifdef __cplusplus
40.14195 +@@ -5058,12 +5699,6 @@
40.14196 + /* We use char because int might match the return type of a gcc2
40.14197 +    builtin and then its argument prototype would still apply.  */
40.14198 + char gettext ();
40.14199 +-#ifdef F77_DUMMY_MAIN
40.14200 +-#  ifdef __cplusplus
40.14201 +-     extern "C"
40.14202 +-#  endif
40.14203 +-   int F77_DUMMY_MAIN() { return 1; }
40.14204 +-#endif
40.14205 + int
40.14206 + main ()
40.14207 + {
40.14208 +@@ -5074,11 +5709,20 @@
40.14209 + _ACEOF
40.14210 + rm -f conftest.$ac_objext conftest$ac_exeext
40.14211 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40.14212 +-  (eval $ac_link) 2>&5
40.14213 ++  (eval $ac_link) 2>conftest.er1
40.14214 +   ac_status=$?
40.14215 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.14216 ++  rm -f conftest.er1
40.14217 ++  cat conftest.err >&5
40.14218 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.14219 +   (exit $ac_status); } &&
40.14220 +-         { ac_try='test -s conftest$ac_exeext'
40.14221 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
40.14222 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.14223 ++  (eval $ac_try) 2>&5
40.14224 ++  ac_status=$?
40.14225 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.14226 ++  (exit $ac_status); }; } &&
40.14227 ++	 { ac_try='test -s conftest$ac_exeext'
40.14228 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.14229 +   (eval $ac_try) 2>&5
40.14230 +   ac_status=$?
40.14231 +@@ -5087,10 +5731,12 @@
40.14232 +   ac_cv_lib_intl_gettext=yes
40.14233 + else
40.14234 +   echo "$as_me: failed program was:" >&5
40.14235 +-cat conftest.$ac_ext >&5
40.14236 ++sed 's/^/| /' conftest.$ac_ext >&5
40.14237 ++
40.14238 + ac_cv_lib_intl_gettext=no
40.14239 + fi
40.14240 +-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40.14241 ++rm -f conftest.err conftest.$ac_objext \
40.14242 ++      conftest$ac_exeext conftest.$ac_ext
40.14243 + LIBS=$ac_check_lib_save_LIBS
40.14244 + fi
40.14245 + echo "$as_me:$LINENO: result: $ac_cv_lib_intl_gettext" >&5
40.14246 +@@ -5105,6 +5751,10 @@
40.14247 + fi
40.14248 + 
40.14249 + 
40.14250 ++case "${host}" in
40.14251 ++  *-*-gnu*)
40.14252 ++    ;;
40.14253 ++  *)
40.14254 + echo "$as_me:$LINENO: checking for cthread_fork in -lthreads" >&5
40.14255 + echo $ECHO_N "checking for cthread_fork in -lthreads... $ECHO_C" >&6
40.14256 + if test "${ac_cv_lib_threads_cthread_fork+set}" = set; then
40.14257 +@@ -5113,8 +5763,11 @@
40.14258 +   ac_check_lib_save_LIBS=$LIBS
40.14259 + LIBS="-lthreads  $LIBS"
40.14260 + cat >conftest.$ac_ext <<_ACEOF
40.14261 +-#line $LINENO "configure"
40.14262 +-#include "confdefs.h"
40.14263 ++/* confdefs.h.  */
40.14264 ++_ACEOF
40.14265 ++cat confdefs.h >>conftest.$ac_ext
40.14266 ++cat >>conftest.$ac_ext <<_ACEOF
40.14267 ++/* end confdefs.h.  */
40.14268 + 
40.14269 + /* Override any gcc2 internal prototype to avoid an error.  */
40.14270 + #ifdef __cplusplus
40.14271 +@@ -5123,12 +5776,6 @@
40.14272 + /* We use char because int might match the return type of a gcc2
40.14273 +    builtin and then its argument prototype would still apply.  */
40.14274 + char cthread_fork ();
40.14275 +-#ifdef F77_DUMMY_MAIN
40.14276 +-#  ifdef __cplusplus
40.14277 +-     extern "C"
40.14278 +-#  endif
40.14279 +-   int F77_DUMMY_MAIN() { return 1; }
40.14280 +-#endif
40.14281 + int
40.14282 + main ()
40.14283 + {
40.14284 +@@ -5139,11 +5786,20 @@
40.14285 + _ACEOF
40.14286 + rm -f conftest.$ac_objext conftest$ac_exeext
40.14287 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40.14288 +-  (eval $ac_link) 2>&5
40.14289 ++  (eval $ac_link) 2>conftest.er1
40.14290 +   ac_status=$?
40.14291 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.14292 ++  rm -f conftest.er1
40.14293 ++  cat conftest.err >&5
40.14294 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.14295 +   (exit $ac_status); } &&
40.14296 +-         { ac_try='test -s conftest$ac_exeext'
40.14297 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
40.14298 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.14299 ++  (eval $ac_try) 2>&5
40.14300 ++  ac_status=$?
40.14301 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.14302 ++  (exit $ac_status); }; } &&
40.14303 ++	 { ac_try='test -s conftest$ac_exeext'
40.14304 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.14305 +   (eval $ac_try) 2>&5
40.14306 +   ac_status=$?
40.14307 +@@ -5152,10 +5808,12 @@
40.14308 +   ac_cv_lib_threads_cthread_fork=yes
40.14309 + else
40.14310 +   echo "$as_me: failed program was:" >&5
40.14311 +-cat conftest.$ac_ext >&5
40.14312 ++sed 's/^/| /' conftest.$ac_ext >&5
40.14313 ++
40.14314 + ac_cv_lib_threads_cthread_fork=no
40.14315 + fi
40.14316 +-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40.14317 ++rm -f conftest.err conftest.$ac_objext \
40.14318 ++      conftest$ac_exeext conftest.$ac_ext
40.14319 + LIBS=$ac_check_lib_save_LIBS
40.14320 + fi
40.14321 + echo "$as_me:$LINENO: result: $ac_cv_lib_threads_cthread_fork" >&5
40.14322 +@@ -5165,6 +5823,7 @@
40.14323 + else
40.14324 +   LIB_THREADS=""
40.14325 + fi
40.14326 ++esac
40.14327 + 
40.14328 + 
40.14329 + 
40.14330 +@@ -5183,19 +5842,16 @@
40.14331 + ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40.14332 + 
40.14333 + 	cat >conftest.$ac_ext <<_ACEOF
40.14334 +-#line $LINENO "configure"
40.14335 +-#include "confdefs.h"
40.14336 ++/* confdefs.h.  */
40.14337 ++_ACEOF
40.14338 ++cat confdefs.h >>conftest.$ac_ext
40.14339 ++cat >>conftest.$ac_ext <<_ACEOF
40.14340 ++/* end confdefs.h.  */
40.14341 + #include <unistd.h>
40.14342 + 
40.14343 +                        template<class T> class foo { };
40.14344 + 
40.14345 + 
40.14346 +-#ifdef F77_DUMMY_MAIN
40.14347 +-#  ifdef __cplusplus
40.14348 +-     extern "C"
40.14349 +-#  endif
40.14350 +-   int F77_DUMMY_MAIN() { return 1; }
40.14351 +-#endif
40.14352 + int
40.14353 + main ()
40.14354 + {
40.14355 +@@ -5210,11 +5866,20 @@
40.14356 + _ACEOF
40.14357 + rm -f conftest.$ac_objext
40.14358 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40.14359 +-  (eval $ac_compile) 2>&5
40.14360 ++  (eval $ac_compile) 2>conftest.er1
40.14361 +   ac_status=$?
40.14362 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.14363 ++  rm -f conftest.er1
40.14364 ++  cat conftest.err >&5
40.14365 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.14366 +   (exit $ac_status); } &&
40.14367 +-         { ac_try='test -s conftest.$ac_objext'
40.14368 ++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
40.14369 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.14370 ++  (eval $ac_try) 2>&5
40.14371 ++  ac_status=$?
40.14372 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.14373 ++  (exit $ac_status); }; } &&
40.14374 ++	 { ac_try='test -s conftest.$ac_objext'
40.14375 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.14376 +   (eval $ac_try) 2>&5
40.14377 +   ac_status=$?
40.14378 +@@ -5223,9 +5888,10 @@
40.14379 +   ac_cv_size_t_is_uint=yes
40.14380 + else
40.14381 +   echo "$as_me: failed program was:" >&5
40.14382 +-cat conftest.$ac_ext >&5
40.14383 ++sed 's/^/| /' conftest.$ac_ext >&5
40.14384 ++
40.14385 + fi
40.14386 +-rm -f conftest.$ac_objext conftest.$ac_ext
40.14387 ++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40.14388 + 	ac_ext=c
40.14389 + ac_cpp='$CPP $CPPFLAGS'
40.14390 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40.14391 +@@ -5253,15 +5919,12 @@
40.14392 +   echo $ECHO_N "(cached) $ECHO_C" >&6
40.14393 + else
40.14394 +   cat >conftest.$ac_ext <<_ACEOF
40.14395 +-#line $LINENO "configure"
40.14396 +-#include "confdefs.h"
40.14397 ++/* confdefs.h.  */
40.14398 ++_ACEOF
40.14399 ++cat confdefs.h >>conftest.$ac_ext
40.14400 ++cat >>conftest.$ac_ext <<_ACEOF
40.14401 ++/* end confdefs.h.  */
40.14402 + 
40.14403 +-#ifdef F77_DUMMY_MAIN
40.14404 +-#  ifdef __cplusplus
40.14405 +-     extern "C"
40.14406 +-#  endif
40.14407 +-   int F77_DUMMY_MAIN() { return 1; }
40.14408 +-#endif
40.14409 + int
40.14410 + main ()
40.14411 + {
40.14412 +@@ -5272,11 +5935,20 @@
40.14413 + _ACEOF
40.14414 + rm -f conftest.$ac_objext conftest$ac_exeext
40.14415 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40.14416 +-  (eval $ac_link) 2>&5
40.14417 ++  (eval $ac_link) 2>conftest.er1
40.14418 +   ac_status=$?
40.14419 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.14420 ++  rm -f conftest.er1
40.14421 ++  cat conftest.err >&5
40.14422 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.14423 +   (exit $ac_status); } &&
40.14424 +-         { ac_try='test -s conftest$ac_exeext'
40.14425 ++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
40.14426 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.14427 ++  (eval $ac_try) 2>&5
40.14428 ++  ac_status=$?
40.14429 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.14430 ++  (exit $ac_status); }; } &&
40.14431 ++	 { ac_try='test -s conftest$ac_exeext'
40.14432 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.14433 +   (eval $ac_try) 2>&5
40.14434 +   ac_status=$?
40.14435 +@@ -5285,10 +5957,12 @@
40.14436 +   ac_cv_typedef_bool=yes
40.14437 + else
40.14438 +   echo "$as_me: failed program was:" >&5
40.14439 +-cat conftest.$ac_ext >&5
40.14440 ++sed 's/^/| /' conftest.$ac_ext >&5
40.14441 ++
40.14442 + ac_cv_typedef_bool=no
40.14443 + fi
40.14444 +-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40.14445 ++rm -f conftest.err conftest.$ac_objext \
40.14446 ++      conftest$ac_exeext conftest.$ac_ext
40.14447 + fi
40.14448 + echo "$as_me:$LINENO: result: $ac_cv_typedef_bool" >&5
40.14449 + echo "${ECHO_T}$ac_cv_typedef_bool" >&6
40.14450 +@@ -5306,8 +5980,11 @@
40.14451 +   echo $ECHO_N "(cached) $ECHO_C" >&6
40.14452 + else
40.14453 +   cat >conftest.$ac_ext <<_ACEOF
40.14454 +-#line $LINENO "configure"
40.14455 +-#include "confdefs.h"
40.14456 ++/* confdefs.h.  */
40.14457 ++_ACEOF
40.14458 ++cat confdefs.h >>conftest.$ac_ext
40.14459 ++cat >>conftest.$ac_ext <<_ACEOF
40.14460 ++/* end confdefs.h.  */
40.14461 + 
40.14462 + class foo {
40.14463 + };
40.14464 +@@ -5317,12 +5994,6 @@
40.14465 +  T *data();};
40.14466 + template class test<foo>;
40.14467 + 
40.14468 +-#ifdef F77_DUMMY_MAIN
40.14469 +-#  ifdef __cplusplus
40.14470 +-     extern "C"
40.14471 +-#  endif
40.14472 +-   int F77_DUMMY_MAIN() { return 1; }
40.14473 +-#endif
40.14474 + int
40.14475 + main ()
40.14476 + {
40.14477 +@@ -5333,11 +6004,20 @@
40.14478 + _ACEOF
40.14479 + rm -f conftest.$ac_objext conftest$ac_exeext
40.14480 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40.14481 +-  (eval $ac_link) 2>&5
40.14482 ++  (eval $ac_link) 2>conftest.er1
40.14483 +   ac_status=$?
40.14484 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.14485 ++  rm -f conftest.er1
40.14486 ++  cat conftest.err >&5
40.14487 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.14488 +   (exit $ac_status); } &&
40.14489 +-         { ac_try='test -s conftest$ac_exeext'
40.14490 ++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
40.14491 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.14492 ++  (eval $ac_try) 2>&5
40.14493 ++  ac_status=$?
40.14494 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.14495 ++  (exit $ac_status); }; } &&
40.14496 ++	 { ac_try='test -s conftest$ac_exeext'
40.14497 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.14498 +   (eval $ac_try) 2>&5
40.14499 +   ac_status=$?
40.14500 +@@ -5346,10 +6026,12 @@
40.14501 +   ac_cv_c_template_ansi=yes
40.14502 + else
40.14503 +   echo "$as_me: failed program was:" >&5
40.14504 +-cat conftest.$ac_ext >&5
40.14505 ++sed 's/^/| /' conftest.$ac_ext >&5
40.14506 ++
40.14507 + ac_cv_c_template_ansi=no
40.14508 + fi
40.14509 +-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40.14510 ++rm -f conftest.err conftest.$ac_objext \
40.14511 ++      conftest$ac_exeext conftest.$ac_ext
40.14512 + fi
40.14513 + echo "$as_me:$LINENO: result: $ac_cv_c_template_ansi" >&5
40.14514 + echo "${ECHO_T}$ac_cv_c_template_ansi" >&6
40.14515 +@@ -5382,24 +6064,34 @@
40.14516 + do
40.14517 +   # Use a header file that comes with gcc, so configuring glibc
40.14518 +   # with a fresh cross-compiler works.
40.14519 ++  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40.14520 ++  # <limits.h> exists even on freestanding compilers.
40.14521 +   # On the NeXT, cc -E runs the code through the compiler's parser,
40.14522 +   # not just through cpp. "Syntax error" is here to catch this case.
40.14523 +   cat >conftest.$ac_ext <<_ACEOF
40.14524 +-#line $LINENO "configure"
40.14525 +-#include "confdefs.h"
40.14526 +-#include <assert.h>
40.14527 +-                     Syntax error
40.14528 ++/* confdefs.h.  */
40.14529 ++_ACEOF
40.14530 ++cat confdefs.h >>conftest.$ac_ext
40.14531 ++cat >>conftest.$ac_ext <<_ACEOF
40.14532 ++/* end confdefs.h.  */
40.14533 ++#ifdef __STDC__
40.14534 ++# include <limits.h>
40.14535 ++#else
40.14536 ++# include <assert.h>
40.14537 ++#endif
40.14538 ++		     Syntax error
40.14539 + _ACEOF
40.14540 + if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40.14541 +   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40.14542 +   ac_status=$?
40.14543 +-  egrep -v '^ *\+' conftest.er1 >conftest.err
40.14544 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.14545 +   rm -f conftest.er1
40.14546 +   cat conftest.err >&5
40.14547 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.14548 +   (exit $ac_status); } >/dev/null; then
40.14549 +   if test -s conftest.err; then
40.14550 +     ac_cpp_err=$ac_cxx_preproc_warn_flag
40.14551 ++    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
40.14552 +   else
40.14553 +     ac_cpp_err=
40.14554 +   fi
40.14555 +@@ -5410,7 +6102,8 @@
40.14556 +   :
40.14557 + else
40.14558 +   echo "$as_me: failed program was:" >&5
40.14559 +-  cat conftest.$ac_ext >&5
40.14560 ++sed 's/^/| /' conftest.$ac_ext >&5
40.14561 ++
40.14562 +   # Broken: fails on valid input.
40.14563 + continue
40.14564 + fi
40.14565 +@@ -5419,20 +6112,24 @@
40.14566 +   # OK, works on sane cases.  Now check whether non-existent headers
40.14567 +   # can be detected and how.
40.14568 +   cat >conftest.$ac_ext <<_ACEOF
40.14569 +-#line $LINENO "configure"
40.14570 +-#include "confdefs.h"
40.14571 ++/* confdefs.h.  */
40.14572 ++_ACEOF
40.14573 ++cat confdefs.h >>conftest.$ac_ext
40.14574 ++cat >>conftest.$ac_ext <<_ACEOF
40.14575 ++/* end confdefs.h.  */
40.14576 + #include <ac_nonexistent.h>
40.14577 + _ACEOF
40.14578 + if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40.14579 +   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40.14580 +   ac_status=$?
40.14581 +-  egrep -v '^ *\+' conftest.er1 >conftest.err
40.14582 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.14583 +   rm -f conftest.er1
40.14584 +   cat conftest.err >&5
40.14585 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.14586 +   (exit $ac_status); } >/dev/null; then
40.14587 +   if test -s conftest.err; then
40.14588 +     ac_cpp_err=$ac_cxx_preproc_warn_flag
40.14589 ++    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
40.14590 +   else
40.14591 +     ac_cpp_err=
40.14592 +   fi
40.14593 +@@ -5444,7 +6141,8 @@
40.14594 + continue
40.14595 + else
40.14596 +   echo "$as_me: failed program was:" >&5
40.14597 +-  cat conftest.$ac_ext >&5
40.14598 ++sed 's/^/| /' conftest.$ac_ext >&5
40.14599 ++
40.14600 +   # Passes both tests.
40.14601 + ac_preproc_ok=:
40.14602 + break
40.14603 +@@ -5473,24 +6171,34 @@
40.14604 + do
40.14605 +   # Use a header file that comes with gcc, so configuring glibc
40.14606 +   # with a fresh cross-compiler works.
40.14607 ++  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40.14608 ++  # <limits.h> exists even on freestanding compilers.
40.14609 +   # On the NeXT, cc -E runs the code through the compiler's parser,
40.14610 +   # not just through cpp. "Syntax error" is here to catch this case.
40.14611 +   cat >conftest.$ac_ext <<_ACEOF
40.14612 +-#line $LINENO "configure"
40.14613 +-#include "confdefs.h"
40.14614 +-#include <assert.h>
40.14615 +-                     Syntax error
40.14616 ++/* confdefs.h.  */
40.14617 ++_ACEOF
40.14618 ++cat confdefs.h >>conftest.$ac_ext
40.14619 ++cat >>conftest.$ac_ext <<_ACEOF
40.14620 ++/* end confdefs.h.  */
40.14621 ++#ifdef __STDC__
40.14622 ++# include <limits.h>
40.14623 ++#else
40.14624 ++# include <assert.h>
40.14625 ++#endif
40.14626 ++		     Syntax error
40.14627 + _ACEOF
40.14628 + if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40.14629 +   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40.14630 +   ac_status=$?
40.14631 +-  egrep -v '^ *\+' conftest.er1 >conftest.err
40.14632 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.14633 +   rm -f conftest.er1
40.14634 +   cat conftest.err >&5
40.14635 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.14636 +   (exit $ac_status); } >/dev/null; then
40.14637 +   if test -s conftest.err; then
40.14638 +     ac_cpp_err=$ac_cxx_preproc_warn_flag
40.14639 ++    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
40.14640 +   else
40.14641 +     ac_cpp_err=
40.14642 +   fi
40.14643 +@@ -5501,7 +6209,8 @@
40.14644 +   :
40.14645 + else
40.14646 +   echo "$as_me: failed program was:" >&5
40.14647 +-  cat conftest.$ac_ext >&5
40.14648 ++sed 's/^/| /' conftest.$ac_ext >&5
40.14649 ++
40.14650 +   # Broken: fails on valid input.
40.14651 + continue
40.14652 + fi
40.14653 +@@ -5510,20 +6219,24 @@
40.14654 +   # OK, works on sane cases.  Now check whether non-existent headers
40.14655 +   # can be detected and how.
40.14656 +   cat >conftest.$ac_ext <<_ACEOF
40.14657 +-#line $LINENO "configure"
40.14658 +-#include "confdefs.h"
40.14659 ++/* confdefs.h.  */
40.14660 ++_ACEOF
40.14661 ++cat confdefs.h >>conftest.$ac_ext
40.14662 ++cat >>conftest.$ac_ext <<_ACEOF
40.14663 ++/* end confdefs.h.  */
40.14664 + #include <ac_nonexistent.h>
40.14665 + _ACEOF
40.14666 + if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40.14667 +   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40.14668 +   ac_status=$?
40.14669 +-  egrep -v '^ *\+' conftest.er1 >conftest.err
40.14670 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.14671 +   rm -f conftest.er1
40.14672 +   cat conftest.err >&5
40.14673 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.14674 +   (exit $ac_status); } >/dev/null; then
40.14675 +   if test -s conftest.err; then
40.14676 +     ac_cpp_err=$ac_cxx_preproc_warn_flag
40.14677 ++    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
40.14678 +   else
40.14679 +     ac_cpp_err=
40.14680 +   fi
40.14681 +@@ -5535,7 +6248,8 @@
40.14682 + continue
40.14683 + else
40.14684 +   echo "$as_me: failed program was:" >&5
40.14685 +-  cat conftest.$ac_ext >&5
40.14686 ++sed 's/^/| /' conftest.$ac_ext >&5
40.14687 ++
40.14688 +   # Passes both tests.
40.14689 + ac_preproc_ok=:
40.14690 + break
40.14691 +@@ -5548,8 +6262,10 @@
40.14692 + if $ac_preproc_ok; then
40.14693 +   :
40.14694 + else
40.14695 +-  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&5
40.14696 +-echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&2;}
40.14697 ++  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
40.14698 ++See \`config.log' for more details." >&5
40.14699 ++echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
40.14700 ++See \`config.log' for more details." >&2;}
40.14701 +    { (exit 1); exit 1; }; }
40.14702 + fi
40.14703 + 
40.14704 +@@ -5579,16 +6295,13 @@
40.14705 +   ac_check_lib_save_LIBS=$LIBS
40.14706 + LIBS="-lnsl  $LIBS"
40.14707 + cat >conftest.$ac_ext <<_ACEOF
40.14708 +-#line $LINENO "configure"
40.14709 +-#include "confdefs.h"
40.14710 ++/* confdefs.h.  */
40.14711 ++_ACEOF
40.14712 ++cat confdefs.h >>conftest.$ac_ext
40.14713 ++cat >>conftest.$ac_ext <<_ACEOF
40.14714 ++/* end confdefs.h.  */
40.14715 + 
40.14716 + 
40.14717 +-#ifdef F77_DUMMY_MAIN
40.14718 +-#  ifdef __cplusplus
40.14719 +-     extern "C"
40.14720 +-#  endif
40.14721 +-   int F77_DUMMY_MAIN() { return 1; }
40.14722 +-#endif
40.14723 + int
40.14724 + main ()
40.14725 + {
40.14726 +@@ -5599,11 +6312,20 @@
40.14727 + _ACEOF
40.14728 + rm -f conftest.$ac_objext conftest$ac_exeext
40.14729 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40.14730 +-  (eval $ac_link) 2>&5
40.14731 ++  (eval $ac_link) 2>conftest.er1
40.14732 +   ac_status=$?
40.14733 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.14734 ++  rm -f conftest.er1
40.14735 ++  cat conftest.err >&5
40.14736 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.14737 +   (exit $ac_status); } &&
40.14738 +-         { ac_try='test -s conftest$ac_exeext'
40.14739 ++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
40.14740 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.14741 ++  (eval $ac_try) 2>&5
40.14742 ++  ac_status=$?
40.14743 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.14744 ++  (exit $ac_status); }; } &&
40.14745 ++	 { ac_try='test -s conftest$ac_exeext'
40.14746 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.14747 +   (eval $ac_try) 2>&5
40.14748 +   ac_status=$?
40.14749 +@@ -5612,10 +6334,12 @@
40.14750 +   ac_cv_lib_nsl_main=yes
40.14751 + else
40.14752 +   echo "$as_me: failed program was:" >&5
40.14753 +-cat conftest.$ac_ext >&5
40.14754 ++sed 's/^/| /' conftest.$ac_ext >&5
40.14755 ++
40.14756 + ac_cv_lib_nsl_main=no
40.14757 + fi
40.14758 +-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40.14759 ++rm -f conftest.err conftest.$ac_objext \
40.14760 ++      conftest$ac_exeext conftest.$ac_ext
40.14761 + LIBS=$ac_check_lib_save_LIBS
40.14762 + fi
40.14763 + echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
40.14764 +@@ -5632,16 +6356,13 @@
40.14765 +   ac_check_lib_save_LIBS=$LIBS
40.14766 + LIBS="-lsocket  $LIBS"
40.14767 + cat >conftest.$ac_ext <<_ACEOF
40.14768 +-#line $LINENO "configure"
40.14769 +-#include "confdefs.h"
40.14770 ++/* confdefs.h.  */
40.14771 ++_ACEOF
40.14772 ++cat confdefs.h >>conftest.$ac_ext
40.14773 ++cat >>conftest.$ac_ext <<_ACEOF
40.14774 ++/* end confdefs.h.  */
40.14775 + 
40.14776 + 
40.14777 +-#ifdef F77_DUMMY_MAIN
40.14778 +-#  ifdef __cplusplus
40.14779 +-     extern "C"
40.14780 +-#  endif
40.14781 +-   int F77_DUMMY_MAIN() { return 1; }
40.14782 +-#endif
40.14783 + int
40.14784 + main ()
40.14785 + {
40.14786 +@@ -5652,11 +6373,20 @@
40.14787 + _ACEOF
40.14788 + rm -f conftest.$ac_objext conftest$ac_exeext
40.14789 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40.14790 +-  (eval $ac_link) 2>&5
40.14791 ++  (eval $ac_link) 2>conftest.er1
40.14792 +   ac_status=$?
40.14793 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.14794 ++  rm -f conftest.er1
40.14795 ++  cat conftest.err >&5
40.14796 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.14797 +   (exit $ac_status); } &&
40.14798 +-         { ac_try='test -s conftest$ac_exeext'
40.14799 ++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
40.14800 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.14801 ++  (eval $ac_try) 2>&5
40.14802 ++  ac_status=$?
40.14803 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.14804 ++  (exit $ac_status); }; } &&
40.14805 ++	 { ac_try='test -s conftest$ac_exeext'
40.14806 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.14807 +   (eval $ac_try) 2>&5
40.14808 +   ac_status=$?
40.14809 +@@ -5665,10 +6395,12 @@
40.14810 +   ac_cv_lib_socket_main=yes
40.14811 + else
40.14812 +   echo "$as_me: failed program was:" >&5
40.14813 +-cat conftest.$ac_ext >&5
40.14814 ++sed 's/^/| /' conftest.$ac_ext >&5
40.14815 ++
40.14816 + ac_cv_lib_socket_main=no
40.14817 + fi
40.14818 +-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40.14819 ++rm -f conftest.err conftest.$ac_objext \
40.14820 ++      conftest$ac_exeext conftest.$ac_ext
40.14821 + LIBS=$ac_check_lib_save_LIBS
40.14822 + fi
40.14823 + echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5
40.14824 +@@ -5680,13 +6412,16 @@
40.14825 + 	echo "$as_me:$LINENO: checking h_errno in netdb.h" >&5
40.14826 + echo $ECHO_N "checking h_errno in netdb.h... $ECHO_C" >&6
40.14827 + 	cat >conftest.$ac_ext <<_ACEOF
40.14828 +-#line $LINENO "configure"
40.14829 +-#include "confdefs.h"
40.14830 ++/* confdefs.h.  */
40.14831 ++_ACEOF
40.14832 ++cat confdefs.h >>conftest.$ac_ext
40.14833 ++cat >>conftest.$ac_ext <<_ACEOF
40.14834 ++/* end confdefs.h.  */
40.14835 + #include <netdb.h>
40.14836 + 
40.14837 + _ACEOF
40.14838 + if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
40.14839 +-  egrep "h_errno" >/dev/null 2>&1; then
40.14840 ++  $EGREP "h_errno" >/dev/null 2>&1; then
40.14841 +   echo "$as_me:$LINENO: result: yes" >&5
40.14842 + echo "${ECHO_T}yes" >&6
40.14843 + else
40.14844 +@@ -6417,18 +7152,30 @@
40.14845 + echo "$as_me:$LINENO: checking $ac_header usability" >&5
40.14846 + echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40.14847 + cat >conftest.$ac_ext <<_ACEOF
40.14848 +-#line $LINENO "configure"
40.14849 +-#include "confdefs.h"
40.14850 ++/* confdefs.h.  */
40.14851 ++_ACEOF
40.14852 ++cat confdefs.h >>conftest.$ac_ext
40.14853 ++cat >>conftest.$ac_ext <<_ACEOF
40.14854 ++/* end confdefs.h.  */
40.14855 + $ac_includes_default
40.14856 + #include <$ac_header>
40.14857 + _ACEOF
40.14858 + rm -f conftest.$ac_objext
40.14859 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40.14860 +-  (eval $ac_compile) 2>&5
40.14861 ++  (eval $ac_compile) 2>conftest.er1
40.14862 +   ac_status=$?
40.14863 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.14864 ++  rm -f conftest.er1
40.14865 ++  cat conftest.err >&5
40.14866 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.14867 +   (exit $ac_status); } &&
40.14868 +-         { ac_try='test -s conftest.$ac_objext'
40.14869 ++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
40.14870 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.14871 ++  (eval $ac_try) 2>&5
40.14872 ++  ac_status=$?
40.14873 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.14874 ++  (exit $ac_status); }; } &&
40.14875 ++	 { ac_try='test -s conftest.$ac_objext'
40.14876 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.14877 +   (eval $ac_try) 2>&5
40.14878 +   ac_status=$?
40.14879 +@@ -6437,10 +7184,11 @@
40.14880 +   ac_header_compiler=yes
40.14881 + else
40.14882 +   echo "$as_me: failed program was:" >&5
40.14883 +-cat conftest.$ac_ext >&5
40.14884 ++sed 's/^/| /' conftest.$ac_ext >&5
40.14885 ++
40.14886 + ac_header_compiler=no
40.14887 + fi
40.14888 +-rm -f conftest.$ac_objext conftest.$ac_ext
40.14889 ++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40.14890 + echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40.14891 + echo "${ECHO_T}$ac_header_compiler" >&6
40.14892 + 
40.14893 +@@ -6448,20 +7196,24 @@
40.14894 + echo "$as_me:$LINENO: checking $ac_header presence" >&5
40.14895 + echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40.14896 + cat >conftest.$ac_ext <<_ACEOF
40.14897 +-#line $LINENO "configure"
40.14898 +-#include "confdefs.h"
40.14899 ++/* confdefs.h.  */
40.14900 ++_ACEOF
40.14901 ++cat confdefs.h >>conftest.$ac_ext
40.14902 ++cat >>conftest.$ac_ext <<_ACEOF
40.14903 ++/* end confdefs.h.  */
40.14904 + #include <$ac_header>
40.14905 + _ACEOF
40.14906 + if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40.14907 +   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40.14908 +   ac_status=$?
40.14909 +-  egrep -v '^ *\+' conftest.er1 >conftest.err
40.14910 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.14911 +   rm -f conftest.er1
40.14912 +   cat conftest.err >&5
40.14913 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.14914 +   (exit $ac_status); } >/dev/null; then
40.14915 +   if test -s conftest.err; then
40.14916 +     ac_cpp_err=$ac_cxx_preproc_warn_flag
40.14917 ++    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
40.14918 +   else
40.14919 +     ac_cpp_err=
40.14920 +   fi
40.14921 +@@ -6472,7 +7224,8 @@
40.14922 +   ac_header_preproc=yes
40.14923 + else
40.14924 +   echo "$as_me: failed program was:" >&5
40.14925 +-  cat conftest.$ac_ext >&5
40.14926 ++sed 's/^/| /' conftest.$ac_ext >&5
40.14927 ++
40.14928 +   ac_header_preproc=no
40.14929 + fi
40.14930 + rm -f conftest.err conftest.$ac_ext
40.14931 +@@ -6480,26 +7233,43 @@
40.14932 + echo "${ECHO_T}$ac_header_preproc" >&6
40.14933 + 
40.14934 + # So?  What about this header?
40.14935 +-case $ac_header_compiler:$ac_header_preproc in
40.14936 +-  yes:no )
40.14937 ++case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
40.14938 ++  yes:no: )
40.14939 +     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40.14940 + echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40.14941 +-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40.14942 +-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
40.14943 +-  no:yes )
40.14944 ++    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40.14945 ++echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40.14946 ++    ac_header_preproc=yes
40.14947 ++    ;;
40.14948 ++  no:yes:* )
40.14949 +     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40.14950 + echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40.14951 +-    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40.14952 +-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40.14953 ++    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
40.14954 ++echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
40.14955 ++    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40.14956 ++echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40.14957 ++    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
40.14958 ++echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
40.14959 +     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40.14960 +-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
40.14961 ++echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40.14962 ++    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40.14963 ++echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40.14964 ++    (
40.14965 ++      cat <<\_ASBOX
40.14966 ++## ------------------------------------------ ##
40.14967 ++## Report this to the AC_PACKAGE_NAME lists.  ##
40.14968 ++## ------------------------------------------ ##
40.14969 ++_ASBOX
40.14970 ++    ) |
40.14971 ++      sed "s/^/$as_me: WARNING:     /" >&2
40.14972 ++    ;;
40.14973 + esac
40.14974 + echo "$as_me:$LINENO: checking for $ac_header" >&5
40.14975 + echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40.14976 + if eval "test \"\${$as_ac_Header+set}\" = set"; then
40.14977 +   echo $ECHO_N "(cached) $ECHO_C" >&6
40.14978 + else
40.14979 +-  eval "$as_ac_Header=$ac_header_preproc"
40.14980 ++  eval "$as_ac_Header=\$ac_header_preproc"
40.14981 + fi
40.14982 + echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40.14983 + echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40.14984 +@@ -6833,7 +7603,7 @@
40.14985 + case $host in
40.14986 + *-*-irix6*)
40.14987 +   # Find out which ABI we are using.
40.14988 +-  echo '#line 6836 "configure"' > conftest.$ac_ext
40.14989 ++  echo '#line 7601 "configure"' > conftest.$ac_ext
40.14990 +   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40.14991 +   (eval $ac_compile) 2>&5
40.14992 +   ac_status=$?
40.14993 +@@ -6872,15 +7642,12 @@
40.14994 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
40.14995 + 
40.14996 +      cat >conftest.$ac_ext <<_ACEOF
40.14997 +-#line $LINENO "configure"
40.14998 +-#include "confdefs.h"
40.14999 ++/* confdefs.h.  */
40.15000 ++_ACEOF
40.15001 ++cat confdefs.h >>conftest.$ac_ext
40.15002 ++cat >>conftest.$ac_ext <<_ACEOF
40.15003 ++/* end confdefs.h.  */
40.15004 + 
40.15005 +-#ifdef F77_DUMMY_MAIN
40.15006 +-#  ifdef __cplusplus
40.15007 +-     extern "C"
40.15008 +-#  endif
40.15009 +-   int F77_DUMMY_MAIN() { return 1; }
40.15010 +-#endif
40.15011 + int
40.15012 + main ()
40.15013 + {
40.15014 +@@ -6891,11 +7658,20 @@
40.15015 + _ACEOF
40.15016 + rm -f conftest.$ac_objext conftest$ac_exeext
40.15017 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40.15018 +-  (eval $ac_link) 2>&5
40.15019 ++  (eval $ac_link) 2>conftest.er1
40.15020 +   ac_status=$?
40.15021 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.15022 ++  rm -f conftest.er1
40.15023 ++  cat conftest.err >&5
40.15024 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.15025 +   (exit $ac_status); } &&
40.15026 +-         { ac_try='test -s conftest$ac_exeext'
40.15027 ++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
40.15028 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.15029 ++  (eval $ac_try) 2>&5
40.15030 ++  ac_status=$?
40.15031 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.15032 ++  (exit $ac_status); }; } &&
40.15033 ++	 { ac_try='test -s conftest$ac_exeext'
40.15034 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.15035 +   (eval $ac_try) 2>&5
40.15036 +   ac_status=$?
40.15037 +@@ -6904,10 +7680,12 @@
40.15038 +   lt_cv_cc_needs_belf=yes
40.15039 + else
40.15040 +   echo "$as_me: failed program was:" >&5
40.15041 +-cat conftest.$ac_ext >&5
40.15042 ++sed 's/^/| /' conftest.$ac_ext >&5
40.15043 ++
40.15044 + lt_cv_cc_needs_belf=no
40.15045 + fi
40.15046 +-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40.15047 ++rm -f conftest.err conftest.$ac_objext \
40.15048 ++      conftest$ac_exeext conftest.$ac_ext
40.15049 +      ac_ext=cc
40.15050 + ac_cpp='$CXXCPP $CPPFLAGS'
40.15051 + ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40.15052 +@@ -7199,15 +7977,12 @@
40.15053 +       save_CFLAGS="$CFLAGS"
40.15054 +     CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
40.15055 +     cat >conftest.$ac_ext <<_ACEOF
40.15056 +-#line $LINENO "configure"
40.15057 +-#include "confdefs.h"
40.15058 ++/* confdefs.h.  */
40.15059 ++_ACEOF
40.15060 ++cat confdefs.h >>conftest.$ac_ext
40.15061 ++cat >>conftest.$ac_ext <<_ACEOF
40.15062 ++/* end confdefs.h.  */
40.15063 + 
40.15064 +-#ifdef F77_DUMMY_MAIN
40.15065 +-#  ifdef __cplusplus
40.15066 +-     extern "C"
40.15067 +-#  endif
40.15068 +-   int F77_DUMMY_MAIN() { return 1; }
40.15069 +-#endif
40.15070 + int
40.15071 + main ()
40.15072 + {
40.15073 +@@ -7218,11 +7993,20 @@
40.15074 + _ACEOF
40.15075 + rm -f conftest.$ac_objext
40.15076 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40.15077 +-  (eval $ac_compile) 2>&5
40.15078 ++  (eval $ac_compile) 2>conftest.er1
40.15079 +   ac_status=$?
40.15080 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.15081 ++  rm -f conftest.er1
40.15082 ++  cat conftest.err >&5
40.15083 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.15084 +   (exit $ac_status); } &&
40.15085 +-         { ac_try='test -s conftest.$ac_objext'
40.15086 ++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
40.15087 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.15088 ++  (eval $ac_try) 2>&5
40.15089 ++  ac_status=$?
40.15090 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.15091 ++  (exit $ac_status); }; } &&
40.15092 ++	 { ac_try='test -s conftest.$ac_objext'
40.15093 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.15094 +   (eval $ac_try) 2>&5
40.15095 +   ac_status=$?
40.15096 +@@ -7246,11 +8030,12 @@
40.15097 + 
40.15098 + else
40.15099 +   echo "$as_me: failed program was:" >&5
40.15100 +-cat conftest.$ac_ext >&5
40.15101 ++sed 's/^/| /' conftest.$ac_ext >&5
40.15102 ++
40.15103 +       lt_cv_prog_cc_pic_works=no
40.15104 + 
40.15105 + fi
40.15106 +-rm -f conftest.$ac_objext conftest.$ac_ext
40.15107 ++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40.15108 +     CFLAGS="$save_CFLAGS"
40.15109 + 
40.15110 + fi
40.15111 +@@ -7288,15 +8073,12 @@
40.15112 +   save_LDFLAGS="$LDFLAGS"
40.15113 +   LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
40.15114 +   cat >conftest.$ac_ext <<_ACEOF
40.15115 +-#line $LINENO "configure"
40.15116 +-#include "confdefs.h"
40.15117 ++/* confdefs.h.  */
40.15118 ++_ACEOF
40.15119 ++cat confdefs.h >>conftest.$ac_ext
40.15120 ++cat >>conftest.$ac_ext <<_ACEOF
40.15121 ++/* end confdefs.h.  */
40.15122 + 
40.15123 +-#ifdef F77_DUMMY_MAIN
40.15124 +-#  ifdef __cplusplus
40.15125 +-     extern "C"
40.15126 +-#  endif
40.15127 +-   int F77_DUMMY_MAIN() { return 1; }
40.15128 +-#endif
40.15129 + int
40.15130 + main ()
40.15131 + {
40.15132 +@@ -7307,11 +8089,20 @@
40.15133 + _ACEOF
40.15134 + rm -f conftest.$ac_objext conftest$ac_exeext
40.15135 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40.15136 +-  (eval $ac_link) 2>&5
40.15137 ++  (eval $ac_link) 2>conftest.er1
40.15138 +   ac_status=$?
40.15139 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.15140 ++  rm -f conftest.er1
40.15141 ++  cat conftest.err >&5
40.15142 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.15143 +   (exit $ac_status); } &&
40.15144 +-         { ac_try='test -s conftest$ac_exeext'
40.15145 ++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
40.15146 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.15147 ++  (eval $ac_try) 2>&5
40.15148 ++  ac_status=$?
40.15149 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.15150 ++  (exit $ac_status); }; } &&
40.15151 ++	 { ac_try='test -s conftest$ac_exeext'
40.15152 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.15153 +   (eval $ac_try) 2>&5
40.15154 +   ac_status=$?
40.15155 +@@ -7320,9 +8111,11 @@
40.15156 +   lt_cv_prog_cc_static_works=yes
40.15157 + else
40.15158 +   echo "$as_me: failed program was:" >&5
40.15159 +-cat conftest.$ac_ext >&5
40.15160 ++sed 's/^/| /' conftest.$ac_ext >&5
40.15161 ++
40.15162 + fi
40.15163 +-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40.15164 ++rm -f conftest.err conftest.$ac_objext \
40.15165 ++      conftest$ac_exeext conftest.$ac_ext
40.15166 +   LDFLAGS="$save_LDFLAGS"
40.15167 + 
40.15168 + fi
40.15169 +@@ -7362,7 +8155,7 @@
40.15170 + save_CFLAGS="$CFLAGS"
40.15171 + CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
40.15172 + compiler_c_o=no
40.15173 +-if { (eval echo configure:7365: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
40.15174 ++if { (eval echo configure:8153: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
40.15175 +   # The compiler can only warn and ignore the option if not recognized
40.15176 +   # So say no if there are warnings
40.15177 +   if test -s out/conftest.err; then
40.15178 +@@ -7401,15 +8194,12 @@
40.15179 +   save_CFLAGS="$CFLAGS"
40.15180 +   CFLAGS="$CFLAGS -c -o conftest.lo"
40.15181 +   cat >conftest.$ac_ext <<_ACEOF
40.15182 +-#line $LINENO "configure"
40.15183 +-#include "confdefs.h"
40.15184 ++/* confdefs.h.  */
40.15185 ++_ACEOF
40.15186 ++cat confdefs.h >>conftest.$ac_ext
40.15187 ++cat >>conftest.$ac_ext <<_ACEOF
40.15188 ++/* end confdefs.h.  */
40.15189 + 
40.15190 +-#ifdef F77_DUMMY_MAIN
40.15191 +-#  ifdef __cplusplus
40.15192 +-     extern "C"
40.15193 +-#  endif
40.15194 +-   int F77_DUMMY_MAIN() { return 1; }
40.15195 +-#endif
40.15196 + int
40.15197 + main ()
40.15198 + {
40.15199 +@@ -7420,11 +8210,20 @@
40.15200 + _ACEOF
40.15201 + rm -f conftest.$ac_objext
40.15202 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40.15203 +-  (eval $ac_compile) 2>&5
40.15204 ++  (eval $ac_compile) 2>conftest.er1
40.15205 +   ac_status=$?
40.15206 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.15207 ++  rm -f conftest.er1
40.15208 ++  cat conftest.err >&5
40.15209 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.15210 +   (exit $ac_status); } &&
40.15211 +-         { ac_try='test -s conftest.$ac_objext'
40.15212 ++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
40.15213 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.15214 ++  (eval $ac_try) 2>&5
40.15215 ++  ac_status=$?
40.15216 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.15217 ++  (exit $ac_status); }; } &&
40.15218 ++	 { ac_try='test -s conftest.$ac_objext'
40.15219 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.15220 +   (eval $ac_try) 2>&5
40.15221 +   ac_status=$?
40.15222 +@@ -7440,9 +8239,10 @@
40.15223 + 
40.15224 + else
40.15225 +   echo "$as_me: failed program was:" >&5
40.15226 +-cat conftest.$ac_ext >&5
40.15227 ++sed 's/^/| /' conftest.$ac_ext >&5
40.15228 ++
40.15229 + fi
40.15230 +-rm -f conftest.$ac_objext conftest.$ac_ext
40.15231 ++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40.15232 +   CFLAGS="$save_CFLAGS"
40.15233 + 
40.15234 + fi
40.15235 +@@ -7486,15 +8286,12 @@
40.15236 +   CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
40.15237 +   compiler_rtti_exceptions=no
40.15238 +   cat >conftest.$ac_ext <<_ACEOF
40.15239 +-#line $LINENO "configure"
40.15240 +-#include "confdefs.h"
40.15241 ++/* confdefs.h.  */
40.15242 ++_ACEOF
40.15243 ++cat confdefs.h >>conftest.$ac_ext
40.15244 ++cat >>conftest.$ac_ext <<_ACEOF
40.15245 ++/* end confdefs.h.  */
40.15246 + 
40.15247 +-#ifdef F77_DUMMY_MAIN
40.15248 +-#  ifdef __cplusplus
40.15249 +-     extern "C"
40.15250 +-#  endif
40.15251 +-   int F77_DUMMY_MAIN() { return 1; }
40.15252 +-#endif
40.15253 + int
40.15254 + main ()
40.15255 + {
40.15256 +@@ -7505,11 +8302,20 @@
40.15257 + _ACEOF
40.15258 + rm -f conftest.$ac_objext
40.15259 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40.15260 +-  (eval $ac_compile) 2>&5
40.15261 ++  (eval $ac_compile) 2>conftest.er1
40.15262 +   ac_status=$?
40.15263 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.15264 ++  rm -f conftest.er1
40.15265 ++  cat conftest.err >&5
40.15266 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.15267 +   (exit $ac_status); } &&
40.15268 +-         { ac_try='test -s conftest.$ac_objext'
40.15269 ++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
40.15270 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.15271 ++  (eval $ac_try) 2>&5
40.15272 ++  ac_status=$?
40.15273 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.15274 ++  (exit $ac_status); }; } &&
40.15275 ++	 { ac_try='test -s conftest.$ac_objext'
40.15276 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.15277 +   (eval $ac_try) 2>&5
40.15278 +   ac_status=$?
40.15279 +@@ -7525,9 +8331,10 @@
40.15280 + 
40.15281 + else
40.15282 +   echo "$as_me: failed program was:" >&5
40.15283 +-cat conftest.$ac_ext >&5
40.15284 ++sed 's/^/| /' conftest.$ac_ext >&5
40.15285 ++
40.15286 + fi
40.15287 +-rm -f conftest.$ac_objext conftest.$ac_ext
40.15288 ++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40.15289 +   CFLAGS="$save_CFLAGS"
40.15290 +   echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5
40.15291 + echo "${ECHO_T}$compiler_rtti_exceptions" >&6
40.15292 +@@ -8637,8 +9444,11 @@
40.15293 +   ac_check_lib_save_LIBS=$LIBS
40.15294 + LIBS="-ldl  $LIBS"
40.15295 + cat >conftest.$ac_ext <<_ACEOF
40.15296 +-#line $LINENO "configure"
40.15297 +-#include "confdefs.h"
40.15298 ++/* confdefs.h.  */
40.15299 ++_ACEOF
40.15300 ++cat confdefs.h >>conftest.$ac_ext
40.15301 ++cat >>conftest.$ac_ext <<_ACEOF
40.15302 ++/* end confdefs.h.  */
40.15303 + 
40.15304 + /* Override any gcc2 internal prototype to avoid an error.  */
40.15305 + #ifdef __cplusplus
40.15306 +@@ -8647,12 +9457,6 @@
40.15307 + /* We use char because int might match the return type of a gcc2
40.15308 +    builtin and then its argument prototype would still apply.  */
40.15309 + char dlopen ();
40.15310 +-#ifdef F77_DUMMY_MAIN
40.15311 +-#  ifdef __cplusplus
40.15312 +-     extern "C"
40.15313 +-#  endif
40.15314 +-   int F77_DUMMY_MAIN() { return 1; }
40.15315 +-#endif
40.15316 + int
40.15317 + main ()
40.15318 + {
40.15319 +@@ -8663,11 +9467,20 @@
40.15320 + _ACEOF
40.15321 + rm -f conftest.$ac_objext conftest$ac_exeext
40.15322 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40.15323 +-  (eval $ac_link) 2>&5
40.15324 ++  (eval $ac_link) 2>conftest.er1
40.15325 +   ac_status=$?
40.15326 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.15327 ++  rm -f conftest.er1
40.15328 ++  cat conftest.err >&5
40.15329 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.15330 +   (exit $ac_status); } &&
40.15331 +-         { ac_try='test -s conftest$ac_exeext'
40.15332 ++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
40.15333 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.15334 ++  (eval $ac_try) 2>&5
40.15335 ++  ac_status=$?
40.15336 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.15337 ++  (exit $ac_status); }; } &&
40.15338 ++	 { ac_try='test -s conftest$ac_exeext'
40.15339 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.15340 +   (eval $ac_try) 2>&5
40.15341 +   ac_status=$?
40.15342 +@@ -8676,10 +9489,12 @@
40.15343 +   ac_cv_lib_dl_dlopen=yes
40.15344 + else
40.15345 +   echo "$as_me: failed program was:" >&5
40.15346 +-cat conftest.$ac_ext >&5
40.15347 ++sed 's/^/| /' conftest.$ac_ext >&5
40.15348 ++
40.15349 + ac_cv_lib_dl_dlopen=no
40.15350 + fi
40.15351 +-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40.15352 ++rm -f conftest.err conftest.$ac_objext \
40.15353 ++      conftest$ac_exeext conftest.$ac_ext
40.15354 + LIBS=$ac_check_lib_save_LIBS
40.15355 + fi
40.15356 + echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40.15357 +@@ -8693,49 +9508,72 @@
40.15358 +   echo $ECHO_N "(cached) $ECHO_C" >&6
40.15359 + else
40.15360 +   cat >conftest.$ac_ext <<_ACEOF
40.15361 +-#line $LINENO "configure"
40.15362 +-#include "confdefs.h"
40.15363 ++/* confdefs.h.  */
40.15364 ++_ACEOF
40.15365 ++cat confdefs.h >>conftest.$ac_ext
40.15366 ++cat >>conftest.$ac_ext <<_ACEOF
40.15367 ++/* end confdefs.h.  */
40.15368 ++/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
40.15369 ++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40.15370 ++#define dlopen innocuous_dlopen
40.15371 ++
40.15372 + /* System header to define __stub macros and hopefully few prototypes,
40.15373 +-    which can conflict with char dlopen (); below.  */
40.15374 +-#include <assert.h>
40.15375 ++    which can conflict with char dlopen (); below.
40.15376 ++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40.15377 ++    <limits.h> exists even on freestanding compilers.  */
40.15378 ++
40.15379 ++#ifdef __STDC__
40.15380 ++# include <limits.h>
40.15381 ++#else
40.15382 ++# include <assert.h>
40.15383 ++#endif
40.15384 ++
40.15385 ++#undef dlopen
40.15386 ++
40.15387 + /* Override any gcc2 internal prototype to avoid an error.  */
40.15388 + #ifdef __cplusplus
40.15389 + extern "C"
40.15390 ++{
40.15391 + #endif
40.15392 + /* We use char because int might match the return type of a gcc2
40.15393 +    builtin and then its argument prototype would still apply.  */
40.15394 + char dlopen ();
40.15395 +-char (*f) ();
40.15396 +-
40.15397 +-#ifdef F77_DUMMY_MAIN
40.15398 +-#  ifdef __cplusplus
40.15399 +-     extern "C"
40.15400 +-#  endif
40.15401 +-   int F77_DUMMY_MAIN() { return 1; }
40.15402 +-#endif
40.15403 +-int
40.15404 +-main ()
40.15405 +-{
40.15406 + /* The GNU C library defines this for functions which it implements
40.15407 +     to always fail with ENOSYS.  Some functions are actually named
40.15408 +     something starting with __ and the normal name is an alias.  */
40.15409 + #if defined (__stub_dlopen) || defined (__stub___dlopen)
40.15410 + choke me
40.15411 + #else
40.15412 +-f = dlopen;
40.15413 ++char (*f) () = dlopen;
40.15414 ++#endif
40.15415 ++#ifdef __cplusplus
40.15416 ++}
40.15417 + #endif
40.15418 + 
40.15419 ++int
40.15420 ++main ()
40.15421 ++{
40.15422 ++return f != dlopen;
40.15423 +   ;
40.15424 +   return 0;
40.15425 + }
40.15426 + _ACEOF
40.15427 + rm -f conftest.$ac_objext conftest$ac_exeext
40.15428 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40.15429 +-  (eval $ac_link) 2>&5
40.15430 ++  (eval $ac_link) 2>conftest.er1
40.15431 +   ac_status=$?
40.15432 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.15433 ++  rm -f conftest.er1
40.15434 ++  cat conftest.err >&5
40.15435 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.15436 +   (exit $ac_status); } &&
40.15437 +-         { ac_try='test -s conftest$ac_exeext'
40.15438 ++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
40.15439 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.15440 ++  (eval $ac_try) 2>&5
40.15441 ++  ac_status=$?
40.15442 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.15443 ++  (exit $ac_status); }; } &&
40.15444 ++	 { ac_try='test -s conftest$ac_exeext'
40.15445 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.15446 +   (eval $ac_try) 2>&5
40.15447 +   ac_status=$?
40.15448 +@@ -8744,10 +9582,12 @@
40.15449 +   ac_cv_func_dlopen=yes
40.15450 + else
40.15451 +   echo "$as_me: failed program was:" >&5
40.15452 +-cat conftest.$ac_ext >&5
40.15453 ++sed 's/^/| /' conftest.$ac_ext >&5
40.15454 ++
40.15455 + ac_cv_func_dlopen=no
40.15456 + fi
40.15457 +-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40.15458 ++rm -f conftest.err conftest.$ac_objext \
40.15459 ++      conftest$ac_exeext conftest.$ac_ext
40.15460 + fi
40.15461 + echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
40.15462 + echo "${ECHO_T}$ac_cv_func_dlopen" >&6
40.15463 +@@ -8760,49 +9600,72 @@
40.15464 +   echo $ECHO_N "(cached) $ECHO_C" >&6
40.15465 + else
40.15466 +   cat >conftest.$ac_ext <<_ACEOF
40.15467 +-#line $LINENO "configure"
40.15468 +-#include "confdefs.h"
40.15469 ++/* confdefs.h.  */
40.15470 ++_ACEOF
40.15471 ++cat confdefs.h >>conftest.$ac_ext
40.15472 ++cat >>conftest.$ac_ext <<_ACEOF
40.15473 ++/* end confdefs.h.  */
40.15474 ++/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
40.15475 ++   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40.15476 ++#define shl_load innocuous_shl_load
40.15477 ++
40.15478 + /* System header to define __stub macros and hopefully few prototypes,
40.15479 +-    which can conflict with char shl_load (); below.  */
40.15480 +-#include <assert.h>
40.15481 ++    which can conflict with char shl_load (); below.
40.15482 ++    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40.15483 ++    <limits.h> exists even on freestanding compilers.  */
40.15484 ++
40.15485 ++#ifdef __STDC__
40.15486 ++# include <limits.h>
40.15487 ++#else
40.15488 ++# include <assert.h>
40.15489 ++#endif
40.15490 ++
40.15491 ++#undef shl_load
40.15492 ++
40.15493 + /* Override any gcc2 internal prototype to avoid an error.  */
40.15494 + #ifdef __cplusplus
40.15495 + extern "C"
40.15496 ++{
40.15497 + #endif
40.15498 + /* We use char because int might match the return type of a gcc2
40.15499 +    builtin and then its argument prototype would still apply.  */
40.15500 + char shl_load ();
40.15501 +-char (*f) ();
40.15502 +-
40.15503 +-#ifdef F77_DUMMY_MAIN
40.15504 +-#  ifdef __cplusplus
40.15505 +-     extern "C"
40.15506 +-#  endif
40.15507 +-   int F77_DUMMY_MAIN() { return 1; }
40.15508 +-#endif
40.15509 +-int
40.15510 +-main ()
40.15511 +-{
40.15512 + /* The GNU C library defines this for functions which it implements
40.15513 +     to always fail with ENOSYS.  Some functions are actually named
40.15514 +     something starting with __ and the normal name is an alias.  */
40.15515 + #if defined (__stub_shl_load) || defined (__stub___shl_load)
40.15516 + choke me
40.15517 + #else
40.15518 +-f = shl_load;
40.15519 ++char (*f) () = shl_load;
40.15520 ++#endif
40.15521 ++#ifdef __cplusplus
40.15522 ++}
40.15523 + #endif
40.15524 + 
40.15525 ++int
40.15526 ++main ()
40.15527 ++{
40.15528 ++return f != shl_load;
40.15529 +   ;
40.15530 +   return 0;
40.15531 + }
40.15532 + _ACEOF
40.15533 + rm -f conftest.$ac_objext conftest$ac_exeext
40.15534 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40.15535 +-  (eval $ac_link) 2>&5
40.15536 ++  (eval $ac_link) 2>conftest.er1
40.15537 +   ac_status=$?
40.15538 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.15539 ++  rm -f conftest.er1
40.15540 ++  cat conftest.err >&5
40.15541 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.15542 +   (exit $ac_status); } &&
40.15543 +-         { ac_try='test -s conftest$ac_exeext'
40.15544 ++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
40.15545 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.15546 ++  (eval $ac_try) 2>&5
40.15547 ++  ac_status=$?
40.15548 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.15549 ++  (exit $ac_status); }; } &&
40.15550 ++	 { ac_try='test -s conftest$ac_exeext'
40.15551 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.15552 +   (eval $ac_try) 2>&5
40.15553 +   ac_status=$?
40.15554 +@@ -8811,10 +9674,12 @@
40.15555 +   ac_cv_func_shl_load=yes
40.15556 + else
40.15557 +   echo "$as_me: failed program was:" >&5
40.15558 +-cat conftest.$ac_ext >&5
40.15559 ++sed 's/^/| /' conftest.$ac_ext >&5
40.15560 ++
40.15561 + ac_cv_func_shl_load=no
40.15562 + fi
40.15563 +-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40.15564 ++rm -f conftest.err conftest.$ac_objext \
40.15565 ++      conftest$ac_exeext conftest.$ac_ext
40.15566 + fi
40.15567 + echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
40.15568 + echo "${ECHO_T}$ac_cv_func_shl_load" >&6
40.15569 +@@ -8829,8 +9694,11 @@
40.15570 +   ac_check_lib_save_LIBS=$LIBS
40.15571 + LIBS="-lsvld  $LIBS"
40.15572 + cat >conftest.$ac_ext <<_ACEOF
40.15573 +-#line $LINENO "configure"
40.15574 +-#include "confdefs.h"
40.15575 ++/* confdefs.h.  */
40.15576 ++_ACEOF
40.15577 ++cat confdefs.h >>conftest.$ac_ext
40.15578 ++cat >>conftest.$ac_ext <<_ACEOF
40.15579 ++/* end confdefs.h.  */
40.15580 + 
40.15581 + /* Override any gcc2 internal prototype to avoid an error.  */
40.15582 + #ifdef __cplusplus
40.15583 +@@ -8839,12 +9707,6 @@
40.15584 + /* We use char because int might match the return type of a gcc2
40.15585 +    builtin and then its argument prototype would still apply.  */
40.15586 + char dlopen ();
40.15587 +-#ifdef F77_DUMMY_MAIN
40.15588 +-#  ifdef __cplusplus
40.15589 +-     extern "C"
40.15590 +-#  endif
40.15591 +-   int F77_DUMMY_MAIN() { return 1; }
40.15592 +-#endif
40.15593 + int
40.15594 + main ()
40.15595 + {
40.15596 +@@ -8855,11 +9717,20 @@
40.15597 + _ACEOF
40.15598 + rm -f conftest.$ac_objext conftest$ac_exeext
40.15599 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40.15600 +-  (eval $ac_link) 2>&5
40.15601 ++  (eval $ac_link) 2>conftest.er1
40.15602 +   ac_status=$?
40.15603 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.15604 ++  rm -f conftest.er1
40.15605 ++  cat conftest.err >&5
40.15606 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.15607 +   (exit $ac_status); } &&
40.15608 +-         { ac_try='test -s conftest$ac_exeext'
40.15609 ++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
40.15610 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.15611 ++  (eval $ac_try) 2>&5
40.15612 ++  ac_status=$?
40.15613 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.15614 ++  (exit $ac_status); }; } &&
40.15615 ++	 { ac_try='test -s conftest$ac_exeext'
40.15616 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.15617 +   (eval $ac_try) 2>&5
40.15618 +   ac_status=$?
40.15619 +@@ -8868,10 +9739,12 @@
40.15620 +   ac_cv_lib_svld_dlopen=yes
40.15621 + else
40.15622 +   echo "$as_me: failed program was:" >&5
40.15623 +-cat conftest.$ac_ext >&5
40.15624 ++sed 's/^/| /' conftest.$ac_ext >&5
40.15625 ++
40.15626 + ac_cv_lib_svld_dlopen=no
40.15627 + fi
40.15628 +-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40.15629 ++rm -f conftest.err conftest.$ac_objext \
40.15630 ++      conftest$ac_exeext conftest.$ac_ext
40.15631 + LIBS=$ac_check_lib_save_LIBS
40.15632 + fi
40.15633 + echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
40.15634 +@@ -8887,8 +9760,11 @@
40.15635 +   ac_check_lib_save_LIBS=$LIBS
40.15636 + LIBS="-ldld  $LIBS"
40.15637 + cat >conftest.$ac_ext <<_ACEOF
40.15638 +-#line $LINENO "configure"
40.15639 +-#include "confdefs.h"
40.15640 ++/* confdefs.h.  */
40.15641 ++_ACEOF
40.15642 ++cat confdefs.h >>conftest.$ac_ext
40.15643 ++cat >>conftest.$ac_ext <<_ACEOF
40.15644 ++/* end confdefs.h.  */
40.15645 + 
40.15646 + /* Override any gcc2 internal prototype to avoid an error.  */
40.15647 + #ifdef __cplusplus
40.15648 +@@ -8897,12 +9773,6 @@
40.15649 + /* We use char because int might match the return type of a gcc2
40.15650 +    builtin and then its argument prototype would still apply.  */
40.15651 + char shl_load ();
40.15652 +-#ifdef F77_DUMMY_MAIN
40.15653 +-#  ifdef __cplusplus
40.15654 +-     extern "C"
40.15655 +-#  endif
40.15656 +-   int F77_DUMMY_MAIN() { return 1; }
40.15657 +-#endif
40.15658 + int
40.15659 + main ()
40.15660 + {
40.15661 +@@ -8913,11 +9783,20 @@
40.15662 + _ACEOF
40.15663 + rm -f conftest.$ac_objext conftest$ac_exeext
40.15664 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40.15665 +-  (eval $ac_link) 2>&5
40.15666 ++  (eval $ac_link) 2>conftest.er1
40.15667 +   ac_status=$?
40.15668 ++  grep -v '^ *+' conftest.er1 >conftest.err
40.15669 ++  rm -f conftest.er1
40.15670 ++  cat conftest.err >&5
40.15671 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.15672 +   (exit $ac_status); } &&
40.15673 +-         { ac_try='test -s conftest$ac_exeext'
40.15674 ++	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
40.15675 ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.15676 ++  (eval $ac_try) 2>&5
40.15677 ++  ac_status=$?
40.15678 ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40.15679 ++  (exit $ac_status); }; } &&
40.15680 ++	 { ac_try='test -s conftest$ac_exeext'
40.15681 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40.15682 +   (eval $ac_try) 2>&5
40.15683 +   ac_status=$?
40.15684 +@@ -8926,10 +9805,12 @@
40.15685 +   ac_cv_lib_dld_shl_load=yes
40.15686 + else
40.15687 +   echo "$as_me: failed program was:" >&5
40.15688 +-cat conftest.$ac_ext >&5
40.15689 ++sed 's/^/| /' conftest.$ac_ext >&5
40.15690 ++
40.15691 + ac_cv_lib_dld_shl_load=no
40.15692 + fi
40.15693 +-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40.15694 ++rm -f conftest.err conftest.$ac_objext \
40.15695 ++      conftest$ac_exeext conftest.$ac_ext
40.15696 + LIBS=$ac_check_lib_save_LIBS
40.15697 + fi
40.15698 + echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
40.15699 +@@ -8981,7 +9862,7 @@
40.15700 +     lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
40.15701 +   lt_status=$lt_dlunknown
40.15702 +   cat > conftest.$ac_ext <<EOF
40.15703 +-#line 8984 "configure"
40.15704 ++#line 9860 "configure"
40.15705 + #include "confdefs.h"
40.15706 + 
40.15707 + #if HAVE_DLFCN_H
40.15708 +@@ -9079,7 +9960,7 @@
40.15709 +     lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
40.15710 +   lt_status=$lt_dlunknown
40.15711 +   cat > conftest.$ac_ext <<EOF
40.15712 +-#line 9082 "configure"
40.15713 ++#line 9958 "configure"
40.15714 + #include "confdefs.h"
40.15715 + 
40.15716 + #if HAVE_DLFCN_H
40.15717 +@@ -9803,7 +10684,7 @@
40.15718 + 
40.15719 + 
40.15720 + 
40.15721 +-ac_config_files="$ac_config_files Makefile Makefile.lib Makefile.prog Makefile.comm include/config.h"
40.15722 ++                                                  ac_config_files="$ac_config_files Makefile Makefile.lib Makefile.prog Makefile.comm include/config.h"
40.15723 + cat >confcache <<\_ACEOF
40.15724 + # This file is a shell script that caches the results of configure
40.15725 + # tests run on this system so they can be shared between configure
40.15726 +@@ -9814,7 +10695,7 @@
40.15727 + # config.status only pays attention to the cache file if you give it
40.15728 + # the --recheck option to rerun configure.
40.15729 + #
40.15730 +-# `ac_cv_env_foo' variables (set or unset) will be overriden when
40.15731 ++# `ac_cv_env_foo' variables (set or unset) will be overridden when
40.15732 + # loading this file, other *unset* `ac_cv_foo' will be assigned the
40.15733 + # following values.
40.15734 + 
40.15735 +@@ -9832,13 +10713,13 @@
40.15736 +       # `set' does not quote correctly, so add quotes (double-quote
40.15737 +       # substitution turns \\\\ into \\, and sed turns \\ into \).
40.15738 +       sed -n \
40.15739 +-        "s/'/'\\\\''/g;
40.15740 +-    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40.15741 ++	"s/'/'\\\\''/g;
40.15742 ++	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40.15743 +       ;;
40.15744 +     *)
40.15745 +       # `set' quotes correctly as required by POSIX, so do not add quotes.
40.15746 +       sed -n \
40.15747 +-        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
40.15748 ++	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
40.15749 +       ;;
40.15750 +     esac;
40.15751 + } |
40.15752 +@@ -9849,7 +10730,7 @@
40.15753 +      t end
40.15754 +      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40.15755 +      : end' >>confcache
40.15756 +-if cmp -s $cache_file confcache; then :; else
40.15757 ++if diff $cache_file confcache >/dev/null 2>&1; then :; else
40.15758 +   if test -w $cache_file; then
40.15759 +     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
40.15760 +     cat confcache >$cache_file
40.15761 +@@ -9868,13 +10749,13 @@
40.15762 + # trailing colons and then remove the whole line if VPATH becomes empty
40.15763 + # (actually we leave an empty line to preserve line numbers).
40.15764 + if test "x$srcdir" = x.; then
40.15765 +-  ac_vpsub='/^[ 	]*VPATH[ 	]*=/{
40.15766 ++  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
40.15767 + s/:*\$(srcdir):*/:/;
40.15768 + s/:*\${srcdir}:*/:/;
40.15769 + s/:*@srcdir@:*/:/;
40.15770 +-s/^\([^=]*=[ 	]*\):*/\1/;
40.15771 ++s/^\([^=]*=[	 ]*\):*/\1/;
40.15772 + s/:*$//;
40.15773 +-s/^[^=]*=[ 	]*$//;
40.15774 ++s/^[^=]*=[	 ]*$//;
40.15775 + }'
40.15776 + fi
40.15777 + 
40.15778 +@@ -9888,13 +10769,13 @@
40.15779 + cat >confdef2opt.sed <<\_ACEOF
40.15780 + t clear
40.15781 + : clear
40.15782 +-s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	(][^ 	(]*([^)]*)\)[ 	]*\(.*\),-D\1=\2,g
40.15783 ++s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\),-D\1=\2,g
40.15784 + t quote
40.15785 +-s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\),-D\1=\2,g
40.15786 ++s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\),-D\1=\2,g
40.15787 + t quote
40.15788 + d
40.15789 + : quote
40.15790 +-s,[ 	`~#$^&*(){}\\|;'"<>?],\\&,g
40.15791 ++s,[	 `~#$^&*(){}\\|;'"<>?],\\&,g
40.15792 + s,\[,\\&,g
40.15793 + s,\],\\&,g
40.15794 + s,\$,$$,g
40.15795 +@@ -9911,6 +10792,21 @@
40.15796 + rm -f confdef2opt.sed
40.15797 + 
40.15798 + 
40.15799 ++ac_libobjs=
40.15800 ++ac_ltlibobjs=
40.15801 ++for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
40.15802 ++  # 1. Remove the extension, and $U if already installed.
40.15803 ++  ac_i=`echo "$ac_i" |
40.15804 ++	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
40.15805 ++  # 2. Add them.
40.15806 ++  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
40.15807 ++  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
40.15808 ++done
40.15809 ++LIBOBJS=$ac_libobjs
40.15810 ++
40.15811 ++LTLIBOBJS=$ac_ltlibobjs
40.15812 ++
40.15813 ++
40.15814 + 
40.15815 + : ${CONFIG_STATUS=./config.status}
40.15816 + ac_clean_files_save=$ac_clean_files
40.15817 +@@ -9925,11 +10821,12 @@
40.15818 + # configure, is in config.log if it exists.
40.15819 + 
40.15820 + debug=false
40.15821 ++ac_cs_recheck=false
40.15822 ++ac_cs_silent=false
40.15823 + SHELL=\${CONFIG_SHELL-$SHELL}
40.15824 + _ACEOF
40.15825 + 
40.15826 + cat >>$CONFIG_STATUS <<\_ACEOF
40.15827 +-
40.15828 + ## --------------------- ##
40.15829 + ## M4sh Initialization.  ##
40.15830 + ## --------------------- ##
40.15831 +@@ -9938,46 +10835,57 @@
40.15832 + if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
40.15833 +   emulate sh
40.15834 +   NULLCMD=:
40.15835 ++  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
40.15836 ++  # is contrary to our usage.  Disable this feature.
40.15837 ++  alias -g '${1+"$@"}'='"$@"'
40.15838 + elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
40.15839 +   set -o posix
40.15840 + fi
40.15841 ++DUALCASE=1; export DUALCASE # for MKS sh
40.15842 + 
40.15843 +-# NLS nuisances.
40.15844 + # Support unset when possible.
40.15845 +-if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
40.15846 ++if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
40.15847 +   as_unset=unset
40.15848 + else
40.15849 +   as_unset=false
40.15850 + fi
40.15851 + 
40.15852 +-(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
40.15853 +-    { $as_unset LANG || test "${LANG+set}" != set; } ||
40.15854 +-      { LANG=C; export LANG; }
40.15855 +-(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
40.15856 +-    { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
40.15857 +-      { LC_ALL=C; export LC_ALL; }
40.15858 +-(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
40.15859 +-    { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
40.15860 +-      { LC_TIME=C; export LC_TIME; }
40.15861 +-(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
40.15862 +-    { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
40.15863 +-      { LC_CTYPE=C; export LC_CTYPE; }
40.15864 +-(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
40.15865 +-    { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
40.15866 +-      { LANGUAGE=C; export LANGUAGE; }
40.15867 +-(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
40.15868 +-    { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
40.15869 +-      { LC_COLLATE=C; export LC_COLLATE; }
40.15870 +-(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
40.15871 +-    { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
40.15872 +-      { LC_NUMERIC=C; export LC_NUMERIC; }
40.15873 +-(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
40.15874 +-    { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
40.15875 +-      { LC_MESSAGES=C; export LC_MESSAGES; }
40.15876 ++
40.15877 ++# Work around bugs in pre-3.0 UWIN ksh.
40.15878 ++$as_unset ENV MAIL MAILPATH
40.15879 ++PS1='$ '
40.15880 ++PS2='> '
40.15881 ++PS4='+ '
40.15882 ++
40.15883 ++# NLS nuisances.
40.15884 ++for as_var in \
40.15885 ++  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
40.15886 ++  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
40.15887 ++  LC_TELEPHONE LC_TIME
40.15888 ++do
40.15889 ++  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
40.15890 ++    eval $as_var=C; export $as_var
40.15891 ++  else
40.15892 ++    $as_unset $as_var
40.15893 ++  fi
40.15894 ++done
40.15895 ++
40.15896 ++# Required to use basename.
40.15897 ++if expr a : '\(a\)' >/dev/null 2>&1; then
40.15898 ++  as_expr=expr
40.15899 ++else
40.15900 ++  as_expr=false
40.15901 ++fi
40.15902 ++
40.15903 ++if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
40.15904 ++  as_basename=basename
40.15905 ++else
40.15906 ++  as_basename=false
40.15907 ++fi
40.15908 + 
40.15909 + 
40.15910 + # Name of the executable.
40.15911 +-as_me=`(basename "$0") 2>/dev/null ||
40.15912 ++as_me=`$as_basename "$0" ||
40.15913 + $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
40.15914 + 	 X"$0" : 'X\(//\)$' \| \
40.15915 + 	 X"$0" : 'X\(/\)$' \| \
40.15916 +@@ -9988,6 +10896,7 @@
40.15917 +   	  /^X\/\(\/\).*/{ s//\1/; q; }
40.15918 +   	  s/.*/./; q'`
40.15919 + 
40.15920 ++
40.15921 + # PATH needs CR, and LINENO needs CR and PATH.
40.15922 + # Avoid depending upon Character Ranges.
40.15923 + as_cr_letters='abcdefghijklmnopqrstuvwxyz'
40.15924 +@@ -9998,15 +10907,15 @@
40.15925 + 
40.15926 + # The user is always right.
40.15927 + if test "${PATH_SEPARATOR+set}" != set; then
40.15928 +-  echo "#! /bin/sh" >conftest.sh
40.15929 +-  echo  "exit 0"   >>conftest.sh
40.15930 +-  chmod +x conftest.sh
40.15931 +-  if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
40.15932 ++  echo "#! /bin/sh" >conf$$.sh
40.15933 ++  echo  "exit 0"   >>conf$$.sh
40.15934 ++  chmod +x conf$$.sh
40.15935 ++  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
40.15936 +     PATH_SEPARATOR=';'
40.15937 +   else
40.15938 +     PATH_SEPARATOR=:
40.15939 +   fi
40.15940 +-  rm -f conftest.sh
40.15941 ++  rm -f conf$$.sh
40.15942 + fi
40.15943 + 
40.15944 + 
40.15945 +@@ -10055,6 +10964,8 @@
40.15946 +   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
40.15947 +   test "x$as_lineno_1" != "x$as_lineno_2" &&
40.15948 +   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
40.15949 ++	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
40.15950 ++	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
40.15951 + 	     CONFIG_SHELL=$as_dir/$as_base
40.15952 + 	     export CONFIG_SHELL
40.15953 + 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
40.15954 +@@ -10128,13 +11039,20 @@
40.15955 + fi
40.15956 + rm -f conf$$ conf$$.exe conf$$.file
40.15957 + 
40.15958 ++if mkdir -p . 2>/dev/null; then
40.15959 ++  as_mkdir_p=:
40.15960 ++else
40.15961 ++  test -d ./-p && rmdir ./-p
40.15962 ++  as_mkdir_p=false
40.15963 ++fi
40.15964 ++
40.15965 + as_executable_p="test -f"
40.15966 + 
40.15967 + # Sed expression to map a string onto a valid CPP name.
40.15968 +-as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
40.15969 ++as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
40.15970 + 
40.15971 + # Sed expression to map a string onto a valid variable name.
40.15972 +-as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
40.15973 ++as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
40.15974 + 
40.15975 + 
40.15976 + # IFS
40.15977 +@@ -10144,7 +11062,7 @@
40.15978 + IFS=" 	$as_nl"
40.15979 + 
40.15980 + # CDPATH.
40.15981 +-$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
40.15982 ++$as_unset CDPATH
40.15983 + 
40.15984 + exec 6>&1
40.15985 + 
40.15986 +@@ -10161,7 +11079,7 @@
40.15987 + cat >&5 <<_CSEOF
40.15988 + 
40.15989 + This file was extended by $as_me, which was
40.15990 +-generated by GNU Autoconf 2.53.  Invocation command line was
40.15991 ++generated by GNU Autoconf 2.59.  Invocation command line was
40.15992 + 
40.15993 +   CONFIG_FILES    = $CONFIG_FILES
40.15994 +   CONFIG_HEADERS  = $CONFIG_HEADERS
40.15995 +@@ -10201,10 +11119,11 @@
40.15996 + 
40.15997 +   -h, --help       print this help, then exit
40.15998 +   -V, --version    print version number, then exit
40.15999 ++  -q, --quiet      do not print progress messages
40.16000 +   -d, --debug      don't remove temporary files
40.16001 +       --recheck    update $as_me by reconfiguring in the same conditions
40.16002 +   --file=FILE[:TEMPLATE]
40.16003 +-                   instantiate the configuration file FILE
40.16004 ++		   instantiate the configuration file FILE
40.16005 + 
40.16006 + Configuration files:
40.16007 + $config_files
40.16008 +@@ -10215,11 +11134,10 @@
40.16009 + cat >>$CONFIG_STATUS <<_ACEOF
40.16010 + ac_cs_version="\\
40.16011 + config.status
40.16012 +-configured by $0, generated by GNU Autoconf 2.53,
40.16013 ++configured by $0, generated by GNU Autoconf 2.59,
40.16014 +   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
40.16015 + 
40.16016 +-Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
40.16017 +-Free Software Foundation, Inc.
40.16018 ++Copyright (C) 2003 Free Software Foundation, Inc.
40.16019 + This config.status script is free software; the Free Software Foundation
40.16020 + gives unlimited permission to copy, distribute and modify it."
40.16021 + srcdir=$srcdir
40.16022 +@@ -10236,25 +11154,25 @@
40.16023 +   --*=*)
40.16024 +     ac_option=`expr "x$1" : 'x\([^=]*\)='`
40.16025 +     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
40.16026 +-    shift
40.16027 +-    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
40.16028 +-    shift
40.16029 ++    ac_shift=:
40.16030 ++    ;;
40.16031 ++  -*)
40.16032 ++    ac_option=$1
40.16033 ++    ac_optarg=$2
40.16034 ++    ac_shift=shift
40.16035 +     ;;
40.16036 +-  -*);;
40.16037 +   *) # This is not an option, so the user has probably given explicit
40.16038 +      # arguments.
40.16039 ++     ac_option=$1
40.16040 +      ac_need_defaults=false;;
40.16041 +   esac
40.16042 + 
40.16043 +-  case $1 in
40.16044 ++  case $ac_option in
40.16045 +   # Handling of the options.
40.16046 + _ACEOF
40.16047 +-cat >>$CONFIG_STATUS <<_ACEOF
40.16048 +-  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
40.16049 +-    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
40.16050 +-    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
40.16051 +-_ACEOF
40.16052 + cat >>$CONFIG_STATUS <<\_ACEOF
40.16053 ++  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
40.16054 ++    ac_cs_recheck=: ;;
40.16055 +   --version | --vers* | -V )
40.16056 +     echo "$ac_cs_version"; exit 0 ;;
40.16057 +   --he | --h)
40.16058 +@@ -10269,13 +11187,16 @@
40.16059 +   --debug | --d* | -d )
40.16060 +     debug=: ;;
40.16061 +   --file | --fil | --fi | --f )
40.16062 +-    shift
40.16063 +-    CONFIG_FILES="$CONFIG_FILES $1"
40.16064 ++    $ac_shift
40.16065 ++    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
40.16066 +     ac_need_defaults=false;;
40.16067 +   --header | --heade | --head | --hea )
40.16068 +-    shift
40.16069 +-    CONFIG_HEADERS="$CONFIG_HEADERS $1"
40.16070 ++    $ac_shift
40.16071 ++    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
40.16072 +     ac_need_defaults=false;;
40.16073 ++  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
40.16074 ++  | -silent | --silent | --silen | --sile | --sil | --si | --s)
40.16075 ++    ac_cs_silent=: ;;
40.16076 + 
40.16077 +   # This is an error.
40.16078 +   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
40.16079 +@@ -10290,6 +11211,20 @@
40.16080 +   shift
40.16081 + done
40.16082 + 
40.16083 ++ac_configure_extra_args=
40.16084 ++
40.16085 ++if $ac_cs_silent; then
40.16086 ++  exec 6>/dev/null
40.16087 ++  ac_configure_extra_args="$ac_configure_extra_args --silent"
40.16088 ++fi
40.16089 ++
40.16090 ++_ACEOF
40.16091 ++cat >>$CONFIG_STATUS <<_ACEOF
40.16092 ++if \$ac_cs_recheck; then
40.16093 ++  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
40.16094 ++  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
40.16095 ++fi
40.16096 ++
40.16097 + _ACEOF
40.16098 + 
40.16099 + 
40.16100 +@@ -10320,6 +11255,9 @@
40.16101 +   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
40.16102 + fi
40.16103 + 
40.16104 ++# Have a temporary directory for convenience.  Make it in the build tree
40.16105 ++# simply because there is no reason to put it here, and in addition,
40.16106 ++# creating and moving files from /tmp can sometimes cause problems.
40.16107 + # Create a temporary directory, and hook for its removal unless debugging.
40.16108 + $debug ||
40.16109 + {
40.16110 +@@ -10328,17 +11266,17 @@
40.16111 + }
40.16112 + 
40.16113 + # Create a (secure) tmp directory for tmp files.
40.16114 +-: ${TMPDIR=/tmp}
40.16115 ++
40.16116 + {
40.16117 +-  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
40.16118 ++  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
40.16119 +   test -n "$tmp" && test -d "$tmp"
40.16120 + }  ||
40.16121 + {
40.16122 +-  tmp=$TMPDIR/cs$$-$RANDOM
40.16123 ++  tmp=./confstat$$-$RANDOM
40.16124 +   (umask 077 && mkdir $tmp)
40.16125 + } ||
40.16126 + {
40.16127 +-   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
40.16128 ++   echo "$me: cannot create a temporary directory in ." >&2
40.16129 +    { (exit 1); exit 1; }
40.16130 + }
40.16131 + 
40.16132 +@@ -10420,7 +11358,9 @@
40.16133 + s,@CXXFLAGS@,$CXXFLAGS,;t t
40.16134 + s,@ac_ct_CXX@,$ac_ct_CXX,;t t
40.16135 + s,@PERL@,$PERL,;t t
40.16136 ++s,@SED@,$SED,;t t
40.16137 + s,@CPP@,$CPP,;t t
40.16138 ++s,@EGREP@,$EGREP,;t t
40.16139 + s,@LIB_THREADS@,$LIB_THREADS,;t t
40.16140 + s,@CXXCPP@,$CXXCPP,;t t
40.16141 + s,@ECHO@,$ECHO,;t t
40.16142 +@@ -10431,6 +11371,8 @@
40.16143 + s,@LIBTOOL@,$LIBTOOL,;t t
40.16144 + s,@LIBTOOL_DEPS@,$LIBTOOL_DEPS,;t t
40.16145 + s,@LINKFLAGS@,$LINKFLAGS,;t t
40.16146 ++s,@LIBOBJS@,$LIBOBJS,;t t
40.16147 ++s,@LTLIBOBJS@,$LTLIBOBJS,;t t
40.16148 + CEOF
40.16149 + 
40.16150 + _ACEOF
40.16151 +@@ -10460,9 +11402,9 @@
40.16152 +       (echo ':t
40.16153 +   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
40.16154 +       if test -z "$ac_sed_cmds"; then
40.16155 +-  	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
40.16156 ++	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
40.16157 +       else
40.16158 +-  	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
40.16159 ++	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
40.16160 +       fi
40.16161 +       ac_sed_frag=`expr $ac_sed_frag + 1`
40.16162 +       ac_beg=$ac_end
40.16163 +@@ -10480,46 +11422,51 @@
40.16164 +   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
40.16165 +   case $ac_file in
40.16166 +   - | *:- | *:-:* ) # input from stdin
40.16167 +-        cat >$tmp/stdin
40.16168 +-        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
40.16169 +-        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
40.16170 ++	cat >$tmp/stdin
40.16171 ++	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
40.16172 ++	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
40.16173 +   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
40.16174 +-        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
40.16175 ++	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
40.16176 +   * )   ac_file_in=$ac_file.in ;;
40.16177 +   esac
40.16178 + 
40.16179 +   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
40.16180 +   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
40.16181 + $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40.16182 +-         X"$ac_file" : 'X\(//\)[^/]' \| \
40.16183 +-         X"$ac_file" : 'X\(//\)$' \| \
40.16184 +-         X"$ac_file" : 'X\(/\)' \| \
40.16185 +-         .     : '\(.\)' 2>/dev/null ||
40.16186 ++	 X"$ac_file" : 'X\(//\)[^/]' \| \
40.16187 ++	 X"$ac_file" : 'X\(//\)$' \| \
40.16188 ++	 X"$ac_file" : 'X\(/\)' \| \
40.16189 ++	 .     : '\(.\)' 2>/dev/null ||
40.16190 + echo X"$ac_file" |
40.16191 +     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40.16192 +   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40.16193 +   	  /^X\(\/\/\)$/{ s//\1/; q; }
40.16194 +   	  /^X\(\/\).*/{ s//\1/; q; }
40.16195 +   	  s/.*/./; q'`
40.16196 +-  { case "$ac_dir" in
40.16197 +-  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
40.16198 +-  *)                      as_incr_dir=.;;
40.16199 +-esac
40.16200 +-as_dummy="$ac_dir"
40.16201 +-for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
40.16202 +-  case $as_mkdir_dir in
40.16203 +-    # Skip DOS drivespec
40.16204 +-    ?:) as_incr_dir=$as_mkdir_dir ;;
40.16205 +-    *)
40.16206 +-      as_incr_dir=$as_incr_dir/$as_mkdir_dir
40.16207 +-      test -d "$as_incr_dir" ||
40.16208 +-        mkdir "$as_incr_dir" ||
40.16209 +-	{ { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
40.16210 +-echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
40.16211 +-   { (exit 1); exit 1; }; }
40.16212 +-    ;;
40.16213 +-  esac
40.16214 +-done; }
40.16215 ++  { if $as_mkdir_p; then
40.16216 ++    mkdir -p "$ac_dir"
40.16217 ++  else
40.16218 ++    as_dir="$ac_dir"
40.16219 ++    as_dirs=
40.16220 ++    while test ! -d "$as_dir"; do
40.16221 ++      as_dirs="$as_dir $as_dirs"
40.16222 ++      as_dir=`(dirname "$as_dir") 2>/dev/null ||
40.16223 ++$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40.16224 ++	 X"$as_dir" : 'X\(//\)[^/]' \| \
40.16225 ++	 X"$as_dir" : 'X\(//\)$' \| \
40.16226 ++	 X"$as_dir" : 'X\(/\)' \| \
40.16227 ++	 .     : '\(.\)' 2>/dev/null ||
40.16228 ++echo X"$as_dir" |
40.16229 ++    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40.16230 ++  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40.16231 ++  	  /^X\(\/\/\)$/{ s//\1/; q; }
40.16232 ++  	  /^X\(\/\).*/{ s//\1/; q; }
40.16233 ++  	  s/.*/./; q'`
40.16234 ++    done
40.16235 ++    test ! -n "$as_dirs" || mkdir $as_dirs
40.16236 ++  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
40.16237 ++echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
40.16238 ++   { (exit 1); exit 1; }; }; }
40.16239 + 
40.16240 +   ac_builddir=.
40.16241 + 
40.16242 +@@ -10546,12 +11493,45 @@
40.16243 +     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
40.16244 +     ac_top_srcdir=$ac_top_builddir$srcdir ;;
40.16245 + esac
40.16246 +-# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
40.16247 +-# absolute.
40.16248 +-ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
40.16249 +-ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
40.16250 +-ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
40.16251 +-ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
40.16252 ++
40.16253 ++# Do not use `cd foo && pwd` to compute absolute paths, because
40.16254 ++# the directories may not exist.
40.16255 ++case `pwd` in
40.16256 ++.) ac_abs_builddir="$ac_dir";;
40.16257 ++*)
40.16258 ++  case "$ac_dir" in
40.16259 ++  .) ac_abs_builddir=`pwd`;;
40.16260 ++  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
40.16261 ++  *) ac_abs_builddir=`pwd`/"$ac_dir";;
40.16262 ++  esac;;
40.16263 ++esac
40.16264 ++case $ac_abs_builddir in
40.16265 ++.) ac_abs_top_builddir=${ac_top_builddir}.;;
40.16266 ++*)
40.16267 ++  case ${ac_top_builddir}. in
40.16268 ++  .) ac_abs_top_builddir=$ac_abs_builddir;;
40.16269 ++  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
40.16270 ++  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
40.16271 ++  esac;;
40.16272 ++esac
40.16273 ++case $ac_abs_builddir in
40.16274 ++.) ac_abs_srcdir=$ac_srcdir;;
40.16275 ++*)
40.16276 ++  case $ac_srcdir in
40.16277 ++  .) ac_abs_srcdir=$ac_abs_builddir;;
40.16278 ++  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
40.16279 ++  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
40.16280 ++  esac;;
40.16281 ++esac
40.16282 ++case $ac_abs_builddir in
40.16283 ++.) ac_abs_top_srcdir=$ac_top_srcdir;;
40.16284 ++*)
40.16285 ++  case $ac_top_srcdir in
40.16286 ++  .) ac_abs_top_srcdir=$ac_abs_builddir;;
40.16287 ++  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
40.16288 ++  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
40.16289 ++  esac;;
40.16290 ++esac
40.16291 + 
40.16292 + 
40.16293 +   case $INSTALL in
40.16294 +@@ -10559,11 +11539,6 @@
40.16295 +   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
40.16296 +   esac
40.16297 + 
40.16298 +-  if test x"$ac_file" != x-; then
40.16299 +-    { echo "$as_me:$LINENO: creating $ac_file" >&5
40.16300 +-echo "$as_me: creating $ac_file" >&6;}
40.16301 +-    rm -f "$ac_file"
40.16302 +-  fi
40.16303 +   # Let's still pretend it is `configure' which instantiates (i.e., don't
40.16304 +   # use $as_me), people would be surprised to read:
40.16305 +   #    /* config.h.  Generated by config.status.  */
40.16306 +@@ -10573,7 +11548,7 @@
40.16307 +     configure_input="$ac_file.  "
40.16308 +   fi
40.16309 +   configure_input=$configure_input"Generated from `echo $ac_file_in |
40.16310 +-                                     sed 's,.*/,,'` by configure."
40.16311 ++				     sed 's,.*/,,'` by configure."
40.16312 + 
40.16313 +   # First look for the input files in the build tree, otherwise in the
40.16314 +   # src tree.
40.16315 +@@ -10582,26 +11557,32 @@
40.16316 +       case $f in
40.16317 +       -) echo $tmp/stdin ;;
40.16318 +       [\\/$]*)
40.16319 +-         # Absolute (can't be DOS-style, as IFS=:)
40.16320 +-         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
40.16321 ++	 # Absolute (can't be DOS-style, as IFS=:)
40.16322 ++	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
40.16323 + echo "$as_me: error: cannot find input file: $f" >&2;}
40.16324 +    { (exit 1); exit 1; }; }
40.16325 +-         echo $f;;
40.16326 ++	 echo "$f";;
40.16327 +       *) # Relative
40.16328 +-         if test -f "$f"; then
40.16329 +-           # Build tree
40.16330 +-           echo $f
40.16331 +-         elif test -f "$srcdir/$f"; then
40.16332 +-           # Source tree
40.16333 +-           echo $srcdir/$f
40.16334 +-         else
40.16335 +-           # /dev/null tree
40.16336 +-           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
40.16337 ++	 if test -f "$f"; then
40.16338 ++	   # Build tree
40.16339 ++	   echo "$f"
40.16340 ++	 elif test -f "$srcdir/$f"; then
40.16341 ++	   # Source tree
40.16342 ++	   echo "$srcdir/$f"
40.16343 ++	 else
40.16344 ++	   # /dev/null tree
40.16345 ++	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
40.16346 + echo "$as_me: error: cannot find input file: $f" >&2;}
40.16347 +    { (exit 1); exit 1; }; }
40.16348 +-         fi;;
40.16349 ++	 fi;;
40.16350 +       esac
40.16351 +     done` || { (exit 1); exit 1; }
40.16352 ++
40.16353 ++  if test x"$ac_file" != x-; then
40.16354 ++    { echo "$as_me:$LINENO: creating $ac_file" >&5
40.16355 ++echo "$as_me: creating $ac_file" >&6;}
40.16356 ++    rm -f "$ac_file"
40.16357 ++  fi
40.16358 + _ACEOF
40.16359 + cat >>$CONFIG_STATUS <<_ACEOF
40.16360 +   sed "$ac_vpsub
40.16361 +@@ -10650,8 +11631,11 @@
40.16362 + # need to make the FD available again.
40.16363 + if test "$no_create" != yes; then
40.16364 +   ac_cs_success=:
40.16365 ++  ac_config_status_args=
40.16366 ++  test "$silent" = yes &&
40.16367 ++    ac_config_status_args="$ac_config_status_args --quiet"
40.16368 +   exec 5>/dev/null
40.16369 +-  $SHELL $CONFIG_STATUS || ac_cs_success=false
40.16370 ++  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
40.16371 +   exec 5>>config.log
40.16372 +   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
40.16373 +   # would make configure fail if this is the last instruction.
40.16374 +--- openjade1.3-1.3.2.orig/debian/README.Debian.in
40.16375 ++++ openjade1.3-1.3.2/debian/README.Debian.in
40.16376 +@@ -0,0 +1,63 @@
40.16377 ++jade and sp for Debian
40.16378 ++----------------------
40.16379 ++
40.16380 ++This document covers the Debian version of Jade and the SP suite.
40.16381 ++Note that we use the version of SP which ships with the Jade sources,
40.16382 ++which is slightly newer than the SP which ship standalone.
40.16383 ++
40.16384 ++Note that the default search paths compiled into this system are
40.16385 ++equivalent to setting the following environment variables as shown:
40.16386 ++
40.16387 ++ SGML_CATALOG_FILES="%{default-catalogs}"
40.16388 ++ SGML_SEARCH_PATH="%{default-sgml-path}"
40.16389 ++
40.16390 ++You can override this by setting these variables yourself, i.e., in
40.16391 ++~/.profile or /etc/environment.
40.16392 ++
40.16393 ++If you are validating or processing XML, you want to run the command
40.16394 ++with the XML declaration.  The upstream documentation talks about
40.16395 ++xml.soc, which is located in %{sgmldir}/declaration/xml.soc, 
40.16396 ++but you can also run it like so:
40.16397 ++  nsgmls <other-args> %{sgmldir}/declaration/xml.dcl <xml-file>
40.16398 ++or
40.16399 ++  jade <other-args> %{sgmldir}/declaration/xml.dcl <xml-file>
40.16400 ++as appropriate.
40.16401 ++
40.16402 ++For information on using these packages, see the included HTML
40.16403 ++documentation.  It also includes links to other sites, for more
40.16404 ++information about SGML or DSSSL.  Also see:
40.16405 ++
40.16406 ++  <URL:http://www.jclark.com/jade/>        Jade home page
40.16407 ++  <URL:http://www.jclark.com/>             James Clark's pages
40.16408 ++  <URL:http://www.oasis-open.org/cover/>   Robin Cover's SGML/XML/DSSSL pages
40.16409 ++  <URL:http://www.mulberrytech.com/dsssl/> Mulberry DSSSL docs and cookbook
40.16410 ++  <URL:http://trisome.com/auto_faq/jade-Dsssl/>
40.16411 ++                                           An auto-FAQ for Jade and DSSSL
40.16412 ++  <URL:http://www.w3.org/>                 W3O, a standards body
40.16413 ++  <URL:http://www.netfolder.com/SGML/HTML-CSS%20Formatting%20objects.html>
40.16414 ++                                           Discussion of the HTML backend
40.16415 ++
40.16416 ++James Clark, the upstream maintainer, is now quite absorbed in the XSL
40.16417 ++effort, which is an XML alternative to DSSSL.  However, a new group
40.16418 ++has undertaken to continue to improve and maintain Jade under the name
40.16419 ++OpenJade.  This software is not yet released, but they have already
40.16420 ++produced some documentation, etc.  See
40.16421 ++<URL:http://www.netfolder.com/DSSSL/>.
40.16422 ++
40.16423 ++No package is an island; true to this dictum, the jade and sp packages
40.16424 ++increase value in conjunction with the following packages:
40.16425 ++
40.16426 ++  * sgml-base (required) provides essential Debian SGML infrastructure
40.16427 ++  * sgml-data (suggested) contains standard HTML and entities
40.16428 ++  * doc-base (suggested) provides documentation infrastructure used for
40.16429 ++    this package's documentatation
40.16430 ++  * sp-dev		Static library and include files for SP
40.16431 ++  * jadetex		LaTeX macros for SGML to DVI/PS conversion with jade
40.16432 ++  * psgml		Nifty Emacs mode for editing SGML documents
40.16433 ++  * sdc			SDC is an alternate SGML formatter not using DSSSL
40.16434 ++  * debiandoc-sgml	A formatter for Debian documents
40.16435 ++  * sgml-tools		A formatter for linuxdoc documents
40.16436 ++  * docbook		An SGML DTD for software documentation
40.16437 ++  * docbook-stylesheets	Stylesheets for printing and converting DocBook
40.16438 ++
40.16439 ++.....A. P. Harris...apharris@onShore.com...<URL:http://www.onShore.com/>
40.16440 +--- openjade1.3-1.3.2.orig/debian/TODO
40.16441 ++++ openjade1.3-1.3.2/debian/TODO
40.16442 +@@ -0,0 +1,13 @@
40.16443 ++jade-TODO (1.1-1) unstable; urgency=low
40.16444 ++
40.16445 ++  * fix /usr/lib/sgml/unicode (i.e., register or not)
40.16446 ++  * little perl script to morph the HTML pages to man pages (??)
40.16447 ++  * package a libsp1-dbg package, statically linking libsp1 and compiling
40.16448 ++    with debug symbols -- anyone want this?
40.16449 ++
40.16450 ++ -- Adam P. Harris <aph@debian.org>  Thu, 20 Aug 1998 14:13:41 -0400
40.16451 ++
40.16452 ++Local variables:
40.16453 ++mode: debian-changelog
40.16454 ++mode: auto-fill
40.16455 ++End:
40.16456 +--- openjade1.3-1.3.2.orig/debian/changelog
40.16457 ++++ openjade1.3-1.3.2/debian/changelog
40.16458 +@@ -0,0 +1,642 @@
40.16459 ++openjade1.3 (1.3.2-13) unstable; urgency=medium
40.16460 ++
40.16461 ++  * Applied patch to use dh_autotools-dev_{update,restore}config to update
40.16462 ++    config.{sub,guess} (Closes: #762187, #540637).  Thanks ravindran.
40.16463 ++
40.16464 ++ -- Neil Roeth <neil@debian.org>  Thu, 30 Oct 2014 22:35:44 -0400
40.16465 ++
40.16466 ++openjade1.3 (1.3.2-12.1) unstable; urgency=medium
40.16467 ++
40.16468 ++  * Non-Maintainer Upload
40.16469 ++  * Do not use cthreads on hurd-i386. (Closes: #638457).
40.16470 ++  * Fix management of -losp, inspired by Hector Oron, (Closes: #749800).
40.16471 ++
40.16472 ++ -- Samuel Thibault <sthibault@debian.org>  Mon, 25 Aug 2014 19:54:53 +0200
40.16473 ++
40.16474 ++openjade1.3 (1.3.2-12) unstable; urgency=low
40.16475 ++
40.16476 ++  * Added dependency on libperl4-corelibs-perl for getopts.pl. (Closes:
40.16477 ++    #724730).
40.16478 ++
40.16479 ++ -- Neil Roeth <neil@debian.org>  Sun, 13 Oct 2013 21:40:24 -0400
40.16480 ++
40.16481 ++openjade1.3 (1.3.2-11.1) unstable; urgency=low
40.16482 ++
40.16483 ++  * Non-maintainer upload for RC bug fix
40.16484 ++  * Fix build, patch by Andreas Moog (Closes: #650610)
40.16485 ++
40.16486 ++ -- Moritz Muehlenhoff <jmm@debian.org>  Tue, 13 Mar 2012 16:39:55 +0100
40.16487 ++
40.16488 ++openjade1.3 (1.3.2-11) unstable; urgency=low
40.16489 ++
40.16490 ++  * Added -fpermissive to fix FTBFS. (Closes: #624985).
40.16491 ++  * Updated to policy 3.9.2.0: no changes required.
40.16492 ++  * Fixed lintian warnings:
40.16493 ++  - Added debian/source/format.
40.16494 ++  - Added misc:Depends to control
40.16495 ++  - Added build-arch and build-indep targets.
40.16496 ++
40.16497 ++ -- Neil Roeth <neil@debian.org>  Mon, 08 Aug 2011 22:11:52 -0400
40.16498 ++
40.16499 ++openjade1.3 (1.3.2-10) unstable; urgency=low
40.16500 ++
40.16501 ++  * Changed documentation so that executing the example given works.
40.16502 ++    (Closes: #361864).
40.16503 ++  * Fixed FTBFS with gcc 4.3 (Closes: #476049).
40.16504 ++
40.16505 ++ -- Neil Roeth <neil@debian.org>  Thu, 17 Apr 2008 23:23:42 -0400
40.16506 ++
40.16507 ++openjade1.3 (1.3.2-9) unstable; urgency=low
40.16508 ++
40.16509 ++  * Built using new version of OpenSP, 1.5.2 (libosp5 package).
40.16510 ++  * debian/rules: Fix quoting on multiline sed command to fix make
40.16511 ++    backward incompatibilit: "fails to build with make >=
40.16512 ++    3.80+3.81.b3-1". Also fixed README.Debian.in: sgml-dir -> sgmldir.
40.16513 ++    Thanks to Colin Watson. (closes: #346151)
40.16514 ++
40.16515 ++ -- Neil Roeth <neil@debian.org>  Thu,  5 Jan 2006 20:50:54 -0500
40.16516 ++
40.16517 ++openjade1.3 (1.3.2-8) unstable; urgency=low
40.16518 ++
40.16519 ++  * Change /usr/doc in manpage to /usr/share/doc. (closes: #320708)
40.16520 ++  * Removed unnecessary build dependencies on automake1.7, libtool and
40.16521 ++    gettext.
40.16522 ++
40.16523 ++ -- Neil Roeth <neil@debian.org>  Tue,  9 Aug 2005 23:02:53 -0400
40.16524 ++
40.16525 ++openjade1.3 (1.3.2-7) unstable; urgency=low
40.16526 ++
40.16527 ++  * Recompile for GCC 4.0.
40.16528 ++  * Updated libtool to 1.5.6.
40.16529 ++
40.16530 ++ -- Neil Roeth <neil@debian.org>  Tue, 19 Jul 2005 22:36:11 -0400
40.16531 ++
40.16532 ++openjade1.3 (1.3.2-6) unstable; urgency=low
40.16533 ++
40.16534 ++  * Moved file from /usr/lib/openjade1.3 and /usr/lib/sgml to
40.16535 ++    /usr/share/sgml/openjade1.3.  /usr/lib is obsolete, and this has
40.16536 ++    probably been broken since opensp dropped that path.  This package is
40.16537 ++    now consistent with the jade and openjade packages.
40.16538 ++  * Added use of dh_installcatalogs so /usr/share/sgml/openjade1.3/catalog
40.16539 ++    gets added to the central catalog upon installation.
40.16540 ++  * Removed --enable-default-catalog and --enable-default-search-path
40.16541 ++    options to configure, these are part of the opensp package and are
40.16542 ++    probably holdovers from the days when jade and sp both came from the
40.16543 ++    same source package.
40.16544 ++
40.16545 ++ -- Neil Roeth <neil@debian.org>  Sun,  3 Apr 2005 22:16:03 -0400
40.16546 ++
40.16547 ++openjade1.3 (1.3.2-5) unstable; urgency=low
40.16548 ++
40.16549 ++  * New maintainter.
40.16550 ++  * Removed references to /usr/lib/sgml. Made consistent with jade/sp and
40.16551 ++    opensp. (closes: #177801)
40.16552 ++  * Changed "it's" to "its" in Description. (closes: #268535, #277251)
40.16553 ++
40.16554 ++ -- Neil Roeth <neil@debian.org>  Mon, 21 Feb 2005 11:04:27 -0500
40.16555 ++
40.16556 ++openjade1.3 (1.3.2-4) unstable; urgency=low
40.16557 ++
40.16558 ++  * Rebuild against opensp 1.5.1 (adjusted build-dep to be sure).
40.16559 ++  * Use dh-buildinfo.
40.16560 ++
40.16561 ++ -- Yann Dirson <dirson@debian.org>  Mon, 27 Oct 2003 18:02:09 +0100
40.16562 ++
40.16563 ++openjade1.3 (1.3.2-3) unstable; urgency=low
40.16564 ++
40.16565 ++  * Rebuild for g++-3.2 (Closes: #177944).
40.16566 ++  * Upgraded libosp-dev build-dep to ensure that.
40.16567 ++
40.16568 ++ -- Yann Dirson <dirson@debian.org>  Thu, 13 Feb 2003 10:59:44 +0100
40.16569 ++
40.16570 ++openjade1.3 (1.3.2-2) unstable; urgency=low
40.16571 ++
40.16572 ++  * Reverted configure.in to the version in 1.3.2rc2, since this
40.16573 ++    ppc64-specific change breaks sparc build (Closes: #171854).  Had to
40.16574 ++    copy config/aclocal.m4 to ./ before running autoconf or some macros
40.16575 ++    were undefined (reported issue upstream).
40.16576 ++  * Updated manpage (Closes: #173262).
40.16577 ++  * Added the manpage as a slave in the alternative (Closes: #173260).
40.16578 ++  * Build with -g as mandated by policy 3.5.7 and later.
40.16579 ++  * Standards-Version: 3.5.8
40.16580 ++
40.16581 ++ -- Yann Dirson <dirson@debian.org>  Sat, 28 Dec 2002 23:39:24 +0100
40.16582 ++
40.16583 ++openjade1.3 (1.3.2-1) unstable; urgency=low
40.16584 ++
40.16585 ++  * Final upstream release.
40.16586 ++
40.16587 ++ -- Yann Dirson <dirson@debian.org>  Wed,  4 Dec 2002 12:55:30 +0100
40.16588 ++
40.16589 ++openjade1.3 (1.3.1+really1.3.2rc2-2) unstable; urgency=low
40.16590 ++
40.16591 ++  * Rebuild using opensp 1.5release.
40.16592 ++
40.16593 ++ -- Yann Dirson <dirson@debian.org>  Tue, 26 Nov 2002 22:27:15 +0100
40.16594 ++
40.16595 ++openjade1.3 (1.3.1+really1.3.2rc2-1) unstable; urgency=low
40.16596 ++
40.16597 ++  * New upstream prerelease, using opensp 1.5pre8 or better.
40.16598 ++  * Miscellaneous packaging cleanups.
40.16599 ++
40.16600 ++ -- Yann Dirson <dirson@debian.org>  Tue, 19 Nov 2002 20:30:05 +0100
40.16601 ++
40.16602 ++openjade1.3 (1.3.1-2) unstable; urgency=low
40.16603 ++
40.16604 ++  * Made debian/rules not fail on "make clean" failure, just as usual
40.16605 ++    (Closes: #141672).
40.16606 ++
40.16607 ++ -- Yann Dirson <dirson@debian.org>  Tue,  9 Apr 2002 00:01:50 +0200
40.16608 ++
40.16609 ++openjade1.3 (1.3.1-1) unstable; urgency=low
40.16610 ++
40.16611 ++  * Build on woody (Closes: #130917).
40.16612 ++  * Get config.{status,log} and Makefiles removed on clean.
40.16613 ++
40.16614 ++ -- Yann Dirson <dirson@debian.org>  Thu, 28 Mar 2002 01:48:16 +0100
40.16615 ++
40.16616 ++openjade1.3 (1.3.1-0potato1) unstable; urgency=low
40.16617 ++
40.16618 ++  * New upstream release.
40.16619 ++
40.16620 ++ -- Yann Dirson <ydirson@fr.alcove.com>  Thu, 14 Feb 2002 18:08:13 +0100
40.16621 ++
40.16622 ++openjade1.3 (1.3-1) unstable; urgency=low
40.16623 ++
40.16624 ++  * Initial (potato) release.
40.16625 ++  * Packaging adapted from jade 1.2.1-18.2.
40.16626 ++  * Fixed ./configure for generation error.
40.16627 ++  * No shared libs to reduce the possibility of conflicts with openjade.
40.16628 ++  * Built using shipped libosp - couldn't make it compile with package
40.16629 ++    libosp-dev.  Patches welcomed.
40.16630 ++  * Provide /usr/bin/openjade as an alternative.
40.16631 ++
40.16632 ++ -- Yann Dirson <ydirson@fr.alcove.com>  Tue, 11 Sep 2001 16:11:48 +0200
40.16633 ++
40.16634 ++jade (1.2.1-18.2) unstable; urgency=low
40.16635 ++  * Non-maintainer upload
40.16636 ++  * Fix to build with gcc 3.0. Closes: #96261
40.16637 ++  * New config.guess and config.sub (hppa, ia64, s390 & sh)  Closes: #97377
40.16638 ++  * Fix to build under fakeroot.  Closes: #99743, #103195
40.16639 ++  * Add gross hack for ia64 - works, but needs to be reviewd.
40.16640 ++    Closes: #103192.
40.16641 ++
40.16642 ++ -- LaMont Jones <lamont@debian.org>  Fri,  6 Jul 2001 10:49:33 -0600
40.16643 ++
40.16644 ++jade (1.2.1-18.1) unstable; urgency=low
40.16645 ++ 
40.16646 ++  * Non-maintainer upload.
40.16647 ++  * Added template instance Vector<long unsigned int>.  Closes: #97949
40.16648 ++ 
40.16649 ++ -- Gerhard Tonn <gt@debian.org>  Fri,  1 Jun 2001 20:38:43 +0200
40.16650 ++                                          
40.16651 ++jade (1.2.1-18) unstable; urgency=low
40.16652 ++
40.16653 ++  * debian/rules: correct location of sgml-catalog-check.pl
40.16654 ++    (closes: Bug#75384); clean more stuff which should have been cleaned
40.16655 ++    in upstream Makefiles
40.16656 ++  * unicode/catalog: fix name of unicode.decl (closes: Bug#74858)
40.16657 ++  * debian/control: build depends requires new enough sgml-data
40.16658 ++  * apply patch from Randolph Chung updating autoconf/libtools stuff and
40.16659 ++    enabling compilation on ia64 (closes: Bug#82109, Bug#82487)
40.16660 ++
40.16661 ++ -- Adam Di Carlo <aph@debian.org>  Thu, 18 Jan 2001 03:44:19 -0500
40.16662 ++
40.16663 ++jade (1.2.1-17) unstable; urgency=low
40.16664 ++
40.16665 ++  * rebuild same rev for woody only
40.16666 ++  * corrections in nsgmls manual page, patch from Gabor Liptak
40.16667 ++    <gaborliptak@usa.net> (closes: Bug#56628)
40.16668 ++  * README.Debian: do sgml-dir substitution; discussion XML validation
40.16669 ++    using the .decl file or the xml.soc (closes: Bug#56905)
40.16670 ++  * debian/rules: install xml.soc in <sgml-dir>/declaration/
40.16671 ++
40.16672 ++ -- Adam Di Carlo <aph@debian.org>  Tue, 28 Mar 2000 02:20:32 -0500
40.16673 ++
40.16674 ++jade (1.2.1-16) frozen unstable; urgency=medium
40.16675 ++
40.16676 ++  * patch for Alpha (and 64-bit arches) (closes: Bug#58666);
40.16677 ++    comment from the bug fixer, David Huggins-Daines:
40.16678 ++      work around broken C++ compiler on Alpha, also instantiate
40.16679 ++      Vector<size_t> on Alpha since sizeof(size_t) != sizeof(int). This
40.16680 ++      can't be done on 32-bit archs since gcc 2.95 will complain about
40.16681 ++      multiple instantiations, however it has to be done on 64-bit ones -
40.16682 ++      this is just a quick hack, upstream needs to fix it by checking the
40.16683 ++      size of size_t in their configure script.
40.16684 ++  * since the preceeding fix is needed for Alpha compilation, and since
40.16685 ++    that patch does not affect any other architectures, this should be
40.16686 ++    included in Potato.
40.16687 ++
40.16688 ++ -- Adam Di Carlo <aph@debian.org>  Sat,  4 Mar 2000 15:56:40 -0500
40.16689 ++
40.16690 ++jade (1.2.1-15) unstable; urgency=low
40.16691 ++
40.16692 ++  * libsp: comment out the dtddeclNotSupported, because it's annoying and
40.16693 ++    stupid to complain so much about things the software doesn't
40.16694 ++    understand, and effectively makes it harder (well, more annoying) to
40.16695 ++    transition to DTDDECL, which is fully understood by OpenJade
40.16696 ++
40.16697 ++ -- Adam Di Carlo <aph@debian.org>  Tue,  4 Jan 2000 18:19:41 -0500
40.16698 ++
40.16699 ++jade (1.2.1-14) unstable; urgency=low
40.16700 ++
40.16701 ++  * include sgml2xml and sgmlnorm man pages, thanks to Steve Cheng, from
40.16702 ++    the docbook2man examples (closes: Bug#39489)
40.16703 ++  * do not install /usr/lib/sgml/declaration/xml.decl -- xml.dcl is now
40.16704 ++    provided by sgml-data
40.16705 ++  * patch for TeX output ligature problem affecting the characters '-<>',
40.16706 ++    adopted from OpenJade (closes: Bug#45489)
40.16707 ++  * debian/control: build standards version to 3.1.1; add Build-Depends
40.16708 ++  * include/config.h: force #define SP_MULTI_BYTE (closes: Bug#46130)
40.16709 ++  * remove "compatability" symlink /usr/lib/sgml/sgml/japan.decl, since I
40.16710 ++    don't think anyone uses it
40.16711 ++  * debian/rules: debhelperify
40.16712 ++  * debian/*: rename files closed to what debhelper expects
40.16713 ++
40.16714 ++ -- Adam Di Carlo <aph@debian.org>  Sat,  1 Jan 2000 19:06:04 -0500
40.16715 ++
40.16716 ++jade (1.2.1-13) unstable; urgency=low
40.16717 ++
40.16718 ++  * merge in upstream SP 1.3.4 (no correlated jade release yet, so this is
40.16719 ++    packaged as a diff against jade 1.2.1)
40.16720 ++  * debian/rules: enforce more modularity for consistency with openjade
40.16721 ++    rules file; clean sp.conffiles; install SP example stuff from 'dsssl/'
40.16722 ++
40.16723 ++ -- Adam Di Carlo <aph@debian.org>  Sat, 30 Oct 1999 13:51:18 -0400
40.16724 ++
40.16725 ++jade (1.2.1-12) unstable; urgency=low
40.16726 ++
40.16727 ++  * debian/rules: remove '-fpermissive' call (closes: Bug#45452); fold out
40.16728 ++    config.status as a separate target for a better build
40.16729 ++  * include generic/*.h (closes: Bug#46129)
40.16730 ++  * sp postinst: fix shell output indirection oopsie (closes: Bug#46577)
40.16731 ++
40.16732 ++ -- Adam Di Carlo <aph@debian.org>  Thu,  7 Oct 1999 02:20:24 -0400
40.16733 ++
40.16734 ++jade (1.2.1-11) unstable; urgency=low
40.16735 ++
40.16736 ++  * incorporate NMU from 1.2.1-10.1 (closes: Bug#44500)
40.16737 ++  * debian/rules: also, run libtoolize at build time; clean is cleaner
40.16738 ++  * port for g++ 2.95 or better made more robust (i.e., should work for
40.16739 ++    future g++ 3.x as well, as well as non GNU compilers); regenerate the
40.16740 ++    C++ files from M4 files so they don't show up in diffs
40.16741 ++
40.16742 ++ -- Adam Di Carlo <aph@debian.org>  Fri, 10 Sep 1999 20:08:59 -0400
40.16743 ++
40.16744 ++jade (1.2.1-10.1) unstable; urgency=low
40.16745 ++
40.16746 ++  * Non-maintainer upload.
40.16747 ++  * Update config.{guess,sub} for ARM
40.16748 ++
40.16749 ++ -- Jim Pick <jim@jimpick.com>  Mon,  6 Sep 1999 10:46:41 -0700
40.16750 ++
40.16751 ++jade (1.2.1-10) unstable; urgency=low
40.16752 ++
40.16753 ++  * port sources with g++ 2.95 (closes Bug#42925)
40.16754 ++  * update Policy standard compliance to 3.0.1
40.16755 ++  * README.sp-dev: note that SP_MULTI_BYTE must be defined when
40.16756 ++    compiling with the libraries/headers (closes Bug#41584)
40.16757 ++  * debian/rules: more debhelperification, where it helps
40.16758 ++
40.16759 ++ -- Adam Di Carlo <aph@debian.org>  Fri, 10 Sep 1999 19:05:56 -0400
40.16760 ++
40.16761 ++jade (1.2.1-9) unstable; urgency=low
40.16762 ++
40.16763 ++  * config/configure.in: add --enable-html to enable the HTML backend
40.16764 ++  * configure: regenerated
40.16765 ++  * debian/rules: enable the HTML backend
40.16766 ++  * README.Debian: add URLs, talk about the OpenJade project (thanks
40.16767 ++    esp. to Didier PH Martin)
40.16768 ++
40.16769 ++ -- Adam Di Carlo <aph@debian.org>  Sat, 26 Jun 1999 14:56:54 -0400
40.16770 ++
40.16771 ++jade (1.2.1-8) unstable; urgency=low
40.16772 ++
40.16773 ++  * patches for hurd port, and linking with libthreads (autoconf)
40.16774 ++    (closes Bug#38518)
40.16775 ++  * configure: regenerated from autoconf 1.13 (was 1.12)
40.16776 ++  * config/{ltmain.sh,ltconfig}: update from libtool 1.3.2
40.16777 ++  * README.Debian: update a few URLs
40.16778 ++  * Makefile.jade: no longer upstream or used by Debian, removed
40.16779 ++  * incidentally, non-Debian specific patches submitted to OpenJade group
40.16780 ++
40.16781 ++ -- Adam Di Carlo <aph@debian.org>  Thu, 17 Jun 1999 21:45:37 -0400
40.16782 ++
40.16783 ++jade (1.2.1-7) unstable; urgency=low
40.16784 ++
40.16785 ++  * sp: new conffile, /etc/sp.catalog, which is initially populated with
40.16786 ++    'OVERRIDE YES', which means that public (catalog) identifiers will
40.16787 ++    override system identifiers, which is relevant to XML files which
40.16788 ++    require both (as suggested by Gregor Hoffleit).  You can put other
40.16789 ++    global settings relevant to sp here also.
40.16790 ++  * correct libsp1 dependancy, discovered by the maintainer when upgrading
40.16791 ++    a hamm system to slink
40.16792 ++  * jade postinst: remove old policy violating sgml.catalog scrubbing; now
40.16793 ++    that is provided in a little script which can be hand run,
40.16794 ++    /usr/lib/jade/scrub-dsssl-catalog-cruft; be more discriminate in how
40.16795 ++    many cases we run under
40.16796 ++  * postinst: other minor style fixups
40.16797 ++  * rebuilt with newest g++ and libstdc++ packages
40.16798 ++
40.16799 ++ -- Adam Di Carlo <aph@debian.org>  Mon,  3 May 1999 02:08:33 -0400
40.16800 ++
40.16801 ++jade (1.2.1-6) unstable; urgency=low
40.16802 ++
40.16803 ++  * add some additional include files for libstyle to /usr/include/sp
40.16804 ++    (closes Bug#36207)
40.16805 ++  * debian/rules: clean out some cruft
40.16806 ++
40.16807 ++ -- Adam Di Carlo <aph@debian.org>  Sat, 17 Apr 1999 18:19:28 -0400
40.16808 ++
40.16809 ++jade (1.2.1-5) unstable; urgency=low
40.16810 ++
40.16811 ++  * parameterize and change default SGML paths to put /usr/local paths
40.16812 ++    prior to /usr paths; automatically populate README.Debian with the
40.16813 ++    proper value (closes Bug#31737)
40.16814 ++
40.16815 ++ -- Adam Di Carlo <aph@debian.org>  Sun,  7 Feb 1999 18:01:32 -0500
40.16816 ++
40.16817 ++jade (1.2.1-4) frozen unstable; urgency=low
40.16818 ++
40.16819 ++  * debian/rules: cosmetic cleanups
40.16820 ++  * debian/rules: recompile the whole shbang with -D_REENTRANT (policy
40.16821 ++    violation for libraries -- hopefully it won't hurt the non-libraries)
40.16822 ++
40.16823 ++ -- Adam Di Carlo <aph@debian.org>  Tue,  8 Dec 1998 01:49:51 -0500
40.16824 ++
40.16825 ++jade (1.2.1-3) frozen unstable; urgency=low
40.16826 ++
40.16827 ++  * recompile with new g++/libstdc++
40.16828 ++  * maintainer name change
40.16829 ++  * debian/control: fix spelling error in description (thanks, lintian!)
40.16830 ++  * debian/control: standards version 2.5.0
40.16831 ++
40.16832 ++ -- Adam Di Carlo <aph@debian.org>  Sat, 28 Nov 1998 06:29:49 -0500
40.16833 ++
40.16834 ++jade (1.2.1-2) frozen unstable; urgency=low
40.16835 ++
40.16836 ++  * debian/control: libsp1 conflicts with sp (<= 1.3-1.1-6), since if jade
40.16837 ++    is run with the mentioned or earlier sp, there are problems with the
40.16838 ++    shared libraries (closes Bug#29423)
40.16839 ++
40.16840 ++ -- Adam P. Harris <aph@debian.org>  Sat, 14 Nov 1998 02:28:26 -0500
40.16841 ++
40.16842 ++jade (1.2.1-1) frozen unstable; urgency=low
40.16843 ++
40.16844 ++  * new upstream minor version, bugfixes only, including portability fixes 
40.16845 ++    and an autoconf bug which stopped the MIF backend from really being
40.16846 ++    enabled
40.16847 ++  * pristine upstream source
40.16848 ++  * config/configure.in: stop forcing us to use -ansi, which should help
40.16849 ++    porters, and is more correct -- consulting upstream with Cees de
40.16850 ++    Groot.   Should close Bug#28176.
40.16851 ++
40.16852 ++ -- Adam P. Harris <aph@debian.org>  Tue, 20 Oct 1998 02:46:32 -0400
40.16853 ++
40.16854 ++jade (1.2-3) unstable; urgency=medium
40.16855 ++
40.16856 ++  * debian/control: jade suggests sp
40.16857 ++  * debian/control: jade depends on libsp1 (closes Bug#28031, Bug#27830)
40.16858 ++
40.16859 ++ -- Adam P. Harris <aph@debian.org>  Fri, 16 Oct 1998 10:00:50 -0400
40.16860 ++
40.16861 ++jade (1.2-2) unstable; urgency=low
40.16862 ++
40.16863 ++  * enable MIF backend
40.16864 ++  * sp properly depends on libsp1 -- either dpkg-shlibdeps let me down or
40.16865 ++    I'm using it wrong (closes Bug#27331)
40.16866 ++  * debian/rules: set LD_PRELOAD= to work around bad interaction between 
40.16867 ++    fakeroot and dpkg-shlibdeps; ensure autoconf scripts are executable;
40.16868 ++    fixup some strictly internal stuff
40.16869 ++
40.16870 ++ -- Adam P. Harris <aph@debian.org>  Sun,  4 Oct 1998 20:26:26 -0400
40.16871 ++
40.16872 ++jade (1.2-1) unstable; urgency=low
40.16873 ++
40.16874 ++  * new upstream version, obsoletes all previous patches
40.16875 ++    - can build with egcs
40.16876 ++    - a MIF backend written by Kathleen Marszalek and Paul Prescod,
40.16877 ++    sponsored by ISOGEN International Corp
40.16878 ++    - an enhanced TeX backend written by Kathleen Marszalek, sponsored by
40.16879 ++    Novare International, and an associated LaTeX macro package by
40.16880 ++    Sebastian Rahtz.
40.16881 ++    - configure/autoconf support from Cees de Groot (see
40.16882 ++    README.configure); this should make it easier to install; uses libtool 
40.16883 ++    for shared libraries
40.16884 ++  * apply Cees' autoconf patch 1 from http://www.sgmltools.org/jade.html;
40.16885 ++    now we ship libgrove, libspgrove, and libstyle shared libs in the
40.16886 ++    libsp1 packages
40.16887 ++
40.16888 ++  * NOTE: shared library SO version numbers have changed.  This version of 
40.16889 ++    libsp.so et al are not compatible with the other ones. Number has been 
40.16890 ++    moved back from .so.1.3.x to so.1.0.3.  Honestly, I should bump the so 
40.16891 ++    to .so.2.x but since the only other pkg which depends on this is
40.16892 ++    maintained by me I'm not going to bother.  Feel free to file a bug
40.16893 ++    report if this messes you up and I'll look into bumping the .so.
40.16894 ++  * debian/rules: use debhelper-style temporary build directories and use
40.16895 ++    dh_strip for maximum strip'age
40.16896 ++  * config/configure.in: remove sig_atomic_t check, stop adding
40.16897 ++    -fno-implicit-templates to CXXFLAGS, add --enable-default-search-path
40.16898 ++    for setting the search path
40.16899 ++  * debian/rules: stop generating buildinfo file, it's too much of a PITA
40.16900 ++
40.16901 ++ -- Adam P. Harris <aph@debian.org>  Sat, 26 Sep 1998 18:13:27 -0400
40.16902 ++
40.16903 ++jade (1.1.1-4) unstable; urgency=low
40.16904 ++
40.16905 ++  * Apply patches for Jadetex Aug06
40.16906 ++      http://tug.org/applications/jadetex/jade.patch.aug06
40.16907 ++    This requires jadetex 1.04 or better
40.16908 ++  * libsp1*: update README.Debian
40.16909 ++  * libsp1-dev: symlink doc dir from libsp1
40.16910 ++  * jade maintainer scripts: only blab about removing entries if we really are
40.16911 ++  * debian/rules: only install *.htm from jadedoc, eliminating lintian's
40.16912 ++    extra-license-file warning
40.16913 ++  * debian/rules: minor housekeeping
40.16914 ++
40.16915 ++ -- Adam P. Harris <aph@debian.org>  Thu,  3 Sep 1998 04:09:58 -0400
40.16916 ++
40.16917 ++jade (1.1.1-3) unstable; urgency=low
40.16918 ++
40.16919 ++  * Apply patches for Jadetex July07
40.16920 ++      http://tug.org/applications/jadetex/jade.patch.july07
40.16921 ++      http://tug.org/applications/jadetex/jade-newfiles.zip
40.16922 ++    This incorporates jadetex table support.  The jadetex 'aug06' patches
40.16923 ++    have not been incorporated since this would required jadetex 1.04 or
40.16924 ++    better.
40.16925 ++  * libsp1.shlibs: provide library in >= 1.3.1-1.1.1-1, rather than
40.16926 ++    requiring the exact current version
40.16927 ++
40.16928 ++ -- Adam P. Harris <aph@debian.org>  Fri, 14 Aug 1998 00:02:39 -0400
40.16929 ++
40.16930 ++jade (1.1.1-2) unstable; urgency=low
40.16931 ++
40.16932 ++  * libsp1-dev: include libgrove.a and libspgrove.a (no shared versions
40.16933 ++    yet, someone tell me if they want them) and some include files for
40.16934 ++    grove and spgrove.  Prompted by problems compiling dsc.
40.16935 ++  * link /usr/doc/jade/jade.htm to /usr/doc/jade/index.html
40.16936 ++
40.16937 ++ -- Adam P. Harris <aph@debian.org>  Wed,  5 Aug 1998 19:32:41 -0400
40.16938 ++
40.16939 ++jade (1.1.1-1) unstable; urgency=low
40.16940 ++
40.16941 ++  * new upstream versions (sp 1.3.1, jade 1.1.1)
40.16942 ++  * libsp1 split out from sp, sp-dev renamed to libsp1-dev
40.16943 ++  * libsp1-dev depends on libc6-dev and libg++272-dev, and recommends g++272
40.16944 ++  * libsp1 replaces older sp's since they had libsp.so.1* in them
40.16945 ++  * don't have the link from HTML file to /usr/doc/sp/changelog
40.16946 ++  * I tried again to use eg++ instead of g++272 but jade is still
40.16947 ++    non-functional when formatting docbook.  For porters, the entire SP
40.16948 ++    suite itself seems to do fine under eg++.
40.16949 ++
40.16950 ++ -- Adam P. Harris <aph@debian.org>  Sat, 25 Jul 1998 12:38:08 -0400
40.16951 ++
40.16952 ++jade (1.1-6) frozen unstable; urgency=low
40.16953 ++
40.16954 ++  * jade.1: fixed location reference of jade.htm
40.16955 ++  * backout from egcs' c++, since that seems to be the cause of the core
40.16956 ++    dumps, so we're back with 'gcc -fno-implicit-templates' as our c++
40.16957 ++    compiler; thanks for Terry Dawson <terry@linux.spice.net.au> for
40.16958 ++    isolating exactly when jade started crumbling (closes Bug#20796,
40.16959 ++    Bug#21895, Bug#21856)
40.16960 ++  * set dependancies on libsp.so now that we've got to do this manually
40.16961 ++    again
40.16962 ++  * rebuild with new sgml-catalog-check.pl from sgml-data, and add a check
40.16963 ++    to try to ensure we never build with bad symlinks (closes Bug#21807)
40.16964 ++  * add buildinfo.Debian file for all binary packages
40.16965 ++  * /usr/doc/sp/README added from upstream, minor updates to reflect
40.16966 ++    Debian way
40.16967 ++  * debian/control: bumped standards compliance to 2.4.1.0
40.16968 ++  * /usr/doc/*/copyright file brought up to policy spec
40.16969 ++  * TODO.Debian updated
40.16970 ++  * /usr/doc/sp/changelog and /usr/doc/sp-dev/changelog link created
40.16971 ++    (policy)
40.16972 ++
40.16973 ++ -- Adam P. Harris <aph@debian.org>  Sat,  2 May 1998 17:21:06 -0400
40.16974 ++
40.16975 ++jade (1.1-5) frozen unstable; urgency=low
40.16976 ++
40.16977 ++  * set SGML_SEARCH_PATH_DEFAULT to /usr/lib/sgml:/usr/local/lib/sgml (was 
40.16978 ++    unset before, leading to wierd searching in /etc sometimes)
40.16979 ++  * set SGML_CATALOG_FILES_DEFAULT to
40.16980 ++    /usr/lib/sgml/catalog:/usr/local/lib/sgml/catalog
40.16981 ++  * rebuild with egcs-2.90.26 980308, remove -fno-implicit-templates,
40.16982 ++    which means Alpha platform should compile out of the box, linked
40.16983 ++    against libstdc++2.8 as well
40.16984 ++  * fixing dependancies:  sp shouldn't depend on itself, sp-dev now
40.16985 ++    depends on sync'd version of sp, jade depends on sync'd version of sp; 
40.16986 ++    I think tight coupling is there between jade and sp.  I might loosen
40.16987 ++    it later.
40.16988 ++  * call ldconfig in sp's postinst, as stipulated by David Engel
40.16989 ++  * don't build SP tools with -fpic, you silly!
40.16990 ++
40.16991 ++ -- Adam P. Harris <aph@debian.org>  Sun, 29 Mar 1998 16:47:44 -0500
40.16992 ++
40.16993 ++jade (1.1-4) frozen unstable; urgency=low
40.16994 ++
40.16995 ++  * declarations do in /usr/lib/sgml/declaration, not declarations, as per
40.16996 ++    SGML subpolicy.
40.16997 ++  * unicode subdir moved to /usr/lib/sp/unicode (lintian)
40.16998 ++  * added declaration sp_implied.decl, representing sp's default
40.16999 ++    declaration
40.17000 ++  * don't call 'install-docs -r' from postrm, so scripts changed into
40.17001 ++    prerm (lintian)
40.17002 ++  * updates to README files
40.17003 ++
40.17004 ++ -- Adam P. Harris <aph@debian.org>  Thu, 19 Mar 1998 21:49:29 -0500
40.17005 ++
40.17006 ++jade (1.1-3) frozen unstable; urgency=low
40.17007 ++
40.17008 ++  * make shared libsp.so.1.3, major revision 1, link all programs in sp
40.17009 ++    and jade against that, which lowers the combined size by about 1MB
40.17010 ++  * add sp-dev package to hold the unversioned library symlink, the static 
40.17011 ++    library, and the include files
40.17012 ++  * change documentation area from "text" to "Apps/Text"
40.17013 ++  * remove _GNU_SOURCE define, not needed anymore AFAIK
40.17014 ++  * move jade DTDs in to dtd subdir, make proper sublinks
40.17015 ++  * move jade's dsssl catalog to /usr/lib/jade/catalog
40.17016 ++  * rename jade's smgl catalog package from 'dsssl' to 'jade'
40.17017 ++  * rename sp's japan.dcl to japan.decl (more standard)
40.17018 ++  * include xml.decl
40.17019 ++
40.17020 ++ -- Adam P. Harris <aph@debian.org>  Sun, 15 Mar 1998 15:42:00 -0500
40.17021 ++
40.17022 ++jade (1.1-2) unstable; urgency=low
40.17023 ++
40.17024 ++  * split sp out from this source package, so now the jade source creates
40.17025 ++    both the jade and sp packages
40.17026 ++  * jade no longer conflicts/replaces/provides sp, but rather depends on
40.17027 ++    it
40.17028 ++  * sp version is SPVer-JadeSrcVer, i.e., 1.3-1.1-2 (thanks to Yann Dirson)
40.17029 ++  * debian/postrm*: be tolerant removing documentation
40.17030 ++  * README.Debian: add some links to relevant web sites
40.17031 ++
40.17032 ++ -- Adam P. Harris <aph@debian.org>  Wed, 11 Mar 1998 12:23:11 -0500
40.17033 ++
40.17034 ++jade (1.1-1) unstable; urgency=low
40.17035 ++
40.17036 ++  * new maintainer
40.17037 ++  * new upstream version (closes Bug#19155, Bug#19174, Bug#19175)
40.17038 ++  * jade now conflicts/replaces/provides sp
40.17039 ++  * source managed with CVS
40.17040 ++  * updated Standard compliance
40.17041 ++  * debian/rules: cleanup and abstraction like I like it, remove debstd
40.17042 ++    (closes Bug#15443)
40.17043 ++  * debian/control: suggest doc-base, since that is how I register HTML
40.17044 ++  * debian/control: switched to priority optional, which was sp's priority
40.17045 ++  * define SP_HAVE_SOCKET for http support
40.17046 ++  * define _GNU_SOURCE to help Alpha users (closes Bug#14319)
40.17047 ++  * include nsgmls, spam, and spent man pages from 1.0.1 distribution
40.17048 ++  * rename sx to sgml2xml to prevent namespace pollution
40.17049 ++
40.17050 ++ -- Adam P. Harris <aph@debian.org>  Tue, 10 Mar 1998 04:29:52 -0500
40.17051 ++
40.17052 ++jade (1.0.1-1) unstable; urgency=low
40.17053 ++
40.17054 ++  * new upstream release, libc6.
40.17055 ++  * debian/postrm: fix cleanup bug (missing $CAT) and use
40.17056 ++    install-sgmlcatalog --remove.
40.17057 ++  * debian/postinst: *always* remove the old entries, and use
40.17058 ++    install-sgmlcatalog --install.  (Plan to ditch all this cleanup code
40.17059 ++    before Debian 2.0.)
40.17060 ++  * Makefile.jade: turn on SP_HAVE_GETTEXT, but turn of SP_HAVE_SOCKET
40.17061 ++    since libc6 has a broken arpa/inet.h that won't build with -ansi.
40.17062 ++
40.17063 ++ -- Mark W. Eichin <eichin@kitten.gen.ma.us>  Tue, 28 Oct 1997 02:19:39 -0500
40.17064 ++
40.17065 ++jade (0.8-4) unstable; urgency=low
40.17066 ++
40.17067 ++  * debian/postinst, debian/postrm: add _FIX to the $SIG line, and install
40.17068 ++    the *dsssl* catalog entries, not the davenport ones (oops,
40.17069 ++    overenthusiastic cut and paste...) Make postrm more verbose, let
40.17070 ++    postinst treat configure like upgrade. grep $CAT, not stdin.
40.17071 ++  * turn off SP_HAVE_GETTEXT until I do a libc6 release.
40.17072 ++
40.17073 ++ -- Mark W. Eichin <eichin@kitten.gen.ma.us>  Sat, 2 Aug 1997 18:30:58 -0400
40.17074 ++
40.17075 ++jade (0.8-3) unstable; urgency=low
40.17076 ++
40.17077 ++  * Makefile.jade: set SP_HAVE_LOCALE, SP_HAVE_GETTEXT, SP_HAVE_SOCKET as
40.17078 ++    well (per suggestions from Ulrich Drepper.)
40.17079 ++
40.17080 ++ -- Mark W. Eichin <eichin@kitten.gen.ma.us>  Sat, 5 Jul 1997 13:53:27 -0400
40.17081 ++
40.17082 ++jade (0.8-2) unstable; urgency=low
40.17083 ++
40.17084 ++  * Makefile.jade: set SGML_CATALOG_FILES_DEFAULT to the debian value
40.17085 ++    (/usr/lib/sgml/catalog, so that the relative names work, *not* the
40.17086 ++    /etc/ version.)
40.17087 ++  * debian/rules: install dsssl/catalog as dsssl.cat
40.17088 ++  * debian/postinst, postrm: use jade-style md5 signatures, more advanced
40.17089 ++    cleanup code.
40.17090 ++
40.17091 ++ -- Mark W. Eichin <eichin@kitten.gen.ma.us>  Tue,  1 Jul 1997 00:54:18 -0400
40.17092 ++
40.17093 ++jade (0.8-1) unstable; urgency=low
40.17094 ++
40.17095 ++  * Initial Release, build with deb-make single.
40.17096 ++  * debian/rules: Only build/install jade, leave out the rest because they
40.17097 ++    are already in the debian "sp" package.
40.17098 ++  * debian/{postinst,postrm}: add/remove DSSSL DTD entries.
40.17099 ++
40.17100 ++ -- Mark W. Eichin <eichin@kitten.gen.ma.us>  Fri, 27 Jun 1997 22:28:34 -0400
40.17101 +--- openjade1.3-1.3.2.orig/debian/compat
40.17102 ++++ openjade1.3-1.3.2/debian/compat
40.17103 +@@ -0,0 +1 @@
40.17104 ++1
40.17105 +--- openjade1.3-1.3.2.orig/debian/conffiles
40.17106 ++++ openjade1.3-1.3.2/debian/conffiles
40.17107 +@@ -0,0 +1 @@
40.17108 ++/etc/sgml/openjade1.3.cat
40.17109 +--- openjade1.3-1.3.2.orig/debian/control
40.17110 ++++ openjade1.3-1.3.2/debian/control
40.17111 +@@ -0,0 +1,24 @@
40.17112 ++Source: openjade1.3
40.17113 ++Section: text
40.17114 ++Priority: optional
40.17115 ++Maintainer: Neil Roeth <neil@debian.org>
40.17116 ++Standards-Version: 3.9.2
40.17117 ++Build-Depends: libosp-dev (>= 1.5.2), debhelper (>= 4.1.75), autotools-dev, dh-buildinfo, libperl4-corelibs-perl
40.17118 ++
40.17119 ++Package: openjade1.3
40.17120 ++Architecture: any
40.17121 ++Depends: ${shlibs:Depends}, sgml-base, ${misc:Depends}
40.17122 ++Suggests: doc-base, sgml-data
40.17123 ++Description: Implementation of the DSSSL language
40.17124 ++ OpenJade is an implementation of the ISO/IEC 10179:1996 standard
40.17125 ++ DSSSL language.  It is based on James Clark's Jade software.
40.17126 ++ .
40.17127 ++ This is the latest stable release of OpenJade.  For the
40.17128 ++ latest-and-greatest/bleeding-edge, install the `openjade' package.
40.17129 ++ .
40.17130 ++ The OpenJade processor, in conjunction with a DSSSL style sheet, is
40.17131 ++ capable of translating SGML documents into other formats.  Output
40.17132 ++ formats currently supported are RTF, HTML, MIF, JadeTeX, or an XML
40.17133 ++ representation of the flow object tree.  Using its own non-standard
40.17134 ++ system, it is also capable of transforming SGML or XML documents into
40.17135 ++ documents conforming to another DTD.
40.17136 +--- openjade1.3-1.3.2.orig/debian/copyright.Debian
40.17137 ++++ openjade1.3-1.3.2/debian/copyright.Debian
40.17138 +@@ -0,0 +1,19 @@
40.17139 ++
40.17140 ++-----
40.17141 ++
40.17142 ++The jade package was originally Debianized by Mark W. Eichin
40.17143 ++<eichin@kitten.gen.ma.us> on Fri, 27 Jun 1997 22:28:34 -0400.
40.17144 ++Maintenance of the jade package is now handled by Adam P. Harris
40.17145 ++<aph@debian.org>.
40.17146 ++The packaging was adapted to openjade1.3 by Yann Dirson
40.17147 ++<dirson@debian.org>, (c) Alcove <http://www.alcove.com/>.
40.17148 ++
40.17149 ++The original source was downloaded from
40.17150 ++<URL:http://sf.net/projects/openjade/>.
40.17151 ++
40.17152 ++The Debian maintainers have made minor changes to this software in
40.17153 ++order to better integrate the software with Debian's SGML environment,
40.17154 ++and for the creation and use of libsp as a shared library.  All
40.17155 ++Debian-specific modifications and build scripts are licensed under the
40.17156 ++GNU General Public License (GPL) version 2 or later.  You can find a
40.17157 ++copy of the GPL in /usr/share/common-licenses/GPL on Debian systems.
40.17158 +--- openjade1.3-1.3.2.orig/debian/jade.1
40.17159 ++++ openjade1.3-1.3.2/debian/jade.1
40.17160 +@@ -0,0 +1,32 @@
40.17161 ++.TH OPENJADE1.3 1
40.17162 ++.SH NAME
40.17163 ++openjade1.3 \- applies a DSSSL stylesheet to an SGML or XML document
40.17164 ++.SH SYNOPSIS
40.17165 ++.B openjade1.3
40.17166 ++.I "[options] files ..."
40.17167 ++.SH "DESCRIPTION"
40.17168 ++This manual page documents briefly the
40.17169 ++.BR openjade1.3
40.17170 ++command.
40.17171 ++This manual page was written for the Debian GNU/Linux distribution
40.17172 ++(but may be used by others), because the original program does not
40.17173 ++have a manual page.
40.17174 ++Instead, it has documentation in HTML format; see below.
40.17175 ++.PP
40.17176 ++.B openjade
40.17177 ++is an implementation of the DSSSL style language.  It is the
40.17178 ++continuation of the development of James Clark's
40.17179 ++.B jade
40.17180 ++processor (James' DSSSL Engine), whose development has been stopped.
40.17181 ++This is the latest version of the 1.3 branch, which is the stable
40.17182 ++branch.  The
40.17183 ++.B openjade
40.17184 ++package currently contains a bleeding-edge 1.4devel version.
40.17185 ++.SH OPTIONS
40.17186 ++For a complete description, see the html files.
40.17187 ++.SH "SEE ALSO"
40.17188 ++The programs are documented fully in
40.17189 ++.B /usr/share/doc/openjade1.3/index.htm
40.17190 ++.SH AUTHOR
40.17191 ++This manual page was written by Mark W. Eichin <eichin@kitten.gen.ma.us>,
40.17192 ++for the Debian GNU/Linux system, and updated by Yann Dirson <dirson@debian.org>.
40.17193 +--- openjade1.3-1.3.2.orig/debian/jade.doc-base
40.17194 ++++ openjade1.3-1.3.2/debian/jade.doc-base
40.17195 +@@ -0,0 +1,13 @@
40.17196 ++Document: jade
40.17197 ++Title: Jade Users Manual
40.17198 ++Author: James Clark <jjc@jclark.com>
40.17199 ++Abstract: Users manual and documentation for Jade.
40.17200 ++  Jade is an implementation of the DSSSL style language.
40.17201 ++  This allows you to flexibly format SGML and XML data to
40.17202 ++  media-specific back-ends, including TeX, RTF, and other
40.17203 ++  XML or SGML files.
40.17204 ++Section: Text
40.17205 ++
40.17206 ++Format: HTML
40.17207 ++Index: /usr/share/doc/jade/jade.htm
40.17208 ++Files: /usr/share/doc/jade/*.htm
40.17209 +--- openjade1.3-1.3.2.orig/debian/jade.postinst
40.17210 ++++ openjade1.3-1.3.2/debian/jade.postinst
40.17211 +@@ -0,0 +1,25 @@
40.17212 ++#!/bin/sh
40.17213 ++
40.17214 ++set -e
40.17215 ++
40.17216 ++case "$1" in
40.17217 ++    configure)
40.17218 ++	# warning if we locate old cruft in the catalog
40.17219 ++	if grep -q "^-- SGML BEGIN dsssl.cat" /etc/sgml.catalog; then
40.17220 ++	    echo "Found old DSSSL DTD entries in /etc/sgml.catalog"
40.17221 ++	    echo "Advise that you run /usr/lib/jade/scrub-dsssl-catalog-cruft"
40.17222 ++	    echo " [ press any key to continue ]"
40.17223 ++	    read $ANS
40.17224 ++	fi
40.17225 ++
40.17226 ++	# another crufy old name for jade's DTDs
40.17227 ++	install-sgmlcatalog --remove dsssl || true
40.17228 ++
40.17229 ++	# install jade's proper catalog entries
40.17230 ++	install-sgmlcatalog --install /usr/lib/jade/catalog jade
40.17231 ++    ;;
40.17232 ++esac
40.17233 ++
40.17234 ++#DEBHELPER#
40.17235 ++
40.17236 ++exit 0
40.17237 +--- openjade1.3-1.3.2.orig/debian/jade.prerm
40.17238 ++++ openjade1.3-1.3.2/debian/jade.prerm
40.17239 +@@ -0,0 +1,14 @@
40.17240 ++#!/bin/sh
40.17241 ++
40.17242 ++set -e
40.17243 ++
40.17244 ++case "$1" in
40.17245 ++    remove|deconfigure|upgrade)
40.17246 ++	# remove jade catalog
40.17247 ++	install-sgmlcatalog --remove jade
40.17248 ++    ;;
40.17249 ++esac
40.17250 ++
40.17251 ++#DEBHELPER#
40.17252 ++
40.17253 ++exit 0
40.17254 +--- openjade1.3-1.3.2.orig/debian/openjade1.3.sgmlcatalogs
40.17255 ++++ openjade1.3-1.3.2/debian/openjade1.3.sgmlcatalogs
40.17256 +@@ -0,0 +1 @@
40.17257 ++dsssl/catalog /usr/share/sgml/openjade1.3/catalog
40.17258 +--- openjade1.3-1.3.2.orig/debian/postinst
40.17259 ++++ openjade1.3-1.3.2/debian/postinst
40.17260 +@@ -0,0 +1,7 @@
40.17261 ++#!/bin/sh
40.17262 ++set -e
40.17263 ++
40.17264 ++update-alternatives --install /usr/bin/openjade openjade /usr/bin/openjade1.3 103 \
40.17265 ++    --slave /usr/share/man/man1/openjade.1.gz openjade.1.gz /usr/share/man/man1/openjade1.3.1.gz
40.17266 ++
40.17267 ++#DEBHELPER#
40.17268 +--- openjade1.3-1.3.2.orig/debian/prerm
40.17269 ++++ openjade1.3-1.3.2/debian/prerm
40.17270 +@@ -0,0 +1,6 @@
40.17271 ++#!/bin/sh
40.17272 ++set -e
40.17273 ++
40.17274 ++update-alternatives --remove openjade /usr/bin/openjade1.3
40.17275 ++
40.17276 ++#DEBHELPER#
40.17277 +--- openjade1.3-1.3.2.orig/debian/rules
40.17278 ++++ openjade1.3-1.3.2/debian/rules
40.17279 +@@ -0,0 +1,173 @@
40.17280 ++#!/usr/bin/make -f
40.17281 ++# rules file for jade
40.17282 ++#
40.17283 ++# The principle of these rules files are simplicity, robustness,
40.17284 ++# ease of maintenance, and readability through abstraction
40.17285 ++#
40.17286 ++# Some bytes in this file may have been touched by Ian Jackson,
40.17287 ++# so I can never remove his name from this file.  Oh boy.
40.17288 ++
40.17289 ++export DH_VERBOSE=1
40.17290 ++
40.17291 ++pkg-jade	:= openjade1.3
40.17292 ++
40.17293 ++# default SGML dir
40.17294 ++sgmldir		:= /usr/share/sgml
40.17295 ++local-sgmldir	:= /usr/local/share/sgml
40.17296 ++
40.17297 ++# default SGML pathing - see /usr/share/doc/opensp/sysid.htm
40.17298 ++default-sgml-path	:= $(local-sgmldir):$(sgmldir)
40.17299 ++default-catalogs	:= /etc/sgml/catalog
40.17300 ++
40.17301 ++# directory abstraction
40.17302 ++prefix-jade	:= debian/tmp
40.17303 ++bindir-jade	:= $(prefix-jade)/usr/bin
40.17304 ++libdir-jade	:= $(prefix-jade)/usr/lib
40.17305 ++sgmldir-jade	:= $(prefix-jade)/usr/share/sgml/$(pkg-jade)
40.17306 ++docdir-jade	:= $(prefix-jade)/usr/share/doc/$(pkg-jade)
40.17307 ++infodir-jade	:= $(prefix-jade)/usr/share/info
40.17308 ++sharedir-jade	:= $(prefix-jade)/usr/share
40.17309 ++mandir-jade	:= $(prefix-jade)/usr/share/man/man1
40.17310 ++
40.17311 ++# build tool abstraction
40.17312 ++install_file	:= install -o root -g root -m 644 -p
40.17313 ++install_script	:= install -o root -g root -m 755 -p
40.17314 ++install_program	:= install -o root -g root -m 755 -p --strip
40.17315 ++make_directory	:= install -d -o root -g root -m 755
40.17316 ++
40.17317 ++# determine our top level
40.17318 ++SRCDIR		:= $(shell pwd)
40.17319 ++
40.17320 ++CFLAGS		:= -g -pipe
40.17321 ++CXXFLAGS	:= -g -pipe -fpermissive
40.17322 ++ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
40.17323 ++  CFLAGS += -O0
40.17324 ++  CXXFLAGS += -O0
40.17325 ++else
40.17326 ++  CFLAGS += -O2
40.17327 ++  CXXFLAGS += -O2
40.17328 ++endif
40.17329 ++export CFLAGS
40.17330 ++export CXXFLAGS
40.17331 ++
40.17332 ++config.status:
40.17333 ++	dh_autotools-dev_updateconfig
40.17334 ++	./configure --prefix=/usr \
40.17335 ++	   --datadir=\$${prefix}/share/sgml/openjade1.3 \
40.17336 ++	   --enable-static --disable-shared \
40.17337 ++	   --enable-html --enable-http --enable-mif
40.17338 ++
40.17339 ++build: build-arch build-indep
40.17340 ++build-arch: build-stamp
40.17341 ++build-indep: build-stamp
40.17342 ++build-stamp: config.status
40.17343 ++	dh_testdir
40.17344 ++	$(MAKE)
40.17345 ++	touch build-stamp
40.17346 ++
40.17347 ++clean:
40.17348 ++	dh_testdir
40.17349 ++	rm -f build binary-arch
40.17350 ++	[ ! -f Makefile ] || $(MAKE) clean mrproper
40.17351 ++	rm -f sx/sx_inst.cxx sx/XmlOutputMessages.rc sx/XmlOutputMessages.h sx/SxMessages.rc sx/SxMessages.h style/style_inst.cxx style/primitive_inst.cxx style/InterpreterMessages.rc style/InterpreterMessages.h style/InterpreterMessages.h style/FlowObj_inst.cxx style/DssslAppMessages.rc style/DssslAppMessages.h spgrove/grove_inst.cxx spam/spam_inst.cxx spam/SpamMessages.rc spam/SpamMessages.h nsgmls/nsgmls_inst.cxx nsgmls/RastEventHandlerMessages.rc /nsgmls/RastEventHandlerMessages.h nsgmls/NsgmlsMessages.rc nsgmls/NsgmlsMessages.h lib/xentmgr_inst.cxx lib/version.h lib/parser_inst.cxx lib/entmgr_inst.cxx lib/arc_inst.cxx lib/app_inst.cxx lib/URLStorageMessages.rc lib/URLStorageMessages.h lib/StdioStorageMessages.rc lib/StdioStorageMessages.h lib/PosixStorageMessages.rc lib/PosixStorageMessages.h lib/ParserMessages.rc lib/ParserMessages.h lib/ParserMessages.cxx lib/ParserAppMessages.rc lib/ParserAppMessages.h lib/MessageReporterMessages.rc lib/MessageReporterMessages.h lib/MessageFormatterMessages.rc lib/MessageFormatterMessages.h lib/EntityManagerMessages.rc lib/EntityManagerMessages.h lib/CmdLineAppMessages.rc lib/CmdLineAppMessages.h lib/CatalogMessages.rc lib/CatalogMessages.h lib/ArcEngineMessages.rc lib/ArcEngineMessages.h jade/TransformFOTBuilder_inst.cxx jade/TeXMessages.rc jade/TeXMessages.h jade/TeXFOTBuilder_inst.cxx jade/RtfMessages.rc jade/RtfMessages.h jade/RtfFOTBuilder_inst.cxx jade/MifMessages.rc jade/MifMessages.h jade/MifFOTBuilder_inst.cxx jade/JadeMessages.rc jade/JadeMessages.h jade/HtmlMessages.rc jade/HtmlMessages.h jade/HtmlFOTBuilder_inst.cxx include/config.h Makefile.lib Makefile.comm Makefile.prog
40.17352 ++#	test ! -f Makefile.dist || $(MAKE) mrproper
40.17353 ++#	rm -f `find . -name "*~"`
40.17354 ++#	rm -rf $(prefix-jade)
40.17355 ++	rm -f debian/copyright debian/files* core \
40.17356 ++		config.status config.log Makefile
40.17357 ++#	 these are created in the binary-arch rule
40.17358 ++	rm -f debian/README.Debian debian/substvars debian/shlibs* \
40.17359 ++	      debian/sp.conffiles
40.17360 ++# 	 some stuff that should be cleaned in upstream Makefile
40.17361 ++#	find . -name 'Makefile.dep' | xargs rm -f
40.17362 ++#	rm -f libtool
40.17363 ++	dh_autotools-dev_restoreconfig
40.17364 ++	dh_clean
40.17365 ++
40.17366 ++binary-indep:	build
40.17367 ++# There are no architecture-independent files to be uploaded
40.17368 ++# generated by this package.
40.17369 ++
40.17370 ++binary-arch:	build
40.17371 ++	dh_testdir
40.17372 ++	dh_testroot
40.17373 ++	rm -rf $(prefix-jade)
40.17374 ++
40.17375 ++#	 lets create our debian-std copyright file; I like to ensure
40.17376 ++#	 I have a verbatim copy of the upstream copyright by cat'ing
40.17377 ++#	 the Debian-specific stuff to the end
40.17378 ++	cat COPYING debian/copyright.Debian > debian/copyright
40.17379 ++
40.17380 ++#	 substitution in README.Debian
40.17381 ++	sed -e 's|%{default-catalogs}|$(default-catalogs)|;' \
40.17382 ++	-e 's|%{default-sgml-path}|$(default-sgml-path)|;' \
40.17383 ++	-e 's|%{sgmldir}|$(sgmldir)|;' \
40.17384 ++	debian/README.Debian.in > debian/README.Debian
40.17385 ++
40.17386 ++##
40.17387 ++##	 install jade
40.17388 ++	$(make_directory) $(bindir-jade) $(sgmldir-jade) $(docdir-jade) \
40.17389 ++	    $(mandir-jade)
40.17390 ++
40.17391 ++	$(MAKE) install PROGDIRS="jade" LIBDIRS=""			\
40.17392 ++	    prefix=$(SRCDIR)/$(prefix-jade)/usr INSTALL="$(install_script)"
40.17393 ++
40.17394 ++#	 rename to avoid conflict
40.17395 ++	cd $(SRCDIR)/$(prefix-jade)/usr/bin && mv openjade openjade1.3
40.17396 ++
40.17397 ++#	 upstream makefile installs builtins.dsl to bogus location
40.17398 ++	rm -f $(sharedir-jade)/builtins.dsl
40.17399 ++
40.17400 ++#	 check these in dsssl/catalog
40.17401 ++	$(make_directory) $(sgmldir-jade)
40.17402 ++	$(install_file) dsssl/builtins.dsl $(sgmldir-jade)
40.17403 ++	$(install_file) dsssl/dsssl.dtd $(sgmldir-jade)
40.17404 ++	$(install_file) dsssl/style-sheet.dtd $(sgmldir-jade)
40.17405 ++	$(install_file) dsssl/fot.dtd $(sgmldir-jade)
40.17406 ++# 	$(install_file) dsssl/catalog $(sgmldir-jade)
40.17407 ++#	 fix the catalog to reference DTDs in the 'dtd' directory
40.17408 ++#	perl -pi -e 's|"([^"]+\.dtd)"|"dtd/$$1"|;' $(libdir-jade)/catalog
40.17409 ++#	 make the links
40.17410 ++#	/usr/share/sgml-data/sgml-catalog-check.pl -l -v 0 -d		\
40.17411 ++#		$(sgmldir-jade) $(libdir-jade)/catalog
40.17412 ++
40.17413 ++#	 install our little cruft-removing script
40.17414 ++#	$(install_script) debian/scrub-dsssl-catalog-cruft $(libdir-jade)/
40.17415 ++
40.17416 ++#	 install HTML documentation
40.17417 ++	dh_installdocs -p$(pkg-jade) jadedoc/*.htm
40.17418 ++	ln -s index.htm $(docdir-jade)/index.html
40.17419 ++	dh_installchangelogs -p$(pkg-jade)
40.17420 ++	dh_buildinfo
40.17421 ++
40.17422 ++#	 install man pages
40.17423 ++	$(install_file) debian/jade.1 $(mandir-jade)/openjade1.3.1
40.17424 ++
40.17425 ++#	 install examples
40.17426 ++	dh_installexamples -p$(pkg-jade) dsssl/demo.*
40.17427 ++
40.17428 ++#	 make sure control files are good
40.17429 ++	sh -n debian/jade.postinst
40.17430 ++	sh -n debian/jade.prerm
40.17431 ++
40.17432 ++	dh_installcatalogs
40.17433 ++
40.17434 ++	dh_strip -a
40.17435 ++	dh_compress -a
40.17436 ++	dh_fixperms -a
40.17437 ++
40.17438 ++	dh_installdeb -a
40.17439 ++
40.17440 ++	dh_shlibdeps -a
40.17441 ++	dh_gencontrol -a
40.17442 ++	dh_md5sums -a
40.17443 ++	dh_builddeb -a
40.17444 ++
40.17445 ++binary:		binary-indep binary-arch
40.17446 ++
40.17447 ++.PHONY: binary binary-indep clean
40.17448 ++
40.17449 ++# Local variables:
40.17450 ++# mode: makefile
40.17451 ++# compile-command: "cd .. && fakeroot dpkg-buildpackage -uc -us"
40.17452 ++# End:
40.17453 +--- openjade1.3-1.3.2.orig/debian/scrub-dsssl-catalog-cruft
40.17454 ++++ openjade1.3-1.3.2/debian/scrub-dsssl-catalog-cruft
40.17455 +@@ -0,0 +1,31 @@
40.17456 ++#!/bin/sh
40.17457 ++
40.17458 ++set -e
40.17459 ++
40.17460 ++# catalog info based on dsssl/catalog
40.17461 ++
40.17462 ++CAT=/etc/sgml.catalog
40.17463 ++# the _FIX makes it actually put in the dsssl.cat instead of the davenport one
40.17464 ++SIG="9ed965b566274159f9ea7c7feb9cc48c_FIX"
40.17465 ++SBEG="-- SGML BEGIN dsssl.cat"
40.17466 ++SEND="-- SGML END dsssl.cat"
40.17467 ++SIGNBEG="$SBEG $SIG --"
40.17468 ++SIGNEND="$SEND $SIG --"
40.17469 ++
40.17470 ++# *always* ditch the old crufty entries.
40.17471 ++if grep -q "^$SBEG" $CAT && grep -q "^$SEND" $CAT; then
40.17472 ++    echo "Cleaning out DSSSL DTD entries from $CAT on $1."
40.17473 ++    sed -e "/$SBEG/,/$SEND/d" < $CAT > ${CAT}.new
40.17474 ++    mv ${CAT}.new ${CAT}
40.17475 ++else
40.17476 ++    if grep -q "fot.dtd" $CAT && \
40.17477 ++       grep -q "dsssl.dtd" $CAT && \
40.17478 ++       grep -q "style-sheet.dtd" $CAT
40.17479 ++    then
40.17480 ++	echo "Untagged entries found, cleaning"
40.17481 ++	grep -v "fot.dtd" < $CAT | \
40.17482 ++	  grep -v "dsssl.dtd" | \
40.17483 ++	  grep -v "style-sheet.dtd" > ${CAT}.new
40.17484 ++	mv ${CAT}.new ${CAT}
40.17485 ++    fi
40.17486 ++fi
40.17487 +--- openjade1.3-1.3.2.orig/debian/source/format
40.17488 ++++ openjade1.3-1.3.2/debian/source/format
40.17489 +@@ -0,0 +1 @@
40.17490 ++1.0
40.17491 +--- openjade1.3-1.3.2.orig/jade/Makefile.sub
40.17492 ++++ openjade1.3-1.3.2/jade/Makefile.sub
40.17493 +@@ -4,7 +4,7 @@
40.17494 + INCLUDE=-I$(srcdir)/../grove -I$(srcdir)/../spgrove -I$(srcdir)/../style
40.17495 + # XLIBS=../style/libostyle.a ../spgrove/libospgrove.a ../grove/libogrove.a \
40.17496 + #   ../lib/libosp.a
40.17497 +-XLIBS=../style/libostyle.a ../spgrove/libospgrove.a ../grove/libogrove.a $(splibdir)/libosp.a
40.17498 ++XLIBS=../style/libostyle.a ../spgrove/libospgrove.a ../grove/libogrove.a -losp
40.17499 + GENSRCS=JadeMessages.h HtmlMessages.h RtfMessages.h TeXMessages.h \
40.17500 +  HtmlFOTBuilder_inst.cxx RtfFOTBuilder_inst.cxx  TeXFOTBuilder_inst.cxx \
40.17501 +  TransformFOTBuilder_inst.cxx MifMessages.h MifFOTBuilder_inst.cxx
40.17502 +--- openjade1.3-1.3.2.orig/jadedoc/index.htm
40.17503 ++++ openjade1.3-1.3.2/jadedoc/index.htm
40.17504 +@@ -214,13 +214,13 @@
40.17505 + 
40.17506 +         <h2><a name="using"><font face="Arial">Using OpenJade</font></a></h2>
40.17507 +         <p><font face="Arial">Add the directory containing the
40.17508 +-        OpenJade binary to your path, change directory to the
40.17509 +-        dsssl directory, and do </font></p>
40.17510 ++        OpenJade binary to your path, change directory to the examples
40.17511 ++  directory (<code>/usr/share/doc/openjade1.3/examples</code>) and do </font></p>
40.17512 +         <pre><font face="Arial">
40.17513 +-openjade demo.sgm
40.17514 ++openjade1.3 -o /tmp/demo.fot -d demo.dsl demo.sgm
40.17515 + </font></pre>
40.17516 +         <p><font face="Arial">If everything is working, there
40.17517 +-        should be a well-formed XML file <code>demo.fot</code>
40.17518 ++        should be a well-formed XML file <code>/tmp/demo.fot</code>
40.17519 +         created. </font></p>
40.17520 +         <p><font face="Arial">The system identifier of the
40.17521 +         document to be processed is specified as an argument to
40.17522 +--- openjade1.3-1.3.2.orig/libtool
40.17523 ++++ openjade1.3-1.3.2/libtool
40.17524 +@@ -0,0 +1,5229 @@
40.17525 ++#! /bin/bash
40.17526 ++
40.17527 ++# libtool - Provide generalized library-building support services.
40.17528 ++# Generated automatically by  (GNU openjade 1.3.2)
40.17529 ++# NOTE: Changes made to this file will be lost: look at ltmain.sh.
40.17530 ++#
40.17531 ++# Copyright (C) 1996-2000 Free Software Foundation, Inc.
40.17532 ++# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
40.17533 ++#
40.17534 ++# This program is free software; you can redistribute it and/or modify
40.17535 ++# it under the terms of the GNU General Public License as published by
40.17536 ++# the Free Software Foundation; either version 2 of the License, or
40.17537 ++# (at your option) any later version.
40.17538 ++#
40.17539 ++# This program is distributed in the hope that it will be useful, but
40.17540 ++# WITHOUT ANY WARRANTY; without even the implied warranty of
40.17541 ++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
40.17542 ++# General Public License for more details.
40.17543 ++#
40.17544 ++# You should have received a copy of the GNU General Public License
40.17545 ++# along with this program; if not, write to the Free Software
40.17546 ++# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
40.17547 ++#
40.17548 ++# As a special exception to the GNU General Public License, if you
40.17549 ++# distribute this file as part of a program that contains a
40.17550 ++# configuration script generated by Autoconf, you may include it under
40.17551 ++# the same distribution terms that you use for the rest of that program.
40.17552 ++
40.17553 ++# Sed that helps us avoid accidentally triggering echo(1) options like -n.
40.17554 ++Xsed="sed -e s/^X//"
40.17555 ++
40.17556 ++# The HP-UX ksh and POSIX shell print the target directory to stdout
40.17557 ++# if CDPATH is set.
40.17558 ++if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
40.17559 ++
40.17560 ++# ### BEGIN LIBTOOL CONFIG
40.17561 ++
40.17562 ++# Libtool was configured on host blackbox:
40.17563 ++
40.17564 ++# Shell to use when invoking shell scripts.
40.17565 ++SHELL="/bin/bash"
40.17566 ++
40.17567 ++# Whether or not to build shared libraries.
40.17568 ++build_libtool_libs=no
40.17569 ++
40.17570 ++# Whether or not to add -lc for building shared libraries.
40.17571 ++build_libtool_need_lc=yes
40.17572 ++
40.17573 ++# Whether or not to build static libraries.
40.17574 ++build_old_libs=yes
40.17575 ++
40.17576 ++# Whether or not to optimize for fast installation.
40.17577 ++fast_install=needless
40.17578 ++
40.17579 ++# The host system.
40.17580 ++host_alias=
40.17581 ++host=x86_64-unknown-linux-gnu
40.17582 ++
40.17583 ++# An echo program that does not interpret backslashes.
40.17584 ++echo="echo"
40.17585 ++
40.17586 ++# The archiver.
40.17587 ++AR="ar"
40.17588 ++AR_FLAGS="cru"
40.17589 ++
40.17590 ++# The default C compiler.
40.17591 ++CC="gcc"
40.17592 ++
40.17593 ++# Is the compiler the GNU C compiler?
40.17594 ++with_gcc=yes
40.17595 ++
40.17596 ++# The linker used to build libraries.
40.17597 ++LD="/usr/bin/ld"
40.17598 ++
40.17599 ++# Whether we need hard or soft links.
40.17600 ++LN_S="ln -s"
40.17601 ++
40.17602 ++# A BSD-compatible nm program.
40.17603 ++NM="/usr/bin/nm -B"
40.17604 ++
40.17605 ++# A symbol stripping program
40.17606 ++STRIP=strip
40.17607 ++
40.17608 ++# Used to examine libraries when file_magic_cmd begins "file"
40.17609 ++MAGIC_CMD=/usr/bin/file
40.17610 ++
40.17611 ++# Used on cygwin: DLL creation program.
40.17612 ++DLLTOOL="dlltool"
40.17613 ++
40.17614 ++# Used on cygwin: object dumper.
40.17615 ++OBJDUMP="objdump"
40.17616 ++
40.17617 ++# Used on cygwin: assembler.
40.17618 ++AS="as"
40.17619 ++
40.17620 ++# The name of the directory that contains temporary libtool files.
40.17621 ++objdir=.libs
40.17622 ++
40.17623 ++# How to create reloadable object files.
40.17624 ++reload_flag=" -r"
40.17625 ++reload_cmds="\$LD\$reload_flag -o \$output\$reload_objs"
40.17626 ++
40.17627 ++# How to pass a linker flag through the compiler.
40.17628 ++wl="-Wl,"
40.17629 ++
40.17630 ++# Object file suffix (normally "o").
40.17631 ++objext="o"
40.17632 ++
40.17633 ++# Old archive suffix (normally "a").
40.17634 ++libext="a"
40.17635 ++
40.17636 ++# Executable file suffix (normally "").
40.17637 ++exeext=""
40.17638 ++
40.17639 ++# Additional compiler flags for building library objects.
40.17640 ++pic_flag=" -fPIC"
40.17641 ++pic_mode=default
40.17642 ++
40.17643 ++# Does compiler simultaneously support -c and -o options?
40.17644 ++compiler_c_o="no"
40.17645 ++
40.17646 ++# Can we write directly to a .lo ?
40.17647 ++compiler_o_lo="no"
40.17648 ++
40.17649 ++# Must we lock files when doing compilation ?
40.17650 ++need_locks="yes"
40.17651 ++
40.17652 ++# Do we need the lib prefix for modules?
40.17653 ++need_lib_prefix=no
40.17654 ++
40.17655 ++# Do we need a version for libraries?
40.17656 ++need_version=no
40.17657 ++
40.17658 ++# Whether dlopen is supported.
40.17659 ++dlopen_support=unknown
40.17660 ++
40.17661 ++# Whether dlopen of programs is supported.
40.17662 ++dlopen_self=unknown
40.17663 ++
40.17664 ++# Whether dlopen of statically linked programs is supported.
40.17665 ++dlopen_self_static=unknown
40.17666 ++
40.17667 ++# Compiler flag to prevent dynamic linking.
40.17668 ++link_static_flag="-static"
40.17669 ++
40.17670 ++# Compiler flag to turn off builtin functions.
40.17671 ++no_builtin_flag=" -fno-builtin -fno-rtti -fno-exceptions"
40.17672 ++
40.17673 ++# Compiler flag to allow reflexive dlopens.
40.17674 ++export_dynamic_flag_spec="\${wl}--export-dynamic"
40.17675 ++
40.17676 ++# Compiler flag to generate shared objects directly from archives.
40.17677 ++whole_archive_flag_spec="\${wl}--whole-archive\$convenience \${wl}--no-whole-archive"
40.17678 ++
40.17679 ++# Compiler flag to generate thread-safe objects.
40.17680 ++thread_safe_flag_spec=""
40.17681 ++
40.17682 ++# Library versioning type.
40.17683 ++version_type=linux
40.17684 ++
40.17685 ++# Format of library name prefix.
40.17686 ++libname_spec="lib\$name"
40.17687 ++
40.17688 ++# List of archive names.  First name is the real one, the rest are links.
40.17689 ++# The last name is the one that the linker finds with -lNAME.
40.17690 ++library_names_spec="\${libname}\${release}.so\$versuffix \${libname}\${release}.so\$major \$libname.so"
40.17691 ++
40.17692 ++# The coded name of the library, if different from the real name.
40.17693 ++soname_spec="\${libname}\${release}.so\$major"
40.17694 ++
40.17695 ++# Commands used to build and install an old-style archive.
40.17696 ++RANLIB="ranlib"
40.17697 ++old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs\$old_deplibs~\$RANLIB \$oldlib"
40.17698 ++old_postinstall_cmds="\$RANLIB \$oldlib~chmod 644 \$oldlib"
40.17699 ++old_postuninstall_cmds=""
40.17700 ++
40.17701 ++# Create an old-style archive from a shared archive.
40.17702 ++old_archive_from_new_cmds=""
40.17703 ++
40.17704 ++# Create a temporary old-style archive to link instead of a shared archive.
40.17705 ++old_archive_from_expsyms_cmds=""
40.17706 ++
40.17707 ++# Commands used to build and install a shared archive.
40.17708 ++archive_cmds="\$CC -shared \$libobjs \$deplibs \$compiler_flags \${wl}-soname \$wl\$soname -o \$lib"
40.17709 ++archive_expsym_cmds="\$CC -shared \$libobjs \$deplibs \$compiler_flags \${wl}-soname \$wl\$soname \${wl}-retain-symbols-file \$wl\$export_symbols -o \$lib"
40.17710 ++postinstall_cmds=""
40.17711 ++postuninstall_cmds=""
40.17712 ++
40.17713 ++# Commands to strip libraries.
40.17714 ++old_striplib="strip --strip-debug"
40.17715 ++striplib="strip --strip-unneeded"
40.17716 ++
40.17717 ++# Method to check whether dependent libraries are shared objects.
40.17718 ++deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )"
40.17719 ++
40.17720 ++# Command to use when deplibs_check_method == file_magic.
40.17721 ++file_magic_cmd="\$MAGIC_CMD"
40.17722 ++
40.17723 ++# Flag that allows shared libraries with undefined symbols to be built.
40.17724 ++allow_undefined_flag=""
40.17725 ++
40.17726 ++# Flag that forces no undefined symbols.
40.17727 ++no_undefined_flag=""
40.17728 ++
40.17729 ++# Commands used to finish a libtool library installation in a directory.
40.17730 ++finish_cmds="PATH=\\\"\\\$PATH:/sbin\\\" ldconfig -n \$libdir"
40.17731 ++
40.17732 ++# Same as above, but a single script fragment to be evaled but not shown.
40.17733 ++finish_eval=""
40.17734 ++
40.17735 ++# Take the output of nm and produce a listing of raw symbols and C names.
40.17736 ++global_symbol_pipe="sed -n -e 's/^.*[ 	]\\([ABCDGISTW][ABCDGISTW]*\\)[ 	][ 	]*\\(\\)\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2\\3 \\3/p'"
40.17737 ++
40.17738 ++# Transform the output of nm in a proper C declaration
40.17739 ++global_symbol_to_cdecl="sed -n -e 's/^. .* \\(.*\\)\$/extern char \\1;/p'"
40.17740 ++
40.17741 ++# This is the shared library runtime path variable.
40.17742 ++runpath_var=LD_RUN_PATH
40.17743 ++
40.17744 ++# This is the shared library path variable.
40.17745 ++shlibpath_var=LD_LIBRARY_PATH
40.17746 ++
40.17747 ++# Is shlibpath searched before the hard-coded library search path?
40.17748 ++shlibpath_overrides_runpath=no
40.17749 ++
40.17750 ++# How to hardcode a shared library path into an executable.
40.17751 ++hardcode_action=immediate
40.17752 ++
40.17753 ++# Whether we should hardcode library paths into libraries.
40.17754 ++hardcode_into_libs=yes
40.17755 ++
40.17756 ++# Flag to hardcode $libdir into a binary during linking.
40.17757 ++# This must work even if $libdir does not exist.
40.17758 ++hardcode_libdir_flag_spec="\${wl}--rpath \${wl}\$libdir"
40.17759 ++
40.17760 ++# Whether we need a single -rpath flag with a separated argument.
40.17761 ++hardcode_libdir_separator=""
40.17762 ++
40.17763 ++# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
40.17764 ++# resulting binary.
40.17765 ++hardcode_direct=no
40.17766 ++
40.17767 ++# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
40.17768 ++# resulting binary.
40.17769 ++hardcode_minus_L=no
40.17770 ++
40.17771 ++# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
40.17772 ++# the resulting binary.
40.17773 ++hardcode_shlibpath_var=unsupported
40.17774 ++
40.17775 ++# Variables whose values should be saved in libtool wrapper scripts and
40.17776 ++# restored at relink time.
40.17777 ++variables_saved_for_relink="PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
40.17778 ++
40.17779 ++# Whether libtool must link a program against all its dependency libraries.
40.17780 ++link_all_deplibs=unknown
40.17781 ++
40.17782 ++# Compile-time system search path for libraries
40.17783 ++sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
40.17784 ++
40.17785 ++# Run-time system search path for libraries
40.17786 ++sys_lib_dlsearch_path_spec="/lib /usr/lib"
40.17787 ++
40.17788 ++# Fix the shell variable $srcfile for the compiler.
40.17789 ++fix_srcfile_path=""
40.17790 ++
40.17791 ++# Set to yes if exported symbols are required.
40.17792 ++always_export_symbols=no
40.17793 ++
40.17794 ++# The commands to list exported symbols.
40.17795 ++export_symbols_cmds="\$NM \$libobjs \$convenience | \$global_symbol_pipe | sed 's/.* //' | sort | uniq > \$export_symbols"
40.17796 ++
40.17797 ++# The commands to extract the exported symbol list from a shared archive.
40.17798 ++extract_expsyms_cmds=""
40.17799 ++
40.17800 ++# Symbols that should not be listed in the preloaded symbols.
40.17801 ++exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
40.17802 ++
40.17803 ++# Symbols that must always be exported.
40.17804 ++include_expsyms=""
40.17805 ++
40.17806 ++# ### END LIBTOOL CONFIG
40.17807 ++
40.17808 ++# ltmain.sh - Provide generalized library-building support services.
40.17809 ++# NOTE: Changing this file will not affect anything until you rerun configure.
40.17810 ++#
40.17811 ++# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
40.17812 ++# Free Software Foundation, Inc.
40.17813 ++# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
40.17814 ++#
40.17815 ++# This program is free software; you can redistribute it and/or modify
40.17816 ++# it under the terms of the GNU General Public License as published by
40.17817 ++# the Free Software Foundation; either version 2 of the License, or
40.17818 ++# (at your option) any later version.
40.17819 ++#
40.17820 ++# This program is distributed in the hope that it will be useful, but
40.17821 ++# WITHOUT ANY WARRANTY; without even the implied warranty of
40.17822 ++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
40.17823 ++# General Public License for more details.
40.17824 ++#
40.17825 ++# You should have received a copy of the GNU General Public License
40.17826 ++# along with this program; if not, write to the Free Software
40.17827 ++# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
40.17828 ++#
40.17829 ++# As a special exception to the GNU General Public License, if you
40.17830 ++# distribute this file as part of a program that contains a
40.17831 ++# configuration script generated by Autoconf, you may include it under
40.17832 ++# the same distribution terms that you use for the rest of that program.
40.17833 ++
40.17834 ++# Check that we have a working $echo.
40.17835 ++if test "X$1" = X--no-reexec; then
40.17836 ++  # Discard the --no-reexec flag, and continue.
40.17837 ++  shift
40.17838 ++elif test "X$1" = X--fallback-echo; then
40.17839 ++  # Avoid inline document here, it may be left over
40.17840 ++  :
40.17841 ++elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
40.17842 ++  # Yippee, $echo works!
40.17843 ++  :
40.17844 ++else
40.17845 ++  # Restart under the correct shell, and then maybe $echo will work.
40.17846 ++  exec $SHELL "$0" --no-reexec ${1+"$@"}
40.17847 ++fi
40.17848 ++
40.17849 ++if test "X$1" = X--fallback-echo; then
40.17850 ++  # used as fallback echo
40.17851 ++  shift
40.17852 ++  cat <<EOF
40.17853 ++$*
40.17854 ++EOF
40.17855 ++  exit 0
40.17856 ++fi
40.17857 ++
40.17858 ++# The name of this program.
40.17859 ++progname=`$echo "$0" | sed 's%^.*/%%'`
40.17860 ++modename="$progname"
40.17861 ++
40.17862 ++# Constants.
40.17863 ++PROGRAM=ltmain.sh
40.17864 ++PACKAGE=libtool
40.17865 ++VERSION=1.4
40.17866 ++TIMESTAMP=" (1.920 2001/04/24 23:26:18)"
40.17867 ++
40.17868 ++default_mode=
40.17869 ++help="Try \`$progname --help' for more information."
40.17870 ++magic="%%%MAGIC variable%%%"
40.17871 ++mkdir="mkdir"
40.17872 ++mv="mv -f"
40.17873 ++rm="rm -f"
40.17874 ++
40.17875 ++# Sed substitution that helps us do robust quoting.  It backslashifies
40.17876 ++# metacharacters that are still active within double-quoted strings.
40.17877 ++Xsed='sed -e 1s/^X//'
40.17878 ++sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g'
40.17879 ++SP2NL='tr \040 \012'
40.17880 ++NL2SP='tr \015\012 \040\040'
40.17881 ++
40.17882 ++# NLS nuisances.
40.17883 ++# Only set LANG and LC_ALL to C if already set.
40.17884 ++# These must not be set unconditionally because not all systems understand
40.17885 ++# e.g. LANG=C (notably SCO).
40.17886 ++# We save the old values to restore during execute mode.
40.17887 ++if test "${LC_ALL+set}" = set; then
40.17888 ++  save_LC_ALL="$LC_ALL"; LC_ALL=C; export LC_ALL
40.17889 ++fi
40.17890 ++if test "${LANG+set}" = set; then
40.17891 ++  save_LANG="$LANG"; LANG=C; export LANG
40.17892 ++fi
40.17893 ++
40.17894 ++if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
40.17895 ++  echo "$modename: not configured to build any kind of library" 1>&2
40.17896 ++  echo "Fatal configuration error.  See the $PACKAGE docs for more information." 1>&2
40.17897 ++  exit 1
40.17898 ++fi
40.17899 ++
40.17900 ++# Global variables.
40.17901 ++mode=$default_mode
40.17902 ++nonopt=
40.17903 ++prev=
40.17904 ++prevopt=
40.17905 ++run=
40.17906 ++show="$echo"
40.17907 ++show_help=
40.17908 ++execute_dlfiles=
40.17909 ++lo2o="s/\\.lo\$/.${objext}/"
40.17910 ++o2lo="s/\\.${objext}\$/.lo/"
40.17911 ++
40.17912 ++# Parse our command line options once, thoroughly.
40.17913 ++while test $# -gt 0
40.17914 ++do
40.17915 ++  arg="$1"
40.17916 ++  shift
40.17917 ++
40.17918 ++  case $arg in
40.17919 ++  -*=*) optarg=`$echo "X$arg" | $Xsed -e 's/[-_a-zA-Z0-9]*=//'` ;;
40.17920 ++  *) optarg= ;;
40.17921 ++  esac
40.17922 ++
40.17923 ++  # If the previous option needs an argument, assign it.
40.17924 ++  if test -n "$prev"; then
40.17925 ++    case $prev in
40.17926 ++    execute_dlfiles)
40.17927 ++      execute_dlfiles="$execute_dlfiles $arg"
40.17928 ++      ;;
40.17929 ++    *)
40.17930 ++      eval "$prev=\$arg"
40.17931 ++      ;;
40.17932 ++    esac
40.17933 ++
40.17934 ++    prev=
40.17935 ++    prevopt=
40.17936 ++    continue
40.17937 ++  fi
40.17938 ++
40.17939 ++  # Have we seen a non-optional argument yet?
40.17940 ++  case $arg in
40.17941 ++  --help)
40.17942 ++    show_help=yes
40.17943 ++    ;;
40.17944 ++
40.17945 ++  --version)
40.17946 ++    echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP"
40.17947 ++    exit 0
40.17948 ++    ;;
40.17949 ++
40.17950 ++  --config)
40.17951 ++    sed -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $0
40.17952 ++    exit 0
40.17953 ++    ;;
40.17954 ++
40.17955 ++  --debug)
40.17956 ++    echo "$progname: enabling shell trace mode"
40.17957 ++    set -x
40.17958 ++    ;;
40.17959 ++
40.17960 ++  --dry-run | -n)
40.17961 ++    run=:
40.17962 ++    ;;
40.17963 ++
40.17964 ++  --features)
40.17965 ++    echo "host: $host"
40.17966 ++    if test "$build_libtool_libs" = yes; then
40.17967 ++      echo "enable shared libraries"
40.17968 ++    else
40.17969 ++      echo "disable shared libraries"
40.17970 ++    fi
40.17971 ++    if test "$build_old_libs" = yes; then
40.17972 ++      echo "enable static libraries"
40.17973 ++    else
40.17974 ++      echo "disable static libraries"
40.17975 ++    fi
40.17976 ++    exit 0
40.17977 ++    ;;
40.17978 ++
40.17979 ++  --finish) mode="finish" ;;
40.17980 ++
40.17981 ++  --mode) prevopt="--mode" prev=mode ;;
40.17982 ++  --mode=*) mode="$optarg" ;;
40.17983 ++
40.17984 ++  --quiet | --silent)
40.17985 ++    show=:
40.17986 ++    ;;
40.17987 ++
40.17988 ++  -dlopen)
40.17989 ++    prevopt="-dlopen"
40.17990 ++    prev=execute_dlfiles
40.17991 ++    ;;
40.17992 ++
40.17993 ++  -*)
40.17994 ++    $echo "$modename: unrecognized option \`$arg'" 1>&2
40.17995 ++    $echo "$help" 1>&2
40.17996 ++    exit 1
40.17997 ++    ;;
40.17998 ++
40.17999 ++  *)
40.18000 ++    nonopt="$arg"
40.18001 ++    break
40.18002 ++    ;;
40.18003 ++  esac
40.18004 ++done
40.18005 ++
40.18006 ++if test -n "$prevopt"; then
40.18007 ++  $echo "$modename: option \`$prevopt' requires an argument" 1>&2
40.18008 ++  $echo "$help" 1>&2
40.18009 ++  exit 1
40.18010 ++fi
40.18011 ++
40.18012 ++if test -z "$show_help"; then
40.18013 ++
40.18014 ++  # Infer the operation mode.
40.18015 ++  if test -z "$mode"; then
40.18016 ++    case $nonopt in
40.18017 ++    *cc | *++ | gcc* | *-gcc*)
40.18018 ++      mode=link
40.18019 ++      for arg
40.18020 ++      do
40.18021 ++	case $arg in
40.18022 ++	-c)
40.18023 ++	   mode=compile
40.18024 ++	   break
40.18025 ++	   ;;
40.18026 ++	esac
40.18027 ++      done
40.18028 ++      ;;
40.18029 ++    *db | *dbx | *strace | *truss)
40.18030 ++      mode=execute
40.18031 ++      ;;
40.18032 ++    *install*|cp|mv)
40.18033 ++      mode=install
40.18034 ++      ;;
40.18035 ++    *rm)
40.18036 ++      mode=uninstall
40.18037 ++      ;;
40.18038 ++    *)
40.18039 ++      # If we have no mode, but dlfiles were specified, then do execute mode.
40.18040 ++      test -n "$execute_dlfiles" && mode=execute
40.18041 ++
40.18042 ++      # Just use the default operation mode.
40.18043 ++      if test -z "$mode"; then
40.18044 ++	if test -n "$nonopt"; then
40.18045 ++	  $echo "$modename: warning: cannot infer operation mode from \`$nonopt'" 1>&2
40.18046 ++	else
40.18047 ++	  $echo "$modename: warning: cannot infer operation mode without MODE-ARGS" 1>&2
40.18048 ++	fi
40.18049 ++      fi
40.18050 ++      ;;
40.18051 ++    esac
40.18052 ++  fi
40.18053 ++
40.18054 ++  # Only execute mode is allowed to have -dlopen flags.
40.18055 ++  if test -n "$execute_dlfiles" && test "$mode" != execute; then
40.18056 ++    $echo "$modename: unrecognized option \`-dlopen'" 1>&2
40.18057 ++    $echo "$help" 1>&2
40.18058 ++    exit 1
40.18059 ++  fi
40.18060 ++
40.18061 ++  # Change the help message to a mode-specific one.
40.18062 ++  generic_help="$help"
40.18063 ++  help="Try \`$modename --help --mode=$mode' for more information."
40.18064 ++
40.18065 ++  # These modes are in order of execution frequency so that they run quickly.
40.18066 ++  case $mode in
40.18067 ++  # libtool compile mode
40.18068 ++  compile)
40.18069 ++    modename="$modename: compile"
40.18070 ++    # Get the compilation command and the source file.
40.18071 ++    base_compile=
40.18072 ++    prev=
40.18073 ++    lastarg=
40.18074 ++    srcfile="$nonopt"
40.18075 ++    suppress_output=
40.18076 ++
40.18077 ++    user_target=no
40.18078 ++    for arg
40.18079 ++    do
40.18080 ++      case $prev in
40.18081 ++      "") ;;
40.18082 ++      xcompiler)
40.18083 ++	# Aesthetically quote the previous argument.
40.18084 ++	prev=
40.18085 ++	lastarg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
40.18086 ++
40.18087 ++	case $arg in
40.18088 ++	# Double-quote args containing other shell metacharacters.
40.18089 ++	# Many Bourne shells cannot handle close brackets correctly
40.18090 ++	# in scan sets, so we specify it separately.
40.18091 ++	*[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*|"")
40.18092 ++	  arg="\"$arg\""
40.18093 ++	  ;;
40.18094 ++	esac
40.18095 ++
40.18096 ++	# Add the previous argument to base_compile.
40.18097 ++	if test -z "$base_compile"; then
40.18098 ++	  base_compile="$lastarg"
40.18099 ++	else
40.18100 ++	  base_compile="$base_compile $lastarg"
40.18101 ++	fi
40.18102 ++	continue
40.18103 ++	;;
40.18104 ++      esac
40.18105 ++
40.18106 ++      # Accept any command-line options.
40.18107 ++      case $arg in
40.18108 ++      -o)
40.18109 ++	if test "$user_target" != "no"; then
40.18110 ++	  $echo "$modename: you cannot specify \`-o' more than once" 1>&2
40.18111 ++	  exit 1
40.18112 ++	fi
40.18113 ++	user_target=next
40.18114 ++	;;
40.18115 ++
40.18116 ++      -static)
40.18117 ++	build_old_libs=yes
40.18118 ++	continue
40.18119 ++	;;
40.18120 ++
40.18121 ++      -prefer-pic)
40.18122 ++	pic_mode=yes
40.18123 ++	continue
40.18124 ++	;;
40.18125 ++
40.18126 ++      -prefer-non-pic)
40.18127 ++	pic_mode=no
40.18128 ++	continue
40.18129 ++	;;
40.18130 ++
40.18131 ++      -Xcompiler)
40.18132 ++	prev=xcompiler
40.18133 ++	continue
40.18134 ++	;;
40.18135 ++
40.18136 ++      -Wc,*)
40.18137 ++	args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"`
40.18138 ++	lastarg=
40.18139 ++	IFS="${IFS= 	}"; save_ifs="$IFS"; IFS=','
40.18140 ++	for arg in $args; do
40.18141 ++	  IFS="$save_ifs"
40.18142 ++
40.18143 ++	  # Double-quote args containing other shell metacharacters.
40.18144 ++	  # Many Bourne shells cannot handle close brackets correctly
40.18145 ++	  # in scan sets, so we specify it separately.
40.18146 ++	  case $arg in
40.18147 ++	    *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*|"")
40.18148 ++	    arg="\"$arg\""
40.18149 ++	    ;;
40.18150 ++	  esac
40.18151 ++	  lastarg="$lastarg $arg"
40.18152 ++	done
40.18153 ++	IFS="$save_ifs"
40.18154 ++	lastarg=`$echo "X$lastarg" | $Xsed -e "s/^ //"`
40.18155 ++
40.18156 ++	# Add the arguments to base_compile.
40.18157 ++	if test -z "$base_compile"; then
40.18158 ++	  base_compile="$lastarg"
40.18159 ++	else
40.18160 ++	  base_compile="$base_compile $lastarg"
40.18161 ++	fi
40.18162 ++	continue
40.18163 ++	;;
40.18164 ++      esac
40.18165 ++
40.18166 ++      case $user_target in
40.18167 ++      next)
40.18168 ++	# The next one is the -o target name
40.18169 ++	user_target=yes
40.18170 ++	continue
40.18171 ++	;;
40.18172 ++      yes)
40.18173 ++	# We got the output file
40.18174 ++	user_target=set
40.18175 ++	libobj="$arg"
40.18176 ++	continue
40.18177 ++	;;
40.18178 ++      esac
40.18179 ++
40.18180 ++      # Accept the current argument as the source file.
40.18181 ++      lastarg="$srcfile"
40.18182 ++      srcfile="$arg"
40.18183 ++
40.18184 ++      # Aesthetically quote the previous argument.
40.18185 ++
40.18186 ++      # Backslashify any backslashes, double quotes, and dollar signs.
40.18187 ++      # These are the only characters that are still specially
40.18188 ++      # interpreted inside of double-quoted scrings.
40.18189 ++      lastarg=`$echo "X$lastarg" | $Xsed -e "$sed_quote_subst"`
40.18190 ++
40.18191 ++      # Double-quote args containing other shell metacharacters.
40.18192 ++      # Many Bourne shells cannot handle close brackets correctly
40.18193 ++      # in scan sets, so we specify it separately.
40.18194 ++      case $lastarg in
40.18195 ++      *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*|"")
40.18196 ++	lastarg="\"$lastarg\""
40.18197 ++	;;
40.18198 ++      esac
40.18199 ++
40.18200 ++      # Add the previous argument to base_compile.
40.18201 ++      if test -z "$base_compile"; then
40.18202 ++	base_compile="$lastarg"
40.18203 ++      else
40.18204 ++	base_compile="$base_compile $lastarg"
40.18205 ++      fi
40.18206 ++    done
40.18207 ++
40.18208 ++    case $user_target in
40.18209 ++    set)
40.18210 ++      ;;
40.18211 ++    no)
40.18212 ++      # Get the name of the library object.
40.18213 ++      libobj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%'`
40.18214 ++      ;;
40.18215 ++    *)
40.18216 ++      $echo "$modename: you must specify a target with \`-o'" 1>&2
40.18217 ++      exit 1
40.18218 ++      ;;
40.18219 ++    esac
40.18220 ++
40.18221 ++    # Recognize several different file suffixes.
40.18222 ++    # If the user specifies -o file.o, it is replaced with file.lo
40.18223 ++    xform='[cCFSfmso]'
40.18224 ++    case $libobj in
40.18225 ++    *.ada) xform=ada ;;
40.18226 ++    *.adb) xform=adb ;;
40.18227 ++    *.ads) xform=ads ;;
40.18228 ++    *.asm) xform=asm ;;
40.18229 ++    *.c++) xform=c++ ;;
40.18230 ++    *.cc) xform=cc ;;
40.18231 ++    *.cpp) xform=cpp ;;
40.18232 ++    *.cxx) xform=cxx ;;
40.18233 ++    *.f90) xform=f90 ;;
40.18234 ++    *.for) xform=for ;;
40.18235 ++    esac
40.18236 ++
40.18237 ++    libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"`
40.18238 ++
40.18239 ++    case $libobj in
40.18240 ++    *.lo) obj=`$echo "X$libobj" | $Xsed -e "$lo2o"` ;;
40.18241 ++    *)
40.18242 ++      $echo "$modename: cannot determine name of library object from \`$libobj'" 1>&2
40.18243 ++      exit 1
40.18244 ++      ;;
40.18245 ++    esac
40.18246 ++
40.18247 ++    if test -z "$base_compile"; then
40.18248 ++      $echo "$modename: you must specify a compilation command" 1>&2
40.18249 ++      $echo "$help" 1>&2
40.18250 ++      exit 1
40.18251 ++    fi
40.18252 ++
40.18253 ++    # Delete any leftover library objects.
40.18254 ++    if test "$build_old_libs" = yes; then
40.18255 ++      removelist="$obj $libobj"
40.18256 ++    else
40.18257 ++      removelist="$libobj"
40.18258 ++    fi
40.18259 ++
40.18260 ++    $run $rm $removelist
40.18261 ++    trap "$run $rm $removelist; exit 1" 1 2 15
40.18262 ++
40.18263 ++    # On Cygwin there's no "real" PIC flag so we must build both object types
40.18264 ++    case $host_os in
40.18265 ++    cygwin* | mingw* | pw32* | os2*)
40.18266 ++      pic_mode=default
40.18267 ++      ;;
40.18268 ++    esac
40.18269 ++    if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then
40.18270 ++      # non-PIC code in shared libraries is not supported
40.18271 ++      pic_mode=default
40.18272 ++    fi
40.18273 ++
40.18274 ++    # Calculate the filename of the output object if compiler does
40.18275 ++    # not support -o with -c
40.18276 ++    if test "$compiler_c_o" = no; then
40.18277 ++      output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
40.18278 ++      lockfile="$output_obj.lock"
40.18279 ++      removelist="$removelist $output_obj $lockfile"
40.18280 ++      trap "$run $rm $removelist; exit 1" 1 2 15
40.18281 ++    else
40.18282 ++      need_locks=no
40.18283 ++      lockfile=
40.18284 ++    fi
40.18285 ++
40.18286 ++    # Lock this critical section if it is needed
40.18287 ++    # We use this script file to make the link, it avoids creating a new file
40.18288 ++    if test "$need_locks" = yes; then
40.18289 ++      until $run ln "$0" "$lockfile" 2>/dev/null; do
40.18290 ++	$show "Waiting for $lockfile to be removed"
40.18291 ++	sleep 2
40.18292 ++      done
40.18293 ++    elif test "$need_locks" = warn; then
40.18294 ++      if test -f "$lockfile"; then
40.18295 ++	echo "\
40.18296 ++*** ERROR, $lockfile exists and contains:
40.18297 ++`cat $lockfile 2>/dev/null`
40.18298 ++
40.18299 ++This indicates that another process is trying to use the same
40.18300 ++temporary object file, and libtool could not work around it because
40.18301 ++your compiler does not support \`-c' and \`-o' together.  If you
40.18302 ++repeat this compilation, it may succeed, by chance, but you had better
40.18303 ++avoid parallel builds (make -j) in this platform, or get a better
40.18304 ++compiler."
40.18305 ++
40.18306 ++	$run $rm $removelist
40.18307 ++	exit 1
40.18308 ++      fi
40.18309 ++      echo $srcfile > "$lockfile"
40.18310 ++    fi
40.18311 ++
40.18312 ++    if test -n "$fix_srcfile_path"; then
40.18313 ++      eval srcfile=\"$fix_srcfile_path\"
40.18314 ++    fi
40.18315 ++
40.18316 ++    # Only build a PIC object if we are building libtool libraries.
40.18317 ++    if test "$build_libtool_libs" = yes; then
40.18318 ++      # Without this assignment, base_compile gets emptied.
40.18319 ++      fbsd_hideous_sh_bug=$base_compile
40.18320 ++
40.18321 ++      if test "$pic_mode" != no; then
40.18322 ++	# All platforms use -DPIC, to notify preprocessed assembler code.
40.18323 ++	command="$base_compile $srcfile $pic_flag -DPIC"
40.18324 ++      else
40.18325 ++	# Don't build PIC code
40.18326 ++	command="$base_compile $srcfile"
40.18327 ++      fi
40.18328 ++      if test "$build_old_libs" = yes; then
40.18329 ++	lo_libobj="$libobj"
40.18330 ++	dir=`$echo "X$libobj" | $Xsed -e 's%/[^/]*$%%'`
40.18331 ++	if test "X$dir" = "X$libobj"; then
40.18332 ++	  dir="$objdir"
40.18333 ++	else
40.18334 ++	  dir="$dir/$objdir"
40.18335 ++	fi
40.18336 ++	libobj="$dir/"`$echo "X$libobj" | $Xsed -e 's%^.*/%%'`
40.18337 ++
40.18338 ++	if test -d "$dir"; then
40.18339 ++	  $show "$rm $libobj"
40.18340 ++	  $run $rm $libobj
40.18341 ++	else
40.18342 ++	  $show "$mkdir $dir"
40.18343 ++	  $run $mkdir $dir
40.18344 ++	  status=$?
40.18345 ++	  if test $status -ne 0 && test ! -d $dir; then
40.18346 ++	    exit $status
40.18347 ++	  fi
40.18348 ++	fi
40.18349 ++      fi
40.18350 ++      if test "$compiler_o_lo" = yes; then
40.18351 ++	output_obj="$libobj"
40.18352 ++	command="$command -o $output_obj"
40.18353 ++      elif test "$compiler_c_o" = yes; then
40.18354 ++	output_obj="$obj"
40.18355 ++	command="$command -o $output_obj"
40.18356 ++      fi
40.18357 ++
40.18358 ++      $run $rm "$output_obj"
40.18359 ++      $show "$command"
40.18360 ++      if $run eval "$command"; then :
40.18361 ++      else
40.18362 ++	test -n "$output_obj" && $run $rm $removelist
40.18363 ++	exit 1
40.18364 ++      fi
40.18365 ++
40.18366 ++      if test "$need_locks" = warn &&
40.18367 ++	 test x"`cat $lockfile 2>/dev/null`" != x"$srcfile"; then
40.18368 ++	echo "\
40.18369 ++*** ERROR, $lockfile contains:
40.18370 ++`cat $lockfile 2>/dev/null`
40.18371 ++
40.18372 ++but it should contain:
40.18373 ++$srcfile
40.18374 ++
40.18375 ++This indicates that another process is trying to use the same
40.18376 ++temporary object file, and libtool could not work around it because
40.18377 ++your compiler does not support \`-c' and \`-o' together.  If you
40.18378 ++repeat this compilation, it may succeed, by chance, but you had better
40.18379 ++avoid parallel builds (make -j) in this platform, or get a better
40.18380 ++compiler."
40.18381 ++
40.18382 ++	$run $rm $removelist
40.18383 ++	exit 1
40.18384 ++      fi
40.18385 ++
40.18386 ++      # Just move the object if needed, then go on to compile the next one
40.18387 ++      if test x"$output_obj" != x"$libobj"; then
40.18388 ++	$show "$mv $output_obj $libobj"
40.18389 ++	if $run $mv $output_obj $libobj; then :
40.18390 ++	else
40.18391 ++	  error=$?
40.18392 ++	  $run $rm $removelist
40.18393 ++	  exit $error
40.18394 ++	fi
40.18395 ++      fi
40.18396 ++
40.18397 ++      # If we have no pic_flag, then copy the object into place and finish.
40.18398 ++      if (test -z "$pic_flag" || test "$pic_mode" != default) &&
40.18399 ++	 test "$build_old_libs" = yes; then
40.18400 ++	# Rename the .lo from within objdir to obj
40.18401 ++	if test -f $obj; then
40.18402 ++	  $show $rm $obj
40.18403 ++	  $run $rm $obj
40.18404 ++	fi
40.18405 ++
40.18406 ++	$show "$mv $libobj $obj"
40.18407 ++	if $run $mv $libobj $obj; then :
40.18408 ++	else
40.18409 ++	  error=$?
40.18410 ++	  $run $rm $removelist
40.18411 ++	  exit $error
40.18412 ++	fi
40.18413 ++
40.18414 ++	xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'`
40.18415 ++	if test "X$xdir" = "X$obj"; then
40.18416 ++	  xdir="."
40.18417 ++	else
40.18418 ++	  xdir="$xdir"
40.18419 ++	fi
40.18420 ++	baseobj=`$echo "X$obj" | $Xsed -e "s%.*/%%"`
40.18421 ++	libobj=`$echo "X$baseobj" | $Xsed -e "$o2lo"`
40.18422 ++	# Now arrange that obj and lo_libobj become the same file
40.18423 ++	$show "(cd $xdir && $LN_S $baseobj $libobj)"
40.18424 ++	if $run eval '(cd $xdir && $LN_S $baseobj $libobj)'; then
40.18425 ++	  exit 0
40.18426 ++	else
40.18427 ++	  error=$?
40.18428 ++	  $run $rm $removelist
40.18429 ++	  exit $error
40.18430 ++	fi
40.18431 ++      fi
40.18432 ++
40.18433 ++      # Allow error messages only from the first compilation.
40.18434 ++      suppress_output=' >/dev/null 2>&1'
40.18435 ++    fi
40.18436 ++
40.18437 ++    # Only build a position-dependent object if we build old libraries.
40.18438 ++    if test "$build_old_libs" = yes; then
40.18439 ++      if test "$pic_mode" != yes; then
40.18440 ++	# Don't build PIC code
40.18441 ++	command="$base_compile $srcfile"
40.18442 ++      else
40.18443 ++	# All platforms use -DPIC, to notify preprocessed assembler code.
40.18444 ++	command="$base_compile $srcfile $pic_flag -DPIC"
40.18445 ++      fi
40.18446 ++      if test "$compiler_c_o" = yes; then
40.18447 ++	command="$command -o $obj"
40.18448 ++	output_obj="$obj"
40.18449 ++      fi
40.18450 ++
40.18451 ++      # Suppress compiler output if we already did a PIC compilation.
40.18452 ++      command="$command$suppress_output"
40.18453 ++      $run $rm "$output_obj"
40.18454 ++      $show "$command"
40.18455 ++      if $run eval "$command"; then :
40.18456 ++      else
40.18457 ++	$run $rm $removelist
40.18458 ++	exit 1
40.18459 ++      fi
40.18460 ++
40.18461 ++      if test "$need_locks" = warn &&
40.18462 ++	 test x"`cat $lockfile 2>/dev/null`" != x"$srcfile"; then
40.18463 ++	echo "\
40.18464 ++*** ERROR, $lockfile contains:
40.18465 ++`cat $lockfile 2>/dev/null`
40.18466 ++
40.18467 ++but it should contain:
40.18468 ++$srcfile
40.18469 ++
40.18470 ++This indicates that another process is trying to use the same
40.18471 ++temporary object file, and libtool could not work around it because
40.18472 ++your compiler does not support \`-c' and \`-o' together.  If you
40.18473 ++repeat this compilation, it may succeed, by chance, but you had better
40.18474 ++avoid parallel builds (make -j) in this platform, or get a better
40.18475 ++compiler."
40.18476 ++
40.18477 ++	$run $rm $removelist
40.18478 ++	exit 1
40.18479 ++      fi
40.18480 ++
40.18481 ++      # Just move the object if needed
40.18482 ++      if test x"$output_obj" != x"$obj"; then
40.18483 ++	$show "$mv $output_obj $obj"
40.18484 ++	if $run $mv $output_obj $obj; then :
40.18485 ++	else
40.18486 ++	  error=$?
40.18487 ++	  $run $rm $removelist
40.18488 ++	  exit $error
40.18489 ++	fi
40.18490 ++      fi
40.18491 ++
40.18492 ++      # Create an invalid libtool object if no PIC, so that we do not
40.18493 ++      # accidentally link it into a program.
40.18494 ++      if test "$build_libtool_libs" != yes; then
40.18495 ++	$show "echo timestamp > $libobj"
40.18496 ++	$run eval "echo timestamp > \$libobj" || exit $?
40.18497 ++      else
40.18498 ++	# Move the .lo from within objdir
40.18499 ++	$show "$mv $libobj $lo_libobj"
40.18500 ++	if $run $mv $libobj $lo_libobj; then :
40.18501 ++	else
40.18502 ++	  error=$?
40.18503 ++	  $run $rm $removelist
40.18504 ++	  exit $error
40.18505 ++	fi
40.18506 ++      fi
40.18507 ++    fi
40.18508 ++
40.18509 ++    # Unlock the critical section if it was locked
40.18510 ++    if test "$need_locks" != no; then
40.18511 ++      $run $rm "$lockfile"
40.18512 ++    fi
40.18513 ++
40.18514 ++    exit 0
40.18515 ++    ;;
40.18516 ++
40.18517 ++  # libtool link mode
40.18518 ++  link | relink)
40.18519 ++    modename="$modename: link"
40.18520 ++    case $host in
40.18521 ++    *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
40.18522 ++      # It is impossible to link a dll without this setting, and
40.18523 ++      # we shouldn't force the makefile maintainer to figure out
40.18524 ++      # which system we are compiling for in order to pass an extra
40.18525 ++      # flag for every libtool invokation.
40.18526 ++      # allow_undefined=no
40.18527 ++
40.18528 ++      # FIXME: Unfortunately, there are problems with the above when trying
40.18529 ++      # to make a dll which has undefined symbols, in which case not
40.18530 ++      # even a static library is built.  For now, we need to specify
40.18531 ++      # -no-undefined on the libtool link line when we can be certain
40.18532 ++      # that all symbols are satisfied, otherwise we get a static library.
40.18533 ++      allow_undefined=yes
40.18534 ++      ;;
40.18535 ++    *)
40.18536 ++      allow_undefined=yes
40.18537 ++      ;;
40.18538 ++    esac
40.18539 ++    libtool_args="$nonopt"
40.18540 ++    compile_command="$nonopt"
40.18541 ++    finalize_command="$nonopt"
40.18542 ++
40.18543 ++    compile_rpath=
40.18544 ++    finalize_rpath=
40.18545 ++    compile_shlibpath=
40.18546 ++    finalize_shlibpath=
40.18547 ++    convenience=
40.18548 ++    old_convenience=
40.18549 ++    deplibs=
40.18550 ++    old_deplibs=
40.18551 ++    compiler_flags=
40.18552 ++    linker_flags=
40.18553 ++    dllsearchpath=
40.18554 ++    lib_search_path=`pwd`
40.18555 ++
40.18556 ++    avoid_version=no
40.18557 ++    dlfiles=
40.18558 ++    dlprefiles=
40.18559 ++    dlself=no
40.18560 ++    export_dynamic=no
40.18561 ++    export_symbols=
40.18562 ++    export_symbols_regex=
40.18563 ++    generated=
40.18564 ++    libobjs=
40.18565 ++    ltlibs=
40.18566 ++    module=no
40.18567 ++    no_install=no
40.18568 ++    objs=
40.18569 ++    prefer_static_libs=no
40.18570 ++    preload=no
40.18571 ++    prev=
40.18572 ++    prevarg=
40.18573 ++    release=
40.18574 ++    rpath=
40.18575 ++    xrpath=
40.18576 ++    perm_rpath=
40.18577 ++    temp_rpath=
40.18578 ++    thread_safe=no
40.18579 ++    vinfo=
40.18580 ++
40.18581 ++    # We need to know -static, to get the right output filenames.
40.18582 ++    for arg
40.18583 ++    do
40.18584 ++      case $arg in
40.18585 ++      -all-static | -static)
40.18586 ++	if test "X$arg" = "X-all-static"; then
40.18587 ++	  if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then
40.18588 ++	    $echo "$modename: warning: complete static linking is impossible in this configuration" 1>&2
40.18589 ++	  fi
40.18590 ++	  if test -n "$link_static_flag"; then
40.18591 ++	    dlopen_self=$dlopen_self_static
40.18592 ++	  fi
40.18593 ++	else
40.18594 ++	  if test -z "$pic_flag" && test -n "$link_static_flag"; then
40.18595 ++	    dlopen_self=$dlopen_self_static
40.18596 ++	  fi
40.18597 ++	fi
40.18598 ++	build_libtool_libs=no
40.18599 ++	build_old_libs=yes
40.18600 ++	prefer_static_libs=yes
40.18601 ++	break
40.18602 ++	;;
40.18603 ++      esac
40.18604 ++    done
40.18605 ++
40.18606 ++    # See if our shared archives depend on static archives.
40.18607 ++    test -n "$old_archive_from_new_cmds" && build_old_libs=yes
40.18608 ++
40.18609 ++    # Go through the arguments, transforming them on the way.
40.18610 ++    while test $# -gt 0; do
40.18611 ++      arg="$1"
40.18612 ++      shift
40.18613 ++      case $arg in
40.18614 ++      *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*|"")
40.18615 ++	qarg=\"`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`\" ### testsuite: skip nested quoting test
40.18616 ++	;;
40.18617 ++      *) qarg=$arg ;;
40.18618 ++      esac
40.18619 ++      libtool_args="$libtool_args $qarg"
40.18620 ++
40.18621 ++      # If the previous option needs an argument, assign it.
40.18622 ++      if test -n "$prev"; then
40.18623 ++	case $prev in
40.18624 ++	output)
40.18625 ++	  compile_command="$compile_command @OUTPUT@"
40.18626 ++	  finalize_command="$finalize_command @OUTPUT@"
40.18627 ++	  ;;
40.18628 ++	esac
40.18629 ++
40.18630 ++	case $prev in
40.18631 ++	dlfiles|dlprefiles)
40.18632 ++	  if test "$preload" = no; then
40.18633 ++	    # Add the symbol object into the linking commands.
40.18634 ++	    compile_command="$compile_command @SYMFILE@"
40.18635 ++	    finalize_command="$finalize_command @SYMFILE@"
40.18636 ++	    preload=yes
40.18637 ++	  fi
40.18638 ++	  case $arg in
40.18639 ++	  *.la | *.lo) ;;  # We handle these cases below.
40.18640 ++	  force)
40.18641 ++	    if test "$dlself" = no; then
40.18642 ++	      dlself=needless
40.18643 ++	      export_dynamic=yes
40.18644 ++	    fi
40.18645 ++	    prev=
40.18646 ++	    continue
40.18647 ++	    ;;
40.18648 ++	  self)
40.18649 ++	    if test "$prev" = dlprefiles; then
40.18650 ++	      dlself=yes
40.18651 ++	    elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then
40.18652 ++	      dlself=yes
40.18653 ++	    else
40.18654 ++	      dlself=needless
40.18655 ++	      export_dynamic=yes
40.18656 ++	    fi
40.18657 ++	    prev=
40.18658 ++	    continue
40.18659 ++	    ;;
40.18660 ++	  *)
40.18661 ++	    if test "$prev" = dlfiles; then
40.18662 ++	      dlfiles="$dlfiles $arg"
40.18663 ++	    else
40.18664 ++	      dlprefiles="$dlprefiles $arg"
40.18665 ++	    fi
40.18666 ++	    prev=
40.18667 ++	    continue
40.18668 ++	    ;;
40.18669 ++	  esac
40.18670 ++	  ;;
40.18671 ++	expsyms)
40.18672 ++	  export_symbols="$arg"
40.18673 ++	  if test ! -f "$arg"; then
40.18674 ++	    $echo "$modename: symbol file \`$arg' does not exist"
40.18675 ++	    exit 1
40.18676 ++	  fi
40.18677 ++	  prev=
40.18678 ++	  continue
40.18679 ++	  ;;
40.18680 ++	expsyms_regex)
40.18681 ++	  export_symbols_regex="$arg"
40.18682 ++	  prev=
40.18683 ++	  continue
40.18684 ++	  ;;
40.18685 ++	release)
40.18686 ++	  release="-$arg"
40.18687 ++	  prev=
40.18688 ++	  continue
40.18689 ++	  ;;
40.18690 ++	rpath | xrpath)
40.18691 ++	  # We need an absolute path.
40.18692 ++	  case $arg in
40.18693 ++	  [\\/]* | [A-Za-z]:[\\/]*) ;;
40.18694 ++	  *)
40.18695 ++	    $echo "$modename: only absolute run-paths are allowed" 1>&2
40.18696 ++	    exit 1
40.18697 ++	    ;;
40.18698 ++	  esac
40.18699 ++	  if test "$prev" = rpath; then
40.18700 ++	    case "$rpath " in
40.18701 ++	    *" $arg "*) ;;
40.18702 ++	    *) rpath="$rpath $arg" ;;
40.18703 ++	    esac
40.18704 ++	  else
40.18705 ++	    case "$xrpath " in
40.18706 ++	    *" $arg "*) ;;
40.18707 ++	    *) xrpath="$xrpath $arg" ;;
40.18708 ++	    esac
40.18709 ++	  fi
40.18710 ++	  prev=
40.18711 ++	  continue
40.18712 ++	  ;;
40.18713 ++	xcompiler)
40.18714 ++	  compiler_flags="$compiler_flags $qarg"
40.18715 ++	  prev=
40.18716 ++	  compile_command="$compile_command $qarg"
40.18717 ++	  finalize_command="$finalize_command $qarg"
40.18718 ++	  continue
40.18719 ++	  ;;
40.18720 ++	xlinker)
40.18721 ++	  linker_flags="$linker_flags $qarg"
40.18722 ++	  compiler_flags="$compiler_flags $wl$qarg"
40.18723 ++	  prev=
40.18724 ++	  compile_command="$compile_command $wl$qarg"
40.18725 ++	  finalize_command="$finalize_command $wl$qarg"
40.18726 ++	  continue
40.18727 ++	  ;;
40.18728 ++	*)
40.18729 ++	  eval "$prev=\"\$arg\""
40.18730 ++	  prev=
40.18731 ++	  continue
40.18732 ++	  ;;
40.18733 ++	esac
40.18734 ++      fi # test -n $prev
40.18735 ++
40.18736 ++      prevarg="$arg"
40.18737 ++
40.18738 ++      case $arg in
40.18739 ++      -all-static)
40.18740 ++	if test -n "$link_static_flag"; then
40.18741 ++	  compile_command="$compile_command $link_static_flag"
40.18742 ++	  finalize_command="$finalize_command $link_static_flag"
40.18743 ++	fi
40.18744 ++	continue
40.18745 ++	;;
40.18746 ++
40.18747 ++      -allow-undefined)
40.18748 ++	# FIXME: remove this flag sometime in the future.
40.18749 ++	$echo "$modename: \`-allow-undefined' is deprecated because it is the default" 1>&2
40.18750 ++	continue
40.18751 ++	;;
40.18752 ++
40.18753 ++      -avoid-version)
40.18754 ++	avoid_version=yes
40.18755 ++	continue
40.18756 ++	;;
40.18757 ++
40.18758 ++      -dlopen)
40.18759 ++	prev=dlfiles
40.18760 ++	continue
40.18761 ++	;;
40.18762 ++
40.18763 ++      -dlpreopen)
40.18764 ++	prev=dlprefiles
40.18765 ++	continue
40.18766 ++	;;
40.18767 ++
40.18768 ++      -export-dynamic)
40.18769 ++	export_dynamic=yes
40.18770 ++	continue
40.18771 ++	;;
40.18772 ++
40.18773 ++      -export-symbols | -export-symbols-regex)
40.18774 ++	if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
40.18775 ++	  $echo "$modename: more than one -exported-symbols argument is not allowed"
40.18776 ++	  exit 1
40.18777 ++	fi
40.18778 ++	if test "X$arg" = "X-export-symbols"; then
40.18779 ++	  prev=expsyms
40.18780 ++	else
40.18781 ++	  prev=expsyms_regex
40.18782 ++	fi
40.18783 ++	continue
40.18784 ++	;;
40.18785 ++
40.18786 ++      # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:*
40.18787 ++      # so, if we see these flags be careful not to treat them like -L
40.18788 ++      -L[A-Z][A-Z]*:*)
40.18789 ++	case $with_gcc/$host in
40.18790 ++	no/*-*-irix*)
40.18791 ++	  compile_command="$compile_command $arg"
40.18792 ++	  finalize_command="$finalize_command $arg"
40.18793 ++	  ;;
40.18794 ++	esac
40.18795 ++	continue
40.18796 ++	;;
40.18797 ++
40.18798 ++      -L*)
40.18799 ++	dir=`$echo "X$arg" | $Xsed -e 's/^-L//'`
40.18800 ++	# We need an absolute path.
40.18801 ++	case $dir in
40.18802 ++	[\\/]* | [A-Za-z]:[\\/]*) ;;
40.18803 ++	*)
40.18804 ++	  absdir=`cd "$dir" && pwd`
40.18805 ++	  if test -z "$absdir"; then
40.18806 ++	    $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2
40.18807 ++	    exit 1
40.18808 ++	  fi
40.18809 ++	  dir="$absdir"
40.18810 ++	  ;;
40.18811 ++	esac
40.18812 ++	case "$deplibs " in
40.18813 ++	*" -L$dir "*) ;;
40.18814 ++	*)
40.18815 ++	  deplibs="$deplibs -L$dir"
40.18816 ++	  lib_search_path="$lib_search_path $dir"
40.18817 ++	  ;;
40.18818 ++	esac
40.18819 ++	case $host in
40.18820 ++	*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
40.18821 ++	  case :$dllsearchpath: in
40.18822 ++	  *":$dir:"*) ;;
40.18823 ++	  *) dllsearchpath="$dllsearchpath:$dir";;
40.18824 ++	  esac
40.18825 ++	  ;;
40.18826 ++	esac
40.18827 ++	continue
40.18828 ++	;;
40.18829 ++
40.18830 ++      -l*)
40.18831 ++	if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
40.18832 ++	  case $host in
40.18833 ++	  *-*-cygwin* | *-*-pw32* | *-*-beos*)
40.18834 ++	    # These systems don't actually have a C or math library (as such)
40.18835 ++	    continue
40.18836 ++	    ;;
40.18837 ++	  *-*-mingw* | *-*-os2*)
40.18838 ++	    # These systems don't actually have a C library (as such)
40.18839 ++	    test "X$arg" = "X-lc" && continue
40.18840 ++	    ;;
40.18841 ++	  esac
40.18842 ++	fi
40.18843 ++	deplibs="$deplibs $arg"
40.18844 ++	continue
40.18845 ++	;;
40.18846 ++
40.18847 ++      -module)
40.18848 ++	module=yes
40.18849 ++	continue
40.18850 ++	;;
40.18851 ++
40.18852 ++      -no-fast-install)
40.18853 ++	fast_install=no
40.18854 ++	continue
40.18855 ++	;;
40.18856 ++
40.18857 ++      -no-install)
40.18858 ++	case $host in
40.18859 ++	*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
40.18860 ++	  # The PATH hackery in wrapper scripts is required on Windows
40.18861 ++	  # in order for the loader to find any dlls it needs.
40.18862 ++	  $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2
40.18863 ++	  $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2
40.18864 ++	  fast_install=no
40.18865 ++	  ;;
40.18866 ++	*) no_install=yes ;;
40.18867 ++	esac
40.18868 ++	continue
40.18869 ++	;;
40.18870 ++
40.18871 ++      -no-undefined)
40.18872 ++	allow_undefined=no
40.18873 ++	continue
40.18874 ++	;;
40.18875 ++
40.18876 ++      -o) prev=output ;;
40.18877 ++
40.18878 ++      -release)
40.18879 ++	prev=release
40.18880 ++	continue
40.18881 ++	;;
40.18882 ++
40.18883 ++      -rpath)
40.18884 ++	prev=rpath
40.18885 ++	continue
40.18886 ++	;;
40.18887 ++
40.18888 ++      -R)
40.18889 ++	prev=xrpath
40.18890 ++	continue
40.18891 ++	;;
40.18892 ++
40.18893 ++      -R*)
40.18894 ++	dir=`$echo "X$arg" | $Xsed -e 's/^-R//'`
40.18895 ++	# We need an absolute path.
40.18896 ++	case $dir in
40.18897 ++	[\\/]* | [A-Za-z]:[\\/]*) ;;
40.18898 ++	*)
40.18899 ++	  $echo "$modename: only absolute run-paths are allowed" 1>&2
40.18900 ++	  exit 1
40.18901 ++	  ;;
40.18902 ++	esac
40.18903 ++	case "$xrpath " in
40.18904 ++	*" $dir "*) ;;
40.18905 ++	*) xrpath="$xrpath $dir" ;;
40.18906 ++	esac
40.18907 ++	continue
40.18908 ++	;;
40.18909 ++
40.18910 ++      -static)
40.18911 ++	# The effects of -static are defined in a previous loop.
40.18912 ++	# We used to do the same as -all-static on platforms that
40.18913 ++	# didn't have a PIC flag, but the assumption that the effects
40.18914 ++	# would be equivalent was wrong.  It would break on at least
40.18915 ++	# Digital Unix and AIX.
40.18916 ++	continue
40.18917 ++	;;
40.18918 ++
40.18919 ++      -thread-safe)
40.18920 ++	thread_safe=yes
40.18921 ++	continue
40.18922 ++	;;
40.18923 ++
40.18924 ++      -version-info)
40.18925 ++	prev=vinfo
40.18926 ++	continue
40.18927 ++	;;
40.18928 ++
40.18929 ++      -Wc,*)
40.18930 ++	args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'`
40.18931 ++	arg=
40.18932 ++	IFS="${IFS= 	}"; save_ifs="$IFS"; IFS=','
40.18933 ++	for flag in $args; do
40.18934 ++	  IFS="$save_ifs"
40.18935 ++	  case $flag in
40.18936 ++	    *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*|"")
40.18937 ++	    flag="\"$flag\""
40.18938 ++	    ;;
40.18939 ++	  esac
40.18940 ++	  arg="$arg $wl$flag"
40.18941 ++	  compiler_flags="$compiler_flags $flag"
40.18942 ++	done
40.18943 ++	IFS="$save_ifs"
40.18944 ++	arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
40.18945 ++	;;
40.18946 ++
40.18947 ++      -Wl,*)
40.18948 ++	args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'`
40.18949 ++	arg=
40.18950 ++	IFS="${IFS= 	}"; save_ifs="$IFS"; IFS=','
40.18951 ++	for flag in $args; do
40.18952 ++	  IFS="$save_ifs"
40.18953 ++	  case $flag in
40.18954 ++	    *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*|"")
40.18955 ++	    flag="\"$flag\""
40.18956 ++	    ;;
40.18957 ++	  esac
40.18958 ++	  arg="$arg $wl$flag"
40.18959 ++	  compiler_flags="$compiler_flags $wl$flag"
40.18960 ++	  linker_flags="$linker_flags $flag"
40.18961 ++	done
40.18962 ++	IFS="$save_ifs"
40.18963 ++	arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
40.18964 ++	;;
40.18965 ++
40.18966 ++      -Xcompiler)
40.18967 ++	prev=xcompiler
40.18968 ++	continue
40.18969 ++	;;
40.18970 ++
40.18971 ++      -Xlinker)
40.18972 ++	prev=xlinker
40.18973 ++	continue
40.18974 ++	;;
40.18975 ++
40.18976 ++      # Some other compiler flag.
40.18977 ++      -* | +*)
40.18978 ++	# Unknown arguments in both finalize_command and compile_command need
40.18979 ++	# to be aesthetically quoted because they are evaled later.
40.18980 ++	arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
40.18981 ++	case $arg in
40.18982 ++	*[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*|"")
40.18983 ++	  arg="\"$arg\""
40.18984 ++	  ;;
40.18985 ++	esac
40.18986 ++	;;
40.18987 ++
40.18988 ++      *.lo | *.$objext)
40.18989 ++	# A library or standard object.
40.18990 ++	if test "$prev" = dlfiles; then
40.18991 ++	  # This file was specified with -dlopen.
40.18992 ++	  if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
40.18993 ++	    dlfiles="$dlfiles $arg"
40.18994 ++	    prev=
40.18995 ++	    continue
40.18996 ++	  else
40.18997 ++	    # If libtool objects are unsupported, then we need to preload.
40.18998 ++	    prev=dlprefiles
40.18999 ++	  fi
40.19000 ++	fi
40.19001 ++
40.19002 ++	if test "$prev" = dlprefiles; then
40.19003 ++	  # Preload the old-style object.
40.19004 ++	  dlprefiles="$dlprefiles "`$echo "X$arg" | $Xsed -e "$lo2o"`
40.19005 ++	  prev=
40.19006 ++	else
40.19007 ++	  case $arg in
40.19008 ++	  *.lo) libobjs="$libobjs $arg" ;;
40.19009 ++	  *) objs="$objs $arg" ;;
40.19010 ++	  esac
40.19011 ++	fi
40.19012 ++	;;
40.19013 ++
40.19014 ++      *.$libext)
40.19015 ++	# An archive.
40.19016 ++	deplibs="$deplibs $arg"
40.19017 ++	old_deplibs="$old_deplibs $arg"
40.19018 ++	continue
40.19019 ++	;;
40.19020 ++
40.19021 ++      *.la)
40.19022 ++	# A libtool-controlled library.
40.19023 ++
40.19024 ++	if test "$prev" = dlfiles; then
40.19025 ++	  # This library was specified with -dlopen.
40.19026 ++	  dlfiles="$dlfiles $arg"
40.19027 ++	  prev=
40.19028 ++	elif test "$prev" = dlprefiles; then
40.19029 ++	  # The library was specified with -dlpreopen.
40.19030 ++	  dlprefiles="$dlprefiles $arg"
40.19031 ++	  prev=
40.19032 ++	else
40.19033 ++	  deplibs="$deplibs $arg"
40.19034 ++	fi
40.19035 ++	continue
40.19036 ++	;;
40.19037 ++
40.19038 ++      # Some other compiler argument.
40.19039 ++      *)
40.19040 ++	# Unknown arguments in both finalize_command and compile_command need
40.19041 ++	# to be aesthetically quoted because they are evaled later.
40.19042 ++	arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
40.19043 ++	case $arg in
40.19044 ++	*[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*|"")
40.19045 ++	  arg="\"$arg\""
40.19046 ++	  ;;
40.19047 ++	esac
40.19048 ++	;;
40.19049 ++      esac # arg
40.19050 ++
40.19051 ++      # Now actually substitute the argument into the commands.
40.19052 ++      if test -n "$arg"; then
40.19053 ++	compile_command="$compile_command $arg"
40.19054 ++	finalize_command="$finalize_command $arg"
40.19055 ++      fi
40.19056 ++    done # argument parsing loop
40.19057 ++
40.19058 ++    if test -n "$prev"; then
40.19059 ++      $echo "$modename: the \`$prevarg' option requires an argument" 1>&2
40.19060 ++      $echo "$help" 1>&2
40.19061 ++      exit 1
40.19062 ++    fi
40.19063 ++
40.19064 ++    if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then
40.19065 ++      eval arg=\"$export_dynamic_flag_spec\"
40.19066 ++      compile_command="$compile_command $arg"
40.19067 ++      finalize_command="$finalize_command $arg"
40.19068 ++    fi
40.19069 ++
40.19070 ++    # calculate the name of the file, without its directory
40.19071 ++    outputname=`$echo "X$output" | $Xsed -e 's%^.*/%%'`
40.19072 ++    libobjs_save="$libobjs"
40.19073 ++
40.19074 ++    if test -n "$shlibpath_var"; then
40.19075 ++      # get the directories listed in $shlibpath_var
40.19076 ++      eval shlib_search_path=\`\$echo \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\`
40.19077 ++    else
40.19078 ++      shlib_search_path=
40.19079 ++    fi
40.19080 ++    eval sys_lib_search_path=\"$sys_lib_search_path_spec\"
40.19081 ++    eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\"
40.19082 ++
40.19083 ++    output_objdir=`$echo "X$output" | $Xsed -e 's%/[^/]*$%%'`
40.19084 ++    if test "X$output_objdir" = "X$output"; then
40.19085 ++      output_objdir="$objdir"
40.19086 ++    else
40.19087 ++      output_objdir="$output_objdir/$objdir"
40.19088 ++    fi
40.19089 ++    # Create the object directory.
40.19090 ++    if test ! -d $output_objdir; then
40.19091 ++      $show "$mkdir $output_objdir"
40.19092 ++      $run $mkdir $output_objdir
40.19093 ++      status=$?
40.19094 ++      if test $status -ne 0 && test ! -d $output_objdir; then
40.19095 ++	exit $status
40.19096 ++      fi
40.19097 ++    fi
40.19098 ++
40.19099 ++    # Determine the type of output
40.19100 ++    case $output in
40.19101 ++    "")
40.19102 ++      $echo "$modename: you must specify an output file" 1>&2
40.19103 ++      $echo "$help" 1>&2
40.19104 ++      exit 1
40.19105 ++      ;;
40.19106 ++    *.$libext) linkmode=oldlib ;;
40.19107 ++    *.lo | *.$objext) linkmode=obj ;;
40.19108 ++    *.la) linkmode=lib ;;
40.19109 ++    *) linkmode=prog ;; # Anything else should be a program.
40.19110 ++    esac
40.19111 ++
40.19112 ++    specialdeplibs=
40.19113 ++    libs=
40.19114 ++    # Find all interdependent deplibs by searching for libraries
40.19115 ++    # that are linked more than once (e.g. -la -lb -la)
40.19116 ++    for deplib in $deplibs; do
40.19117 ++      case "$libs " in
40.19118 ++      *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
40.19119 ++      esac
40.19120 ++      libs="$libs $deplib"
40.19121 ++    done
40.19122 ++    deplibs=
40.19123 ++    newdependency_libs=
40.19124 ++    newlib_search_path=
40.19125 ++    need_relink=no # whether we're linking any uninstalled libtool libraries
40.19126 ++    notinst_deplibs= # not-installed libtool libraries
40.19127 ++    notinst_path= # paths that contain not-installed libtool libraries
40.19128 ++    case $linkmode in
40.19129 ++    lib)
40.19130 ++	passes="conv link"
40.19131 ++	for file in $dlfiles $dlprefiles; do
40.19132 ++	  case $file in
40.19133 ++	  *.la) ;;
40.19134 ++	  *)
40.19135 ++	    $echo "$modename: libraries can \`-dlopen' only libtool libraries: $file" 1>&2
40.19136 ++	    exit 1
40.19137 ++	    ;;
40.19138 ++	  esac
40.19139 ++	done
40.19140 ++	;;
40.19141 ++    prog)
40.19142 ++	compile_deplibs=
40.19143 ++	finalize_deplibs=
40.19144 ++	alldeplibs=no
40.19145 ++	newdlfiles=
40.19146 ++	newdlprefiles=
40.19147 ++	passes="conv scan dlopen dlpreopen link"
40.19148 ++	;;
40.19149 ++    *)  passes="conv"
40.19150 ++	;;
40.19151 ++    esac
40.19152 ++    for pass in $passes; do
40.19153 ++      if test "$linkmode" = prog; then
40.19154 ++	# Determine which files to process
40.19155 ++	case $pass in
40.19156 ++	dlopen)
40.19157 ++	  libs="$dlfiles"
40.19158 ++	  save_deplibs="$deplibs" # Collect dlpreopened libraries
40.19159 ++	  deplibs=
40.19160 ++	  ;;
40.19161 ++	dlpreopen) libs="$dlprefiles" ;;
40.19162 ++	link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
40.19163 ++	esac
40.19164 ++      fi
40.19165 ++      for deplib in $libs; do
40.19166 ++	lib=
40.19167 ++	found=no
40.19168 ++	case $deplib in
40.19169 ++	-l*)
40.19170 ++	  if test "$linkmode" = oldlib && test "$linkmode" = obj; then
40.19171 ++	    $echo "$modename: warning: \`-l' is ignored for archives/objects: $deplib" 1>&2
40.19172 ++	    continue
40.19173 ++	  fi
40.19174 ++	  if test "$pass" = conv; then
40.19175 ++	    deplibs="$deplib $deplibs"
40.19176 ++	    continue
40.19177 ++	  fi
40.19178 ++	  name=`$echo "X$deplib" | $Xsed -e 's/^-l//'`
40.19179 ++	  for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do
40.19180 ++	    # Search the libtool library
40.19181 ++	    lib="$searchdir/lib${name}.la"
40.19182 ++	    if test -f "$lib"; then
40.19183 ++	      found=yes
40.19184 ++	      break
40.19185 ++	    fi
40.19186 ++	  done
40.19187 ++	  if test "$found" != yes; then
40.19188 ++	    # deplib doesn't seem to be a libtool library
40.19189 ++	    if test "$linkmode,$pass" = "prog,link"; then
40.19190 ++	      compile_deplibs="$deplib $compile_deplibs"
40.19191 ++	      finalize_deplibs="$deplib $finalize_deplibs"
40.19192 ++	    else
40.19193 ++	      deplibs="$deplib $deplibs"
40.19194 ++	      test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
40.19195 ++	    fi
40.19196 ++	    continue
40.19197 ++	  fi
40.19198 ++	  ;; # -l
40.19199 ++	-L*)
40.19200 ++	  case $linkmode in
40.19201 ++	  lib)
40.19202 ++	    deplibs="$deplib $deplibs"
40.19203 ++	    test "$pass" = conv && continue
40.19204 ++	    newdependency_libs="$deplib $newdependency_libs"
40.19205 ++	    newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
40.19206 ++	    ;;
40.19207 ++	  prog)
40.19208 ++	    if test "$pass" = conv; then
40.19209 ++	      deplibs="$deplib $deplibs"
40.19210 ++	      continue
40.19211 ++	    fi
40.19212 ++	    if test "$pass" = scan; then
40.19213 ++	      deplibs="$deplib $deplibs"
40.19214 ++	      newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
40.19215 ++	    else
40.19216 ++	      compile_deplibs="$deplib $compile_deplibs"
40.19217 ++	      finalize_deplibs="$deplib $finalize_deplibs"
40.19218 ++	    fi
40.19219 ++	    ;;
40.19220 ++	  *)
40.19221 ++	    $echo "$modename: warning: \`-L' is ignored for archives/objects: $deplib" 1>&2
40.19222 ++	    ;;
40.19223 ++	  esac # linkmode
40.19224 ++	  continue
40.19225 ++	  ;; # -L
40.19226 ++	-R*)
40.19227 ++	  if test "$pass" = link; then
40.19228 ++	    dir=`$echo "X$deplib" | $Xsed -e 's/^-R//'`
40.19229 ++	    # Make sure the xrpath contains only unique directories.
40.19230 ++	    case "$xrpath " in
40.19231 ++	    *" $dir "*) ;;
40.19232 ++	    *) xrpath="$xrpath $dir" ;;
40.19233 ++	    esac
40.19234 ++	  fi
40.19235 ++	  deplibs="$deplib $deplibs"
40.19236 ++	  continue
40.19237 ++	  ;;
40.19238 ++	*.la) lib="$deplib" ;;
40.19239 ++	*.$libext)
40.19240 ++	  if test "$pass" = conv; then
40.19241 ++	    deplibs="$deplib $deplibs"
40.19242 ++	    continue
40.19243 ++	  fi
40.19244 ++	  case $linkmode in
40.19245 ++	  lib)
40.19246 ++	    if test "$deplibs_check_method" != pass_all; then
40.19247 ++	      echo
40.19248 ++	      echo "*** Warning: This library needs some functionality provided by $deplib."
40.19249 ++	      echo "*** I have the capability to make that library automatically link in when"
40.19250 ++	      echo "*** you link to this library.  But I can only do this if you have a"
40.19251 ++	      echo "*** shared version of the library, which you do not appear to have."
40.19252 ++	    else
40.19253 ++	      echo
40.19254 ++	      echo "*** Warning: Linking the shared library $output against the"
40.19255 ++	      echo "*** static library $deplib is not portable!"
40.19256 ++	      deplibs="$deplib $deplibs"
40.19257 ++	    fi
40.19258 ++	    continue
40.19259 ++	    ;;
40.19260 ++	  prog)
40.19261 ++	    if test "$pass" != link; then
40.19262 ++	      deplibs="$deplib $deplibs"
40.19263 ++	    else
40.19264 ++	      compile_deplibs="$deplib $compile_deplibs"
40.19265 ++	      finalize_deplibs="$deplib $finalize_deplibs"
40.19266 ++	    fi
40.19267 ++	    continue
40.19268 ++	    ;;
40.19269 ++	  esac # linkmode
40.19270 ++	  ;; # *.$libext
40.19271 ++	*.lo | *.$objext)
40.19272 ++	  if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
40.19273 ++	    # If there is no dlopen support or we're linking statically,
40.19274 ++	    # we need to preload.
40.19275 ++	    newdlprefiles="$newdlprefiles $deplib"
40.19276 ++	    compile_deplibs="$deplib $compile_deplibs"
40.19277 ++	    finalize_deplibs="$deplib $finalize_deplibs"
40.19278 ++	  else
40.19279 ++	    newdlfiles="$newdlfiles $deplib"
40.19280 ++	  fi
40.19281 ++	  continue
40.19282 ++	  ;;
40.19283 ++	%DEPLIBS%)
40.19284 ++	  alldeplibs=yes
40.19285 ++	  continue
40.19286 ++	  ;;
40.19287 ++	esac # case $deplib
40.19288 ++	if test $found = yes || test -f "$lib"; then :
40.19289 ++	else
40.19290 ++	  $echo "$modename: cannot find the library \`$lib'" 1>&2
40.19291 ++	  exit 1
40.19292 ++	fi
40.19293 ++
40.19294 ++	# Check to see that this really is a libtool archive.
40.19295 ++	if (sed -e '2q' $lib | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
40.19296 ++	else
40.19297 ++	  $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
40.19298 ++	  exit 1
40.19299 ++	fi
40.19300 ++
40.19301 ++	ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'`
40.19302 ++	test "X$ladir" = "X$lib" && ladir="."
40.19303 ++
40.19304 ++	dlname=
40.19305 ++	dlopen=
40.19306 ++	dlpreopen=
40.19307 ++	libdir=
40.19308 ++	library_names=
40.19309 ++	old_library=
40.19310 ++	# If the library was installed with an old release of libtool,
40.19311 ++	# it will not redefine variable installed.
40.19312 ++	installed=yes
40.19313 ++
40.19314 ++	# Read the .la file
40.19315 ++	case $lib in
40.19316 ++	*/* | *\\*) . $lib ;;
40.19317 ++	*) . ./$lib ;;
40.19318 ++	esac
40.19319 ++
40.19320 ++	if test "$linkmode,$pass" = "lib,link" ||
40.19321 ++	   test "$linkmode,$pass" = "prog,scan" ||
40.19322 ++	   { test "$linkmode" = oldlib && test "$linkmode" = obj; }; then
40.19323 ++	   # Add dl[pre]opened files of deplib
40.19324 ++	  test -n "$dlopen" && dlfiles="$dlfiles $dlopen"
40.19325 ++	  test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen"
40.19326 ++	fi
40.19327 ++
40.19328 ++	if test "$pass" = conv; then
40.19329 ++	  # Only check for convenience libraries
40.19330 ++	  deplibs="$lib $deplibs"
40.19331 ++	  if test -z "$libdir"; then
40.19332 ++	    if test -z "$old_library"; then
40.19333 ++	      $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
40.19334 ++	      exit 1
40.19335 ++	    fi
40.19336 ++	    # It is a libtool convenience library, so add in its objects.
40.19337 ++	    convenience="$convenience $ladir/$objdir/$old_library"
40.19338 ++	    old_convenience="$old_convenience $ladir/$objdir/$old_library"
40.19339 ++	    tmp_libs=
40.19340 ++	    for deplib in $dependency_libs; do
40.19341 ++	      deplibs="$deplib $deplibs"
40.19342 ++	      case "$tmp_libs " in
40.19343 ++	      *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
40.19344 ++	      esac
40.19345 ++	      tmp_libs="$tmp_libs $deplib"
40.19346 ++	    done
40.19347 ++	  elif test "$linkmode" != prog && test "$linkmode" != lib; then
40.19348 ++	    $echo "$modename: \`$lib' is not a convenience library" 1>&2
40.19349 ++	    exit 1
40.19350 ++	  fi
40.19351 ++	  continue
40.19352 ++	fi # $pass = conv
40.19353 ++
40.19354 ++	# Get the name of the library we link against.
40.19355 ++	linklib=
40.19356 ++	for l in $old_library $library_names; do
40.19357 ++	  linklib="$l"
40.19358 ++	done
40.19359 ++	if test -z "$linklib"; then
40.19360 ++	  $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
40.19361 ++	  exit 1
40.19362 ++	fi
40.19363 ++
40.19364 ++	# This library was specified with -dlopen.
40.19365 ++	if test "$pass" = dlopen; then
40.19366 ++	  if test -z "$libdir"; then
40.19367 ++	    $echo "$modename: cannot -dlopen a convenience library: \`$lib'" 1>&2
40.19368 ++	    exit 1
40.19369 ++	  fi
40.19370 ++	  if test -z "$dlname" || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
40.19371 ++	    # If there is no dlname, no dlopen support or we're linking
40.19372 ++	    # statically, we need to preload.
40.19373 ++	    dlprefiles="$dlprefiles $lib"
40.19374 ++	  else
40.19375 ++	    newdlfiles="$newdlfiles $lib"
40.19376 ++	  fi
40.19377 ++	  continue
40.19378 ++	fi # $pass = dlopen
40.19379 ++
40.19380 ++	# We need an absolute path.
40.19381 ++	case $ladir in
40.19382 ++	[\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;;
40.19383 ++	*)
40.19384 ++	  abs_ladir=`cd "$ladir" && pwd`
40.19385 ++	  if test -z "$abs_ladir"; then
40.19386 ++	    $echo "$modename: warning: cannot determine absolute directory name of \`$ladir'" 1>&2
40.19387 ++	    $echo "$modename: passing it literally to the linker, although it might fail" 1>&2
40.19388 ++	    abs_ladir="$ladir"
40.19389 ++	  fi
40.19390 ++	  ;;
40.19391 ++	esac
40.19392 ++	laname=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
40.19393 ++
40.19394 ++	# Find the relevant object directory and library name.
40.19395 ++	if test "X$installed" = Xyes; then
40.19396 ++	  if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
40.19397 ++	    $echo "$modename: warning: library \`$lib' was moved." 1>&2
40.19398 ++	    dir="$ladir"
40.19399 ++	    absdir="$abs_ladir"
40.19400 ++	    libdir="$abs_ladir"
40.19401 ++	  else
40.19402 ++	    dir="$libdir"
40.19403 ++	    absdir="$libdir"
40.19404 ++	  fi
40.19405 ++	else
40.19406 ++	  dir="$ladir/$objdir"
40.19407 ++	  absdir="$abs_ladir/$objdir"
40.19408 ++	  # Remove this search path later
40.19409 ++	  notinst_path="$notinst_path $abs_ladir"
40.19410 ++	fi # $installed = yes
40.19411 ++	name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
40.19412 ++
40.19413 ++	# This library was specified with -dlpreopen.
40.19414 ++	if test "$pass" = dlpreopen; then
40.19415 ++	  if test -z "$libdir"; then
40.19416 ++	    $echo "$modename: cannot -dlpreopen a convenience library: \`$lib'" 1>&2
40.19417 ++	    exit 1
40.19418 ++	  fi
40.19419 ++	  # Prefer using a static library (so that no silly _DYNAMIC symbols
40.19420 ++	  # are required to link).
40.19421 ++	  if test -n "$old_library"; then
40.19422 ++	    newdlprefiles="$newdlprefiles $dir/$old_library"
40.19423 ++	  # Otherwise, use the dlname, so that lt_dlopen finds it.
40.19424 ++	  elif test -n "$dlname"; then
40.19425 ++	    newdlprefiles="$newdlprefiles $dir/$dlname"
40.19426 ++	  else
40.19427 ++	    newdlprefiles="$newdlprefiles $dir/$linklib"
40.19428 ++	  fi
40.19429 ++	fi # $pass = dlpreopen
40.19430 ++
40.19431 ++	if test -z "$libdir"; then
40.19432 ++	  # Link the convenience library
40.19433 ++	  if test "$linkmode" = lib; then
40.19434 ++	    deplibs="$dir/$old_library $deplibs"
40.19435 ++	  elif test "$linkmode,$pass" = "prog,link"; then
40.19436 ++	    compile_deplibs="$dir/$old_library $compile_deplibs"
40.19437 ++	    finalize_deplibs="$dir/$old_library $finalize_deplibs"
40.19438 ++	  else
40.19439 ++	    deplibs="$lib $deplibs"
40.19440 ++	  fi
40.19441 ++	  continue
40.19442 ++	fi
40.19443 ++
40.19444 ++	if test "$linkmode" = prog && test "$pass" != link; then
40.19445 ++	  newlib_search_path="$newlib_search_path $ladir"
40.19446 ++	  deplibs="$lib $deplibs"
40.19447 ++
40.19448 ++	  linkalldeplibs=no
40.19449 ++	  if test "$link_all_deplibs" != no || test -z "$library_names" ||
40.19450 ++	     test "$build_libtool_libs" = no; then
40.19451 ++	    linkalldeplibs=yes
40.19452 ++	  fi
40.19453 ++
40.19454 ++	  tmp_libs=
40.19455 ++	  for deplib in $dependency_libs; do
40.19456 ++	    case $deplib in
40.19457 ++	    -L*) newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`;; ### testsuite: skip nested quoting test
40.19458 ++	    esac
40.19459 ++	    # Need to link against all dependency_libs?
40.19460 ++	    if test $linkalldeplibs = yes; then
40.19461 ++	      deplibs="$deplib $deplibs"
40.19462 ++	    else
40.19463 ++	      # Need to hardcode shared library paths
40.19464 ++	      # or/and link against static libraries
40.19465 ++	      newdependency_libs="$deplib $newdependency_libs"
40.19466 ++	    fi
40.19467 ++	    case "$tmp_libs " in
40.19468 ++	    *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
40.19469 ++	    esac
40.19470 ++	    tmp_libs="$tmp_libs $deplib"
40.19471 ++	  done # for deplib
40.19472 ++	  continue
40.19473 ++	fi # $linkmode = prog...
40.19474 ++
40.19475 ++	link_static=no # Whether the deplib will be linked statically
40.19476 ++	if test -n "$library_names" &&
40.19477 ++	   { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
40.19478 ++	  # Link against this shared library
40.19479 ++
40.19480 ++	  if test "$linkmode,$pass" = "prog,link" ||
40.19481 ++	   { test "$linkmode" = lib && test "$hardcode_into_libs" = yes; }; then
40.19482 ++	    # Hardcode the library path.
40.19483 ++	    # Skip directories that are in the system default run-time
40.19484 ++	    # search path.
40.19485 ++	    case " $sys_lib_dlsearch_path " in
40.19486 ++	    *" $absdir "*) ;;
40.19487 ++	    *)
40.19488 ++	      case "$compile_rpath " in
40.19489 ++	      *" $absdir "*) ;;
40.19490 ++	      *) compile_rpath="$compile_rpath $absdir"
40.19491 ++	      esac
40.19492 ++	      ;;
40.19493 ++	    esac
40.19494 ++	    case " $sys_lib_dlsearch_path " in
40.19495 ++	    *" $libdir "*) ;;
40.19496 ++	    *)
40.19497 ++	      case "$finalize_rpath " in
40.19498 ++	      *" $libdir "*) ;;
40.19499 ++	      *) finalize_rpath="$finalize_rpath $libdir"
40.19500 ++	      esac
40.19501 ++	      ;;
40.19502 ++	    esac
40.19503 ++	    if test "$linkmode" = prog; then
40.19504 ++	      # We need to hardcode the library path
40.19505 ++	      if test -n "$shlibpath_var"; then
40.19506 ++		# Make sure the rpath contains only unique directories.
40.19507 ++		case "$temp_rpath " in
40.19508 ++		*" $dir "*) ;;
40.19509 ++		*" $absdir "*) ;;
40.19510 ++		*) temp_rpath="$temp_rpath $dir" ;;
40.19511 ++		esac
40.19512 ++	      fi
40.19513 ++	    fi
40.19514 ++	  fi # $linkmode,$pass = prog,link...
40.19515 ++
40.19516 ++	  if test "$alldeplibs" = yes &&
40.19517 ++	     { test "$deplibs_check_method" = pass_all ||
40.19518 ++	       { test "$build_libtool_libs" = yes &&
40.19519 ++		 test -n "$library_names"; }; }; then
40.19520 ++	    # We only need to search for static libraries
40.19521 ++	    continue
40.19522 ++	  fi
40.19523 ++
40.19524 ++	  if test "$installed" = no; then
40.19525 ++	    notinst_deplibs="$notinst_deplibs $lib"
40.19526 ++	    need_relink=yes
40.19527 ++	  fi
40.19528 ++
40.19529 ++	  if test -n "$old_archive_from_expsyms_cmds"; then
40.19530 ++	    # figure out the soname
40.19531 ++	    set dummy $library_names
40.19532 ++	    realname="$2"
40.19533 ++	    shift; shift
40.19534 ++	    libname=`eval \\$echo \"$libname_spec\"`
40.19535 ++	    # use dlname if we got it. it's perfectly good, no?
40.19536 ++	    if test -n "$dlname"; then
40.19537 ++	      soname="$dlname"
40.19538 ++	    elif test -n "$soname_spec"; then
40.19539 ++	      # bleh windows
40.19540 ++	      case $host in
40.19541 ++	      *cygwin*)
40.19542 ++		major=`expr $current - $age`
40.19543 ++		versuffix="-$major"
40.19544 ++		;;
40.19545 ++	      esac
40.19546 ++	      eval soname=\"$soname_spec\"
40.19547 ++	    else
40.19548 ++	      soname="$realname"
40.19549 ++	    fi
40.19550 ++
40.19551 ++	    # Make a new name for the extract_expsyms_cmds to use
40.19552 ++	    soroot="$soname"
40.19553 ++	    soname=`echo $soroot | sed -e 's/^.*\///'`
40.19554 ++	    newlib="libimp-`echo $soname | sed 's/^lib//;s/\.dll$//'`.a"
40.19555 ++
40.19556 ++	    # If the library has no export list, then create one now
40.19557 ++	    if test -f "$output_objdir/$soname-def"; then :
40.19558 ++	    else
40.19559 ++	      $show "extracting exported symbol list from \`$soname'"
40.19560 ++	      IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
40.19561 ++	      eval cmds=\"$extract_expsyms_cmds\"
40.19562 ++	      for cmd in $cmds; do
40.19563 ++		IFS="$save_ifs"
40.19564 ++		$show "$cmd"
40.19565 ++		$run eval "$cmd" || exit $?
40.19566 ++	      done
40.19567 ++	      IFS="$save_ifs"
40.19568 ++	    fi
40.19569 ++
40.19570 ++	    # Create $newlib
40.19571 ++	    if test -f "$output_objdir/$newlib"; then :; else
40.19572 ++	      $show "generating import library for \`$soname'"
40.19573 ++	      IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
40.19574 ++	      eval cmds=\"$old_archive_from_expsyms_cmds\"
40.19575 ++	      for cmd in $cmds; do
40.19576 ++		IFS="$save_ifs"
40.19577 ++		$show "$cmd"
40.19578 ++		$run eval "$cmd" || exit $?
40.19579 ++	      done
40.19580 ++	      IFS="$save_ifs"
40.19581 ++	    fi
40.19582 ++	    # make sure the library variables are pointing to the new library
40.19583 ++	    dir=$output_objdir
40.19584 ++	    linklib=$newlib
40.19585 ++	  fi # test -n $old_archive_from_expsyms_cmds
40.19586 ++
40.19587 ++	  if test "$linkmode" = prog || test "$mode" != relink; then
40.19588 ++	    add_shlibpath=
40.19589 ++	    add_dir=
40.19590 ++	    add=
40.19591 ++	    lib_linked=yes
40.19592 ++	    case $hardcode_action in
40.19593 ++	    immediate | unsupported)
40.19594 ++	      if test "$hardcode_direct" = no; then
40.19595 ++		add="$dir/$linklib"
40.19596 ++	      elif test "$hardcode_minus_L" = no; then
40.19597 ++		case $host in
40.19598 ++		*-*-sunos*) add_shlibpath="$dir" ;;
40.19599 ++		esac
40.19600 ++		add_dir="-L$dir"
40.19601 ++		add="-l$name"
40.19602 ++	      elif test "$hardcode_shlibpath_var" = no; then
40.19603 ++		add_shlibpath="$dir"
40.19604 ++		add="-l$name"
40.19605 ++	      else
40.19606 ++		lib_linked=no
40.19607 ++	      fi
40.19608 ++	      ;;
40.19609 ++	    relink)
40.19610 ++	      if test "$hardcode_direct" = yes; then
40.19611 ++		add="$dir/$linklib"
40.19612 ++	      elif test "$hardcode_minus_L" = yes; then
40.19613 ++		add_dir="-L$dir"
40.19614 ++		add="-l$name"
40.19615 ++	      elif test "$hardcode_shlibpath_var" = yes; then
40.19616 ++		add_shlibpath="$dir"
40.19617 ++		add="-l$name"
40.19618 ++	      else
40.19619 ++		lib_linked=no
40.19620 ++	      fi
40.19621 ++	      ;;
40.19622 ++	    *) lib_linked=no ;;
40.19623 ++	    esac
40.19624 ++
40.19625 ++	    if test "$lib_linked" != yes; then
40.19626 ++	      $echo "$modename: configuration error: unsupported hardcode properties"
40.19627 ++	      exit 1
40.19628 ++	    fi
40.19629 ++
40.19630 ++	    if test -n "$add_shlibpath"; then
40.19631 ++	      case :$compile_shlibpath: in
40.19632 ++	      *":$add_shlibpath:"*) ;;
40.19633 ++	      *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;;
40.19634 ++	      esac
40.19635 ++	    fi
40.19636 ++	    if test "$linkmode" = prog; then
40.19637 ++	      test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs"
40.19638 ++	      test -n "$add" && compile_deplibs="$add $compile_deplibs"
40.19639 ++	    else
40.19640 ++	      test -n "$add_dir" && deplibs="$add_dir $deplibs"
40.19641 ++	      test -n "$add" && deplibs="$add $deplibs"
40.19642 ++	      if test "$hardcode_direct" != yes && \
40.19643 ++		 test "$hardcode_minus_L" != yes && \
40.19644 ++		 test "$hardcode_shlibpath_var" = yes; then
40.19645 ++		case :$finalize_shlibpath: in
40.19646 ++		*":$libdir:"*) ;;
40.19647 ++		*) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
40.19648 ++		esac
40.19649 ++	      fi
40.19650 ++	    fi
40.19651 ++	  fi
40.19652 ++
40.19653 ++	  if test "$linkmode" = prog || test "$mode" = relink; then
40.19654 ++	    add_shlibpath=
40.19655 ++	    add_dir=
40.19656 ++	    add=
40.19657 ++	    # Finalize command for both is simple: just hardcode it.
40.19658 ++	    if test "$hardcode_direct" = yes; then
40.19659 ++	      add="$libdir/$linklib"
40.19660 ++	    elif test "$hardcode_minus_L" = yes; then
40.19661 ++	      add_dir="-L$libdir"
40.19662 ++	      add="-l$name"
40.19663 ++	    elif test "$hardcode_shlibpath_var" = yes; then
40.19664 ++	      case :$finalize_shlibpath: in
40.19665 ++	      *":$libdir:"*) ;;
40.19666 ++	      *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
40.19667 ++	      esac
40.19668 ++	      add="-l$name"
40.19669 ++	    else
40.19670 ++	      # We cannot seem to hardcode it, guess we'll fake it.
40.19671 ++	      add_dir="-L$libdir"
40.19672 ++	      add="-l$name"
40.19673 ++	    fi
40.19674 ++
40.19675 ++	    if test "$linkmode" = prog; then
40.19676 ++	      test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs"
40.19677 ++	      test -n "$add" && finalize_deplibs="$add $finalize_deplibs"
40.19678 ++	    else
40.19679 ++	      test -n "$add_dir" && deplibs="$add_dir $deplibs"
40.19680 ++	      test -n "$add" && deplibs="$add $deplibs"
40.19681 ++	    fi
40.19682 ++	  fi
40.19683 ++	elif test "$linkmode" = prog; then
40.19684 ++	  if test "$alldeplibs" = yes &&
40.19685 ++	     { test "$deplibs_check_method" = pass_all ||
40.19686 ++	       { test "$build_libtool_libs" = yes &&
40.19687 ++		 test -n "$library_names"; }; }; then
40.19688 ++	    # We only need to search for static libraries
40.19689 ++	    continue
40.19690 ++	  fi
40.19691 ++
40.19692 ++	  # Try to link the static library
40.19693 ++	  # Here we assume that one of hardcode_direct or hardcode_minus_L
40.19694 ++	  # is not unsupported.  This is valid on all known static and
40.19695 ++	  # shared platforms.
40.19696 ++	  if test "$hardcode_direct" != unsupported; then
40.19697 ++	    test -n "$old_library" && linklib="$old_library"
40.19698 ++	    compile_deplibs="$dir/$linklib $compile_deplibs"
40.19699 ++	    finalize_deplibs="$dir/$linklib $finalize_deplibs"
40.19700 ++	  else
40.19701 ++	    compile_deplibs="-l$name -L$dir $compile_deplibs"
40.19702 ++	    finalize_deplibs="-l$name -L$dir $finalize_deplibs"
40.19703 ++	  fi
40.19704 ++	elif test "$build_libtool_libs" = yes; then
40.19705 ++	  # Not a shared library
40.19706 ++	  if test "$deplibs_check_method" != pass_all; then
40.19707 ++	    # We're trying link a shared library against a static one
40.19708 ++	    # but the system doesn't support it.
40.19709 ++
40.19710 ++	    # Just print a warning and add the library to dependency_libs so
40.19711 ++	    # that the program can be linked against the static library.
40.19712 ++	    echo
40.19713 ++	    echo "*** Warning: This library needs some functionality provided by $lib."
40.19714 ++	    echo "*** I have the capability to make that library automatically link in when"
40.19715 ++	    echo "*** you link to this library.  But I can only do this if you have a"
40.19716 ++	    echo "*** shared version of the library, which you do not appear to have."
40.19717 ++	    if test "$module" = yes; then
40.19718 ++	      echo "*** Therefore, libtool will create a static module, that should work "
40.19719 ++	      echo "*** as long as the dlopening application is linked with the -dlopen flag."
40.19720 ++	      if test -z "$global_symbol_pipe"; then
40.19721 ++	        echo
40.19722 ++	        echo "*** However, this would only work if libtool was able to extract symbol"
40.19723 ++	        echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
40.19724 ++	        echo "*** not find such a program.  So, this module is probably useless."
40.19725 ++	        echo "*** \`nm' from GNU binutils and a full rebuild may help."
40.19726 ++	      fi
40.19727 ++	      if test "$build_old_libs" = no; then
40.19728 ++	        build_libtool_libs=module
40.19729 ++	        build_old_libs=yes
40.19730 ++	      else
40.19731 ++	        build_libtool_libs=no
40.19732 ++	      fi
40.19733 ++	    fi
40.19734 ++	  else
40.19735 ++	    convenience="$convenience $dir/$old_library"
40.19736 ++	    old_convenience="$old_convenience $dir/$old_library"
40.19737 ++	    deplibs="$dir/$old_library $deplibs"
40.19738 ++	    link_static=yes
40.19739 ++	  fi
40.19740 ++	fi # link shared/static library?
40.19741 ++
40.19742 ++	if test "$linkmode" = lib; then
40.19743 ++	  if test -n "$dependency_libs" &&
40.19744 ++	     { test "$hardcode_into_libs" != yes || test $build_old_libs = yes ||
40.19745 ++	       test $link_static = yes; }; then
40.19746 ++	    # Extract -R from dependency_libs
40.19747 ++	    temp_deplibs=
40.19748 ++	    for libdir in $dependency_libs; do
40.19749 ++	      case $libdir in
40.19750 ++	      -R*) temp_xrpath=`$echo "X$libdir" | $Xsed -e 's/^-R//'`
40.19751 ++		   case " $xrpath " in
40.19752 ++		   *" $temp_xrpath "*) ;;
40.19753 ++		   *) xrpath="$xrpath $temp_xrpath";;
40.19754 ++		   esac;;
40.19755 ++	      *) temp_deplibs="$temp_deplibs $libdir";;
40.19756 ++	      esac
40.19757 ++	    done
40.19758 ++	    dependency_libs="$temp_deplibs"
40.19759 ++	  fi
40.19760 ++
40.19761 ++	  newlib_search_path="$newlib_search_path $absdir"
40.19762 ++	  # Link against this library
40.19763 ++	  test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs"
40.19764 ++	  # ... and its dependency_libs
40.19765 ++	  tmp_libs=
40.19766 ++	  for deplib in $dependency_libs; do
40.19767 ++	    newdependency_libs="$deplib $newdependency_libs"
40.19768 ++	    case "$tmp_libs " in
40.19769 ++	    *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
40.19770 ++	    esac
40.19771 ++	    tmp_libs="$tmp_libs $deplib"
40.19772 ++	  done
40.19773 ++
40.19774 ++	  if test "$link_all_deplibs" != no; then
40.19775 ++	    # Add the search paths of all dependency libraries
40.19776 ++	    for deplib in $dependency_libs; do
40.19777 ++	      case $deplib in
40.19778 ++	      -L*) path="$deplib" ;;
40.19779 ++	      *.la)
40.19780 ++		dir=`$echo "X$deplib" | $Xsed -e 's%/[^/]*$%%'`
40.19781 ++		test "X$dir" = "X$deplib" && dir="."
40.19782 ++		# We need an absolute path.
40.19783 ++		case $dir in
40.19784 ++		[\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;;
40.19785 ++		*)
40.19786 ++		  absdir=`cd "$dir" && pwd`
40.19787 ++		  if test -z "$absdir"; then
40.19788 ++		    $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2
40.19789 ++		    absdir="$dir"
40.19790 ++		  fi
40.19791 ++		  ;;
40.19792 ++		esac
40.19793 ++		if grep "^installed=no" $deplib > /dev/null; then
40.19794 ++		  path="-L$absdir/$objdir"
40.19795 ++		else
40.19796 ++		  eval libdir=`sed -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
40.19797 ++		  if test -z "$libdir"; then
40.19798 ++		    $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
40.19799 ++		    exit 1
40.19800 ++		  fi
40.19801 ++		  if test "$absdir" != "$libdir"; then
40.19802 ++		    $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2
40.19803 ++		  fi
40.19804 ++		  path="-L$absdir"
40.19805 ++		fi
40.19806 ++		;;
40.19807 ++	      *) continue ;;
40.19808 ++	      esac
40.19809 ++	      case " $deplibs " in
40.19810 ++	      *" $path "*) ;;
40.19811 ++	      *) deplibs="$deplibs $path" ;;
40.19812 ++	      esac
40.19813 ++	    done
40.19814 ++	  fi # link_all_deplibs != no
40.19815 ++	fi # linkmode = lib
40.19816 ++      done # for deplib in $libs
40.19817 ++      if test "$pass" = dlpreopen; then
40.19818 ++	# Link the dlpreopened libraries before other libraries
40.19819 ++	for deplib in $save_deplibs; do
40.19820 ++	  deplibs="$deplib $deplibs"
40.19821 ++	done
40.19822 ++      fi
40.19823 ++      if test "$pass" != dlopen; then
40.19824 ++	test "$pass" != scan && dependency_libs="$newdependency_libs"
40.19825 ++	if test "$pass" != conv; then
40.19826 ++	  # Make sure lib_search_path contains only unique directories.
40.19827 ++	  lib_search_path=
40.19828 ++	  for dir in $newlib_search_path; do
40.19829 ++	    case "$lib_search_path " in
40.19830 ++	    *" $dir "*) ;;
40.19831 ++	    *) lib_search_path="$lib_search_path $dir" ;;
40.19832 ++	    esac
40.19833 ++	  done
40.19834 ++	  newlib_search_path=
40.19835 ++	fi
40.19836 ++
40.19837 ++	if test "$linkmode,$pass" != "prog,link"; then
40.19838 ++	  vars="deplibs"
40.19839 ++	else
40.19840 ++	  vars="compile_deplibs finalize_deplibs"
40.19841 ++	fi
40.19842 ++	for var in $vars dependency_libs; do
40.19843 ++	  # Add libraries to $var in reverse order
40.19844 ++	  eval tmp_libs=\"\$$var\"
40.19845 ++	  new_libs=
40.19846 ++	  for deplib in $tmp_libs; do
40.19847 ++	    case $deplib in
40.19848 ++	    -L*) new_libs="$deplib $new_libs" ;;
40.19849 ++	    *)
40.19850 ++	      case " $specialdeplibs " in
40.19851 ++	      *" $deplib "*) new_libs="$deplib $new_libs" ;;
40.19852 ++	      *)
40.19853 ++		case " $new_libs " in
40.19854 ++		*" $deplib "*) ;;
40.19855 ++		*) new_libs="$deplib $new_libs" ;;
40.19856 ++		esac
40.19857 ++		;;
40.19858 ++	      esac
40.19859 ++	      ;;
40.19860 ++	    esac
40.19861 ++	  done
40.19862 ++	  tmp_libs=
40.19863 ++	  for deplib in $new_libs; do
40.19864 ++	    case $deplib in
40.19865 ++	    -L*)
40.19866 ++	      case " $tmp_libs " in
40.19867 ++	      *" $deplib "*) ;;
40.19868 ++	      *) tmp_libs="$tmp_libs $deplib" ;;
40.19869 ++	      esac
40.19870 ++	      ;;
40.19871 ++	    *) tmp_libs="$tmp_libs $deplib" ;;
40.19872 ++	    esac
40.19873 ++	  done
40.19874 ++	  eval $var=\"$tmp_libs\"
40.19875 ++	done # for var
40.19876 ++      fi
40.19877 ++      if test "$pass" = "conv" &&
40.19878 ++       { test "$linkmode" = "lib" || test "$linkmode" = "prog"; }; then
40.19879 ++	libs="$deplibs" # reset libs
40.19880 ++	deplibs=
40.19881 ++      fi
40.19882 ++    done # for pass
40.19883 ++    if test "$linkmode" = prog; then
40.19884 ++      dlfiles="$newdlfiles"
40.19885 ++      dlprefiles="$newdlprefiles"
40.19886 ++    fi
40.19887 ++
40.19888 ++    case $linkmode in
40.19889 ++    oldlib)
40.19890 ++      if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
40.19891 ++	$echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2
40.19892 ++      fi
40.19893 ++
40.19894 ++      if test -n "$rpath"; then
40.19895 ++	$echo "$modename: warning: \`-rpath' is ignored for archives" 1>&2
40.19896 ++      fi
40.19897 ++
40.19898 ++      if test -n "$xrpath"; then
40.19899 ++	$echo "$modename: warning: \`-R' is ignored for archives" 1>&2
40.19900 ++      fi
40.19901 ++
40.19902 ++      if test -n "$vinfo"; then
40.19903 ++	$echo "$modename: warning: \`-version-info' is ignored for archives" 1>&2
40.19904 ++      fi
40.19905 ++
40.19906 ++      if test -n "$release"; then
40.19907 ++	$echo "$modename: warning: \`-release' is ignored for archives" 1>&2
40.19908 ++      fi
40.19909 ++
40.19910 ++      if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
40.19911 ++	$echo "$modename: warning: \`-export-symbols' is ignored for archives" 1>&2
40.19912 ++      fi
40.19913 ++
40.19914 ++      # Now set the variables for building old libraries.
40.19915 ++      build_libtool_libs=no
40.19916 ++      oldlibs="$output"
40.19917 ++      objs="$objs$old_deplibs"
40.19918 ++      ;;
40.19919 ++
40.19920 ++    lib)
40.19921 ++      # Make sure we only generate libraries of the form `libNAME.la'.
40.19922 ++      case $outputname in
40.19923 ++      lib*)
40.19924 ++	name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
40.19925 ++	eval libname=\"$libname_spec\"
40.19926 ++	;;
40.19927 ++      *)
40.19928 ++	if test "$module" = no; then
40.19929 ++	  $echo "$modename: libtool library \`$output' must begin with \`lib'" 1>&2
40.19930 ++	  $echo "$help" 1>&2
40.19931 ++	  exit 1
40.19932 ++	fi
40.19933 ++	if test "$need_lib_prefix" != no; then
40.19934 ++	  # Add the "lib" prefix for modules if required
40.19935 ++	  name=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
40.19936 ++	  eval libname=\"$libname_spec\"
40.19937 ++	else
40.19938 ++	  libname=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
40.19939 ++	fi
40.19940 ++	;;
40.19941 ++      esac
40.19942 ++
40.19943 ++      if test -n "$objs"; then
40.19944 ++	if test "$deplibs_check_method" != pass_all; then
40.19945 ++	  $echo "$modename: cannot build libtool library \`$output' from non-libtool objects on this host:$objs" 2>&1
40.19946 ++	  exit 1
40.19947 ++	else
40.19948 ++	  echo
40.19949 ++	  echo "*** Warning: Linking the shared library $output against the non-libtool"
40.19950 ++	  echo "*** objects $objs is not portable!"
40.19951 ++	  libobjs="$libobjs $objs"
40.19952 ++	fi
40.19953 ++      fi
40.19954 ++
40.19955 ++      if test "$dlself" != no; then
40.19956 ++	$echo "$modename: warning: \`-dlopen self' is ignored for libtool libraries" 1>&2
40.19957 ++      fi
40.19958 ++
40.19959 ++      set dummy $rpath
40.19960 ++      if test $# -gt 2; then
40.19961 ++	$echo "$modename: warning: ignoring multiple \`-rpath's for a libtool library" 1>&2
40.19962 ++      fi
40.19963 ++      install_libdir="$2"
40.19964 ++
40.19965 ++      oldlibs=
40.19966 ++      if test -z "$rpath"; then
40.19967 ++	if test "$build_libtool_libs" = yes; then
40.19968 ++	  # Building a libtool convenience library.
40.19969 ++	  libext=al
40.19970 ++	  oldlibs="$output_objdir/$libname.$libext $oldlibs"
40.19971 ++	  build_libtool_libs=convenience
40.19972 ++	  build_old_libs=yes
40.19973 ++	fi
40.19974 ++
40.19975 ++	if test -n "$vinfo"; then
40.19976 ++	  $echo "$modename: warning: \`-version-info' is ignored for convenience libraries" 1>&2
40.19977 ++	fi
40.19978 ++
40.19979 ++	if test -n "$release"; then
40.19980 ++	  $echo "$modename: warning: \`-release' is ignored for convenience libraries" 1>&2
40.19981 ++	fi
40.19982 ++      else
40.19983 ++
40.19984 ++	# Parse the version information argument.
40.19985 ++	IFS="${IFS= 	}"; save_ifs="$IFS"; IFS=':'
40.19986 ++	set dummy $vinfo 0 0 0
40.19987 ++	IFS="$save_ifs"
40.19988 ++
40.19989 ++	if test -n "$8"; then
40.19990 ++	  $echo "$modename: too many parameters to \`-version-info'" 1>&2
40.19991 ++	  $echo "$help" 1>&2
40.19992 ++	  exit 1
40.19993 ++	fi
40.19994 ++
40.19995 ++	current="$2"
40.19996 ++	revision="$3"
40.19997 ++	age="$4"
40.19998 ++
40.19999 ++	# Check that each of the things are valid numbers.
40.20000 ++	case $current in
40.20001 ++	0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
40.20002 ++	*)
40.20003 ++	  $echo "$modename: CURRENT \`$current' is not a nonnegative integer" 1>&2
40.20004 ++	  $echo "$modename: \`$vinfo' is not valid version information" 1>&2
40.20005 ++	  exit 1
40.20006 ++	  ;;
40.20007 ++	esac
40.20008 ++
40.20009 ++	case $revision in
40.20010 ++	0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
40.20011 ++	*)
40.20012 ++	  $echo "$modename: REVISION \`$revision' is not a nonnegative integer" 1>&2
40.20013 ++	  $echo "$modename: \`$vinfo' is not valid version information" 1>&2
40.20014 ++	  exit 1
40.20015 ++	  ;;
40.20016 ++	esac
40.20017 ++
40.20018 ++	case $age in
40.20019 ++	0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
40.20020 ++	*)
40.20021 ++	  $echo "$modename: AGE \`$age' is not a nonnegative integer" 1>&2
40.20022 ++	  $echo "$modename: \`$vinfo' is not valid version information" 1>&2
40.20023 ++	  exit 1
40.20024 ++	  ;;
40.20025 ++	esac
40.20026 ++
40.20027 ++	if test $age -gt $current; then
40.20028 ++	  $echo "$modename: AGE \`$age' is greater than the current interface number \`$current'" 1>&2
40.20029 ++	  $echo "$modename: \`$vinfo' is not valid version information" 1>&2
40.20030 ++	  exit 1
40.20031 ++	fi
40.20032 ++
40.20033 ++	# Calculate the version variables.
40.20034 ++	major=
40.20035 ++	versuffix=
40.20036 ++	verstring=
40.20037 ++	case $version_type in
40.20038 ++	none) ;;
40.20039 ++
40.20040 ++	darwin)
40.20041 ++	  # Like Linux, but with the current version available in
40.20042 ++	  # verstring for coding it into the library header
40.20043 ++	  major=.`expr $current - $age`
40.20044 ++	  versuffix="$major.$age.$revision"
40.20045 ++	  # Darwin ld doesn't like 0 for these options...
40.20046 ++	  minor_current=`expr $current + 1`
40.20047 ++	  verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
40.20048 ++	  ;;
40.20049 ++
40.20050 ++	freebsd-aout)
40.20051 ++	  major=".$current"
40.20052 ++	  versuffix=".$current.$revision";
40.20053 ++	  ;;
40.20054 ++
40.20055 ++	freebsd-elf)
40.20056 ++	  major=".$current"
40.20057 ++	  versuffix=".$current";
40.20058 ++	  ;;
40.20059 ++
40.20060 ++	irix)
40.20061 ++	  major=`expr $current - $age + 1`
40.20062 ++	  verstring="sgi$major.$revision"
40.20063 ++
40.20064 ++	  # Add in all the interfaces that we are compatible with.
40.20065 ++	  loop=$revision
40.20066 ++	  while test $loop != 0; do
40.20067 ++	    iface=`expr $revision - $loop`
40.20068 ++	    loop=`expr $loop - 1`
40.20069 ++	    verstring="sgi$major.$iface:$verstring"
40.20070 ++	  done
40.20071 ++
40.20072 ++	  # Before this point, $major must not contain `.'.
40.20073 ++	  major=.$major
40.20074 ++	  versuffix="$major.$revision"
40.20075 ++	  ;;
40.20076 ++
40.20077 ++	linux)
40.20078 ++	  major=.`expr $current - $age`
40.20079 ++	  versuffix="$major.$age.$revision"
40.20080 ++	  ;;
40.20081 ++
40.20082 ++	osf)
40.20083 ++	  major=`expr $current - $age`
40.20084 ++	  versuffix=".$current.$age.$revision"
40.20085 ++	  verstring="$current.$age.$revision"
40.20086 ++
40.20087 ++	  # Add in all the interfaces that we are compatible with.
40.20088 ++	  loop=$age
40.20089 ++	  while test $loop != 0; do
40.20090 ++	    iface=`expr $current - $loop`
40.20091 ++	    loop=`expr $loop - 1`
40.20092 ++	    verstring="$verstring:${iface}.0"
40.20093 ++	  done
40.20094 ++
40.20095 ++	  # Make executables depend on our current version.
40.20096 ++	  verstring="$verstring:${current}.0"
40.20097 ++	  ;;
40.20098 ++
40.20099 ++	sunos)
40.20100 ++	  major=".$current"
40.20101 ++	  versuffix=".$current.$revision"
40.20102 ++	  ;;
40.20103 ++
40.20104 ++	windows)
40.20105 ++	  # Use '-' rather than '.', since we only want one
40.20106 ++	  # extension on DOS 8.3 filesystems.
40.20107 ++	  major=`expr $current - $age`
40.20108 ++	  versuffix="-$major"
40.20109 ++	  ;;
40.20110 ++
40.20111 ++	*)
40.20112 ++	  $echo "$modename: unknown library version type \`$version_type'" 1>&2
40.20113 ++	  echo "Fatal configuration error.  See the $PACKAGE docs for more information." 1>&2
40.20114 ++	  exit 1
40.20115 ++	  ;;
40.20116 ++	esac
40.20117 ++
40.20118 ++	# Clear the version info if we defaulted, and they specified a release.
40.20119 ++	if test -z "$vinfo" && test -n "$release"; then
40.20120 ++	  major=
40.20121 ++	  verstring="0.0"
40.20122 ++	  if test "$need_version" = no; then
40.20123 ++	    versuffix=
40.20124 ++	  else
40.20125 ++	    versuffix=".0.0"
40.20126 ++	  fi
40.20127 ++	fi
40.20128 ++
40.20129 ++	# Remove version info from name if versioning should be avoided
40.20130 ++	if test "$avoid_version" = yes && test "$need_version" = no; then
40.20131 ++	  major=
40.20132 ++	  versuffix=
40.20133 ++	  verstring=""
40.20134 ++	fi
40.20135 ++
40.20136 ++	# Check to see if the archive will have undefined symbols.
40.20137 ++	if test "$allow_undefined" = yes; then
40.20138 ++	  if test "$allow_undefined_flag" = unsupported; then
40.20139 ++	    $echo "$modename: warning: undefined symbols not allowed in $host shared libraries" 1>&2
40.20140 ++	    build_libtool_libs=no
40.20141 ++	    build_old_libs=yes
40.20142 ++	  fi
40.20143 ++	else
40.20144 ++	  # Don't allow undefined symbols.
40.20145 ++	  allow_undefined_flag="$no_undefined_flag"
40.20146 ++	fi
40.20147 ++      fi
40.20148 ++
40.20149 ++      if test "$mode" != relink; then
40.20150 ++	# Remove our outputs.
40.20151 ++	$show "${rm}r $output_objdir/$outputname $output_objdir/$libname.* $output_objdir/${libname}${release}.*"
40.20152 ++	$run ${rm}r $output_objdir/$outputname $output_objdir/$libname.* $output_objdir/${libname}${release}.*
40.20153 ++      fi
40.20154 ++
40.20155 ++      # Now set the variables for building old libraries.
40.20156 ++      if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then
40.20157 ++	oldlibs="$oldlibs $output_objdir/$libname.$libext"
40.20158 ++
40.20159 ++	# Transform .lo files to .o files.
40.20160 ++	oldobjs="$objs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP`
40.20161 ++      fi
40.20162 ++
40.20163 ++      # Eliminate all temporary directories.
40.20164 ++      for path in $notinst_path; do
40.20165 ++	lib_search_path=`echo "$lib_search_path " | sed -e 's% $path % %g'`
40.20166 ++	deplibs=`echo "$deplibs " | sed -e 's% -L$path % %g'`
40.20167 ++	dependency_libs=`echo "$dependency_libs " | sed -e 's% -L$path % %g'`
40.20168 ++      done
40.20169 ++
40.20170 ++      if test -n "$xrpath"; then
40.20171 ++	# If the user specified any rpath flags, then add them.
40.20172 ++	temp_xrpath=
40.20173 ++	for libdir in $xrpath; do
40.20174 ++	  temp_xrpath="$temp_xrpath -R$libdir"
40.20175 ++	  case "$finalize_rpath " in
40.20176 ++	  *" $libdir "*) ;;
40.20177 ++	  *) finalize_rpath="$finalize_rpath $libdir" ;;
40.20178 ++	  esac
40.20179 ++	done
40.20180 ++	if test $hardcode_into_libs != yes || test $build_old_libs = yes; then
40.20181 ++	  dependency_libs="$temp_xrpath $dependency_libs"
40.20182 ++	fi
40.20183 ++      fi
40.20184 ++
40.20185 ++      # Make sure dlfiles contains only unique files that won't be dlpreopened
40.20186 ++      old_dlfiles="$dlfiles"
40.20187 ++      dlfiles=
40.20188 ++      for lib in $old_dlfiles; do
40.20189 ++	case " $dlprefiles $dlfiles " in
40.20190 ++	*" $lib "*) ;;
40.20191 ++	*) dlfiles="$dlfiles $lib" ;;
40.20192 ++	esac
40.20193 ++      done
40.20194 ++
40.20195 ++      # Make sure dlprefiles contains only unique files
40.20196 ++      old_dlprefiles="$dlprefiles"
40.20197 ++      dlprefiles=
40.20198 ++      for lib in $old_dlprefiles; do
40.20199 ++	case "$dlprefiles " in
40.20200 ++	*" $lib "*) ;;
40.20201 ++	*) dlprefiles="$dlprefiles $lib" ;;
40.20202 ++	esac
40.20203 ++      done
40.20204 ++
40.20205 ++      if test "$build_libtool_libs" = yes; then
40.20206 ++	if test -n "$rpath"; then
40.20207 ++	  case $host in
40.20208 ++	  *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*)
40.20209 ++	    # these systems don't actually have a c library (as such)!
40.20210 ++	    ;;
40.20211 ++	  *-*-rhapsody* | *-*-darwin1.[012])
40.20212 ++	    # Rhapsody C library is in the System framework
40.20213 ++	    deplibs="$deplibs -framework System"
40.20214 ++	    ;;
40.20215 ++	  *-*-netbsd*)
40.20216 ++	    # Don't link with libc until the a.out ld.so is fixed.
40.20217 ++	    ;;
40.20218 ++	  *)
40.20219 ++	    # Add libc to deplibs on all other systems if necessary.
40.20220 ++	    if test "$build_libtool_need_lc" = "yes"; then
40.20221 ++	      deplibs="$deplibs -lc"
40.20222 ++	    fi
40.20223 ++	    ;;
40.20224 ++	  esac
40.20225 ++	fi
40.20226 ++
40.20227 ++	# Transform deplibs into only deplibs that can be linked in shared.
40.20228 ++	name_save=$name
40.20229 ++	libname_save=$libname
40.20230 ++	release_save=$release
40.20231 ++	versuffix_save=$versuffix
40.20232 ++	major_save=$major
40.20233 ++	# I'm not sure if I'm treating the release correctly.  I think
40.20234 ++	# release should show up in the -l (ie -lgmp5) so we don't want to
40.20235 ++	# add it in twice.  Is that correct?
40.20236 ++	release=""
40.20237 ++	versuffix=""
40.20238 ++	major=""
40.20239 ++	newdeplibs=
40.20240 ++	droppeddeps=no
40.20241 ++	case $deplibs_check_method in
40.20242 ++	pass_all)
40.20243 ++	  # Don't check for shared/static.  Everything works.
40.20244 ++	  # This might be a little naive.  We might want to check
40.20245 ++	  # whether the library exists or not.  But this is on
40.20246 ++	  # osf3 & osf4 and I'm not really sure... Just
40.20247 ++	  # implementing what was already the behaviour.
40.20248 ++	  newdeplibs=$deplibs
40.20249 ++	  ;;
40.20250 ++	test_compile)
40.20251 ++	  # This code stresses the "libraries are programs" paradigm to its
40.20252 ++	  # limits. Maybe even breaks it.  We compile a program, linking it
40.20253 ++	  # against the deplibs as a proxy for the library.  Then we can check
40.20254 ++	  # whether they linked in statically or dynamically with ldd.
40.20255 ++	  $rm conftest.c
40.20256 ++	  cat > conftest.c <<EOF
40.20257 ++	  int main() { return 0; }
40.20258 ++EOF
40.20259 ++	  $rm conftest
40.20260 ++	  $CC -o conftest conftest.c $deplibs
40.20261 ++	  if test $? -eq 0 ; then
40.20262 ++	    ldd_output=`ldd conftest`
40.20263 ++	    for i in $deplibs; do
40.20264 ++	      name="`expr $i : '-l\(.*\)'`"
40.20265 ++	      # If $name is empty we are operating on a -L argument.
40.20266 ++	      if test -n "$name" && test "$name" != "0"; then
40.20267 ++		libname=`eval \\$echo \"$libname_spec\"`
40.20268 ++		deplib_matches=`eval \\$echo \"$library_names_spec\"`
40.20269 ++		set dummy $deplib_matches
40.20270 ++		deplib_match=$2
40.20271 ++		if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
40.20272 ++		  newdeplibs="$newdeplibs $i"
40.20273 ++		else
40.20274 ++		  droppeddeps=yes
40.20275 ++		  echo
40.20276 ++		  echo "*** Warning: This library needs some functionality provided by $i."
40.20277 ++		  echo "*** I have the capability to make that library automatically link in when"
40.20278 ++		  echo "*** you link to this library.  But I can only do this if you have a"
40.20279 ++		  echo "*** shared version of the library, which you do not appear to have."
40.20280 ++		fi
40.20281 ++	      else
40.20282 ++		newdeplibs="$newdeplibs $i"
40.20283 ++	      fi
40.20284 ++	    done
40.20285 ++	  else
40.20286 ++	    # Error occured in the first compile.  Let's try to salvage the situation:
40.20287 ++	    # Compile a seperate program for each library.
40.20288 ++	    for i in $deplibs; do
40.20289 ++	      name="`expr $i : '-l\(.*\)'`"
40.20290 ++	     # If $name is empty we are operating on a -L argument.
40.20291 ++	      if test -n "$name" && test "$name" != "0"; then
40.20292 ++		$rm conftest
40.20293 ++		$CC -o conftest conftest.c $i
40.20294 ++		# Did it work?
40.20295 ++		if test $? -eq 0 ; then
40.20296 ++		  ldd_output=`ldd conftest`
40.20297 ++		  libname=`eval \\$echo \"$libname_spec\"`
40.20298 ++		  deplib_matches=`eval \\$echo \"$library_names_spec\"`
40.20299 ++		  set dummy $deplib_matches
40.20300 ++		  deplib_match=$2
40.20301 ++		  if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
40.20302 ++		    newdeplibs="$newdeplibs $i"
40.20303 ++		  else
40.20304 ++		    droppeddeps=yes
40.20305 ++		    echo
40.20306 ++		    echo "*** Warning: This library needs some functionality provided by $i."
40.20307 ++		    echo "*** I have the capability to make that library automatically link in when"
40.20308 ++		    echo "*** you link to this library.  But I can only do this if you have a"
40.20309 ++		    echo "*** shared version of the library, which you do not appear to have."
40.20310 ++		  fi
40.20311 ++		else
40.20312 ++		  droppeddeps=yes
40.20313 ++		  echo
40.20314 ++		  echo "*** Warning!  Library $i is needed by this library but I was not able to"
40.20315 ++		  echo "***  make it link in!  You will probably need to install it or some"
40.20316 ++		  echo "*** library that it depends on before this library will be fully"
40.20317 ++		  echo "*** functional.  Installing it before continuing would be even better."
40.20318 ++		fi
40.20319 ++	      else
40.20320 ++		newdeplibs="$newdeplibs $i"
40.20321 ++	      fi
40.20322 ++	    done
40.20323 ++	  fi
40.20324 ++	  ;;
40.20325 ++	file_magic*)
40.20326 ++	  set dummy $deplibs_check_method
40.20327 ++	  file_magic_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
40.20328 ++	  for a_deplib in $deplibs; do
40.20329 ++	    name="`expr $a_deplib : '-l\(.*\)'`"
40.20330 ++	    # If $name is empty we are operating on a -L argument.
40.20331 ++	    if test -n "$name" && test "$name" != "0"; then
40.20332 ++	      libname=`eval \\$echo \"$libname_spec\"`
40.20333 ++	      for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
40.20334 ++		    potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
40.20335 ++		    for potent_lib in $potential_libs; do
40.20336 ++		      # Follow soft links.
40.20337 ++		      if ls -lLd "$potent_lib" 2>/dev/null \
40.20338 ++			 | grep " -> " >/dev/null; then
40.20339 ++			continue
40.20340 ++		      fi
40.20341 ++		      # The statement above tries to avoid entering an
40.20342 ++		      # endless loop below, in case of cyclic links.
40.20343 ++		      # We might still enter an endless loop, since a link
40.20344 ++		      # loop can be closed while we follow links,
40.20345 ++		      # but so what?
40.20346 ++		      potlib="$potent_lib"
40.20347 ++		      while test -h "$potlib" 2>/dev/null; do
40.20348 ++			potliblink=`ls -ld $potlib | sed 's/.* -> //'`
40.20349 ++			case $potliblink in
40.20350 ++			[\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";;
40.20351 ++			*) potlib=`$echo "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";;
40.20352 ++			esac
40.20353 ++		      done
40.20354 ++		      if eval $file_magic_cmd \"\$potlib\" 2>/dev/null \
40.20355 ++			 | sed 10q \
40.20356 ++			 | egrep "$file_magic_regex" > /dev/null; then
40.20357 ++			newdeplibs="$newdeplibs $a_deplib"
40.20358 ++			a_deplib=""
40.20359 ++			break 2
40.20360 ++		      fi
40.20361 ++		    done
40.20362 ++	      done
40.20363 ++	      if test -n "$a_deplib" ; then
40.20364 ++		droppeddeps=yes
40.20365 ++		echo
40.20366 ++		echo "*** Warning: This library needs some functionality provided by $a_deplib."
40.20367 ++		echo "*** I have the capability to make that library automatically link in when"
40.20368 ++		echo "*** you link to this library.  But I can only do this if you have a"
40.20369 ++		echo "*** shared version of the library, which you do not appear to have."
40.20370 ++	      fi
40.20371 ++	    else
40.20372 ++	      # Add a -L argument.
40.20373 ++	      newdeplibs="$newdeplibs $a_deplib"
40.20374 ++	    fi
40.20375 ++	  done # Gone through all deplibs.
40.20376 ++	  ;;
40.20377 ++	match_pattern*)
40.20378 ++	  set dummy $deplibs_check_method
40.20379 ++	  match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
40.20380 ++	  for a_deplib in $deplibs; do
40.20381 ++	    name="`expr $a_deplib : '-l\(.*\)'`"
40.20382 ++	    # If $name is empty we are operating on a -L argument.
40.20383 ++	    if test -n "$name" && test "$name" != "0"; then
40.20384 ++	      libname=`eval \\$echo \"$libname_spec\"`
40.20385 ++	      for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
40.20386 ++		potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
40.20387 ++		for potent_lib in $potential_libs; do
40.20388 ++		  if eval echo \"$potent_lib\" 2>/dev/null \
40.20389 ++		      | sed 10q \
40.20390 ++		      | egrep "$match_pattern_regex" > /dev/null; then
40.20391 ++		    newdeplibs="$newdeplibs $a_deplib"
40.20392 ++		    a_deplib=""
40.20393 ++		    break 2
40.20394 ++		  fi
40.20395 ++		done
40.20396 ++	      done
40.20397 ++	      if test -n "$a_deplib" ; then
40.20398 ++		droppeddeps=yes
40.20399 ++		echo
40.20400 ++		echo "*** Warning: This library needs some functionality provided by $a_deplib."
40.20401 ++		echo "*** I have the capability to make that library automatically link in when"
40.20402 ++		echo "*** you link to this library.  But I can only do this if you have a"
40.20403 ++		echo "*** shared version of the library, which you do not appear to have."
40.20404 ++	      fi
40.20405 ++	    else
40.20406 ++	      # Add a -L argument.
40.20407 ++	      newdeplibs="$newdeplibs $a_deplib"
40.20408 ++	    fi
40.20409 ++	  done # Gone through all deplibs.
40.20410 ++	  ;;
40.20411 ++	none | unknown | *)
40.20412 ++	  newdeplibs=""
40.20413 ++	  if $echo "X $deplibs" | $Xsed -e 's/ -lc$//' \
40.20414 ++	       -e 's/ -[LR][^ ]*//g' -e 's/[ 	]//g' |
40.20415 ++	     grep . >/dev/null; then
40.20416 ++	    echo
40.20417 ++	    if test "X$deplibs_check_method" = "Xnone"; then
40.20418 ++	      echo "*** Warning: inter-library dependencies are not supported in this platform."
40.20419 ++	    else
40.20420 ++	      echo "*** Warning: inter-library dependencies are not known to be supported."
40.20421 ++	    fi
40.20422 ++	    echo "*** All declared inter-library dependencies are being dropped."
40.20423 ++	    droppeddeps=yes
40.20424 ++	  fi
40.20425 ++	  ;;
40.20426 ++	esac
40.20427 ++	versuffix=$versuffix_save
40.20428 ++	major=$major_save
40.20429 ++	release=$release_save
40.20430 ++	libname=$libname_save
40.20431 ++	name=$name_save
40.20432 ++
40.20433 ++	case $host in
40.20434 ++	*-*-rhapsody* | *-*-darwin1.[012])
40.20435 ++	  # On Rhapsody replace the C library is the System framework
40.20436 ++	  newdeplibs=`$echo "X $newdeplibs" | $Xsed -e 's/ -lc / -framework System /'`
40.20437 ++	  ;;
40.20438 ++	esac
40.20439 ++
40.20440 ++	if test "$droppeddeps" = yes; then
40.20441 ++	  if test "$module" = yes; then
40.20442 ++	    echo
40.20443 ++	    echo "*** Warning: libtool could not satisfy all declared inter-library"
40.20444 ++	    echo "*** dependencies of module $libname.  Therefore, libtool will create"
40.20445 ++	    echo "*** a static module, that should work as long as the dlopening"
40.20446 ++	    echo "*** application is linked with the -dlopen flag."
40.20447 ++	    if test -z "$global_symbol_pipe"; then
40.20448 ++	      echo
40.20449 ++	      echo "*** However, this would only work if libtool was able to extract symbol"
40.20450 ++	      echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
40.20451 ++	      echo "*** not find such a program.  So, this module is probably useless."
40.20452 ++	      echo "*** \`nm' from GNU binutils and a full rebuild may help."
40.20453 ++	    fi
40.20454 ++	    if test "$build_old_libs" = no; then
40.20455 ++	      oldlibs="$output_objdir/$libname.$libext"
40.20456 ++	      build_libtool_libs=module
40.20457 ++	      build_old_libs=yes
40.20458 ++	    else
40.20459 ++	      build_libtool_libs=no
40.20460 ++	    fi
40.20461 ++	  else
40.20462 ++	    echo "*** The inter-library dependencies that have been dropped here will be"
40.20463 ++	    echo "*** automatically added whenever a program is linked with this library"
40.20464 ++	    echo "*** or is declared to -dlopen it."
40.20465 ++
40.20466 ++	    if test $allow_undefined = no; then
40.20467 ++	      echo
40.20468 ++	      echo "*** Since this library must not contain undefined symbols,"
40.20469 ++	      echo "*** because either the platform does not support them or"
40.20470 ++	      echo "*** it was explicitly requested with -no-undefined,"
40.20471 ++	      echo "*** libtool will only create a static version of it."
40.20472 ++	      if test "$build_old_libs" = no; then
40.20473 ++		oldlibs="$output_objdir/$libname.$libext"
40.20474 ++		build_libtool_libs=module
40.20475 ++		build_old_libs=yes
40.20476 ++	      else
40.20477 ++		build_libtool_libs=no
40.20478 ++	      fi
40.20479 ++	    fi
40.20480 ++	  fi
40.20481 ++	fi
40.20482 ++	# Done checking deplibs!
40.20483 ++	deplibs=$newdeplibs
40.20484 ++      fi
40.20485 ++
40.20486 ++      # All the library-specific variables (install_libdir is set above).
40.20487 ++      library_names=
40.20488 ++      old_library=
40.20489 ++      dlname=
40.20490 ++
40.20491 ++      # Test again, we may have decided not to build it any more
40.20492 ++      if test "$build_libtool_libs" = yes; then
40.20493 ++	if test "$hardcode_into_libs" = yes; then
40.20494 ++	  # Hardcode the library paths
40.20495 ++	  hardcode_libdirs=
40.20496 ++	  dep_rpath=
40.20497 ++	  rpath="$finalize_rpath"
40.20498 ++	  test "$mode" != relink && rpath="$compile_rpath$rpath"
40.20499 ++	  for libdir in $rpath; do
40.20500 ++	    if test -n "$hardcode_libdir_flag_spec"; then
40.20501 ++	      if test -n "$hardcode_libdir_separator"; then
40.20502 ++		if test -z "$hardcode_libdirs"; then
40.20503 ++		  hardcode_libdirs="$libdir"
40.20504 ++		else
40.20505 ++		  # Just accumulate the unique libdirs.
40.20506 ++		  case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
40.20507 ++		  *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
40.20508 ++		    ;;
40.20509 ++		  *)
40.20510 ++		    hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
40.20511 ++		    ;;
40.20512 ++		  esac
40.20513 ++		fi
40.20514 ++	      else
40.20515 ++		eval flag=\"$hardcode_libdir_flag_spec\"
40.20516 ++		dep_rpath="$dep_rpath $flag"
40.20517 ++	      fi
40.20518 ++	    elif test -n "$runpath_var"; then
40.20519 ++	      case "$perm_rpath " in
40.20520 ++	      *" $libdir "*) ;;
40.20521 ++	      *) perm_rpath="$perm_rpath $libdir" ;;
40.20522 ++	      esac
40.20523 ++	    fi
40.20524 ++	  done
40.20525 ++	  # Substitute the hardcoded libdirs into the rpath.
40.20526 ++	  if test -n "$hardcode_libdir_separator" &&
40.20527 ++	     test -n "$hardcode_libdirs"; then
40.20528 ++	    libdir="$hardcode_libdirs"
40.20529 ++	    eval dep_rpath=\"$hardcode_libdir_flag_spec\"
40.20530 ++	  fi
40.20531 ++	  if test -n "$runpath_var" && test -n "$perm_rpath"; then
40.20532 ++	    # We should set the runpath_var.
40.20533 ++	    rpath=
40.20534 ++	    for dir in $perm_rpath; do
40.20535 ++	      rpath="$rpath$dir:"
40.20536 ++	    done
40.20537 ++	    eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var"
40.20538 ++	  fi
40.20539 ++	  test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs"
40.20540 ++	fi
40.20541 ++
40.20542 ++	shlibpath="$finalize_shlibpath"
40.20543 ++	test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath"
40.20544 ++	if test -n "$shlibpath"; then
40.20545 ++	  eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var"
40.20546 ++	fi
40.20547 ++
40.20548 ++	# Get the real and link names of the library.
40.20549 ++	eval library_names=\"$library_names_spec\"
40.20550 ++	set dummy $library_names
40.20551 ++	realname="$2"
40.20552 ++	shift; shift
40.20553 ++
40.20554 ++	if test -n "$soname_spec"; then
40.20555 ++	  eval soname=\"$soname_spec\"
40.20556 ++	else
40.20557 ++	  soname="$realname"
40.20558 ++	fi
40.20559 ++	test -z "$dlname" && dlname=$soname
40.20560 ++
40.20561 ++	lib="$output_objdir/$realname"
40.20562 ++	for link
40.20563 ++	do
40.20564 ++	  linknames="$linknames $link"
40.20565 ++	done
40.20566 ++
40.20567 ++	# Ensure that we have .o objects for linkers which dislike .lo
40.20568 ++	# (e.g. aix) in case we are running --disable-static
40.20569 ++	for obj in $libobjs; do
40.20570 ++	  xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'`
40.20571 ++	  if test "X$xdir" = "X$obj"; then
40.20572 ++	    xdir="."
40.20573 ++	  else
40.20574 ++	    xdir="$xdir"
40.20575 ++	  fi
40.20576 ++	  baseobj=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
40.20577 ++	  oldobj=`$echo "X$baseobj" | $Xsed -e "$lo2o"`
40.20578 ++	  if test ! -f $xdir/$oldobj; then
40.20579 ++	    $show "(cd $xdir && ${LN_S} $baseobj $oldobj)"
40.20580 ++	    $run eval '(cd $xdir && ${LN_S} $baseobj $oldobj)' || exit $?
40.20581 ++	  fi
40.20582 ++	done
40.20583 ++
40.20584 ++	# Use standard objects if they are pic
40.20585 ++	test -z "$pic_flag" && libobjs=`$echo "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
40.20586 ++
40.20587 ++	# Prepare the list of exported symbols
40.20588 ++	if test -z "$export_symbols"; then
40.20589 ++	  if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then
40.20590 ++	    $show "generating symbol list for \`$libname.la'"
40.20591 ++	    export_symbols="$output_objdir/$libname.exp"
40.20592 ++	    $run $rm $export_symbols
40.20593 ++	    eval cmds=\"$export_symbols_cmds\"
40.20594 ++	    IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
40.20595 ++	    for cmd in $cmds; do
40.20596 ++	      IFS="$save_ifs"
40.20597 ++	      $show "$cmd"
40.20598 ++	      $run eval "$cmd" || exit $?
40.20599 ++	    done
40.20600 ++	    IFS="$save_ifs"
40.20601 ++	    if test -n "$export_symbols_regex"; then
40.20602 ++	      $show "egrep -e \"$export_symbols_regex\" \"$export_symbols\" > \"${export_symbols}T\""
40.20603 ++	      $run eval 'egrep -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
40.20604 ++	      $show "$mv \"${export_symbols}T\" \"$export_symbols\""
40.20605 ++	      $run eval '$mv "${export_symbols}T" "$export_symbols"'
40.20606 ++	    fi
40.20607 ++	  fi
40.20608 ++	fi
40.20609 ++
40.20610 ++	if test -n "$export_symbols" && test -n "$include_expsyms"; then
40.20611 ++	  $run eval '$echo "X$include_expsyms" | $SP2NL >> "$export_symbols"'
40.20612 ++	fi
40.20613 ++
40.20614 ++	if test -n "$convenience"; then
40.20615 ++	  if test -n "$whole_archive_flag_spec"; then
40.20616 ++	    eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
40.20617 ++	  else
40.20618 ++	    gentop="$output_objdir/${outputname}x"
40.20619 ++	    $show "${rm}r $gentop"
40.20620 ++	    $run ${rm}r "$gentop"
40.20621 ++	    $show "mkdir $gentop"
40.20622 ++	    $run mkdir "$gentop"
40.20623 ++	    status=$?
40.20624 ++	    if test $status -ne 0 && test ! -d "$gentop"; then
40.20625 ++	      exit $status
40.20626 ++	    fi
40.20627 ++	    generated="$generated $gentop"
40.20628 ++
40.20629 ++	    for xlib in $convenience; do
40.20630 ++	      # Extract the objects.
40.20631 ++	      case $xlib in
40.20632 ++	      [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
40.20633 ++	      *) xabs=`pwd`"/$xlib" ;;
40.20634 ++	      esac
40.20635 ++	      xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'`
40.20636 ++	      xdir="$gentop/$xlib"
40.20637 ++
40.20638 ++	      $show "${rm}r $xdir"
40.20639 ++	      $run ${rm}r "$xdir"
40.20640 ++	      $show "mkdir $xdir"
40.20641 ++	      $run mkdir "$xdir"
40.20642 ++	      status=$?
40.20643 ++	      if test $status -ne 0 && test ! -d "$xdir"; then
40.20644 ++		exit $status
40.20645 ++	      fi
40.20646 ++	      $show "(cd $xdir && $AR x $xabs)"
40.20647 ++	      $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
40.20648 ++
40.20649 ++	      libobjs="$libobjs "`find $xdir -name \*.o -print -o -name \*.lo -print | $NL2SP`
40.20650 ++	    done
40.20651 ++	  fi
40.20652 ++	fi
40.20653 ++
40.20654 ++	if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
40.20655 ++	  eval flag=\"$thread_safe_flag_spec\"
40.20656 ++	  linker_flags="$linker_flags $flag"
40.20657 ++	fi
40.20658 ++
40.20659 ++	# Make a backup of the uninstalled library when relinking
40.20660 ++	if test "$mode" = relink; then
40.20661 ++	  $run eval '(cd $output_objdir && $rm ${realname}U && $mv $realname ${realname}U)' || exit $?
40.20662 ++	fi
40.20663 ++
40.20664 ++	# Do each of the archive commands.
40.20665 ++	if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
40.20666 ++	  eval cmds=\"$archive_expsym_cmds\"
40.20667 ++	else
40.20668 ++	  eval cmds=\"$archive_cmds\"
40.20669 ++	fi
40.20670 ++	IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
40.20671 ++	for cmd in $cmds; do
40.20672 ++	  IFS="$save_ifs"
40.20673 ++	  $show "$cmd"
40.20674 ++	  $run eval "$cmd" || exit $?
40.20675 ++	done
40.20676 ++	IFS="$save_ifs"
40.20677 ++
40.20678 ++	# Restore the uninstalled library and exit
40.20679 ++	if test "$mode" = relink; then
40.20680 ++	  $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $?
40.20681 ++	  exit 0
40.20682 ++	fi
40.20683 ++
40.20684 ++	# Create links to the real library.
40.20685 ++	for linkname in $linknames; do
40.20686 ++	  if test "$realname" != "$linkname"; then
40.20687 ++	    $show "(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)"
40.20688 ++	    $run eval '(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)' || exit $?
40.20689 ++	  fi
40.20690 ++	done
40.20691 ++
40.20692 ++	# If -module or -export-dynamic was specified, set the dlname.
40.20693 ++	if test "$module" = yes || test "$export_dynamic" = yes; then
40.20694 ++	  # On all known operating systems, these are identical.
40.20695 ++	  dlname="$soname"
40.20696 ++	fi
40.20697 ++      fi
40.20698 ++      ;;
40.20699 ++
40.20700 ++    obj)
40.20701 ++      if test -n "$deplibs"; then
40.20702 ++	$echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2
40.20703 ++      fi
40.20704 ++
40.20705 ++      if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
40.20706 ++	$echo "$modename: warning: \`-dlopen' is ignored for objects" 1>&2
40.20707 ++      fi
40.20708 ++
40.20709 ++      if test -n "$rpath"; then
40.20710 ++	$echo "$modename: warning: \`-rpath' is ignored for objects" 1>&2
40.20711 ++      fi
40.20712 ++
40.20713 ++      if test -n "$xrpath"; then
40.20714 ++	$echo "$modename: warning: \`-R' is ignored for objects" 1>&2
40.20715 ++      fi
40.20716 ++
40.20717 ++      if test -n "$vinfo"; then
40.20718 ++	$echo "$modename: warning: \`-version-info' is ignored for objects" 1>&2
40.20719 ++      fi
40.20720 ++
40.20721 ++      if test -n "$release"; then
40.20722 ++	$echo "$modename: warning: \`-release' is ignored for objects" 1>&2
40.20723 ++      fi
40.20724 ++
40.20725 ++      case $output in
40.20726 ++      *.lo)
40.20727 ++	if test -n "$objs$old_deplibs"; then
40.20728 ++	  $echo "$modename: cannot build library object \`$output' from non-libtool objects" 1>&2
40.20729 ++	  exit 1
40.20730 ++	fi
40.20731 ++	libobj="$output"
40.20732 ++	obj=`$echo "X$output" | $Xsed -e "$lo2o"`
40.20733 ++	;;
40.20734 ++      *)
40.20735 ++	libobj=
40.20736 ++	obj="$output"
40.20737 ++	;;
40.20738 ++      esac
40.20739 ++
40.20740 ++      # Delete the old objects.
40.20741 ++      $run $rm $obj $libobj
40.20742 ++
40.20743 ++      # Objects from convenience libraries.  This assumes
40.20744 ++      # single-version convenience libraries.  Whenever we create
40.20745 ++      # different ones for PIC/non-PIC, this we'll have to duplicate
40.20746 ++      # the extraction.
40.20747 ++      reload_conv_objs=
40.20748 ++      gentop=
40.20749 ++      # reload_cmds runs $LD directly, so let us get rid of
40.20750 ++      # -Wl from whole_archive_flag_spec
40.20751 ++      wl=
40.20752 ++
40.20753 ++      if test -n "$convenience"; then
40.20754 ++	if test -n "$whole_archive_flag_spec"; then
40.20755 ++	  eval reload_conv_objs=\"\$reload_objs $whole_archive_flag_spec\"
40.20756 ++	else
40.20757 ++	  gentop="$output_objdir/${obj}x"
40.20758 ++	  $show "${rm}r $gentop"
40.20759 ++	  $run ${rm}r "$gentop"
40.20760 ++	  $show "mkdir $gentop"
40.20761 ++	  $run mkdir "$gentop"
40.20762 ++	  status=$?
40.20763 ++	  if test $status -ne 0 && test ! -d "$gentop"; then
40.20764 ++	    exit $status
40.20765 ++	  fi
40.20766 ++	  generated="$generated $gentop"
40.20767 ++
40.20768 ++	  for xlib in $convenience; do
40.20769 ++	    # Extract the objects.
40.20770 ++	    case $xlib in
40.20771 ++	    [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
40.20772 ++	    *) xabs=`pwd`"/$xlib" ;;
40.20773 ++	    esac
40.20774 ++	    xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'`
40.20775 ++	    xdir="$gentop/$xlib"
40.20776 ++
40.20777 ++	    $show "${rm}r $xdir"
40.20778 ++	    $run ${rm}r "$xdir"
40.20779 ++	    $show "mkdir $xdir"
40.20780 ++	    $run mkdir "$xdir"
40.20781 ++	    status=$?
40.20782 ++	    if test $status -ne 0 && test ! -d "$xdir"; then
40.20783 ++	      exit $status
40.20784 ++	    fi
40.20785 ++	    $show "(cd $xdir && $AR x $xabs)"
40.20786 ++	    $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
40.20787 ++
40.20788 ++	    reload_conv_objs="$reload_objs "`find $xdir -name \*.o -print -o -name \*.lo -print | $NL2SP`
40.20789 ++	  done
40.20790 ++	fi
40.20791 ++      fi
40.20792 ++
40.20793 ++      # Create the old-style object.
40.20794 ++      reload_objs="$objs$old_deplibs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test
40.20795 ++
40.20796 ++      output="$obj"
40.20797 ++      eval cmds=\"$reload_cmds\"
40.20798 ++      IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
40.20799 ++      for cmd in $cmds; do
40.20800 ++	IFS="$save_ifs"
40.20801 ++	$show "$cmd"
40.20802 ++	$run eval "$cmd" || exit $?
40.20803 ++      done
40.20804 ++      IFS="$save_ifs"
40.20805 ++
40.20806 ++      # Exit if we aren't doing a library object file.
40.20807 ++      if test -z "$libobj"; then
40.20808 ++	if test -n "$gentop"; then
40.20809 ++	  $show "${rm}r $gentop"
40.20810 ++	  $run ${rm}r $gentop
40.20811 ++	fi
40.20812 ++
40.20813 ++	exit 0
40.20814 ++      fi
40.20815 ++
40.20816 ++      if test "$build_libtool_libs" != yes; then
40.20817 ++	if test -n "$gentop"; then
40.20818 ++	  $show "${rm}r $gentop"
40.20819 ++	  $run ${rm}r $gentop
40.20820 ++	fi
40.20821 ++
40.20822 ++	# Create an invalid libtool object if no PIC, so that we don't
40.20823 ++	# accidentally link it into a program.
40.20824 ++	$show "echo timestamp > $libobj"
40.20825 ++	$run eval "echo timestamp > $libobj" || exit $?
40.20826 ++	exit 0
40.20827 ++      fi
40.20828 ++
40.20829 ++      if test -n "$pic_flag" || test "$pic_mode" != default; then
40.20830 ++	# Only do commands if we really have different PIC objects.
40.20831 ++	reload_objs="$libobjs $reload_conv_objs"
40.20832 ++	output="$libobj"
40.20833 ++	eval cmds=\"$reload_cmds\"
40.20834 ++	IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
40.20835 ++	for cmd in $cmds; do
40.20836 ++	  IFS="$save_ifs"
40.20837 ++	  $show "$cmd"
40.20838 ++	  $run eval "$cmd" || exit $?
40.20839 ++	done
40.20840 ++	IFS="$save_ifs"
40.20841 ++      else
40.20842 ++	# Just create a symlink.
40.20843 ++	$show $rm $libobj
40.20844 ++	$run $rm $libobj
40.20845 ++	xdir=`$echo "X$libobj" | $Xsed -e 's%/[^/]*$%%'`
40.20846 ++	if test "X$xdir" = "X$libobj"; then
40.20847 ++	  xdir="."
40.20848 ++	else
40.20849 ++	  xdir="$xdir"
40.20850 ++	fi
40.20851 ++	baseobj=`$echo "X$libobj" | $Xsed -e 's%^.*/%%'`
40.20852 ++	oldobj=`$echo "X$baseobj" | $Xsed -e "$lo2o"`
40.20853 ++	$show "(cd $xdir && $LN_S $oldobj $baseobj)"
40.20854 ++	$run eval '(cd $xdir && $LN_S $oldobj $baseobj)' || exit $?
40.20855 ++      fi
40.20856 ++
40.20857 ++      if test -n "$gentop"; then
40.20858 ++	$show "${rm}r $gentop"
40.20859 ++	$run ${rm}r $gentop
40.20860 ++      fi
40.20861 ++
40.20862 ++      exit 0
40.20863 ++      ;;
40.20864 ++
40.20865 ++    prog)
40.20866 ++      case $host in
40.20867 ++	*cygwin*) output=`echo $output | sed -e 's,.exe$,,;s,$,.exe,'` ;;
40.20868 ++      esac
40.20869 ++      if test -n "$vinfo"; then
40.20870 ++	$echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2
40.20871 ++      fi
40.20872 ++
40.20873 ++      if test -n "$release"; then
40.20874 ++	$echo "$modename: warning: \`-release' is ignored for programs" 1>&2
40.20875 ++      fi
40.20876 ++
40.20877 ++      if test "$preload" = yes; then
40.20878 ++	if test "$dlopen_support" = unknown && test "$dlopen_self" = unknown &&
40.20879 ++	   test "$dlopen_self_static" = unknown; then
40.20880 ++	  $echo "$modename: warning: \`AC_LIBTOOL_DLOPEN' not used. Assuming no dlopen support."
40.20881 ++	fi
40.20882 ++      fi
40.20883 ++
40.20884 ++      case $host in
40.20885 ++      *-*-rhapsody* | *-*-darwin1.[012])
40.20886 ++	# On Rhapsody replace the C library is the System framework
40.20887 ++	compile_deplibs=`$echo "X $compile_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
40.20888 ++	finalize_deplibs=`$echo "X $finalize_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
40.20889 ++	;;
40.20890 ++      esac
40.20891 ++
40.20892 ++      compile_command="$compile_command $compile_deplibs"
40.20893 ++      finalize_command="$finalize_command $finalize_deplibs"
40.20894 ++
40.20895 ++      if test -n "$rpath$xrpath"; then
40.20896 ++	# If the user specified any rpath flags, then add them.
40.20897 ++	for libdir in $rpath $xrpath; do
40.20898 ++	  # This is the magic to use -rpath.
40.20899 ++	  case "$finalize_rpath " in
40.20900 ++	  *" $libdir "*) ;;
40.20901 ++	  *) finalize_rpath="$finalize_rpath $libdir" ;;
40.20902 ++	  esac
40.20903 ++	done
40.20904 ++      fi
40.20905 ++
40.20906 ++      # Now hardcode the library paths
40.20907 ++      rpath=
40.20908 ++      hardcode_libdirs=
40.20909 ++      for libdir in $compile_rpath $finalize_rpath; do
40.20910 ++	if test -n "$hardcode_libdir_flag_spec"; then
40.20911 ++	  if test -n "$hardcode_libdir_separator"; then
40.20912 ++	    if test -z "$hardcode_libdirs"; then
40.20913 ++	      hardcode_libdirs="$libdir"
40.20914 ++	    else
40.20915 ++	      # Just accumulate the unique libdirs.
40.20916 ++	      case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
40.20917 ++	      *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
40.20918 ++		;;
40.20919 ++	      *)
40.20920 ++		hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
40.20921 ++		;;
40.20922 ++	      esac
40.20923 ++	    fi
40.20924 ++	  else
40.20925 ++	    eval flag=\"$hardcode_libdir_flag_spec\"
40.20926 ++	    rpath="$rpath $flag"
40.20927 ++	  fi
40.20928 ++	elif test -n "$runpath_var"; then
40.20929 ++	  case "$perm_rpath " in
40.20930 ++	  *" $libdir "*) ;;
40.20931 ++	  *) perm_rpath="$perm_rpath $libdir" ;;
40.20932 ++	  esac
40.20933 ++	fi
40.20934 ++	case $host in
40.20935 ++	*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
40.20936 ++	  case :$dllsearchpath: in
40.20937 ++	  *":$libdir:"*) ;;
40.20938 ++	  *) dllsearchpath="$dllsearchpath:$libdir";;
40.20939 ++	  esac
40.20940 ++	  ;;
40.20941 ++	esac
40.20942 ++      done
40.20943 ++      # Substitute the hardcoded libdirs into the rpath.
40.20944 ++      if test -n "$hardcode_libdir_separator" &&
40.20945 ++	 test -n "$hardcode_libdirs"; then
40.20946 ++	libdir="$hardcode_libdirs"
40.20947 ++	eval rpath=\" $hardcode_libdir_flag_spec\"
40.20948 ++      fi
40.20949 ++      compile_rpath="$rpath"
40.20950 ++
40.20951 ++      rpath=
40.20952 ++      hardcode_libdirs=
40.20953 ++      for libdir in $finalize_rpath; do
40.20954 ++	if test -n "$hardcode_libdir_flag_spec"; then
40.20955 ++	  if test -n "$hardcode_libdir_separator"; then
40.20956 ++	    if test -z "$hardcode_libdirs"; then
40.20957 ++	      hardcode_libdirs="$libdir"
40.20958 ++	    else
40.20959 ++	      # Just accumulate the unique libdirs.
40.20960 ++	      case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
40.20961 ++	      *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
40.20962 ++		;;
40.20963 ++	      *)
40.20964 ++		hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
40.20965 ++		;;
40.20966 ++	      esac
40.20967 ++	    fi
40.20968 ++	  else
40.20969 ++	    eval flag=\"$hardcode_libdir_flag_spec\"
40.20970 ++	    rpath="$rpath $flag"
40.20971 ++	  fi
40.20972 ++	elif test -n "$runpath_var"; then
40.20973 ++	  case "$finalize_perm_rpath " in
40.20974 ++	  *" $libdir "*) ;;
40.20975 ++	  *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;;
40.20976 ++	  esac
40.20977 ++	fi
40.20978 ++      done
40.20979 ++      # Substitute the hardcoded libdirs into the rpath.
40.20980 ++      if test -n "$hardcode_libdir_separator" &&
40.20981 ++	 test -n "$hardcode_libdirs"; then
40.20982 ++	libdir="$hardcode_libdirs"
40.20983 ++	eval rpath=\" $hardcode_libdir_flag_spec\"
40.20984 ++      fi
40.20985 ++      finalize_rpath="$rpath"
40.20986 ++
40.20987 ++      if test -n "$libobjs" && test "$build_old_libs" = yes; then
40.20988 ++	# Transform all the library objects into standard objects.
40.20989 ++	compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
40.20990 ++	finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
40.20991 ++      fi
40.20992 ++
40.20993 ++      dlsyms=
40.20994 ++      if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
40.20995 ++	if test -n "$NM" && test -n "$global_symbol_pipe"; then
40.20996 ++	  dlsyms="${outputname}S.c"
40.20997 ++	else
40.20998 ++	  $echo "$modename: not configured to extract global symbols from dlpreopened files" 1>&2
40.20999 ++	fi
40.21000 ++      fi
40.21001 ++
40.21002 ++      if test -n "$dlsyms"; then
40.21003 ++	case $dlsyms in
40.21004 ++	"") ;;
40.21005 ++	*.c)
40.21006 ++	  # Discover the nlist of each of the dlfiles.
40.21007 ++	  nlist="$output_objdir/${outputname}.nm"
40.21008 ++
40.21009 ++	  $show "$rm $nlist ${nlist}S ${nlist}T"
40.21010 ++	  $run $rm "$nlist" "${nlist}S" "${nlist}T"
40.21011 ++
40.21012 ++	  # Parse the name list into a source file.
40.21013 ++	  $show "creating $output_objdir/$dlsyms"
40.21014 ++
40.21015 ++	  test -z "$run" && $echo > "$output_objdir/$dlsyms" "\
40.21016 ++/* $dlsyms - symbol resolution table for \`$outputname' dlsym emulation. */
40.21017 ++/* Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP */
40.21018 ++
40.21019 ++#ifdef __cplusplus
40.21020 ++extern \"C\" {
40.21021 ++#endif
40.21022 ++
40.21023 ++/* Prevent the only kind of declaration conflicts we can make. */
40.21024 ++#define lt_preloaded_symbols some_other_symbol
40.21025 ++
40.21026 ++/* External symbol declarations for the compiler. */\
40.21027 ++"
40.21028 ++
40.21029 ++	  if test "$dlself" = yes; then
40.21030 ++	    $show "generating symbol list for \`$output'"
40.21031 ++
40.21032 ++	    test -z "$run" && $echo ': @PROGRAM@ ' > "$nlist"
40.21033 ++
40.21034 ++	    # Add our own program objects to the symbol list.
40.21035 ++	    progfiles=`$echo "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
40.21036 ++	    for arg in $progfiles; do
40.21037 ++	      $show "extracting global C symbols from \`$arg'"
40.21038 ++	      $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'"
40.21039 ++	    done
40.21040 ++
40.21041 ++	    if test -n "$exclude_expsyms"; then
40.21042 ++	      $run eval 'egrep -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T'
40.21043 ++	      $run eval '$mv "$nlist"T "$nlist"'
40.21044 ++	    fi
40.21045 ++
40.21046 ++	    if test -n "$export_symbols_regex"; then
40.21047 ++	      $run eval 'egrep -e "$export_symbols_regex" "$nlist" > "$nlist"T'
40.21048 ++	      $run eval '$mv "$nlist"T "$nlist"'
40.21049 ++	    fi
40.21050 ++
40.21051 ++	    # Prepare the list of exported symbols
40.21052 ++	    if test -z "$export_symbols"; then
40.21053 ++	      export_symbols="$output_objdir/$output.exp"
40.21054 ++	      $run $rm $export_symbols
40.21055 ++	      $run eval "sed -n -e '/^: @PROGRAM@$/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
40.21056 ++	    else
40.21057 ++	      $run eval "sed -e 's/\([][.*^$]\)/\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$output.exp"'
40.21058 ++	      $run eval 'grep -f "$output_objdir/$output.exp" < "$nlist" > "$nlist"T'
40.21059 ++	      $run eval 'mv "$nlist"T "$nlist"'
40.21060 ++	    fi
40.21061 ++	  fi
40.21062 ++
40.21063 ++	  for arg in $dlprefiles; do
40.21064 ++	    $show "extracting global C symbols from \`$arg'"
40.21065 ++	    name=`echo "$arg" | sed -e 's%^.*/%%'`
40.21066 ++	    $run eval 'echo ": $name " >> "$nlist"'
40.21067 ++	    $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'"
40.21068 ++	  done
40.21069 ++
40.21070 ++	  if test -z "$run"; then
40.21071 ++	    # Make sure we have at least an empty file.
40.21072 ++	    test -f "$nlist" || : > "$nlist"
40.21073 ++
40.21074 ++	    if test -n "$exclude_expsyms"; then
40.21075 ++	      egrep -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T
40.21076 ++	      $mv "$nlist"T "$nlist"
40.21077 ++	    fi
40.21078 ++
40.21079 ++	    # Try sorting and uniquifying the output.
40.21080 ++	    if grep -v "^: " < "$nlist" | sort +2 | uniq > "$nlist"S; then
40.21081 ++	      :
40.21082 ++	    else
40.21083 ++	      grep -v "^: " < "$nlist" > "$nlist"S
40.21084 ++	    fi
40.21085 ++
40.21086 ++	    if test -f "$nlist"S; then
40.21087 ++	      eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$dlsyms"'
40.21088 ++	    else
40.21089 ++	      echo '/* NONE */' >> "$output_objdir/$dlsyms"
40.21090 ++	    fi
40.21091 ++
40.21092 ++	    $echo >> "$output_objdir/$dlsyms" "\
40.21093 ++
40.21094 ++#undef lt_preloaded_symbols
40.21095 ++
40.21096 ++#if defined (__STDC__) && __STDC__
40.21097 ++# define lt_ptr_t void *
40.21098 ++#else
40.21099 ++# define lt_ptr_t char *
40.21100 ++# define const
40.21101 ++#endif
40.21102 ++
40.21103 ++/* The mapping between symbol names and symbols. */
40.21104 ++const struct {
40.21105 ++  const char *name;
40.21106 ++  lt_ptr_t address;
40.21107 ++}
40.21108 ++lt_preloaded_symbols[] =
40.21109 ++{\
40.21110 ++"
40.21111 ++
40.21112 ++	    sed -n -e 's/^: \([^ ]*\) $/  {\"\1\", (lt_ptr_t) 0},/p' \
40.21113 ++		-e 's/^. \([^ ]*\) \([^ ]*\)$/  {"\2", (lt_ptr_t) \&\2},/p' \
40.21114 ++		  < "$nlist" >> "$output_objdir/$dlsyms"
40.21115 ++
40.21116 ++	    $echo >> "$output_objdir/$dlsyms" "\
40.21117 ++  {0, (lt_ptr_t) 0}
40.21118 ++};
40.21119 ++
40.21120 ++/* This works around a problem in FreeBSD linker */
40.21121 ++#ifdef FREEBSD_WORKAROUND
40.21122 ++static const void *lt_preloaded_setup() {
40.21123 ++  return lt_preloaded_symbols;
40.21124 ++}
40.21125 ++#endif
40.21126 ++
40.21127 ++#ifdef __cplusplus
40.21128 ++}
40.21129 ++#endif\
40.21130 ++"
40.21131 ++	  fi
40.21132 ++
40.21133 ++	  pic_flag_for_symtable=
40.21134 ++	  case $host in
40.21135 ++	  # compiling the symbol table file with pic_flag works around
40.21136 ++	  # a FreeBSD bug that causes programs to crash when -lm is
40.21137 ++	  # linked before any other PIC object.  But we must not use
40.21138 ++	  # pic_flag when linking with -static.  The problem exists in
40.21139 ++	  # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
40.21140 ++	  *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
40.21141 ++	    case "$compile_command " in
40.21142 ++	    *" -static "*) ;;
40.21143 ++	    *) pic_flag_for_symtable=" $pic_flag -DPIC -DFREEBSD_WORKAROUND";;
40.21144 ++	    esac;;
40.21145 ++	  *-*-hpux*)
40.21146 ++	    case "$compile_command " in
40.21147 ++	    *" -static "*) ;;
40.21148 ++	    *) pic_flag_for_symtable=" $pic_flag -DPIC";;
40.21149 ++	    esac
40.21150 ++	  esac
40.21151 ++
40.21152 ++	  # Now compile the dynamic symbol file.
40.21153 ++	  $show "(cd $output_objdir && $CC -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")"
40.21154 ++	  $run eval '(cd $output_objdir && $CC -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $?
40.21155 ++
40.21156 ++	  # Clean up the generated files.
40.21157 ++	  $show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T"
40.21158 ++	  $run $rm "$output_objdir/$dlsyms" "$nlist" "${nlist}S" "${nlist}T"
40.21159 ++
40.21160 ++	  # Transform the symbol file into the correct name.
40.21161 ++	  compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
40.21162 ++	  finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
40.21163 ++	  ;;
40.21164 ++	*)
40.21165 ++	  $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2
40.21166 ++	  exit 1
40.21167 ++	  ;;
40.21168 ++	esac
40.21169 ++      else
40.21170 ++	# We keep going just in case the user didn't refer to
40.21171 ++	# lt_preloaded_symbols.  The linker will fail if global_symbol_pipe
40.21172 ++	# really was required.
40.21173 ++
40.21174 ++	# Nullify the symbol file.
40.21175 ++	compile_command=`$echo "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"`
40.21176 ++	finalize_command=`$echo "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"`
40.21177 ++      fi
40.21178 ++
40.21179 ++      if test $need_relink = no || test "$build_libtool_libs" != yes; then
40.21180 ++	# Replace the output file specification.
40.21181 ++	compile_command=`$echo "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
40.21182 ++	link_command="$compile_command$compile_rpath"
40.21183 ++
40.21184 ++	# We have no uninstalled library dependencies, so finalize right now.
40.21185 ++	$show "$link_command"
40.21186 ++	$run eval "$link_command"
40.21187 ++	status=$?
40.21188 ++
40.21189 ++	# Delete the generated files.
40.21190 ++	if test -n "$dlsyms"; then
40.21191 ++	  $show "$rm $output_objdir/${outputname}S.${objext}"
40.21192 ++	  $run $rm "$output_objdir/${outputname}S.${objext}"
40.21193 ++	fi
40.21194 ++
40.21195 ++	exit $status
40.21196 ++      fi
40.21197 ++
40.21198 ++      if test -n "$shlibpath_var"; then
40.21199 ++	# We should set the shlibpath_var
40.21200 ++	rpath=
40.21201 ++	for dir in $temp_rpath; do
40.21202 ++	  case $dir in
40.21203 ++	  [\\/]* | [A-Za-z]:[\\/]*)
40.21204 ++	    # Absolute path.
40.21205 ++	    rpath="$rpath$dir:"
40.21206 ++	    ;;
40.21207 ++	  *)
40.21208 ++	    # Relative path: add a thisdir entry.
40.21209 ++	    rpath="$rpath\$thisdir/$dir:"
40.21210 ++	    ;;
40.21211 ++	  esac
40.21212 ++	done
40.21213 ++	temp_rpath="$rpath"
40.21214 ++      fi
40.21215 ++
40.21216 ++      if test -n "$compile_shlibpath$finalize_shlibpath"; then
40.21217 ++	compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command"
40.21218 ++      fi
40.21219 ++      if test -n "$finalize_shlibpath"; then
40.21220 ++	finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command"
40.21221 ++      fi
40.21222 ++
40.21223 ++      compile_var=
40.21224 ++      finalize_var=
40.21225 ++      if test -n "$runpath_var"; then
40.21226 ++	if test -n "$perm_rpath"; then
40.21227 ++	  # We should set the runpath_var.
40.21228 ++	  rpath=
40.21229 ++	  for dir in $perm_rpath; do
40.21230 ++	    rpath="$rpath$dir:"
40.21231 ++	  done
40.21232 ++	  compile_var="$runpath_var=\"$rpath\$$runpath_var\" "
40.21233 ++	fi
40.21234 ++	if test -n "$finalize_perm_rpath"; then
40.21235 ++	  # We should set the runpath_var.
40.21236 ++	  rpath=
40.21237 ++	  for dir in $finalize_perm_rpath; do
40.21238 ++	    rpath="$rpath$dir:"
40.21239 ++	  done
40.21240 ++	  finalize_var="$runpath_var=\"$rpath\$$runpath_var\" "
40.21241 ++	fi
40.21242 ++      fi
40.21243 ++
40.21244 ++      if test "$no_install" = yes; then
40.21245 ++	# We don't need to create a wrapper script.
40.21246 ++	link_command="$compile_var$compile_command$compile_rpath"
40.21247 ++	# Replace the output file specification.
40.21248 ++	link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
40.21249 ++	# Delete the old output file.
40.21250 ++	$run $rm $output
40.21251 ++	# Link the executable and exit
40.21252 ++	$show "$link_command"
40.21253 ++	$run eval "$link_command" || exit $?
40.21254 ++	exit 0
40.21255 ++      fi
40.21256 ++
40.21257 ++      if test "$hardcode_action" = relink; then
40.21258 ++	# Fast installation is not supported
40.21259 ++	link_command="$compile_var$compile_command$compile_rpath"
40.21260 ++	relink_command="$finalize_var$finalize_command$finalize_rpath"
40.21261 ++
40.21262 ++	$echo "$modename: warning: this platform does not like uninstalled shared libraries" 1>&2
40.21263 ++	$echo "$modename: \`$output' will be relinked during installation" 1>&2
40.21264 ++      else
40.21265 ++	if test "$fast_install" != no; then
40.21266 ++	  link_command="$finalize_var$compile_command$finalize_rpath"
40.21267 ++	  if test "$fast_install" = yes; then
40.21268 ++	    relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'`
40.21269 ++	  else
40.21270 ++	    # fast_install is set to needless
40.21271 ++	    relink_command=
40.21272 ++	  fi
40.21273 ++	else
40.21274 ++	  link_command="$compile_var$compile_command$compile_rpath"
40.21275 ++	  relink_command="$finalize_var$finalize_command$finalize_rpath"
40.21276 ++	fi
40.21277 ++      fi
40.21278 ++
40.21279 ++      # Replace the output file specification.
40.21280 ++      link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
40.21281 ++
40.21282 ++      # Delete the old output files.
40.21283 ++      $run $rm $output $output_objdir/$outputname $output_objdir/lt-$outputname
40.21284 ++
40.21285 ++      $show "$link_command"
40.21286 ++      $run eval "$link_command" || exit $?
40.21287 ++
40.21288 ++      # Now create the wrapper script.
40.21289 ++      $show "creating $output"
40.21290 ++
40.21291 ++      # Quote the relink command for shipping.
40.21292 ++      if test -n "$relink_command"; then
40.21293 ++	# Preserve any variables that may affect compiler behavior
40.21294 ++	for var in $variables_saved_for_relink; do
40.21295 ++	  if eval test -z \"\${$var+set}\"; then
40.21296 ++	    relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command"
40.21297 ++	  elif eval var_value=\$$var; test -z "$var_value"; then
40.21298 ++	    relink_command="$var=; export $var; $relink_command"
40.21299 ++	  else
40.21300 ++	    var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
40.21301 ++	    relink_command="$var=\"$var_value\"; export $var; $relink_command"
40.21302 ++	  fi
40.21303 ++	done
40.21304 ++	relink_command="cd `pwd`; $relink_command"
40.21305 ++	relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
40.21306 ++      fi
40.21307 ++
40.21308 ++      # Quote $echo for shipping.
40.21309 ++      if test "X$echo" = "X$SHELL $0 --fallback-echo"; then
40.21310 ++	case $0 in
40.21311 ++	[\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $0 --fallback-echo";;
40.21312 ++	*) qecho="$SHELL `pwd`/$0 --fallback-echo";;
40.21313 ++	esac
40.21314 ++	qecho=`$echo "X$qecho" | $Xsed -e "$sed_quote_subst"`
40.21315 ++      else
40.21316 ++	qecho=`$echo "X$echo" | $Xsed -e "$sed_quote_subst"`
40.21317 ++      fi
40.21318 ++
40.21319 ++      # Only actually do things if our run command is non-null.
40.21320 ++      if test -z "$run"; then
40.21321 ++	# win32 will think the script is a binary if it has
40.21322 ++	# a .exe suffix, so we strip it off here.
40.21323 ++	case $output in
40.21324 ++	  *.exe) output=`echo $output|sed 's,.exe$,,'` ;;
40.21325 ++	esac
40.21326 ++	# test for cygwin because mv fails w/o .exe extensions
40.21327 ++	case $host in
40.21328 ++	  *cygwin*) exeext=.exe ;;
40.21329 ++	  *) exeext= ;;
40.21330 ++	esac
40.21331 ++	$rm $output
40.21332 ++	trap "$rm $output; exit 1" 1 2 15
40.21333 ++
40.21334 ++	$echo > $output "\
40.21335 ++#! $SHELL
40.21336 ++
40.21337 ++# $output - temporary wrapper script for $objdir/$outputname
40.21338 ++# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
40.21339 ++#
40.21340 ++# The $output program cannot be directly executed until all the libtool
40.21341 ++# libraries that it depends on are installed.
40.21342 ++#
40.21343 ++# This wrapper script should never be moved out of the build directory.
40.21344 ++# If it is, it will not operate correctly.
40.21345 ++
40.21346 ++# Sed substitution that helps us do robust quoting.  It backslashifies
40.21347 ++# metacharacters that are still active within double-quoted strings.
40.21348 ++Xsed='sed -e 1s/^X//'
40.21349 ++sed_quote_subst='$sed_quote_subst'
40.21350 ++
40.21351 ++# The HP-UX ksh and POSIX shell print the target directory to stdout
40.21352 ++# if CDPATH is set.
40.21353 ++if test \"\${CDPATH+set}\" = set; then CDPATH=:; export CDPATH; fi
40.21354 ++
40.21355 ++relink_command=\"$relink_command\"
40.21356 ++
40.21357 ++# This environment variable determines our operation mode.
40.21358 ++if test \"\$libtool_install_magic\" = \"$magic\"; then
40.21359 ++  # install mode needs the following variable:
40.21360 ++  notinst_deplibs='$notinst_deplibs'
40.21361 ++else
40.21362 ++  # When we are sourced in execute mode, \$file and \$echo are already set.
40.21363 ++  if test \"\$libtool_execute_magic\" != \"$magic\"; then
40.21364 ++    echo=\"$qecho\"
40.21365 ++    file=\"\$0\"
40.21366 ++    # Make sure echo works.
40.21367 ++    if test \"X\$1\" = X--no-reexec; then
40.21368 ++      # Discard the --no-reexec flag, and continue.
40.21369 ++      shift
40.21370 ++    elif test \"X\`(\$echo '\t') 2>/dev/null\`\" = 'X\t'; then
40.21371 ++      # Yippee, \$echo works!
40.21372 ++      :
40.21373 ++    else
40.21374 ++      # Restart under the correct shell, and then maybe \$echo will work.
40.21375 ++      exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"}
40.21376 ++    fi
40.21377 ++  fi\
40.21378 ++"
40.21379 ++	$echo >> $output "\
40.21380 ++
40.21381 ++  # Find the directory that this script lives in.
40.21382 ++  thisdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\`
40.21383 ++  test \"x\$thisdir\" = \"x\$file\" && thisdir=.
40.21384 ++
40.21385 ++  # Follow symbolic links until we get to the real thisdir.
40.21386 ++  file=\`ls -ld \"\$file\" | sed -n 's/.*-> //p'\`
40.21387 ++  while test -n \"\$file\"; do
40.21388 ++    destdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\`
40.21389 ++
40.21390 ++    # If there was a directory component, then change thisdir.
40.21391 ++    if test \"x\$destdir\" != \"x\$file\"; then
40.21392 ++      case \"\$destdir\" in
40.21393 ++      [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;;
40.21394 ++      *) thisdir=\"\$thisdir/\$destdir\" ;;
40.21395 ++      esac
40.21396 ++    fi
40.21397 ++
40.21398 ++    file=\`\$echo \"X\$file\" | \$Xsed -e 's%^.*/%%'\`
40.21399 ++    file=\`ls -ld \"\$thisdir/\$file\" | sed -n 's/.*-> //p'\`
40.21400 ++  done
40.21401 ++
40.21402 ++  # Try to get the absolute directory name.
40.21403 ++  absdir=\`cd \"\$thisdir\" && pwd\`
40.21404 ++  test -n \"\$absdir\" && thisdir=\"\$absdir\"
40.21405 ++"
40.21406 ++
40.21407 ++	if test "$fast_install" = yes; then
40.21408 ++	  echo >> $output "\
40.21409 ++  program=lt-'$outputname'$exeext
40.21410 ++  progdir=\"\$thisdir/$objdir\"
40.21411 ++
40.21412 ++  if test ! -f \"\$progdir/\$program\" || \\
40.21413 ++     { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | sed 1q\`; \\
40.21414 ++       test \"X\$file\" != \"X\$progdir/\$program\"; }; then
40.21415 ++
40.21416 ++    file=\"\$\$-\$program\"
40.21417 ++
40.21418 ++    if test ! -d \"\$progdir\"; then
40.21419 ++      $mkdir \"\$progdir\"
40.21420 ++    else
40.21421 ++      $rm \"\$progdir/\$file\"
40.21422 ++    fi"
40.21423 ++
40.21424 ++	  echo >> $output "\
40.21425 ++
40.21426 ++    # relink executable if necessary
40.21427 ++    if test -n \"\$relink_command\"; then
40.21428 ++      if (eval \$relink_command); then :
40.21429 ++      else
40.21430 ++	$rm \"\$progdir/\$file\"
40.21431 ++	exit 1
40.21432 ++      fi
40.21433 ++    fi
40.21434 ++
40.21435 ++    $mv \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null ||
40.21436 ++    { $rm \"\$progdir/\$program\";
40.21437 ++      $mv \"\$progdir/\$file\" \"\$progdir/\$program\"; }
40.21438 ++    $rm \"\$progdir/\$file\"
40.21439 ++  fi"
40.21440 ++	else
40.21441 ++	  echo >> $output "\
40.21442 ++  program='$outputname'
40.21443 ++  progdir=\"\$thisdir/$objdir\"
40.21444 ++"
40.21445 ++	fi
40.21446 ++
40.21447 ++	echo >> $output "\
40.21448 ++
40.21449 ++  if test -f \"\$progdir/\$program\"; then"
40.21450 ++
40.21451 ++	# Export our shlibpath_var if we have one.
40.21452 ++	if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
40.21453 ++	  $echo >> $output "\
40.21454 ++    # Add our own library path to $shlibpath_var
40.21455 ++    $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
40.21456 ++
40.21457 ++    # Some systems cannot cope with colon-terminated $shlibpath_var
40.21458 ++    # The second colon is a workaround for a bug in BeOS R4 sed
40.21459 ++    $shlibpath_var=\`\$echo \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\`
40.21460 ++
40.21461 ++    export $shlibpath_var
40.21462 ++"
40.21463 ++	fi
40.21464 ++
40.21465 ++	# fixup the dll searchpath if we need to.
40.21466 ++	if test -n "$dllsearchpath"; then
40.21467 ++	  $echo >> $output "\
40.21468 ++    # Add the dll search path components to the executable PATH
40.21469 ++    PATH=$dllsearchpath:\$PATH
40.21470 ++"
40.21471 ++	fi
40.21472 ++
40.21473 ++	$echo >> $output "\
40.21474 ++    if test \"\$libtool_execute_magic\" != \"$magic\"; then
40.21475 ++      # Run the actual program with our arguments.
40.21476 ++"
40.21477 ++	case $host in
40.21478 ++	# win32 systems need to use the prog path for dll
40.21479 ++	# lookup to work
40.21480 ++	*-*-cygwin* | *-*-pw32*)
40.21481 ++	  $echo >> $output "\
40.21482 ++      exec \$progdir/\$program \${1+\"\$@\"}
40.21483 ++"
40.21484 ++	  ;;
40.21485 ++
40.21486 ++	# Backslashes separate directories on plain windows
40.21487 ++	*-*-mingw | *-*-os2*)
40.21488 ++	  $echo >> $output "\
40.21489 ++      exec \$progdir\\\\\$program \${1+\"\$@\"}
40.21490 ++"
40.21491 ++	  ;;
40.21492 ++
40.21493 ++	*)
40.21494 ++	  $echo >> $output "\
40.21495 ++      # Export the path to the program.
40.21496 ++      PATH=\"\$progdir:\$PATH\"
40.21497 ++      export PATH
40.21498 ++
40.21499 ++      exec \$program \${1+\"\$@\"}
40.21500 ++"
40.21501 ++	  ;;
40.21502 ++	esac
40.21503 ++	$echo >> $output "\
40.21504 ++      \$echo \"\$0: cannot exec \$program \${1+\"\$@\"}\"
40.21505 ++      exit 1
40.21506 ++    fi
40.21507 ++  else
40.21508 ++    # The program doesn't exist.
40.21509 ++    \$echo \"\$0: error: \$progdir/\$program does not exist\" 1>&2
40.21510 ++    \$echo \"This script is just a wrapper for \$program.\" 1>&2
40.21511 ++    echo \"See the $PACKAGE documentation for more information.\" 1>&2
40.21512 ++    exit 1
40.21513 ++  fi
40.21514 ++fi\
40.21515 ++"
40.21516 ++	chmod +x $output
40.21517 ++      fi
40.21518 ++      exit 0
40.21519 ++      ;;
40.21520 ++    esac
40.21521 ++
40.21522 ++    # See if we need to build an old-fashioned archive.
40.21523 ++    for oldlib in $oldlibs; do
40.21524 ++
40.21525 ++      if test "$build_libtool_libs" = convenience; then
40.21526 ++	oldobjs="$libobjs_save"
40.21527 ++	addlibs="$convenience"
40.21528 ++	build_libtool_libs=no
40.21529 ++      else
40.21530 ++	if test "$build_libtool_libs" = module; then
40.21531 ++	  oldobjs="$libobjs_save"
40.21532 ++	  build_libtool_libs=no
40.21533 ++	else
40.21534 ++	  oldobjs="$objs$old_deplibs "`$echo "X$libobjs_save" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`
40.21535 ++	fi
40.21536 ++	addlibs="$old_convenience"
40.21537 ++      fi
40.21538 ++
40.21539 ++      if test -n "$addlibs"; then
40.21540 ++	gentop="$output_objdir/${outputname}x"
40.21541 ++	$show "${rm}r $gentop"
40.21542 ++	$run ${rm}r "$gentop"
40.21543 ++	$show "mkdir $gentop"
40.21544 ++	$run mkdir "$gentop"
40.21545 ++	status=$?
40.21546 ++	if test $status -ne 0 && test ! -d "$gentop"; then
40.21547 ++	  exit $status
40.21548 ++	fi
40.21549 ++	generated="$generated $gentop"
40.21550 ++
40.21551 ++	# Add in members from convenience archives.
40.21552 ++	for xlib in $addlibs; do
40.21553 ++	  # Extract the objects.
40.21554 ++	  case $xlib in
40.21555 ++	  [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
40.21556 ++	  *) xabs=`pwd`"/$xlib" ;;
40.21557 ++	  esac
40.21558 ++	  xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'`
40.21559 ++	  xdir="$gentop/$xlib"
40.21560 ++
40.21561 ++	  $show "${rm}r $xdir"
40.21562 ++	  $run ${rm}r "$xdir"
40.21563 ++	  $show "mkdir $xdir"
40.21564 ++	  $run mkdir "$xdir"
40.21565 ++	  status=$?
40.21566 ++	  if test $status -ne 0 && test ! -d "$xdir"; then
40.21567 ++	    exit $status
40.21568 ++	  fi
40.21569 ++	  $show "(cd $xdir && $AR x $xabs)"
40.21570 ++	  $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
40.21571 ++
40.21572 ++	  oldobjs="$oldobjs "`find $xdir -name \*.${objext} -print -o -name \*.lo -print | $NL2SP`
40.21573 ++	done
40.21574 ++      fi
40.21575 ++
40.21576 ++      # Do each command in the archive commands.
40.21577 ++      if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then
40.21578 ++	eval cmds=\"$old_archive_from_new_cmds\"
40.21579 ++      else
40.21580 ++	# Ensure that we have .o objects in place in case we decided
40.21581 ++	# not to build a shared library, and have fallen back to building
40.21582 ++	# static libs even though --disable-static was passed!
40.21583 ++	for oldobj in $oldobjs; do
40.21584 ++	  if test ! -f $oldobj; then
40.21585 ++	    xdir=`$echo "X$oldobj" | $Xsed -e 's%/[^/]*$%%'`
40.21586 ++	    if test "X$xdir" = "X$oldobj"; then
40.21587 ++	      xdir="."
40.21588 ++	    else
40.21589 ++	      xdir="$xdir"
40.21590 ++	    fi
40.21591 ++	    baseobj=`$echo "X$oldobj" | $Xsed -e 's%^.*/%%'`
40.21592 ++	    obj=`$echo "X$baseobj" | $Xsed -e "$o2lo"`
40.21593 ++	    $show "(cd $xdir && ${LN_S} $obj $baseobj)"
40.21594 ++	    $run eval '(cd $xdir && ${LN_S} $obj $baseobj)' || exit $?
40.21595 ++	  fi
40.21596 ++	done
40.21597 ++
40.21598 ++	eval cmds=\"$old_archive_cmds\"
40.21599 ++      fi
40.21600 ++      IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
40.21601 ++      for cmd in $cmds; do
40.21602 ++	IFS="$save_ifs"
40.21603 ++	$show "$cmd"
40.21604 ++	$run eval "$cmd" || exit $?
40.21605 ++      done
40.21606 ++      IFS="$save_ifs"
40.21607 ++    done
40.21608 ++
40.21609 ++    if test -n "$generated"; then
40.21610 ++      $show "${rm}r$generated"
40.21611 ++      $run ${rm}r$generated
40.21612 ++    fi
40.21613 ++
40.21614 ++    # Now create the libtool archive.
40.21615 ++    case $output in
40.21616 ++    *.la)
40.21617 ++      old_library=
40.21618 ++      test "$build_old_libs" = yes && old_library="$libname.$libext"
40.21619 ++      $show "creating $output"
40.21620 ++
40.21621 ++      # Preserve any variables that may affect compiler behavior
40.21622 ++      for var in $variables_saved_for_relink; do
40.21623 ++	if eval test -z \"\${$var+set}\"; then
40.21624 ++	  relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command"
40.21625 ++	elif eval var_value=\$$var; test -z "$var_value"; then
40.21626 ++	  relink_command="$var=; export $var; $relink_command"
40.21627 ++	else
40.21628 ++	  var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
40.21629 ++	  relink_command="$var=\"$var_value\"; export $var; $relink_command"
40.21630 ++	fi
40.21631 ++      done
40.21632 ++      # Quote the link command for shipping.
40.21633 ++      relink_command="cd `pwd`; $SHELL $0 --mode=relink $libtool_args"
40.21634 ++      relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
40.21635 ++
40.21636 ++      # Only create the output if not a dry run.
40.21637 ++      if test -z "$run"; then
40.21638 ++	for installed in no yes; do
40.21639 ++	  if test "$installed" = yes; then
40.21640 ++	    if test -z "$install_libdir"; then
40.21641 ++	      break
40.21642 ++	    fi
40.21643 ++	    output="$output_objdir/$outputname"i
40.21644 ++	    # Replace all uninstalled libtool libraries with the installed ones
40.21645 ++	    newdependency_libs=
40.21646 ++	    for deplib in $dependency_libs; do
40.21647 ++	      case $deplib in
40.21648 ++	      *.la)
40.21649 ++		name=`$echo "X$deplib" | $Xsed -e 's%^.*/%%'`
40.21650 ++		eval libdir=`sed -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
40.21651 ++		if test -z "$libdir"; then
40.21652 ++		  $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
40.21653 ++		  exit 1
40.21654 ++		fi
40.21655 ++		newdependency_libs="$newdependency_libs $libdir/$name"
40.21656 ++		;;
40.21657 ++	      *) newdependency_libs="$newdependency_libs $deplib" ;;
40.21658 ++	      esac
40.21659 ++	    done
40.21660 ++	    dependency_libs="$newdependency_libs"
40.21661 ++	    newdlfiles=
40.21662 ++	    for lib in $dlfiles; do
40.21663 ++	      name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
40.21664 ++	      eval libdir=`sed -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
40.21665 ++	      if test -z "$libdir"; then
40.21666 ++		$echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
40.21667 ++		exit 1
40.21668 ++	      fi
40.21669 ++	      newdlfiles="$newdlfiles $libdir/$name"
40.21670 ++	    done
40.21671 ++	    dlfiles="$newdlfiles"
40.21672 ++	    newdlprefiles=
40.21673 ++	    for lib in $dlprefiles; do
40.21674 ++	      name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
40.21675 ++	      eval libdir=`sed -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
40.21676 ++	      if test -z "$libdir"; then
40.21677 ++		$echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
40.21678 ++		exit 1
40.21679 ++	      fi
40.21680 ++	      newdlprefiles="$newdlprefiles $libdir/$name"
40.21681 ++	    done
40.21682 ++	    dlprefiles="$newdlprefiles"
40.21683 ++	  fi
40.21684 ++	  $rm $output
40.21685 ++	  # place dlname in correct position for cygwin
40.21686 ++	  tdlname=$dlname
40.21687 ++	  case $host,$output,$installed,$module,$dlname in
40.21688 ++	    *cygwin*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
40.21689 ++	  esac
40.21690 ++	  $echo > $output "\
40.21691 ++# $outputname - a libtool library file
40.21692 ++# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
40.21693 ++#
40.21694 ++# Please DO NOT delete this file!
40.21695 ++# It is necessary for linking the library.
40.21696 ++
40.21697 ++# The name that we can dlopen(3).
40.21698 ++dlname='$tdlname'
40.21699 ++
40.21700 ++# Names of this library.
40.21701 ++library_names='$library_names'
40.21702 ++
40.21703 ++# The name of the static archive.
40.21704 ++old_library='$old_library'
40.21705 ++
40.21706 ++# Libraries that this one depends upon.
40.21707 ++dependency_libs='$dependency_libs'
40.21708 ++
40.21709 ++# Version information for $libname.
40.21710 ++current=$current
40.21711 ++age=$age
40.21712 ++revision=$revision
40.21713 ++
40.21714 ++# Is this an already installed library?
40.21715 ++installed=$installed
40.21716 ++
40.21717 ++# Files to dlopen/dlpreopen
40.21718 ++dlopen='$dlfiles'
40.21719 ++dlpreopen='$dlprefiles'
40.21720 ++
40.21721 ++# Directory that this library needs to be installed in:
40.21722 ++libdir='$install_libdir'"
40.21723 ++	  if test "$installed" = no && test $need_relink = yes; then
40.21724 ++	    $echo >> $output "\
40.21725 ++relink_command=\"$relink_command\""
40.21726 ++	  fi
40.21727 ++	done
40.21728 ++      fi
40.21729 ++
40.21730 ++      # Do a symbolic link so that the libtool archive can be found in
40.21731 ++      # LD_LIBRARY_PATH before the program is installed.
40.21732 ++      $show "(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)"
40.21733 ++      $run eval '(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)' || exit $?
40.21734 ++      ;;
40.21735 ++    esac
40.21736 ++    exit 0
40.21737 ++    ;;
40.21738 ++
40.21739 ++  # libtool install mode
40.21740 ++  install)
40.21741 ++    modename="$modename: install"
40.21742 ++
40.21743 ++    # There may be an optional sh(1) argument at the beginning of
40.21744 ++    # install_prog (especially on Windows NT).
40.21745 ++    if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
40.21746 ++       # Allow the use of GNU shtool's install command.
40.21747 ++       $echo "X$nonopt" | $Xsed | grep shtool > /dev/null; then
40.21748 ++      # Aesthetically quote it.
40.21749 ++      arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"`
40.21750 ++      case $arg in
40.21751 ++      *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*)
40.21752 ++	arg="\"$arg\""
40.21753 ++	;;
40.21754 ++      esac
40.21755 ++      install_prog="$arg "
40.21756 ++      arg="$1"
40.21757 ++      shift
40.21758 ++    else
40.21759 ++      install_prog=
40.21760 ++      arg="$nonopt"
40.21761 ++    fi
40.21762 ++
40.21763 ++    # The real first argument should be the name of the installation program.
40.21764 ++    # Aesthetically quote it.
40.21765 ++    arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
40.21766 ++    case $arg in
40.21767 ++    *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*)
40.21768 ++      arg="\"$arg\""
40.21769 ++      ;;
40.21770 ++    esac
40.21771 ++    install_prog="$install_prog$arg"
40.21772 ++
40.21773 ++    # We need to accept at least all the BSD install flags.
40.21774 ++    dest=
40.21775 ++    files=
40.21776 ++    opts=
40.21777 ++    prev=
40.21778 ++    install_type=
40.21779 ++    isdir=no
40.21780 ++    stripme=
40.21781 ++    for arg
40.21782 ++    do
40.21783 ++      if test -n "$dest"; then
40.21784 ++	files="$files $dest"
40.21785 ++	dest="$arg"
40.21786 ++	continue
40.21787 ++      fi
40.21788 ++
40.21789 ++      case $arg in
40.21790 ++      -d) isdir=yes ;;
40.21791 ++      -f) prev="-f" ;;
40.21792 ++      -g) prev="-g" ;;
40.21793 ++      -m) prev="-m" ;;
40.21794 ++      -o) prev="-o" ;;
40.21795 ++      -s)
40.21796 ++	stripme=" -s"
40.21797 ++	continue
40.21798 ++	;;
40.21799 ++      -*) ;;
40.21800 ++
40.21801 ++      *)
40.21802 ++	# If the previous option needed an argument, then skip it.
40.21803 ++	if test -n "$prev"; then
40.21804 ++	  prev=
40.21805 ++	else
40.21806 ++	  dest="$arg"
40.21807 ++	  continue
40.21808 ++	fi
40.21809 ++	;;
40.21810 ++      esac
40.21811 ++
40.21812 ++      # Aesthetically quote the argument.
40.21813 ++      arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
40.21814 ++      case $arg in
40.21815 ++      *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*)
40.21816 ++	arg="\"$arg\""
40.21817 ++	;;
40.21818 ++      esac
40.21819 ++      install_prog="$install_prog $arg"
40.21820 ++    done
40.21821 ++
40.21822 ++    if test -z "$install_prog"; then
40.21823 ++      $echo "$modename: you must specify an install program" 1>&2
40.21824 ++      $echo "$help" 1>&2
40.21825 ++      exit 1
40.21826 ++    fi
40.21827 ++
40.21828 ++    if test -n "$prev"; then
40.21829 ++      $echo "$modename: the \`$prev' option requires an argument" 1>&2
40.21830 ++      $echo "$help" 1>&2
40.21831 ++      exit 1
40.21832 ++    fi
40.21833 ++
40.21834 ++    if test -z "$files"; then
40.21835 ++      if test -z "$dest"; then
40.21836 ++	$echo "$modename: no file or destination specified" 1>&2
40.21837 ++      else
40.21838 ++	$echo "$modename: you must specify a destination" 1>&2
40.21839 ++      fi
40.21840 ++      $echo "$help" 1>&2
40.21841 ++      exit 1
40.21842 ++    fi
40.21843 ++
40.21844 ++    # Strip any trailing slash from the destination.
40.21845 ++    dest=`$echo "X$dest" | $Xsed -e 's%/$%%'`
40.21846 ++
40.21847 ++    # Check to see that the destination is a directory.
40.21848 ++    test -d "$dest" && isdir=yes
40.21849 ++    if test "$isdir" = yes; then
40.21850 ++      destdir="$dest"
40.21851 ++      destname=
40.21852 ++    else
40.21853 ++      destdir=`$echo "X$dest" | $Xsed -e 's%/[^/]*$%%'`
40.21854 ++      test "X$destdir" = "X$dest" && destdir=.
40.21855 ++      destname=`$echo "X$dest" | $Xsed -e 's%^.*/%%'`
40.21856 ++
40.21857 ++      # Not a directory, so check to see that there is only one file specified.
40.21858 ++      set dummy $files
40.21859 ++      if test $# -gt 2; then
40.21860 ++	$echo "$modename: \`$dest' is not a directory" 1>&2
40.21861 ++	$echo "$help" 1>&2
40.21862 ++	exit 1
40.21863 ++      fi
40.21864 ++    fi
40.21865 ++    case $destdir in
40.21866 ++    [\\/]* | [A-Za-z]:[\\/]*) ;;
40.21867 ++    *)
40.21868 ++      for file in $files; do
40.21869 ++	case $file in
40.21870 ++	*.lo) ;;
40.21871 ++	*)
40.21872 ++	  $echo "$modename: \`$destdir' must be an absolute directory name" 1>&2
40.21873 ++	  $echo "$help" 1>&2
40.21874 ++	  exit 1
40.21875 ++	  ;;
40.21876 ++	esac
40.21877 ++      done
40.21878 ++      ;;
40.21879 ++    esac
40.21880 ++
40.21881 ++    # This variable tells wrapper scripts just to set variables rather
40.21882 ++    # than running their programs.
40.21883 ++    libtool_install_magic="$magic"
40.21884 ++
40.21885 ++    staticlibs=
40.21886 ++    future_libdirs=
40.21887 ++    current_libdirs=
40.21888 ++    for file in $files; do
40.21889 ++
40.21890 ++      # Do each installation.
40.21891 ++      case $file in
40.21892 ++      *.$libext)
40.21893 ++	# Do the static libraries later.
40.21894 ++	staticlibs="$staticlibs $file"
40.21895 ++	;;
40.21896 ++
40.21897 ++      *.la)
40.21898 ++	# Check to see that this really is a libtool archive.
40.21899 ++	if (sed -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
40.21900 ++	else
40.21901 ++	  $echo "$modename: \`$file' is not a valid libtool archive" 1>&2
40.21902 ++	  $echo "$help" 1>&2
40.21903 ++	  exit 1
40.21904 ++	fi
40.21905 ++
40.21906 ++	library_names=
40.21907 ++	old_library=
40.21908 ++	relink_command=
40.21909 ++	# If there is no directory component, then add one.
40.21910 ++	case $file in
40.21911 ++	*/* | *\\*) . $file ;;
40.21912 ++	*) . ./$file ;;
40.21913 ++	esac
40.21914 ++
40.21915 ++	# Add the libdir to current_libdirs if it is the destination.
40.21916 ++	if test "X$destdir" = "X$libdir"; then
40.21917 ++	  case "$current_libdirs " in
40.21918 ++	  *" $libdir "*) ;;
40.21919 ++	  *) current_libdirs="$current_libdirs $libdir" ;;
40.21920 ++	  esac
40.21921 ++	else
40.21922 ++	  # Note the libdir as a future libdir.
40.21923 ++	  case "$future_libdirs " in
40.21924 ++	  *" $libdir "*) ;;
40.21925 ++	  *) future_libdirs="$future_libdirs $libdir" ;;
40.21926 ++	  esac
40.21927 ++	fi
40.21928 ++
40.21929 ++	dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`/
40.21930 ++	test "X$dir" = "X$file/" && dir=
40.21931 ++	dir="$dir$objdir"
40.21932 ++
40.21933 ++	if test -n "$relink_command"; then
40.21934 ++	  $echo "$modename: warning: relinking \`$file'" 1>&2
40.21935 ++	  $show "$relink_command"
40.21936 ++	  if $run eval "$relink_command"; then :
40.21937 ++	  else
40.21938 ++	    $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2
40.21939 ++	    continue
40.21940 ++	  fi
40.21941 ++	fi
40.21942 ++
40.21943 ++	# See the names of the shared library.
40.21944 ++	set dummy $library_names
40.21945 ++	if test -n "$2"; then
40.21946 ++	  realname="$2"
40.21947 ++	  shift
40.21948 ++	  shift
40.21949 ++
40.21950 ++	  srcname="$realname"
40.21951 ++	  test -n "$relink_command" && srcname="$realname"T
40.21952 ++
40.21953 ++	  # Install the shared library and build the symlinks.
40.21954 ++	  $show "$install_prog $dir/$srcname $destdir/$realname"
40.21955 ++	  $run eval "$install_prog $dir/$srcname $destdir/$realname" || exit $?
40.21956 ++	  if test -n "$stripme" && test -n "$striplib"; then
40.21957 ++	    $show "$striplib $destdir/$realname"
40.21958 ++	    $run eval "$striplib $destdir/$realname" || exit $?
40.21959 ++	  fi
40.21960 ++
40.21961 ++	  if test $# -gt 0; then
40.21962 ++	    # Delete the old symlinks, and create new ones.
40.21963 ++	    for linkname
40.21964 ++	    do
40.21965 ++	      if test "$linkname" != "$realname"; then
40.21966 ++		$show "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)"
40.21967 ++		$run eval "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)"
40.21968 ++	      fi
40.21969 ++	    done
40.21970 ++	  fi
40.21971 ++
40.21972 ++	  # Do each command in the postinstall commands.
40.21973 ++	  lib="$destdir/$realname"
40.21974 ++	  eval cmds=\"$postinstall_cmds\"
40.21975 ++	  IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
40.21976 ++	  for cmd in $cmds; do
40.21977 ++	    IFS="$save_ifs"
40.21978 ++	    $show "$cmd"
40.21979 ++	    $run eval "$cmd" || exit $?
40.21980 ++	  done
40.21981 ++	  IFS="$save_ifs"
40.21982 ++	fi
40.21983 ++
40.21984 ++	# Install the pseudo-library for information purposes.
40.21985 ++	name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
40.21986 ++	instname="$dir/$name"i
40.21987 ++	$show "$install_prog $instname $destdir/$name"
40.21988 ++	$run eval "$install_prog $instname $destdir/$name" || exit $?
40.21989 ++
40.21990 ++	# Maybe install the static library, too.
40.21991 ++	test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
40.21992 ++	;;
40.21993 ++
40.21994 ++      *.lo)
40.21995 ++	# Install (i.e. copy) a libtool object.
40.21996 ++
40.21997 ++	# Figure out destination file name, if it wasn't already specified.
40.21998 ++	if test -n "$destname"; then
40.21999 ++	  destfile="$destdir/$destname"
40.22000 ++	else
40.22001 ++	  destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
40.22002 ++	  destfile="$destdir/$destfile"
40.22003 ++	fi
40.22004 ++
40.22005 ++	# Deduce the name of the destination old-style object file.
40.22006 ++	case $destfile in
40.22007 ++	*.lo)
40.22008 ++	  staticdest=`$echo "X$destfile" | $Xsed -e "$lo2o"`
40.22009 ++	  ;;
40.22010 ++	*.$objext)
40.22011 ++	  staticdest="$destfile"
40.22012 ++	  destfile=
40.22013 ++	  ;;
40.22014 ++	*)
40.22015 ++	  $echo "$modename: cannot copy a libtool object to \`$destfile'" 1>&2
40.22016 ++	  $echo "$help" 1>&2
40.22017 ++	  exit 1
40.22018 ++	  ;;
40.22019 ++	esac
40.22020 ++
40.22021 ++	# Install the libtool object if requested.
40.22022 ++	if test -n "$destfile"; then
40.22023 ++	  $show "$install_prog $file $destfile"
40.22024 ++	  $run eval "$install_prog $file $destfile" || exit $?
40.22025 ++	fi
40.22026 ++
40.22027 ++	# Install the old object if enabled.
40.22028 ++	if test "$build_old_libs" = yes; then
40.22029 ++	  # Deduce the name of the old-style object file.
40.22030 ++	  staticobj=`$echo "X$file" | $Xsed -e "$lo2o"`
40.22031 ++
40.22032 ++	  $show "$install_prog $staticobj $staticdest"
40.22033 ++	  $run eval "$install_prog \$staticobj \$staticdest" || exit $?
40.22034 ++	fi
40.22035 ++	exit 0
40.22036 ++	;;
40.22037 ++
40.22038 ++      *)
40.22039 ++	# Figure out destination file name, if it wasn't already specified.
40.22040 ++	if test -n "$destname"; then
40.22041 ++	  destfile="$destdir/$destname"
40.22042 ++	else
40.22043 ++	  destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
40.22044 ++	  destfile="$destdir/$destfile"
40.22045 ++	fi
40.22046 ++
40.22047 ++	# Do a test to see if this is really a libtool program.
40.22048 ++	if (sed -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
40.22049 ++	  notinst_deplibs=
40.22050 ++	  relink_command=
40.22051 ++
40.22052 ++	  # If there is no directory component, then add one.
40.22053 ++	  case $file in
40.22054 ++	  */* | *\\*) . $file ;;
40.22055 ++	  *) . ./$file ;;
40.22056 ++	  esac
40.22057 ++
40.22058 ++	  # Check the variables that should have been set.
40.22059 ++	  if test -z "$notinst_deplibs"; then
40.22060 ++	    $echo "$modename: invalid libtool wrapper script \`$file'" 1>&2
40.22061 ++	    exit 1
40.22062 ++	  fi
40.22063 ++
40.22064 ++	  finalize=yes
40.22065 ++	  for lib in $notinst_deplibs; do
40.22066 ++	    # Check to see that each library is installed.
40.22067 ++	    libdir=
40.22068 ++	    if test -f "$lib"; then
40.22069 ++	      # If there is no directory component, then add one.
40.22070 ++	      case $lib in
40.22071 ++	      */* | *\\*) . $lib ;;
40.22072 ++	      *) . ./$lib ;;
40.22073 ++	      esac
40.22074 ++	    fi
40.22075 ++	    libfile="$libdir/"`$echo "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test
40.22076 ++	    if test -n "$libdir" && test ! -f "$libfile"; then
40.22077 ++	      $echo "$modename: warning: \`$lib' has not been installed in \`$libdir'" 1>&2
40.22078 ++	      finalize=no
40.22079 ++	    fi
40.22080 ++	  done
40.22081 ++
40.22082 ++	  relink_command=
40.22083 ++	  # If there is no directory component, then add one.
40.22084 ++	  case $file in
40.22085 ++	  */* | *\\*) . $file ;;
40.22086 ++	  *) . ./$file ;;
40.22087 ++	  esac
40.22088 ++
40.22089 ++	  outputname=
40.22090 ++	  if test "$fast_install" = no && test -n "$relink_command"; then
40.22091 ++	    if test "$finalize" = yes && test -z "$run"; then
40.22092 ++	      tmpdir="/tmp"
40.22093 ++	      test -n "$TMPDIR" && tmpdir="$TMPDIR"
40.22094 ++	      tmpdir="$tmpdir/libtool-$$"
40.22095 ++	      if $mkdir -p "$tmpdir" && chmod 700 "$tmpdir"; then :
40.22096 ++	      else
40.22097 ++		$echo "$modename: error: cannot create temporary directory \`$tmpdir'" 1>&2
40.22098 ++		continue
40.22099 ++	      fi
40.22100 ++	      file=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
40.22101 ++	      outputname="$tmpdir/$file"
40.22102 ++	      # Replace the output file specification.
40.22103 ++	      relink_command=`$echo "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'`
40.22104 ++
40.22105 ++	      $show "$relink_command"
40.22106 ++	      if $run eval "$relink_command"; then :
40.22107 ++	      else
40.22108 ++		$echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2
40.22109 ++		${rm}r "$tmpdir"
40.22110 ++		continue
40.22111 ++	      fi
40.22112 ++	      file="$outputname"
40.22113 ++	    else
40.22114 ++	      $echo "$modename: warning: cannot relink \`$file'" 1>&2
40.22115 ++	    fi
40.22116 ++	  else
40.22117 ++	    # Install the binary that we compiled earlier.
40.22118 ++	    file=`$echo "X$file" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"`
40.22119 ++	  fi
40.22120 ++	fi
40.22121 ++
40.22122 ++	# remove .exe since cygwin /usr/bin/install will append another
40.22123 ++	# one anyways
40.22124 ++	case $install_prog,$host in
40.22125 ++	/usr/bin/install*,*cygwin*)
40.22126 ++	  case $file:$destfile in
40.22127 ++	  *.exe:*.exe)
40.22128 ++	    # this is ok
40.22129 ++	    ;;
40.22130 ++	  *.exe:*)
40.22131 ++	    destfile=$destfile.exe
40.22132 ++	    ;;
40.22133 ++	  *:*.exe)
40.22134 ++	    destfile=`echo $destfile | sed -e 's,.exe$,,'`
40.22135 ++	    ;;
40.22136 ++	  esac
40.22137 ++	  ;;
40.22138 ++	esac
40.22139 ++	$show "$install_prog$stripme $file $destfile"
40.22140 ++	$run eval "$install_prog\$stripme \$file \$destfile" || exit $?
40.22141 ++	test -n "$outputname" && ${rm}r "$tmpdir"
40.22142 ++	;;
40.22143 ++      esac
40.22144 ++    done
40.22145 ++
40.22146 ++    for file in $staticlibs; do
40.22147 ++      name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
40.22148 ++
40.22149 ++      # Set up the ranlib parameters.
40.22150 ++      oldlib="$destdir/$name"
40.22151 ++
40.22152 ++      $show "$install_prog $file $oldlib"
40.22153 ++      $run eval "$install_prog \$file \$oldlib" || exit $?
40.22154 ++
40.22155 ++      if test -n "$stripme" && test -n "$striplib"; then
40.22156 ++	$show "$old_striplib $oldlib"
40.22157 ++	$run eval "$old_striplib $oldlib" || exit $?
40.22158 ++      fi
40.22159 ++
40.22160 ++      # Do each command in the postinstall commands.
40.22161 ++      eval cmds=\"$old_postinstall_cmds\"
40.22162 ++      IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
40.22163 ++      for cmd in $cmds; do
40.22164 ++	IFS="$save_ifs"
40.22165 ++	$show "$cmd"
40.22166 ++	$run eval "$cmd" || exit $?
40.22167 ++      done
40.22168 ++      IFS="$save_ifs"
40.22169 ++    done
40.22170 ++
40.22171 ++    if test -n "$future_libdirs"; then
40.22172 ++      $echo "$modename: warning: remember to run \`$progname --finish$future_libdirs'" 1>&2
40.22173 ++    fi
40.22174 ++
40.22175 ++    if test -n "$current_libdirs"; then
40.22176 ++      # Maybe just do a dry run.
40.22177 ++      test -n "$run" && current_libdirs=" -n$current_libdirs"
40.22178 ++      exec $SHELL $0 --finish$current_libdirs
40.22179 ++      exit 1
40.22180 ++    fi
40.22181 ++
40.22182 ++    exit 0
40.22183 ++    ;;
40.22184 ++
40.22185 ++  # libtool finish mode
40.22186 ++  finish)
40.22187 ++    modename="$modename: finish"
40.22188 ++    libdirs="$nonopt"
40.22189 ++    admincmds=
40.22190 ++
40.22191 ++    if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
40.22192 ++      for dir
40.22193 ++      do
40.22194 ++	libdirs="$libdirs $dir"
40.22195 ++      done
40.22196 ++
40.22197 ++      for libdir in $libdirs; do
40.22198 ++	if test -n "$finish_cmds"; then
40.22199 ++	  # Do each command in the finish commands.
40.22200 ++	  eval cmds=\"$finish_cmds\"
40.22201 ++	  IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
40.22202 ++	  for cmd in $cmds; do
40.22203 ++	    IFS="$save_ifs"
40.22204 ++	    $show "$cmd"
40.22205 ++	    $run eval "$cmd" || admincmds="$admincmds
40.22206 ++       $cmd"
40.22207 ++	  done
40.22208 ++	  IFS="$save_ifs"
40.22209 ++	fi
40.22210 ++	if test -n "$finish_eval"; then
40.22211 ++	  # Do the single finish_eval.
40.22212 ++	  eval cmds=\"$finish_eval\"
40.22213 ++	  $run eval "$cmds" || admincmds="$admincmds
40.22214 ++       $cmds"
40.22215 ++	fi
40.22216 ++      done
40.22217 ++    fi
40.22218 ++
40.22219 ++    # Exit here if they wanted silent mode.
40.22220 ++    test "$show" = ":" && exit 0
40.22221 ++
40.22222 ++    echo "----------------------------------------------------------------------"
40.22223 ++    echo "Libraries have been installed in:"
40.22224 ++    for libdir in $libdirs; do
40.22225 ++      echo "   $libdir"
40.22226 ++    done
40.22227 ++    echo
40.22228 ++    echo "If you ever happen to want to link against installed libraries"
40.22229 ++    echo "in a given directory, LIBDIR, you must either use libtool, and"
40.22230 ++    echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
40.22231 ++    echo "flag during linking and do at least one of the following:"
40.22232 ++    if test -n "$shlibpath_var"; then
40.22233 ++      echo "   - add LIBDIR to the \`$shlibpath_var' environment variable"
40.22234 ++      echo "     during execution"
40.22235 ++    fi
40.22236 ++    if test -n "$runpath_var"; then
40.22237 ++      echo "   - add LIBDIR to the \`$runpath_var' environment variable"
40.22238 ++      echo "     during linking"
40.22239 ++    fi
40.22240 ++    if test -n "$hardcode_libdir_flag_spec"; then
40.22241 ++      libdir=LIBDIR
40.22242 ++      eval flag=\"$hardcode_libdir_flag_spec\"
40.22243 ++
40.22244 ++      echo "   - use the \`$flag' linker flag"
40.22245 ++    fi
40.22246 ++    if test -n "$admincmds"; then
40.22247 ++      echo "   - have your system administrator run these commands:$admincmds"
40.22248 ++    fi
40.22249 ++    if test -f /etc/ld.so.conf; then
40.22250 ++      echo "   - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
40.22251 ++    fi
40.22252 ++    echo
40.22253 ++    echo "See any operating system documentation about shared libraries for"
40.22254 ++    echo "more information, such as the ld(1) and ld.so(8) manual pages."
40.22255 ++    echo "----------------------------------------------------------------------"
40.22256 ++    exit 0
40.22257 ++    ;;
40.22258 ++
40.22259 ++  # libtool execute mode
40.22260 ++  execute)
40.22261 ++    modename="$modename: execute"
40.22262 ++
40.22263 ++    # The first argument is the command name.
40.22264 ++    cmd="$nonopt"
40.22265 ++    if test -z "$cmd"; then
40.22266 ++      $echo "$modename: you must specify a COMMAND" 1>&2
40.22267 ++      $echo "$help"
40.22268 ++      exit 1
40.22269 ++    fi
40.22270 ++
40.22271 ++    # Handle -dlopen flags immediately.
40.22272 ++    for file in $execute_dlfiles; do
40.22273 ++      if test ! -f "$file"; then
40.22274 ++	$echo "$modename: \`$file' is not a file" 1>&2
40.22275 ++	$echo "$help" 1>&2
40.22276 ++	exit 1
40.22277 ++      fi
40.22278 ++
40.22279 ++      dir=
40.22280 ++      case $file in
40.22281 ++      *.la)
40.22282 ++	# Check to see that this really is a libtool archive.
40.22283 ++	if (sed -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
40.22284 ++	else
40.22285 ++	  $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
40.22286 ++	  $echo "$help" 1>&2
40.22287 ++	  exit 1
40.22288 ++	fi
40.22289 ++
40.22290 ++	# Read the libtool library.
40.22291 ++	dlname=
40.22292 ++	library_names=
40.22293 ++
40.22294 ++	# If there is no directory component, then add one.
40.22295 ++	case $file in
40.22296 ++	*/* | *\\*) . $file ;;
40.22297 ++	*) . ./$file ;;
40.22298 ++	esac
40.22299 ++
40.22300 ++	# Skip this library if it cannot be dlopened.
40.22301 ++	if test -z "$dlname"; then
40.22302 ++	  # Warn if it was a shared library.
40.22303 ++	  test -n "$library_names" && $echo "$modename: warning: \`$file' was not linked with \`-export-dynamic'"
40.22304 ++	  continue
40.22305 ++	fi
40.22306 ++
40.22307 ++	dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
40.22308 ++	test "X$dir" = "X$file" && dir=.
40.22309 ++
40.22310 ++	if test -f "$dir/$objdir/$dlname"; then
40.22311 ++	  dir="$dir/$objdir"
40.22312 ++	else
40.22313 ++	  $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2
40.22314 ++	  exit 1
40.22315 ++	fi
40.22316 ++	;;
40.22317 ++
40.22318 ++      *.lo)
40.22319 ++	# Just add the directory containing the .lo file.
40.22320 ++	dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
40.22321 ++	test "X$dir" = "X$file" && dir=.
40.22322 ++	;;
40.22323 ++
40.22324 ++      *)
40.22325 ++	$echo "$modename: warning \`-dlopen' is ignored for non-libtool libraries and objects" 1>&2
40.22326 ++	continue
40.22327 ++	;;
40.22328 ++      esac
40.22329 ++
40.22330 ++      # Get the absolute pathname.
40.22331 ++      absdir=`cd "$dir" && pwd`
40.22332 ++      test -n "$absdir" && dir="$absdir"
40.22333 ++
40.22334 ++      # Now add the directory to shlibpath_var.
40.22335 ++      if eval "test -z \"\$$shlibpath_var\""; then
40.22336 ++	eval "$shlibpath_var=\"\$dir\""
40.22337 ++      else
40.22338 ++	eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\""
40.22339 ++      fi
40.22340 ++    done
40.22341 ++
40.22342 ++    # This variable tells wrapper scripts just to set shlibpath_var
40.22343 ++    # rather than running their programs.
40.22344 ++    libtool_execute_magic="$magic"
40.22345 ++
40.22346 ++    # Check if any of the arguments is a wrapper script.
40.22347 ++    args=
40.22348 ++    for file
40.22349 ++    do
40.22350 ++      case $file in
40.22351 ++      -*) ;;
40.22352 ++      *)
40.22353 ++	# Do a test to see if this is really a libtool program.
40.22354 ++	if (sed -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
40.22355 ++	  # If there is no directory component, then add one.
40.22356 ++	  case $file in
40.22357 ++	  */* | *\\*) . $file ;;
40.22358 ++	  *) . ./$file ;;
40.22359 ++	  esac
40.22360 ++
40.22361 ++	  # Transform arg to wrapped name.
40.22362 ++	  file="$progdir/$program"
40.22363 ++	fi
40.22364 ++	;;
40.22365 ++      esac
40.22366 ++      # Quote arguments (to preserve shell metacharacters).
40.22367 ++      file=`$echo "X$file" | $Xsed -e "$sed_quote_subst"`
40.22368 ++      args="$args \"$file\""
40.22369 ++    done
40.22370 ++
40.22371 ++    if test -z "$run"; then
40.22372 ++      if test -n "$shlibpath_var"; then
40.22373 ++	# Export the shlibpath_var.
40.22374 ++	eval "export $shlibpath_var"
40.22375 ++      fi
40.22376 ++
40.22377 ++      # Restore saved enviroment variables
40.22378 ++      if test "${save_LC_ALL+set}" = set; then
40.22379 ++	LC_ALL="$save_LC_ALL"; export LC_ALL
40.22380 ++      fi
40.22381 ++      if test "${save_LANG+set}" = set; then
40.22382 ++	LANG="$save_LANG"; export LANG
40.22383 ++      fi
40.22384 ++
40.22385 ++      # Now actually exec the command.
40.22386 ++      eval "exec \$cmd$args"
40.22387 ++
40.22388 ++      $echo "$modename: cannot exec \$cmd$args"
40.22389 ++      exit 1
40.22390 ++    else
40.22391 ++      # Display what would be done.
40.22392 ++      if test -n "$shlibpath_var"; then
40.22393 ++	eval "\$echo \"\$shlibpath_var=\$$shlibpath_var\""
40.22394 ++	$echo "export $shlibpath_var"
40.22395 ++      fi
40.22396 ++      $echo "$cmd$args"
40.22397 ++      exit 0
40.22398 ++    fi
40.22399 ++    ;;
40.22400 ++
40.22401 ++  # libtool clean and uninstall mode
40.22402 ++  clean | uninstall)
40.22403 ++    modename="$modename: $mode"
40.22404 ++    rm="$nonopt"
40.22405 ++    files=
40.22406 ++    rmforce=
40.22407 ++    exit_status=0
40.22408 ++
40.22409 ++    # This variable tells wrapper scripts just to set variables rather
40.22410 ++    # than running their programs.
40.22411 ++    libtool_install_magic="$magic"
40.22412 ++
40.22413 ++    for arg
40.22414 ++    do
40.22415 ++      case $arg in
40.22416 ++      -f) rm="$rm $arg"; rmforce=yes ;;
40.22417 ++      -*) rm="$rm $arg" ;;
40.22418 ++      *) files="$files $arg" ;;
40.22419 ++      esac
40.22420 ++    done
40.22421 ++
40.22422 ++    if test -z "$rm"; then
40.22423 ++      $echo "$modename: you must specify an RM program" 1>&2
40.22424 ++      $echo "$help" 1>&2
40.22425 ++      exit 1
40.22426 ++    fi
40.22427 ++
40.22428 ++    rmdirs=
40.22429 ++
40.22430 ++    for file in $files; do
40.22431 ++      dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
40.22432 ++      if test "X$dir" = "X$file"; then
40.22433 ++	dir=.
40.22434 ++	objdir="$objdir"
40.22435 ++      else
40.22436 ++	objdir="$dir/$objdir"
40.22437 ++      fi
40.22438 ++      name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
40.22439 ++      test $mode = uninstall && objdir="$dir"
40.22440 ++
40.22441 ++      # Remember objdir for removal later, being careful to avoid duplicates
40.22442 ++      if test $mode = clean; then
40.22443 ++	case " $rmdirs " in
40.22444 ++	  *" $objdir "*) ;;
40.22445 ++	  *) rmdirs="$rmdirs $objdir" ;;
40.22446 ++	esac
40.22447 ++      fi
40.22448 ++
40.22449 ++      # Don't error if the file doesn't exist and rm -f was used.
40.22450 ++      if (test -L "$file") >/dev/null 2>&1 \
40.22451 ++        || (test -h "$file") >/dev/null 2>&1 \
40.22452 ++	|| test -f "$file"; then
40.22453 ++        :
40.22454 ++      elif test -d "$file"; then
40.22455 ++        exit_status=1
40.22456 ++	continue
40.22457 ++      elif test "$rmforce" = yes; then
40.22458 ++        continue
40.22459 ++      fi
40.22460 ++
40.22461 ++      rmfiles="$file"
40.22462 ++
40.22463 ++      case $name in
40.22464 ++      *.la)
40.22465 ++	# Possibly a libtool archive, so verify it.
40.22466 ++	if (sed -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
40.22467 ++	  . $dir/$name
40.22468 ++
40.22469 ++	  # Delete the libtool libraries and symlinks.
40.22470 ++	  for n in $library_names; do
40.22471 ++	    rmfiles="$rmfiles $objdir/$n"
40.22472 ++	  done
40.22473 ++	  test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library"
40.22474 ++	  test $mode = clean && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
40.22475 ++
40.22476 ++	  if test $mode = uninstall; then
40.22477 ++	    if test -n "$library_names"; then
40.22478 ++	      # Do each command in the postuninstall commands.
40.22479 ++	      eval cmds=\"$postuninstall_cmds\"
40.22480 ++	      IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
40.22481 ++	      for cmd in $cmds; do
40.22482 ++		IFS="$save_ifs"
40.22483 ++		$show "$cmd"
40.22484 ++		$run eval "$cmd"
40.22485 ++		if test $? != 0 && test "$rmforce" != yes; then
40.22486 ++		  exit_status=1
40.22487 ++		fi
40.22488 ++	      done
40.22489 ++	      IFS="$save_ifs"
40.22490 ++	    fi
40.22491 ++
40.22492 ++	    if test -n "$old_library"; then
40.22493 ++	      # Do each command in the old_postuninstall commands.
40.22494 ++	      eval cmds=\"$old_postuninstall_cmds\"
40.22495 ++	      IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
40.22496 ++	      for cmd in $cmds; do
40.22497 ++		IFS="$save_ifs"
40.22498 ++		$show "$cmd"
40.22499 ++		$run eval "$cmd"
40.22500 ++		if test $? != 0 && test "$rmforce" != yes; then
40.22501 ++		  exit_status=1
40.22502 ++		fi
40.22503 ++	      done
40.22504 ++	      IFS="$save_ifs"
40.22505 ++	    fi
40.22506 ++	    # FIXME: should reinstall the best remaining shared library.
40.22507 ++	  fi
40.22508 ++	fi
40.22509 ++	;;
40.22510 ++
40.22511 ++      *.lo)
40.22512 ++	if test "$build_old_libs" = yes; then
40.22513 ++	  oldobj=`$echo "X$name" | $Xsed -e "$lo2o"`
40.22514 ++	  rmfiles="$rmfiles $dir/$oldobj"
40.22515 ++	fi
40.22516 ++	;;
40.22517 ++
40.22518 ++      *)
40.22519 ++	# Do a test to see if this is a libtool program.
40.22520 ++	if test $mode = clean &&
40.22521 ++	   (sed -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
40.22522 ++	  relink_command=
40.22523 ++	  . $dir/$file
40.22524 ++
40.22525 ++	  rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}"
40.22526 ++	  if test "$fast_install" = yes && test -n "$relink_command"; then
40.22527 ++	    rmfiles="$rmfiles $objdir/lt-$name"
40.22528 ++	  fi
40.22529 ++	fi
40.22530 ++	;;
40.22531 ++      esac
40.22532 ++      $show "$rm $rmfiles"
40.22533 ++      $run $rm $rmfiles || exit_status=1
40.22534 ++    done
40.22535 ++
40.22536 ++    # Try to remove the ${objdir}s in the directories where we deleted files
40.22537 ++    for dir in $rmdirs; do
40.22538 ++      if test -d "$dir"; then
40.22539 ++	$show "rmdir $dir"
40.22540 ++	$run rmdir $dir >/dev/null 2>&1
40.22541 ++      fi
40.22542 ++    done
40.22543 ++
40.22544 ++    exit $exit_status
40.22545 ++    ;;
40.22546 ++
40.22547 ++  "")
40.22548 ++    $echo "$modename: you must specify a MODE" 1>&2
40.22549 ++    $echo "$generic_help" 1>&2
40.22550 ++    exit 1
40.22551 ++    ;;
40.22552 ++  esac
40.22553 ++
40.22554 ++  $echo "$modename: invalid operation mode \`$mode'" 1>&2
40.22555 ++  $echo "$generic_help" 1>&2
40.22556 ++  exit 1
40.22557 ++fi # test -z "$show_help"
40.22558 ++
40.22559 ++# We need to display help for each of the modes.
40.22560 ++case $mode in
40.22561 ++"") $echo \
40.22562 ++"Usage: $modename [OPTION]... [MODE-ARG]...
40.22563 ++
40.22564 ++Provide generalized library-building support services.
40.22565 ++
40.22566 ++    --config          show all configuration variables
40.22567 ++    --debug           enable verbose shell tracing
40.22568 ++-n, --dry-run         display commands without modifying any files
40.22569 ++    --features        display basic configuration information and exit
40.22570 ++    --finish          same as \`--mode=finish'
40.22571 ++    --help            display this help message and exit
40.22572 ++    --mode=MODE       use operation mode MODE [default=inferred from MODE-ARGS]
40.22573 ++    --quiet           same as \`--silent'
40.22574 ++    --silent          don't print informational messages
40.22575 ++    --version         print version information
40.22576 ++
40.22577 ++MODE must be one of the following:
40.22578 ++
40.22579 ++      clean           remove files from the build directory
40.22580 ++      compile         compile a source file into a libtool object
40.22581 ++      execute         automatically set library path, then run a program
40.22582 ++      finish          complete the installation of libtool libraries
40.22583 ++      install         install libraries or executables
40.22584 ++      link            create a library or an executable
40.22585 ++      uninstall       remove libraries from an installed directory
40.22586 ++
40.22587 ++MODE-ARGS vary depending on the MODE.  Try \`$modename --help --mode=MODE' for
40.22588 ++a more detailed description of MODE."
40.22589 ++  exit 0
40.22590 ++  ;;
40.22591 ++
40.22592 ++clean)
40.22593 ++  $echo \
40.22594 ++"Usage: $modename [OPTION]... --mode=clean RM [RM-OPTION]... FILE...
40.22595 ++
40.22596 ++Remove files from the build directory.
40.22597 ++
40.22598 ++RM is the name of the program to use to delete files associated with each FILE
40.22599 ++(typically \`/bin/rm').  RM-OPTIONS are options (such as \`-f') to be passed
40.22600 ++to RM.
40.22601 ++
40.22602 ++If FILE is a libtool library, object or program, all the files associated
40.22603 ++with it are deleted. Otherwise, only FILE itself is deleted using RM."
40.22604 ++  ;;
40.22605 ++
40.22606 ++compile)
40.22607 ++  $echo \
40.22608 ++"Usage: $modename [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE
40.22609 ++
40.22610 ++Compile a source file into a libtool library object.
40.22611 ++
40.22612 ++This mode accepts the following additional options:
40.22613 ++
40.22614 ++  -o OUTPUT-FILE    set the output file name to OUTPUT-FILE
40.22615 ++  -prefer-pic       try to building PIC objects only
40.22616 ++  -prefer-non-pic   try to building non-PIC objects only
40.22617 ++  -static           always build a \`.o' file suitable for static linking
40.22618 ++
40.22619 ++COMPILE-COMMAND is a command to be used in creating a \`standard' object file
40.22620 ++from the given SOURCEFILE.
40.22621 ++
40.22622 ++The output file name is determined by removing the directory component from
40.22623 ++SOURCEFILE, then substituting the C source code suffix \`.c' with the
40.22624 ++library object suffix, \`.lo'."
40.22625 ++  ;;
40.22626 ++
40.22627 ++execute)
40.22628 ++  $echo \
40.22629 ++"Usage: $modename [OPTION]... --mode=execute COMMAND [ARGS]...
40.22630 ++
40.22631 ++Automatically set library path, then run a program.
40.22632 ++
40.22633 ++This mode accepts the following additional options:
40.22634 ++
40.22635 ++  -dlopen FILE      add the directory containing FILE to the library path
40.22636 ++
40.22637 ++This mode sets the library path environment variable according to \`-dlopen'
40.22638 ++flags.
40.22639 ++
40.22640 ++If any of the ARGS are libtool executable wrappers, then they are translated
40.22641 ++into their corresponding uninstalled binary, and any of their required library
40.22642 ++directories are added to the library path.
40.22643 ++
40.22644 ++Then, COMMAND is executed, with ARGS as arguments."
40.22645 ++  ;;
40.22646 ++
40.22647 ++finish)
40.22648 ++  $echo \
40.22649 ++"Usage: $modename [OPTION]... --mode=finish [LIBDIR]...
40.22650 ++
40.22651 ++Complete the installation of libtool libraries.
40.22652 ++
40.22653 ++Each LIBDIR is a directory that contains libtool libraries.
40.22654 ++
40.22655 ++The commands that this mode executes may require superuser privileges.  Use
40.22656 ++the \`--dry-run' option if you just want to see what would be executed."
40.22657 ++  ;;
40.22658 ++
40.22659 ++install)
40.22660 ++  $echo \
40.22661 ++"Usage: $modename [OPTION]... --mode=install INSTALL-COMMAND...
40.22662 ++
40.22663 ++Install executables or libraries.
40.22664 ++
40.22665 ++INSTALL-COMMAND is the installation command.  The first component should be
40.22666 ++either the \`install' or \`cp' program.
40.22667 ++
40.22668 ++The rest of the components are interpreted as arguments to that command (only
40.22669 ++BSD-compatible install options are recognized)."
40.22670 ++  ;;
40.22671 ++
40.22672 ++link)
40.22673 ++  $echo \
40.22674 ++"Usage: $modename [OPTION]... --mode=link LINK-COMMAND...
40.22675 ++
40.22676 ++Link object files or libraries together to form another library, or to
40.22677 ++create an executable program.
40.22678 ++
40.22679 ++LINK-COMMAND is a command using the C compiler that you would use to create
40.22680 ++a program from several object files.
40.22681 ++
40.22682 ++The following components of LINK-COMMAND are treated specially:
40.22683 ++
40.22684 ++  -all-static       do not do any dynamic linking at all
40.22685 ++  -avoid-version    do not add a version suffix if possible
40.22686 ++  -dlopen FILE      \`-dlpreopen' FILE if it cannot be dlopened at runtime
40.22687 ++  -dlpreopen FILE   link in FILE and add its symbols to lt_preloaded_symbols
40.22688 ++  -export-dynamic   allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
40.22689 ++  -export-symbols SYMFILE
40.22690 ++		    try to export only the symbols listed in SYMFILE
40.22691 ++  -export-symbols-regex REGEX
40.22692 ++		    try to export only the symbols matching REGEX
40.22693 ++  -LLIBDIR          search LIBDIR for required installed libraries
40.22694 ++  -lNAME            OUTPUT-FILE requires the installed library libNAME
40.22695 ++  -module           build a library that can dlopened
40.22696 ++  -no-fast-install  disable the fast-install mode
40.22697 ++  -no-install       link a not-installable executable
40.22698 ++  -no-undefined     declare that a library does not refer to external symbols
40.22699 ++  -o OUTPUT-FILE    create OUTPUT-FILE from the specified objects
40.22700 ++  -release RELEASE  specify package release information
40.22701 ++  -rpath LIBDIR     the created library will eventually be installed in LIBDIR
40.22702 ++  -R[ ]LIBDIR       add LIBDIR to the runtime path of programs and libraries
40.22703 ++  -static           do not do any dynamic linking of libtool libraries
40.22704 ++  -version-info CURRENT[:REVISION[:AGE]]
40.22705 ++		    specify library version info [each variable defaults to 0]
40.22706 ++
40.22707 ++All other options (arguments beginning with \`-') are ignored.
40.22708 ++
40.22709 ++Every other argument is treated as a filename.  Files ending in \`.la' are
40.22710 ++treated as uninstalled libtool libraries, other files are standard or library
40.22711 ++object files.
40.22712 ++
40.22713 ++If the OUTPUT-FILE ends in \`.la', then a libtool library is created,
40.22714 ++only library objects (\`.lo' files) may be specified, and \`-rpath' is
40.22715 ++required, except when creating a convenience library.
40.22716 ++
40.22717 ++If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created
40.22718 ++using \`ar' and \`ranlib', or on Windows using \`lib'.
40.22719 ++
40.22720 ++If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file
40.22721 ++is created, otherwise an executable program is created."
40.22722 ++  ;;
40.22723 ++
40.22724 ++uninstall)
40.22725 ++  $echo \
40.22726 ++"Usage: $modename [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE...
40.22727 ++
40.22728 ++Remove libraries from an installation directory.
40.22729 ++
40.22730 ++RM is the name of the program to use to delete files associated with each FILE
40.22731 ++(typically \`/bin/rm').  RM-OPTIONS are options (such as \`-f') to be passed
40.22732 ++to RM.
40.22733 ++
40.22734 ++If FILE is a libtool library, all the files associated with it are deleted.
40.22735 ++Otherwise, only FILE itself is deleted using RM."
40.22736 ++  ;;
40.22737 ++
40.22738 ++*)
40.22739 ++  $echo "$modename: invalid operation mode \`$mode'" 1>&2
40.22740 ++  $echo "$help" 1>&2
40.22741 ++  exit 1
40.22742 ++  ;;
40.22743 ++esac
40.22744 ++
40.22745 ++echo
40.22746 ++$echo "Try \`$modename --help' for more information about other modes."
40.22747 ++
40.22748 ++exit 0
40.22749 ++
40.22750 ++# Local Variables:
40.22751 ++# mode:shell-script
40.22752 ++# sh-indentation:2
40.22753 ++# End:
40.22754 +--- openjade1.3-1.3.2.orig/spgrove/threads.h
40.22755 ++++ openjade1.3-1.3.2/spgrove/threads.h
40.22756 +@@ -141,7 +141,7 @@
40.22757 + 
40.22758 + #endif /* _MSC_VER && _MT */
40.22759 + 
40.22760 +-#if ((defined __MACH__) && !(defined __APPLE__)) || (defined __GNU__)
40.22761 ++#if ((defined __MACH__) && !(defined __APPLE__) && !(defined __GNU__))
40.22762 + 
40.22763 + // For Mach, using C Threads. May or may not work as-is on your Mach-based OS.
40.22764 + // Written by Raf Schietekat <RfSchtkt@maze.ruca.ua.ac.be> on 1996-11-10.
    41.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    41.2 +++ b/openjade/stuff/patches/series	Thu Jun 22 20:59:17 2017 +0300
    41.3 @@ -0,0 +1,3 @@
    41.4 +# taken from BLFS
    41.5 +# <http://www.linuxfromscratch.org/patches/blfs/8.0/openjade-1.3.2-upstream-1.patch>
    41.6 +openjade-1.3.2-upstream-1.patch
    42.1 --- a/opensp-dev/receipt	Tue Jun 20 03:48:54 2017 +0300
    42.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    42.3 @@ -1,23 +0,0 @@
    42.4 -# SliTaz package receipt.
    42.5 -
    42.6 -PACKAGE="opensp-dev"
    42.7 -VERSION="1.5.2"
    42.8 -CATEGORY="development"
    42.9 -SHORT_DESC="OpenSP dev files."
   42.10 -MAINTAINER="remy.carel@free.fr"
   42.11 -LICENSE="MIT"
   42.12 -SOURCE="OpenSP"
   42.13 -WEB_SITE="http://openjade.sourceforge.net"
   42.14 -WANTED="opensp"
   42.15 -
   42.16 -DEPENDS="opensp"
   42.17 -
   42.18 -# Rules to gen a SliTaz package suitable for Tazpkg.
   42.19 -genpkg_rules()
   42.20 -{
   42.21 -	mkdir -p $fs/usr/lib $fs/usr/share
   42.22 -	
   42.23 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   42.24 -	cp -a $install/usr/include $fs/usr/
   42.25 -}
   42.26 -
    43.1 --- a/opensp/receipt	Tue Jun 20 03:48:54 2017 +0300
    43.2 +++ b/opensp/receipt	Thu Jun 22 20:59:17 2017 +0300
    43.3 @@ -1,4 +1,4 @@
    43.4 -# SliTaz package receipt.
    43.5 +# SliTaz package receipt v2.
    43.6  
    43.7  PACKAGE="opensp"
    43.8  VERSION="1.5.2"
    43.9 @@ -6,31 +6,46 @@
   43.10  SHORT_DESC="An implementation of DSSSL, a style language to format SGML or XML documents"
   43.11  MAINTAINER="remy.carel@free.fr"
   43.12  LICENSE="MIT"
   43.13 -SOURCE="OpenSP"
   43.14 -TARBALL="$SOURCE-$VERSION.tar.gz"
   43.15 -WEB_SITE="http://openjade.sourceforge.net"
   43.16 -WGET_URL="$SF_MIRROR/openjade/opensp/$VERSION/$TARBALL"
   43.17 +WEB_SITE="http://openjade.sourceforge.net/"
   43.18  
   43.19 -DEPENDS=""
   43.20 -BUILD_DEPENDS="make gcc perl"
   43.21 +TARBALL="OpenSP-$VERSION.tar.gz"
   43.22 +WGET_URL="$SF_MIRROR/openjade/$TARBALL"
   43.23 +
   43.24 +BUILD_DEPENDS="perl gfortran gettext docbook-sgml"
   43.25 +SPLIT="opensp-dev"
   43.26  
   43.27  # Rules to configure and make the package.
   43.28  compile_rules()
   43.29  {
   43.30 -	cd $src
   43.31 -	./configure --prefix=/usr --disable-doc-build --disable-dtddecl \
   43.32 +	sed -i 's/32,/253,/' lib/Syntax.cxx &&
   43.33 +	sed -i 's/LITLEN          240 /LITLEN          8092/' \
   43.34 +		unicode/gensyntax.pl unicode/unicode.syn &&
   43.35 +
   43.36 +	./configure \
   43.37 +		--disable-static \
   43.38 +		--disable-doc-build \
   43.39 +		--enable-default-catalog=/etc/sgml/catalog \
   43.40 +		--enable-http \
   43.41 +		--enable-default-search-path=/usr/share/sgml \
   43.42  		$CONFIGURE_ARGS &&
   43.43 -	make &&
   43.44 -	make DESTDIR=$DESTDIR install
   43.45 +
   43.46 +	make pkgdatadir=/usr/share/sgml/OpenSP-$VERSION &&
   43.47 +	make pkgdatadir=/usr/share/sgml/OpenSP-$VERSION \
   43.48 +		docdir=/usr/share/doc/OpenSP-$VERSION \
   43.49 +		install &&
   43.50 +
   43.51 +	for i in nsgmls sgmlnorm spam spcat spent sx; do
   43.52 +		ln -vsf o$i $install/usr/bin/$i
   43.53 +	done &&
   43.54 +	ln -vsf osx       $install/usr/bin/sgml2xml &&
   43.55 +	ln -vsf libosp.so $install/usr/lib/libsp.so
   43.56  }
   43.57  
   43.58  # Rules to gen a SliTaz package suitable for Tazpkg.
   43.59  genpkg_rules()
   43.60  {
   43.61 -	mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share
   43.62 -	
   43.63 -	cp -a $install/usr/bin $fs/usr
   43.64 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   43.65 -	cp -a $install/usr/share/OpenSP $fs/usr/share
   43.66 +	case $PACKAGE in
   43.67 +		opensp) copy @std;;
   43.68 +		*-dev)  copy @dev;;
   43.69 +	esac
   43.70  }
   43.71 -
    44.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    44.2 +++ b/perl-sgmlspm/receipt	Thu Jun 22 20:59:17 2017 +0300
    44.3 @@ -0,0 +1,34 @@
    44.4 +# SliTaz package receipt.
    44.5 +
    44.6 +PACKAGE="perl-sgmlspm"
    44.7 +VERSION="1.1"
    44.8 +CATEGORY="perl"
    44.9 +SHORT_DESC="SGMLSpm - parsing the output from James Clark's SGMLS and NSGMLS \
   44.10 +parsers"
   44.11 +MAINTAINER="al.bobylev@gmail.com"
   44.12 +LICENSE="GPL"
   44.13 +WEB_SITE="http://www.linuxfromscratch.org/blfs/view/stable/general/perl-modules.html#perl-sgmlspm"
   44.14 +
   44.15 +TARBALL="SGMLSpm-$VERSION.tar.gz"
   44.16 +WGET_URL="http://anduin.linuxfromscratch.org/BLFS/perl-modules/$TARBALL"
   44.17 +
   44.18 +DEPENDS="perl"
   44.19 +BUILD_DEPENDS="perl"
   44.20 +
   44.21 +# Rules to configure and make the package.
   44.22 +compile_rules()
   44.23 +{
   44.24 +	chmod 644 MYMETA.yml
   44.25 +
   44.26 +	perl Makefile.PL &&
   44.27 +	make && make DESTDIR=$install install &&
   44.28 +
   44.29 +	ln -sv sgmlspl.pl $install/usr/bin/sgmlspl
   44.30 +	chmod -R u+w $install
   44.31 +}
   44.32 +
   44.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
   44.34 +genpkg_rules()
   44.35 +{
   44.36 +	copy @std
   44.37 +}
    45.1 --- a/rrdtool/receipt	Tue Jun 20 03:48:54 2017 +0300
    45.2 +++ b/rrdtool/receipt	Thu Jun 22 20:59:17 2017 +0300
    45.3 @@ -12,7 +12,7 @@
    45.4  
    45.5  DEPENDS="zlib freetype libpng libxml2 fontconfig pixman cairo glib pango \
    45.6  xcb-util xorg-base-fonts libwrap"
    45.7 -BUILD_DEPENDS="perl pkg-config zlib-dev freetype-dev libpng-dev libxml2-dev \
    45.8 +BUILD_DEPENDS="perl-dev pkg-config zlib-dev freetype-dev libpng-dev libxml2-dev \
    45.9  fontconfig-dev pixman-dev cairo-dev glib-dev pango-dev python-dev perl groff \
   45.10  libwrap-dev tcl-dev lua5.1-dev ruby"
   45.11  TAGS="logs"
    46.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    46.2 +++ b/sgml-common/receipt	Thu Jun 22 20:59:17 2017 +0300
    46.3 @@ -0,0 +1,57 @@
    46.4 +# SliTaz package receipt v2.
    46.5 +
    46.6 +PACKAGE="sgml-common"
    46.7 +VERSION="0.6.3"
    46.8 +CATEGORY="development"
    46.9 +SHORT_DESC="Tools for maintaining centralized SGML catalogs"
   46.10 +MAINTAINER="al.bobylev@gmail.com"
   46.11 +LICENSE="GPL3"
   46.12 +WEB_SITE="http://docbook.org/xml/"
   46.13 +
   46.14 +TARBALL="$PACKAGE-$VERSION.tgz"
   46.15 +WGET_URL="https://www.sourceware.org/pub/docbook-tools/new-trials/SOURCES/$TARBALL"
   46.16 +
   46.17 +BUILD_DEPENDS="automake"
   46.18 +
   46.19 +# Rules to configure and make the package.
   46.20 +compile_rules()
   46.21 +{
   46.22 +	autoreconf -fi &&
   46.23 +
   46.24 +	./configure \
   46.25 +		--sysconfdir=/etc \
   46.26 +		$CONFIGURE_ARGS &&
   46.27 +	make &&
   46.28 +	make docdir=/usr/share/doc install
   46.29 +}
   46.30 +
   46.31 +# Rules to gen a SliTaz package suitable for Tazpkg.
   46.32 +genpkg_rules()
   46.33 +{
   46.34 +	copy @std
   46.35 +	CONFIG_FILES="/etc/sgml/sgml.conf"
   46.36 +}
   46.37 +
   46.38 +pre_remove() {
   46.39 +	local p1='/etc/sgml/sgml-ent.cat'
   46.40 +	local p2='/etc/sgml/sgml-docbook.cat'
   46.41 +	local p3='/usr/share/sgml/sgml-iso-entities-8879.1986/catalog'
   46.42 +
   46.43 +	touch  "$1/etc/sgml/catalog"
   46.44 +	chroot "$1/" install-catalog --remove $p1 $p3 >/dev/null
   46.45 +	chroot "$1/" install-catalog --remove $p2 $p1 >/dev/null
   46.46 +}
   46.47 +
   46.48 +post_install() {
   46.49 +	touch  "$1/etc/sgml/catalog"
   46.50 +	local p1='/etc/sgml/sgml-ent.cat'
   46.51 +	local p2='/etc/sgml/sgml-docbook.cat'
   46.52 +	local p3='/usr/share/sgml/sgml-iso-entities-8879.1986/catalog'
   46.53 +
   46.54 +	# Remove the catalog items prior to upgrading
   46.55 +	[ -e "$1$p1" -a -e "$1$p2" ] && pre_remove
   46.56 +
   46.57 +	touch  "$1/etc/sgml/catalog" "$1$p1" "$1$p2"
   46.58 +	chroot "$1/" install-catalog --add $p1 $p3 >/dev/null
   46.59 +	chroot "$1/" install-catalog --add $p2 $p1 >/dev/null
   46.60 +}
    47.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    47.2 +++ b/sgml-common/stuff/patches/series	Thu Jun 22 20:59:17 2017 +0300
    47.3 @@ -0,0 +1,3 @@
    47.4 +# from LFS
    47.5 +# <http://www.linuxfromscratch.org/patches/blfs/8.0/sgml-common-0.6.3-manpage-1.patch>
    47.6 +sgml-common-0.6.3-manpage-1.patch
    48.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    48.2 +++ b/sgml-common/stuff/patches/sgml-common-0.6.3-manpage-1.patch	Thu Jun 22 20:59:17 2017 +0300
    48.3 @@ -0,0 +1,14 @@
    48.4 +Submitted By: Thomas Pegg <lnxfreak123 at insightbb dot com>
    48.5 +Date: 2003-11-18
    48.6 +Initial Package Version: 0.6.3
    48.7 +Origin: Thomas Pegg
    48.8 +Description: Fixes syntax of Makefile.am for installation of man pages,
    48.9 +for use with current automake versions 1.7.8 and higher.
   48.10 +
   48.11 +diff -Naur sgml-common-0.6.3.orig/doc/man/Makefile.am sgml-common-0.6.3/doc/man/Makefile.am
   48.12 +--- sgml-common-0.6.3.orig/doc/man/Makefile.am	2001-01-30 14:42:22.000000000 +0000
   48.13 ++++ sgml-common-0.6.3/doc/man/Makefile.am	2003-11-18 16:48:47.000000000 +0000
   48.14 +@@ -1,2 +1 @@
   48.15 +-man8dir	  = $(mandir)/man8
   48.16 +-man8_DATA = *.8
   48.17 ++man_MANS = install-catalog.8
    49.1 --- a/texinfo/receipt	Tue Jun 20 03:48:54 2017 +0300
    49.2 +++ b/texinfo/receipt	Thu Jun 22 20:59:17 2017 +0300
    49.3 @@ -25,7 +25,7 @@
    49.4  # Rules to gen a SliTaz package suitable for Tazpkg.
    49.5  genpkg_rules()
    49.6  {
    49.7 -	copy @std
    49.8 +	copy @std @dev
    49.9  	DEPENDS="perl"
   49.10  	TAGS="documentation"
   49.11  }