--- mono-1.9.1+dfsg.orig/debian/mono-aot-wrapper +++ mono-1.9.1+dfsg/debian/mono-aot-wrapper @@ -0,0 +1,66 @@ +#!/bin/sh + +# Description: This wrapper script pre-compiles (AOT) the passed assembly +# before executing it, and AOTs new assemblies in build output +# directory. + +export MONO_PATH + +DEBIAN_DIR=$(dirname $0) +#MONO_DIR=$DEBIAN_DIR/.. +MONO_DIR=${DEBIAN_DIR/%\/debian} +ASSEMBLY=$1 + +#case $ASSEMBLY in +# *.dll | *.exe) +# if [ -f $ASSEMBLY -a ! -f "$ASSEMBLY.so" ]; then +# $MONO_DIR/runtime/mono-wrapper --aot $ASSEMBLY +# fi +# ;; +#esac + +$MONO_DIR/runtime/mono-wrapper "$@" + +ASSEMBLIES_DIR=$MONO_DIR/mcs/class/lib +ASSEMBLIES=$(find $ASSEMBLIES_DIR -name "*.dll" -or -name "*.exe") +for ASSEMBLY in $ASSEMBLIES; do + ASSEMBLY_DIR=$(dirname $ASSEMBLY) + ASSEMBLY_NAME=$(basename $ASSEMBLY) + if [ ! -f "$ASSEMBLY.so" ]; then + #if [ "$ASSEMBLY_DIR" = "$ASSEMBLIES_DIR/net_2_0" ] || + # [ "$ASSEMBLY_DIR" = "$ASSEMBLIES_DIR/net_2_1" ] || + # [ "$ASSEMBLY_DIR" = "$ASSEMBLIES_DIR/net_2_1_tuned" ]; then + # # AOT for 2.0/2.1 is buggy and likes to crash + # true + #elif [ "$ASSEMBLY_DIR" = "$ASSEMBLIES_DIR/net_2_0_bootstrap" ]; then + # # AOT for 2.0 runtime libs seems to work though + # $MONO_DIR/runtime/mono-wrapper --aot -O=all $ASSEMBLY + #else + # $MONO_DIR/runtime/mono-wrapper --aot -O=all $ASSEMBLY + #fi + + # only AOT basic / 1.0 bootstrap / 2.0 bootstrap + if [ "$ASSEMBLY_DIR" = "$ASSEMBLIES_DIR/basic" ] || + [ "$ASSEMBLY_DIR" = "$ASSEMBLIES_DIR/net_1_1_bootstrap" ] || + [ "$ASSEMBLY_DIR" = "$ASSEMBLIES_DIR/net_2_0_bootstrap" ]; then + $MONO_DIR/runtime/mono-wrapper --aot -O=all $ASSEMBLY + fi + + # always AOT libs used by the compilers + if [ "$ASSEMBLY_DIR" = "$ASSEMBLIES_DIR/default" ]; then + if [ "$ASSEMBLY_NAME" = "mscorlib.dll" ] || + [ "$ASSEMBLY_NAME" = "System.dll" ] || + [ "$ASSEMBLY_NAME" = "System.Xml.dll" ]; then + $MONO_DIR/runtime/mono-wrapper --aot -O=all $ASSEMBLY + fi + fi + #elif [ "$ASSEMBLY_DIR" = "$ASSEMBLIES_DIR/net_2_0" ] || + # [ "$ASSEMBLY_DIR" = "$ASSEMBLIES_DIR/net_2_1" ]; then + # if [ "$ASSEMBLY_NAME" = "mscorlib.dll" ] || + # [ "$ASSEMBLY_NAME" = "System.dll" ] || + # [ "$ASSEMBLY_NAME" = "System.Xml.dll" ]; then + # MONO_PATH=$MONO_DIR/class/lib/net_2_0:$MONO_PATH $MONO_DIR/runtime/mono-wrapper --aot -O=all $ASSEMBLY + # fi + #fi + fi +done --- mono-1.9.1+dfsg.orig/debian/Mono.Cairo.dll.config +++ mono-1.9.1+dfsg/debian/Mono.Cairo.dll.config @@ -0,0 +1,3 @@ + + + --- mono-1.9.1+dfsg.orig/debian/mono-1.0-devel.install +++ mono-1.9.1+dfsg/debian/mono-1.0-devel.install @@ -0,0 +1,68 @@ +debian/tmp/usr/bin/al +debian/tmp/usr/bin/caspol +debian/tmp/usr/bin/cert2spc +debian/tmp/usr/bin/certmgr +debian/tmp/usr/bin/chktrust +debian/tmp/usr/bin/cilc +debian/tmp/usr/bin/disco +debian/tmp/usr/bin/dtd2xsd +debian/tmp/usr/bin/dtd2rng +debian/tmp/usr/bin/genxs +debian/tmp/usr/bin/ilasm +debian/tmp/usr/bin/installvst +debian/tmp/usr/bin/macpack +debian/tmp/usr/bin/mkbundle +debian/tmp/usr/bin/mono-api-diff +debian/tmp/usr/bin/mono-api-info +debian/tmp/usr/bin/mono-shlib-cop +debian/tmp/usr/bin/mono-xmltool +debian/tmp/usr/bin/monop +debian/tmp/usr/bin/monolinker +debian/tmp/usr/bin/mozroots +debian/tmp/usr/bin/permview +debian/tmp/usr/bin/resgen +debian/tmp/usr/bin/secutil +debian/tmp/usr/bin/setreg +debian/tmp/usr/bin/signcode +debian/tmp/usr/bin/sn +debian/tmp/usr/bin/soapsuds +debian/tmp/usr/bin/sqlsharp +debian/tmp/usr/bin/wsdl +debian/tmp/usr/bin/xsd +debian/tmp/usr/lib/mono/1.0/CorCompare.exe +debian/tmp/usr/lib/mono/1.0/al.exe +debian/tmp/usr/lib/mono/1.0/browsercaps-updater.exe +debian/tmp/usr/lib/mono/1.0/caspol.exe +debian/tmp/usr/lib/mono/1.0/cert2spc.exe +debian/tmp/usr/lib/mono/1.0/certmgr.exe +debian/tmp/usr/lib/mono/1.0/chktrust.exe +debian/tmp/usr/lib/mono/1.0/cilc.exe +debian/tmp/usr/lib/mono/1.0/culevel.exe +debian/tmp/usr/lib/mono/1.0/disco.exe +debian/tmp/usr/lib/mono/1.0/dtd2rng.exe +debian/tmp/usr/lib/mono/1.0/dtd2xsd.exe +debian/tmp/usr/lib/mono/1.0/genxs.exe +debian/tmp/usr/lib/mono/1.0/ictool.exe +debian/tmp/usr/lib/mono/1.0/ilasm.exe +debian/tmp/usr/lib/mono/1.0/installvst.exe +debian/tmp/usr/lib/mono/1.0/macpack.exe +debian/tmp/usr/lib/mono/1.0/makecert.exe +debian/tmp/usr/lib/mono/1.0/mkbundle.exe +debian/tmp/usr/lib/mono/1.0/mono-api-diff.exe +debian/tmp/usr/lib/mono/1.0/mono-api-info.exe +debian/tmp/usr/lib/mono/1.0/mono-shlib-cop.exe* +debian/tmp/usr/lib/mono/1.0/mono-xmltool.exe +debian/tmp/usr/lib/mono/1.0/monolinker.exe +debian/tmp/usr/lib/mono/1.0/monop.exe +debian/tmp/usr/lib/mono/1.0/mozroots.exe +debian/tmp/usr/lib/mono/1.0/permview.exe +debian/tmp/usr/lib/mono/1.0/resgen.exe +debian/tmp/usr/lib/mono/1.0/secutil.exe +debian/tmp/usr/lib/mono/1.0/setreg.exe +debian/tmp/usr/lib/mono/1.0/signcode.exe +debian/tmp/usr/lib/mono/1.0/sn.exe +debian/tmp/usr/lib/mono/1.0/soapsuds.exe +debian/tmp/usr/lib/mono/1.0/sqlsharp.exe +debian/tmp/usr/lib/mono/1.0/wsdl.exe +debian/tmp/usr/lib/mono/1.0/xsd.exe +debian/mono-api-check /usr/bin/ --- mono-1.9.1+dfsg.orig/debian/libmono-system-runtime1.0-cil.install +++ mono-1.9.1+dfsg/debian/libmono-system-runtime1.0-cil.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/System.Runtime.*/1.0.*/ +debian/tmp/usr/lib/mono/1.0/System.Runtime.*.dll --- mono-1.9.1+dfsg.orig/debian/libmono-sharpzip2.84-cil.install +++ mono-1.9.1+dfsg/debian/libmono-sharpzip2.84-cil.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/ICSharpCode.SharpZipLib/2.84.*/ +debian/tmp/usr/lib/mono/2.0/ICSharpCode.SharpZipLib.dll --- mono-1.9.1+dfsg.orig/debian/Mono.Data.Sqlite.dll.config +++ mono-1.9.1+dfsg/debian/Mono.Data.Sqlite.dll.config @@ -0,0 +1,4 @@ + + + + --- mono-1.9.1+dfsg.orig/debian/mono-mcs.postinst +++ mono-1.9.1+dfsg/debian/mono-mcs.postinst @@ -0,0 +1,8 @@ +#!/bin/sh +set -e + +update-alternatives \ + --install /usr/bin/cli-csc c-sharp-compiler /usr/bin/mcs 10 \ + --slave /usr/share/man/man1/cli-csc.1.gz cli-csc.1.gz /usr/share/man/man1/mcs.1.gz + +#DEBHELPER# --- mono-1.9.1+dfsg.orig/debian/libmono-system-web2.0-cil.install +++ mono-1.9.1+dfsg/debian/libmono-system-web2.0-cil.install @@ -0,0 +1,4 @@ +debian/tmp/usr/lib/mono/gac/System.Web/2.0.0.0__*/ +debian/tmp/usr/lib/mono/gac/System.Web.Services/2.0.0.0__*/ +debian/tmp/usr/lib/mono/2.0/System.Web.dll +debian/tmp/usr/lib/mono/2.0/System.Web.Services.dll --- mono-1.9.1+dfsg.orig/debian/mono-aot-bootstrap +++ mono-1.9.1+dfsg/debian/mono-aot-bootstrap @@ -0,0 +1,5 @@ +#!/bin/sh + +MCS_DIR=mcs/class/lib + +find $MCS_DIR -name "*.exe" -or -name "*.dll" -exec runtime/mono-wrapper --aot {} \; --- mono-1.9.1+dfsg.orig/debian/mono-common.prerm +++ mono-1.9.1+dfsg/debian/mono-common.prerm @@ -0,0 +1,7 @@ +#!/bin/sh -e + +if [ remove = "$1" ] && [ -x /usr/sbin/update-binfmts ]; then + /usr/sbin/update-binfmts --package mono-common --remove cli /usr/bin/cli +fi + +#DEBHELPER# --- mono-1.9.1+dfsg.orig/debian/MonoGetAssemblyName.cs +++ mono-1.9.1+dfsg/debian/MonoGetAssemblyName.cs @@ -0,0 +1,14 @@ +using System; +using System.Reflection; + +public class GetAssemblyName +{ + public static void Main(string [] args) + { + if (args.Length == 0) + throw new Exception("You must supply an assembly name"); + + Assembly assembly = Assembly.LoadFile(args[0]); + Console.WriteLine("{0}", assembly.FullName); + } +} --- mono-1.9.1+dfsg.orig/debian/libmono-system-ldap2.0-cil.install +++ mono-1.9.1+dfsg/debian/libmono-system-ldap2.0-cil.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/System.DirectoryServices/2.0.*/ +debian/tmp/usr/lib/mono/2.0/System.DirectoryServices.dll --- mono-1.9.1+dfsg.orig/debian/NEWS +++ mono-1.9.1+dfsg/debian/NEWS @@ -0,0 +1,54 @@ +mono (1.2.2.1-1) unstable; urgency=low + + * Here we go, Mono 1.2 is now official stable and released! + + * Mono 1.2 brings a lot of new features in: + - The C# 2.0 compiler is now stable, and the ECMA standard was updated, so + it's safe to use C# 2.0 (gmcs) now. _But_ the 2.0 API is not complete, thus + there are classes/methods still missing. + - Mono is now officially supported on the following architectures: + + 32bit: i386, powerpc, arm, s390, sparc. + + 64bit: amd64, s390x, ia64. + The debian packages are available for: i386, powerpc arm, amd64 and ia64. + Packages for s390, s390x, sparc and kfreebsd-i386 are under review, when + the ports are prooved to be stable enough, we will include them. + - Complete System.Windows.Forms 1.1 API + This version is not using wine! SWF runs natively on Linux (X11 driver) + using an own implementation (libgdiplus). + - File System Watching API now supports inotify. + + * Complete Announcement of Mono 1.2 (vs Mono 1.0): + http://www.go-mono.com/archive/1.2/ + + * Announcement of Mono 1.2.1: + http://www.go-mono.com/archive/1.2.1/ + + * Announcement of Mono 1.2.2: + http://www.go-mono.com/archive/1.2.2/ + + -- Debian Mono Group Wed, 6 Nov 2006 23:00:28 +0200 + +mono (0.96-1) unstable; urgency=low + + * It has been quite a while since the last Mono release in Debian and + we feel that it's time to announce few things changed in the + meantime: + + - dependencies management and debhelper integration - the new + mono-utils package contains scripts to create and manage dependencies + between the .NET library packages. They work in a similar way to the + .shlibs system in Debian. For more details, see dh_makenetlibs(1), + dh_netdeps(1) and monodoc's rules file as example. + Another script available now is dh_installxsp which will install + snippets of configuration files for XSP packages (HTML/ASP.NET server + and Apache module). + + - the GAC - except of mscorlib.dll, all DLLs are moved into + /usr/share/dotnet hierarchy and are now loaded using the GAC (Global + Assembly Cache) method. This also makes sane versioning possible, + similar to SONAME handling on native shared libraries. + + - see README.Debian for further details about changes and the current + .NET Debian policy + + -- Debian Mono Group Sat, 19 Jun 2004 14:39:08 +0200 --- mono-1.9.1+dfsg.orig/debian/changelog +++ mono-1.9.1+dfsg/debian/changelog @@ -0,0 +1,1784 @@ +mono (1.9.1+dfsg-3ubuntu2) intrepid; urgency=low + + * libmono-mozilla0.2-cil: Drop libgluezilla to Suggests, it is in universe + and pulls in the old xulrunner. + * Disable check_prefix_on_proc_self_exe.dpatch, it is not necessary on the + current live CDs any more (aufs has correct /proc/pid/exe paths). + + -- Martin Pitt Tue, 12 Aug 2008 08:26:18 +0200 + +mono (1.9.1+dfsg-3ubuntu1) intrepid; urgency=low + + * Merge with Debian. Remaining Ubuntu changes: + - debian/control: + + Added lpia to architectures. + + Remove libgda2-dev build dependency which cannot be satisfied + since that package is in Universe. + - debian/patches/check_prefix_on_proc_self_exe.dpatch: + + Fix code that checks /proc/self/exe so that mono will function on the + Live CD. + - debian/patches/remove_arg_max_check_r101444.dpatch: + + Comment out buggy dead code (from mono SVN, apparently the same + bug occurs on openSUSE 11) to fix FTBFS. + - debian/rules: + + Symlink doc directories to avoid duplicate files, and remove the doc + directories on upgrade for the now symlinked doc directories. + - debian/shlibs.local: + + Add lines for all libraries mentioned in libgda2-3.shlibs. + * Change libcupsys2-dev build dependency to new name libcups2-dev. + + -- Martin Pitt Mon, 11 Aug 2008 22:16:45 +0200 + +mono (1.9.1+dfsg-3) unstable; urgency=medium + + * debian/control + debian/rules + debian/libmono-nunit2.2-cil.install: + + Added libmono-nunit2.2-cil package needed by packages like monodevelop + and mono-tools, the nunit 2.4 API (libnunit2.4-cil) changed too much to + port these packages. (thus urgency set to medium) + * debian/shlibs.local: + + Updated for the Mono 1.9 release (forgot this in -1). + * debian/rules: + debian/libmono-system2.0-cil.install: + + Added System.Xml.Linq library but with the correct compiler-directory. + (Closes: #487996) + * debian/control: + + Added libdiplus to dependencies of libmono-system-web1.0-cil and + libmono-system-web2.0-cil as System.Web.UI.WebControls.WebColorConverter + invokes it (which is needed by most web applications). (Closes: #479683) + + Removed -1 revision of all Replaces lines with << as condition, as it's + useless and makes backports and Ubuntu integration easier. + + Added Conflicts on mono-classlib-{1,2}.0 (<< 1.1.13.6) and + mono-classlib-{1,2}.0-dbg to ensure they are removed on all systems and + the transition was finished long time ago. + * debian/patches/fix_Dictionary_preventing_GC_r102114.dpatch: + Clear empty slots in keySlots and valueSlots. Otherwise the garbage + collector cannot reclaim the referenced key/value. + (patch taken from upstream SVN revision 102114) + * debian/patches/fix_TdsConnectionPool_svn.dpatch: + + Don't leak connections in the pool, would cause an infinitely timeout. + (patch taken from upstream SVN revisions 105424, 105432, 105433, 105719, + 106448 and 107325) + * debian/libmono-system1.0-cil.clideps-override + debian/libmono-system2.0-cil.clideps-override: + + libcupsys2 package was renamed to libcups2, moving the dependeny on + libcups2 to suggests (as it was before). + * debian/rules: + + Removed --list-missing from dh_install call, it's useless in the current + implementation. + * debian/patches/fix-mono-nunit.pc.in.dpatch: + + Remove stupid relative path from prefix variable. + + -- Mirco Bauer Tue, 05 Aug 2008 21:46:48 +0200 + +mono (1.9.1+dfsg-2) unstable; urgency=medium + + * Urgency set to medium as this release contains important bugfixes for + different architectures. + * debian/control: + + Added xdg-utils | libgnome2-0 | konqueror to suggests of mono-jit as + starting processes can make use of those if installed (to emulate + ShellExecute). + * debian/patches/fix_bound_checking_r98524_r98527.dpatch: + + Fixes bound checking caused SIGSEGV on AMD64 when building XSP. + (Closes: #486652, patch taken from upstream SVN revision 98524 and 98527) + (thanks to Jo Shields for investigation and + providing the dpatch) + * debian/patches/fix_softfloat_r105848.dpatch: + + Fixed softfloat caused SIGABRT on armel when building banshee. + (Closes: #485112, patch taken from upstream SVN revision 105848) + * debian/patches/fix_stack_alignment_r105650_r105651.dpatch: + + Fixes stack alignment, caused assertions on AMD64. (Closes: #473119) + (patch taken from upstream SVN revision 105650 and 105651) + * debian/patches/fix_xen_support_r103474_r103475.dpatch: + + Fixes XEN support caused "4gb seg fixup" messages. (Closes: #481699) + (patch taken from upstream SVN revision 103474 and 103475) + (thanks to Andrew Deason for investigation and + providing the dpatch) + * debian/patches/99_autoreconf.dpatch: + + Updated + + -- Mirco Bauer Tue, 17 Jun 2008 23:59:52 +0200 + +mono (1.9.1+dfsg-1) unstable; urgency=low + + * DFSG version of Mono 1.9.1 + + Deleted the mcs/class/System.Web.Extensions/ directory as + mcs/class/System.Web.Extensions/System.Web.Script.Serialization/JSON/*.cs + is licensed under Creative Commons Attribution 2.5 which is not + DFSG-free. + * New upstream release. + * debian/libmono1.0-cil.install: + + Added internal cecil.pc as mono-tools >= 1.9 needs it. + * debian/patches/pass_CPPFLAGS_nicely_r98803.dpatch: + + Updated + * debian/mono-api-check: + + Fixed bashism. (Closes: #471879) + + Implemented support to check APIs on .deb and .changes files. + * debian/rules: + + clilibs are now defined much more granularly now (per package). + Checked APIs of mono 1.2.2.1 vs 1.2.6 and 1.2.6 vs 1.9. + + Bumped clilibs of libmono-system-web2.0-cil to 1.9.1 + + -- Mirco Bauer Tue, 22 Apr 2008 20:09:39 +0200 + +mono (1.9+dfsg-3) unstable; urgency=low + + * debian/patches/pass_CPPFLAGS_nicely_r98803.dpatch: + + Pass CPPFLAGS nicely to libgc, fixes FTBFS. (Closes: #475972) + (taken from upstream SVN revision 98803) + * debian/patches/99_autoreconf.dpatch: + + Updated + + -- Mirco Bauer Tue, 15 Apr 2008 22:26:39 +0200 + +mono (1.9+dfsg-2) unstable; urgency=low + + * Upload to unstable. + * debian/control: + + Fixed Vcs-Svn field. + + Cleaned up Uploaders field. + * debian/rules: + + Delete binaries missed by "make clean". (Closes: #424576) + (thanks to Sandro Tosi for the patch) + * debian/mono-common.preinst: + + Removed empty script. + + -- Mirco Bauer Mon, 07 Apr 2008 22:11:03 +0200 + +mono (1.9+dfsg-1) experimental; urgency=low + + [ Mirco Bauer ] + * DFSG version of Mono 1.9 + + Deleted the mcs/class/System.Web.Extensions/ directory as + mcs/class/System.Web.Extensions/System.Web.Script.Serialization/JSON/*.cs + is licensed under Creative Commons Attribution 2.5 which is not + DFSG-free. + * New upstream release. + * debian/rules: + + Bumped clilibs to 1.9 + * debian/mono-api-check: + + Implemented -k switch to keep and inspect the XML diff file. + + Fixed application invocation. + * debian/patches/fix_threads.h.dpatch + debian/patches/fix_Mono.Cecil_linkage.dpatch + debian/patches/ppc_fix_flushing_of_icache_r92014.dpatch: + + Removed, already applied upstream. + * debian/libmono2.0-cil.install: + + Added Mono.Web.dll + * debian/control + debian/libmono-mozilla0.1-cil.install + debian/libmono-mozilla0.2-cil.install: + + Renamed libmono-mozilla0.1-cil to libmono-mozilla0.2-cil, as the assembly + version (ABI) was bumped from 0.1 to 0.2. + + [ Sebastian Dröge ] + * debian/patches/method-signature-testing.dpatch: + + Patch from upstream SVN to fix db4o build failure with cecil 0.6, + improves checking of method signatures. + * debian/rules: + + Put CFLAGS into "" to make the shell happy and fix FTBFS. + + Set default CFLAGS to -O2 -g. + + -- Mirco Bauer Mon, 04 Feb 2008 22:11:53 +0100 + +mono (1.2.6+dfsg-6) unstable; urgency=high + + * debian/mono-mcs.postinst + debian/mono-1.0-devel.postinst: + + Moved alternatives handling for cli-sn, cli-resgen and cli-al from + mono-mcs to mono-1.0-devel, as mono-1.0-devel ships those applications + (since mono 1.2.6+dfsg-1). (Closes: #460513) + This caused FTBS for different source packages that didn't explicitly + build-depend on mono-mcs, thus urgency set to high. + (Thanks to Laurent Bigonville for the investigation) + * debian/mono-utils.postint + debian/mono-utils.postinst: + + Fixed file name. + * debian/control: + + Added libmono-dev and pkg-config to recommends of mono-{1,2}.0-devel, as + mkbundle(2) uses pkg-config and needs mono.pc. + * debian/patches/ppc_disable_delegate_trampoline_optimization.dpatch + debian/patches/ppc_fix_flushing_of_icache_r92014.dpatch + + Replaced ppc_disable_delegate_trampoline_optimization with + ppc_fix_flushing_of_icache_r92014, as that one fixes instead of + workarounds the PPC SIGILL issue (taken from upstream's SVN). + + -- Mirco Bauer Mon, 04 Feb 2008 20:57:20 +0100 + +mono (1.2.6+dfsg-5) unstable; urgency=low + + * debian/rules: + + Reverted the changed target dependecies, which caused no patches being + applied anymore. Thus the fix_implicit_pointer_conversions patch for IA64 + is applied again. (Closes: #457868) + + -- Mirco Bauer Thu, 27 Dec 2007 20:54:20 +0100 + +mono (1.2.6+dfsg-4) unstable; urgency=low + + * debian/patches/ppc_disable_delegate_trampoline_optimization.dpatch: + + Disables delegate trampoline code for PPC, fixes instant SIGILL runtime + crashes for every invoked application (as seen in PPC build logs of + gtk-sharp2, gnome-sharp2 or beagle). + * debian/patches/fix_threads.h.dpatch: + + Don't include threads-type.h in threads.h and moved functions to the + correct header, fixes compiling of OpenOffice.org's Mono bridge. + (taken from upstream SVN revision 91687 + 91817) + * debian/rules: + + Make sure -j1 is passed to make, Mono's build system doesn't like -j > 1. + + -- Mirco Bauer Wed, 26 Dec 2007 23:29:28 +0100 + +mono (1.2.6+dfsg-3) unstable; urgency=low + + * debian/rules: + + Pass -D to cli.binfmt install call, makes it not failing on archs that + are not listed in debian/control. + (thanks to Emanuele Rocca for the hint) + + Enhanced "make distclean" error handling, making lintian happy. + * debian/libmono-system-messaging{1,2}.0-cil.clideps-override + debian/libmono-bytefx0.7.6.{1,2}-cil.clideps-override: + + Added suggests libmono-winforms{1,2}.0-cil, doesn't make sense to pull in + System.Windows.Forms for designer classes (which are only used by VS.NET) + * debian/patches/fix_implicit_pointer_conversions.dpatch: + + Fixed implicit pointer conversions by including a missing header, which + caused FTBFS on IA64. + * debian/control: + + Added Homepage, Vcs-Svn and Vcs-Browser fields. + + Updated Standards-Version to 3.7.3, no changes needed. + + Changed Section of libmono-dev to libmono-dev. + + Added Suggests (using cli:Suggests) fields for + libmono-system-messaging{1,2}.0-cil and libmono-bytefx0.7.6.{1,2}-cil. + + Use cli:Depends for libmono-bytefx0.7.6.{1,2}-cil instead of manual + dependencies. + * debian/NEWS: + + Fixed typo and indention. + + -- Mirco Bauer Tue, 25 Dec 2007 13:40:33 +0100 + +mono (1.2.6+dfsg-2) unstable; urgency=low + + * The "Welcome SPARC and S390 Users!" release + * debian/mono-2.0-devel.install + debian/mono-2.0-devel.manpages: + + Added mconfig + * debian/control: + + Added sparc and s390 to Architecture fields. (Closes: #332511, #377584) + (as the last 3 feature-releases of Mono were able to build on sparc, and + upstream is getting sparc port contributions again, it should be safe + to enable sparc now) + + Added Replaces << mono-common 1.2.6+dfsg-2 to mono-2.0-devel, as + /etc/mono/mconfig/ was moved to mono-2.0-devel. + * debian/libmono-system{1,2}.0-cil.clideps-override: + + Added suggests libmono-winforms{1,2}.0-cil, doesn't make sense to pull in + System.Windows.Forms for designer classes (which are only used by VS.NET) + * debian/patches/g_thread_init.dpatch: + + Dropped, already applied upstream. + + -- Mirco Bauer Fri, 21 Dec 2007 01:35:40 +0100 + +mono (1.2.6+dfsg-1) unstable; urgency=low + + * DFSG version of Mono 1.2.6 + + Deleted mcs/class/System.Web.Extensions/System.Web.Script.Serialization/ + JSON/* as those source files are licensed under Creative Commons + Attribution 2.5 which is not DFSG-free. + * New upstream release + + Invoking GetFields on emitted type doesn't crash anymore, as seen with + nemerle. (Closes: #452585) + * debian/rules: + + Updated MONO_API to 1.2.6 + + Enabled moonlight support in configure call. + + Removed all "rm debian/tmp/usr/lib/mono/gac/"... calls, instead list + libraries explicitly in .install files. + (this is pretty error prone when upstream introduces new libraries and + the rm list became way too long) + + Copy various 1.0 manpages to 2.0 manpages for missing 2.0 manpages. + + Remove +dfsg part in upstream version detection (UPVERSION variable). + * debian/control: + + Added new packages (mono-mcs/gmcs needed to be split as some parts of the + runtime relies on the compiler, like the XmlSerializer class): + - mono-mcs was split to: mono-1.0-devel and mono-1.0-service. + (monolinker.exe is now shipped part of mono-1.0-devel, Closes: #443833) + - mono-gmcs was split to: mono-2.0-devel, mono-2.0-service and + mono-xbuild. + - mono-smcs, containing the new compiler for moonlight/silverlight + applications. + - libmono-corlib2.1-cil and libmono-system2.1-cil, containing the + moonlight/silverlight runtime libraries. + - libmono-db2-1.0-cil, containing IBM DB2 database connector. + - libmono-mozilla0.1-cil, containing the WebControl implementation using + the Mozilla engine. + - libmono-i18n1.0-cil and libmono-i18n2.0-cil, containing I18N libraries + with code page definitions, moved from libmono-corlib{1,2}.0-cil. + - prj2make-sharp, upstream moved distribution of prj2make-sharp to Mono. + + libmono-corlib{1,2}.0-cil recommends libmono-i18n{1,2}.0-cil now. + + Removed mono and mono-devel meta packages, as they are not useful for + anyone. + * debian/dh_clideps: + + Synced from cli-common 0.5.3, needed for CLI 2.1 support. + * debian/patches/00list: + + Disabled armel_fix_configure_fpu_check.dpatch + (FPU check is fixed upstream) + * debian/patches/kfreebsd_support.dpatch: + + Updated (and re-autoconfed) + * debian/patches/fix-mono.pc.in.dpatch: + + Updated + * debian/patches/ppc_fix_mono_class_proxy_vtable_r84948.dpatch: + + Removed, already applied upstream. + * debian/patches/fix_Mono.Cecil_linkage.dpatch: + + Link Mono.Cecil(.Mdb) against CLI 1.0 instead of 2.0, patch taken from + upstream. + * debian/libmono1.0-cil.install: + + Added Mono.Cecil.dll and Mono.Cecil.Mdb.dll. + * debian/update-shlibs.local.sh: + + Wrote this script to ease updating the debian/shlibs.local file. + * debian/shlibs.local: + + Updated + + -- Mirco Bauer Sun, 16 Dec 2007 15:44:33 +0100 + +mono (1.2.5.1-2) unstable; urgency=high + + * Mirco 'meebey' Bauer: + + debian/mono.runtime-script: + - When removing GAC libraries, output the assembly name correctly on + errors. + + debian/patches/fix_BigInteger_overflow_CVE-2007-5197.dpatch: + - Fixes CVE-2007-5197, thus urgency set to high. + + -- Mirco Bauer Sun, 04 Nov 2007 15:34:08 +0100 + +mono (1.2.5.1-1) unstable; urgency=low + + * Mirco 'meebey' Bauer: + + New upstream (bugfix) release. (Closes: #443468) + + debian/System.Windows.Forms.dll.config: + - Added libX11 and libXcursor. + + -- Mirco Bauer Sat, 22 Sep 2007 19:33:05 +0200 + +mono (1.2.5-3) unstable; urgency=high + + * Mirco 'meebey' Bauer: + + debian/patches/ppc_fix_mono_class_proxy_vtable_r84948.dpatch: + - Fixes crash bug on PPC for all applications that use DBus, + thus setting urgency to high. (Closes: #437452, #441795, #441879) + (Thanks to Bram Senders for testing the patch) + + -- Mirco Bauer Thu, 13 Sep 2007 21:44:16 +0200 + +mono (1.2.5-2) unstable; urgency=medium + + * Sebastian 'slomo' Dröge: + + debian/FirebirdSql.Data.Firebird.dll.config, + debian/shlibs.local: + - Use libfbclient2 instead of old and to be removed libfbclient1. + Thanks to Damyan Ivanov for the + patch (Closes: #440850). + + debian/changelog: + - Use urgency=medium because of the RC bugfix. + + -- Sebastian Dröge Wed, 05 Sep 2007 07:02:15 +0200 + +mono (1.2.5-1) unstable; urgency=low + + * Mirco 'meebey' Bauer: + + New upstream release + + debian/watch: + - Updated + + debian/rules: + - Bumped MONO_API to 1.2.5 + + debian/patches/kfreebsd_support.dpatch + debian/patches/armel_fix_configure_fpu_check.dpatch: + - Updated (re-autoconfed) + - Updated + + debian/patches/ppc_fix_memory_corruption_r81413.dpatch: + debian/patches/fix_delegate_memory_leak_r79001.dpatch + debian/patches/remove_broken_dllmap_from_mono-shlib-cop.dpatch: + - Removed, already applied upstream. + + debian/mono-utils.install + debian/mono-utils.manpages: + - Removed monodiet as removed by upstream + + debian/man/resgen.1: + - Removed, supplied upstream. + + debian/mono-mcs.manpages: + - Added monolinker.1 + - Updated resgen.1 + + debian/mono-mcs.manpages + debian/mono-mjs.manpages: + - Moved mono-mjs.1 manpage to mono-mjs package. + + debian/control: + - Added "Replaces" for mono-mjs.1 move to mono-mjs package. + + -- Mirco Bauer Sun, 02 Sep 2007 21:36:13 +0200 + +mono (1.2.4-6) unstable; urgency=medium + + * Mirco 'meebey' Bauer: + + debian/patches/kfreebsd_support.dpatch: + - Patch configure script too, as we are not re-autogening. + This made kfreebsd-* FTBFS. + + Urgency set to medium, as the last upload fixes an important crash + bug (#428190) for PPC. + + -- Mirco Bauer Thu, 09 Aug 2007 19:36:21 +0200 + +mono (1.2.4-5) unstable; urgency=low + + * The "there is more than Linux and X86" release + * Mirco 'meebey' Bauer: + + debian/control: + - Replaced ${Source-Version} with ${source:Version} and ${binary:Version} + + debian/patches/ppc_fix_memory_corruption_r81413.dpatch: + - Fix memory corruption on PPC, caused all Gtk# programs to crash. + Patch taken from upstream SVN. + (Closes: #428209, #430614, #427934, #428190, #429685) + (Thanks to Wouter Verhelst for testing the patch) + + debian/patches/armel_fix_configure_fpu_check.dpatch: + - Detect FPU correctly. (Closes: #430582) + (Thanks to Riku Voipio for the patch) + + debian/patches/fix_delegate_memory_leak_r79001.dpatch: + - Fix memory leak for delegates passed to unmanaged land, taken from + upstream SVN. (Closes: #428781) + (Thanks to Chris Howie for investigation) + + debian/patches/kfreebsd_support.dpatch: + - Updated, added support for kfreebsd-amd64 + + debian/rules: + - Use softfloat on armel. + * Sebastian 'slomo' Dröge: + + debian/patches/armel_fix_configure_fpu_check.dpatch: + - Regenerate configure for the change. + + -- Mirco Bauer Sat, 21 Jul 2007 15:48:05 +0200 + +mono (1.2.4-4) unstable; urgency=low + + * Mirco 'meebey' Bauer: + + debian/rules: + - Use pthread for arm/armeb/armel, should fix FTBFS for ARM. + * Sebastian 'slomo' Dröge: + + debian/patches/g_thread_init.dpatch: + - Call g_thread_init() as early as possible as this is required for newer + glib versions. See: + http://bugzilla.ximian.com/show_bug.cgi?id=81862 + http://bugzilla.gnome.org/show_bug.cgi?id=331853 + Patch from upstream SVN, rev. 78018. + + -- Mirco Bauer Wed, 13 Jun 2007 01:31:55 +0200 + +mono (1.2.4-3) unstable; urgency=low + + * Mirco 'meebey' Bauer: + + debian/rules: + - Enable sigaltstack only for i386 and amd64, fixes FTBFS for ia64 and + possibly other archs. + + -- Mirco Bauer Tue, 29 May 2007 22:54:24 +0200 + +mono (1.2.4-2) unstable; urgency=low + + * Mirco 'meebey' Bauer: + + debian/patches/00list: + - Disabled dont_remap_non-runtime_libs patch, has side effects + and breaks banshee, means applications using libmono-cairo{1,2}.0-cil + running on CLR 2.0 need again to depend on the 2.0 version explicitly + + debian/rules: + - Call dh_strip in binary-arch target, else mono-utils binaries have + debugging symbols. + + debian/control: + - Strictly depend on upstream version for assemblies doing ICalls + (internal calls into the runtime implementation). + * Sebastian 'slomo' Dröge: + + debian/rules: + - Set executable bit on dh_clistrip and the other debhelper scripts + to fix FTBFS. + + -- Mirco Bauer Mon, 28 May 2007 16:18:53 +0200 + +mono (1.2.4-1) unstable; urgency=medium + + * The clean me harder and be nicer to embedded devices upload + * Mirco 'meebey' Bauer: + + New upstream release + - Fixes endian problem with UDP multicasts (Closes: #406909) + + debian/patches/dont_remap_non-runtime_libs.dpatch: + - Don't remap referenced versions for libraries that are not part of the + runtime (like Npgsql, Novell.Directory.Ldap and Mono.* specially + Mono.Cairo) because that makes predictable dependency tracking + impossible for such libraries and is pretty insane as the remapped + version must be 100% ABI compatible. + This caused FTBFS for applications using Gtk# (which uses Mono.Cairo + version 1.0) but runs and compiles (gmcs) under CLR 2.0. + (Closes: #425194) + + debian/control: + - New package mono-dbg, containing all debug sybols (*.mdb), which is + 27 MB for all libraries and applications of the mono source package. + This new package should make specially embedded device users happy. + - New package mono-jit-dbg, unstripped mono-jit + - New package libmono0-dbg, unstripped libmono0 + - Add libgdiplus dependency to libmono-winforms{1,2}.0-cil, as it's only + indirectly used via System.Drawing of libmono-system{1,2}.0-cil, which + only suggests libgdiplus. + + debian/rules: + - Bumped MONO_API to 1.2.4 + - Install Mono.Data.Sqlite.dll.config + - Enabled sigaltstack in ./configure call, since we use __thread / NPTL. + - Call debian/dh_clifixperms in binary-indep target + - Call debian/dh_clistrip in binary-indep target + + debian/libmono-sqlite{1,2}.0-cil.install: + - Added Mono.Data.Sqlite.dll + + debian/libmono-dev.install: + - Added dotnet.pc + + debian/patches/fix-mono.pc.in.dpatch + debian/patches/fix-mono-cairo.pc.in.dpatch: + - Replace ../../ with @prefix@ + + debian/mono-gmcs.install: + - Added httpcfg and mono-api-info2 + + debian/libmono-system1.0-cil.clideps-override: + - Move libcupsys2 to Suggests. + - Move libgdiplus to Suggests. + + debian/libmono-system-data{1,2}.0-cil.clideps-override: + - Move libglib2.0-0 to Suggests. + + debian/libmono-winforms{1,2}.0-cil.clideps-override: + - Move libglib2.0-0 to Suggests. + + debian/dh_clifixperms: + - Copied from cli-common-dev + + debian/dh_clistrip: + - Copied from cli-common-dev + + debian/shlibs.local: + - Added libgda-2 + + -- Mirco Bauer Mon, 21 May 2007 01:04:08 +0200 + +mono (1.2.3.1-5) unstable; urgency=low + + * Mirco 'meebey' Bauer: + + debian/control: + - Added Conflicts: mono-utils (<< 1.2.3.1-4) to libmono0, to aid partial + upgrade of Mono from etch to lenny or sid, thanks to Rene Engelhard for + the hints. (really Closes: #412970) + - Moved binfmt-support dependency to recommends. (Closes: #418765) + The mono-common.postinst and mono-common.prerm scripts already checks + if binfmt-support is actually installed. + - Updated to use my Debian email address now. + + -- Mirco Bauer Mon, 16 Apr 2007 01:12:04 +0200 + +mono (1.2.3.1-4) unstable; urgency=low + + * Upload to unstable + * Sebastian 'slomo' Dröge: + + debian/control: + - Let mono-utils depend on exactly the same upstream version of libmono0 + that it was build with and remove the other workarounds for bug #412970 + as this is now the correct fix. Thanks to Mirco Bauer for investigating + - Add armel to architectures + + debian/rules: + - The shlibs file of libmono0 now contains >= $UPVERSION + + -- Sebastian Dröge Sun, 15 Apr 2007 21:06:21 +0200 + +mono (1.2.3.1-3) experimental; urgency=low + + * Sebastian 'slomo' Dröge: + + debian/control: + - Also let mono-jit conflict with mono-utils (<< 1.2.3.1), otherwise the + previously added stricter dependencies in mono-utils don't have any + effect for pre-1.2.3.1-2 mono versions. (Closes: #412970) + + -- Sebastian Dröge Tue, 6 Mar 2007 07:32:55 +0100 + +mono (1.2.3.1-2) experimental; urgency=low + + * Sebastian 'slomo' Dröge: + + debian/control: + - Also add kfreebsd-amd64 to archs + - Let libmono-winforms*.0-cil suggest shared-mime-info (Closes: #394674) + - Make mono-utils depend on libmono-corlib1.0-cil with a stricter + version requirement as it most probably breaks with other + versions. (Closes: #412970) + + -- Sebastian Dröge Mon, 5 Mar 2007 08:00:35 +0100 + +mono (1.2.3.1-1) experimental; urgency=low + + * Mirco 'meebey' Bauer: + + debian/rules: + - Split the package build system into arch and indep for the configure, + install and build target. + - Added --disable-mcs-build to configure-indep call. + (buildds doesn't need to build the complete base-class-libraries, + since it's arch-indep, in arch-indep packages, and already in the + archive when uploaded. This should reduce the build time from 10 + hours to about 1 hour for arm) + - Added kfreebsd checks for configure confflags. + - Moved building of MonoGetAssemblyName.exe from install to binary-indep, + else the compiler isn't available yet (if only binary-arch is build). + + debian/dh_clideps: + - Synced from cli-common (contains support for kfreebsd) + + debian/patches/kfreebsd_support.dpatch: + - Adds kfreebsd support to Mono. + (Closes: #394456, thanks to Petr Salinger + and Aurelien Jarno for the patch) + + * Sebastian 'slomo' Dröge: + + New upstream release (Closes: #411924): + - Fixes assertion failures on PPC (Closes: #403495) + + debian/libmono-system2.0-cil.clideps-override: + - Move libasound2 to Suggests + + debian/libmono-system1.0-cil.install, + debian/libmono-system2.0-cil.install: + - Add CustomMarshalers.dll + + debian/libmono-system-data1.0-cil.clideps-override, + debian/libmono-system-data2.0-cil.clideps-override: + - Move libgda2-3 to Suggests + + debian/libmono-winforms1.0-cil.clideps-override, + debian/libmono-winforms2.0-cil.clideps-override: + - Move librsvg2-2 to Suggests + + debian/mono-common.install: + - Update path for cil-opcodes.xml + + debian/mono-gmcs.install: + - Add /usr/bin/al2 utility + - Update path for xbuild stuff + + debian/rules: + - Install new System.Data.dll.config file + - Remove new utilities from mono-mcs as they're already elsewhere + - Update MONO_API to 1.2.3 + + debian/shlibs.local: + - Add shlibs entry for libasound2 + + debian/System.Data.dll.config: + - Added new dllmaps + + debian/shlibs.local, + debian/patches/firebird-fbclient.dpatch, + debian/FirebirdSql.Data.Firebird.dll.config: + - Use libfbclient1 instead of the embedded libfbembed1 + library which is not thread-safe (Closes: #410379) + + debian/control: + - Clean up Build-Depends-Indep + + debian/rules, + debian/mono-gac.install: + - Fix various build failures caused by the binary-arch / binary-indep + split + + -- Sebastian Dröge Tue, 27 Feb 2007 09:44:02 +0100 + +mono (1.2.2.1-2) unstable; urgency=high + + * Sebastian 'slomo' Dröge: + + Urgency high for RC bugfix + + debian/control: + - Build depend on dpkg-dev (>= 1.13.19) for ${source:Version} + substitution (Closes: #411915) + - Update to use my debian.org address + + -- Sebastian Dröge Sat, 24 Feb 2007 16:51:10 +0100 + +mono (1.2.2.1-1) unstable; urgency=low + + * New upstream release + + Mono 1.2.2.1 contains important bugfixes for the ARM architecture + (see #394418), but urgency is not raised because it's a new version. + + Mono 1.2 has upstream security support for 7 years as it's used + in enterprise distributions by upstream. + + For more Mono 1.2 news check the NEWS file. + + * Mirco 'meebey' Bauer: + + New upstream release (1.2.1) + + debian/NEWS: + - Added entry for Mono 1.2 + + debian/control: + - Removed unstable warning from mono-gmcs description. + + debian/patches/gmcs-static-anonmethods.dpatch: + - Removed, already applied upstream. + + debian/mono-gmcs.install: + - Added mkbundle2 + - Added sgen + + debian/libmono-system-web2.0-cil.clideps-override: + - Override for GUI/X11 dependency on libmono-winforms2.0-cil to suggests. + + debian/dh_clideps: + - Synced from cli-common-dev 0.4.7. + + debian/shlibs.local: + - Synced versions from /var/lib/dpkg/info/*.shlibs + * Sebastian 'slomo' Dröge: + + New upstream release (1.2.2) + + New upstream release (1.2.2.1) + + debian/rules: + - Update MONO_API to 1.2.2 + + debian/libmono{1,2}.0-cil.install: + - Add OpenSystem.C library + + debian/patches/*: + - Remove obsolete patches + + -- Debian Mono Group Tue, 5 Dec 2006 20:03:41 +0100 + +mono (1.1.18-3) unstable; urgency=low + + * Sebastian 'slomo' Dröge: + + debian/patches/gmcs-static-anonmethods.dpatch: + - Fix from SVN (r66807) for compilation of static anonymous methods + + -- Debian Mono Group Thu, 19 Oct 2006 06:58:20 +0200 + +mono (1.1.18-2) unstable; urgency=medium + + * The "clean me harder for etch" and "please build on arm this time" release + * Mirco 'meebey' Bauer: + + debian/control: + - Removed obsolete mono-classlib-{1,2}.0 transition packages. + - Changed dependency of mono-runtime on mono-gac to + (= ${source:Version}) for making Mono binNMUable. + - Removed libgc-dev build-dep for kfreebsd. + + debian/rules: + - Added --enable-minimal=aot to configure call for kfreebsd, this might + give us a successful build. + + -- Debian Mono Group Wed, 18 Oct 2006 23:09:35 +0200 + +mono (1.1.18-1) unstable; urgency=low + + * New upstream release + * Mirco 'meebey' Bauer: + + debian/patches/arm_support_larger_stack_r65218.dpatch + debian/patches/fix_tmp_race_r65441.dpatch: + - Removed, already applied upstream. + + debian/control: + - Removed Mono from Build-Conflicts. + + debian/rules: + - Added parameters to $(MAKE) so an existing Mono install is not used. + (thanks to Raja R Harinath to for the hint) + + debian/libmono-winforms{1,2}.0-cil.clideps-override: + - Added suggests libgnomeui-0. + + debian/watch: + - Updated location again. + + -- Debian Mono Group Sun, 15 Oct 2006 13:03:38 +0200 + +mono (1.1.17.1-5) unstable; urgency=high + + * Mirco 'meebey' Bauer: + + debian/patches/fix_tmp_race_r65441.dpatch: + - Fixes tempfile race condition (CVE-2006-5072), taken from upstream SVN. + + debian/control: + - Added mono binary packages to Build-Conflicts, else it tries to use it + during bootstrap and fails. + + debian/dh_clideps + debian/dh_makeclilibs: + - Synced from cli-common-dev 0.4.6. + + -- Debian Mono Group Tue, 3 Oct 2006 14:02:21 +0200 + +mono (1.1.17.1-4) unstable; urgency=high + + * Mirco 'meebey' Bauer: + + debian/control: + - Added zlib1g-dev to build-deps, needed by the System.IO.Compression API + in System.dll 2.0. (Closes: #379225) + + debian/dh_clideps: + - Synced from cli-common package, contains bugfix for libc6 dependencies, + makes Mono installable on ia64 again. (Closes: #388557) + - Also supports -l switch now for controlling the MONO_GAC_PREFIX + environment variable. + + -- Debian Mono Group Sat, 23 Sep 2006 23:09:49 +0200 + +mono (1.1.17.1-3) unstable; urgency=high + + * Mirco 'meebey' Bauer: + + debian/patches/arm_support_larger_stack_r65218.dpatch: + - Should fix ARM FTBFS, taken from upstream SVN, thus urgency=medium. + + debian/dh_clideps: + - Synced from cli-common package, contains bugfix for dependencies on + libmono0 and other packages. + + debian/control: + - Added "Suggests: ${cli:Suggests}" to libmono-system{1,2}.0-cil and + libmono-winforms{1,2}.0-cil. + - Added libxml-dom-perl to build-deps (needed by debian/dh_clideps) + + libmono-system2.0-cil.clideps-override + libmono-winforms1.0-cil.clideps-override + libmono-system1.0-cil.clideps-override + libmono-winforms2.0-cil.clideps-override: + - Added, used to override specific Depends to Suggests for assembly + references. + + debian/shlibs.local: + - Updated + + debian/mono-common.postinst: + - Removed old /usr/share/dotnet/mono to /usr/lib/mono transition code. + - Added removal of unneeded /usr/share/dotnet/mono symlink. + (Closes: #387277) + + debian/rules: + - Honor noopt in DEB_BUILD_OPTIONS. + (thanks to Timo Lindfors , Closes: #380617) + + -- Debian Mono Group Mon, 4 Sep 2006 22:44:55 +0200 + +mono (1.1.17.1-2) unstable; urgency=high + + * Mirco 'meebey' Bauer: + + debian/rules: + - Removed --with-static_mono=no from configure call, caused bad runtime + bugs (random crashes, e.g. FTBFS for ARM). According to upstream this + is an untested feature, and should not be used by the runtime itself. + (thanks to Sebastian 'slomo' Dröge for the investigation) + + debian/watch: + - Updated + + -- Debian Mono Group Mon, 4 Sep 2006 22:44:55 +0200 + +mono (1.1.17.1-1) unstable; urgency=low + + * New upstream release + * Mirco 'meebey' Bauer: + + debian/patches/unix-end-point-serialize.dpatch + + debian/patches/unix-end-point-equals.dpatch + + debian/patches/fix-mono-cairo-image-surface-constructor-signature.dpatch + + debian/patches/ppc_missing_lock.dpatch + + debian/patches/sqliteclient-ppc.dpatch + + debian/patches/gacutil-remove-full-assembly-name.dpatch: + - Removed, already applied upstream. + + debian/patches/console-no-utf8-bom.dpatch: + - Updated, thanks to Sebastian 'slomo' Dröge. + + debian/control: + - Removed mono-mbas package. + + debian/libmono-microsoft{7,8}.0-cil.install + debian/mono-mbas.install + debian/mono-mcs.manpages: + - Removed VB.NET, upstream split it into a separate tarball. + + debian/mono-gmcs.install: + - Added bin/resgen2 and bin/mono-service2 + + debian/libmono{1,2}.0-cil.install: + - Added mono-service.exe + + Updated to Standards Version 3.7.2 (no changes needed). + * Sebastian 'slomo' Dröge: + + debian/mono.runtime-script: + - don't fail on removal if an assembly can't be removed. This is most + likely the case because the assembly is already gone. + + -- Debian Mono Group Sun, 3 Sep 2006 17:19:37 +0200 + +mono (1.1.13.8-1) unstable; urgency=low + + * Mirco 'meebey' Bauer: + + Updated debian/watch to use URL for stable releases. + * Sebastian 'slomo' Dröge: + + New upstream release + + debian/patches/ppc_missing_lock.dpatch: + - Add a missing lock and make some memory executable to fix + various segfaults on PPC64 SMP machines with 32 bit userland. + Patch from mono SVN (rev 61756). Thanks to Johannes Berg + (Closes: #371134) + + debian/patches/sqliteclient-ppc.dpatch: + - LastInsertRowID() returns long, not int for sqlite3. + Fixes it to not return always 0 on PPC. Patch from mono SVN (rev 60676). + + debian/patches/resource-manager-boo.dpatch: + - dropped, upstream now + + debian/patches/console-no-utf8-bom.dpatch: + - don't output the Byte Order Mark on UTF8 locales to the console. This + breaks scripts and everything that parses the output of mono programs. + + debian/patches/gacutil-remove-full-assembly-name.dpatch: + - Allow removal of assemblies with neutral culture info when given as + full assembly name to gacutil + + debian/mono.runtime-scripts: + - added LANG=C to all calls of external programs where the output is + parsed + - Exit with a non-0 exit code if something goes wrong + - Use the full assembly name and gacutil /u for uninstallation + + -- Debian Mono Group Tue, 27 Jun 2006 15:11:24 +0200 + +mono (1.1.13.6-4) unstable; urgency=low + + * Mirco 'meebey' Bauer: + + debian/mono-api-check: + - Added .NET 2.0 support (-2 parameter). + + debian/rules: + - pass -r to dh_clideps call for mono-gac, to prevent a circular + dependency between mono-gac <-> mono-runtime. (Closes: #365822) + * Sebastian 'slomo' Dröge: + + debian/patches/fix-mono-cairo-image-surface-constructor-signature.dpatch: + - Fix the signature of the Mono.Cairo.ImageSurface constructor. It should + take a byte array, not a string. The old version with the string could + never work and would've caused a segfault instead. (SVN rev 60175) + + -- Debian Mono Group Tue, 9 May 2006 22:34:09 +0200 + +mono (1.1.13.6-3) unstable; urgency=medium + + * Mirco 'meebey' Bauer: + + debian/control: + - Package mono-gac can not depend on cli-common >= 0.4.0 yet, which is + still in the NEW queue. Changed to use "Recommends" instead. + This caused FTBFS for packages that build-depend on cli-common or + mono-gac, thus using urgency=medium. + - Removed stdout and stderr redirect in mono-common.{postinst,prerm} to + aid debugging a problem with binfmt. + + -- Debian Mono Group Sun, 23 Apr 2006 15:32:29 +0200 + +mono (1.1.13.6-2) unstable; urgency=low + + * Dylan R. E. Moonfire + + Included the late-GAC install hooks. + * Mirco 'meebey' Bauer: + + synced dh_clideps and dh_makeclilibs from cli-common 0.4.0 + + debian/control: + - New meta package mono-runtime. + - Removed libmono-$version provides of libmono0, not needed anymore. + The shlibs file uses now libmono0. + + -- Debian Mono Group Sun, 9 Apr 2006 14:07:23 -0500 + +mono (1.1.13.6-1) unstable; urgency=high + + * New upstream release + * Mirco 'meebey' Bauer + + This upload solves a dependency chain hell that made Mono not installable + on all archs except i386 and amd64, this caused FTBFS for gtk-sharp and + could also for dbus, avahi and probably other source packages, too, + and blocking their migration to testing. Thus urgency=high. + Unfortunately, I can't close any bugreports here, because there is none + filed against Mono for this issue (yet). + + Splitted left libraries of mono-classlib-1.0 and mono-classlib-2.0 + into own packages to avoid ABI breakages and meet the CLI Policy. + All libraries in a package must have the same version number + (required for versioned package names), see CLI Policy 0.4.0 + mono-classlib-1.0/2.0 are now empty transition packages. + This also solves the circular depedency. (Closes: #358363) + + debian/mono-classlib-1.0.install + debian/mono-classlib-1.0-dbg.install + debian/mono-classlib-2.0.install + debian/mono-classlib-2.0-dbg.install: + - Removed, not needed anymore because of splitting. + + debian/control: + - Removed mono-classlib-1.0/2.0-dbg package + Removed mono-assemblies-base package: + - Changed mono-classlib-1.0/2.0 to have a minimum as depencies for the + transition to avoid a dependency hell. (Closes: #360996) + All packages that have a binary dependency on + mono-classlib-1.0/2.0 should be rebuild! + - Removed pnet-compiler Build-Conflicts and Conflicts. + - Updated libgdiplus dependency of libmono-winforms1.0/2.0-cil + to >= 1.1.13.4 + - Moved System.Drawing.Design and System.Design to + libmono-winforms1.0/2.0-cil + - Added mono-mbas package, to avoid GUI dependency chain + - Added mono-mjs package, to avoid GUI dependency chain + - Added libmono-corlib2.0-cil to mono-utils Suggests, needed when + monodis parses 2.0 libraries. + - Added libmono1.0-cil package + - Added libmono2.0-cil package + - Added libmono-system1.0-cil package + - Added libmono-system2.0-cil package + - Added libmono-system-data1.0-cil package + - Added libmono-system-data2.0-cil package + - Added libmono-system-ldap1.0-cil package + - Added libmono-system-ldap2.0-cil package + - Added libmono-data-tds1.0-cil package + - Added libmono-data-tds2.0-cil package + - Added libmono-accessibility1.0-cil package + - Added libmono-accessibility2.0-cil package + - Added libmono-c5-1.0-cil package + - Added libmono-cscompmgd7.0-cil package + - Added libmono-cscompmgd8.0-cil package + - Added libmono-ldap1.0-cil package + - Added libmono-ldap2.0-cil package + - Added libmono-microsoft-build2.0-cil package + - Added libmono-microsoft7.0-cil package + - Added libmono-microsoft8.0-cil package + - Added libmono-oracle1.0-cil package + - Added libmono-oracle2.0-cil package + - Added libmono-peapi1.0-cil package + - Added libmono-peapi2.0-cil package + - Added libmono-relaxng1.0-cil package + - Added libmono-relaxng2.0-cil package + + debian/rules: + - Added dh_makeclilibs call for 2.0 libraries, with tighter dependencies. + + * Sebastian Dröge + + Add myself to Uploaders + + Added debian/mono-api-check: + - small wrapper script for comparing two assemblies and testing whether + their API is compatible. + + debian/patches/unix-end-point-equals.dpatch (SVN rev 57754:57757): + - Fix Equals() and GetHashCode() of Mono.Unix.UnixEndPoint. + http://bugzilla.ximian.com/show_bug.cgi?id=77747 + + debian/patches/resource-manager-boo.dpatch: + - Fix the long outstanding breakage of boo. See + http://bugzilla.ximian.com/show_bug.cgi?id=77242 + + debian/patches/*.dpatch: + - Removed all obsolete, old patches + + -- Debian Mono Group Wed, 5 Apr 2006 23:47:48 +0200 + +mono (1.1.13.4-1) unstable; urgency=low + + * New upstream release + * Mirco 'meebey' Bauer + + Splitted some ABI problematic libraries into own packages. + Conforming to CLI Policy 0.3.0, for more details see: + http://pkg-mono.alioth.debian.org/cli-policy/ch3.html#s3.1 + + debian/control: + - Added libmono-corlib1.0-cil package + - Added libmono-corlib2.0-cil package + (this solves tight dependency problems on mono-jit) + - Removed mono-classlib-1.0 dependency from mono-jit. + - Added libmono-firebirdsql1.7-cil package + - Added libmono-bytefx0.7.6.1-cil package + - Added libmono-bytefx0.7.6.2-cil package + - Added libmono-npgsql1.0-cil package + - Added libmono-npgsql2.0-cil package + - Added libmono-sharpzip0.6-cil package + - Added libmono-sharpzip0.84-cil package + - Added libmono-sharpzip2.6-cil package + - Added libmono-sharpzip2.84-cil package + - Added libmono-winforms1.0-cil package + - Added libmono-winforms2.0-cil package + - Added libmono-sqlite1.0-cil package + - Added libmono-sqlite2.0-cil package + - Added libmono-cairo1.0-cil package + - Added libmono-cairo2.0-cil package + - Added replaces for mono-classlib-1.0/2.0(-dbg). + - Added splitted packages to mono-classlib-1.0/2.0 depends, for + transistion. + + debian/mono-classlib-1.0.install: + - Moved mscorlib.dll to libmono-corlib1.0-cil.install + + debian/mono-classlib-2.0.install: + - Moved mscorlib.dll to libmono-corlib2.0-cil.install + + debian/README.Debian: + - Updated support archs list. + + debian/changelog: + - Fixed indentation of some entries. + * Sebastian Dröge + + debian/patches/unix-end-point-serialize.dpatch (SVN rev 57026): + - Fix the serialization of UnixEndPoint + + debian/rules: + - Add debian/libmono0/usr/lib to the search path of dh_shlibdeps to get + the missing libmono0 dependencies in mono-jit and mono-utils. + + -- Debian Mono Group Sat, 11 Mar 2006 22:46:42 +0100 + +mono (1.1.13.2-1) unstable; urgency=low + + * New upstream release + * Mirco 'meebey' Bauer + + debian/control: + - Added arm and armeb to arch lists + + -- Debian Mono Group Sat, 28 Jan 2006 22:57:07 +0100 + +mono (1.1.13.1-1) unstable; urgency=low + + * New upstream release + * Mirco 'meebey' Bauer + + synced dh_clideps and dh_makeclilibs from cli-common + + debian/rules: + - Added --with-static_mono=no to configure call, else the libmono0 + package would be useless and loading a 1.7mb shared library is not + _that_ slow. + - Removed chrpath hack + + debian/control: + - Updated debhelper build-dep to >= 5.0.0 + - Removed chrpath from build-deps. + - Adjusted some package descriptions. + - Added replaces to mono-gmcs for mono-mcs. + - Added ${misc:Depends} to all arch dep packages. + + debian/mono-jay.manpages: + - Updated path of jay.1 + + debian/mono-common.dirs: + - Added usr/share/dotnet (Closes: #311540) + + debian/mono-gmcs.install: + - Added xbuild + - Added ilasm2 + + debian/libmono0.install: + - Added libMonoSupportW.so + + debian/libmono-dev.install: + - Added libMonoSupportW.a + + -- Debian Mono Group Sat, 14 Jan 2006 17:21:28 +0100 + +mono (1.1.12.1-1) unstable; urgency=low + + * New upstream release (Closes: #344531) + * Mirco 'meebey' Bauer + + debian/control: + - Added libx11-dev and libxt-dev to build-deps. + - Added libgc-dev [kfreebsd-i386] to build-deps. (Closes: #322599) + + debian/rules: + - Added kfreebsd check for configure call. + - Added --with-libgdiplus=installed and --with-x=yes to configure call. + + debian/compat: + - Changed to 5. + + debian/mono-classlib-1.0.install: + - Added usr/lib/mono/compat-1.0/ + - Added usr/lib/pkgconfig/mono-cairo.pc + + debian/mono-classlib-1.0-dbg.install: + - Removed usr/lib/mono/gac/Microsoft.VisualBasic/7.0.*/*.mdb + + debian/mono-classlib-2.0.install: + - Added usr/lib/mono/compat-2.0/ + - Added usr/lib/mono/gac/FirebirdSql.Data.Firebird/1.7.*/ + - Added usr/lib/mono/gac/Microsoft.Build.*/2.*/ + - Removed usr/lib/mono/gac/Microsoft.VisualBasic/8.0.*/*.mdb + + debian/mono-classlib-2.0-dbg.install: + - Added usr/lib/mono/gac/FirebirdSql.Data.Firebird/1.7.*/*.mdb + - Added usr/lib/mono/gac/Microsoft.Build.*/2.*/*.mdb + + -- Debian Mono Group Tue, 27 Dec 2005 12:58:11 +0100 + +mono (1.1.10-1) unstable; urgency=low + + * New upstream release + * Mirco 'meebey' Bauer + + debian/patches/00list: + - Removed fix_xsp2_inherits, already applied upstream. + - Removed datetime_doparse_fix, already applied upstream. + - Removed s390_compile_fix, already applied upstream. + - Removed 64bit_implicit_pointer_cast_fix, already applied upstream. + + debian/mono-mcs.manpages: + - Added mozroots.1 + + debian/mono-classlib-1.0.install: + - Added dotnet.pc + + debian/control: + - Added libgdiplus to "Recommends" of mono. (Closes: #333851) + + -- Debian Mono Group Sat, 12 Nov 2005 21:54:15 +0200 + +mono (1.1.9.2-1) unstable; urgency=low + + * New upstream release + * Mirco 'meebey' Bauer + + debian/patches/00list: + - Removed io_layer_fix_r50689, already applied upstream. + - Removed amd64_compile_fix_r50553, already applied upstream. + + debian/mono-utils.install: + - Removed dh_installxsp, postrm-monoxsp and postinst-monoxsp. Those files + will be in the XSP package (mono-xsp-base) instead. + + debian/mono-utils.manpages: + - Removed dh_installxsp.1 + + debian/patches/s390_compile_fix.dpatch: + - Updated the patch, one "break" was missing in an empty default label. + + debian/patches/fix_xsp2_inherits.dpatch: + - Added patch to fix class inheritance with XSP2. + (thanks to Dylan R. E. Moonfire for the patch) + + -- Debian Mono Group Sun, 16 Oct 2005 14:01:28 +0200 + +mono (1.1.9.1-3) unstable; urgency=medium + + * Mirco 'meebey' Bauer + + debian/patches/amd64_compile_fix_r50553.dpatch: + - Backport from upstream's SVN, should fix amd64 build. + (Closes: #330369) + + debian/patches/64bit_implicit_pointer_cast_fix.dpatch: + - Should fix problems with amd64 and ia64 build. + (Closes: #330982, thanks to David Mosberger-Tang + for the patch) + + Synced dh_makeclilibs and dh_clideps from cli-common. + + -- Debian Mono Group Sun, 2 Oct 2005 17:17:19 +0200 + +mono (1.1.9.1-2) unstable; urgency=medium + + * Mirco 'meebey' Bauer + + debian/control: + - Added dc to build-deps, required for full bootstrap (solves FTBFS). + (Closes: #330280) + + debian/rules: + - Making debian/dh_makeclilibs and debian/dh_clideps now executable. + (Closes: #330283) + + debian/patches/io_layer_fix_r50689.dpatch: + - Backport from upstream's SVN, fixes process signalling bug. + + debian/patches/s390_compile_fix.dpatch: + - Backport from upstream's SVN, should fix s390 build. + * Eduard Bloch + + fixed bashisms in maintainer scripts and added removal of rpath (chrpath) + + -- Debian Mono Group Tue, 27 Sep 2005 11:58:34 +0200 + +mono (1.1.9.1-1) unstable; urgency=low + + * The "Mono becomes architecture friendly" release + - Mono 1.1.9 supports now IA-64 and ARM too + * New upstream release + * Mirco 'meebey' Bauer + + debian/readme: + - Removed MonoConventions. + - Added link to CLI Policy. + + debian/rules: + - Deleting more nunit files. + + debian/control: + - Dropped cli-common build dependency. + - Added ia64 arch-dep packages. + + debian/mono-gmcs.install: + - Added monop2. + + debian/patches/remove_broken_dllmap_from_mono-shlib-cop.dpatch: + - Wrote patch to remove a dllmap which was causing that dh_clidep + generates a dependency for libc6. + + Copied dh_makeclilibs and dh_clideps of cli-common to debian/ for + bootstrapping reasons, Mono is now autobuildable. + + Applied patch for binfmt-detector-cli which makes it 64bit clean. + (Closes: #325313, thanks to Colin Watson for the + patch) + + -- Debian Mono Group Sat, 24 Sep 2005 15:51:03 +0200 + +mono (1.1.8.3-1) unstable; urgency=low + + * New upstream release + * Mirco 'meebey' Bauer + + debian/rules: + - Copying monodis to debian/tmp/usr/bin now, else dh_clideps in + internal-mono mode will fail. + - Copying monograph from mono/monograph/.libs to debian/tmp/usr/bin. + "make install" is still on drugs installing libtool wrapper scripts. + (Closes: #320479) + + debian/mono-utils.install: + - Use monodis from debian/tmp again. + + debian/control: + - Updated versioned cli-common build-dep to >= 0.2.1, this version + will generate proper deps now when using internal-mono mode. + (Closes: #325473) + - Updated to Standards Version 3.6.2.1 (no changes). + + -- Debian Mono Group Fri, 2 Sep 2005 18:42:39 +0200 + +mono (1.1.8.2-1) unstable; urgency=low + + * New upstream release + * Mirco 'meebey' Bauer + + debian/rules: + - Using new feature of cli-common (internal-mono), this allows to use + the built Mono (in debian/) instead of an installed Mono + (thanks to Ingo Saitz for working on this). + + debian/control: + - Added mono-gmcs to "Suggests" of mono-devel. + - Changed "Priority" of mono-classlib-(1.0|2.0)-dbg to extra. + - Changed dependency of mono-classlib-2.0-dbg from mono-classlib-1.0 + to mono-classlib-2.0. + - Updated versioned cli-common build-dep to >= 0.1.4 + - Removed mono-common dependency from many packages (it's not required + and breaks autobuilding of new packages). + - Removed mono-classlib-1.0/2.0 from build-deps. + + -- Debian Mono Group Sun, 10 Jul 2005 16:08:12 +0200 + +mono (1.1.8.1-3) unstable; urgency=low + + * Mirco 'meebey' Bauer + + debian/mono-gmcs.install: + + debian/mono-gmcs.manpages: + - those 2 files were missing, thus the mono-gmcs package was empty. + (Closes: #316742) + + -- Debian Mono Group Sun, 3 Jul 2005 15:51:55 +0200 + +mono (1.1.8.1-2) unstable; urgency=medium + + * Mirco 'meebey' Bauer + + debian/control: + - Added "Replaces" to mono-utils for mono-mcs (<= 1.1.6-4). + This broke upgrading mono packages from 1.1.6 to 1.1.8.1, thus urgency + set to medium. (Closes: #316691) + + -- Debian Mono Group Sun, 3 Jul 2005 12:43:24 +0200 + +mono (1.1.8.1-1) unstable; urgency=low + + * New upstream release + + Fixed DirectoryInfo.GetFiles(), it failed when filename had a backspace + or space at the end. (Closes: #285287) + + With this release we also package the C# 2.0 part, for details see below. + * Mirco 'meebey' Bauer + + debian/mono-mcs.manpages: + - removed monoresgen.1 and prj2make.1 + (the programs for those don't exist in the packages anymore). + + debian/rules: + - disabled 07_no_libc_fun.dpatch + (upstream doesn't use internal libc symbols anymore) + - Deleting prj2make from build + (it is shipped with the prj2make-sharp package). + - Added --preview=yes and --with-ikvm-native=no to ./configure call + (libikvm-native.so is shipped by the ikvm package). + - A lot of changes to make the split of classlib 1.0/2.0 possible. + + debian/control: + - Updated versioned cli-common build-dep to >= 0.1.3 + - Moved libMonoPosixHelper.so from libmono-dev to libmono0, because it's + an unversioned library now. + - Added "Replaces" to libmono0 for libmono-dev (<= 1.1.6-4). + - Renamed mono-assmeblies-base to mono-classlib-1.0 and set "Replaces" + and "Conflicts" for it. + - Added mono-assmeblies-base transistion package. + - Added new packages: mono-gmcs, mono-classlib-2.0, mono-classlib-1.0-dbg + and mono-classlib-2.0-dbg. + - Removed ${cli:Depends} from "Depends" of mono-classlib-1.0. + - Dropped mono-assemblies-arch package, there aren't any arch specific + CIL libraries. + - Changed static depends of mono-mcs to ${cli:Depends} + - Added mono-classlib-1.0 and mono-classlib-2.0 to build-deps + (required for dh_makeclilibs). + + debian/mono-utils.install: + - Using mono/dis/.libs/monodis because the Makefile is confused and + installs a libtool wrapper script instead. + - Added missing /usr/bin/monodiet + - Added new /usr/bin/mono-find-provides and /usr/bin/mono-find-requires + + -- Debian Mono Group Tue, 21 Jun 2005 21:30:36 +0200 + +mono (1.1.6-4) unstable; urgency=low + + * upload to unstable + * Mirco 'meebey' Bauer + + added debian/watch file + + -- Debian Mono Group Sun, 29 May 2005 19:51:35 +0200 + +mono (1.1.6-3) experimental; urgency=low + + * Mirco 'meebey' Bauer + + updated "Section" fields in debian/control. + + added amd64 to the arch fields (Closes: #253542) + (thanks to Kurt Roeckx for testing it on AMD64) + + -- Debian Mono Group Sat, 14 May 2005 18:58:59 +0200 + +mono (1.1.6-2) experimental; urgency=low + + * Mirco 'meebey' Bauer + + removed cli-common from mono-common deps, it's for build-deps. + + updated versioned build-dep of cli-common to >= 0.1.1 + + -- Debian Mono Group Sun, 17 Apr 2005 21:19:58 +0200 + +mono (1.1.6-1) experimental; urgency=low + + * New upstream release + + New version (Closes: #296353, #301268) + + New build system, using one source tarball. + + Almost all programs have a manpage now. + + Mono 1.1.x branch supports AMD64 architecture. + + Remoting is fast again with 1.1.6 + (Closes: #303349) + * Mirco 'meebey' Bauer + + Upstream merged mcs and mono into one mono tarball, this makes the + build process a lot easier. + + Dropping /usr/share/dotnet structure with this release, upstream + provides now a FHS conform solution. + + Added versioned mono-common dependency to mono, makes lintian happy. + + Added cli-common to build-dependencies. + + Added transition code to mono-common.postinst for moving + /usr/share/dotnet/mono to /usr/lib/mono + (thanks to Ingo Saitz aka Salz for helping with this) + + Added c-sharp-compiler, resource-file-generator, assembly-linker, + strong-name-tool, global-assembly-cache-tool and cil-disassembler + alternatives (those are common CLI programs). + + Added mono-devel metapackage. + + Added mono-common dependecy to all related packages. + + Removed a lot of hacks in debian/rules, not required anymore. + + Removed old Conflicts/Replaces. + + Removed icu28-dev from buil-dependencies (ICU is not recommended by + upstream anymore, and does break things). + + Added pkg-config to "Recommends" of mono-mcs. (Closes: #294606) + + created 07_no_libc_fun.dpatch + (Mono 1.1.x tries to use internal libc symbols, which is not required) + + -- Debian Mono Group Sat, 2 Apr 2005 12:48:09 +0200 + +mono (1.0.5-2) unstable; urgency=high + + * Mirco 'meebey' Bauer + + removed mono-mint package and all packages for s390. + The mono-mint (the interpeter) is deprecated, unmaintained upstream + and was just a proof-of-concept programm. + The mono-jit is no longer supported for s390 by upstream in the stable + release and has a lot of bugs on that arch. This prevents Mono to enter + "testing", thus removed. + + -- Debian Mono Group Tue, 15 Feb 2005 22:58:39 +0200 + +mono (1.0.5-1) unstable; urgency=high + + * New upstream release + * Mirco 'meebey' Bauer + + disabled building of .NET 2.0 classlib, because it breaks too much. + Upstream said it should not be used, even Novell does not ship it. + This fixes some very strange bugs, all tested against 1.0.5. + (Closes: #286270, #276464, #287279) + + cleanups in debian/rules + + -- Debian Mono Group Sun, 30 Jan 2005 01:07:36 +0200 + +mono (1.0.4-1) unstable; urgency=high + + * New upstream release + * Mirco 'meebey' Bauer + + removed automake from build-deps + + JIT seems to be stable now (Closes: #258041) + + -- Debian Mono Group Sun, 05 Dec 2004 16:09:32 +0200 + +mono (1.0.2-1) unstable; urgency=high + + * The "All or Nothing" release + * New upstream release (Closes: #273675) + * Mirco 'meebey' Bauer + + applied debian/rules patch to fix FTBFS on i386 with amd64 kernel + (Closes: #265510 thanks to Kurt Roeckx ) + + removed all not official supported architectures + (Closes: #272846, #259680) + + cosmetic cleanups in debian/rules + + -- Debian Mono Group Thu, 11 Oct 2004 21:21:02 +0200 + +mono (1.0.1-1) unstable; urgency=medium + + * New upstream (bugfix) release + + -- Debian Mono Group Thu, 12 Aug 2004 13:46:04 +0200 + +mono (1.0-4) unstable; urgency=medium + + * the "sorry for forgetting the NOT RELEASED YET tags" release + * Mono BSP + * Mirco 'meebey' Bauer + + debian/rules: s390 build should work now + (showstopper for sarge, thus medium urgency) + + debian/control: fixed typo, tuned Architecture field for mono (should + finaly prevent "unallowed" architectures from trying to build mono) + + debian/README.Debian: fixed typo + * Eduard Bloch + + --with-ntpl=no! When compiled with NTPL support, it still breaks on + kernel 2.4 though not using the other libs (closes: #256755, #257412) + + patched Makefiles to link explicitely with glib and dl, thanks to + Russ Allbery (closes: #262023) + + disabled mono-mint build for i386 and powerpc, upstream wish + + -- Debian Mono Group Sun, 08 Aug 2004 16:38:32 +0200 + +mono (1.0-3) unstable; urgency=low + + * NOT RELEASED YET + + -- Eduard Bloch Wed, 7 Jul 2004 19:03:57 +0200 + +mono (1.0-2) unstable; urgency=medium + + * Eduard Bloch + + Workarounds for FTBFS on architectures that have we already built for in + the past + + dh_makenetlibs: extremely ugly workaround for collecting library data + even when not the whole assembly chain works (we need something more + mature than monodis to do this; closes: #258040) + + -- Debian Mono Group Wed, 07 Jul 2004 18:53:32 +0200 + +mono (1.0-1) unstable; urgency=low + + * New upstream release (1.0 final) + * Mirco 'meebey' Bauer + + debian/rules: cleanup + + -- Debian Mono Group Mon, 30 Jun 2004 18:41:27 +0200 + +mono (0.97-1) unstable; urgency=medium + + * New upstream release (Release Candidate) + + basicaly a bugfix release, solves JIT crash problems with kernel 2.4.x + (closes: #255485, #256200), thus this urgency + * Eduard Bloch + + Added libMonoPosixHelper... to libmono... packages (closes: #256697) + + monosn is gone, using sn to get the signature strings now + + set alternative dependency on mono-assemblies-base-0.96, + apparently compatible + + -- Debian Mono Group Mon, 28 Jun 2004 01:14:32 +0200 + +mono (0.96-1) unstable; urgency=low + + * New upstream release + * Eduard Bloch + + setting virtual ".shlibs" for libmono via provides, currently + libmono-0.96 + + created new dh_makenetlibs and dh_netdeps tools to manage assembly + dependencies in the Perl/Python way + + Moved Pablo's dh_installxsp script to mono-utils to mono-utils + + mono-common.preinst now moves /usr/lib/mono directory (if exists) to + /usr/share/dotnet + + moved the check for mono-vs.-mint priority to debian/rules + + applied the patch (as dpatch) from Jackson Harper, + http://bugzilla.ximian.com/showattachment.cgi?attach_id=8206 to fix the + monodis segfault while operating on unresolved assembly references + * Mirco 'meebey' Bauer + + New upstream release updates + + enabled preview features (.NET 1.2, generics) + * Michael Schiansky + + Since beta1 (0.91) dllmaps are handled cleanly (Closes: #241686) + * Pablo Fischer + + Added autoscript support to dh_installxsp + + -- Debian Mono Group Sat, 19 Jun 2004 14:38:57 +0200 + +mono (0.91-1) unstable; urgency=low + + * New upstream release (Closes: Bug#249419) + * JIT is more stable now (Closes: Bug#238420) + * FTBFS fixes for sparc in rules/control + * added s390 architecture to mono-jit, libmono0 and libmono-dev + * documented supported architectures in README.Debian + + -- Mirco 'meebey' Bauer Sun, 02 May 2004 19:19:22 +0200 + +mono (0.31-2) unstable; urgency=low + + * kernel detection overridden to build 2.4 compatible version + (closes: #243928, #243940) + * DLL map updates (closes: #241686) + * README.Debian updated with latest MonoConventions + + -- Eduard Bloch Wed, 7 Apr 2004 01:39:55 +0200 + +mono (0.31-1) unstable; urgency=low + + * New upstream release + * Eduard Bloch + + added additional entries to the hard-coded DLL map (closes: #236782) + + included experimental patch for build failures on HPPA (partial fix + for #240272) + + -- Eduard Bloch Tue, 6 Apr 2004 09:44:35 +0200 + +mono (0.30.2-1) unstable; urgency=low + + * New upstream release + * Eduard Bloch: + + debian/control: limited "any" arch lists to those really supported by the + Mono project. libmono0(-dev) to i386 powerpc (closes: #235315) + + added a workaround for gnomeui-2 symbolic name (closes: #235946) + + deleting the alternatives entries only on removal (closes: #234815) + + -- Eduard Bloch Sat, 6 Mar 2004 13:15:43 +0100 + +mono (0.30.1-1) unstable; urgency=low + + * New upstream release + * SONAME wokraround for libgstreamer-0.6.so.1 + + -- Eduard Bloch Tue, 24 Feb 2004 18:15:49 +0100 + +mono (0.29.99.20040114-4) unstable; urgency=low + + * Eduard Bloch: + + catch-them-all cli-wrapper rewrite + + set mono-common conflict with the virtual package cli-common + * Teófilo Ruiz Suárez: + + removed libicu26-dev from Build-Depends so mono-jit don't depend on + libicu26 (Closes: #231966) + + -- Eduard Bloch Mon, 9 Feb 2004 00:23:40 +0100 + +mono (0.29.99.20040114-3) unstable; urgency=low + + * bugfix release, hopefully the last of 0.29* series + * Teófilo Ruiz Suárez: + + added automake1.7 to Build-Deps + * Eduard Bloch: + + Included modified icu-config to use libicu26-dev + + added libtool to Build-Deps (closes: #231271) + + hook to correct SONAMEs in /etc/mono/config file (Closes: #231191) + + included a generic binary wrapper to mono-common to be used as + PROGRAM to run /usr/bin/PROGRAM.exe with /usr/bin/cli + + -- Eduard Bloch Thu, 22 Jan 2004 00:57:56 +0100 + +mono (0.29.99.20040114-2) unstable; urgency=low + + * Finally closing the outstanding ITPs (closes: #132882) + * Maintainer mailing list address fixed + * libmint* removed (upstream request, considered as dead-end package) + * improved description, added pedump to mono-utils, dropped monosn (upstream + request) + + -- Eduard Bloch Sun, 18 Jan 2004 19:15:41 +0100 + +mono (0.29.99.20040114-1) unstable; urgency=low + + * New maintainer: Debian Mono maintainers + after the previous maintainers stoped the work on it + * Package descriptions written or improved + * Library package separation to follow the shared libs conventions + (libmono and libmono-profiler-... seem to belong together, though) + * libmono-dev depends on libmint-dev since the last contains the headers and + is available on all supported arches + * Package renaming to avoid confusion (mono in mono-jit, mint in mono-mint) + * merged binfmt-detector-cli and mono-common since they were already linked + together and another 3kB package makes no much sense + * limited the arch list to those officially supported by the Mono Project + * Adapted the /usr/share/doc/mono-interpreter (now -mint) fixing hooks + + -- Eduard Bloch Sun, 18 Jan 2004 19:11:04 +0100 + +mono (0.26-2) unstable; urgency=low + + * No longer depend on an external libgc + + -- Alp Toker Tue, 26 Aug 2003 23:27:11 +0100 + +mono (0.26-1) unstable; urgency=low + + * New upstream release + + -- Alp Toker Fri, 15 Aug 2003 15:41:38 +0100 + +mono (0.24-1) unstable; urgency=low + + * New upstream release + + -- Alp Toker Wed, 7 May 2003 02:53:40 +0100 + +mono (0.23-1) unstable; urgency=low + + * New upstream release + + -- Alp Toker Fri, 7 Mar 2003 20:32:37 +0000 + +mono (0.22-1) unstable; urgency=low + + * New upstream release + + -- Alp Toker Thu, 6 Mar 2003 22:52:19 +0000 + +mono (0.21-1) unstable; urgency=low + + * New upstream release + + -- Alp Toker Thu, 27 Feb 2003 22:55:33 +0000 + +mono (0.20-1) unstable; urgency=low + + * New upstream release + + -- Alp Toker Mon, 24 Feb 2003 01:09:34 +0000 + +mono (0.19-3) unstable; urgency=low + + * Build libmono as a shared object (needed for mod_mono) + + -- Alp Toker Sat, 25 Jan 2003 05:26:44 +0000 + +mono (0.19-2) unstable; urgency=low + + * Build against the new libgc6c102 + * Pipe binfmt-misc warnings to /dev/null + + -- Alp Toker Tue, 21 Jan 2003 07:17:12 +0000 + +mono (0.19-1) unstable; urgency=low + + * New upstream release + + -- Alp Toker Tue, 21 Jan 2003 00:05:56 +0000 + +mono (0.18-1) unstable; urgency=low + + * New upstream release + + -- Alp Toker Mon, 13 Jan 2003 17:16:34 +0000 + +mono (0.17-3) unstable; urgency=low + + * Include machine.config and anything else that goes in /etc/mono + + -- Alp Toker Tue, 17 Dec 2002 14:23:30 +0000 + +mono (0.17-2) unstable; urgency=low + + * Disable exuberant debugging in PPC trampoline code + + -- Alp Toker Mon, 16 Dec 2002 17:58:56 +0000 + +mono (0.17-1) unstable; urgency=low + + * New upstream release + + -- Alp Toker Tue, 10 Dec 2002 14:13:18 +0000 + +mono (0.16-1) unstable; urgency=low + + * New upstream version. Sorry I havn't been doing any CVS snapshots for + a month. I'll try and sort something out. + * Include a patch from Michel Danzer to fix + idiotic build failure on non-i386 arches. + * Install /etc/mono/config and the manpage in the mono-common package, + and add a replaces for smooth upgrades (mono-config.5 used to be in + the mono-jit package). + * Switch from setting prefix to DESTDIR so /etc works too. + * Added some {}s to monoburg.y to make it parse correctly. Thanks to + Zoltan Varga's message on mono-list. + * Added data/config to the list of files that need to be cleaned + manually. + + -- Robert McQueen Sat, 19 Oct 2002 16:16:08 +0100 + +mono (0.15-1) unstable; urgency=low + + * New upstream version. + + -- Robert McQueen Sat, 24 Aug 2002 00:36:34 +0100 + +mono (0.13-3) unstable; urgency=low + + * Pass --disable-shared to configure, and link mono-jit statically. + * This turned out to be broken. Thanks to Dick Porter for putting up + with me moaning about libtool combinations for a day, and for fixing + it with the correct method I absolutely failed to see. Applied his + patch for this, should hit CVS soon or I'll back it out. + * Ship only a static libmono-dev for people interested in embedding. + Shared lib is useless because the API is massively unstable. + * Conflict the -dev with the old libmono0 until it is deemed useful + again. + * Change -a to -s in the binary-arch target so debhelper will only + build arch-specific packages if they're available on the build arch. + * Added mono-config.5 manpage to mono-jit package, and libmono.la and + pkg-config/mono files to libmono-dev package. + + -- Robert McQueen Wed, 14 Aug 2002 23:07:40 +0100 + +mono (0.13-2) unstable; urgency=low + + * Holiday maintainer upload. =) + * Switched to pristine upstream source tarball. + * Cleaned up debian/rules file, separated binary-arch/binary-indep + targets for builds on other arches. + * Stole the makefile magic from galeon (I did help write it =) to + automatically run configure or autogen.sh depending on whether we're + building from CVS or not, and then do the correct clean command + later. + * At the advice of Ximian folk, don't provide libmono0/libmono-dev for + the moment - the API is unstable. + * For when it does return... install the .a into libmono-dev and make + it arch: any. + * Include libmono.so.0 and libmono.so.0.0.0 into the mono-jit package. + These will be returned to a seperate package, and headers and static + libraries provided, when libmono's API is stable. To ease + transition, added a Replaces: header. + * Made mono-common arch: all, it contains no binaries currently. + * Leave out cil-opcodes.xml unless someone complains. + * Install documentation in mono-common, and have packages that depend + on it symlink to there instead. Made mono depend directly on + mono-common to prevent lintian griping about this. Added code to + postinsts of mono, mono-jit and mono-interpreter remove their doc + dir and replace it with a symlink on upgrades. Dpkg will not replace + a directory with a symlink, even if it's empty. + * Added -e to /bin/sh in the maintainer scripts. + * Don't ship monostyle.1 and monoburg.1 manpages, the programs are in + the mcs package and we don't ship them currently. + * Added undocumented symlink for monograph.1. + * Added rm to clean target for spare Makefiles left behind. + + -- Robert McQueen Sun, 4 Aug 2002 00:57:15 +0100 + +mono (0.13-1) unstable; urgency=low + + * Initial release. + + -- Alp Toker Sun, 28 Apr 2002 22:10:10 +0100 --- mono-1.9.1+dfsg.orig/debian/mono-gmcs.install +++ mono-1.9.1+dfsg/debian/mono-gmcs.install @@ -0,0 +1,2 @@ +debian/tmp/usr/bin/gmcs +debian/tmp/usr/lib/mono/2.0/gmcs.exe* --- mono-1.9.1+dfsg.orig/debian/libmono-system2.1-cil.install +++ mono-1.9.1+dfsg/debian/libmono-system2.1-cil.install @@ -0,0 +1,6 @@ +debian/tmp/usr/lib/mono/gac/System/2.1.0.0__*/ +debian/tmp/usr/lib/mono/gac/System.Core/2.1.0.0__*/ +debian/tmp/usr/lib/mono/gac/System.Xml.Core/2.1.0.0__*/ +debian/tmp/usr/lib/mono/2.1/System.dll +debian/tmp/usr/lib/mono/2.1/System.Core.dll +debian/tmp/usr/lib/mono/2.1/System.Xml.Core.dll --- mono-1.9.1+dfsg.orig/debian/libmono-system-web2.0-cil.clideps-override +++ mono-1.9.1+dfsg/debian/libmono-system-web2.0-cil.clideps-override @@ -0,0 +1 @@ +suggests libmono-winforms2.0-cil --- mono-1.9.1+dfsg.orig/debian/libmono-system1.0-cil.clideps-override +++ mono-1.9.1+dfsg/debian/libmono-system1.0-cil.clideps-override @@ -0,0 +1,6 @@ +suggests libfam0 +suggests libgamin0 +suggests libx11-6 +suggests libcups2 +suggests libgdiplus +suggests libmono-winforms1.0-cil --- mono-1.9.1+dfsg.orig/debian/libmono-system2.0-cil.install +++ mono-1.9.1+dfsg/debian/libmono-system2.0-cil.install @@ -0,0 +1,26 @@ +debian/tmp/usr/lib/mono/2.0/CustomMarshalers.dll +debian/tmp/usr/lib/mono/2.0/System.Configuration.Install.dll +debian/tmp/usr/lib/mono/2.0/System.Configuration.dll +debian/tmp/usr/lib/mono/2.0/System.Core.dll +debian/tmp/usr/lib/mono/2.0/System.Drawing.dll +debian/tmp/usr/lib/mono/2.0/System.EnterpriseServices.dll +debian/tmp/usr/lib/mono/2.0/System.Management.dll +debian/tmp/usr/lib/mono/2.0/System.Security.dll +debian/tmp/usr/lib/mono/2.0/System.ServiceProcess.dll +debian/tmp/usr/lib/mono/2.0/System.Transactions.dll +debian/tmp/usr/lib/mono/2.0/System.Xml.dll +debian/tmp/usr/lib/mono/2.0/System.Xml.Linq.dll +debian/tmp/usr/lib/mono/2.0/System.dll +debian/tmp/usr/lib/mono/gac/CustomMarshalers/2.0.0.0__*/ +debian/tmp/usr/lib/mono/gac/System.Configuration.Install/2.0.0.0__*/ +debian/tmp/usr/lib/mono/gac/System.Configuration/2.0.0.0__*/ +debian/tmp/usr/lib/mono/gac/System.Core/3.5.0.0__*/ +debian/tmp/usr/lib/mono/gac/System.Drawing/2.0.0.0__*/ +debian/tmp/usr/lib/mono/gac/System.EnterpriseServices/2.0.0.0__*/ +debian/tmp/usr/lib/mono/gac/System.Management/2.0.0.0__*/ +debian/tmp/usr/lib/mono/gac/System.Security/2.0.0.0__*/ +debian/tmp/usr/lib/mono/gac/System.ServiceProcess/2.0.0.0__*/ +debian/tmp/usr/lib/mono/gac/System.Transactions/2.0.0.0__*/ +debian/tmp/usr/lib/mono/gac/System.Xml/2.0.0.0__*/ +debian/tmp/usr/lib/mono/gac/System.Xml.Linq/3.5.0.0__*/ +debian/tmp/usr/lib/mono/gac/System/2.0.0.0__*/ --- mono-1.9.1+dfsg.orig/debian/mono-jit.links +++ mono-1.9.1+dfsg/debian/mono-jit.links @@ -0,0 +1 @@ +usr/share/doc/mono-common usr/share/doc/mono-jit --- mono-1.9.1+dfsg.orig/debian/mono-gac.dirs +++ mono-1.9.1+dfsg/debian/mono-gac.dirs @@ -0,0 +1 @@ +usr/share/cli-common/runtimes.d --- mono-1.9.1+dfsg.orig/debian/libmono-relaxng1.0-cil.install +++ mono-1.9.1+dfsg/debian/libmono-relaxng1.0-cil.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/Commons.Xml.Relaxng/1.0.*/ +debian/tmp/usr/lib/mono/1.0/Commons.Xml.Relaxng.dll --- mono-1.9.1+dfsg.orig/debian/dh_monoaot +++ mono-1.9.1+dfsg/debian/dh_monoaot @@ -0,0 +1,87 @@ +#!/usr/bin/perl -w + +=head1 NAME + +dh_monoaot - generates AOT images for assemblies + +=cut + +use strict; +use File::Find; +use Debian::Debhelper::Dh_Lib; + +=head1 SYNOPSIS + +B [S>] [B<-n>] + +=head1 DESCRIPTION + +dh_monoaot is a debhelper program that is responsible for +generating AOT images at package install time. + +It also automatically generates the postinst and prerm commands needed +to generate AOT images. See L for an +explanation of how this works. + +This is based on L in the cli-common package. + +=head1 OPTIONS + +=over 4 + +=item B<-n>, B<--noscripts> + +Do not modify postinst/prerm scripts. + +=back + +=head1 NOTES + +Note that this command is not idempotent. "dh_clean -k" should be called +between invocations of this command. Otherwise, it may cause multiple +instances of the same text to be added to maintainer scripts. + +=cut + +init(); + +foreach my $package (@{$dh{DOPACKAGES}}) { + my $tmp = tmpdir($package); + my @files; + + # find binaries + find (sub { + return unless -f and /\.(exe|dll)$/; + return unless $File::Find::dir =~ m!^$tmp/usr/lib!; + + my $fullfilename = $File::Find::name; + + my $filename = $fullfilename; + $filename =~ s/^$tmp//; + + verbose_print("fullfilename: $fullfilename"); + verbose_print("filename: $filename"); + push(@files, $filename); + }, $tmp); + + if (! $dh{NOSCRIPTS}) { + foreach my $file (@files) { + autoscript($package, "postinst", "postinst-monoaot", + "s!#FILE#!$file!"); + autoscript($package, "prerm", "prerm-monoaot", + "s!#FILE#!$file.so!"); + } + } +} + +=head1 SEE ALSO + +L + +This program is a part of cli-common-dev. + +=head1 AUTHOR + +Mirco 'meebey' Bauer + +=cut --- mono-1.9.1+dfsg.orig/debian/libmono1.0-cil.install +++ mono-1.9.1+dfsg/debian/libmono1.0-cil.install @@ -0,0 +1,22 @@ +debian/tmp/usr/lib/mono/1.0/Mono.CompilerServices.SymbolWriter.dll +debian/tmp/usr/lib/mono/1.0/Mono.Data.SybaseClient.dll +debian/tmp/usr/lib/mono/1.0/Mono.Data.TdsClient.dll +debian/tmp/usr/lib/mono/1.0/Mono.Data.dll +debian/tmp/usr/lib/mono/1.0/Mono.GetOptions.dll +debian/tmp/usr/lib/mono/1.0/Mono.Http.dll +debian/tmp/usr/lib/mono/1.0/Mono.Posix.dll +debian/tmp/usr/lib/mono/1.0/Mono.Security.Win32.dll +debian/tmp/usr/lib/mono/1.0/OpenSystem.C.dll +debian/tmp/usr/lib/mono/gac/Mono.CompilerServices.SymbolWriter/1.0.5000.0__*/ +debian/tmp/usr/lib/mono/gac/Mono.Data.SybaseClient/1.0.5000.0__*/ +debian/tmp/usr/lib/mono/gac/Mono.Data.TdsClient/1.0.5000.0__*/ +debian/tmp/usr/lib/mono/gac/Mono.Data/1.0.5000.0__*/ +debian/tmp/usr/lib/mono/gac/Mono.GetOptions/1.0.5000.0__*/ +debian/tmp/usr/lib/mono/gac/Mono.Http/1.0.5000.0__*/ +debian/tmp/usr/lib/mono/gac/Mono.Posix/1.0.5000.0__*/ +debian/tmp/usr/lib/mono/gac/Mono.Security.Win32/1.0.5000.0__*/ +debian/tmp/usr/lib/mono/gac/OpenSystem.C/1.0.5000.0__*/ +debian/tmp/usr/lib/mono/gac/Mono.Cecil/ +debian/tmp/usr/lib/mono/gac/Mono.Cecil.Mdb/ +debian/tmp/usr/lib/mono/gac/mono-service/1.0.5000.0__*/ +debian/tmp/usr/lib/pkgconfig/cecil.pc --- mono-1.9.1+dfsg.orig/debian/mono-api-check +++ mono-1.9.1+dfsg/debian/mono-api-check @@ -0,0 +1,198 @@ +#!/bin/bash + +NAME=$(basename $0) +MONO_API_INFO1="/usr/lib/mono/1.0/mono-api-info.exe" +MONO_API_INFO2="/usr/lib/mono/2.0/mono-api-info.exe" +MONO_API_DIFF="/usr/lib/mono/1.0/mono-api-diff.exe" + +RUNTIME_VERSION=1 +if [ "$1" = "-2" ]; then + if [ ! -x $MONO_API_INFO2 ]; then + echo "Error: $MONO_API_INFO2 does not exist, you need to install the mono-gmcs package" + exit 1 + fi + MONO_API_INFO=$MONO_API_INFO2 + RUNTIME_VERSION=2 + shift +else + MONO_API_INFO=$MONO_API_INFO1 +fi + +KEEP=0 +if [ "$1" = "-k" ]; then + KEEP=1 + shift +fi + +if [ $# -lt 2 ]; then + echo "usage: $NAME [-2] [-k] old.dll new.dll" + exit 1 +fi + +if [ ! -r $1 ]; then + echo "Error: $1 does not exist or is not readable" + exit 1 +fi + +if [ ! -r $2 ]; then + echo "Error: $2 does not exist or is not readable" + exit 1 +fi + +if ! [ "$1" = "${1%.deb}" ]; then + DEB_TMP_DIR1=/tmp/$NAME-$$-$RANDOM + DEB_TMP_DIR2=/tmp/$NAME-$$-$RANDOM + + mkdir $DEB_TMP_DIR1 + if [ $? != 0 ]; then + echo "Error: could not create: $DEB_TMP_DIR1" + exit 1 + fi + + mkdir $DEB_TMP_DIR2 + if [ $? != 0 ]; then + echo "Error: could not create: $DEB_TMP_DIR2" + exit 1 + fi + + dpkg -x $1 $DEB_TMP_DIR1 + if [ $? != 0 ]; then + echo "Error: could extract: $1" + exit 1 + fi + + dpkg -x $2 $DEB_TMP_DIR2 + if [ $? != 0 ]; then + echo "Error: could extract: $2" + exit 1 + fi + + DLLS=$(find $DEB_TMP_DIR1 -type f -name "*.dll") + for DLL1 in $DLLS; do + FILE=${DLL1#$DEB_TMP_DIR1/} + DLL2=$DEB_TMP_DIR2/$FILE + #echo $DLL1 + #echo $DLL2 + + if [ $RUNTIME_VERSION = 2 ]; then + RUNTIME_VERSION_PARAM="-2" + fi + if [ $KEEP = 1 ]; then + KEEP_PARAM="-k" + fi + echo -e "Library:\t\t/$FILE" + $0 $RUNTIME_VERSION_PARAM $KEEP_PARAM $DLL1 $DLL2 + echo + done + + rm -rf $DEB_TMP_DIR1 + rm -rf $DEB_TMP_DIR2 + + exit 0 +fi + +if ! [ "$1" = "${1%.changes}" ]; then + DEB_DIR1=$(dirname $1) + DEB_DIR2=$(dirname $2) + DEBS=$(grep ".deb$" $2 | cut -d ' ' -f 6) + for DEB in $DEBS; do + PKG_VERSION2=$(dpkg -I $DEB_DIR2/$DEB | grep Version: | cut -d ':' -f 2 | sed -e 's/^ *//') + break + done + + DEBS=$(grep ".deb$" $1 | cut -d ' ' -f 6) + for DEB1 in $DEBS; do + PKG_NAME=$(dpkg -I $DEB_DIR1/$DEB1 | grep Package: | cut -d ':' -f 2 | sed -e 's/^ *//') + PKG_ARCH=$(dpkg -I $DEB_DIR1/$DEB1 | grep Architecture: | cut -d ':' -f 2 | sed -e 's/^ *//') + DEB2=$DEB_DIR2/${PKG_NAME}_${PKG_VERSION2}_${PKG_ARCH}.deb + + if [ $RUNTIME_VERSION = 2 ]; then + RUNTIME_VERSION_PARAM="-2" + fi + if [ $KEEP = 1 ]; then + KEEP_PARAM="-k" + fi + echo -e "Package:\t\t$PKG_NAME" + echo "------------------------------------------------------" + $0 $RUNTIME_VERSION_PARAM $KEEP_PARAM $DEB1 $DEB2 + echo + done + + exit 0 +fi + +ASM_NAME=$(basename $1) +API_OLD=$(tempfile --suffix=_$ASM_NAME.api-old) +API_NEW=$(tempfile --suffix=_$ASM_NAME.api-new) +API_DIFF=$(tempfile --suffix=_$ASM_NAME.api-diff) + +/usr/bin/cli ${MONO_API_INFO} "$1" > ${API_OLD} 2> /dev/null +if [ $? != 0 ]; then + echo "Error: ${MONO_API_INFO} on $1 failed!" + exit 1 +fi +/usr/bin/cli ${MONO_API_INFO} "$2" > ${API_NEW} 2> /dev/null +if [ $? != 0 ]; then + echo "Error: ${MONO_API_INFO} on $2 failed!" + exit 1 +fi +/usr/bin/cli ${MONO_API_DIFF} ${API_OLD} ${API_NEW} > ${API_DIFF} 2> /dev/null +if [ $? != 0 ]; then + echo "Error: ${MONO_API_DIFF} failed!" + exit 1 +fi + +version_changed=0 +grep -q 'Assembly version not equal: ' ${API_DIFF} +if [ $? = 0 ]; then + version_changed=1 +fi + +name=$(head -n3 ${API_DIFF} | tail -n1 | sed 's;\ ;\n;g' | grep ^name | cut -d\= -f2 | sed 's;\";;g') +missing_total=$(head -n3 ${API_DIFF} | tail -n1 | sed 's;\ ;\n;g' | grep ^missing_total | cut -d\= -f2 | sed 's;\";;g') +extra_total=$(head -n3 ${API_DIFF} | tail -n1 | sed 's;\ ;\n;g' | grep ^extra_total | cut -d\= -f2 | sed 's;\";;g') + +if [ -z $missing_total ]; then + missing_total=0 +fi +if [ -z $extra_total ]; then + extra_total=0 +fi + +echo "CLI API Check" +echo -e "Assembly Name:\t\t$name" +echo -e "Missing Interfaces:\t$missing_total" +echo -e "Additional Interfaces:\t$extra_total" + +if [ $missing_total ] +then + if [ $missing_total -gt 0 ] + then + echo + echo "The two assemblies you compared are NOT API compatible!" + echo "You must use a new package name!" + fi +fi + +if [ $extra_total ] +then + if [ $extra_total -gt 0 ] + then + echo + echo "The new assembly has additional interfaces. You must raise" + echo "the minimal version in clilibs!" + fi +fi + +if [ $version_changed = 1 ]; then + echo + echo "The assembly versions do NOT MATCH!" + echo "If they are API compatible you MUST generate and install a GAC policy file!" +fi + +rm -f ${API_OLD} ${API_NEW} +if [ $KEEP = 1 ]; then + echo "API diff file: ${API_DIFF}" +else + rm -f ${API_OLD} ${API_NEW} +fi --- mono-1.9.1+dfsg.orig/debian/libmono-winforms2.0-cil.install +++ mono-1.9.1+dfsg/debian/libmono-winforms2.0-cil.install @@ -0,0 +1,6 @@ +debian/tmp/usr/lib/mono/gac/System.Windows.Forms/2.0.*/ +debian/tmp/usr/lib/mono/gac/System.Drawing.Design/2.0.*/ +debian/tmp/usr/lib/mono/gac/System.Design/2.0.*/ +debian/tmp/usr/lib/mono/2.0/System.Windows.Forms.dll +debian/tmp/usr/lib/mono/2.0/System.Drawing.Design.dll +debian/tmp/usr/lib/mono/2.0/System.Design.dll --- mono-1.9.1+dfsg.orig/debian/libmono-system-runtime2.0-cil.install +++ mono-1.9.1+dfsg/debian/libmono-system-runtime2.0-cil.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/System.Runtime.*/2.0.*/ +debian/tmp/usr/lib/mono/2.0/System.Runtime.*.dll --- mono-1.9.1+dfsg.orig/debian/mono-smcs.install +++ mono-1.9.1+dfsg/debian/mono-smcs.install @@ -0,0 +1,2 @@ +debian/tmp/usr/bin/smcs +debian/tmp/usr/lib/mono/2.1/smcs.exe* --- mono-1.9.1+dfsg.orig/debian/mono-mcs.prerm +++ mono-1.9.1+dfsg/debian/mono-mcs.prerm @@ -0,0 +1,7 @@ +#!/bin/sh -e + +if [ "$1" = remove ]; then + update-alternatives --remove c-sharp-compiler /usr/bin/mcs +fi + +#DEBHELPER# --- mono-1.9.1+dfsg.orig/debian/libmono-firebirdsql1.7-cil.install +++ mono-1.9.1+dfsg/debian/libmono-firebirdsql1.7-cil.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/FirebirdSql.Data.Firebird/1.7.*/ +debian/tmp/usr/lib/mono/1.0/FirebirdSql.Data.Firebird.dll --- mono-1.9.1+dfsg.orig/debian/libmono-npgsql1.0-cil.install +++ mono-1.9.1+dfsg/debian/libmono-npgsql1.0-cil.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/Npgsql/1.0.*/ +debian/tmp/usr/lib/mono/1.0/Npgsql.dll --- mono-1.9.1+dfsg.orig/debian/mono-common.install +++ mono-1.9.1+dfsg/debian/mono-common.install @@ -0,0 +1,2 @@ +debian/tmp/etc/mono +debian/tmp/usr/share/mono-1.0/mono/cil/cil-opcodes.xml --- mono-1.9.1+dfsg.orig/debian/update-shlibs.local.sh +++ mono-1.9.1+dfsg/debian/update-shlibs.local.sh @@ -0,0 +1,25 @@ +#!/bin/sh -e + +VERSION=$(dpkg-parsechangelog | grep ^Vers | cut -d\ -f2) +UPVERSION=$(echo $VERSION | sed 's,-.*,,' | sed 's,+dfsg,,') + +echo -n "Updating shlibs.local for Mono $UPVERSION..." + +cp debian/shlibs.local debian/shlibs.local.backup +rm -f debian/shlibs.local.new + +# libs that don't ship shlibs +echo "libMonoPosixHelper 0 libmono0 (>= $UPVERSION)" >> debian/shlibs.local.new +echo "libgdiplus 0 libgdiplus (>= $UPVERSION)" >> debian/shlibs.local.new +echo "libgluezilla 0 libgluezilla (>= $UPVERSION)" >> debian/shlibs.local.new + +grep --no-filename "libcairo 2" /var/lib/dpkg/info/*.shlibs >> debian/shlibs.local.new +grep --no-filename "libfbclient 2" /var/lib/dpkg/info/*.shlibs >> debian/shlibs.local.new +grep --no-filename "libsqlite 0" /var/lib/dpkg/info/*.shlibs >> debian/shlibs.local.new +grep --no-filename "libsqlite3 0" /var/lib/dpkg/info/*.shlibs >> debian/shlibs.local.new +grep --no-filename "libasound 2" /var/lib/dpkg/info/*.shlibs >> debian/shlibs.local.new +grep --no-filename "libgda-2 3" /var/lib/dpkg/info/*.shlibs >> debian/shlibs.local.new + +cp debian/shlibs.local.new debian/shlibs.local + +echo "done." --- mono-1.9.1+dfsg.orig/debian/mono-mcs.install +++ mono-1.9.1+dfsg/debian/mono-mcs.install @@ -0,0 +1,2 @@ +debian/tmp/usr/bin/mcs +debian/tmp/usr/lib/mono/1.0/mcs.exe* --- mono-1.9.1+dfsg.orig/debian/mono-1.0-devel.manpages +++ mono-1.9.1+dfsg/debian/mono-1.0-devel.manpages @@ -0,0 +1,28 @@ +debian/tmp/usr/share/man/man1/al.1 +debian/man/caspol.1 +debian/tmp/usr/share/man/man1/cert2spc.1 +debian/tmp/usr/share/man/man1/certmgr.1 +debian/tmp/usr/share/man/man1/chktrust.1 +debian/tmp/usr/share/man/man1/cilc.1 +debian/tmp/usr/share/man/man1/disco.1 +debian/tmp/usr/share/man/man1/dtd2xsd.1 +debian/tmp/usr/share/man/man1/genxs.1 +debian/tmp/usr/share/man/man1/ilasm.1 +debian/tmp/usr/share/man/man1/macpack.1 +debian/tmp/usr/share/man/man1/makecert.1 +debian/tmp/usr/share/man/man1/mkbundle.1 +debian/tmp/usr/share/man/man1/mono-shlib-cop.1 +debian/tmp/usr/share/man/man1/mono-xmltool.1 +debian/tmp/usr/share/man/man1/monolinker.1 +debian/tmp/usr/share/man/man1/monop.1 +debian/tmp/usr/share/man/man1/mozroots.1 +debian/tmp/usr/share/man/man1/permview.1 +debian/tmp/usr/share/man/man1/resgen.1 +debian/tmp/usr/share/man/man1/secutil.1 +debian/tmp/usr/share/man/man1/setreg.1 +debian/tmp/usr/share/man/man1/signcode.1 +debian/tmp/usr/share/man/man1/sn.1 +debian/tmp/usr/share/man/man1/soapsuds.1 +debian/tmp/usr/share/man/man1/sqlsharp.1 +debian/tmp/usr/share/man/man1/wsdl.1 +debian/tmp/usr/share/man/man1/xsd.1 --- mono-1.9.1+dfsg.orig/debian/mono-mjs.install +++ mono-1.9.1+dfsg/debian/mono-mjs.install @@ -0,0 +1,2 @@ +debian/tmp/usr/bin/mjs +debian/tmp/usr/lib/mono/1.0/mjs.exe* --- mono-1.9.1+dfsg.orig/debian/compat +++ mono-1.9.1+dfsg/debian/compat @@ -0,0 +1 @@ +5 --- mono-1.9.1+dfsg.orig/debian/dh_clistrip +++ mono-1.9.1+dfsg/debian/dh_clistrip @@ -0,0 +1,105 @@ +#!/usr/bin/perl -w + +=head1 NAME + +dh_clistrip - strips CLI debug symbols from package build directories + +=cut + +use strict; +use File::Find; +use Debian::Debhelper::Dh_Lib; + +=head1 SYNOPSIS + +B [S>] [B<-X>I] [--dbg-package=package] + +=head1 DESCRIPTION + +dh_clistrip is a debhelper program that removes debug symbols from +CLI libraries and applications. + +dh_clistrip deletes all *.exe.mdb and *.dll.mdb files. + +=head1 OPTIONS + +=over 4 + +=item B<-X>I, B<--exclude=>I + +Exclude files that contain "item" anywhere in their filename from being +deleted. You may use this option multiple times to build up a list of things +to exclude. + +=item B<--dbg-package=>I + +Moves the debug symbols to the specified package. + +=back + +=cut + +init(); + +my $pwd = `pwd`; +chomp $pwd; + +# This variable can be used to turn off stripping (see Policy). +if (defined $ENV{DEB_BUILD_OPTIONS} && $ENV{DEB_BUILD_OPTIONS} =~ /nostrip/) { + exit; +} + +foreach my $package (@{$dh{DOPACKAGES}}) { + my $tmp = tmpdir($package); + + my $debug_pkg = ''; + if (defined($dh{DEBUGPACKAGES})) { + $debug_pkg = @{$dh{DEBUGPACKAGES}}[0]; + verbose_print("debug_pkg: $debug_pkg"); + } + + if ($package eq $debug_pkg) { + # skip debug package + next; + } + + # find debug symbols + find (sub { + foreach my $exclude (@{$dh{EXCLUDE}}) { + return if /$exclude/; + } + return unless -f && /\.(exe|dll)\.mdb$/; + + my $file = $_; + my $dir = $File::Find::dir; + + if ($debug_pkg ne '') { + my $debug_dir = $dir; + verbose_print("dir: $dir"); + $debug_dir =~ s!$tmp!!; + verbose_print("debug_dir: $debug_dir"); + $debug_dir = $pwd . "/debian/$debug_pkg/" . $debug_dir; + verbose_print("debug_dir: $debug_dir"); + if (! -d $debug_dir) { + doit("install", "-d", $debug_dir); + } + verbose_print("moving $file to $debug_dir"); + doit("mv", $file, $debug_dir); + } else { + verbose_print("deleting $file"); + doit("rm", $file); + } + }, $tmp); +} + +=head1 SEE ALSO + +L + +This program is a part of cli-common. + +=head1 AUTHOR + +Mirco Bauer + +=cut --- mono-1.9.1+dfsg.orig/debian/libmono-nunit2.2-cil.install +++ mono-1.9.1+dfsg/debian/libmono-nunit2.2-cil.install @@ -0,0 +1,4 @@ +debian/tmp/usr/lib/mono/gac/nunit.*/2.2.*/ +debian/tmp/usr/lib/mono/1.0/nunit.*.dll +debian/tmp/usr/lib/mono/2.0/nunit.*.dll +debian/tmp/usr/lib/pkgconfig/mono-nunit.pc --- mono-1.9.1+dfsg.orig/debian/libmono-winforms2.0-cil.clideps-override +++ mono-1.9.1+dfsg/debian/libmono-winforms2.0-cil.clideps-override @@ -0,0 +1,4 @@ +suggests libgtk2.0-0 +suggests libgnomeui-0 +suggests librsvg2-2 +suggests libglib2.0-0 --- mono-1.9.1+dfsg.orig/debian/libmono-cairo1.0-cil.install +++ mono-1.9.1+dfsg/debian/libmono-cairo1.0-cil.install @@ -0,0 +1,3 @@ +debian/tmp/usr/lib/mono/gac/Mono.Cairo/1.0.*/ +debian/tmp/usr/lib/mono/1.0/Mono.Cairo.dll +debian/tmp/usr/lib/pkgconfig/mono-cairo.pc --- mono-1.9.1+dfsg.orig/debian/mono-xbuild.manpages +++ mono-1.9.1+dfsg/debian/mono-xbuild.manpages @@ -0,0 +1 @@ +debian/man/xbuild.1 --- mono-1.9.1+dfsg.orig/debian/mono-1.0-devel.prerm +++ mono-1.9.1+dfsg/debian/mono-1.0-devel.prerm @@ -0,0 +1,9 @@ +#!/bin/sh -e + +if [ "$1" = remove ]; then + update-alternatives --remove resource-file-generator /usr/bin/resgen + update-alternatives --remove assembly-linker /usr/bin/al + update-alternatives --remove strong-name-tool /usr/bin/sn +fi + +#DEBHELPER# --- mono-1.9.1+dfsg.orig/debian/libmono-bytefx0.7.6.2-cil.install +++ mono-1.9.1+dfsg/debian/libmono-bytefx0.7.6.2-cil.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/ByteFX.Data/0.7.6.2*/ +debian/tmp/usr/lib/mono/2.0/ByteFX.Data.dll --- mono-1.9.1+dfsg.orig/debian/libmono-ldap2.0-cil.install +++ mono-1.9.1+dfsg/debian/libmono-ldap2.0-cil.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/Novell.Directory.Ldap/2.0.*/ +debian/tmp/usr/lib/mono/2.0/Novell.Directory.Ldap.dll --- mono-1.9.1+dfsg.orig/debian/watch +++ mono-1.9.1+dfsg/debian/watch @@ -0,0 +1,2 @@ +version=2 +http://go-mono.com/sources-stable/ .+/mono-([\d\.]+)\.tar\.bz2 --- mono-1.9.1+dfsg.orig/debian/libmono-system-web1.0-cil.install +++ mono-1.9.1+dfsg/debian/libmono-system-web1.0-cil.install @@ -0,0 +1,4 @@ +debian/tmp/usr/lib/mono/gac/System.Web/1.0.*/ +debian/tmp/usr/lib/mono/gac/System.Web.Services/1.0.*/ +debian/tmp/usr/lib/mono/1.0/System.Web.dll +debian/tmp/usr/lib/mono/1.0/System.Web.Services.dll --- mono-1.9.1+dfsg.orig/debian/libmono-data-tds1.0-cil.install +++ mono-1.9.1+dfsg/debian/libmono-data-tds1.0-cil.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/Mono.Data.Tds/1.0.*/ +debian/tmp/usr/lib/mono/1.0/Mono.Data.Tds.dll --- mono-1.9.1+dfsg.orig/debian/libmono-winforms1.0-cil.install +++ mono-1.9.1+dfsg/debian/libmono-winforms1.0-cil.install @@ -0,0 +1,6 @@ +debian/tmp/usr/lib/mono/gac/System.Windows.Forms/1.0.*/ +debian/tmp/usr/lib/mono/gac/System.Drawing.Design/1.0.*/ +debian/tmp/usr/lib/mono/gac/System.Design/1.0.*/ +debian/tmp/usr/lib/mono/1.0/System.Windows.Forms.dll +debian/tmp/usr/lib/mono/1.0/System.Drawing.Design.dll +debian/tmp/usr/lib/mono/1.0/System.Design.dll --- mono-1.9.1+dfsg.orig/debian/mono-utils.manpages +++ mono-1.9.1+dfsg/debian/mono-utils.manpages @@ -0,0 +1,5 @@ +debian/man/pedump.1 +debian/man/monograph.1 +debian/man/mono-find-provides.1 +debian/man/mono-find-requires.1 +debian/tmp/usr/share/man/man1/monodis.1 --- mono-1.9.1+dfsg.orig/debian/System.Windows.Forms.dll.config +++ mono-1.9.1+dfsg/debian/System.Windows.Forms.dll.config @@ -0,0 +1,10 @@ + + + + + + + + + + --- mono-1.9.1+dfsg.orig/debian/mono-mcs.dirs +++ mono-1.9.1+dfsg/debian/mono-mcs.dirs @@ -0,0 +1,2 @@ +usr/bin +usr/lib/mono/1.0 --- mono-1.9.1+dfsg.orig/debian/libmono-accessibility1.0-cil.install +++ mono-1.9.1+dfsg/debian/libmono-accessibility1.0-cil.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/Accessibility/1.0.*/ +debian/tmp/usr/lib/mono/1.0/Accessibility.dll --- mono-1.9.1+dfsg.orig/debian/Mono.Data.SqliteClient.dll.config +++ mono-1.9.1+dfsg/debian/Mono.Data.SqliteClient.dll.config @@ -0,0 +1,4 @@ + + + + --- mono-1.9.1+dfsg.orig/debian/prerm-monoaot +++ mono-1.9.1+dfsg/debian/prerm-monoaot @@ -0,0 +1 @@ +rm -f #FILE# --- mono-1.9.1+dfsg.orig/debian/mono-gac.install +++ mono-1.9.1+dfsg/debian/mono-gac.install @@ -0,0 +1,2 @@ +debian/tmp/usr/bin/gacutil +debian/tmp/usr/lib/mono/1.0/gacutil.exe --- mono-1.9.1+dfsg.orig/debian/postinst-monoaot +++ mono-1.9.1+dfsg/debian/postinst-monoaot @@ -0,0 +1,4 @@ +if [ "$1" = "configure" ] +then + /usr/bin/mono --aot -O=all,shared #FILE# > /dev/null 2>&1 +fi --- mono-1.9.1+dfsg.orig/debian/libmono-cairo2.0-cil.install +++ mono-1.9.1+dfsg/debian/libmono-cairo2.0-cil.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/Mono.Cairo/2.0.*/ +debian/tmp/usr/lib/mono/2.0/Mono.Cairo.dll --- mono-1.9.1+dfsg.orig/debian/mono-jay.docs +++ mono-1.9.1+dfsg/debian/mono-jay.docs @@ -0,0 +1,5 @@ +debian/tmp/usr/share/jay/ACKNOWLEDGEMENTS +debian/tmp/usr/share/jay/NEW_FEATURES +debian/tmp/usr/share/jay/NOTES +debian/tmp/usr/share/jay/README +debian/tmp/usr/share/jay/README.jay --- mono-1.9.1+dfsg.orig/debian/mono-common.docs +++ mono-1.9.1+dfsg/debian/mono-common.docs @@ -0,0 +1,3 @@ +README +AUTHORS +NEWS --- mono-1.9.1+dfsg.orig/debian/rules +++ mono-1.9.1+dfsg/debian/rules @@ -0,0 +1,351 @@ +#!/usr/bin/make -f + +#export DH_VERBOSE=1 +export MONO_SHARED_DIR=$(CURDIR) + +VERSION = $(shell dpkg-parsechangelog | grep ^Vers | cut -d\ -f2) +UPVERSION = $(shell echo $(VERSION) | sed 's,-.*,,' | sed 's,+dfsg.*,,') +NEXT_UPVERSION = $(shell perl -e '$$_=pop; s/(\d+)$$/$$1+1/e; print' $(UPVERSION)) + +RUN_MONO = LD_LIBRARY_PATH=debian/tmp/usr/lib MONO_PATH=debian/tmp/usr/lib/mono/1.0:debian/tmp/usr/lib/mono/2.0 debian/tmp/usr/bin/mono + +DEB_BUILD_ARCH := $(shell dpkg-architecture -qDEB_BUILD_ARCH) +DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH) +DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) + +ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) + CONF_FLAGS += --build $(DEB_HOST_GNU_TYPE) +else + CONF_FLAGS += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) +endif + +ifeq ($(DEB_BUILD_ARCH_OS), kfreebsd) + CONF_FLAGS += --enable-minimal=aot +endif + +ifeq ($(DEB_BUILD_ARCH), i386) + CONF_FLAGS += --with-sigaltstack=yes +else ifeq ($(DEB_BUILD_ARCH), amd64) + CONF_FLAGS += --with-sigaltstack=yes +else + CONF_FLAGS += --with-sigaltstack=no +endif + +ifeq ($(DEB_BUILD_ARCH), arm) + CONF_FLAGS += --with-tls=pthread +else ifeq ($(DEB_BUILD_ARCH), armeb) + CONF_FLAGS += --with-tls=pthread +else ifeq ($(DEB_BUILD_ARCH), armel) + CONF_FLAGS += --with-tls=pthread --with-fpu=NONE +else + CONF_FLAGS += --with-tls=__thread +endif + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 -g +else + CFLAGS += -O2 -g +endif + +CONFIGURE = CFLAGS="$(CFLAGS)" \ + ./configure $(CONF_FLAGS) --prefix=/usr \ + --mandir=\$${prefix}/share/man \ + --infodir=\$${prefix}/share/info --sysconfdir=/etc \ + --with-jit=yes --with-ikvm-native=no --with-preview=yes \ + --with-libgdiplus=installed --with-x=yes \ + --with-moonlight=yes \ + --with-oprofile=yes + +# Mono's build system doesn't like -j > 1 +MAKE_FLAGS += -j1 +export MAKEFLAGS=$(MAKE_FLAGS) + +ifeq ($(DEB_BUILD_ARCH), i386) +# MAKE_FLAGS += RUNTIME=$(CURDIR)/debian/mono-aot-wrapper +endif + +# Include dpatch stuff. +include /usr/share/dpatch/dpatch.make + +cli-wrapper: debian/cli-wrapper.c + $(CC) -o cli-wrapper debian/cli-wrapper.c `pkg-config glib-2.0 --cflags --libs` + +configure-arch: patch configure-arch-stamp +configure-arch-stamp: + dh_testdir + #chmod +x debian/autogen.sh + #NOCONFIGURE=1 debian/autogen.sh + $(CONFIGURE) --disable-mcs-build + touch configure-arch-stamp + +configure-indep: patch configure-indep-stamp +configure-indep-stamp: + dh_testdir + #chmod +x debian/autogen.sh + #NOCONFIGURE=1 debian/autogen.sh + $(CONFIGURE) + touch configure-indep-stamp + +build-arch: configure-arch build-arch-stamp +build-arch-stamp: cli-wrapper + dh_testdir + LC_ALL=C $(MAKE) $(MAKE_FLAGS) EXTERNAL_MCS=false EXTERNAL_MONO=false + cd mcs/jay && \ + $(MAKE) + cd debian/detector && \ + $(MAKE) + #debian/mono-aot-bootstrap + touch build-arch-stamp + +build-indep: configure-indep build-indep-stamp +build-indep-stamp: + dh_testdir + LC_ALL=C $(MAKE) $(MAKE_FLAGS) EXTERNAL_MCS=false EXTERNAL_MONO=false + chmod +x debian/dh_makeclilibs \ + debian/dh_clideps \ + debian/dh_clistrip \ + debian/dh_clifixperms \ + debian/dh_monoaot + touch build-indep-stamp + +build: build-arch + +build-all: build-arch build-indep + +clean: clean-patched unpatch + #rm -f configure + +clean-patched: + dh_testdir + dh_testroot + [ ! -f Makefile ] || $(MAKE) distclean + # distclean misses stuff + find -name "*.mdb" -delete + # AOT stuff we created using mono-aot-wrapper/mono-aot-bootstrap + find mcs/class/lib -name "*.so" -delete + -cd debian/detector && $(MAKE) clean + rm -f cli-wrapper debian/MonoGetAssemblyName.exe + rm -rf $(MONO_SHARED_DIR)/.wapi + + rm -f mcs/class/lib/default/mono-api-info.exe \ + mcs/class/lib/net_2_0/mono-api-info.exe \ + mcs/class/Managed.Windows.Forms/resources/*.resources \ + mcs/class/Mono.Data.Sqlite/resources/SR.resources \ + mcs/class/Novell.Directory.Ldap/Novell.Directory.Ldap.Utilclass/ResultCodeMessages.resources \ + mcs/class/System.Web/resources/TranslationResources.resources + + rm -f configure-*-stamp + rm -f build-*-stamp + rm -f install-*-stamp + dh_clean + +install: install-arch install-indep + +install-arch: install-arch-stamp +install-arch-stamp: + dh_testdir + dh_testroot + #dh_clean -k -s + dh_installdirs -s + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp + cd mcs/jay && \ + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp prefix=/usr INSTALL=../../install-sh + touch install-arch-stamp + +install-indep: install-indep-stamp +install-indep-stamp: + dh_testdir + dh_testroot + #dh_clean -k -i + dh_installdirs -i + cd mcs && \ + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp && \ + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp PROFILE=net_2_0 + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp PROFILE=net_2_1 + # copy missing 2.0 manpages + cp $(CURDIR)/debian/tmp/usr/share/man/man1/al.1 \ + $(CURDIR)/debian/tmp/usr/share/man/man1/al2.1 + cp $(CURDIR)/debian/tmp/usr/share/man/man1/mcs.1 \ + $(CURDIR)/debian/tmp/usr/share/man/man1/gmcs.1 + cp $(CURDIR)/debian/tmp/usr/share/man/man1/mcs.1 \ + $(CURDIR)/debian/tmp/usr/share/man/man1/smcs.1 + cp $(CURDIR)/debian/tmp/usr/share/man/man1/mono-service.1 \ + $(CURDIR)/debian/tmp/usr/share/man/man1/mono-service2.1 + cp $(CURDIR)/debian/tmp/usr/share/man/man1/mkbundle.1 \ + $(CURDIR)/debian/tmp/usr/share/man/man1/mkbundle2.1 + cp $(CURDIR)/debian/tmp/usr/share/man/man1/wsdl.1 \ + $(CURDIR)/debian/tmp/usr/share/man/man1/wsdl2.1 + cp $(CURDIR)/debian/tmp/usr/share/man/man1/monop.1 \ + $(CURDIR)/debian/tmp/usr/share/man/man1/monop2.1 + cp $(CURDIR)/debian/tmp/usr/share/man/man1/ilasm.1 \ + $(CURDIR)/debian/tmp/usr/share/man/man1/ilasm2.1 + cp $(CURDIR)/debian/tmp/usr/share/man/man1/resgen.1 \ + $(CURDIR)/debian/tmp/usr/share/man/man1/resgen2.1 + # move System.Xml.Linq.dll symlink to the correct directory + mv $(CURDIR)/debian/tmp/usr/lib/mono/3.5/System.Xml.Linq.dll \ + $(CURDIR)/debian/tmp/usr/lib/mono/2.0/ + touch install-indep-stamp + +binary: binary-arch binary-indep + +binary-indep: build-arch install-arch build-indep install-indep + dh_testdir + dh_testroot + + # we do not want nunit, it's a forked version + # nunit 2.4 API has changed too much, thus needing this nunit 2.2 now + #rm -f debian/tmp/usr/lib/pkgconfig/mono-nunit.pc + #rm -f debian/tmp/usr/lib/mono/1.0/nunit* + #rm -f debian/tmp/usr/lib/mono/2.0/nunit* + #rm -rf debian/tmp/usr/lib/mono/gac/nunit* + #rm -f debian/tmp/usr/bin/nunit* + # upstream forgot to remove this one + rm -f debian/tmp/usr/bin/mbas + # don't want docs of bundled libgc + rm -rf debian/tmp/usr/share/libgc-mono + # never ever install cecil.pc! mono ships an internal version for GAC only + # args, mono-tools >= 1.9 needs this now :( + #rm -f debian/tmp/usr/lib/pkgconfig/cecil.pc + # Mono.Mozilla.dll is linked with CLI 2.0, thus the symlink in 1.0/ doesn't make sense + rm -f debian/tmp/usr/lib/mono/1.0/Mono.Mozilla.dll + + # that exclude list are programs for arch-dep packages + dh_install -i -Xbin/monodis -Xbin/monograph -Xbin/mono-find-provides -Xbin/mono-find-requires -Xbin/pedump -Xbin/jay + + # Late GAC + install -D -m 755 debian/mono.runtime-script debian/mono-gac/usr/share/cli-common/runtimes.d/mono + + # Build the late-GAC tool, + # using the built Mono runtime from debian/tmp + # (thus the install-arch target dependency!) + mkdir -p debian/mono-gac/usr/share/mono + $(RUN_MONO) mcs/class/lib/default/mcs.exe /t:exe \ + /out:debian/mono-gac/usr/share/mono/MonoGetAssemblyName.exe \ + debian/MonoGetAssemblyName.cs + + install -m 644 debian/System.Data.dll.config debian/libmono-system-data1.0-cil/usr/lib/mono/gac/System.Data/1.0.*/ + install -m 644 debian/System.Data.dll.config debian/libmono-system-data2.0-cil/usr/lib/mono/gac/System.Data/2.0.*/ + install -m 644 debian/System.Drawing.dll.config debian/libmono-system1.0-cil/usr/lib/mono/gac/System.Drawing/1.0.*/ + install -m 644 debian/System.Drawing.dll.config debian/libmono-system2.0-cil/usr/lib/mono/gac/System.Drawing/2.0.*/ + install -m 644 debian/System.Windows.Forms.dll.config debian/libmono-winforms1.0-cil/usr/lib/mono/gac/System.Windows.Forms/1.0.*/ + install -m 644 debian/System.Windows.Forms.dll.config debian/libmono-winforms2.0-cil/usr/lib/mono/gac/System.Windows.Forms/2.0.*/ + install -m 644 debian/Mono.Cairo.dll.config debian/libmono-cairo1.0-cil/usr/lib/mono/gac/Mono.Cairo/1.0.*/ + install -m 644 debian/Mono.Cairo.dll.config debian/libmono-cairo2.0-cil/usr/lib/mono/gac/Mono.Cairo/2.0.*/ + install -m 644 debian/Mono.Data.SqliteClient.dll.config debian/libmono-sqlite1.0-cil/usr/lib/mono/gac/Mono.Data.SqliteClient/1.0.*/ + install -m 644 debian/Mono.Data.SqliteClient.dll.config debian/libmono-sqlite2.0-cil/usr/lib/mono/gac/Mono.Data.SqliteClient/2.0.*/ + install -m 644 debian/Mono.Data.Sqlite.dll.config debian/libmono-sqlite1.0-cil/usr/lib/mono/gac/Mono.Data.Sqlite/1.0.*/ + install -m 644 debian/Mono.Data.Sqlite.dll.config debian/libmono-sqlite2.0-cil/usr/lib/mono/gac/Mono.Data.Sqlite/2.0.*/ + install -m 644 debian/FirebirdSql.Data.Firebird.dll.config debian/libmono-firebirdsql1.7-cil/usr/lib/mono/gac/FirebirdSql.Data.Firebird/1.7.*/ + + dh_link -i + dh_installchangelogs -i + dh_installdocs -i + dh_installman -i + debian/dh_clistrip -i --dbg-package=mono-dbg + dh_compress -i + t=mono-common; \ + for p in $$(dh_listpackages -i -N$$t); do \ + rm -rf debian/$$p/usr/share/doc/$$p; \ + ln -s $$t debian/$$p/usr/share/doc/$$p; \ + if [ -f debian/$$p.docs ]; then \ + mkdir -p debian/$$p/usr/share/doc/$$t; \ + cp -a $$(eval echo $$(cat debian/$$p.docs)) debian/$$p/usr/share/doc/$$t/; \ + dh_compress -p$$p; \ + fi; \ + ( \ + echo "# doc dir is now a symlink to $$p"; \ + echo 'if [ "$$1" = upgrade ] && [ ! -L /usr/share/doc/'$$p' ]; then'; \ + echo " rm -rf /usr/share/doc/$$p"; \ + echo "fi"; \ + ) >> debian/$$p.preinst.debhelper; \ + done + dh_fixperms -i + debian/dh_clifixperms -i + dh_installdeb -i + #DH_VERBOSE=1 DH_AUTOSCRIPTDIR=$(CURDIR)/debian debian/dh_monoaot -i + debian/dh_makeclilibs -i -m 1.0 internal-mono + debian/dh_makeclilibs -p libmono1.0-cil -m 1.9 internal-mono + debian/dh_makeclilibs -p libmono2.0-cil -m 1.9 internal-mono + debian/dh_makeclilibs -p libmono-cairo1.0-cil -m 1.2.6 internal-mono + debian/dh_makeclilibs -p libmono-cairo2.0-cil -m 1.2.6 internal-mono + debian/dh_makeclilibs -p libmono-corlib1.0-cil -m 1.2.2.1 internal-mono + debian/dh_makeclilibs -p libmono-corlib2.0-cil -m 1.2.2.1 internal-mono + debian/dh_makeclilibs -p libmono-data-tds1.0-cil -m 1.2.6 internal-mono + debian/dh_makeclilibs -p libmono-data-tds2.0-cil -m 1.2.6 internal-mono + debian/dh_makeclilibs -p libmono-ldap1.0-cil -m 1.2.6 internal-mono + debian/dh_makeclilibs -p libmono-ldap2.0-cil -m 1.2.6 internal-mono + debian/dh_makeclilibs -p libmono-oracle2.0-cil -m 1.2.6 internal-mono + debian/dh_makeclilibs -p libmono-microsoft-build2.0-cil -m 1.2.6 internal-mono + debian/dh_makeclilibs -p libmono-system1.0-cil -m 1.2.6 internal-mono + debian/dh_makeclilibs -p libmono-system2.0-cil -m 1.9 internal-mono + debian/dh_makeclilibs -p libmono-system-data1.0-cil -m 1.2.6 internal-mono + debian/dh_makeclilibs -p libmono-system-data2.0-cil -m 1.2.6 internal-mono + debian/dh_makeclilibs -p libmono-system-ldap2.0-cil -m 1.2.6 internal-mono + debian/dh_makeclilibs -p libmono-system-web2.0-cil -m 1.9.1 internal-mono + debian/dh_makeclilibs -p libmono-security1.0-cil -m 1.9 internal-mono + debian/dh_makeclilibs -p libmono-security2.0-cil -m 1.9 internal-mono + debian/dh_makeclilibs -p libmono-sqlite1.0-cil -m 1.2.6 internal-mono + debian/dh_makeclilibs -p libmono-sqlite2.0-cil -m 1.2.6 internal-mono + debian/dh_makeclilibs -p libmono-web1.0-cil -m 1.9 internal-mono + debian/dh_makeclilibs -p libmono-web2.0-cil -m 1.9 internal-mono + debian/dh_makeclilibs -p libmono-winforms1.0-cil -m 1.2.6 internal-mono + debian/dh_makeclilibs -p libmono-winforms2.0-cil -m 1.9 internal-mono + debian/dh_makeclilibs -p libmono-relaxng1.0-cil -m 1.9 internal-mono + debian/dh_makeclilibs -p libmono-relaxng2.0-cil -m 1.9 internal-mono + debian/dh_clideps -i -l debian/tmp internal-mono + #DH_VERBOSE=1 debian/dh_clideps -i -l debian/tmp internal-mono + # mono-gac needs special runtime dep, to prevent circular dep (mono-runtime <-> mono-gac) + debian/dh_clideps -p mono-gac -r internal-mono + dh_gencontrol -i -- -Vmono:upversion=$(UPVERSION) -Vmono:next-upversion=$(NEXT_UPVERSION) + dh_md5sums -i + dh_builddeb -i + +binary-arch: build-arch install-arch + dh_testdir + dh_testroot + + cd debian/detector && \ + install -D -m 755 binfmt-detector-cli $(CURDIR)/debian/mono-common/usr/lib/cli/binfmt-detector-cli + install -D -m 755 cli-wrapper debian/mono-common/usr/bin/cli-wrapper + install -D -m 644 -o root -g root debian/cli.binfmt \ + debian/mono-common/usr/share/binfmts/cli + + dh_install -s + dh_link -s + dh_installchangelogs -s + dh_installchangelogs -pmono-jay $(CURDIR)/mcs/jay/ChangeLog + dh_installdocs -s + dh_installman -s + dh_installexamples -s + dh_installexamples -pmono-jay $(CURDIR)/mcs/jay/skeleton.cs + dh_strip -pmono-jit --dbg-package=mono-jit-dbg + dh_strip -plibmono0 --dbg-package=libmono0-dbg + dh_strip -s + dh_compress -s -Xskeleton.cs + t=mono-common; \ + for p in $$(dh_listpackages -i -N$$t); do \ + rm -rf debian/$$p/usr/share/doc/$$p; \ + ln -s $$t debian/$$p/usr/share/doc/$$p; \ + if [ -f debian/$$p.docs ]; then \ + mkdir -p debian/$$p/usr/share/doc/$$t; \ + cp -a $$(eval echo $$(cat debian/$$p.docs)) debian/$$p/usr/share/doc/$$t/; \ + dh_compress -p$$p; \ + fi; \ + ( \ + echo "# doc dir is now a symlink to $$p"; \ + echo 'if [ "$$1" = upgrade ] && [ ! -L /usr/share/doc/'$$p' ]; then'; \ + echo " rm -rf /usr/share/doc/$$p"; \ + echo "fi"; \ + ) >> debian/$$p.preinst.debhelper; \ + done + dh_fixperms -s + dh_makeshlibs -plibmono0 -V 'libmono0 (>= $(UPVERSION))' + dh_installdeb -s + dh_shlibdeps -s -Xlibmono-profiler-cov -ldebian/libmono0/usr/lib + dh_gencontrol -s -- -Vmono:upversion=$(UPVERSION) -Vmono:next-upversion=$(NEXT_UPVERSION) + dh_md5sums -s + dh_builddeb -s + +.PHONY: clean build binary-indep binary-arch install binary patch unpatch +.NOTPARALLEL: --- mono-1.9.1+dfsg.orig/debian/mono-jit.postinst +++ mono-1.9.1+dfsg/debian/mono-jit.postinst @@ -0,0 +1,12 @@ +#!/bin/sh -e + +# if we're configuring, /usr/share/doc/mono-jit is a directory, +# and isn't a symlink, replace it with a symlink to mono-common +if test "$1" = "configure" && test -d /usr/share/doc/mono-jit && ! test -h /usr/share/doc/mono-jit ; then + rmdir /usr/share/doc/mono-jit + ln -s mono-common /usr/share/doc/mono-jit +fi + +update-alternatives --install /usr/bin/cli cli /usr/bin/mono 14 --slave /usr/share/man/man1/cli.1.gz cli.1.gz /usr/share/man/man1/mono.1.gz + +#DEBHELPER# --- mono-1.9.1+dfsg.orig/debian/libmono-system-messaging2.0-cil.install +++ mono-1.9.1+dfsg/debian/libmono-system-messaging2.0-cil.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/System.Messaging/2.0.*/ +debian/tmp/usr/lib/mono/2.0/System.Messaging.dll --- mono-1.9.1+dfsg.orig/debian/prj2make-sharp.install +++ mono-1.9.1+dfsg/debian/prj2make-sharp.install @@ -0,0 +1,2 @@ +debian/tmp/usr/bin/prj2make +debian/tmp/usr/lib/mono/1.0/prj2make.exe* --- mono-1.9.1+dfsg.orig/debian/libmono-relaxng2.0-cil.install +++ mono-1.9.1+dfsg/debian/libmono-relaxng2.0-cil.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/Commons.Xml.Relaxng/2.0.*/ +debian/tmp/usr/lib/mono/2.0/Commons.Xml.Relaxng.dll --- mono-1.9.1+dfsg.orig/debian/libmono-system-data1.0-cil.install +++ mono-1.9.1+dfsg/debian/libmono-system-data1.0-cil.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/System.Data/1.0.*/ +debian/tmp/usr/lib/mono/1.0/System.Data.dll --- mono-1.9.1+dfsg.orig/debian/libmono-microsoft7.0-cil.install +++ mono-1.9.1+dfsg/debian/libmono-microsoft7.0-cil.install @@ -0,0 +1,6 @@ +debian/tmp/usr/lib/mono/gac/Microsoft.JScript/7.0.*/ +debian/tmp/usr/lib/mono/gac/Microsoft.VisualC/7.0.*/ +debian/tmp/usr/lib/mono/gac/Microsoft.Vsa/7.0.*/ +debian/tmp/usr/lib/mono/1.0/Microsoft.JScript.dll +debian/tmp/usr/lib/mono/1.0/Microsoft.VisualC.dll +debian/tmp/usr/lib/mono/1.0/Microsoft.Vsa.dll --- mono-1.9.1+dfsg.orig/debian/mono-jay.install +++ mono-1.9.1+dfsg/debian/mono-jay.install @@ -0,0 +1 @@ +debian/tmp/usr/bin/jay --- mono-1.9.1+dfsg.orig/debian/libmono-microsoft-build2.0-cil.install +++ mono-1.9.1+dfsg/debian/libmono-microsoft-build2.0-cil.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/Microsoft.Build.*/2.0.*/ +debian/tmp/usr/lib/mono/2.0/Microsoft.Build.*.dll --- mono-1.9.1+dfsg.orig/debian/mono-2.0-devel.manpages +++ mono-1.9.1+dfsg/debian/mono-2.0-devel.manpages @@ -0,0 +1,9 @@ +debian/tmp/usr/share/man/man1/al2.1 +debian/tmp/usr/share/man/man1/wsdl2.1 +debian/tmp/usr/share/man/man1/monop2.1 +debian/tmp/usr/share/man/man1/mconfig.1 +debian/tmp/usr/share/man/man1/mkbundle2.1 +debian/tmp/usr/share/man/man1/ilasm2.1 +debian/tmp/usr/share/man/man1/resgen2.1 +debian/tmp/usr/share/man/man1/sgen.1 +debian/tmp/usr/share/man/man1/httpcfg.1 --- mono-1.9.1+dfsg.orig/debian/libmono-cscompmgd8.0-cil.install +++ mono-1.9.1+dfsg/debian/libmono-cscompmgd8.0-cil.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/cscompmgd/8.0.*/ +debian/tmp/usr/lib/mono/2.0/cscompmgd.dll --- mono-1.9.1+dfsg.orig/debian/libmono-bytefx0.7.6.1-cil.install +++ mono-1.9.1+dfsg/debian/libmono-bytefx0.7.6.1-cil.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/ByteFX.Data/0.7.6.1*/ +debian/tmp/usr/lib/mono/1.0/ByteFX.Data.dll --- mono-1.9.1+dfsg.orig/debian/libmono-data-tds2.0-cil.install +++ mono-1.9.1+dfsg/debian/libmono-data-tds2.0-cil.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/Mono.Data.Tds/2.0.*/ +debian/tmp/usr/lib/mono/2.0/Mono.Data.Tds.dll --- mono-1.9.1+dfsg.orig/debian/libmono0.install +++ mono-1.9.1+dfsg/debian/libmono0.install @@ -0,0 +1,3 @@ +debian/tmp/usr/lib/libmono*.so.* +debian/tmp/usr/lib/libMonoPosixHelper.so +debian/tmp/usr/lib/libMonoSupportW.so --- mono-1.9.1+dfsg.orig/debian/libmono-sqlite2.0-cil.install +++ mono-1.9.1+dfsg/debian/libmono-sqlite2.0-cil.install @@ -0,0 +1,4 @@ +debian/tmp/usr/lib/mono/gac/Mono.Data.Sqlite/2.0.*/ +debian/tmp/usr/lib/mono/gac/Mono.Data.SqliteClient/2.0.*/ +debian/tmp/usr/lib/mono/2.0/Mono.Data.Sqlite.dll +debian/tmp/usr/lib/mono/2.0/Mono.Data.SqliteClient.dll --- mono-1.9.1+dfsg.orig/debian/mono-common.postinst +++ mono-1.9.1+dfsg/debian/mono-common.postinst @@ -0,0 +1,12 @@ +#!/bin/sh -e + +if [ configure = "$1" ] && [ -x /usr/sbin/update-binfmts ]; then + /usr/sbin/update-binfmts --import cli +fi + +if [ configure = "$1" ] && [ -d /usr/share/dotnet/mono/ ] && [ -L /usr/share/dotnet/mono ]; then + # it's a symlink + rm /usr/share/dotnet/mono +fi + +#DEBHELPER# --- mono-1.9.1+dfsg.orig/debian/mono-mcs.manpages +++ mono-1.9.1+dfsg/debian/mono-mcs.manpages @@ -0,0 +1 @@ +debian/tmp/usr/share/man/man1/mcs.1 --- mono-1.9.1+dfsg.orig/debian/libmono-system1.0-cil.install +++ mono-1.9.1+dfsg/debian/libmono-system1.0-cil.install @@ -0,0 +1,18 @@ +debian/tmp/usr/lib/mono/1.0/CustomMarshalers.dll +debian/tmp/usr/lib/mono/1.0/System.Configuration.Install.dll +debian/tmp/usr/lib/mono/1.0/System.Drawing.dll +debian/tmp/usr/lib/mono/1.0/System.EnterpriseServices.dll +debian/tmp/usr/lib/mono/1.0/System.Management.dll +debian/tmp/usr/lib/mono/1.0/System.Security.dll +debian/tmp/usr/lib/mono/1.0/System.ServiceProcess.dll +debian/tmp/usr/lib/mono/1.0/System.Xml.dll +debian/tmp/usr/lib/mono/1.0/System.dll +debian/tmp/usr/lib/mono/gac/CustomMarshalers/1.0.5000.0__*/ +debian/tmp/usr/lib/mono/gac/System.Configuration.Install/1.0.5000.0__*/ +debian/tmp/usr/lib/mono/gac/System.Drawing/1.0.5000.0__*/ +debian/tmp/usr/lib/mono/gac/System.EnterpriseServices/1.0.5000.0__*/ +debian/tmp/usr/lib/mono/gac/System.Management/1.0.5000.0__*/ +debian/tmp/usr/lib/mono/gac/System.Security/1.0.5000.0__*/ +debian/tmp/usr/lib/mono/gac/System.ServiceProcess/1.0.5000.0__*/ +debian/tmp/usr/lib/mono/gac/System.Xml/1.0.5000.0__*/ +debian/tmp/usr/lib/mono/gac/System/1.0.5000.0__*/ --- mono-1.9.1+dfsg.orig/debian/mono.links +++ mono-1.9.1+dfsg/debian/mono.links @@ -0,0 +1 @@ +usr/share/doc/mono-common usr/share/doc/mono --- mono-1.9.1+dfsg.orig/debian/prj2make-sharp.manpages +++ mono-1.9.1+dfsg/debian/prj2make-sharp.manpages @@ -0,0 +1 @@ +debian/tmp/usr/share/man/man1/prj2make.1 --- mono-1.9.1+dfsg.orig/debian/shlibs.local +++ mono-1.9.1+dfsg/debian/shlibs.local @@ -0,0 +1,11 @@ +libMonoPosixHelper 0 libmono0 (>= 1.9.1) +libgdiplus 0 libgdiplus (>= 1.9) +libgluezilla 0 libgluezilla (>= 1.9) +libcairo 2 libcairo2 (>= 1.6.0) +libfbclient 2 libfbclient2 (>= 2.0.4) +libsqlite 0 libsqlite0 (>= 2.8.17) +libsqlite3 0 libsqlite3-0 (>= 3.5.9) +libasound 2 libasound2 (>> 1.0.16) +libgda-2 3 libgda2-3 +libgda-report-2 3 libgda2-3 +libgdasql 3 libgda2-3 --- mono-1.9.1+dfsg.orig/debian/mono-xbuild.install +++ mono-1.9.1+dfsg/debian/mono-xbuild.install @@ -0,0 +1,9 @@ +debian/tmp/usr/bin/xbuild +debian/tmp/usr/lib/mono/2.0/xbuild.exe* +debian/tmp/usr/lib/mono/2.0/xbuild.rsp +debian/tmp/usr/lib/mono/2.0/Microsoft.Build.xsd +debian/tmp/usr/lib/mono/2.0/Microsoft.CSharp.targets +debian/tmp/usr/lib/mono/2.0/Microsoft.Common.tasks +debian/tmp/usr/lib/mono/2.0/Microsoft.Common.targets +debian/tmp/usr/lib/mono/2.0/Microsoft.VisualBasic.targets +debian/tmp/usr/lib/mono/2.0/MSBuild/ --- mono-1.9.1+dfsg.orig/debian/mono.runtime-script +++ mono-1.9.1+dfsg/debian/mono.runtime-script @@ -0,0 +1,147 @@ +#!/usr/bin/perl + +# +# Setup +# + +# Directives +use strict; +use warnings; + +# Modules +use File::Basename; + +# Figure out the mode +my $mode = shift @ARGV; + +if (!defined $mode) +{ + print STDERR "E: You must supply a mode\n"; + print STDERR "E: Use: install, remove, or name\n"; + exit 1; +} + +# Name is simply +if ($mode eq "name") +{ + print "Mono\n"; + exit 0; +} + +# This program gets the name of a file (ending in .installcligac) and +# a list of assemblies to install, as full paths. The ones given are +# the only ones that passed the white/blacklisting. + +# Get the base file +my $basename = shift @ARGV; +my $cligac = "/usr/share/cli-common/packages.d/$basename.installcligac"; + +if (! -f $cligac) +{ + print STDERR "E: File does not exist: $cligac\n"; + exit 1; +} + +# Get the base directory +my $basedir = "/usr/share/cli-common/packages.d/"; + +# Removing is also simple +if ($mode eq "remove") +{ + # Get the uninstall file + my $uninstall = "$basedir/$basename.mono"; + + if (-f $uninstall) + { + # Go through the file + open UNINSTALL, "<$uninstall" or + die "E: Cannot open uninstall file ($!)"; + + while () + { + my $assembly = $_; + chomp($assembly); + my $cmd = "/usr/bin/mono /usr/lib/mono/1.0/gacutil.exe /u $assembly > /dev/null"; + my $res = system($cmd); + if ($res > 0) { + print STDERR "W: removing assembly: $assembly failed!\n"; + } + } + + close UNINSTALL; + + # Unlike the file + unlink($uninstall); + } + + # We are good + exit 0; +} + +# The only thing left should be "install" +if ($mode ne "install") +{ + print STDERR "E: Unknown mode: $mode\n"; + print STDERR "E: Use: install, remove or name\n"; + exit 1; +} + + +# Open up our uninstall file +open UNINSTALL, ">$basedir/$basename.mono" + or die "E: Cannot open uninstall: $basedir/$basename.mono"; + +# Go through the file +open CLIGAC, "<$cligac" or die "E: Cannot open: $cligac ($!)"; + +while (@ARGV) +{ + # Get the assembly name + my $dll = shift @ARGV; + + # Make sure it is there + if (! -f $dll) + { + print STDERR "E: Assembly does not exist: $dll\n"; + exit 1; + } + + # Figure out the mono's precise name + my $fullname = get_full_name($dll); + + # Write out the uninstall file + print UNINSTALL "$fullname\n"; + + # Install the file. We use the "../../../.." to make it a + # relative path to this program (since gacutil doesn't like + # absolute paths). There isn't a problem of doing too many + # since we typically run from the root context. + my $cmd = "(cd `dirname $dll` && " + . "/usr/bin/mono /usr/lib/mono/1.0/gacutil.exe /i `basename $dll`" + . " > /dev/null)"; + system($cmd) == 0 or die "E: installing Assembly $dll failed\n"; +} + +close CLIGAC; +close UNINSTALL; + +# Finish up successfully +exit 0; + +# Get the name of the assembly in a manner suitable for uninstall +# using gacutil. +sub get_full_name +{ + # Get the name + my $dll = shift; + + # Open a pipe to monop + my $cmd = "LANG=C /usr/bin/mono /usr/share/mono/MonoGetAssemblyName.exe $dll"; + open PIPE, "$cmd |" or die "E: Cannot open pipe to assembly builder $dll"; + + # This generate a single line that produces the desired results + $_ = ; + chomp; + # assembly1, Version=1.0.0.0, Culture=en, PublicKeyToken=0123456789abcdef + return $_; +} --- mono-1.9.1+dfsg.orig/debian/dh_clifixperms +++ mono-1.9.1+dfsg/debian/dh_clifixperms @@ -0,0 +1,70 @@ +#!/usr/bin/perl -w + +=head1 NAME + +dh_clifixperms - fix permissions of files in CLI package build directories + +=cut + +use strict; +use Debian::Debhelper::Dh_Lib; + +=head1 SYNOPSIS + +B [S>] [B<-X>I] + +=head1 DESCRIPTION + +dh_clifixperms is a debhelper program that is responsible for setting +the permissions of files and directories for CLI assemblies and +executables. + +dh_clifixperms makes all files that end in *.dll, *.mdb, *.cs, +*.aspx, and *.config to mode 644 and *.exe to mode 755. + +=head1 OPTIONS + +=over 4 + +=item B<-X>I, B<--exclude> I + +Exclude files that contain "item" anywhere in their filename from having +their permissions changed. You may use this option multiple times to build +up a list of things to exclude. + +=back + +=cut + +init(); + +foreach my $package (@{$dh{DOPACKAGES}}) { + my $tmp=tmpdir($package); + + my $find_options=''; + if (defined($dh{EXCLUDE_FIND}) && $dh{EXCLUDE_FIND} ne '') { + $find_options="! \\( $dh{EXCLUDE_FIND} \\)"; + } + + # Fix the permissions of various CLI-based files + for my $ext (qw(dll mdb cs config aspx)) + { + complex_doit("find $tmp $find_options -name \"*.$ext\" -print0", + "2>/dev/null | xargs -0r chmod 0644"); + } + complex_doit("find $tmp $find_options -name \"*.exe\" -print0", + "2>/dev/null | xargs -0r chmod 0755"); +} + +=head1 SEE ALSO + +L + +This program is a part of cli-common. + +=head1 AUTHOR + +Dylan R. E. Moonfire based on work from Joey Hess +. + +=cut --- mono-1.9.1+dfsg.orig/debian/cli-wrapper +++ mono-1.9.1+dfsg/debian/cli-wrapper @@ -0,0 +1,2 @@ +#!/bin/sh +/usr/bin/cli "$0.exe" "$@" --- mono-1.9.1+dfsg.orig/debian/mono-gac.manpages +++ mono-1.9.1+dfsg/debian/mono-gac.manpages @@ -0,0 +1 @@ +debian/tmp/usr/share/man/man1/gacutil.1 --- mono-1.9.1+dfsg.orig/debian/mono-common.dirs +++ mono-1.9.1+dfsg/debian/mono-common.dirs @@ -0,0 +1,3 @@ +usr/bin +usr/share/binfmts +usr/share/dotnet --- mono-1.9.1+dfsg.orig/debian/mono-jit.manpages +++ mono-1.9.1+dfsg/debian/mono-jit.manpages @@ -0,0 +1 @@ +debian/tmp/usr/share/man/man1/mono.1 --- mono-1.9.1+dfsg.orig/debian/FirebirdSql.Data.Firebird.dll.config +++ mono-1.9.1+dfsg/debian/FirebirdSql.Data.Firebird.dll.config @@ -0,0 +1,3 @@ + + + --- mono-1.9.1+dfsg.orig/debian/mono-gmcs.manpages +++ mono-1.9.1+dfsg/debian/mono-gmcs.manpages @@ -0,0 +1 @@ +debian/tmp/usr/share/man/man1/gmcs.1 --- mono-1.9.1+dfsg.orig/debian/libmono-system-messaging2.0-cil.clideps-override +++ mono-1.9.1+dfsg/debian/libmono-system-messaging2.0-cil.clideps-override @@ -0,0 +1 @@ +suggests libmono-winforms2.0-cil --- mono-1.9.1+dfsg.orig/debian/System.Data.dll.config +++ mono-1.9.1+dfsg/debian/System.Data.dll.config @@ -0,0 +1,4 @@ + + + + --- mono-1.9.1+dfsg.orig/debian/libmono-security1.0-cil.install +++ mono-1.9.1+dfsg/debian/libmono-security1.0-cil.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/Mono.Security/1.0.*/ +debian/tmp/usr/lib/mono/1.0/Mono.Security.dll --- mono-1.9.1+dfsg.orig/debian/libmono-system-ldap1.0-cil.install +++ mono-1.9.1+dfsg/debian/libmono-system-ldap1.0-cil.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/System.DirectoryServices/1.0.*/ +debian/tmp/usr/lib/mono/1.0/System.DirectoryServices.dll --- mono-1.9.1+dfsg.orig/debian/mono-common.manpages +++ mono-1.9.1+dfsg/debian/mono-common.manpages @@ -0,0 +1,2 @@ +debian/tmp/usr/share/man/man5/mono-config.5 +debian/man/cli-wrapper.1 --- mono-1.9.1+dfsg.orig/debian/System.Drawing.dll.config +++ mono-1.9.1+dfsg/debian/System.Drawing.dll.config @@ -0,0 +1,5 @@ + + + + + --- mono-1.9.1+dfsg.orig/debian/cli-wrapper.c +++ mono-1.9.1+dfsg/debian/cli-wrapper.c @@ -0,0 +1,67 @@ +#include +#include +#include +#include +#include +#include +#include +#include + +extern int errno; +extern char **environ; + +#define cmd args[1] +#define NAME_ISREG(name) \ + ((! stat(name,&si)) && \ + S_ISREG((&si)->st_mode)) + +/* extend monopath to the default lib path */ +#define usdl "/usr/share/dotnet/lib" +#define mypaths "/usr/bin:/usr/share/dotnet/bin:/usr/share/dotnet:/usr/lib/dotnet/bin:/usr/lib/dotnet" + +int main(int argc, char **argv){ + char *exName; + char *args[argc+2]; + struct stat si; + char **runpaths=NULL; + char *monopath=NULL; + char *foo; + + memcpy(args+sizeof(char), argv, sizeof(char *) * argc); + args[argc+1]=NULL; + args[0]=argv[0]; + exName = strrchr(argv[0], '/'); + if(!exName) exName = argv[0]; else exName++; + cmd = (char *) calloc( 512, sizeof(char)); + /* Done. exName has the binary name, look for it and write result to cmd */ + + monopath = getenv ("MONO_PATH"); + /* only split to runpaths when found */ + foo = monopath ? + g_strjoin(G_SEARCHPATH_SEPARATOR_S, monopath, mypaths, NULL) : + mypaths; + + //printf("bla, %s\n", foo); + + runpaths = g_strsplit (foo, G_SEARCHPATH_SEPARATOR_S, 1000); + + while(*runpaths) { + snprintf(cmd, 511, "%s/%s.exe", *runpaths, exName); + if(NAME_ISREG(cmd)) { + if(monopath) setenv("MONO_PATH", g_strjoin(G_SEARCHPATH_SEPARATOR_S, monopath, *runpaths, usdl, NULL), 1); + else setenv("MONO_PATH", g_strjoin(G_SEARCHPATH_SEPARATOR_S, *runpaths, usdl, NULL), 1); + return execve("/usr/bin/cli",args,environ); + } + snprintf(cmd, 511, "%s/%s/%s.exe", *runpaths, exName, exName); + if(NAME_ISREG(cmd)) { + if(monopath) setenv("MONO_PATH", g_strjoin(G_SEARCHPATH_SEPARATOR_S, monopath, g_strjoin("/", *runpaths, exName, NULL), usdl, NULL), 1); + else setenv("MONO_PATH", g_strjoin(G_SEARCHPATH_SEPARATOR_S, g_strjoin("/", *runpaths, exName, NULL), usdl, NULL), 1); + return execve("/usr/bin/cli",args,environ); + } + runpaths++; + } + + /* should never be reached */ + errno = ENOENT; + return(-1); +} --- mono-1.9.1+dfsg.orig/debian/libmono-oracle1.0-cil.install +++ mono-1.9.1+dfsg/debian/libmono-oracle1.0-cil.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/System.Data.OracleClient/1.0.*/ +debian/tmp/usr/lib/mono/1.0/System.Data.OracleClient.dll --- mono-1.9.1+dfsg.orig/debian/libmono-sqlite1.0-cil.install +++ mono-1.9.1+dfsg/debian/libmono-sqlite1.0-cil.install @@ -0,0 +1,4 @@ +debian/tmp/usr/lib/mono/gac/Mono.Data.Sqlite/1.0.*/ +debian/tmp/usr/lib/mono/gac/Mono.Data.SqliteClient/1.0.*/ +debian/tmp/usr/lib/mono/1.0/Mono.Data.Sqlite.dll +debian/tmp/usr/lib/mono/1.0/Mono.Data.SqliteClient.dll --- mono-1.9.1+dfsg.orig/debian/libmono-dev.install +++ mono-1.9.1+dfsg/debian/libmono-dev.install @@ -0,0 +1,7 @@ +debian/tmp/usr/lib/libmono*.a +debian/tmp/usr/lib/libMono*.a +debian/tmp/usr/lib/libmono*.so +debian/tmp/usr/lib/libMonoSupportW.a +debian/tmp/usr/lib/pkgconfig/mono.pc +debian/tmp/usr/lib/pkgconfig/dotnet.pc +debian/tmp/usr/include/ --- mono-1.9.1+dfsg.orig/debian/mono-jit.install +++ mono-1.9.1+dfsg/debian/mono-jit.install @@ -0,0 +1 @@ +debian/tmp/usr/bin/mono --- mono-1.9.1+dfsg.orig/debian/mono-gac.prerm +++ mono-1.9.1+dfsg/debian/mono-gac.prerm @@ -0,0 +1,12 @@ +#!/bin/sh -e + +if [ "$1" = remove ]; then + update-alternatives --remove global-assembly-cache-tool /usr/bin/gacutil + + # Remove the GAC + if [ -x /usr/share/cli-common/gac-remove ]; then + /usr/share/cli-common/gac-remove mono + fi +fi + +#DEBHELPER# --- mono-1.9.1+dfsg.orig/debian/libmono2.0-cil.install +++ mono-1.9.1+dfsg/debian/libmono2.0-cil.install @@ -0,0 +1,21 @@ +debian/tmp/usr/lib/mono/2.0/Mono.CompilerServices.SymbolWriter.dll +debian/tmp/usr/lib/mono/2.0/Mono.Data.SybaseClient.dll +debian/tmp/usr/lib/mono/2.0/Mono.Data.TdsClient.dll +debian/tmp/usr/lib/mono/2.0/Mono.Data.dll +debian/tmp/usr/lib/mono/2.0/Mono.GetOptions.dll +debian/tmp/usr/lib/mono/2.0/Mono.Http.dll +debian/tmp/usr/lib/mono/2.0/Mono.Posix.dll +debian/tmp/usr/lib/mono/2.0/Mono.Security.Win32.dll +debian/tmp/usr/lib/mono/2.0/Mono.Web.dll +debian/tmp/usr/lib/mono/2.0/OpenSystem.C.dll +debian/tmp/usr/lib/mono/gac/Mono.CompilerServices.SymbolWriter/2.0.0.0__*/ +debian/tmp/usr/lib/mono/gac/Mono.Data.SybaseClient/2.0.0.0__*/ +debian/tmp/usr/lib/mono/gac/Mono.Data.TdsClient/2.0.0.0__*/ +debian/tmp/usr/lib/mono/gac/Mono.Data/2.0.0.0__*/ +debian/tmp/usr/lib/mono/gac/Mono.GetOptions/2.0.0.0__*/ +debian/tmp/usr/lib/mono/gac/Mono.Http/2.0.0.0__*/ +debian/tmp/usr/lib/mono/gac/Mono.Posix/2.0.0.0__*/ +debian/tmp/usr/lib/mono/gac/Mono.Security.Win32/2.0.0.0__*/ +debian/tmp/usr/lib/mono/gac/Mono.Web/2.0.0.0__*/ +debian/tmp/usr/lib/mono/gac/OpenSystem.C/2.0.0.0__*/ +debian/tmp/usr/lib/mono/gac/mono-service/2.0.0.0__*/ --- mono-1.9.1+dfsg.orig/debian/libmono-system2.0-cil.clideps-override +++ mono-1.9.1+dfsg/debian/libmono-system2.0-cil.clideps-override @@ -0,0 +1,7 @@ +suggests libfam0 +suggests libgamin0 +suggests libx11-6 +suggests libasound2 +suggests libcups2 +suggests libgdiplus +suggests libmono-winforms2.0-cil --- mono-1.9.1+dfsg.orig/debian/libmono-sharpzip0.84-cil.install +++ mono-1.9.1+dfsg/debian/libmono-sharpzip0.84-cil.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/ICSharpCode.SharpZipLib/0.84.*/ +debian/tmp/usr/lib/mono/1.0/ICSharpCode.SharpZipLib.dll --- mono-1.9.1+dfsg.orig/debian/dh_clideps +++ mono-1.9.1+dfsg/debian/dh_clideps @@ -0,0 +1,593 @@ +#!/usr/bin/perl -w + +=head1 NAME + +dh_clideps - calculates CLI (.NET) dependencies + +=cut + +use strict; +use Cwd; +use File::Find; +use File::Temp; +use Debian::Debhelper::Dh_Lib; + +#eval 'use Debian::Debhelper::Dh_Lib'; +#print "You need to install the debhelper package in order to use this program!" if $@; + +=head1 SYNOPSIS + +B [S>] + +=head1 DESCRIPTION + +dh_clideps is a debhelper program that is responsible for generating the +${cli:Depends} substitutions and adding them to substvars files. + +The program will look at .dll/.exe and .config files in your package, and +will use the embedded dependency information to generate a dependency +string on assembly and shared libs packages, including the setting of +version ranges (as declared by the shlibs/clilibs files of the used +packages). The dependency on a certain CLR (.NET runtime) version will be +also added to the final variable. + +Note: the dependencies on shared libraries may be not resolved correctly +if there are no .config files associated with the the .exe/.dll file +which refers to the particular shared library (by its SONAME). + +If you use this program, your package should build-depend on cli-common-dev +(>= 0.4.0). + +=head1 OPTIONS + +=over 4 + +=item B<-d> + +Attempt to predict and avoid duplicates that may appear if you package +both, native shared libraries and DLL assemblies in one package. +The list of possibly duplicating candidates is expected to be in the +variable shlib:Depends from debian/package.substvars. + +=item B<-r> + +Don't set a strong versioned dependency on mono-runtime or other CLR packages. +This option can be used to specify a relaxed dependency on the VM/CLR +by-hand in the control file, eg. "mono-runtime | cli-runtime". + +=item B<-l>directory[:directory:directory:..] + +Before mondis is run, MONO_GAC_PREFIX and MONO_PATH are set to the specified directory (or +directories -- separate with colons). This is useful for multi-binary packages where a library is +built in one package and another package contains binaries linked against said library. Relative +paths will be made absolute for the benefit of monodis. + +Note that the directory given should be the complete or relative path to a directory that contains +the library. See example below. + +=item B + +Uses the mono runtime in . (used for bootstrapping mono packages) + +=head1 EXAMPLES + +Suppose that your source package produces libfoo1.0-cil and libbar1.0-cil +binary packages. +In your rules file, first run dh_makeclilibs, then dh_clideps: + (MONO_GAC_PREFIX example) + dh_makeclilibs -V + dh_clideps -l debian/libfoo1.0-cil/usr:debian/libbar1.0-cil/usr +or + (MONO_PATH example) + dh_clideps -l debian/foo-application/usr/lib/foo-application +or + (MONO_GAC_PREFIX example) + dh_clideps -l debian/tmp/usr + +=cut + +init(); + +my $clr; +my $cli = '/usr/bin/cli'; +my $cli_version = `$cli --version 2>&1`; +my $cli_parser; +my $cli_parser_paths; +my $pwd = `pwd`; +chomp $pwd; + +my $mono_gac_prefix = ""; +my $mono_path = ""; +if ($dh{L_PARAMS}) { + my @mono_paths = (); + my @mono_gac_prefixes = (); + # Add to existing paths, if set. + push(@mono_gac_prefixes, $ENV{'MONO_GAC_PREFIX'}) if exists $ENV{'MONO_GAC_PREFIX'}; + push(@mono_paths, $ENV{'MONO_PATH'}) if exists $ENV{'MONO_PATH'}; + foreach (split(/:/, $dh{L_PARAMS})) { + # Force the path absolute. + my $full_path; + if (m:^/:) { + $full_path = $_; + } else { + $full_path = getcwd()."/$_"; + } + if (-d "$full_path/lib/mono/gac") { + # it's a GAC prefix + push(@mono_gac_prefixes, $full_path); + } else { + # it's a Mono PATH + push(@mono_paths, $full_path); + } + } + $mono_gac_prefix .= ":" . join(':', @mono_gac_prefixes); + $mono_path .= ":" . join(':', @mono_paths); +} else { + $mono_gac_prefix = $ENV{'MONO_GAC_PREFIX'} if exists $ENV{'MONO_GAC_PREFIX'}; + $mono_path = $ENV{'MONO_PATH'} if exists $ENV{'MONO_PATH'}; +} + +if (defined($ARGV[0]) && $ARGV[0] eq "internal-mono") { + $clr = "mono"; + $cli_parser = "$pwd/debian/tmp/usr/bin/monodis"; + $cli_parser_paths = "LD_LIBRARY_PATH=$pwd/debian/tmp/usr/lib MONO_PATH=$mono_path:$pwd/debian/tmp/usr/lib/mono/1.0:$pwd/debian/tmp/usr/lib/mono/2.0 MONO_GAC_PREFIX=$mono_gac_prefix "; + $cli_version = `LD_LIBRARY_PATH=$pwd/debian/tmp/usr/lib $pwd/debian/tmp/usr/bin/mono --version 2>&1`; + verbose_print("Will use built Mono (debian/tmp/usr/bin/monodis) for CIL parsing."); +} elsif (-x "/usr/bin/monodis") { + $clr = "mono"; + $cli_parser = "/usr/bin/monodis"; + $cli_parser_paths = "MONO_PATH=$mono_path MONO_GAC_PREFIX=$mono_gac_prefix "; + verbose_print("Will use Mono (/usr/bin/monodis) for CIL parsing."); +} elsif (-x "/usr/bin/ildasm") { + $clr = "pnet"; + $cli_parser = "/usr/share/cli-common/ildasm-monodis"; + verbose_print("Will use Portable.NET (/usr/bin/ildasm) for CIL parsing."); +} else { + error("Could not find a CIL disassembler, aborting."); +} + +{ + local $/=""; + open(FILE, 'debian/control'); + my @filedata = ; + close(FILE); + if (!($filedata[0] =~ /Build-Depends(-Indep)?: .*cli-common-dev \(>= 0\.4\.4\)/)) { + warning("Warning! No Build-Depends(-Indep) on cli-common-dev (>= 0.4.4)!"); + } +} + +if (!defined $cli_version || $cli_version eq "" ) { + warning("Warning! No CLR is installed. (Probably forgot to Build-Depend on cli-virtual-machine.)"); +} else { + if ($clr eq "mono") { + if ($cli_version =~ /(mint|version)\ ([\d\.]+)/) { + $cli_version = "$2"; + } else { + error("Unable to parse Mono version out of \"$cli_version\"."); + } + } elsif ($clr eq "pnet") { + if ($cli_version =~ /ILRUN\ ([\d\.]+)/) { + $cli_version = "$1"; + } else { + error("Unable to parse Portable.NET version out of \"$cli_version\"."); + } + } else { + error("Unable to detect CLR, aborting."); + } +} + + +# Cleaning the paths given on the command line +foreach (@ARGV) { + s#/$##; + s#^/##; +} + +my $fh; + +verbose_print("Loading clilibs..."); +my %clilibdata; +open($fh, "cat /var/lib/dpkg/info/*.clilibs debian/*/DEBIAN/clilibs 2> /dev/null |"); +while (<$fh>) { + /(\S+)\s+(\S+)\s+(\w.*)\n?/; + $clilibdata{"$1/$2"} = $3; +} +close($fh); + + +verbose_print("Loading shlibs..."); +my %shlibdata; +open($fh, "cat /var/lib/dpkg/info/*.shlibs $pwd/debian/shlibs.local $pwd/debian/*/DEBIAN/shlibs 2> /dev/null |"); +while (<$fh>) { + /(\S+)\s+(\S+)\s+(\w.*)\n?/; + my ($soname, $soversion, $dependency); + #chomp; + #my($soname, $soversion, $dependency) = split(/\s+/, $_, 3); + $soname = $1; + $soversion = $2; + $dependency = $3; + $shlibdata{"$soname.so.$soversion"} = $dependency; +} +close($fh); + +our $needs_net_1_0; +our $needs_net_2_0; +our $needs_net_2_1; + +foreach my $package (@{$dh{DOPACKAGES}}) { + my $tmp = tmpdir($package); + my %refs = ( depends => [], + recommends => [], + suggests => [] ); + my $found_exe = 0; + $needs_net_1_0 = 0; + $needs_net_2_0 = 0; + $needs_net_2_1 = 0; + + # for idempotency + delsubstvar($package, "cli:Depends"); + delsubstvar($package, "cli:Suggests"); + delsubstvar($package, "cli:Recommends"); + + # find binaries + find (sub { + return unless -f && !-l && /\.(exe|dll)$/; + my $file = $_; + if (/\.exe$/) { + $found_exe = 1; + } + + verbose_print("Package: $package Assembly: $file"); + + my %shlibRefs = resolveShlibRefs($package, $file); + push(@{$refs{depends}}, @{$shlibRefs{depends}}); + push(@{$refs{recommends}}, @{$shlibRefs{recommends}}); + push(@{$refs{suggests}}, @{$shlibRefs{suggests}}); + + my %clilibRefs = resolveClilibRefs($package, $tmp, $file); + push(@{$refs{depends}}, @{$clilibRefs{depends}}); + push(@{$refs{recommends}}, @{$clilibRefs{recommends}}); + push(@{$refs{suggests}}, @{$clilibRefs{suggests}}); + }, $tmp); + + $refs{depends} = filterDuplicates($package, $refs{depends}); + $refs{recommends} = filterDuplicates($package, $refs{recommends}); + $refs{suggests} = filterDuplicates($package, $refs{suggests}); + + my $vm_ref = ""; + if (!defined($dh{R_FLAG}) && $found_exe) { + if ($clr eq "mono") { + if ($needs_net_2_1) { + $vm_ref = "mono-runtime (>= 1.2.6), "; + } elsif ($needs_net_2_0) { + $vm_ref = "mono-runtime (>= 1.1.8.1), "; + } elsif ($needs_net_1_0) { + $vm_ref = "mono-runtime (>= 1.0), "; + } else { + $vm_ref = "mono-runtime (>= $cli_version), "; + } + } elsif ($clr eq "pnet") { + $vm_ref = "pnet-interpreter (>= $cli_version), "; + } + } + + if (-f "$tmp/usr/share/cli-common/packages.d/$package.installcligac") { + $vm_ref .= "cli-common (>= 0.5.1), "; + } + + #$deps .= join(", ", "", + # sort { + # # beautify the sort order, requested by meebey + # my $apkg; + # $a =~ /^\S+/; + # $apkg=$&; + # $b =~ /^\S+/; + # if($apkg eq $&) { + # return -1 if( ($a=~/>=/) && ($b=~/<=/) && ($a=~/<) { + if (/^shlibs:Depends=(.*)\n?/) { + for (split(/\s*,\s*/, $1)) { + delete $packagesFiltered{$_}; + } + } + } + close($fh); + } else { + verbose_print("Could not read $pwd/debian/$package.substvars"); + } + } + + return [ keys %packagesFiltered ]; +} + +sub loadDllMap { + my $filename = shift; + our $dllmapdata = shift; + if (!-f $filename) { + verbose_print("loadDllMap(): DLL map $filename not found, ignoring..."); + return; + } + + use XML::DOM; + my $parser = new XML::DOM::Parser; + my $doc = $parser->parsefile($filename, whitespace => 'strip'); + my $root = $doc->getDocumentElement(); + my @mapentries = $root->getElementsByTagName("dllmap"); + foreach my $mapentry (@mapentries) { + my $dll = $mapentry->getAttribute("dll"); + my $target = $mapentry->getAttribute("target"); + #verbose_print("DLL map: '$dll' target: '$target'"); + $dllmapdata->{$dll} = $target; + } +} + +sub loadOverrides { + my $package = shift; + my $overridedata = shift; + + # load clideps overrides + verbose_print("Loading clideps-override for $package..."); + my $fh; + open($fh, "cat $pwd/debian/$package.clideps-override 2> /dev/null |"); + while (<$fh>) { + /(\S+)\s+(\S+)(?:\s+(\(\S+\s+\S+\)))?\n?/; + my ($type, $package, $version); + $type = $1; + $package = $2; + $version = $3 if defined($3); + if ($version) { + $overridedata->{$package} = $type." ".$version; + } else { + $overridedata->{$package} = $type; + } + } + close($fh); +} + +sub resolveOverride { + my $package = shift; + my $pkgref = shift; + my %ret = ( depends => undef, + recommends => undef, + suggests => undef ); + + my $type = "depends"; + my $newpkgref = $pkgref; + $newpkgref =~ m/(\S+)(?:\s+(\(\S+\s+\S+\)))?/; + my $pkgname = $1; + my $ver = $2; + # hack for libc6, + # for ia64 and alpha the package name is libc6.1, + # for kfreebsd-i386 and kfreebsd-amd64 it is libc0.1 + if ($pkgname =~ m/^libc[06]/) { + $newpkgref = "libc6 $ver | libc6.1 $ver | libc0.1 $ver"; + } + + my %overridedata; + loadOverrides($package, \%overridedata); + if (defined($overridedata{$pkgname})) { + verbose_print("Found clideps-override: $pkgname for: $package"); + + my $override = $overridedata{$pkgname}; + $override =~ m/(\S+)(?:\s+(\(\S+\s+\S+\)))?/; + if ($1 eq "suggests" || + $1 eq "recommends") { + $type = $1; + } elsif ($1 eq "ignores") { + } else { + warning("Warning: unknown override type: $1 in: '$override' for: $package!"); + } + + if (defined($2)) { + $newpkgref = "$pkgname $2"; + } else { + $newpkgref = $pkgref; + } + } + verbose_print("resolved pkgref: $pkgref to $type: $newpkgref"); + $ret{$type} = $newpkgref; + + return %ret; +} + +sub resolveClilibRefs { + my $package = shift; + my $tmp = shift; + my $assembly_filename = shift; + my %ret = ( depends => [], + recommends => [], + suggests => [] ); + + my (undef, $tmpfile) = File::Temp::tempfile("/tmp/".basename($0).".XXXX", UNLINK => 1); + my $command = "LANG=C $cli_parser_paths MONO_GAC_PREFIX=\$MONO_GAC_PREFIX:$tmp/usr $cli_parser --assemblyref $assembly_filename 2>&1 > $tmpfile"; + verbose_print("running CLI parser command: $command"); + + system($command); + if ($?) { + my $output; + { + local *F; + open(F, $tmpfile); + local $/; + $output = ; + close(F); + } + error("cli_parser call failed: '".$command."' rc: $? output: $output"); + return; + } + + my ($ver, $name, $key); + local *F; + open(F, $tmpfile); + while () { + $ver = $1 if /Version=(.*)\n/; + $name = $1 if /Could not find assembly ([^,]+),/; + $name = $1 if /Name=(.*)\n/; + $ver = "$1.$2" if /Major\/Minor:\s*(\d+),(\d+)/; + $ver .= ".$1.$2" if /Build:\s*(\d+),(\d+)/; + + if (/0x\S+:.([ABCDEF0123456789 ]+)\n/ || /Token:\s*(\w+)/) { + $key = $1; + $key =~ s/\ //g; + $key = $ver . "__" . lc($key); + my $compat = "$name/$key"; + if (!defined($clilibdata{$compat})) { + warning("Warning: No Debian dependency data for $name ($key)!"); + } else { + my $pkgref = $clilibdata{$compat}; + my %overriddenRef = resolveOverride($package, $pkgref); + push(@{$ret{depends}}, $overriddenRef{depends}); + push(@{$ret{recommends}}, $overriddenRef{recommends}); + push(@{$ret{suggests}}, $overriddenRef{suggests}); + } + + if ($name eq "mscorlib") { + if ($ver eq "1.0.5000.0") { + $needs_net_1_0 = 1; + } elsif ($ver eq "2.0.3600.0") { + $needs_net_2_0 = 1; + } elsif ($ver eq "2.0.0.0") { + $needs_net_2_0 = 1; + } elsif ($ver eq "2.1.0.0") { + $needs_net_2_1 = 1; + } else { + warning("Warning: Unknown mscorlib version: $ver!"); + } + } + } + } + close(F); + + return %ret; +} + +sub resolveShlibRefs { + my $package = shift; + my $assembly_filename = shift; + my $config_filename = $assembly_filename.".config"; + my %ret = ( depends => [], + recommends => [], + suggests => [] ); + if (-r $config_filename) { + verbose_print("Found DLL map: $config_filename"); + } else { + verbose_print("Found no specific DLL map, but resolving modulerefs anyway"); + } + + # load dll maps + verbose_print("Loading DLL maps for: $assembly_filename..."); + my %dllmapdata; + loadDllMap("/etc/mono/config", \%dllmapdata); + loadDllMap("$pwd/debian/tmp/etc/mono/config", \%dllmapdata); + loadDllMap($config_filename, \%dllmapdata); + + # parse modulerefs + my (undef, $tmpfile) = File::Temp::tempfile("/tmp/".basename($0).".XXXX", UNLINK => 1); + my $command = "LANG=C $cli_parser_paths $cli_parser --moduleref $assembly_filename 2>&1 > $tmpfile"; + + system($command); + if ($?) { + my $output; + { + local *F; + open(F, $tmpfile); + local $/; + $output = ; + close(F); + } + error("cli_parser call failed: '".$command."' rc: $? output: $output"); + return; + } + + local *F; + open(F, $tmpfile); + while () { + my $name = $1 if /\d+:\s+(.*)\n/; + if (!defined($name)) { + next; + } + my $target = $dllmapdata{$name}; + + if (defined($target)) { + $target = basename($target); + verbose_print("Resolved moduleref via DLL map: $name to: $target"); + } elsif (defined($shlibdata{$name})) { + verbose_print("Resolved moduleref via direct match in shlibs"); + } else { + warning("Warning: Could not resolve moduleref: $name for: $assembly_filename!"); + next; + } + + my $pkgref; + if (defined($target) && defined($shlibdata{$target})) { + $pkgref = $shlibdata{$target}; + } elsif (defined($shlibdata{$name})) { + $pkgref = $shlibdata{$name}; + } elsif (defined($target) && defined($shlibdata{$target.".0"})) { + # for DLL maps that have an unversioned library as target + $pkgref = $shlibdata{$target.".0"}; + } else { + warning("Warning: Missing shlibs entry: $target or $name for: $assembly_filename!"); + next; + } + + my %overriddenRef = resolveOverride($package, $pkgref); + push(@{$ret{depends}}, $overriddenRef{depends}); + push(@{$ret{recommends}}, $overriddenRef{recommends}); + push(@{$ret{suggests}}, $overriddenRef{suggests}); + } + close(F); + + return %ret; +} + +=head1 SEE ALSO + +L + +This program is a part of cli-common-dev. + +=head1 AUTHOR + +Mirco Bauer , Eduard Bloch , +partialy based on code from Brendan O'Dea and +Joey Hess . + +=cut --- mono-1.9.1+dfsg.orig/debian/libmono-sharpzip2.6-cil.install +++ mono-1.9.1+dfsg/debian/libmono-sharpzip2.6-cil.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/ICSharpCode.SharpZipLib/2.6.*/ +debian/tmp/usr/lib/mono/compat-2.0/ICSharpCode.SharpZipLib.dll --- mono-1.9.1+dfsg.orig/debian/libmono0.shlibs.in +++ mono-1.9.1+dfsg/debian/libmono0.shlibs.in @@ -0,0 +1,2 @@ +libmono 0 libmono0 (= _VERSION_) +libmono-profiler-cov 0 libmono0 (= _VERSION_) --- mono-1.9.1+dfsg.orig/debian/mono-2.0-service.install +++ mono-1.9.1+dfsg/debian/mono-2.0-service.install @@ -0,0 +1,2 @@ +debian/tmp/usr/bin/mono-service2 +debian/tmp/usr/lib/mono/2.0/mono-service.exe* --- mono-1.9.1+dfsg.orig/debian/libmono-ldap1.0-cil.install +++ mono-1.9.1+dfsg/debian/libmono-ldap1.0-cil.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/Novell.Directory.Ldap/1.0.*/ +debian/tmp/usr/lib/mono/1.0/Novell.Directory.Ldap.dll --- mono-1.9.1+dfsg.orig/debian/mono-2.0-service.manpages +++ mono-1.9.1+dfsg/debian/mono-2.0-service.manpages @@ -0,0 +1 @@ +debian/tmp/usr/share/man/man1/mono-service2.1 --- mono-1.9.1+dfsg.orig/debian/libmono-peapi1.0-cil.install +++ mono-1.9.1+dfsg/debian/libmono-peapi1.0-cil.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/PEAPI/1.0.*/ +debian/tmp/usr/lib/mono/1.0/PEAPI.dll --- mono-1.9.1+dfsg.orig/debian/libmono-peapi2.0-cil.install +++ mono-1.9.1+dfsg/debian/libmono-peapi2.0-cil.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/PEAPI/2.0.*/ +debian/tmp/usr/lib/mono/2.0/PEAPI.dll --- mono-1.9.1+dfsg.orig/debian/libmono-oracle2.0-cil.install +++ mono-1.9.1+dfsg/debian/libmono-oracle2.0-cil.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/System.Data.OracleClient/2.0.*/ +debian/tmp/usr/lib/mono/2.0/System.Data.OracleClient.dll --- mono-1.9.1+dfsg.orig/debian/libmono-corlib1.0-cil.install +++ mono-1.9.1+dfsg/debian/libmono-corlib1.0-cil.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/mono/1.0/mscorlib.dll* --- mono-1.9.1+dfsg.orig/debian/libmono-system-data2.0-cil.clideps-override +++ mono-1.9.1+dfsg/debian/libmono-system-data2.0-cil.clideps-override @@ -0,0 +1,2 @@ +suggests libgda2-3 +suggests libglib2.0-0 --- mono-1.9.1+dfsg.orig/debian/libmono-system-data2.0-cil.install +++ mono-1.9.1+dfsg/debian/libmono-system-data2.0-cil.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/System.Data/2.0.*/ +debian/tmp/usr/lib/mono/2.0/System.Data.dll --- mono-1.9.1+dfsg.orig/debian/mono-jit.prerm +++ mono-1.9.1+dfsg/debian/mono-jit.prerm @@ -0,0 +1,7 @@ +#!/bin/sh -e + +if [ "$1" = remove ]; then + update-alternatives --remove cli /usr/bin/mono +fi + +#DEBHELPER# --- mono-1.9.1+dfsg.orig/debian/mono-jay.manpages +++ mono-1.9.1+dfsg/debian/mono-jay.manpages @@ -0,0 +1 @@ +debian/tmp/usr/share/man/man1/jay.1 --- mono-1.9.1+dfsg.orig/debian/libmono-i18n2.0-cil.install +++ mono-1.9.1+dfsg/debian/libmono-i18n2.0-cil.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/I18N*/2.0.*/ +debian/tmp/usr/lib/mono/2.0/I18N*.dll --- mono-1.9.1+dfsg.orig/debian/mono-mjs.manpages +++ mono-1.9.1+dfsg/debian/mono-mjs.manpages @@ -0,0 +1 @@ +debian/man/mjs.1 --- mono-1.9.1+dfsg.orig/debian/mono-1.0-devel.postinst +++ mono-1.9.1+dfsg/debian/mono-1.0-devel.postinst @@ -0,0 +1,16 @@ +#!/bin/sh +set -e + +update-alternatives \ + --install /usr/bin/cli-resgen resource-file-generator /usr/bin/resgen 10 \ + --slave /usr/share/man/man1/cli-resgen.1.gz cli-resgen.1.gz /usr/share/man/man1/resgen.1.gz + +update-alternatives \ + --install /usr/bin/cli-al assembly-linker /usr/bin/al 10 \ + --slave /usr/share/man/man1/cli-al.1.gz cli-al.1.gz /usr/share/man/man1/al.1.gz + +update-alternatives \ + --install /usr/bin/cli-sn strong-name-tool /usr/bin/sn 10 \ + --slave /usr/share/man/man1/cli-sn.1.gz cli-sn.1.gz /usr/share/man/man1/sn.1.gz + +#DEBHELPER# --- mono-1.9.1+dfsg.orig/debian/mono-1.0-service.manpages +++ mono-1.9.1+dfsg/debian/mono-1.0-service.manpages @@ -0,0 +1 @@ +debian/tmp/usr/share/man/man1/mono-service.1 --- mono-1.9.1+dfsg.orig/debian/libmono-bytefx0.7.6.2-cil.clideps-override +++ mono-1.9.1+dfsg/debian/libmono-bytefx0.7.6.2-cil.clideps-override @@ -0,0 +1 @@ +suggests libmono-winforms2.0-cil --- mono-1.9.1+dfsg.orig/debian/cli.binfmt +++ mono-1.9.1+dfsg/debian/cli.binfmt @@ -0,0 +1,4 @@ +package mono-common +detector /usr/lib/cli/binfmt-detector-cli +interpreter /usr/bin/cli +magic MZ --- mono-1.9.1+dfsg.orig/debian/libmono-c5-1.0-cil.install +++ mono-1.9.1+dfsg/debian/libmono-c5-1.0-cil.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/Mono.C5/1.0.*/ +debian/tmp/usr/lib/mono/2.0/Mono.C5.dll --- mono-1.9.1+dfsg.orig/debian/libmono-system-messaging1.0-cil.clideps-override +++ mono-1.9.1+dfsg/debian/libmono-system-messaging1.0-cil.clideps-override @@ -0,0 +1 @@ +suggests libmono-winforms1.0-cil --- mono-1.9.1+dfsg.orig/debian/autogen.sh +++ mono-1.9.1+dfsg/debian/autogen.sh @@ -0,0 +1,142 @@ +#!/bin/sh +# Run this to generate all the initial makefiles, etc. +# Ripped off from GNOME macros version + +DIE=0 + +srcdir=`dirname $0` +test -z "$srcdir" && srcdir=. + +if [ -n "$MONO_PATH" ]; then + # from -> /mono/lib:/another/mono/lib + # to -> /mono /another/mono + for i in `echo ${MONO_PATH} | tr ":" " "`; do + i=`dirname ${i}` + if [ -n "{i}" -a -d "${i}/share/aclocal" ]; then + ACLOCAL_FLAGS="-I ${i}/share/aclocal $ACLOCAL_FLAGS" + fi + if [ -n "{i}" -a -d "${i}/bin" ]; then + PATH="${i}/bin:$PATH" + fi + done + export PATH +fi + +(autoconf --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "**Error**: You must have \`autoconf' installed to compile Mono." + echo "Download the appropriate package for your distribution," + echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/" + DIE=1 +} + +if [ -z "$LIBTOOL" ]; then + LIBTOOL=`which glibtool 2>/dev/null` + if [ ! -x "$LIBTOOL" ]; then + LIBTOOL=`which libtool` + fi +fi + +(grep "^AM_PROG_LIBTOOL" $srcdir/configure.in >/dev/null) && { + ($LIBTOOL --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "**Error**: You must have \`libtool' installed to compile Mono." + echo "Get ftp://ftp.gnu.org/pub/gnu/libtool-1.2d.tar.gz" + echo "(or a newer version if it is available)" + DIE=1 + } +} + +grep "^AM_GNU_GETTEXT" $srcdir/configure.in >/dev/null && { + grep "sed.*POTFILES" $srcdir/configure.in >/dev/null || \ + (gettext --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "**Error**: You must have \`gettext' installed to compile Mono." + echo "Get ftp://alpha.gnu.org/gnu/gettext-0.10.35.tar.gz" + echo "(or a newer version if it is available)" + DIE=1 + } +} + +(automake --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "**Error**: You must have \`automake' installed to compile Mono." + echo "Get ftp://ftp.gnu.org/pub/gnu/automake-1.3.tar.gz" + echo "(or a newer version if it is available)" + DIE=1 + NO_AUTOMAKE=yes +} + + +# if no automake, don't bother testing for aclocal +test -n "$NO_AUTOMAKE" || (aclocal --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "**Error**: Missing \`aclocal'. The version of \`automake'" + echo "installed doesn't appear recent enough." + echo "Get ftp://ftp.gnu.org/pub/gnu/automake-1.3.tar.gz" + echo "(or a newer version if it is available)" + DIE=1 +} + +if test "$DIE" -eq 1; then + exit 1 +fi + +if test -z "$*"; then + echo "**Warning**: I am going to run \`configure' with no arguments." + echo "If you wish to pass any to it, please specify them on the" + echo \`$0\'" command line." + echo +fi + +case $CC in +xlc ) + am_opt=--include-deps;; +esac + + +if grep "^AM_PROG_LIBTOOL" configure.in >/dev/null; then + if test -z "$NO_LIBTOOLIZE" ; then + echo "Running libtoolize..." + ${LIBTOOL}ize --force --copy + fi +fi + +echo "Running aclocal $ACLOCAL_FLAGS ..." +aclocal $ACLOCAL_FLAGS || { + echo + echo "**Error**: aclocal failed. This may mean that you have not" + echo "installed all of the packages you need, or you may need to" + echo "set ACLOCAL_FLAGS to include \"-I \$prefix/share/aclocal\"" + echo "for the prefix where you installed the packages whose" + echo "macros were not found" + exit 1 +} + +if grep "^AM_CONFIG_HEADER" configure.in >/dev/null; then + echo "Running autoheader..." + autoheader || { echo "**Error**: autoheader failed."; exit 1; } +fi + +echo "Running automake --gnu $am_opt ..." +automake --add-missing --gnu $am_opt || + { echo "**Error**: automake failed."; exit 1; } +echo "Running autoconf ..." +autoconf || { echo "**Error**: autoconf failed."; exit 1; } + +if test -d $srcdir/libgc; then + echo Running libgc/autogen.sh ... + (cd $srcdir/libgc ; NOCONFIGURE=1 ./autogen.sh "$@") + echo Done running libgc/autogen.sh ... +fi + + +conf_flags="--enable-maintainer-mode --enable-compile-warnings" #--enable-iso-c + +if test x$NOCONFIGURE = x; then + echo Running $srcdir/configure $conf_flags "$@" ... + $srcdir/configure $conf_flags "$@" \ + && echo Now type \`make\' to compile $PKG_NAME || exit 1 +else + echo Skipping configure process. +fi --- mono-1.9.1+dfsg.orig/debian/README.Debian +++ mono-1.9.1+dfsg/debian/README.Debian @@ -0,0 +1,107 @@ +Mono for Debian +--------------- + +1. Documentation can be found in the separated monodoc packages. + +2. Supported Processor Architectures for Mono 1.1.x (current) + JIT: + Linux/x86 + Linux/AMD64 + Linux/PPC + Linux/S390 (not functional) + Linux/ARM + Solaris/SPARC + + Interpreter (deprecated/unmaintained): + - + + Supported Processor Architectures for Mono 1.0.x (old) + JIT: + Linux/x86 + Linux/PPC + MacOS/PPC + + Interpreter (deprecated/unmaintained): + Linux/x86 + Linux/PPC + HP-UX/HPPA + S390 + StrongARM + Solaris/SPARC + Solaris/SPARC v9 + +3. Typical problems: +3a. Purge your ~/.wapi directory if you see messages like: + + ** (/tmp/hello.exe:23770): WARNING **: Shared memory sanity check + failed. + + ** (/tmp/hello.exe:23770): WARNING **: Failed to attach shared memory! + Falling back to non-shared handles + + Reason: + 02:00:00 < totte> .wapi is the shared memory file folder used to handle process.start and someother functions for our IO lib +3b. Question: + Mono does not work for me (wrong version of mscorlib reported) or + monodevelop breaks on start (MonoDevelop.Core.dll has incorrect + version...) + Answer: + Most likely you have compiled some old Mono version before and have + a funny mixture of upstream and Debian files in different versions. + Make sure that /usr/local does not appear in the output of the + following commands and remove the particular files in /usr/local/...: + + which mono + which mint + ldd $(which mono) + ls /usr/local/lib/Mono*dll + ls /usr/local/lib/System*dll + ls /usr/local/lib/I18*dll + (and maybe most other dll files there) + +4. (for developers) + The main coordination site of the maintainers is on + http://pkg-mono.alioth.debian.org/, more details can be found there. + CLI Policy for packaging Mono libraries/applications can be found on + http://pkg-mono.alioth.debian.org/cli-policy/ + An offline version is in /usr/share/doc/cli-common/ of the the cli-common package. + +----------------------------------------------------------------------------- + +PS: Some comparisons (not real benchmarks!), testing different +invocation methods: + + The "native" method via exec, binfmt_misc, binfmpt-support (Perl + script), binfmt-detector-cli: + +time for x in `seq 1000` ; do ./hello.exe > /dev/null; done + +real 3m2.969s +user 2m8.060s +sys 0m14.540s + + The shell wrapper method using mono: + +time for x in `seq 1000` ; do ./hello.sh > /dev/null; done + +real 2m43.146s +user 1m45.990s +sys 0m11.140s + + Using "cli-wrapper" with a symlink: + +time for x in `seq 1000` ; do ./hello > /dev/null; done + +real 2m23.958s +user 1m32.720s +sys 0m9.640s + + The "interpreter" method using mono: + +time for x in `seq 1000` ; do /usr/bin/cli ./hello.exe > /dev/null; done + +real 2m23.699s +user 1m33.140s +sys 0m8.920s + + Eduard Bloch -- Sat, 19 Jun 2004 02:28:40 +0200 --- mono-1.9.1+dfsg.orig/debian/libmono-microsoft8.0-cil.install +++ mono-1.9.1+dfsg/debian/libmono-microsoft8.0-cil.install @@ -0,0 +1,6 @@ +debian/tmp/usr/lib/mono/gac/Microsoft.JScript/8.0.*/ +debian/tmp/usr/lib/mono/gac/Microsoft.VisualC/8.0.*/ +debian/tmp/usr/lib/mono/gac/Microsoft.Vsa/8.0.*/ +debian/tmp/usr/lib/mono/2.0/Microsoft.JScript.dll +debian/tmp/usr/lib/mono/2.0/Microsoft.VisualC.dll +debian/tmp/usr/lib/mono/2.0/Microsoft.Vsa.dll --- mono-1.9.1+dfsg.orig/debian/libmono-system-data1.0-cil.clideps-override +++ mono-1.9.1+dfsg/debian/libmono-system-data1.0-cil.clideps-override @@ -0,0 +1,2 @@ +suggests libgda2-3 +suggests libglib2.0-0 --- mono-1.9.1+dfsg.orig/debian/mono-utils.postinst +++ mono-1.9.1+dfsg/debian/mono-utils.postinst @@ -0,0 +1,7 @@ +#!/bin/sh -e + +update-alternatives \ + --install /usr/bin/cli-ildasm cil-disassembler /usr/bin/monodis 10 \ + --slave /usr/share/man/man1/cli-ildasm.1.gz cli-ildasm.1.gz /usr/share/man/man1/monodis.1.gz + +#DEBHELPER# --- mono-1.9.1+dfsg.orig/debian/libmono-bytefx0.7.6.1-cil.clideps-override +++ mono-1.9.1+dfsg/debian/libmono-bytefx0.7.6.1-cil.clideps-override @@ -0,0 +1 @@ +suggests libmono-winforms1.0-cil --- mono-1.9.1+dfsg.orig/debian/mono-utils.install +++ mono-1.9.1+dfsg/debian/mono-utils.install @@ -0,0 +1,5 @@ +debian/tmp/usr/bin/pedump +debian/tmp/usr/bin/monodis /usr/bin/ +debian/tmp/usr/bin/monograph +debian/tmp/usr/bin/mono-find-provides +debian/tmp/usr/bin/mono-find-requires --- mono-1.9.1+dfsg.orig/debian/libmono-accessibility2.0-cil.install +++ mono-1.9.1+dfsg/debian/libmono-accessibility2.0-cil.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/Accessibility/2.0.*/ +debian/tmp/usr/lib/mono/2.0/Accessibility.dll --- mono-1.9.1+dfsg.orig/debian/libmono-mozilla0.2-cil.install +++ mono-1.9.1+dfsg/debian/libmono-mozilla0.2-cil.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/Mono.Mozilla/0.2.0.0__*/ +debian/tmp/usr/lib/mono/2.0/Mono.Mozilla.dll --- mono-1.9.1+dfsg.orig/debian/control +++ mono-1.9.1+dfsg/debian/control @@ -0,0 +1,1247 @@ +Source: mono +Section: interpreters +Priority: optional +Maintainer: Ubuntu Mono Team +XSBC-Original-Maintainer: Debian Mono Group +Uploaders: Mirco Bauer , Sebastian Dröge +Build-Depends: debhelper (>= 5.0.0), dpkg-dev (>= 1.13.19), libglib2.0-dev (>= 2.4), bison, libtool, dpatch, libxml-dom-perl, libxslt1-dev, dc, libx11-dev, libxt-dev, zlib1g-dev +Build-Depends-Indep: libgamin-dev, libcups2-dev, librsvg2-dev, libgtk2.0-dev, libgnomeui-dev +Standards-Version: 3.7.3 +Homepage: http://www.mono-project.com/ +Vcs-Svn: svn://svn.debian.org/svn/pkg-mono/mono/trunk +Vcs-Browser: http://svn.debian.org/wsvn/pkg-mono/mono/trunk/ + +Package: mono-common +Architecture: i386 kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm armeb armel sparc s390 lpia +Depends: ${shlibs:Depends}, ${misc:Depends} +Recommends: binfmt-support (>= 1.1.2) +Description: common files for Mono + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains base configuration files and configures the + system to run CIL executables like native applications. + +Package: mono-runtime +Provides: cli-runtime +Architecture: i386 kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm armeb armel sparc s390 lpia +Depends: mono-jit (= ${binary:Version}), mono-gac (= ${source:Version}) +Description: Mono runtime + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package is a meta package and pulls the VM and the GAC in. + +Package: mono-jit +Provides: cli-virtual-machine +Architecture: i386 kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm armeb armel sparc s390 lpia +Suggests: xdg-utils | libgnome2-0 | konqueror +Depends: ${shlibs:Depends}, ${misc:Depends}, mono-common (= ${binary:Version}) +Description: fast CLI JIT/AOT compiler for Mono + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Virtual Execution Environment and the JIT + (Just-in-Time) and AOT (Ahead-of-Time) code generator "mono". + "mono" runs CLI applications, which is currently only available for i386, + powerpc, arm, amd64 kfreebsd-amd64 and ia64 architectures. + +Package: mono-jit-dbg +Priority: extra +Architecture: i386 kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm armeb armel sparc s390 lpia +Depends: mono-jit (= ${binary:Version}) +Recommends: gdb +Description: fast CLI JIT/AOT compiler for Mono, debugging symbols + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the debugging symbols of the Mono JIT/AOT compiler. + +Package: mono-utils +Provides: cil-disassembler +Section: devel +Architecture: i386 kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm armeb armel sparc s390 lpia +Replaces: mono-mcs (<= 1.1.6-4) +Depends: ${shlibs:Depends}, ${misc:Depends}, libmono0 (<< ${mono:next-upversion}), libmono-corlib1.0-cil +Suggests: libmono-corlib2.0-cil +Description: Mono utilities + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package includes various tools useful for CLI developers, like + dh_installxsp, pedump, monodiet, monodis and monograph. + +Package: libmono0 +Section: libs +Architecture: i386 kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm armeb armel sparc s390 lpia +Replaces: libmono-dev (<= 1.1.6-4) +Conflicts: mono-utils (<< 1.2.3.1-4) +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: libraries for the Mono JIT + Shared libraries for Mono, used for embedding/hosting of the JIT. + The package also contains libmono-profiler-cov used for optimisation work. + . + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + +Package: libmono0-dbg +Priority: extra +Section: libdevel +Architecture: i386 kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm armeb armel sparc s390 lpia +Depends: libmono0 (= ${binary:Version}) +Recommends: gdb +Description: libraries for the Mono JIT, debugging symbols + This package contains the debugging symbols of the Mono JIT libraries. + . + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + +Package: libmono-dev +Section: libdevel +Architecture: i386 kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm armeb armel sparc s390 lpia +Depends: libmono0 (= ${binary:Version}), libglib2.0-dev +Description: libraries for the Mono JIT - Development files + Header files and static libraries for libmono and libmono-profiler-conv. + . + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + +Package: libmono1.0-cil +Section: libs +Architecture: all +Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono libraries (1.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono libraries. + +Package: libmono2.0-cil +Section: libs +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono libraries (2.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono libraries. + +Package: libmono-c5-1.0-cil +Section: libs +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono C5 library + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono C5 library. + +Package: libmono-mozilla0.2-cil +Section: libs +Architecture: all +Replaces: libmono-mozilla0.1-cil +Depends: ${cli:Depends} +Suggests: libgluezilla +Description: Mono Mozilla library + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the implementation of the WebControl class based on the + Mozilla engine using libgluezilla. + +Package: libmono-nunit2.2-cil +Section: libs +Architecture: all +Provides: libnunit2.2-cil +Conflicts: libnunit2.2-cil +Depends: ${cli:Depends} +Description: Mono Unit test framework for CLI + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains NUnit which is a unit testing framework. It serves the + same purpose as JUnit does in the Java world. It supports test categories, + testing for exceptions and writing test results in plain text or XML. + +Package: libmono-corlib1.0-cil +Section: libs +Architecture: all +Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6) +Conflicts: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6) +Depends: mono-jit (>= ${mono:upversion}), mono-jit (<< ${mono:next-upversion}) +Recommends: libmono-i18n1.0-cil +Description: Mono core library (1.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Core Library (mscorlib.dll) of Mono which is the + glue between the BCL (Base Class Libraries) and the JIT. + +Package: libmono-corlib2.0-cil +Section: libs +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6) +Conflicts: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6) +Depends: mono-jit (>= ${mono:upversion}), mono-jit (<< ${mono:next-upversion}) +Recommends: libmono-i18n2.0-cil +Description: Mono core library (2.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Core Library (mscorlib.dll) of Mono which is the + glue between the BCL (Base Class Libraries) and the JIT. + +Package: libmono-corlib2.1-cil +Section: libs +Architecture: all +Depends: mono-jit (>= ${mono:upversion}), mono-jit (<< ${mono:next-upversion}) +Description: Mono core library (2.1) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Core Library (mscorlib.dll) of Mono which is the + glue between the BCL (Base Class Libraries) and the JIT. + +Package: libmono-i18n1.0-cil +Section: libs +Architecture: all +Replaces: libmono-corlib1.0-cil (<< 1.2.6-1) +Depends: ${cli:Depends} +Description: Mono I18N libraries (1.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains I18N libraries containing code pages definitions. + +Package: libmono-i18n2.0-cil +Section: libs +Architecture: all +Replaces: libmono-corlib2.0-cil (<< 1.2.6-1) +Depends: ${cli:Depends} +Description: Mono I18N libraries (2.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains I18N libraries containing code pages definitions. + +Package: libmono-system1.0-cil +Section: libs +Architecture: all +Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6) +Suggests: ${cli:Suggests} +Depends: ${cli:Depends}, mono-jit (>= ${mono:upversion}), mono-jit (<< ${mono:next-upversion}) +Description: Mono System libraries (1.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the BCL (Base Class Libraries) of Mono. + +Package: libmono-system2.0-cil +Section: libs +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6) +Suggests: ${cli:Suggests} +Depends: ${cli:Depends}, mono-jit (>= ${mono:upversion}), mono-jit (<< ${mono:next-upversion}) +Description: Mono System libraries (2.0) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the BCL (Base Class Libraries) of Mono. + +Package: libmono-system2.1-cil +Section: libs +Architecture: all +Suggests: ${cli:Suggests} +Depends: ${cli:Depends}, mono-jit (>= ${mono:upversion}), mono-jit (<< ${mono:next-upversion}) +Description: Mono System libraries (2.1) + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the BCL (Base Class Libraries) of Mono. + +Package: libmono-system-messaging1.0-cil +Section: libs +Architecture: all +Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6) +Suggests: ${cli:Suggests} +Depends: ${cli:Depends} +Description: Mono System.Messaging library + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono System.Messaging library version 1.0. + +Package: libmono-system-messaging2.0-cil +Section: libs +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6) +Suggests: ${cli:Suggests} +Depends: ${cli:Depends} +Description: Mono System.Messaging Library + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono System.Messaging library version 2.0. + +Package: libmono-security1.0-cil +Section: libs +Architecture: all +Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono Security library + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono Security library version 1.0. + +Package: libmono-security2.0-cil +Section: libs +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono Security library + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono Security library version 2.0. + +Package: libmono-data-tds1.0-cil +Section: libs +Architecture: all +Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono Data library + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono Data library version 1.0. + +Package: libmono-data-tds2.0-cil +Section: libs +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono Data Library + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono Data library version 2.0. + +Package: libmono-system-data1.0-cil +Section: libs +Architecture: all +Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6) +Suggests: ${cli:Suggests} +Depends: ${cli:Depends} +Description: Mono System.Data library + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono System.Data library version 1.0. + +Package: libmono-system-data2.0-cil +Section: libs +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6) +Suggests: ${cli:Suggests} +Depends: ${cli:Depends} +Description: Mono System.Data Library + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono System.Data library version 2.0. + +Package: libmono-system-web1.0-cil +Section: libs +Architecture: all +Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends}, mono-jit (>= ${mono:upversion}), mono-jit (<< ${mono:next-upversion}), libgdiplus +Description: Mono System.Web library + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono System.Web library version 1.0. + +Package: libmono-system-web2.0-cil +Section: libs +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends}, mono-jit (>= ${mono:upversion}), mono-jit (<< ${mono:next-upversion}), libgdiplus +Suggests: ${cli:Suggests} +Description: Mono System.Web Library + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono System.Web library version 2.0. + +Package: libmono-system-runtime1.0-cil +Section: libs +Architecture: all +Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono System.Runtime library + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono System.Runtime library version 1.0. + +Package: libmono-system-runtime2.0-cil +Section: libs +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono System.Runtime Library + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono System.Runtime library version 2.0. + +Package: libmono-system-ldap1.0-cil +Section: libs +Architecture: all +Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono System.DirectoryServices library + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono System.DirectoryServices library version 1.0. + +Package: libmono-system-ldap2.0-cil +Section: libs +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono System.DirectoryServices library + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono System.DirectoryServices library version 2.0. + +Package: libmono-winforms1.0-cil +Section: libs +Architecture: all +Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6) +Suggests: ${cli:Suggests}, shared-mime-info +Depends: ${cli:Depends}, libgdiplus +Description: Mono System.Windows.Forms library + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono System.Windows.Forms library version 1.0. + +Package: libmono-winforms2.0-cil +Section: libs +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6) +Suggests: ${cli:Suggests}, shared-mime-info +Depends: ${cli:Depends}, libgdiplus +Description: Mono System.Windows.Forms library + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono System.Windows.Forms library version 2.0. + +Package: libmono-cairo1.0-cil +Section: libs +Architecture: all +Replaces: mono-classlib-1.0 (<< 1.1.13.4-1), mono-classlib-1.0-dbg (<< 1.1.13.4-1) +Depends: ${cli:Depends} +Description: Mono Cairo library + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono Cairo library version 1.0. + +Package: libmono-cairo2.0-cil +Section: libs +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.4-1), mono-classlib-2.0-dbg (<< 1.1.13.4-1) +Depends: ${cli:Depends} +Description: Mono Cairo library + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono Cairo library version 2.0. + +Package: libmono-sharpzip0.6-cil +Section: libs +Architecture: all +Replaces: mono-classlib-1.0 (<< 1.1.13.4-1), mono-classlib-1.0-dbg (<< 1.1.13.4-1) +Depends: ${cli:Depends} +Description: Mono SharpZipLib library + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono SharpZipLib library version 0.6. + +Package: libmono-sharpzip0.84-cil +Section: libs +Architecture: all +Replaces: mono-classlib-1.0 (<< 1.1.13.4-1), mono-classlib-1.0-dbg (<< 1.1.13.4-1) +Depends: ${cli:Depends} +Description: Mono SharpZipLib library + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono SharpZipLib library version 0.84. + +Package: libmono-sharpzip2.6-cil +Section: libs +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.4-1), mono-classlib-2.0-dbg (<< 1.1.13.4-1) +Depends: ${cli:Depends} +Description: Mono SharpZipLib library + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono SharpZipLib library version 2.6. + +Package: libmono-sharpzip2.84-cil +Section: libs +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.4-1), mono-classlib-2.0-dbg (<< 1.1.13.4-1) +Depends: ${cli:Depends} +Description: Mono SharpZipLib library + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono SharpZipLib library version 2.84. + +Package: libmono-npgsql1.0-cil +Section: libs +Architecture: all +Replaces: mono-classlib-1.0 (<< 1.1.13.4-1), mono-classlib-1.0-dbg (<< 1.1.13.4-1) +Depends: ${cli:Depends} +Description: Mono Npgsql library + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono Npgsql library version 1.0. + +Package: libmono-npgsql2.0-cil +Section: libs +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.4-1), mono-classlib-2.0-dbg (<< 1.1.13.4-1) +Depends: ${cli:Depends} +Description: Mono Npgsql library + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono Npgsql library version 2.0. + +Package: libmono-bytefx0.7.6.1-cil +Section: libs +Architecture: all +Replaces: mono-classlib-1.0 (<< 1.1.13.4-1), mono-classlib-1.0-dbg (<< 1.1.13.4-1) +Depends: ${cli:Depends} +Description: Mono ByteFX.Data library + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono ByteFX.Data library version 0.7.6.1. + +Package: libmono-bytefx0.7.6.2-cil +Section: libs +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.4-1), mono-classlib-2.0-dbg (<< 1.1.13.4-1) +Depends: ${cli:Depends} +Description: Mono ByteFX.Data library + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono ByteFX.Data library version 0.7.6.2. + +Package: libmono-firebirdsql1.7-cil +Section: libs +Architecture: all +Replaces: mono-classlib-1.0 (<< 1.1.13.4-1), mono-classlib-2.0 (<< 1.1.13.4-1), mono-classlib-2.0-dbg (<< 1.1.13.4-1) +Depends: ${cli:Depends} +Description: Mono FirebirdSql library + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono FirebirdSql library. + +Package: libmono-db2-1.0-cil +Section: libs +Architecture: all +Depends: ${cli:Depends} +Description: Mono DB2 library + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono DB2 library. + +Package: libmono-oracle1.0-cil +Section: libs +Architecture: all +Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono Oracle library + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono Oracle library version 1.0. + +Package: libmono-oracle2.0-cil +Section: libs +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono Oracle library + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono Oracle library version 2.0. + +Package: libmono-sqlite1.0-cil +Section: libs +Architecture: all +Replaces: mono-classlib-1.0 (<< 1.1.13.4-1), mono-classlib-1.0-dbg (<< 1.1.13.4-1) +Depends: ${cli:Depends} +Description: Mono Sqlite library + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono Sqlite library version 1.0. + +Package: libmono-sqlite2.0-cil +Section: libs +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.4-1), mono-classlib-2.0-dbg (<< 1.1.13.4-1) +Depends: ${cli:Depends} +Description: Mono Sqlite library + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono Sqlite library version 2.0. + +Package: libmono-accessibility1.0-cil +Section: libs +Architecture: all +Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono Accessibility library + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono Accessibility library version 1.0. + +Package: libmono-accessibility2.0-cil +Section: libs +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono Accessibility library + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono Accessibility library version 2.0. + +Package: libmono-cscompmgd7.0-cil +Section: libs +Architecture: all +Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono cscompmgd library + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono cscompmgd library version 7.0. + +Package: libmono-cscompmgd8.0-cil +Section: libs +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono cscompmgd library + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono cscompmgd library version 8.0. + +Package: libmono-ldap1.0-cil +Section: libs +Architecture: all +Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono LDAP library + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono LDAP library version 1.0. + +Package: libmono-ldap2.0-cil +Section: libs +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono LDAP library + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono LDAP library version 2.0. + +Package: libmono-microsoft-build2.0-cil +Section: libs +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono Microsoft.Build libraries + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono Microsoft.Build libraries version 2.0. + +Package: libmono-microsoft7.0-cil +Section: libs +Architecture: all +Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono Microsoft libraries + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono Microsoft libraries version 7.0. + +Package: libmono-microsoft8.0-cil +Section: libs +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono Microsoft libraries + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono Microsoft libraries version 8.0. + +Package: libmono-peapi1.0-cil +Section: libs +Architecture: all +Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono PEAPI library + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono PEAPI library version 1.0. + +Package: libmono-peapi2.0-cil +Section: libs +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono PEAPI library + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono PEAPI library version 2.0. + +Package: libmono-relaxng1.0-cil +Section: libs +Architecture: all +Replaces: mono-classlib-1.0 (<< 1.1.13.6), mono-classlib-1.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono Relaxng library + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono Relaxng library version 1.0. + +Package: libmono-relaxng2.0-cil +Section: libs +Architecture: all +Replaces: mono-classlib-2.0 (<< 1.1.13.6), mono-classlib-2.0-dbg (<< 1.1.13.6) +Depends: ${cli:Depends} +Description: Mono Relaxng library + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the Mono Relaxng library version 2.0. + +Package: mono-dbg +Priority: extra +Section: devel +Architecture: all +Recommends: mono-debugger +Replaces: libmono1.0-cil (<< 1.2.4-1), + libmono2.0-cil (<< 1.2.4-1), + libmono-c5-1.0-cil (<< 1.2.4-1), + libmono-corlib1.0-cil (<< 1.2.4-1), + libmono-corlib2.0-cil (<< 1.2.4-1), + libmono-system1.0-cil (<< 1.2.4-1), + libmono-system2.0-cil (<< 1.2.4-1), + libmono-system-messaging1.0-cil (<< 1.2.4-1), + libmono-system-messaging2.0-cil (<< 1.2.4-1), + libmono-security1.0-cil (<< 1.2.4-1), + libmono-security2.0-cil (<< 1.2.4-1), + libmono-data-tds1.0-cil (<< 1.2.4-1), + libmono-data-tds2.0-cil (<< 1.2.4-1), + libmono-system-data1.0-cil (<< 1.2.4-1), + libmono-system-data2.0-cil (<< 1.2.4-1), + libmono-system-web1.0-cil (<< 1.2.4-1), + libmono-system-web2.0-cil (<< 1.2.4-1), + libmono-system-runtime1.0-cil (<< 1.2.4-1), + libmono-system-runtime2.0-cil (<< 1.2.4-1), + libmono-system-ldap1.0-cil (<< 1.2.4-1), + libmono-system-ldap2.0-cil (<< 1.2.4-1), + libmono-winforms1.0-cil (<< 1.2.4-1), + libmono-winforms2.0-cil (<< 1.2.4-1), + libmono-cairo1.0-cil (<< 1.2.4-1), + libmono-cairo2.0-cil (<< 1.2.4-1), + libmono-sharpzip0.6-cil (<< 1.2.4-1), + libmono-sharpzip0.84-cil (<< 1.2.4-1), + libmono-sharpzip2.6-cil (<< 1.2.4-1), + libmono-sharpzip2.84-cil (<< 1.2.4-1), + libmono-npgsql1.0-cil (<< 1.2.4-1), + libmono-npgsql2.0-cil (<< 1.2.4-1), + libmono-bytefx0.7.6.1-cil (<< 1.2.4-1), + libmono-bytefx0.7.6.2-cil (<< 1.2.4-1), + libmono-firebirdsql1.7-cil (<< 1.2.4-1), + libmono-oracle1.0-cil (<< 1.2.4-1), + libmono-oracle2.0-cil (<< 1.2.4-1), + libmono-sqlite1.0-cil (<< 1.2.4-1), + libmono-sqlite2.0-cil (<< 1.2.4-1), + libmono-accessibility1.0-cil (<< 1.2.4-1), + libmono-accessibility2.0-cil (<< 1.2.4-1), + libmono-cscompmgd7.0-cil (<< 1.2.4-1), + libmono-cscompmgd8.0-cil (<< 1.2.4-1), + libmono-ldap1.0-cil (<< 1.2.4-1), + libmono-ldap2.0-cil (<< 1.2.4-1), + libmono-microsoft-build2.0-cil (<< 1.2.4-1), + libmono-microsoft7.0-cil (<< 1.2.4-1), + libmono-microsoft8.0-cil (<< 1.2.4-1), + libmono-peapi1.0-cil (<< 1.2.4-1), + libmono-peapi2.0-cil (<< 1.2.4-1), + libmono-relaxng1.0-cil (<< 1.2.4-1), + libmono-relaxng2.0-cil (<< 1.2.4-1), + mono-mcs (<< 1.2.4-1), + mono-mjs (<< 1.2.4-1), + mono-gmcs (<< 1.2.4-1), + mono-gac (<< 1.2.4-1) +Description: Mono debugging symbols + This package contains the debugging symbols of various libmono-* and mono-* + packages. + . + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + +Package: mono-mjs +Section: devel +Architecture: all +Depends: ${cli:Depends} +Replaces: mono-mcs (<< 1.2.5-1) +Description: Mono JScript compiler + This is the Mono JScript compiler, a platform-independent compiler which + produces CIL (Common Intermediate Language) binary executables. + . + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + +Package: mono-mcs +Section: devel +Architecture: all +Provides: c-sharp-compiler +Depends: ${cli:Depends} +Recommends: pkg-config +Description: Mono C# compiler for CLI 1.1 + This is the Mono C# (C-Sharp) compiler, a platform-independent compiler which + produces CIL (Common Intermediate Language) binary executables. + This compiler targets the CLI 1.1 runtime version. + . + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + +Package: mono-gmcs +Section: devel +Architecture: all +Provides: c-sharp-2.0-compiler, c-sharp-3.0-compiler +Depends: ${cli:Depends} +Recommends: pkg-config +Replaces: mono-mcs (>= 1.1.10), mono-mcs (<= 1.1.13) +Description: Mono C# 2.0 and C# 3.0 compiler for CLI 2.0 + This is the Mono C# (C-Sharp) 2.0 and C# 3.0 compiler, a platform-independent + compiler which produces CIL (Common Intermediate Language) binary executables. + The gmcs compiler supports two different featuresets (C# versions). + . + With C# 2.0 (which is the default) it supports: + - generics + - iterators (yield) + - nullable value types + - partial types + - anonymous methods + - static classes + - coalesce operator: ?? + . + With C# 3.0 it supports: + - Language Integrated Query (LINQ) + - object initializers + - collection initializers + - anonymous types + - local variable type inference + - implicitly-typed arrays + - lambda expressions + - automatic properties + - extension methods + - partial methods + . + This compiler targets the CLI 2.0 runtime version. + . + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + +Package: mono-smcs +Section: devel +Architecture: all +Depends: ${cli:Depends}, libmono-corlib2.1-cil, libmono-system2.1-cil +Recommends: pkg-config +Description: Mono C# 3.0 compiler for CLI 2.1 (Moonlight / Silverlight) + This is a special C# (C-Sharp) 3.0 compiler for Moonlight (Silverlight) + applications, a platform-independent compiler which + produces CIL (Common Intermediate Language) binary executables. + This compiler targets the CLI 2.1 runtime version, also known as Moonlight or + Silverlight. + . + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + +Package: mono-1.0-devel +Section: devel +Architecture: all +Provides: resource-file-generator, assembly-linker, strong-name-tool +Depends: ${cli:Depends} +Recommends: mono-mcs, libmono-dev, pkg-config +Replaces: mono-mcs (<< 1.2.6-1) +Description: Mono development tools for CLI 1.0 + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains various development tools for Mono targeting CLI 1.0. + +Package: mono-2.0-devel +Section: devel +Architecture: all +Depends: ${cli:Depends} +Recommends: mono-gmcs, libmono-dev, pkg-config +Replaces: mono-gmcs (<< 1.2.6-1), mono-common (<< 1.2.6-2) +Description: Mono development tools for CLI 2.0 + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains various development tools for Mono targeting CLI 2.0. + +Package: mono-1.0-service +Section: devel +Architecture: all +Depends: ${cli:Depends} +Replaces: mono-mcs (<< 1.2.6-1) +Description: Mono service manager for CLI 1.0 + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the mono-service manager, used to start and stop + services based on the System.ServiceProcess API. + +Package: mono-2.0-service +Section: devel +Architecture: all +Depends: ${cli:Depends} +Replaces: mono-gmcs (<< 1.2.6-1) +Description: Mono service manager for CLI 2.0 + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package contains the mono-service2 manager, used to start and stop + services based on the System.ServiceProcess API. + +Package: mono-xbuild +Section: devel +Architecture: all +Depends: ${cli:Depends} +Replaces: mono-gmcs (<< 1.2.6-1) +Description: Mono xbuild + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + xbuild is Mono's implementation of msbuild and allows projects that have a + msbuild file to be compiled natively on Linux. + . + Microsoft Build (msbuild) is a build system developed by Microsoft similar in + spirit to Nant (in that it uses XML files for describing the build process) + and in the same spirit as make. + . + http://www.mono-project.com/Microsoft.Build + +Package: mono-gac +Section: devel +Architecture: all +Depends: mono-jit (>= 1.0), ${cli:Depends} +Recommends: cli-common (>= 0.4.0) +Provides: global-assembly-cache-tool +Description: Mono GAC tool + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + This package includes the GAC (Global Assembly Cache) tool (gacutil) + used by Mono to store shared CIL (Common Intermediate Language) libraries. + +Package: mono-jay +Section: devel +Architecture: i386 kfreebsd-i386 powerpc amd64 kfreebsd-amd64 ia64 arm armeb armel sparc s390 lpia +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: LALR(1) parser generator oriented to Java/CLI + Mono is a platform for running and developing applications based on the + ECMA/ISO Standards. Mono is an open source effort led by Novell. + Mono provides a complete CLR (Common Language Runtime) including compiler and + runtime, which can produce and execute CIL (Common Intermediate Language) + bytecode (aka assemblies), and a class library. + . + Jay is a Yacc implementation oriented to Java-like input syntax. It + takes a grammar, specified in BNF and augmented with semantic actions, + and generates tables and an interpreter which recognizes the language + defined by the grammar and executes the semantic actions as their + corresponding phrases are recognized. + +Package: prj2make-sharp +Section: devel +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, ${cli:Depends}, pkg-config, libmono-dev +Description: Convert VS.NET solution files to Makefiles + prj2make-solution is a utility used to read a "solution" file created + with Visual Studio .NET and generate a usual Makefile suitable for + compilation with a C# compiler. --- mono-1.9.1+dfsg.orig/debian/mono-2.0-devel.install +++ mono-1.9.1+dfsg/debian/mono-2.0-devel.install @@ -0,0 +1,21 @@ +debian/tmp/etc/mono/mconfig +debian/tmp/usr/bin/al2 +debian/tmp/usr/bin/httpcfg +debian/tmp/usr/bin/ilasm2 +debian/tmp/usr/bin/mconfig +debian/tmp/usr/bin/mkbundle2 +debian/tmp/usr/bin/mono-api-info2 +debian/tmp/usr/bin/monop2 +debian/tmp/usr/bin/resgen2 +debian/tmp/usr/bin/sgen +debian/tmp/usr/bin/wsdl2 +debian/tmp/usr/lib/mono/2.0/al.exe +debian/tmp/usr/lib/mono/2.0/httpcfg.exe +debian/tmp/usr/lib/mono/2.0/ilasm.exe +debian/tmp/usr/lib/mono/2.0/mconfig.exe +debian/tmp/usr/lib/mono/2.0/mkbundle.exe +debian/tmp/usr/lib/mono/2.0/mono-api-info.exe +debian/tmp/usr/lib/mono/2.0/monop.exe +debian/tmp/usr/lib/mono/2.0/resgen.exe +debian/tmp/usr/lib/mono/2.0/sgen.exe +debian/tmp/usr/lib/mono/2.0/wsdl.exe --- mono-1.9.1+dfsg.orig/debian/mono-smcs.manpages +++ mono-1.9.1+dfsg/debian/mono-smcs.manpages @@ -0,0 +1 @@ +debian/tmp/usr/share/man/man1/smcs.1 --- mono-1.9.1+dfsg.orig/debian/libmono-corlib2.0-cil.install +++ mono-1.9.1+dfsg/debian/libmono-corlib2.0-cil.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/mono/2.0/mscorlib.dll* --- mono-1.9.1+dfsg.orig/debian/mono-utils.prerm +++ mono-1.9.1+dfsg/debian/mono-utils.prerm @@ -0,0 +1,7 @@ +#!/bin/sh -e + +if [ "$1" = remove ]; then + update-alternatives --remove cil-disassembler /usr/bin/monodis +fi + +#DEBHELPER# --- mono-1.9.1+dfsg.orig/debian/icu-test.cs +++ mono-1.9.1+dfsg/debian/icu-test.cs @@ -0,0 +1,11 @@ + +public class MainClass +{ + public static void Main() + { + System.Console.WriteLine("This should output (depending in your locales) something like:"); + System.Console.WriteLine("\"Thursday, 27 May 2004 22:14:01\""); + System.Console.WriteLine("Actual Output:"); + System.Console.WriteLine("\""+System.DateTime.Now.ToString("F")+"\""); + } +} --- mono-1.9.1+dfsg.orig/debian/libmono-winforms1.0-cil.clideps-override +++ mono-1.9.1+dfsg/debian/libmono-winforms1.0-cil.clideps-override @@ -0,0 +1,4 @@ +suggests libgtk2.0-0 +suggests libgnomeui-0 +suggests librsvg2-2 +suggests libglib2.0-0 --- mono-1.9.1+dfsg.orig/debian/mono.postinst +++ mono-1.9.1+dfsg/debian/mono.postinst @@ -0,0 +1,10 @@ +#!/bin/sh -e + +# if we're configuring, /usr/share/doc/mono is a directory, +# and isn't a symlink, replace it with a symlink to mono-common +if test "$1" = "configure" && test -d /usr/share/doc/mono && ! test -h /usr/share/doc/mono ; then + rmdir /usr/share/doc/mono + ln -s mono-common /usr/share/doc/mono +fi + +#DEBHELPER# --- mono-1.9.1+dfsg.orig/debian/libmono-i18n1.0-cil.install +++ mono-1.9.1+dfsg/debian/libmono-i18n1.0-cil.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/I18N*/1.0.*/ +debian/tmp/usr/lib/mono/1.0/I18N*.dll --- mono-1.9.1+dfsg.orig/debian/mono-1.0-service.install +++ mono-1.9.1+dfsg/debian/mono-1.0-service.install @@ -0,0 +1,2 @@ +debian/tmp/usr/bin/mono-service +debian/tmp/usr/lib/mono/1.0/mono-service.exe* --- mono-1.9.1+dfsg.orig/debian/dh_makeclilibs +++ mono-1.9.1+dfsg/debian/dh_makeclilibs @@ -0,0 +1,297 @@ +#!/usr/bin/perl -w + +=head1 NAME + +dh_makeclilibs - automatically create clilibs file + +=cut + +use strict; +use Debian::Debhelper::Dh_Lib; + +=head1 SYNOPSIS + +B [S>] [B<-r>] [B<-V>I<[dependancies]>] [B<-m>I] [B<-l>I] [B<-X>I] + +=head1 DESCRIPTION + +dh_makeclilibs is a debhelper program that automatically scans for +versioned CIL (.NET) assemblies, and generates a clilibs file for the +libraries it finds. + +By default, dh_makeclilibs scans the .dll files in the package +directories and writes the discovered compatibility data (major/minor, +build, token) to "clilibs" files in the appropriate packages. + +However, if a file like debian/package.clilibs is found, this one will +be installed and no scanning is performed. + +=head1 OPTIONS + +=over 4 + +=item B<-V>, B<-V>I + +=item B<--version-info>, B<--version-info=>I + +By default, the clilibs file generated by this program does not make packages +depend on any particular version of the package containing the assembly. +It may be necessary for you to add some version dependency +information to the clilibs file. If -V is specified with no dependency +information, the current version of the package is plugged into a +dependency that looks like "packagename (>= packageversion)". If -V is +specified with parameters, the parameters can be used to specify the exact +dependency information needed (be sure to include the package name). + +Beware of using -V without any parameters; this is a conservative setting +that always ensures that other packages' shared library dependencies are at +least as tight as they need to be, so that if the maintainer screws up then +they won't break. The flip side is that packages might end up with +dependencies that are too tight and so find it harder to be upgraded. + +=item B<-m>I + +Like -V, but specifies only the version string, the package name comes +from the package that is actually processed. This option is more +flexible if you try to set a range of valid versions for different +assembly packages coming from one source package. + +=item B<-l>I + +Specifies the (expected) version of this package when the compatibility +to the current assemblies will break. + +=item B<-r> + +An experimental option to automaticaly guess the next incompatible +upstream version and insert them (like working with -l and -m options, +see above). Do not expect the guessed values to be always correct - +normally, the usualy assumed version string has the form +generation.major.minor where versions with changes in "minor" are +compatible and "major" versions break with compatibility. + +=item B<-X>I, B<--exclude=>I + +Exclude files that contain "item" anywhere in their filename or directory +from being treated as shared libraries. + +=item B + +Uses the Mono runtime in . (used for bootstrapping Mono packages) + +=back + +=head1 EXAMPLES + + dh_makeclilibs + +Assuming this is a package named libfoobar0.9x-cil, generates a clilibs file that +looks something like: + libfoobar 1.0.2345.0_23a12f34 libfoobar0.9x-cil + + dh_makeclilibs -V + +Assuming the current version of the package is 0.93-3, generates a clilibs +file that looks something like: + libfoobar 1.0.2345.0_23a12f34 libfoobar0.9x-cil (>= 0.93-3) + + dh_makeclilibs -V 'libfoobar0.9x-cil (>= 0.92)' + +Generates a clilibs file that looks something like: + libfoobar 1.0.2345.0_23a12f34 libfoobar0.9x-cil (>= 0.92) + +Assuming that your package creates libfoobar-cil and liblafasel-cil, +which are compatible to 0.92 versions but the upstream is going to break +compatibility in the next version, 0.94: + + dh_makeclilibs -m 0.92 -l 0.94 + +Generates clilibs file that looks something like: + + libfoobar 1.0.2345.0_23a12f34 libfoobar-cil (>= 0.92), libfoobar-cil (<< 0.94) + +and + + liblafasel 1.0.2345.0_23a12f34 liblafasel-cil (>= 0.92), liblafasel-cil (<< 0.94) + +=cut + +init(); + +my $clr; +my $cli = '/usr/bin/cli'; +my $cli_version = `$cli --version 2>&1`; +my $cli_parser; +my $sn = 'sn'; + +if (defined($ARGV[0]) && $ARGV[0] eq "internal-mono") { + $clr = "mono"; + my $mono_path = "LD_LIBRARY_PATH=debian/tmp/usr/lib MONO_PATH=debian/tmp/usr/lib/mono/1.0:debian/tmp/usr/lib/mono/2.0"; + $cli_parser = "$mono_path debian/tmp/usr/bin/monodis"; + $sn = "$mono_path debian/tmp/usr/bin/mono debian/tmp/usr/lib/mono/1.0/sn.exe"; + verbose_print("Will use build Mono (debian/tmp/usr/bin/monodis) for CIL parsing."); +} elsif (-x "/usr/bin/monodis") { + $clr = "mono"; + $cli_parser = "/usr/bin/monodis"; + verbose_print("Will use Mono (/usr/bin/monodis) for CIL parsing."); +} elsif (-x "/usr/bin/ildasm") { + $clr = "pnet"; + $cli_parser = "/usr/share/cli-common/ildasm-monodis"; + verbose_print("Will use Portable.NET (/usr/bin/ildasm) for CIL parsing."); +} else { + error("Could not find a CIL disassembler, aborting."); +} + +{ + local $/=""; + open(FILE, 'debian/control'); + my @filedata = ; + close FILE; + if (!($filedata[0] =~ /Build-Depends(-Indep)?: .*cli-common-dev \(>= 0\.4\.4\)/)) { + warning("Warning! No Build-Depends(-Indep) on cli-common-dev (>= 0.4.4)!"); + } +} + +my $fh; +my %shlibdata; + +foreach my $package (@{$dh{DOPACKAGES}}) { + next if is_udeb($package); + + my $tmp = tmpdir($package); + + my %seen; + my $need_ldconfig = 0; + + doit("rm", "-f", "$tmp/DEBIAN/clilibs"); + if (-e "debian/$package.clilibs" ) { + complex_doit("cat debian/$package.clilibs > $tmp/DEBIAN/clilibs"); + } else { + # So, we look for files or links to existing files with names that + # match "*.so*". Matching *.so.* is not good enough because of + # broken crap like db3. And we only look at real files not + # symlinks, so we don't accidentually add clilibs data to -dev + # packages. This may have a few false positives, which is ok, + # because only if we can get a library name and a major number from + # objdump is anything actually added. + my $exclude = ''; + if (defined($dh{EXCLUDE_FIND}) && $dh{EXCLUDE_FIND} ne '') { + $exclude = "! \\( $dh{EXCLUDE_FIND} \\) "; + } + open(FIND, "find $tmp -type f \\( -name '*.dll' \\) $exclude |"); + + dll: + while () { + chomp; + my ($library, $ver, $libfile); + $libfile = $_; + my $sig = `$sn -T $_ 2> /dev/null`; + $sig =~ s/.*key token: (\w+).*/$1/is; + if ($sig=~/\s/) { + warning "$libfile has no valid signature, ignoring"; + next dll; + } + my $dis = `$cli_parser --assembly $libfile 2>&1`; + if ($dis =~ m/Name:\s+(\S+)/) { + $library = $1; + $dis =~ m/Version:\s+(\S+)/; + $ver = $1; + } else { + # completely broken code, we need a mature app not + # depending on assembly loading + # verbose_print("trouble parsing monodis output, components not installed? Fallback to parsing the pure monodis output."); + # $dis = `monodis $libfile 2>&1`; + # $dis =~ /^module (\S+)/is; + # $library = $1; + # $library =~ s/'|"//; + warning("$cli_parser could not open $libfile, maybe some components not installed yet. Using filename to guess the assembly name :("); + $libfile=~ m,/(\d+\.\d+.\d+.\d+)__(\w+)/([^/]+)\.dll$,is; + next dll if (!($1 && $2 && $3)); + $ver=$1; + $sig=$2; + $library=$3; + } + + if (!-d "$tmp/DEBIAN") { + doit("install", "-d", "$tmp/DEBIAN"); + } + my $deps = $package; + + # Call isnative becuase it sets $dh{VERSION} + # as a side effect. + isnative($package); + my $version = $dh{VERSION}; + + # Old compatibility levels include the + # debian revision, while new do not. + if (!compat(3)) { + # Remove debian version, if any. + $version =~ s/-[^-]+$//; + } + + if (defined($dh{M_PARAMS}) && $dh{M_PARAMS} ne '') { + $version = $dh{M_PARAMS}; + } + if ($dh{V_FLAG_SET}) { + if ( $dh{V_FLAG} ne '' ) { + $deps = $dh{V_FLAG}; + } else { + $deps = "$package (>= $version)"; + } + } + if (defined( $dh{R_FLAG})) { + $version =~ s/-[^-]+$//; + my @uvers = split ( /\./, $version ); + $uvers[1]++; + $deps = "$package (>= $version), $package (<< ".join(".", @uvers).")"; + } + if (defined( $dh{M_PARAMS})) { + $deps = "$package (>= ".$dh{M_PARAMS}.")"; + } + if (defined( $dh{L_PARAMS})) { + $deps .= ", $package (<< ".$dh{L_PARAMS}.")"; + } + if (defined($library) && + defined($ver) && + defined($deps) && + $library ne '' && + $ver ne '' && + $deps ne '') { + # Prevent duplicate lines from entering the file. + my $line = "$library $ver" . "__$sig $deps"; + + # extra dependencies are to be resolved by dh_clideps, + # don't forward the dependency libs to the apps where it + # does not belong to +# if ( my $extra = extraDeps ($libfile) ) { $line .= ", $extra"; } + if (!$seen{$line}) { + $seen{$line} = 1; + complex_doit("echo '$line' >> $tmp/DEBIAN/clilibs"); + } + } + } + } + close FIND; + + if (-e "$tmp/DEBIAN/clilibs") { + doit("chmod", 644, "$tmp/DEBIAN/clilibs"); + doit("chown", "0:0", "$tmp/DEBIAN/clilibs"); + } +} + +=head1 SEE ALSO + +L + +This program is a part of cli-common-dev. + +=head1 KNOWN BUGS + +Will possibly not work correctly with DH_COMPAT levels 1 and 2. + +=head1 AUTHOR + +Mirco Bauer , Eduard Bloch , +inspired by dh_makeshlibs by Joey Hess + +=cut --- mono-1.9.1+dfsg.orig/debian/mono-gac.postinst +++ mono-1.9.1+dfsg/debian/mono-gac.postinst @@ -0,0 +1,13 @@ +#!/bin/sh -e + +# Install the GAC +if [ -x /usr/share/cli-common/gac-install ]; then + /usr/share/cli-common/gac-install mono +fi + +# Update the alternatives +update-alternatives \ + --install /usr/bin/cli-gacutil global-assembly-cache-tool /usr/bin/gacutil 10 \ + --slave /usr/share/man/man1/cli-gacutil.1.gz cli-gacutil.1.gz /usr/share/man/man1/gacutil.1.gz + +#DEBHELPER# --- mono-1.9.1+dfsg.orig/debian/libmono-security2.0-cil.install +++ mono-1.9.1+dfsg/debian/libmono-security2.0-cil.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/Mono.Security/2.0.*/ +debian/tmp/usr/lib/mono/2.0/Mono.Security.dll --- mono-1.9.1+dfsg.orig/debian/copyright +++ mono-1.9.1+dfsg/debian/copyright @@ -0,0 +1,198 @@ +This package was re-debianized and merged with the "mcs" source package by +Mirco Bauer . + +This package was debianized by Alp Toker using the Monodeb +build system. + +It was downloaded from: +http://www.mono-project.com/Downloads + +Upstream Authors: +Miguel de Icaza (miguel@ximian.com) +Paolo Molaro (lupus@ximian.com) +Dietmar Maurer (dietmar@ximian.com) + +mcs/mcs/* (C# Compiler) +Miguel de Icaza (miguel@ximian.com) + +mcs/class/* (Class Libraries) +Patrik Torstensson +Gaurav Vaish +Jeff Stedfast (fejj@ximian.com) +Joe Shaw (joe@ximian.com) +Miguel de Icaza (miguel@ximian.com) +Sean MacIsaac (macisaac@ximian.com) +Vladimir Vukicevic (vladimir@ximian.com) +Garrett Rooney (rooneg@electricjellyfish.net) +Bob Smith (bob@thestuff.net) +John Barnette (jbarn@httcb.net) + +Copyright: + +------------------------------------------------------------------------------- + +mcs/mcs/* + +The C# Compiler is released under the terms of the GNU GPL. + +On Debian systems, the complete text of the GNU General Public +License can be found in /usr/share/common-licenses/GPL file. + +------------------------------------------------------------------------------- + +mcs/class/* + +The class libraries are released under the terms of the MIT X11 + +MIT/X11 License + +Copyright (c) 2001-2005 Novell + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +The Mono runtime and the Mono C# Compiler are also available under a +proprietary license for those who can not use the LGPL and the GPL in +their code. + +------------------------------------------------------------------------------- + +mcs/class/MicrosoftAjaxLibrary/* + +Microsoft Permissive License (Ms-PL) + +This license governs use of the accompanying software. If you use the software, +you accept this license. If you do not accept the license, do not use the +software. + +1. Definitions + +The terms "reproduce," "reproduction," "derivative works," and "distribution" +have the same meaning here as under U.S. copyright law. + +A "contribution" is the original software, or any additions or changes to the +software. + +A "contributor" is any person that distributes its contribution under this +license. + + "Licensed patents" are a contributor's patent claims that read directly on its + contribution. + +2. Grant of Rights + +(A) Copyright Grant- Subject to the terms of this license, including the license +conditions and limitations in section 3, each contributor grants you a +non-exclusive, worldwide, royalty-free copyright license to reproduce its +contribution, prepare derivative works of its contribution, and distribute its + contribution or any derivative works that you create. + +(B) Patent Grant- Subject to the terms of this license, including the license +conditions and limitations in section 3, each contributor grants you a +non-exclusive, worldwide, royalty-free license under its licensed patents to +make, have made, use, sell, offer for sale, import, and/or otherwise dispose of +its contribution in the software or derivative works of the contribution in the +software. + +3. Conditions and Limitations + +(A) No Trademark License- This license does not grant you rights to use any +contributors' name, logo, or trademarks. + +(B) If you bring a patent claim against any contributor over patents that you +claim are infringed by the software, your patent license from such contributor +to the software ends automatically. + +(C) If you distribute any portion of the software, you must retain all +copyright, patent, trademark, and attribution notices that are present in the +software. + +(D) If you distribute any portion of the software in source code form, you may +do so only under this license by including a complete copy of this license with +your distribution. If you distribute any portion of the software in compiled or +object code form, you may only do so under a license that complies with this +license. + +(E) The software is licensed "as-is." You bear the risk of using it. The +contributors give no express warranties, guarantees or conditions. You may have +additional consumer rights under your local laws which this license cannot +change. To the extent permitted under your local laws, the contributors exclude +the implied warranties of merchantability, fitness for a particular purpose and +non-infringement. + +(F) If you distribute the software or derivative works with programs you +develop, you agree to indemnify, defend, and hold harmless all contributors from +any claims, including attorneys' fees, related to the distribution or use of +your programs. For clarity, you have no such obligations to a contributor for +any claims based solely on the unmodified contributions of that contributor. + +(G) If you make any additions or changes to the original software, you may only +distribute them under a new namespace. In addition, you will clearly identify +your changes or additions as your own. + +------------------------------------------------------------------------------- + +mcs/class/System.Web.Extensions/System.Web.Script.Serialization/JSON/* + +Creative Commons Attribution 2.5 License + +As that license is not conform with the DFSG, those source files were deleted +from the tarball. + +------------------------------------------------------------------------------- + +mcs/nunit20/* + +Copyright (C) 2002-2004 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov, + Charlie Poole +Copyright (C) 2000-2004 Philip A. Craig + +This software is provided 'as-is', without any express or implied warranty. In +no event will the authors be held liable for any damages arising from the use +of this software. + +Permission is granted to anyone to use this software for any purpose, including +commercial applications, and to alter it and redistribute it freely, subject to +the following restrictions: + +1. The origin of this software must not be misrepresented; you must not claim + that you wrote the original software. If you use this software in a product, + an acknowledgment (see the following) in the product documentation is + required. + +Portions Copyright (C) 2002-2004 James W. Newkirk, Michael C. Two, +Alexei A. Vorontsov, Charlie Poole or Copyright (C) 2000-2004 Philip A. Craig + +2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + +3. This notice may not be removed or altered from any source distribution. + +------------------------------------------------------------------------------- + +debian/detector/* + +The source package contains an additional tool called binfmt-detector-cli. + +Author: +Ilya Konstantinov + +License: +Distributed on the terms of the GNU General Public License which can +be found in the file /usr/share/common-licenses/GPL on Debian systems. --- mono-1.9.1+dfsg.orig/debian/libmono-db2-1.0-cil.install +++ mono-1.9.1+dfsg/debian/libmono-db2-1.0-cil.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/IBM.Data.DB2/1.0.*/ +debian/tmp/usr/lib/mono/1.0/IBM.Data.DB2.dll --- mono-1.9.1+dfsg.orig/debian/libmono-system-messaging1.0-cil.install +++ mono-1.9.1+dfsg/debian/libmono-system-messaging1.0-cil.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/System.Messaging/1.0.*/ +debian/tmp/usr/lib/mono/1.0/System.Messaging.dll --- mono-1.9.1+dfsg.orig/debian/libmono-npgsql2.0-cil.install +++ mono-1.9.1+dfsg/debian/libmono-npgsql2.0-cil.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/Npgsql/2.0.*/ +debian/tmp/usr/lib/mono/2.0/Npgsql.dll --- mono-1.9.1+dfsg.orig/debian/libmono-cscompmgd7.0-cil.install +++ mono-1.9.1+dfsg/debian/libmono-cscompmgd7.0-cil.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/cscompmgd/7.0.*/ +debian/tmp/usr/lib/mono/1.0/cscompmgd.dll --- mono-1.9.1+dfsg.orig/debian/libmono-corlib2.1-cil.install +++ mono-1.9.1+dfsg/debian/libmono-corlib2.1-cil.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/mono/2.1/mscorlib.dll* --- mono-1.9.1+dfsg.orig/debian/libmono-sharpzip0.6-cil.install +++ mono-1.9.1+dfsg/debian/libmono-sharpzip0.6-cil.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/mono/gac/ICSharpCode.SharpZipLib/0.6.*/ +debian/tmp/usr/lib/mono/compat-1.0/ICSharpCode.SharpZipLib.dll --- mono-1.9.1+dfsg.orig/debian/man/xbuild.1 +++ mono-1.9.1+dfsg/debian/man/xbuild.1 @@ -0,0 +1,11 @@ +.TH UNDOCUMENTED 1 "January 15th, 2004" "Debian GNU/Linux" "Mono Manual" +.SH NAME +undocumented \- No manpage for this program. +.SH DESCRIPTION +This +.B program +does not have a manpage. Run this command with the +.B help +switch to see what it does. For further information, refer to the .NET +documentation from the Mono project, located on +.B http://www.go-mono.com:8080/ --- mono-1.9.1+dfsg.orig/debian/man/pedump.1 +++ mono-1.9.1+dfsg/debian/man/pedump.1 @@ -0,0 +1,11 @@ +.TH UNDOCUMENTED 1 "January 15th, 2004" "Debian GNU/Linux" "Mono Manual" +.SH NAME +undocumented \- No manpage for this program. +.SH DESCRIPTION +This +.B program +does not have a manpage. Run this command with the +.B help +switch to see what it does. For further information, refer to the .NET +documentation from the Mono project, located on +.B http://www.go-mono.com:8080/ --- mono-1.9.1+dfsg.orig/debian/man/mjs.1 +++ mono-1.9.1+dfsg/debian/man/mjs.1 @@ -0,0 +1,11 @@ +.TH UNDOCUMENTED 1 "January 15th, 2004" "Debian GNU/Linux" "Mono Manual" +.SH NAME +undocumented \- No manpage for this program. +.SH DESCRIPTION +This +.B program +does not have a manpage. Run this command with the +.B help +switch to see what it does. For further information, refer to the .NET +documentation from the Mono project, located on +.B http://www.go-mono.com:8080/ --- mono-1.9.1+dfsg.orig/debian/man/mono-find-provides.1 +++ mono-1.9.1+dfsg/debian/man/mono-find-provides.1 @@ -0,0 +1,11 @@ +.TH UNDOCUMENTED 1 "January 15th, 2004" "Debian GNU/Linux" "Mono Manual" +.SH NAME +undocumented \- No manpage for this program. +.SH DESCRIPTION +This +.B program +does not have a manpage. Run this command with the +.B help +switch to see what it does. For further information, refer to the .NET +documentation from the Mono project, located on +.B http://www.go-mono.com:8080/ --- mono-1.9.1+dfsg.orig/debian/man/monograph.1 +++ mono-1.9.1+dfsg/debian/man/monograph.1 @@ -0,0 +1,11 @@ +.TH UNDOCUMENTED 1 "January 15th, 2004" "Debian GNU/Linux" "Mono Manual" +.SH NAME +undocumented \- No manpage for this program. +.SH DESCRIPTION +This +.B program +does not have a manpage. Run this command with the +.B help +switch to see what it does. For further information, refer to the .NET +documentation from the Mono project, located on +.B http://www.go-mono.com:8080/ --- mono-1.9.1+dfsg.orig/debian/man/caspol.1 +++ mono-1.9.1+dfsg/debian/man/caspol.1 @@ -0,0 +1,11 @@ +.TH UNDOCUMENTED 1 "January 15th, 2004" "Debian GNU/Linux" "Mono Manual" +.SH NAME +undocumented \- No manpage for this program. +.SH DESCRIPTION +This +.B program +does not have a manpage. Run this command with the +.B help +switch to see what it does. For further information, refer to the .NET +documentation from the Mono project, located on +.B http://www.go-mono.com:8080/ --- mono-1.9.1+dfsg.orig/debian/man/cli-wrapper.1 +++ mono-1.9.1+dfsg/debian/man/cli-wrapper.1 @@ -0,0 +1,11 @@ +.TH UNDOCUMENTED 1 "January 15th, 2004" "Debian GNU/Linux" "Mono Manual" +.SH NAME +undocumented \- No manpage for this program. +.SH DESCRIPTION +This +.B program +does not have a manpage. Run this command with the +.B help +switch to see what it does. For further information, refer to the .NET +documentation from the Mono project, located on +.B http://www.go-mono.com:8080/ --- mono-1.9.1+dfsg.orig/debian/man/mono-find-requires.1 +++ mono-1.9.1+dfsg/debian/man/mono-find-requires.1 @@ -0,0 +1,11 @@ +.TH UNDOCUMENTED 1 "January 15th, 2004" "Debian GNU/Linux" "Mono Manual" +.SH NAME +undocumented \- No manpage for this program. +.SH DESCRIPTION +This +.B program +does not have a manpage. Run this command with the +.B help +switch to see what it does. For further information, refer to the .NET +documentation from the Mono project, located on +.B http://www.go-mono.com:8080/ --- mono-1.9.1+dfsg.orig/debian/patches/fix_TdsConnectionPool_svn.dpatch +++ mono-1.9.1+dfsg/debian/patches/fix_TdsConnectionPool_svn.dpatch @@ -0,0 +1,397 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## fix_TdsConnectionPool_r105424_r106448_107325.dpatch by Mirco Bauer +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Backport of upstream SVN trunk to fix connection pool leaks/stalls, see: +## DP: https://bugzilla.novell.com/show_bug.cgi?id=360157 +## DP: r105424: +## DP: Remove unnecessary locks and code refactoring +## DP: r105432: +## DP: Update according to the new return type of TdsConnectionPool.GetConnectionPool() +## DP: r105433: +## DP: Member to keep track of pool status +## DP: r105719: +## DP: Do not call tds.Reset () as it is already done in the connection pool. +## DP: r106448: +## DP: Honor timeout and throw appropriate exception when connections are not available +## DP: r107325: +## DP: TdsConnectionPool.cs: When pooled connection cannot be reset, remove +## DP: it from pool and allow slot to be re-used for a newly established +## DP: connection. Fixes part of bug #360157. When pool is full, and no +## DP: connection becomes available before the connect timeout has elapsed, +## DP: then throw an InvalidOperationException instead of a SqlException. + +@DPATCH@ +diff -urNad mono-1.9+dfsg~/mcs/class/Mono.Data.Tds/Mono.Data.Tds.Protocol/Tds.cs mono-1.9+dfsg/mcs/class/Mono.Data.Tds/Mono.Data.Tds.Protocol/Tds.cs +--- mono-1.9+dfsg~/mcs/class/Mono.Data.Tds/Mono.Data.Tds.Protocol/Tds.cs 2008-01-29 23:04:15.000000000 +0100 ++++ mono-1.9+dfsg/mcs/class/Mono.Data.Tds/Mono.Data.Tds.Protocol/Tds.cs 2008-07-08 21:15:49.000000000 +0200 +@@ -102,6 +102,8 @@ + bool isResultRead = false; + bool LoadInProgress = false; + ++ internal int poolStatus = 0; ++ + #endregion // Fields + + #region Properties +diff -urNad mono-1.9+dfsg~/mcs/class/Mono.Data.Tds/Mono.Data.Tds.Protocol/TdsConnectionPool.cs mono-1.9+dfsg/mcs/class/Mono.Data.Tds/Mono.Data.Tds.Protocol/TdsConnectionPool.cs +--- mono-1.9+dfsg~/mcs/class/Mono.Data.Tds/Mono.Data.Tds.Protocol/TdsConnectionPool.cs 2007-11-08 23:11:23.000000000 +0100 ++++ mono-1.9+dfsg/mcs/class/Mono.Data.Tds/Mono.Data.Tds.Protocol/TdsConnectionPool.cs 2008-07-08 21:15:49.000000000 +0200 +@@ -3,6 +3,7 @@ + // + // Author: + // Lluis Sanchez Gual (lluis@ximian.com) ++// Christian Hergert (christian.hergert at gmail.com) + // + // Copyright (C) 2004 Novell, Inc. + // +@@ -28,16 +29,23 @@ + // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + // + +-using Mono.Data.Tds.Protocol; + using System; ++#if NET_2_0 ++using System.Collections.Generic; ++#else + using System.Collections; ++#endif + using System.Threading; + + namespace Mono.Data.Tds.Protocol + { + public class TdsConnectionPoolManager + { ++#if NET_2_0 ++ Dictionary pools = new Dictionary (); ++#else + Hashtable pools = new Hashtable (); ++#endif + TdsVersion version; + + public TdsConnectionPoolManager (TdsVersion version) +@@ -49,7 +57,12 @@ + { + lock (pools) + { +- TdsConnectionPool pool = (TdsConnectionPool) pools [connectionString]; ++ TdsConnectionPool pool = null; ++#if NET_2_0 ++ pools.TryGetValue (connectionString, out pool); ++#else ++ pool = (TdsConnectionPool) pools [connectionString]; ++#endif + if (pool == null) { + pool = new TdsConnectionPool (this, info); + pools [connectionString] = pool; +@@ -58,12 +71,13 @@ + } + } + +- public Hashtable GetConnectionPool () ++#if NET_2_0 ++ public IDictionary GetConnectionPool () ++#else ++ public IDictionary GetConnectionPool () ++#endif + { +- lock (pools) +- { +- return pools; +- } ++ return pools; + } + + public virtual ITds CreateConnection (TdsConnectionInfo info) +@@ -102,20 +116,34 @@ + public int PoolMinSize; + public int PoolMaxSize; + } +- ++ + public class TdsConnectionPool + { +- ArrayList list = new ArrayList (); ++ ITds[] list; + TdsConnectionInfo info; +- bool initialized; + bool pooling = true; +- int activeConnections = 0; + TdsConnectionPoolManager manager; +- ++ ManualResetEvent connAvailable; ++ + public TdsConnectionPool (TdsConnectionPoolManager manager, TdsConnectionInfo info) + { ++ int n = 0; ++ + this.info = info; + this.manager = manager; ++ list = new ITds[info.PoolMaxSize]; ++ ++ // Placeholder for future connections are at the beginning of the array. ++ for (; n < info.PoolMaxSize - info.PoolMinSize; n++) ++ list [n] = null; ++ ++ // Pre-populate with minimum number of connections ++ for (; n < list.Length; n++) { ++ list [n] = CreateConnection (); ++ } ++ ++ // Event that notifies a connection is available in the pool ++ connAvailable = new ManualResetEvent (false); + } + + public bool Pooling { +@@ -128,110 +156,118 @@ + public ITds GetConnection () + { + ITds connection = null; +- lock (list) +- { +- if (!initialized) +- { +- for (int n = 0; n < info.PoolMinSize; n++) +- list.Add (CreateConnection ()); +- initialized = true; +- } +- do { +- if (list.Count > 0) +- { +- // There are available connections +- connection = (ITds) list [list.Count - 1]; +- list.RemoveAt (list.Count - 1); ++ int index; ++ ++ retry: ++ // Reset the connection available event ++ connAvailable.Reset (); ++ ++ index = list.Length - 1; ++ ++ do { ++ connection = list [index]; ++ ++ if (connection == null) { ++ // Attempt take-over of array position ++ connection = CreateConnection (); ++ (connection as Tds).poolStatus = 1; ++#if NET_2_0 ++ if (Interlocked.CompareExchange (ref list [index], connection, null) != null) { ++#else ++ if (Interlocked.CompareExchange (ref (list as object[]) [index], connection, null) != null) { ++#endif ++ // Someone beat us to the punch ++ connection = null; ++ } else { ++ continue; ++ } ++ } else { ++ if (Interlocked.CompareExchange (ref (connection as Tds).poolStatus, 1, 0) != 0) { ++ // Someone else owns this connection ++ connection = null; ++ } else { + if (!connection.Reset ()) { +- try { +- connection.Disconnect (); +- } catch {} +- connection = null; ++ ThreadPool.QueueUserWorkItem (new WaitCallback (DestroyConnection), connection); ++ // remove connection from pool ++ list [index] = connection = null; ++ // allow slot be re-used in same run ++ continue; ++ } else { + continue; + } + } ++ } ++ ++ index--; ++ ++ if (index < 0) { ++ // TODO: Maintain a list of indices of released connection to save some loop over ++ // Honor timeout - if pool is full, and no connections are available within the ++ // timeout period - just throw the exception ++ if (info.Timeout > 0 ++ && !connAvailable.WaitOne (new TimeSpan (0, 0, info.Timeout), true)) ++ throw new InvalidOperationException ( ++ "Timeout expired. The timeout period elapsed before a " + ++ "connection could be obtained. A possible explanation " + ++ "is that all the connections in the pool are in use, " + ++ "and the maximum pool size is reached."); ++ goto retry; ++ } + +- if (connection == null && activeConnections < info.PoolMaxSize) +- { +- // No connections available, but the connection limit +- // has not been reached yet, so a new one can be created +- connection = CreateConnection(); +- } +- +- // No available connections in the pool +- // Wait for somewone to release one. +- if (connection == null) +- { +- Monitor.Wait (list); +- } +- } +- while (connection == null); +- } ++ } while (connection == null); + + return connection; + } + +- public void ReleaseConnection (ITds tds) ++ public void ReleaseConnection (ITds connection) + { +- lock (list) +- { +- list.Add (tds); +- Monitor.Pulse (list); +- } ++ ((Tds) connection).poolStatus = 0; ++ connAvailable.Set (); + } + + #if NET_2_0 +- public void ReleaseConnection (ref ITds tds) ++ public void ReleaseConnection (ref ITds connection) + { +- lock (list) +- { +- if (pooling == false) { +- try { +- tds.Disconnect (); +- } catch {} +- tds = null; +- } else { +- list.Add (tds); +- Monitor.Pulse (list); +- } ++ if (pooling == false) { ++ int index = Array.IndexOf (list, connection); ++ ThreadPool.QueueUserWorkItem (new WaitCallback (DestroyConnection), connection); ++ list [index] = connection = null; ++ } else { ++ ((Tds) connection).poolStatus = 0; + } ++ connAvailable.Set (); + } + + public void ResetConnectionPool () + { +- lock (list) ++ ITds connection = null; ++ int index = list.Length - 1; ++ ++ while (index >= 0) + { +- ITds connection = null; +- while (list.Count > 0) { +- // There are available connections +- connection = (ITds) list [list.Count - 1]; +- list.RemoveAt (list.Count - 1); ++ connection = list [index]; ++ ++ if (Interlocked.CompareExchange (ref ((Tds) connection).poolStatus, 1, 0) == 0) { + if (!connection.Reset ()) { +- try { +- connection.Disconnect (); +- } catch {} +- connection = null; ++ ThreadPool.QueueUserWorkItem (new WaitCallback (DestroyConnection), connection); ++ list [index] = connection = null; ++ connAvailable.Set (); + } + } ++ ++ index--; + } + } + + public void ResetConnectionPool (ITds connection) + { +- lock (list) +- { +- if (list.Count > 0) { +- // There are available connections +- int index = list.IndexOf (connection); +- if (index != -1) { +- list.RemoveAt (index); +- if (!connection.Reset ()) { +- try { +- connection.Disconnect (); +- } catch {} +- connection = null; +- } +- } ++ int index = Array.IndexOf (list, connection); ++ ++ if (index != -1) { ++ if (connection != null && !connection.Reset ()) { ++ ThreadPool.QueueUserWorkItem (new WaitCallback (DestroyConnection), connection); ++ list [index] = connection = null; ++ connAvailable.Set (); + } + } + } +@@ -239,10 +275,21 @@ + + ITds CreateConnection () + { +- activeConnections++; + return manager.CreateConnection (info); + } + ++ void DestroyConnection (object state) ++ { ++ ITds connection = state as ITds; ++ if (connection != null) { ++ try { ++ connection.Disconnect (); ++ } finally { ++ connection = null; ++ } ++ } ++ } ++ + #endregion // Methods + } + } +diff -urNad mono-1.9+dfsg~/mcs/class/System.Data/System.Data.SqlClient/SqlConnection.cs mono-1.9+dfsg/mcs/class/System.Data/System.Data.SqlClient/SqlConnection.cs +--- mono-1.9+dfsg~/mcs/class/System.Data/System.Data.SqlClient/SqlConnection.cs 2007-11-08 23:13:07.000000000 +0100 ++++ mono-1.9+dfsg/mcs/class/System.Data/System.Data.SqlClient/SqlConnection.cs 2008-07-08 21:16:16.000000000 +0200 +@@ -51,6 +51,9 @@ + using System.Net.Sockets; + using System.Text; + using System.Xml; ++#if NET_2_0 ++using System.Collections.Generic; ++#endif + + namespace System.Data.SqlClient { + [DefaultEvent ("InfoMessage")] +@@ -570,8 +573,6 @@ + pool.ReleaseConnection (tds); + throw; + } +- } else if (connectionReset) { +- tds.Reset (); + } + + disposed = false; // reset this, so using () would call Close (). +@@ -1684,7 +1685,11 @@ + + public static void ClearAllPools () + { ++#if NET_2_0 ++ IDictionary pools = SqlConnection.sqlConnectionPools.GetConnectionPool (); ++#else + Hashtable pools = SqlConnection.sqlConnectionPools.GetConnectionPool (); ++#endif + foreach (TdsConnectionPool pool in pools.Values) { + if (pool != null) { + pool.ResetConnectionPool (); --- mono-1.9.1+dfsg.orig/debian/patches/fix_stack_alignment_r105650_r105651.dpatch +++ mono-1.9.1+dfsg/debian/patches/fix_stack_alignment_r105650_r105651.dpatch @@ -0,0 +1,74 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## fix_stack_alignment_r105650_r105651.dpatch by Mirco Bauer +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fixes stack alignment, caused assertions on AMD64, see: +## DP: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=473119 +## DP: Patch taken from upstream SVN revision 105650 and 105651. + +@DPATCH@ +diff -urNad mono-1.9.1+dfsg~/mono/metadata/threads.c mono-1.9.1+dfsg/mono/metadata/threads.c +--- mono-1.9.1+dfsg~/mono/metadata/threads.c 2008-01-29 23:02:34.000000000 +0100 ++++ mono-1.9.1+dfsg/mono/metadata/threads.c 2008-06-17 23:42:04.000000000 +0200 +@@ -700,8 +700,8 @@ + /* + * mono_thread_get_stack_bounds: + * +- * Return the address and size of the current threads stack. Return NULL as the stack +- * address if the stack address cannot be determined. ++ * Return the address and size of the current threads stack. Return NULL as the ++ * stack address if the stack address cannot be determined. + */ + void + mono_thread_get_stack_bounds (guint8 **staddr, size_t *stsize) +@@ -709,6 +709,7 @@ + #if defined(HAVE_PTHREAD_GET_STACKSIZE_NP) && defined(HAVE_PTHREAD_GET_STACKADDR_NP) + *staddr = (guint8*)pthread_get_stackaddr_np (pthread_self ()); + *stsize = pthread_get_stacksize_np (pthread_self ()); ++ *staddr = (guint8*)((gssize)*staddr & ~(mono_pagesize () - 1)); + return; + /* FIXME: simplify the mess below */ + #elif !defined(PLATFORM_WIN32) +@@ -717,28 +718,31 @@ + + pthread_attr_init (&attr); + #ifdef HAVE_PTHREAD_GETATTR_NP +- pthread_getattr_np (pthread_self(), &attr); ++ pthread_getattr_np (pthread_self(), &attr); + #else + #ifdef HAVE_PTHREAD_ATTR_GET_NP +- pthread_attr_get_np (pthread_self(), &attr); ++ pthread_attr_get_np (pthread_self(), &attr); + #elif defined(sun) +- *staddr = NULL; +- pthread_attr_getstacksize (&attr, &stsize); ++ *staddr = NULL; ++ pthread_attr_getstacksize (&attr, &stsize); + #else +- *staddr = NULL; +- *stsize = 0; +- return; ++ *staddr = NULL; ++ *stsize = 0; ++ return; + #endif + #endif + + #ifndef sun +- pthread_attr_getstack (&attr, (void**)staddr, stsize); +- if (*staddr) +- g_assert ((current > *staddr) && (current < *staddr + *stsize)); ++ pthread_attr_getstack (&attr, (void**)staddr, stsize); ++ if (*staddr) ++ g_assert ((current > *staddr) && (current < *staddr + *stsize)); + #endif + +- pthread_attr_destroy (&attr); ++ pthread_attr_destroy (&attr); + #endif ++ ++ /* When running under emacs, sometimes staddr is not aligned to a page size */ ++ *staddr = (guint8*)((gssize)*staddr & ~(mono_pagesize () - 1)); + } + + MonoThread * --- mono-1.9.1+dfsg.orig/debian/patches/method-signature-testing.dpatch +++ mono-1.9.1+dfsg/debian/patches/method-signature-testing.dpatch @@ -0,0 +1,29 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run + +@DPATCH@ + + +Index: mono/mcs/mcs/class.cs +=================================================================== +--- mono/mcs/mcs/class.cs (Revision 94888) ++++ mono/mcs/mcs/class.cs (Revision 94889) +@@ -8312,14 +8312,15 @@ + ReturnType = pi.PropertyType; + else + return false; +- ++ + // + // we use sig.RetType == null to mean `do not check the + // method return value. + // +- if (sig.RetType != null) +- if (ReturnType != sig.RetType) ++ if (sig.RetType != null) { ++ if (!TypeManager.IsEqual (ReturnType, sig.RetType)) + return false; ++ } + + Type [] args; + if (mi != null) + --- mono-1.9.1+dfsg.orig/debian/patches/armel_fix_configure_fpu_check.dpatch +++ mono-1.9.1+dfsg/debian/patches/armel_fix_configure_fpu_check.dpatch @@ -0,0 +1,277 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## armel_fix_configure_fpu_check.dpatch by Riku Voipio +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad mono-1.2.5~/configure.in mono-1.2.5/configure.in +--- mono-1.2.5~/configure.in 2007-08-17 19:41:56.000000000 +0200 ++++ mono-1.2.5/configure.in 2007-08-17 19:42:47.000000000 +0200 +@@ -1893,19 +1893,24 @@ + ]) + fi + ++AC_ARG_WITH(fpu, [ --with-fpu=FPA,VFP,NONE Select fpu to use on arm],[fpu=$withval]) ++ + if test ${TARGET} = ARM; then + dnl ****************************************** + dnl *** Check to see what FPU is available *** + dnl ****************************************** + AC_MSG_CHECKING(which FPU to use) + +- AC_TRY_COMPILE([], [ +- __asm__ ("ldfd f0, [r0]"); +- ], fpu=FPA, [ +- AC_TRY_COMPILE([], [ +- __asm__ ("fldd d0, [r0]"); +- ], fpu=VFP, fpu=NONE) +- ]) ++ if test "x$fpu" = "x"; then ++ ++ AC_TRY_COMPILE([], [ ++ __asm__ ("ldfd f0, [r0]"); ++ ], fpu=FPA, [ ++ AC_TRY_COMPILE([], [ ++ __asm__ ("fldd d0, [r0]"); ++ ], fpu=VFP, fpu=NONE) ++ ]) ++ fi + + AC_MSG_RESULT($fpu) + CPPFLAGS="$CPPFLAGS -DARM_FPU_$fpu=1" +diff -urNad mono-1.2.5~/configure mono-1.2.5/configure +--- mono-1.2.5~/configure 2007-08-17 19:41:56.000000000 +0200 ++++ mono-1.2.5/configure 2007-08-17 19:43:15.000000000 +0200 +@@ -1610,6 +1610,7 @@ + --with-jit=yes,no If you want to build scripts that default to the JIT + --with-interp=yes,no If you want to build scripts that default to the interpreter + --with-x use the X Window System ++ --with-fpu=FPA,VFP,NONE Select fpu to use on arm + --with-preview=yes,no If you want to install the 2.0 FX preview + --with-moonlight=yes,no If you want to build the Moonlight 2.1 assemblies + +@@ -6545,7 +6546,7 @@ + ;; + *-*-irix6*) + # Find out which ABI we are using. +- echo '#line 6548 "configure"' > conftest.$ac_ext ++ echo '#line 6549 "configure"' > conftest.$ac_ext + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +@@ -9344,11 +9345,11 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:9347: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:9348: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 +- echo "$as_me:9351: \$? = $ac_status" >&5 ++ echo "$as_me:9352: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. +@@ -9612,11 +9613,11 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:9615: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:9616: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 +- echo "$as_me:9619: \$? = $ac_status" >&5 ++ echo "$as_me:9620: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. +@@ -9716,11 +9717,11 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:9719: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:9720: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 +- echo "$as_me:9723: \$? = $ac_status" >&5 ++ echo "$as_me:9724: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized +@@ -12168,7 +12169,7 @@ + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < conftest.$ac_ext <&5) ++ (eval echo "\"\$as_me:14640: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 +- echo "$as_me:14643: \$? = $ac_status" >&5 ++ echo "$as_me:14644: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. +@@ -14740,11 +14741,11 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:14743: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:14744: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 +- echo "$as_me:14747: \$? = $ac_status" >&5 ++ echo "$as_me:14748: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized +@@ -16310,11 +16311,11 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:16313: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:16314: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 +- echo "$as_me:16317: \$? = $ac_status" >&5 ++ echo "$as_me:16318: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. +@@ -16414,11 +16415,11 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:16417: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:16418: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 +- echo "$as_me:16421: \$? = $ac_status" >&5 ++ echo "$as_me:16422: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized +@@ -18644,11 +18645,11 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:18647: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:18648: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 +- echo "$as_me:18651: \$? = $ac_status" >&5 ++ echo "$as_me:18652: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. +@@ -18912,11 +18913,11 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:18915: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:18916: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 +- echo "$as_me:18919: \$? = $ac_status" >&5 ++ echo "$as_me:18920: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. +@@ -19016,11 +19017,11 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:19019: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:19020: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 +- echo "$as_me:19023: \$? = $ac_status" >&5 ++ echo "$as_me:19024: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized +@@ -40617,11 +40618,20 @@ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + ++ ++# Check whether --with-fpu was given. ++if test "${with_fpu+set}" = set; then ++ withval=$with_fpu; fpu=$withval ++fi ++ ++ + if test ${TARGET} = ARM; then + { echo "$as_me:$LINENO: checking which FPU to use" >&5 + echo $ECHO_N "checking which FPU to use... $ECHO_C" >&6; } + +- cat >conftest.$ac_ext <<_ACEOF ++ if test "x$fpu" = "x"; then ++ ++ cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ + _ACEOF + cat confdefs.h >>conftest.$ac_ext +@@ -40632,7 +40642,7 @@ + main () + { + +- __asm__ ("ldfd f0, [r0]"); ++ __asm__ ("ldfd f0, [r0]"); + + ; + return 0; +@@ -40678,7 +40688,7 @@ + sed 's/^/| /' conftest.$ac_ext >&5 + + +- cat >conftest.$ac_ext <<_ACEOF ++ cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ + _ACEOF + cat confdefs.h >>conftest.$ac_ext +@@ -40689,7 +40699,7 @@ + main () + { + +- __asm__ ("fldd d0, [r0]"); ++ __asm__ ("fldd d0, [r0]"); + + ; + return 0; +@@ -40742,6 +40752,7 @@ + fi + + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ fi + + { echo "$as_me:$LINENO: result: $fpu" >&5 + echo "${ECHO_T}$fpu" >&6; } --- mono-1.9.1+dfsg.orig/debian/patches/00list +++ mono-1.9.1+dfsg/debian/patches/00list @@ -0,0 +1,19 @@ +kfreebsd_support +console-no-utf8-bom +firebird-fbclient +fix-mono.pc.in +fix-mono-cairo.pc.in +fix-mono-nunit.pc.in +fix_BigInteger_overflow_CVE-2007-5197 +fix_implicit_pointer_conversions +method-signature-testing +dont_build_System.Web.Extensions +pass_CPPFLAGS_nicely_r98803 +fix_bound_checking_r98524_r98527 +fix_softfloat_r105848 +fix_stack_alignment_r105650_r105651 +fix_xen_support_r103474_r103475 +fix_Dictionary_preventing_GC_r102114 +fix_TdsConnectionPool_svn +99_autoreconf +remove_arg_max_check_r101444 --- mono-1.9.1+dfsg.orig/debian/patches/fix_Dictionary_preventing_GC_r102114.dpatch +++ mono-1.9.1+dfsg/debian/patches/fix_Dictionary_preventing_GC_r102114.dpatch @@ -0,0 +1,35 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## fix_Dictionary_preventing_GC_r102114.dpatch by Mirco Bauer +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: * Dictionary.cs (Clear, Remove): Clear empty slots in keySlots +## DP: and valueSlots. Otherwise the garbage collector cannot reclaim +## DP: the referenced key/value. Fixes bug #384723. + +@DPATCH@ +diff -urNad mono-1.9.1+dfsg~/mcs/class/corlib/System.Collections.Generic/Dictionary.cs mono-1.9.1+dfsg/mcs/class/corlib/System.Collections.Generic/Dictionary.cs +--- mono-1.9.1+dfsg~/mcs/class/corlib/System.Collections.Generic/Dictionary.cs 2007-11-08 23:13:53.000000000 +0100 ++++ mono-1.9.1+dfsg/mcs/class/corlib/System.Collections.Generic/Dictionary.cs 2008-07-08 14:13:04.000000000 +0200 +@@ -383,7 +383,10 @@ + { + count = 0; + // clear the hash table +- Array.Clear(table, 0, table.Length); ++ Array.Clear (table, 0, table.Length); ++ // clear key and value arrays ++ Array.Clear (keySlots, 0, keySlots.Length); ++ Array.Clear (valueSlots, 0, valueSlots.Length); + + // empty the "empty slots chain" + emptySlot = NO_SLOT; +@@ -510,6 +513,10 @@ + linkSlots [cur].Next = emptySlot; + emptySlot = cur; + ++ // clear empty key and value slots ++ keySlots [cur] = default (TKey); ++ valueSlots [cur] = default (TValue); ++ + generation++; + return true; + } --- mono-1.9.1+dfsg.orig/debian/patches/fix_implicit_pointer_conversions.dpatch +++ mono-1.9.1+dfsg/debian/patches/fix_implicit_pointer_conversions.dpatch @@ -0,0 +1,18 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## fix_implicit_pointer_conversions.dpatch by Mirco Bauer +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad mono-1.2.6~/mono/metadata/security.c mono-1.2.6/mono/metadata/security.c +--- mono-1.2.6~/mono/metadata/security.c 2007-11-08 23:07:19.000000000 +0100 ++++ mono-1.2.6/mono/metadata/security.c 2007-12-24 15:54:02.000000000 +0100 +@@ -12,6 +12,7 @@ + #endif + + #include ++#include + #include + #include + #include --- mono-1.9.1+dfsg.orig/debian/patches/firebird-fbclient.dpatch +++ mono-1.9.1+dfsg/debian/patches/firebird-fbclient.dpatch @@ -0,0 +1,15 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run + +@DPATCH@ + +--- mono/mcs/class/FirebirdSql.Data.Firebird/Makefile.old 2007-02-26 23:06:40.510241854 +0100 ++++ mono/mcs/class/FirebirdSql.Data.Firebird/Makefile 2007-02-26 23:07:08.607843047 +0100 +@@ -8,7 +8,7 @@ + LIB_DEFINE_FLAGS = + + ifeq ($(PLATFORM), linux) +-LIB_DEFINE_FLAGS = /d:LINUX ++LIB_DEFINE_FLAGS = /d:LINUX /d:FBCLIENT + endif + + LIB_MCS_FLAGS = \ --- mono-1.9.1+dfsg.orig/debian/patches/fix_bound_checking_r98524_r98527.dpatch +++ mono-1.9.1+dfsg/debian/patches/fix_bound_checking_r98524_r98527.dpatch @@ -0,0 +1,304 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## fix_bound_checking_r98524_r98527.dpatch by Jo Shields +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Pull in two SVN changesets to fix bound checking, which manifests itself +## DP: as XSP failing to compile on amd64. Changelog entries and init_trampoline +## DP: routine changes snipped to apply cleanly against 1.9.1 + +@DPATCH@ +Index: mono/mono/mini/tramp-ia64.c +=================================================================== +--- mono/mono/mini/tramp-ia64.c (revision 98523) ++++ mono/mono/mini/tramp-ia64.c (revision 98524) +@@ -76,7 +76,7 @@ + } + + void +-mono_arch_patch_callsite (guint8 *code, guint8 *addr) ++mono_arch_patch_callsite (guint8 *method_start, guint8 *code, guint8 *addr) + { + guint8 *callsite_begin; + guint64 *callsite = (guint64*)(gpointer)(code - 16); +Index: mono/mono/mini/tramp-arm.c +=================================================================== +--- mono/mono/mini/tramp-arm.c (revision 98523) ++++ mono/mono/mini/tramp-arm.c (revision 98524) +@@ -75,7 +75,7 @@ + } + + void +-mono_arch_patch_callsite (guint8 *code_ptr, guint8 *addr) ++mono_arch_patch_callsite (guint8 *method_start, guint8 *code_ptr, guint8 *addr) + { + guint32 *code = (guint32*)code_ptr; + +Index: mono/mono/mini/mini.h +=================================================================== +--- mono/mono/mini/mini.h (revision 98523) ++++ mono/mono/mini/mini.h (revision 98524) +@@ -1254,7 +1254,7 @@ + void mono_arch_save_unwind_info (MonoCompile *cfg) MONO_INTERNAL; + void mono_arch_register_lowlevel_calls (void) MONO_INTERNAL; + gpointer mono_arch_get_unbox_trampoline (MonoMethod *m, gpointer addr) MONO_INTERNAL; +-void mono_arch_patch_callsite (guint8 *code, guint8 *addr) MONO_INTERNAL; ++void mono_arch_patch_callsite (guint8 *method_start, guint8 *code, guint8 *addr) MONO_INTERNAL; + void mono_arch_patch_plt_entry (guint8 *code, guint8 *addr) MONO_INTERNAL; + void mono_arch_nullify_class_init_trampoline(guint8 *code, gssize *regs) MONO_INTERNAL; + void mono_arch_nullify_plt_entry (guint8 *code) MONO_INTERNAL; +Index: mono/mono/mini/tramp-alpha.c +=================================================================== +--- mono/mono/mini/tramp-alpha.c (revision 98523) ++++ mono/mono/mini/tramp-alpha.c (revision 98524) +@@ -523,7 +523,7 @@ + } + + void +-mono_arch_patch_callsite (guint8 *code, guint8 *addr) ++mono_arch_patch_callsite (guint8 *method_start, guint8 *code, guint8 *addr) + { + unsigned long *p = (unsigned int *)(code-12); + +Index: mono/mono/mini/tramp-s390.c +=================================================================== +--- mono/mono/mini/tramp-s390.c (revision 98523) ++++ mono/mono/mini/tramp-s390.c (revision 98524) +@@ -128,7 +128,7 @@ + /*------------------------------------------------------------------*/ + + void +-mono_arch_patch_callsite (guint8 *orig_code, guint8 *addr) ++mono_arch_patch_callsite (guint8 *method_start, guint8 *orig_code, guint8 *addr) + { + gint32 displace; + unsigned short opcode; +Index: mono/mono/mini/tramp-amd64.c +=================================================================== +--- mono/mono/mini/tramp-amd64.c (revision 98523) ++++ mono/mono/mini/tramp-amd64.c (revision 98524) +@@ -69,7 +69,7 @@ + * points to the pc right after the call. + */ + void +-mono_arch_patch_callsite (guint8 *orig_code, guint8 *addr) ++mono_arch_patch_callsite (guint8 *method_start, guint8 *orig_code, guint8 *addr) + { + guint8 *code; + guint8 buf [16]; +Index: mono/mono/mini/tramp-ppc.c +=================================================================== +--- mono/mono/mini/tramp-ppc.c (revision 98523) ++++ mono/mono/mini/tramp-ppc.c (revision 98524) +@@ -85,7 +85,7 @@ + } + + void +-mono_arch_patch_callsite (guint8 *code_ptr, guint8 *addr) ++mono_arch_patch_callsite (guint8 *method_start, guint8 *code_ptr, guint8 *addr) + { + guint32 *code = (guint32*)code_ptr; + /* This is the 'blrl' instruction */ +Index: mono/mono/mini/tramp-hppa.c +=================================================================== +--- mono/mono/mini/tramp-hppa.c (revision 98523) ++++ mono/mono/mini/tramp-hppa.c (revision 98524) +@@ -77,7 +77,7 @@ + } + + void +-mono_arch_patch_callsite (guint8 *p, guint8 *addr) ++mono_arch_patch_callsite (guint8 *method_start, guint8 *p, guint8 *addr) + { + guint32 *code = (void *)p; + /* Search for and patch the calling sequence +Index: mono/mono/mini/mini-trampolines.c +=================================================================== +--- mono/mono/mini/mini-trampolines.c (revision 98523) ++++ mono/mono/mini/mini-trampolines.c (revision 98524) +@@ -251,7 +251,7 @@ + mono_jit_info_table_find (mono_domain_get (), mono_get_addr_from_ftnptr (addr)); + + if (mono_method_same_domain (ji, target_ji)) +- mono_arch_patch_callsite (code, addr); ++ mono_arch_patch_callsite (ji->code_start, code, addr); + } + } + +Index: mono/mono/mini/tramp-x86.c +=================================================================== +--- mono/mono/mini/tramp-x86.c (revision 98523) ++++ mono/mono/mini/tramp-x86.c (revision 98524) +@@ -58,7 +58,7 @@ + } + + void +-mono_arch_patch_callsite (guint8 *orig_code, guint8 *addr) ++mono_arch_patch_callsite (guint8 *method_start, guint8 *orig_code, guint8 *addr) + { + guint8 *code; + guint8 buf [8]; +Index: mono/mono/mini/tramp-s390x.c +=================================================================== +--- mono/mono/mini/tramp-s390x.c (revision 98523) ++++ mono/mono/mini/tramp-s390x.c (revision 98524) +@@ -128,7 +128,7 @@ + /*------------------------------------------------------------------*/ + + void +-mono_arch_patch_callsite (guint8 *orig_code, guint8 *addr) ++mono_arch_patch_callsite (guint8 *method_start, guint8 *orig_code, guint8 *addr) + { + gint32 displace; + unsigned short opcode; +Index: mono/mono/mini/tramp-sparc.c +=================================================================== +--- mono/mono/mini/tramp-sparc.c (revision 98523) ++++ mono/mono/mini/tramp-sparc.c (revision 98524) +@@ -58,7 +58,7 @@ + } + + void +-mono_arch_patch_callsite (guint8 *code, guint8 *addr) ++mono_arch_patch_callsite (guint8 *method_start, guint8 *code, guint8 *addr) + { + if (sparc_inst_op (*(guint32*)code) == 0x1) { + sparc_call_simple (code, (guint8*)addr - (guint8*)code); +Index: mono/mono/mini/mini.h +=================================================================== +--- mono/mono/mini/mini.h (revision 98526) ++++ mono/mono/mini/mini.h (revision 98527) +@@ -1318,7 +1318,7 @@ + + extern gssize mono_breakpoint_info_index [MONO_BREAKPOINT_ARRAY_SIZE]; + +-gboolean mono_breakpoint_clean_code (guint8 *code, guint8 *buf, int size); ++gboolean mono_breakpoint_clean_code (guint8 *method_start, guint8 *code, int offset, guint8 *buf, int size); + + /* Mono Debugger support */ + void mono_debugger_init (void); +Index: mono/mono/mini/mini-amd64.c +=================================================================== +--- mono/mono/mini/mini-amd64.c (revision 98526) ++++ mono/mono/mini/mini-amd64.c (revision 98527) +@@ -5494,12 +5494,33 @@ + return 3; + } + ++/** ++ * mono_breakpoint_clean_code: ++ * ++ * Copy @size bytes from @code - @offset to the buffer @buf. If the debugger inserted software ++ * breakpoints in the original code, they are removed in the copy. ++ * ++ * Returns TRUE if no sw breakpoint was present. ++ */ + gboolean +-mono_breakpoint_clean_code (guint8 *code, guint8 *buf, int size) ++mono_breakpoint_clean_code (guint8 *method_start, guint8 *code, int offset, guint8 *buf, int size) + { + int i; + gboolean can_write = TRUE; +- memcpy (buf, code, size); ++ /* ++ * If method_start is non-NULL we need to perform bound checks, since we access memory ++ * at code - offset we could go before the start of the method and end up in a different ++ * page of memory that is not mapped or read incorrect data anyway. We zero-fill the bytes ++ * instead. ++ */ ++ if (!method_start || code - offset >= method_start) { ++ memcpy (buf, code - offset, size); ++ } else { ++ int diff = code - method_start; ++ memset (buf, 0, size); ++ memcpy (buf + offset - diff, method_start, diff + size - offset); ++ } ++ code -= offset; + for (i = 0; i < MONO_BREAKPOINT_ARRAY_SIZE; ++i) { + int idx = mono_breakpoint_info_index [i]; + guint8 *ptr; +@@ -5524,8 +5545,8 @@ + gint32 disp; + guint8 rex = 0; + +- mono_breakpoint_clean_code (code - 10, buf, sizeof (buf)); +- code = buf + 10; ++ mono_breakpoint_clean_code (NULL, code, 9, buf, sizeof (buf)); ++ code = buf + 9; + + *displacement = 0; + +Index: mono/mono/mini/mini-x86.c +=================================================================== +--- mono/mono/mini/mini-x86.c (revision 98526) ++++ mono/mono/mini/mini-x86.c (revision 98527) +@@ -4570,12 +4570,33 @@ + } + } + ++/** ++ * mono_breakpoint_clean_code: ++ * ++ * Copy @size bytes from @code - @offset to the buffer @buf. If the debugger inserted software ++ * breakpoints in the original code, they are removed in the copy. ++ * ++ * Returns TRUE if no sw breakpoint was present. ++ */ + gboolean +-mono_breakpoint_clean_code (guint8 *code, guint8 *buf, int size) ++mono_breakpoint_clean_code (guint8 *method_start, guint8 *code, int offset, guint8 *buf, int size) + { + int i; + gboolean can_write = TRUE; +- memcpy (buf, code, size); ++ /* ++ * If method_start is non-NULL we need to perform bound checks, since we access memory ++ * at code - offset we could go before the start of the method and end up in a different ++ * page of memory that is not mapped or read incorrect data anyway. We zero-fill the bytes ++ * instead. ++ */ ++ if (!method_start || code - offset >= method_start) { ++ memcpy (buf, code - offset, size); ++ } else { ++ int diff = code - method_start; ++ memset (buf, 0, size); ++ memcpy (buf + offset - diff, method_start, diff + size - offset); ++ } ++ code -= offset; + for (i = 0; i < MONO_BREAKPOINT_ARRAY_SIZE; ++i) { + int idx = mono_breakpoint_info_index [i]; + guint8 *ptr; +@@ -4599,7 +4620,7 @@ + guint8 reg = 0; + gint32 disp = 0; + +- mono_breakpoint_clean_code (code - 8, buf, sizeof (buf)); ++ mono_breakpoint_clean_code (NULL, code, 8, buf, sizeof (buf)); + code = buf + 8; + + *displacement = 0; +Index: mono/mono/mini/tramp-amd64.c +=================================================================== +--- mono/mono/mini/tramp-amd64.c (revision 98526) ++++ mono/mono/mini/tramp-amd64.c (revision 98527) +@@ -73,7 +73,7 @@ + { + guint8 *code; + guint8 buf [16]; +- gboolean can_write = mono_breakpoint_clean_code (orig_code - 14, buf, sizeof (buf)); ++ gboolean can_write = mono_breakpoint_clean_code (method_start, orig_code, 14, buf, sizeof (buf)); + + code = buf + 14; + +Index: mono/mono/mini/tramp-x86.c +=================================================================== +--- mono/mono/mini/tramp-x86.c (revision 98526) ++++ mono/mono/mini/tramp-x86.c (revision 98527) +@@ -62,7 +62,7 @@ + { + guint8 *code; + guint8 buf [8]; +- gboolean can_write = mono_breakpoint_clean_code (orig_code - 8, buf, sizeof (buf)); ++ gboolean can_write = mono_breakpoint_clean_code (method_start, orig_code, 8, buf, sizeof (buf)); + + code = buf + 8; + if (mono_running_on_valgrind ()) --- mono-1.9.1+dfsg.orig/debian/patches/kfreebsd_support.dpatch +++ mono-1.9.1+dfsg/debian/patches/kfreebsd_support.dpatch @@ -0,0 +1,203 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## +## +## All lines beginning with ## DP:' are a description of the patch. +## DP: kfreebsd support - mainly backport of gc 6.8 + +@DPATCH@ +diff -urNad mono-1.2.6~/configure.in mono-1.2.6/configure.in +--- mono-1.2.6~/configure.in 2007-12-16 15:41:43.000000000 +0100 ++++ mono-1.2.6/configure.in 2007-12-16 15:42:43.000000000 +0100 +@@ -93,6 +93,16 @@ + libgc_threads=pthreads + with_sigaltstack=no + ;; ++ *-*-kfreebsd*-gnu) ++ platform_win32=no ++ CPPFLAGS="$CPPFLAGS -DGC_FREEBSD_THREADS -D_GNU_SOURCE -D_REENTRANT -DUSE_MMAP -DUSE_MUNMAP -DTHREAD_LOCAL_ALLOC -pthread" ++ libmono_cflags="-D_REENTRANT -DTHREAD_LOCAL_ALLOC -pthread" ++ libmono_ldflags="-lpthread -pthread" ++ libdl="-ldl" ++ libgc_threads=pthreads ++ need_link_unlink=yes ++ with_sigaltstack=no ++ ;; + # these flags will work for all versions of -STABLE + # + *-*-*freebsd4*) +@@ -1855,6 +1865,11 @@ + LIBC="libc.so.12" + INTL="libintl.so.0" + ;; ++ *-*-kfreebsd*-gnu) ++ LIBC="libc.so.0.1" ++ INTL="libc.so.0.1" ++ X11="libX11.so.6" ++ ;; + *-*-*freebsd*) + LIBC="libc.so" + INTL="libintl.so" +diff -urNad mono-1.2.6~/libgc/configure.in mono-1.2.6/libgc/configure.in +--- mono-1.2.6~/libgc/configure.in 2007-12-16 15:41:43.000000000 +0100 ++++ mono-1.2.6/libgc/configure.in 2007-12-16 15:42:43.000000000 +0100 +@@ -103,6 +103,17 @@ + AC_DEFINE(THREAD_LOCAL_ALLOC) + THREADDLLIBS="-lpthread -lrt" + ;; ++ *-*-kfreebsd*-gnu) ++ AC_DEFINE(GC_FREEBSD_THREADS) ++ INCLUDES="$INCLUDES -pthread" ++ THREADDLLIBS=-pthread ++ AC_DEFINE(_REENTRANT) ++ if test "${enable_parallel_mark}" = yes; then ++ AC_DEFINE(PARALLEL_MARK) ++ fi ++ AC_DEFINE(THREAD_LOCAL_ALLOC) ++ AC_DEFINE(USE_COMPILER_TLS) ++ ;; + *-*-freebsd4*) + AC_MSG_WARN("FreeBSD does not yet fully support threads with Boehm GC.") + AC_DEFINE(GC_FREEBSD_THREADS) +diff -urNad mono-1.2.6~/libgc/dyn_load.c mono-1.2.6/libgc/dyn_load.c +--- mono-1.2.6~/libgc/dyn_load.c 2007-12-16 15:41:43.000000000 +0100 ++++ mono-1.2.6/libgc/dyn_load.c 2007-12-16 15:42:43.000000000 +0100 +@@ -26,7 +26,7 @@ + * None of this is safe with dlclose and incremental collection. + * But then not much of anything is safe in the presence of dlclose. + */ +-#if defined(__linux__) && !defined(_GNU_SOURCE) ++#if (defined(__linux__) || defined(__GLIBC__)) && !defined(_GNU_SOURCE) + /* Can't test LINUX, since this must be define before other includes */ + # define _GNU_SOURCE + #endif +@@ -386,7 +386,7 @@ + /* For glibc 2.2.4+. Unfortunately, it doesn't work for older */ + /* versions. Thanks to Jakub Jelinek for most of the code. */ + +-# if defined(LINUX) /* Are others OK here, too? */ \ ++# if (defined(LINUX) || defined (__GLIBC__)) /* Are others OK here, too? */ \ + && (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2) \ + || (__GLIBC__ == 2 && __GLIBC_MINOR__ == 2 && defined(DT_CONFIG))) + +diff -urNad mono-1.2.6~/libgc/include/gc.h mono-1.2.6/libgc/include/gc.h +--- mono-1.2.6~/libgc/include/gc.h 2007-12-16 15:41:43.000000000 +0100 ++++ mono-1.2.6/libgc/include/gc.h 2007-12-16 15:42:43.000000000 +0100 +@@ -484,7 +484,7 @@ + # define GC_RETURN_ADDR (GC_word)__return_address + #endif + +-#ifdef __linux__ ++#if defined(__linux__) || defined(__GLIBC__) + # include + # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \ + && !defined(__ia64__) +diff -urNad mono-1.2.6~/libgc/include/private/gcconfig.h mono-1.2.6/libgc/include/private/gcconfig.h +--- mono-1.2.6~/libgc/include/private/gcconfig.h 2007-12-16 15:41:43.000000000 +0100 ++++ mono-1.2.6/libgc/include/private/gcconfig.h 2007-12-16 15:42:43.000000000 +0100 +@@ -55,7 +55,7 @@ + # endif + + /* And one for FreeBSD: */ +-# if defined(__FreeBSD__) && !defined(FREEBSD) ++# if (defined(__FreeBSD__) || defined(__FreeBSD_kernel__)) && !defined(FREEBSD) + # define FREEBSD + # endif + +@@ -1279,8 +1279,15 @@ + # ifndef GC_FREEBSD_THREADS + # define MPROTECT_VDB + # endif +-# define SIG_SUSPEND SIGTSTP +-# define SIG_THR_RESTART SIGCONT ++# ifdef __GLIBC__ ++# define SIG_SUSPEND (32+6) ++# define SIG_THR_RESTART (32+5) ++ extern int _end[]; ++# define DATAEND (_end) ++# else ++# define SIG_SUSPEND SIGTSTP ++# define SIG_THR_RESTART SIGCONT ++# endif + # define FREEBSD_STACKBOTTOM + # ifdef __ELF__ + # define DYNAMIC_LOADING +@@ -2009,6 +2016,28 @@ + extern char * GC_FreeBSDGetDataStart(); + # define DATASTART GC_FreeBSDGetDataStart(0x1000, &etext) + # endif ++# ifdef FREEBSD ++# define OS_TYPE "FREEBSD" ++# ifndef GC_FREEBSD_THREADS ++# define MPROTECT_VDB ++# endif ++# ifdef __GLIBC__ ++# define SIG_SUSPEND (32+6) ++# define SIG_THR_RESTART (32+5) ++ extern int _end[]; ++# define DATAEND (_end) ++# else ++# define SIG_SUSPEND SIGUSR1 ++# define SIG_THR_RESTART SIGUSR2 ++# endif ++# define FREEBSD_STACKBOTTOM ++# ifdef __ELF__ ++# define DYNAMIC_LOADING ++# endif ++ extern char etext[]; ++ extern char * GC_FreeBSDGetDataStart(); ++# define DATASTART GC_FreeBSDGetDataStart(0x1000, &etext) ++# endif + # ifdef NETBSD + # define OS_TYPE "NETBSD" + # ifdef __ELF__ +@@ -2080,7 +2109,7 @@ + # define SUNOS5SIGS + # endif + +-# if defined(FREEBSD) && (__FreeBSD__ >= 4) ++# if defined(FREEBSD) && ((__FreeBSD__ >= 4) || (__FreeBSD_kernel__ >= 4)) + # define SUNOS5SIGS + # endif + +@@ -2143,7 +2172,7 @@ + # define CACHE_LINE_SIZE 32 /* Wild guess */ + # endif + +-# ifdef LINUX ++# if defined(LINUX) || defined(__GLIBC__) + # define REGISTER_LIBRARIES_EARLY + /* We sometimes use dl_iterate_phdr, which may acquire an internal */ + /* lock. This isn't safe after the world has stopped. So we must */ +@@ -2224,7 +2253,7 @@ + #if defined(SPARC) + # define CAN_SAVE_CALL_ARGS + #endif +-#if (defined(I386) || defined(X86_64)) && defined(LINUX) ++#if (defined(I386) || defined(X86_64)) && (defined(LINUX) || defined(__GLIBC__)) + /* SAVE_CALL_CHAIN is supported if the code is compiled to save */ + /* frame pointers by default, i.e. no -fomit-frame-pointer flag. */ + # define CAN_SAVE_CALL_ARGS +diff -urNad mono-1.2.6~/mono/mini/exceptions-amd64.c mono-1.2.6/mono/mini/exceptions-amd64.c +--- mono-1.2.6~/mono/mini/exceptions-amd64.c 2007-12-16 15:41:43.000000000 +0100 ++++ mono-1.2.6/mono/mini/exceptions-amd64.c 2007-12-16 15:42:43.000000000 +0100 +@@ -682,7 +682,7 @@ + static inline guint64* + gregs_from_ucontext (ucontext_t *ctx) + { +-#ifdef __FreeBSD__ ++#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) + guint64 *gregs = (guint64 *) &ctx->uc_mcontext; + #else + guint64 *gregs = (guint64 *) &ctx->uc_mcontext.gregs; +diff -urNad mono-1.2.6~/mono/mini/mini-amd64.h mono-1.2.6/mono/mini/mini-amd64.h +--- mono-1.2.6~/mono/mini/mini-amd64.h 2007-12-16 15:41:43.000000000 +0100 ++++ mono-1.2.6/mono/mini/mini-amd64.h 2007-12-16 15:42:43.000000000 +0100 +@@ -220,7 +220,7 @@ + + #endif /* PLATFORM_WIN32 */ + +-#ifdef __FreeBSD__ ++#if defined (__FreeBSD__) || defined(__FreeBSD_kernel__) + + #define REG_RAX 7 + #define REG_RCX 4 --- mono-1.9.1+dfsg.orig/debian/patches/ppc_fix_memory_corruption_r81413.dpatch +++ mono-1.9.1+dfsg/debian/patches/ppc_fix_memory_corruption_r81413.dpatch @@ -0,0 +1,33 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run + +@DPATCH@ +diff -urNad mono-1.2.5~/mono/mini/mini-ppc.c mono-1.2.5/mono/mini/mini-ppc.c +--- mono-1.2.5~/mono/mini/mini-ppc.c 2007-08-17 19:54:05.000000000 +0200 ++++ mono-1.2.5/mono/mini/mini-ppc.c 2007-08-17 19:58:10.000000000 +0200 +@@ -2563,8 +2563,12 @@ + ppc_rlwinm (code, ppc_r11, ppc_r11, 0, 0, 27); + /* use ctr to store the number of words to 0 if needed */ + if (ins->flags & MONO_INST_INIT) { +- /* we zero 4 bytes at a time */ +- ppc_addi (code, ppc_r0, ins->sreg1, 3); ++ /* we zero 4 bytes at a time: ++ * we add 7 instead of 3 so that we set the counter to ++ * at least 1, otherwise the bdnz instruction will make ++ * it negative and iterate billions of times. ++ */ ++ ppc_addi (code, ppc_r0, ins->sreg1, 7); + ppc_srawi (code, ppc_r0, ppc_r0, 2); + ppc_mtctr (code, ppc_r0); + } +@@ -2574,7 +2578,10 @@ + + if (ins->flags & MONO_INST_INIT) { + /* adjust the dest reg by -4 so we can use stwu */ +- ppc_addi (code, ins->dreg, ppc_sp, (area_offset - 4)); ++ /* we actually adjust -8 because we let the loop ++ * run at least once ++ */ ++ ppc_addi (code, ins->dreg, ppc_sp, (area_offset - 8)); + ppc_li (code, ppc_r11, 0); + zero_loop_start = code; + ppc_stwu (code, ppc_r11, 4, ins->dreg); --- mono-1.9.1+dfsg.orig/debian/patches/fix-mono.pc.in.dpatch +++ mono-1.9.1+dfsg/debian/patches/fix-mono.pc.in.dpatch @@ -0,0 +1,18 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## fix-mono.pc.in.dpatch by Mirco Bauer +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad mono-1.2.6~/data/mono.pc.in mono-1.2.6/data/mono.pc.in +--- mono-1.2.6~/data/mono.pc.in 2007-11-08 23:07:46.000000000 +0100 ++++ mono-1.2.6/data/mono.pc.in 2007-12-16 15:50:02.000000000 +0100 +@@ -1,5 +1,5 @@ +-prefix=${pcfiledir}/../.. +-exec_prefix=${pcfiledir}/../.. ++prefix=@prefix@ ++exec_prefix=${prefix} + libdir=${prefix}/@reloc_libdir@ + includedir=${prefix}/include/mono-@API_VER@ + sysconfdir=@sysconfdir@ --- mono-1.9.1+dfsg.orig/debian/patches/remove_arg_max_check_r101444.dpatch +++ mono-1.9.1+dfsg/debian/patches/remove_arg_max_check_r101444.dpatch @@ -0,0 +1,27 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## remove_arg_max_check_r101444.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Comment out check in wapi_glob.c which breaks on recent distributions +## DP: (such as Intrepid). Taken from SVN revision 101444 + +@DPATCH@ +diff -urNad mono-1.9.1+dfsg.orig/mono/io-layer/wapi_glob.c mono-1.9.1/mono/io-layer/wapi_glob.c +--- mono/mono/io-layer/wapi_glob.c (revision 101443) ++++ mono/mono/io-layer/wapi_glob.c (revision 101444) +@@ -299,11 +299,14 @@ + } + pathv[pglob->gl_offs + pglob->gl_pathc] = NULL; + ++#if 0 ++ /* Broken on opensuse 11 */ + if ((pglob->gl_flags & WAPI_GLOB_LIMIT) && + newsize + *limitp >= ARG_MAX) { + errno = 0; + return(WAPI_GLOB_NOSPACE); + } ++#endif + + return(copy == NULL ? WAPI_GLOB_NOSPACE : 0); + } + --- mono-1.9.1+dfsg.orig/debian/patches/console-no-utf8-bom.dpatch +++ mono-1.9.1+dfsg/debian/patches/console-no-utf8-bom.dpatch @@ -0,0 +1,16 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run + +@DPATCH@ + +--- trunk/mcs/class/corlib/System/Console.cs.old 2006-08-29 18:21:12.473936000 +0200 ++++ trunk/mcs/class/corlib/System/Console.cs 2006-08-29 18:23:46.607568750 +0200 +@@ -97,8 +97,7 @@ + int code_page = 0; + Encoding.InternalCodePage (ref code_page); + +- if (code_page != -1 && ((code_page & 0x0fffffff) == 3 // UTF8Encoding.UTF8_CODE_PAGE +- || ((code_page & 0x10000000) != 0))) ++ if (code_page == UTF8Encoding.UTF8_CODE_PAGE || ((code_page & 0x10000000) != 0)) + inputEncoding = outputEncoding = Encoding.UTF8Unmarked; + else + inputEncoding = outputEncoding = Encoding.Default; --- mono-1.9.1+dfsg.orig/debian/patches/fix-mono-cairo.pc.in.dpatch +++ mono-1.9.1+dfsg/debian/patches/fix-mono-cairo.pc.in.dpatch @@ -0,0 +1,18 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## fix-mono-cairo.pc.in.dpatch by Mirco Bauer +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad mono-1.2.6~/data/mono-cairo.pc.in mono-1.2.6/data/mono-cairo.pc.in +--- mono-1.2.6~/data/mono-cairo.pc.in 2007-11-08 23:07:46.000000000 +0100 ++++ mono-1.2.6/data/mono-cairo.pc.in 2007-12-16 15:51:57.000000000 +0100 +@@ -1,5 +1,5 @@ +-prefix=${pcfiledir}/../.. +-exec_prefix=${pcfiledir}/../.. ++prefix=@prefix@ ++exec_prefix=${prefix} + libdir=${prefix}/@reloc_libdir@ + includedir=${prefix}/include + --- mono-1.9.1+dfsg.orig/debian/patches/99_autoreconf.dpatch +++ mono-1.9.1+dfsg/debian/patches/99_autoreconf.dpatch @@ -0,0 +1,8132 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 99_autoreconf.dpatch by Mirco Bauer +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad mono-1.9.1+dfsg~/Makefile.in mono-1.9.1+dfsg/Makefile.in +--- mono-1.9.1+dfsg~/Makefile.in 2008-04-23 21:53:57.000000000 +0200 ++++ mono-1.9.1+dfsg/Makefile.in 2008-06-17 23:58:28.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -107,6 +107,7 @@ + DEPDIR = @DEPDIR@ + DISABLE_SHARED_HANDLES = @DISABLE_SHARED_HANDLES@ + DLLTOOL = @DLLTOOL@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -142,6 +143,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MONO_DL_NEED_USCORE = @MONO_DL_NEED_USCORE@ ++NMEDIT = @NMEDIT@ + OBJDUMP = @OBJDUMP@ + OBJEXT = @OBJEXT@ + OPROFILE_CFLAGS = @OPROFILE_CFLAGS@ +@@ -393,8 +395,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique + tags: TAGS + +@@ -419,8 +421,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +@@ -430,13 +432,12 @@ + CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ +- here=`pwd`; \ + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique +@@ -510,6 +511,10 @@ + tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 + $(am__remove_distdir) + ++dist-lzma: distdir ++ tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma ++ $(am__remove_distdir) ++ + dist-tarZ: distdir + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z + $(am__remove_distdir) +@@ -536,6 +541,8 @@ + GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ + *.tar.bz2*) \ + bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ ++ *.tar.lzma*) \ ++ unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\ + *.tar.Z*) \ + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ + *.shar.gz*) \ +@@ -688,18 +695,18 @@ + .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ + all all-am am--refresh check check-am clean clean-generic \ + clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \ +- dist-gzip dist-hook dist-shar dist-tarZ dist-zip distcheck \ +- distclean distclean-generic distclean-hdr distclean-libtool \ +- distclean-tags distcleancheck distdir distuninstallcheck dvi \ +- dvi-am html html-am info info-am install install-am \ +- install-data install-data-am install-dvi install-dvi-am \ +- install-exec install-exec-am install-html install-html-am \ +- install-info install-info-am install-man install-pdf \ +- install-pdf-am install-ps install-ps-am install-strip \ +- installcheck installcheck-am installdirs installdirs-am \ +- maintainer-clean maintainer-clean-generic mostlyclean \ +- mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ +- tags tags-recursive uninstall uninstall-am ++ dist-gzip dist-hook dist-lzma dist-shar dist-tarZ dist-zip \ ++ distcheck distclean distclean-generic distclean-hdr \ ++ distclean-libtool distclean-tags distcleancheck distdir \ ++ distuninstallcheck dvi dvi-am html html-am info info-am \ ++ install install-am install-data install-data-am install-dvi \ ++ install-dvi-am install-exec install-exec-am install-html \ ++ install-html-am install-info install-info-am install-man \ ++ install-pdf install-pdf-am install-ps install-ps-am \ ++ install-strip installcheck installcheck-am installdirs \ ++ installdirs-am maintainer-clean maintainer-clean-generic \ ++ mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ ++ ps ps-am tags tags-recursive uninstall uninstall-am + + + # Distribute the 'mcs' tree too +diff -urNad mono-1.9.1+dfsg~/aclocal.m4 mono-1.9.1+dfsg/aclocal.m4 +--- mono-1.9.1+dfsg~/aclocal.m4 2008-04-23 21:53:57.000000000 +0200 ++++ mono-1.9.1+dfsg/aclocal.m4 2008-06-17 23:58:14.000000000 +0200 +@@ -1,7 +1,7 @@ +-# generated automatically by aclocal 1.10 -*- Autoconf -*- ++# generated automatically by aclocal 1.10.1 -*- Autoconf -*- + + # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, +-# 2005, 2006 Free Software Foundation, Inc. ++# 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This file is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -11,14 +11,17 @@ + # even the implied warranty of MERCHANTABILITY or FITNESS FOR A + # PARTICULAR PURPOSE. + +-m4_if(m4_PACKAGE_VERSION, [2.61],, +-[m4_fatal([this file was generated for autoconf 2.61. +-You have another version of autoconf. If you want to use that, +-you should regenerate the build system entirely.], [63])]) ++m4_ifndef([AC_AUTOCONF_VERSION], ++ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl ++m4_if(AC_AUTOCONF_VERSION, [2.61],, ++[m4_warning([this file was generated for autoconf 2.61. ++You have another version of autoconf. It may work, but is not guaranteed to. ++If you have problems, you may need to regenerate the build system entirely. ++To do so, use the procedure documented by the package, typically `autoreconf'.])]) + + # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- + +-# serial 51 AC_PROG_LIBTOOL ++# serial 52 Debian 1.5.26-4 AC_PROG_LIBTOOL + + + # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED) +@@ -106,7 +109,6 @@ + AC_REQUIRE([AC_OBJEXT])dnl + AC_REQUIRE([AC_EXEEXT])dnl + dnl +- + AC_LIBTOOL_SYS_MAX_CMD_LEN + AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE + AC_LIBTOOL_OBJDIR +@@ -208,6 +210,8 @@ + ;; + esac + ++_LT_REQUIRED_DARWIN_CHECKS ++ + AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no) + AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], + enable_win32_dll=yes, enable_win32_dll=no) +@@ -287,9 +291,80 @@ + echo "$lt_simple_link_test_code" >conftest.$ac_ext + eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err + _lt_linker_boilerplate=`cat conftest.err` +-$rm conftest* ++$rm -r conftest* + ])# _LT_LINKER_BOILERPLATE + ++# _LT_REQUIRED_DARWIN_CHECKS ++# -------------------------- ++# Check for some things on darwin ++AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS],[ ++ case $host_os in ++ rhapsody* | darwin*) ++ AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:]) ++ AC_CHECK_TOOL([NMEDIT], [nmedit], [:]) ++ ++ AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod], ++ [lt_cv_apple_cc_single_mod=no ++ if test -z "${LT_MULTI_MODULE}"; then ++ # By default we will add the -single_module flag. You can override ++ # by either setting the environment variable LT_MULTI_MODULE ++ # non-empty at configure time, or by adding -multi_module to the ++ # link flags. ++ echo "int foo(void){return 1;}" > conftest.c ++ $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ ++ -dynamiclib ${wl}-single_module conftest.c ++ if test -f libconftest.dylib; then ++ lt_cv_apple_cc_single_mod=yes ++ rm -rf libconftest.dylib* ++ fi ++ rm conftest.c ++ fi]) ++ AC_CACHE_CHECK([for -exported_symbols_list linker flag], ++ [lt_cv_ld_exported_symbols_list], ++ [lt_cv_ld_exported_symbols_list=no ++ save_LDFLAGS=$LDFLAGS ++ echo "_main" > conftest.sym ++ LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" ++ AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], ++ [lt_cv_ld_exported_symbols_list=yes], ++ [lt_cv_ld_exported_symbols_list=no]) ++ LDFLAGS="$save_LDFLAGS" ++ ]) ++ case $host_os in ++ rhapsody* | darwin1.[[0123]]) ++ _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; ++ darwin1.*) ++ _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; ++ darwin*) ++ # if running on 10.5 or later, the deployment target defaults ++ # to the OS version, if on x86, and 10.4, the deployment ++ # target defaults to 10.4. Don't you love it? ++ case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in ++ 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*) ++ _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; ++ 10.[[012]]*) ++ _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; ++ 10.*) ++ _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; ++ esac ++ ;; ++ esac ++ if test "$lt_cv_apple_cc_single_mod" = "yes"; then ++ _lt_dar_single_mod='$single_module' ++ fi ++ if test "$lt_cv_ld_exported_symbols_list" = "yes"; then ++ _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' ++ else ++ _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}" ++ fi ++ if test "$DSYMUTIL" != ":"; then ++ _lt_dsymutil="~$DSYMUTIL \$lib || :" ++ else ++ _lt_dsymutil= ++ fi ++ ;; ++ esac ++]) + + # _LT_AC_SYS_LIBPATH_AIX + # ---------------------- +@@ -614,7 +689,11 @@ + *64-bit*) + case $lt_cv_prog_gnu_ld in + yes*) LD="${LD-ld} -m elf64_sparc" ;; +- *) LD="${LD-ld} -64" ;; ++ *) ++ if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then ++ LD="${LD-ld} -64" ++ fi ++ ;; + esac + ;; + esac +@@ -707,7 +786,7 @@ + $2=yes + fi + fi +- $rm conftest* ++ $rm -r conftest* + LDFLAGS="$save_LDFLAGS" + ]) + +@@ -978,7 +1057,7 @@ + AC_CHECK_FUNC([shl_load], + [lt_cv_dlopen="shl_load"], + [AC_CHECK_LIB([dld], [shl_load], +- [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"], ++ [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"], + [AC_CHECK_FUNC([dlopen], + [lt_cv_dlopen="dlopen"], + [AC_CHECK_LIB([dl], [dlopen], +@@ -986,7 +1065,7 @@ + [AC_CHECK_LIB([svld], [dlopen], + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], + [AC_CHECK_LIB([dld], [dld_link], +- [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"]) ++ [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"]) + ]) + ]) + ]) +@@ -1303,7 +1382,7 @@ + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +-aix4* | aix5*) ++aix[[4-9]]*) + version_type=linux + need_lib_prefix=no + need_version=no +@@ -1644,6 +1723,18 @@ + dynamic_linker='GNU/Linux ld.so' + ;; + ++netbsdelf*-gnu) ++ version_type=linux ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ shlibpath_var=LD_LIBRARY_PATH ++ shlibpath_overrides_runpath=no ++ hardcode_into_libs=yes ++ dynamic_linker='NetBSD ld.elf_so' ++ ;; ++ + netbsd*) + version_type=sunos + need_lib_prefix=no +@@ -1824,6 +1915,13 @@ + AC_MSG_RESULT([$dynamic_linker]) + test "$dynamic_linker" = no && can_build_shared=no + ++AC_CACHE_VAL([lt_cv_sys_lib_search_path_spec], ++[lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"]) ++sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" ++AC_CACHE_VAL([lt_cv_sys_lib_dlsearch_path_spec], ++[lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"]) ++sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" ++ + variables_saved_for_relink="PATH $shlibpath_var $runpath_var" + if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +@@ -2323,7 +2421,7 @@ + # whether `pass_all' will *always* work, you probably want this one. + + case $host_os in +-aix4* | aix5*) ++aix[[4-9]]*) + lt_cv_deplibs_check_method=pass_all + ;; + +@@ -2418,7 +2516,7 @@ + lt_cv_deplibs_check_method=pass_all + ;; + +-netbsd*) ++netbsd* | netbsdelf*-gnu) + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' + else +@@ -2759,7 +2857,7 @@ + fi + ;; + +-aix4* | aix5*) ++aix[[4-9]]*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi +@@ -2816,6 +2914,7 @@ + _LT_AC_TAGVAR(predeps, $1)= + _LT_AC_TAGVAR(postdeps, $1)= + _LT_AC_TAGVAR(compiler_lib_search_path, $1)= ++_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)= + + # Source file extension for C++ test sources. + ac_ext=cpp +@@ -2925,7 +3024,7 @@ + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; +- aix4* | aix5*) ++ aix[[4-9]]*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. +@@ -2938,7 +3037,7 @@ + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. +- case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) ++ case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) + for ld_flag in $LDFLAGS; do + case $ld_flag in + *-brtl*) +@@ -3084,51 +3183,23 @@ + fi + ;; + darwin* | rhapsody*) +- case $host_os in +- rhapsody* | darwin1.[[012]]) +- _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress' +- ;; +- *) # Darwin 1.3 on +- if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then +- _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' +- else +- case ${MACOSX_DEPLOYMENT_TARGET} in +- 10.[[012]]) +- _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' +- ;; +- 10.*) +- _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup' +- ;; +- esac +- fi +- ;; +- esac + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes +- +- if test "$GXX" = yes ; then +- lt_int_apple_cc_single_mod=no ++ _LT_AC_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined" ++ if test "$GXX" = yes ; then + output_verbose_link_cmd='echo' +- if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then +- lt_int_apple_cc_single_mod=yes ++ _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" ++ _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" ++ _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" ++ _LT_AC_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" ++ if test "$lt_cv_apple_cc_single_mod" != "yes"; then ++ _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" ++ _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" + fi +- if test "X$lt_int_apple_cc_single_mod" = Xyes ; then +- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' +- else +- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' +- fi +- _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' +- # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds +- if test "X$lt_int_apple_cc_single_mod" = Xyes ; then +- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' +- else +- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' +- fi +- _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + case $cc_basename in + xlc*) +@@ -3379,7 +3450,7 @@ + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + ;; +- pgCC*) ++ pgCC* | pgcpp*) + # Portland Group C++ compiler + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' +@@ -3452,7 +3523,7 @@ + ;; + esac + ;; +- netbsd*) ++ netbsd* | netbsdelf*-gnu) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' + wlarc= +@@ -3814,7 +3885,8 @@ + # compiler output when linking a shared library. + # Parse the compiler output and extract the necessary + # objects, libraries and library flags. +-AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[ ++AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP], ++[AC_REQUIRE([LT_AC_PROG_SED])dnl + dnl we can't use the lt_simple_compile_test_code here, + dnl because it contains code intended for an executable, + dnl not a library. It's possible we should let each +@@ -3939,6 +4011,11 @@ + + $rm -f confest.$objext + ++_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)= ++if test -n "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then ++ _LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_AC_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` ++fi ++ + # PORTME: override above test on systems where it is broken + ifelse([$1],[CXX], + [case $host_os in +@@ -3995,7 +4072,6 @@ + ;; + esac + ]) +- + case " $_LT_AC_TAGVAR(postdeps, $1) " in + *" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;; + esac +@@ -4080,7 +4156,7 @@ + postinstall_cmds='$RANLIB $lib' + fi + ;; +-aix4* | aix5*) ++aix[[4-9]]*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi +@@ -4257,6 +4333,7 @@ + _LT_AC_TAGVAR(predeps, $1) \ + _LT_AC_TAGVAR(postdeps, $1) \ + _LT_AC_TAGVAR(compiler_lib_search_path, $1) \ ++ _LT_AC_TAGVAR(compiler_lib_search_dirs, $1) \ + _LT_AC_TAGVAR(archive_cmds, $1) \ + _LT_AC_TAGVAR(archive_expsym_cmds, $1) \ + _LT_AC_TAGVAR(postinstall_cmds, $1) \ +@@ -4319,7 +4396,7 @@ + # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) + # NOTE: Changes made to this file will be lost: look at ltmain.sh. + # +-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 ++# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 + # Free Software Foundation, Inc. + # + # This file is part of GNU Libtool: +@@ -4556,6 +4633,10 @@ + # shared library. + postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1) + ++# The directories searched by this compiler when creating a shared ++# library ++compiler_lib_search_dirs=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_dirs, $1) ++ + # The library search path used internally by the compiler when linking + # a shared library. + compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) +@@ -4905,7 +4986,7 @@ + echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD + cat conftest.$ac_ext >&5 + fi +- rm -f conftest* conftst* ++ rm -rf conftest* conftst* + + # Do not use the global_symbol_pipe unless it works. + if test "$pipe_works" = yes; then +@@ -4962,7 +5043,8 @@ + # built for inclusion in a dll (and should export symbols for example). + # Although the cygwin gcc ignores -fPIC, still need this for old-style + # (--disable-auto-import) libraries +- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' ++ m4_if([$1], [GCJ], [], ++ [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) + ;; + darwin* | rhapsody*) + # PIC is the default on this platform +@@ -4999,7 +5081,7 @@ + esac + else + case $host_os in +- aix4* | aix5*) ++ aix[[4-9]]*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor +@@ -5095,7 +5177,7 @@ + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; +- pgCC*) ++ pgCC* | pgcpp*) + # Portland Group C++ compiler. + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' +@@ -5133,7 +5215,7 @@ + ;; + esac + ;; +- netbsd*) ++ netbsd* | netbsdelf*-gnu) + ;; + osf3* | osf4* | osf5*) + case $cc_basename in +@@ -5246,7 +5328,8 @@ + # built for inclusion in a dll (and should export symbols for example). + # Although the cygwin gcc ignores -fPIC, still need this for old-style + # (--disable-auto-import) libraries +- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' ++ m4_if([$1], [GCJ], [], ++ [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) + ;; + + darwin* | rhapsody*) +@@ -5316,7 +5399,8 @@ + mingw* | cygwin* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). +- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' ++ m4_if([$1], [GCJ], [], ++ [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) + ;; + + hpux9* | hpux10* | hpux11*) +@@ -5453,7 +5537,7 @@ + # + if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then + AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works], +- _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1), ++ _LT_AC_TAGVAR(lt_cv_prog_compiler_pic_works, $1), + [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [], + [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in + "" | " "*) ;; +@@ -5477,7 +5561,7 @@ + # + wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\" + AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], +- _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1), ++ _LT_AC_TAGVAR(lt_cv_prog_compiler_static_works, $1), + $lt_tmp_static_flag, + [], + [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=]) +@@ -5493,7 +5577,7 @@ + ifelse([$1],[CXX],[ + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + case $host_os in +- aix4* | aix5*) ++ aix[[4-9]]*) + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then +@@ -5508,10 +5592,14 @@ + cygwin* | mingw*) + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols' + ;; ++ linux* | k*bsd*-gnu) ++ _LT_AC_TAGVAR(link_all_deplibs, $1)=no ++ ;; + *) + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + ;; + esac ++ _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] + ],[ + runpath_var= + _LT_AC_TAGVAR(allow_undefined_flag, $1)= +@@ -5542,12 +5630,14 @@ + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. +- _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_" ++ _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. ++ # Exclude shared library initialization/finalization symbols. ++dnl Note also adjust exclude_expsyms for C++ above. + extract_expsyms_cmds= + # Just being paranoid about ensuring that cc_basename is set. + _LT_CC_BASENAME([$compiler]) +@@ -5597,7 +5687,7 @@ + + # See if GNU ld supports shared libraries. + case $host_os in +- aix3* | aix4* | aix5*) ++ aix[[3-9]]*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + _LT_AC_TAGVAR(ld_shlibs, $1)=no +@@ -5713,12 +5803,13 @@ + $echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' + fi ++ _LT_AC_TAGVAR(link_all_deplibs, $1)=no + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + +- netbsd*) ++ netbsd* | netbsdelf*-gnu) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= +@@ -5816,7 +5907,7 @@ + fi + ;; + +- aix4* | aix5*) ++ aix[[4-9]]*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. +@@ -5836,7 +5927,7 @@ + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. +- case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) ++ case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes +@@ -5996,11 +6087,10 @@ + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + if test "$GCC" = yes ; then + output_verbose_link_cmd='echo' +- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' +- _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' +- # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds +- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' +- _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' ++ _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" ++ _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" ++ _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" ++ _LT_AC_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" + else + case $cc_basename in + xlc*) +@@ -6150,7 +6240,7 @@ + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + ;; + +- netbsd*) ++ netbsd* | netbsdelf*-gnu) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else +@@ -6729,7 +6819,7 @@ + + _PKG_TEXT + +-To get pkg-config, see .])], ++To get pkg-config, see .])], + [$4]) + else + $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS +@@ -6739,7 +6829,7 @@ + fi[]dnl + ])# PKG_CHECK_MODULES + +-# Copyright (C) 2002, 2003, 2005, 2006 Free Software Foundation, Inc. ++# Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc. + # + # This file is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, +@@ -6754,7 +6844,7 @@ + [am__api_version='1.10' + dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to + dnl require some minimum version. Point them to the right macro. +-m4_if([$1], [1.10], [], ++m4_if([$1], [1.10.1], [], + [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl + ]) + +@@ -6770,8 +6860,10 @@ + # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. + # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. + AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], +-[AM_AUTOMAKE_VERSION([1.10])dnl +-_AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)]) ++[AM_AUTOMAKE_VERSION([1.10.1])dnl ++m4_ifndef([AC_AUTOCONF_VERSION], ++ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl ++_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)]) + + # Figure out how to run the assembler. -*- Autoconf -*- + +@@ -7088,7 +7180,7 @@ + # each Makefile.in and add a new line on top of each file to say so. + # Grep'ing the whole file is not good either: AIX grep has a line + # limit of 2048, but all sed's we know have understand at least 4000. +- if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then ++ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then + dirpart=`AS_DIRNAME("$mf")` + else + continue +@@ -7148,13 +7240,13 @@ + # Do all the work for Automake. -*- Autoconf -*- + + # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, +-# 2005, 2006 Free Software Foundation, Inc. ++# 2005, 2006, 2008 Free Software Foundation, Inc. + # + # This file is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. + +-# serial 12 ++# serial 13 + + # This macro actually does too much. Some checks are only needed if + # your package does certain things. But this isn't really a big deal. +@@ -7259,16 +7351,17 @@ + # our stamp files there. + AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], + [# Compute $1's index in $config_headers. ++_am_arg=$1 + _am_stamp_count=1 + for _am_header in $config_headers :; do + case $_am_header in +- $1 | $1:* ) ++ $_am_arg | $_am_arg:* ) + break ;; + * ) + _am_stamp_count=`expr $_am_stamp_count + 1` ;; + esac + done +-echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) ++echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) + + # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. + # +@@ -7586,7 +7679,7 @@ + + # _AM_SUBST_NOTMAKE(VARIABLE) + # --------------------------- +-# Prevent Automake from outputing VARIABLE = @VARIABLE@ in Makefile.in. ++# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. + # This macro is traced by Automake. + AC_DEFUN([_AM_SUBST_NOTMAKE]) + +diff -urNad mono-1.9.1+dfsg~/configure mono-1.9.1+dfsg/configure +--- mono-1.9.1+dfsg~/configure 2008-04-23 21:53:57.000000000 +0200 ++++ mono-1.9.1+dfsg/configure 2008-06-17 23:58:24.000000000 +0200 +@@ -884,6 +884,8 @@ + ECHO + AR + RANLIB ++DSYMUTIL ++NMEDIT + DLLTOOL + AS + OBJDUMP +@@ -2839,6 +2841,11 @@ + gc_default=boehm + fi + ++# These variables are the CPPFLAGS/CFLAGS passed to libgc's configure ++# libgc should inherit the original CFLAGS/CPPFLAGS passed to configure, i.e. -O0 ++CPPFLAGS_FOR_LIBGC=$CPPFLAGS ++CFLAGS_FOR_LIBGC=$CFLAGS ++ + # + # These are the flags that need to be stored in the mono.pc file for + # compiling code that will embed Mono +@@ -2900,6 +2907,16 @@ + libgc_threads=pthreads + with_sigaltstack=no + ;; ++ *-*-kfreebsd*-gnu) ++ platform_win32=no ++ CPPFLAGS="$CPPFLAGS -DGC_FREEBSD_THREADS -D_GNU_SOURCE -D_REENTRANT -DUSE_MMAP -DUSE_MUNMAP -DTHREAD_LOCAL_ALLOC -pthread" ++ libmono_cflags="-D_REENTRANT -DTHREAD_LOCAL_ALLOC -pthread" ++ libmono_ldflags="-lpthread -pthread" ++ libdl="-ldl" ++ libgc_threads=pthreads ++ need_link_unlink=yes ++ with_sigaltstack=no ++ ;; + # these flags will work for all versions of -STABLE + # + *-*-*freebsd4*) +@@ -6276,7 +6293,7 @@ + # whether `pass_all' will *always* work, you probably want this one. + + case $host_os in +-aix4* | aix5*) ++aix[4-9]*) + lt_cv_deplibs_check_method=pass_all + ;; + +@@ -6371,7 +6388,7 @@ + lt_cv_deplibs_check_method=pass_all + ;; + +-netbsd*) ++netbsd* | netbsdelf*-gnu) + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' + else +@@ -6491,7 +6508,7 @@ + ;; + *-*-irix6*) + # Find out which ABI we are using. +- echo '#line 6494 "configure"' > conftest.$ac_ext ++ echo '#line 6511 "configure"' > conftest.$ac_ext + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +@@ -6663,7 +6680,11 @@ + *64-bit*) + case $lt_cv_prog_gnu_ld in + yes*) LD="${LD-ld} -m elf64_sparc" ;; +- *) LD="${LD-ld} -64" ;; ++ *) ++ if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then ++ LD="${LD-ld} -64" ++ fi ++ ;; + esac + ;; + esac +@@ -8145,7 +8166,6 @@ + + + # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! +- + # find the maximum length of command line arguments + { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 + echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; } +@@ -8460,7 +8480,7 @@ + echo "$progname: failed program was:" >&5 + cat conftest.$ac_ext >&5 + fi +- rm -f conftest* conftst* ++ rm -rf conftest* conftst* + + # Do not use the global_symbol_pipe unless it works. + if test "$pipe_works" = yes; then +@@ -9020,6 +9040,318 @@ + ;; + esac + ++ ++ case $host_os in ++ rhapsody* | darwin*) ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. ++set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5 ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } ++if test "${ac_cv_prog_DSYMUTIL+set}" = set; then ++ echo $ECHO_N "(cached) $ECHO_C" >&6 ++else ++ if test -n "$DSYMUTIL"; then ++ ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ++ ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" ++ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++done ++IFS=$as_save_IFS ++ ++fi ++fi ++DSYMUTIL=$ac_cv_prog_DSYMUTIL ++if test -n "$DSYMUTIL"; then ++ { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5 ++echo "${ECHO_T}$DSYMUTIL" >&6; } ++else ++ { echo "$as_me:$LINENO: result: no" >&5 ++echo "${ECHO_T}no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_prog_DSYMUTIL"; then ++ ac_ct_DSYMUTIL=$DSYMUTIL ++ # Extract the first word of "dsymutil", so it can be a program name with args. ++set dummy dsymutil; ac_word=$2 ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5 ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } ++if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then ++ echo $ECHO_N "(cached) $ECHO_C" >&6 ++else ++ if test -n "$ac_ct_DSYMUTIL"; then ++ ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ++ ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" ++ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++done ++IFS=$as_save_IFS ++ ++fi ++fi ++ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL ++if test -n "$ac_ct_DSYMUTIL"; then ++ { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5 ++echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; } ++else ++ { echo "$as_me:$LINENO: result: no" >&5 ++echo "${ECHO_T}no" >&6; } ++fi ++ ++ if test "x$ac_ct_DSYMUTIL" = x; then ++ DSYMUTIL=":" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools ++whose name does not start with the host triplet. If you think this ++configuration is useful to you, please write to autoconf@gnu.org." >&5 ++echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools ++whose name does not start with the host triplet. If you think this ++configuration is useful to you, please write to autoconf@gnu.org." >&2;} ++ac_tool_warned=yes ;; ++esac ++ DSYMUTIL=$ac_ct_DSYMUTIL ++ fi ++else ++ DSYMUTIL="$ac_cv_prog_DSYMUTIL" ++fi ++ ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. ++set dummy ${ac_tool_prefix}nmedit; ac_word=$2 ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5 ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } ++if test "${ac_cv_prog_NMEDIT+set}" = set; then ++ echo $ECHO_N "(cached) $ECHO_C" >&6 ++else ++ if test -n "$NMEDIT"; then ++ ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ++ ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" ++ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++done ++IFS=$as_save_IFS ++ ++fi ++fi ++NMEDIT=$ac_cv_prog_NMEDIT ++if test -n "$NMEDIT"; then ++ { echo "$as_me:$LINENO: result: $NMEDIT" >&5 ++echo "${ECHO_T}$NMEDIT" >&6; } ++else ++ { echo "$as_me:$LINENO: result: no" >&5 ++echo "${ECHO_T}no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_prog_NMEDIT"; then ++ ac_ct_NMEDIT=$NMEDIT ++ # Extract the first word of "nmedit", so it can be a program name with args. ++set dummy nmedit; ac_word=$2 ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5 ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } ++if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then ++ echo $ECHO_N "(cached) $ECHO_C" >&6 ++else ++ if test -n "$ac_ct_NMEDIT"; then ++ ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ++ ac_cv_prog_ac_ct_NMEDIT="nmedit" ++ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++done ++IFS=$as_save_IFS ++ ++fi ++fi ++ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT ++if test -n "$ac_ct_NMEDIT"; then ++ { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5 ++echo "${ECHO_T}$ac_ct_NMEDIT" >&6; } ++else ++ { echo "$as_me:$LINENO: result: no" >&5 ++echo "${ECHO_T}no" >&6; } ++fi ++ ++ if test "x$ac_ct_NMEDIT" = x; then ++ NMEDIT=":" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools ++whose name does not start with the host triplet. If you think this ++configuration is useful to you, please write to autoconf@gnu.org." >&5 ++echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools ++whose name does not start with the host triplet. If you think this ++configuration is useful to you, please write to autoconf@gnu.org." >&2;} ++ac_tool_warned=yes ;; ++esac ++ NMEDIT=$ac_ct_NMEDIT ++ fi ++else ++ NMEDIT="$ac_cv_prog_NMEDIT" ++fi ++ ++ ++ { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5 ++echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; } ++if test "${lt_cv_apple_cc_single_mod+set}" = set; then ++ echo $ECHO_N "(cached) $ECHO_C" >&6 ++else ++ lt_cv_apple_cc_single_mod=no ++ if test -z "${LT_MULTI_MODULE}"; then ++ # By default we will add the -single_module flag. You can override ++ # by either setting the environment variable LT_MULTI_MODULE ++ # non-empty at configure time, or by adding -multi_module to the ++ # link flags. ++ echo "int foo(void){return 1;}" > conftest.c ++ $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ ++ -dynamiclib ${wl}-single_module conftest.c ++ if test -f libconftest.dylib; then ++ lt_cv_apple_cc_single_mod=yes ++ rm -rf libconftest.dylib* ++ fi ++ rm conftest.c ++ fi ++fi ++{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5 ++echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; } ++ { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5 ++echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; } ++if test "${lt_cv_ld_exported_symbols_list+set}" = set; then ++ echo $ECHO_N "(cached) $ECHO_C" >&6 ++else ++ lt_cv_ld_exported_symbols_list=no ++ save_LDFLAGS=$LDFLAGS ++ echo "_main" > conftest.sym ++ LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && ++ $as_test_x conftest$ac_exeext; then ++ lt_cv_ld_exported_symbols_list=yes ++else ++ echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ lt_cv_ld_exported_symbols_list=no ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext ++ LDFLAGS="$save_LDFLAGS" ++ ++fi ++{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5 ++echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; } ++ case $host_os in ++ rhapsody* | darwin1.[0123]) ++ _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; ++ darwin1.*) ++ _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; ++ darwin*) ++ # if running on 10.5 or later, the deployment target defaults ++ # to the OS version, if on x86, and 10.4, the deployment ++ # target defaults to 10.4. Don't you love it? ++ case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in ++ 10.0,*86*-darwin8*|10.0,*-darwin[91]*) ++ _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; ++ 10.[012]*) ++ _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; ++ 10.*) ++ _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; ++ esac ++ ;; ++ esac ++ if test "$lt_cv_apple_cc_single_mod" = "yes"; then ++ _lt_dar_single_mod='$single_module' ++ fi ++ if test "$lt_cv_ld_exported_symbols_list" = "yes"; then ++ _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' ++ else ++ _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}" ++ fi ++ if test "$DSYMUTIL" != ":"; then ++ _lt_dsymutil="~$DSYMUTIL \$lib || :" ++ else ++ _lt_dsymutil= ++ fi ++ ;; ++ esac ++ ++ + enable_dlopen=no + enable_win32_dll=yes + +@@ -9085,7 +9417,7 @@ + echo "$lt_simple_link_test_code" >conftest.$ac_ext + eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err + _lt_linker_boilerplate=`cat conftest.err` +-$rm conftest* ++$rm -r conftest* + + + +@@ -9113,11 +9445,11 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:9116: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:9448: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 +- echo "$as_me:9120: \$? = $ac_status" >&5 ++ echo "$as_me:9452: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. +@@ -9387,10 +9719,10 @@ + + { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 + echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; } +-if test "${lt_prog_compiler_pic_works+set}" = set; then ++if test "${lt_cv_prog_compiler_pic_works+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else +- lt_prog_compiler_pic_works=no ++ lt_cv_prog_compiler_pic_works=no + ac_outfile=conftest.$ac_objext + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic -DPIC" +@@ -9403,27 +9735,27 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:9406: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:9738: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 +- echo "$as_me:9410: \$? = $ac_status" >&5 ++ echo "$as_me:9742: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then +- lt_prog_compiler_pic_works=yes ++ lt_cv_prog_compiler_pic_works=yes + fi + fi + $rm conftest* + + fi +-{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5 +-echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; } ++{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5 ++echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; } + +-if test x"$lt_prog_compiler_pic_works" = xyes; then ++if test x"$lt_cv_prog_compiler_pic_works" = xyes; then + case $lt_prog_compiler_pic in + "" | " "*) ;; + *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; +@@ -9450,10 +9782,10 @@ + wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" + { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 + echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } +-if test "${lt_prog_compiler_static_works+set}" = set; then ++if test "${lt_cv_prog_compiler_static_works+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else +- lt_prog_compiler_static_works=no ++ lt_cv_prog_compiler_static_works=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $lt_tmp_static_flag" + echo "$lt_simple_link_test_code" > conftest.$ac_ext +@@ -9466,20 +9798,20 @@ + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if diff conftest.exp conftest.er2 >/dev/null; then +- lt_prog_compiler_static_works=yes ++ lt_cv_prog_compiler_static_works=yes + fi + else +- lt_prog_compiler_static_works=yes ++ lt_cv_prog_compiler_static_works=yes + fi + fi +- $rm conftest* ++ $rm -r conftest* + LDFLAGS="$save_LDFLAGS" + + fi +-{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5 +-echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; } ++{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5 ++echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; } + +-if test x"$lt_prog_compiler_static_works" = xyes; then ++if test x"$lt_cv_prog_compiler_static_works" = xyes; then + : + else + lt_prog_compiler_static= +@@ -9507,11 +9839,11 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:9510: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:9842: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 +- echo "$as_me:9514: \$? = $ac_status" >&5 ++ echo "$as_me:9846: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized +@@ -9591,12 +9923,13 @@ + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. +- exclude_expsyms="_GLOBAL_OFFSET_TABLE_" ++ exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. ++ # Exclude shared library initialization/finalization symbols. + extract_expsyms_cmds= + # Just being paranoid about ensuring that cc_basename is set. + for cc_temp in $compiler""; do +@@ -9655,7 +9988,7 @@ + + # See if GNU ld supports shared libraries. + case $host_os in +- aix3* | aix4* | aix5*) ++ aix[3-9]*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + ld_shlibs=no +@@ -9771,12 +10104,13 @@ + $echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' + fi ++ link_all_deplibs=no + else + ld_shlibs=no + fi + ;; + +- netbsd*) ++ netbsd* | netbsdelf*-gnu) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= +@@ -9874,7 +10208,7 @@ + fi + ;; + +- aix4* | aix5*) ++ aix[4-9]*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. +@@ -9894,7 +10228,7 @@ + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. +- case $host_os in aix4.[23]|aix4.[23].*|aix5*) ++ case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes +@@ -10166,11 +10500,10 @@ + link_all_deplibs=yes + if test "$GCC" = yes ; then + output_verbose_link_cmd='echo' +- archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' +- module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' +- # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds +- archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' +- module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' ++ archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" ++ module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" ++ archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" ++ module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" + else + case $cc_basename in + xlc*) +@@ -10320,7 +10653,7 @@ + link_all_deplibs=yes + ;; + +- netbsd*) ++ netbsd* | netbsdelf*-gnu) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else +@@ -10690,7 +11023,7 @@ + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +-aix4* | aix5*) ++aix[4-9]*) + version_type=linux + need_lib_prefix=no + need_version=no +@@ -11031,6 +11364,18 @@ + dynamic_linker='GNU/Linux ld.so' + ;; + ++netbsdelf*-gnu) ++ version_type=linux ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ shlibpath_var=LD_LIBRARY_PATH ++ shlibpath_overrides_runpath=no ++ hardcode_into_libs=yes ++ dynamic_linker='NetBSD ld.elf_so' ++ ;; ++ + netbsd*) + version_type=sunos + need_lib_prefix=no +@@ -11212,6 +11557,21 @@ + echo "${ECHO_T}$dynamic_linker" >&6; } + test "$dynamic_linker" = no && can_build_shared=no + ++if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then ++ echo $ECHO_N "(cached) $ECHO_C" >&6 ++else ++ lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec" ++fi ++ ++sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" ++if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then ++ echo $ECHO_N "(cached) $ECHO_C" >&6 ++else ++ lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec" ++fi ++ ++sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" ++ + variables_saved_for_relink="PATH $shlibpath_var $runpath_var" + if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +@@ -11531,7 +11891,7 @@ + { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 + echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; } + if test $ac_cv_lib_dld_shl_load = yes; then +- lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" ++ lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" + else + { echo "$as_me:$LINENO: checking for dlopen" >&5 + echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; } +@@ -11807,7 +12167,7 @@ + { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 + echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; } + if test $ac_cv_lib_dld_dld_link = yes; then +- lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" ++ lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" + fi + + +@@ -11856,7 +12216,7 @@ + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < conftest.$ac_ext <conftest.$ac_ext + eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err + _lt_linker_boilerplate=`cat conftest.err` +-$rm conftest* ++$rm -r conftest* + + + # Allow CC to be a program name with arguments. +@@ -12927,7 +13293,7 @@ + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; +- aix4* | aix5*) ++ aix[4-9]*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. +@@ -12940,7 +13306,7 @@ + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. +- case $host_os in aix4.[23]|aix4.[23].*|aix5*) ++ case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) + for ld_flag in $LDFLAGS; do + case $ld_flag in + *-brtl*) +@@ -13198,51 +13564,23 @@ + fi + ;; + darwin* | rhapsody*) +- case $host_os in +- rhapsody* | darwin1.[012]) +- allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress' +- ;; +- *) # Darwin 1.3 on +- if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then +- allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' +- else +- case ${MACOSX_DEPLOYMENT_TARGET} in +- 10.[012]) +- allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' +- ;; +- 10.*) +- allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup' +- ;; +- esac +- fi +- ;; +- esac + archive_cmds_need_lc_CXX=no + hardcode_direct_CXX=no + hardcode_automatic_CXX=yes + hardcode_shlibpath_var_CXX=unsupported + whole_archive_flag_spec_CXX='' + link_all_deplibs_CXX=yes +- +- if test "$GXX" = yes ; then +- lt_int_apple_cc_single_mod=no ++ allow_undefined_flag_CXX="$_lt_dar_allow_undefined" ++ if test "$GXX" = yes ; then + output_verbose_link_cmd='echo' +- if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then +- lt_int_apple_cc_single_mod=yes ++ archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" ++ module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" ++ archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" ++ module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" ++ if test "$lt_cv_apple_cc_single_mod" != "yes"; then ++ archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" ++ archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" + fi +- if test "X$lt_int_apple_cc_single_mod" = Xyes ; then +- archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' +- else +- archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' +- fi +- module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' +- # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds +- if test "X$lt_int_apple_cc_single_mod" = Xyes ; then +- archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' +- else +- archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' +- fi +- module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + case $cc_basename in + xlc*) +@@ -13493,7 +13831,7 @@ + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' + whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + ;; +- pgCC*) ++ pgCC* | pgcpp*) + # Portland Group C++ compiler + archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' + archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' +@@ -13566,7 +13904,7 @@ + ;; + esac + ;; +- netbsd*) ++ netbsd* | netbsdelf*-gnu) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' + wlarc= +@@ -13900,7 +14238,6 @@ + GCC_CXX="$GXX" + LD_CXX="$LD" + +- + cat > conftest.$ac_ext <&5 + echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; } +-if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then ++if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else +- lt_prog_compiler_pic_works_CXX=no ++ lt_cv_prog_compiler_pic_works_CXX=no + ac_outfile=conftest.$ac_objext + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" +@@ -14376,27 +14717,27 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:14379: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:14720: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 +- echo "$as_me:14383: \$? = $ac_status" >&5 ++ echo "$as_me:14724: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then +- lt_prog_compiler_pic_works_CXX=yes ++ lt_cv_prog_compiler_pic_works_CXX=yes + fi + fi + $rm conftest* + + fi +-{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5 +-echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; } ++{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 ++echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; } + +-if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then ++if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then + case $lt_prog_compiler_pic_CXX in + "" | " "*) ;; + *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; +@@ -14423,10 +14764,10 @@ + wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" + { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 + echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } +-if test "${lt_prog_compiler_static_works_CXX+set}" = set; then ++if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else +- lt_prog_compiler_static_works_CXX=no ++ lt_cv_prog_compiler_static_works_CXX=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $lt_tmp_static_flag" + echo "$lt_simple_link_test_code" > conftest.$ac_ext +@@ -14439,20 +14780,20 @@ + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if diff conftest.exp conftest.er2 >/dev/null; then +- lt_prog_compiler_static_works_CXX=yes ++ lt_cv_prog_compiler_static_works_CXX=yes + fi + else +- lt_prog_compiler_static_works_CXX=yes ++ lt_cv_prog_compiler_static_works_CXX=yes + fi + fi +- $rm conftest* ++ $rm -r conftest* + LDFLAGS="$save_LDFLAGS" + + fi +-{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5 +-echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; } ++{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5 ++echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; } + +-if test x"$lt_prog_compiler_static_works_CXX" = xyes; then ++if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then + : + else + lt_prog_compiler_static_CXX= +@@ -14480,11 +14821,11 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:14483: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:14824: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 +- echo "$as_me:14487: \$? = $ac_status" >&5 ++ echo "$as_me:14828: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized +@@ -14537,7 +14878,7 @@ + + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + case $host_os in +- aix4* | aix5*) ++ aix[4-9]*) + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then +@@ -14552,10 +14893,14 @@ + cygwin* | mingw*) + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' + ;; ++ linux* | k*bsd*-gnu) ++ link_all_deplibs_CXX=no ++ ;; + *) + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + ;; + esac ++ exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' + + { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 + echo "${ECHO_T}$ld_shlibs_CXX" >&6; } +@@ -14657,7 +15002,7 @@ + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +-aix4* | aix5*) ++aix[4-9]*) + version_type=linux + need_lib_prefix=no + need_version=no +@@ -14997,6 +15342,18 @@ + dynamic_linker='GNU/Linux ld.so' + ;; + ++netbsdelf*-gnu) ++ version_type=linux ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ shlibpath_var=LD_LIBRARY_PATH ++ shlibpath_overrides_runpath=no ++ hardcode_into_libs=yes ++ dynamic_linker='NetBSD ld.elf_so' ++ ;; ++ + netbsd*) + version_type=sunos + need_lib_prefix=no +@@ -15178,6 +15535,21 @@ + echo "${ECHO_T}$dynamic_linker" >&6; } + test "$dynamic_linker" = no && can_build_shared=no + ++if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then ++ echo $ECHO_N "(cached) $ECHO_C" >&6 ++else ++ lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec" ++fi ++ ++sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" ++if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then ++ echo $ECHO_N "(cached) $ECHO_C" >&6 ++else ++ lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec" ++fi ++ ++sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" ++ + variables_saved_for_relink="PATH $shlibpath_var $runpath_var" + if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +@@ -15261,6 +15633,7 @@ + predeps_CXX \ + postdeps_CXX \ + compiler_lib_search_path_CXX \ ++ compiler_lib_search_dirs_CXX \ + archive_cmds_CXX \ + archive_expsym_cmds_CXX \ + postinstall_cmds_CXX \ +@@ -15509,6 +15882,10 @@ + # shared library. + postdeps=$lt_postdeps_CXX + ++# The directories searched by this compiler when creating a shared ++# library ++compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX ++ + # The library search path used internally by the compiler when linking + # a shared library. + compiler_lib_search_path=$lt_compiler_lib_search_path_CXX +@@ -15723,7 +16100,7 @@ + echo "$lt_simple_link_test_code" >conftest.$ac_ext + eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err + _lt_linker_boilerplate=`cat conftest.err` +-$rm conftest* ++$rm -r conftest* + + + # Allow CC to be a program name with arguments. +@@ -15761,7 +16138,7 @@ + postinstall_cmds='$RANLIB $lib' + fi + ;; +-aix4* | aix5*) ++aix[4-9]*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi +@@ -16026,10 +16403,10 @@ + + { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 + echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; } +-if test "${lt_prog_compiler_pic_works_F77+set}" = set; then ++if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else +- lt_prog_compiler_pic_works_F77=no ++ lt_cv_prog_compiler_pic_works_F77=no + ac_outfile=conftest.$ac_objext + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic_F77" +@@ -16042,27 +16419,27 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:16045: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:16422: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 +- echo "$as_me:16049: \$? = $ac_status" >&5 ++ echo "$as_me:16426: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then +- lt_prog_compiler_pic_works_F77=yes ++ lt_cv_prog_compiler_pic_works_F77=yes + fi + fi + $rm conftest* + + fi +-{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5 +-echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; } ++{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5 ++echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; } + +-if test x"$lt_prog_compiler_pic_works_F77" = xyes; then ++if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then + case $lt_prog_compiler_pic_F77 in + "" | " "*) ;; + *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;; +@@ -16089,10 +16466,10 @@ + wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\" + { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 + echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } +-if test "${lt_prog_compiler_static_works_F77+set}" = set; then ++if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else +- lt_prog_compiler_static_works_F77=no ++ lt_cv_prog_compiler_static_works_F77=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $lt_tmp_static_flag" + echo "$lt_simple_link_test_code" > conftest.$ac_ext +@@ -16105,20 +16482,20 @@ + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if diff conftest.exp conftest.er2 >/dev/null; then +- lt_prog_compiler_static_works_F77=yes ++ lt_cv_prog_compiler_static_works_F77=yes + fi + else +- lt_prog_compiler_static_works_F77=yes ++ lt_cv_prog_compiler_static_works_F77=yes + fi + fi +- $rm conftest* ++ $rm -r conftest* + LDFLAGS="$save_LDFLAGS" + + fi +-{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5 +-echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; } ++{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5 ++echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; } + +-if test x"$lt_prog_compiler_static_works_F77" = xyes; then ++if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then + : + else + lt_prog_compiler_static_F77= +@@ -16146,11 +16523,11 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:16149: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:16526: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 +- echo "$as_me:16153: \$? = $ac_status" >&5 ++ echo "$as_me:16530: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized +@@ -16230,12 +16607,13 @@ + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. +- exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_" ++ exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. ++ # Exclude shared library initialization/finalization symbols. + extract_expsyms_cmds= + # Just being paranoid about ensuring that cc_basename is set. + for cc_temp in $compiler""; do +@@ -16294,7 +16672,7 @@ + + # See if GNU ld supports shared libraries. + case $host_os in +- aix3* | aix4* | aix5*) ++ aix[3-9]*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + ld_shlibs_F77=no +@@ -16410,12 +16788,13 @@ + $echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' + fi ++ link_all_deplibs_F77=no + else + ld_shlibs_F77=no + fi + ;; + +- netbsd*) ++ netbsd* | netbsdelf*-gnu) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= +@@ -16513,7 +16892,7 @@ + fi + ;; + +- aix4* | aix5*) ++ aix[4-9]*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. +@@ -16533,7 +16912,7 @@ + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. +- case $host_os in aix4.[23]|aix4.[23].*|aix5*) ++ case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes +@@ -16785,11 +17164,10 @@ + link_all_deplibs_F77=yes + if test "$GCC" = yes ; then + output_verbose_link_cmd='echo' +- archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' +- module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' +- # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds +- archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' +- module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' ++ archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" ++ module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" ++ archive_expsym_cmds_F77="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" ++ module_expsym_cmds_F77="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" + else + case $cc_basename in + xlc*) +@@ -16939,7 +17317,7 @@ + link_all_deplibs_F77=yes + ;; + +- netbsd*) ++ netbsd* | netbsdelf*-gnu) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else +@@ -17258,7 +17636,7 @@ + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +-aix4* | aix5*) ++aix[4-9]*) + version_type=linux + need_lib_prefix=no + need_version=no +@@ -17598,6 +17976,18 @@ + dynamic_linker='GNU/Linux ld.so' + ;; + ++netbsdelf*-gnu) ++ version_type=linux ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ shlibpath_var=LD_LIBRARY_PATH ++ shlibpath_overrides_runpath=no ++ hardcode_into_libs=yes ++ dynamic_linker='NetBSD ld.elf_so' ++ ;; ++ + netbsd*) + version_type=sunos + need_lib_prefix=no +@@ -17779,6 +18169,21 @@ + echo "${ECHO_T}$dynamic_linker" >&6; } + test "$dynamic_linker" = no && can_build_shared=no + ++if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then ++ echo $ECHO_N "(cached) $ECHO_C" >&6 ++else ++ lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec" ++fi ++ ++sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" ++if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then ++ echo $ECHO_N "(cached) $ECHO_C" >&6 ++else ++ lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec" ++fi ++ ++sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" ++ + variables_saved_for_relink="PATH $shlibpath_var $runpath_var" + if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +@@ -17862,6 +18267,7 @@ + predeps_F77 \ + postdeps_F77 \ + compiler_lib_search_path_F77 \ ++ compiler_lib_search_dirs_F77 \ + archive_cmds_F77 \ + archive_expsym_cmds_F77 \ + postinstall_cmds_F77 \ +@@ -18110,6 +18516,10 @@ + # shared library. + postdeps=$lt_postdeps_F77 + ++# The directories searched by this compiler when creating a shared ++# library ++compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77 ++ + # The library search path used internally by the compiler when linking + # a shared library. + compiler_lib_search_path=$lt_compiler_lib_search_path_F77 +@@ -18284,7 +18694,7 @@ + echo "$lt_simple_link_test_code" >conftest.$ac_ext + eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err + _lt_linker_boilerplate=`cat conftest.err` +-$rm conftest* ++$rm -r conftest* + + + # Allow CC to be a program name with arguments. +@@ -18333,11 +18743,11 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:18336: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:18746: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 +- echo "$as_me:18340: \$? = $ac_status" >&5 ++ echo "$as_me:18750: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. +@@ -18397,7 +18807,7 @@ + # built for inclusion in a dll (and should export symbols for example). + # Although the cygwin gcc ignores -fPIC, still need this for old-style + # (--disable-auto-import) libraries +- lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' ++ + ;; + + darwin* | rhapsody*) +@@ -18467,7 +18877,7 @@ + mingw* | cygwin* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). +- lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' ++ + ;; + + hpux9* | hpux10* | hpux11*) +@@ -18607,10 +19017,10 @@ + + { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5 + echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; } +-if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then ++if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else +- lt_prog_compiler_pic_works_GCJ=no ++ lt_cv_prog_compiler_pic_works_GCJ=no + ac_outfile=conftest.$ac_objext + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic_GCJ" +@@ -18623,27 +19033,27 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:18626: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:19036: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 +- echo "$as_me:18630: \$? = $ac_status" >&5 ++ echo "$as_me:19040: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then +- lt_prog_compiler_pic_works_GCJ=yes ++ lt_cv_prog_compiler_pic_works_GCJ=yes + fi + fi + $rm conftest* + + fi +-{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5 +-echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; } ++{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5 ++echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; } + +-if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then ++if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then + case $lt_prog_compiler_pic_GCJ in + "" | " "*) ;; + *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;; +@@ -18670,10 +19080,10 @@ + wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\" + { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 + echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } +-if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then ++if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else +- lt_prog_compiler_static_works_GCJ=no ++ lt_cv_prog_compiler_static_works_GCJ=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $lt_tmp_static_flag" + echo "$lt_simple_link_test_code" > conftest.$ac_ext +@@ -18686,20 +19096,20 @@ + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if diff conftest.exp conftest.er2 >/dev/null; then +- lt_prog_compiler_static_works_GCJ=yes ++ lt_cv_prog_compiler_static_works_GCJ=yes + fi + else +- lt_prog_compiler_static_works_GCJ=yes ++ lt_cv_prog_compiler_static_works_GCJ=yes + fi + fi +- $rm conftest* ++ $rm -r conftest* + LDFLAGS="$save_LDFLAGS" + + fi +-{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5 +-echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; } ++{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5 ++echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; } + +-if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then ++if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then + : + else + lt_prog_compiler_static_GCJ= +@@ -18727,11 +19137,11 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:18730: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:19140: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 +- echo "$as_me:18734: \$? = $ac_status" >&5 ++ echo "$as_me:19144: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized +@@ -18811,12 +19221,13 @@ + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. +- exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_" ++ exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. ++ # Exclude shared library initialization/finalization symbols. + extract_expsyms_cmds= + # Just being paranoid about ensuring that cc_basename is set. + for cc_temp in $compiler""; do +@@ -18875,7 +19286,7 @@ + + # See if GNU ld supports shared libraries. + case $host_os in +- aix3* | aix4* | aix5*) ++ aix[3-9]*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + ld_shlibs_GCJ=no +@@ -18991,12 +19402,13 @@ + $echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' + fi ++ link_all_deplibs_GCJ=no + else + ld_shlibs_GCJ=no + fi + ;; + +- netbsd*) ++ netbsd* | netbsdelf*-gnu) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= +@@ -19094,7 +19506,7 @@ + fi + ;; + +- aix4* | aix5*) ++ aix[4-9]*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. +@@ -19114,7 +19526,7 @@ + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. +- case $host_os in aix4.[23]|aix4.[23].*|aix5*) ++ case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes +@@ -19386,11 +19798,10 @@ + link_all_deplibs_GCJ=yes + if test "$GCC" = yes ; then + output_verbose_link_cmd='echo' +- archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' +- module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' +- # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds +- archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' +- module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' ++ archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" ++ module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" ++ archive_expsym_cmds_GCJ="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" ++ module_expsym_cmds_GCJ="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" + else + case $cc_basename in + xlc*) +@@ -19540,7 +19951,7 @@ + link_all_deplibs_GCJ=yes + ;; + +- netbsd*) ++ netbsd* | netbsdelf*-gnu) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else +@@ -19859,7 +20270,7 @@ + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +-aix4* | aix5*) ++aix[4-9]*) + version_type=linux + need_lib_prefix=no + need_version=no +@@ -20199,6 +20610,18 @@ + dynamic_linker='GNU/Linux ld.so' + ;; + ++netbsdelf*-gnu) ++ version_type=linux ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ shlibpath_var=LD_LIBRARY_PATH ++ shlibpath_overrides_runpath=no ++ hardcode_into_libs=yes ++ dynamic_linker='NetBSD ld.elf_so' ++ ;; ++ + netbsd*) + version_type=sunos + need_lib_prefix=no +@@ -20380,6 +20803,21 @@ + echo "${ECHO_T}$dynamic_linker" >&6; } + test "$dynamic_linker" = no && can_build_shared=no + ++if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then ++ echo $ECHO_N "(cached) $ECHO_C" >&6 ++else ++ lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec" ++fi ++ ++sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" ++if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then ++ echo $ECHO_N "(cached) $ECHO_C" >&6 ++else ++ lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec" ++fi ++ ++sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" ++ + variables_saved_for_relink="PATH $shlibpath_var $runpath_var" + if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +@@ -20463,6 +20901,7 @@ + predeps_GCJ \ + postdeps_GCJ \ + compiler_lib_search_path_GCJ \ ++ compiler_lib_search_dirs_GCJ \ + archive_cmds_GCJ \ + archive_expsym_cmds_GCJ \ + postinstall_cmds_GCJ \ +@@ -20711,6 +21150,10 @@ + # shared library. + postdeps=$lt_postdeps_GCJ + ++# The directories searched by this compiler when creating a shared ++# library ++compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ ++ + # The library search path used internally by the compiler when linking + # a shared library. + compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ +@@ -20884,7 +21327,7 @@ + echo "$lt_simple_link_test_code" >conftest.$ac_ext + eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err + _lt_linker_boilerplate=`cat conftest.err` +-$rm conftest* ++$rm -r conftest* + + + # Allow CC to be a program name with arguments. +@@ -20944,6 +21387,7 @@ + predeps_RC \ + postdeps_RC \ + compiler_lib_search_path_RC \ ++ compiler_lib_search_dirs_RC \ + archive_cmds_RC \ + archive_expsym_cmds_RC \ + postinstall_cmds_RC \ +@@ -21192,6 +21636,10 @@ + # shared library. + postdeps=$lt_postdeps_RC + ++# The directories searched by this compiler when creating a shared ++# library ++compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC ++ + # The library search path used internally by the compiler when linking + # a shared library. + compiler_lib_search_path=$lt_compiler_lib_search_path_RC +@@ -21380,6 +21828,8 @@ + + + ++DOLT ++ + # Test whenever ld supports -version-script + + # Check whether --with-gnu-ld was given. +@@ -23687,6 +24137,7 @@ + esac + fi + CFLAGS="$CFLAGS -g $WARN" ++CFLAGS_FOR_LIBGC="$CFLAGS_FOR_LIBGC -g" + + # Where's the 'mcs' source tree? + if test -d $srcdir/mcs; then +@@ -24044,7 +24495,7 @@ + and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config. + See the pkg-config man page for more details. + +-To get pkg-config, see . ++To get pkg-config, see . + See \`config.log' for more details." >&5 + echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it + is in your PATH or set the PKG_CONFIG environment variable to the full +@@ -24054,7 +24505,7 @@ + and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config. + See the pkg-config man page for more details. + +-To get pkg-config, see . ++To get pkg-config, see . + See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } + else +@@ -24243,6 +24694,8 @@ + + { echo "$as_me:$LINENO: result: yes" >&5 + echo "${ECHO_T}yes" >&6; } ++ # Pass it to libgc as well ++ CFLAGS_FOR_LIBGC="$CFLAGS_FOR_LIBGC -mno-tls-direct-seg-refs" + + else + echo "$as_me: failed program was:" >&5 +@@ -24812,14 +25265,6 @@ + ;; + + xincluded) +- subdirs="$subdirs libgc" +- +- +- # Pass CPPFLAGS to libgc configure +- # Maybe we should use a separate variable for this to avoid passing useless and +- # potentially problematic defines to libgc (like -D_FILE_OFFSET_BITS=64) +- export CPPFLAGS +- + found_boehm=yes + gc_headers=yes + use_included_gc=yes +@@ -24920,9 +25365,6 @@ + CPPFLAGS="$CPPFLAGS -DLARGE_CONFIG" + fi + +-# tell libgc/configure about what we want +-ac_configure_args="$ac_configure_args --disable-embed-check --with-libgc-threads=$libgc_threads $libgc_configure_args" +- + if test x$use_included_gc = xyes; then + INCLUDED_LIBGC_TRUE= + INCLUDED_LIBGC_FALSE='#' +@@ -37464,6 +37906,11 @@ + LIBC="libc.so.12" + INTL="libintl.so.0" + ;; ++ *-*-kfreebsd*-gnu) ++ LIBC="libc.so.0.1" ++ INTL="libc.so.0.1" ++ X11="libX11.so.6" ++ ;; + *-*-*freebsd*) + LIBC="libc.so" + INTL="libintl.so" +@@ -38057,6 +38504,21 @@ + CPPFLAGS="$CPPFLAGS -DNO_UNALIGNED_ACCESS" + fi + ++case "x$gc" in ++ xincluded) ++ # Pass CPPFLAGS to libgc configure ++ # We should use a separate variable for this to avoid passing useless and ++ # potentially problematic defines to libgc (like -D_FILE_OFFSET_BITS=64) ++ # This should be executed late so we pick up the final version of CPPFLAGS ++ # The problem with this approach, is that during a reconfigure, the main ++ # configure scripts gets invoked with these arguments, so we use separate ++ # variables understood by libgc's configure to pass CPPFLAGS and CFLAGS. ++ ac_configure_args="$ac_configure_args --disable-embed-check --with-libgc-threads=$libgc_threads $libgc_configure_args \"CPPFLAGS_FOR_LIBGC=$CPPFLAGS\" \"CFLAGS_FOR_LIBGC=$CFLAGS_FOR_LIBGC\"" ++ subdirs="$subdirs libgc" ++ ++ ;; ++esac ++ + PREVIEW=yes + + # Check whether --with-preview was given. +@@ -39451,6 +39913,8 @@ + ECHO!$ECHO$ac_delim + AR!$AR$ac_delim + RANLIB!$RANLIB$ac_delim ++DSYMUTIL!$DSYMUTIL$ac_delim ++NMEDIT!$NMEDIT$ac_delim + DLLTOOL!$DLLTOOL$ac_delim + AS!$AS$ac_delim + OBJDUMP!$OBJDUMP$ac_delim +@@ -39526,8 +39990,6 @@ + SPARC64_FALSE!$SPARC64_FALSE$ac_delim + X86_TRUE!$X86_TRUE$ac_delim + X86_FALSE!$X86_FALSE$ac_delim +-AMD64_TRUE!$AMD64_TRUE$ac_delim +-AMD64_FALSE!$AMD64_FALSE$ac_delim + _ACEOF + + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then +@@ -39569,6 +40031,8 @@ + ac_delim='%!_!# ' + for ac_last_try in false false false false false :; do + cat >conf$$subs.sed <<_ACEOF ++AMD64_TRUE!$AMD64_TRUE$ac_delim ++AMD64_FALSE!$AMD64_FALSE$ac_delim + ALPHA_TRUE!$ALPHA_TRUE$ac_delim + ALPHA_FALSE!$ALPHA_FALSE$ac_delim + IA64_TRUE!$IA64_TRUE$ac_delim +@@ -39604,7 +40068,7 @@ + LTLIBOBJS!$LTLIBOBJS$ac_delim + _ACEOF + +- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 33; then ++ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 35; then + break + elif $ac_last_try; then + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 +@@ -40005,21 +40469,22 @@ + fi + rm -f "$tmp/out12" + # Compute $ac_file's index in $config_headers. ++_am_arg=$ac_file + _am_stamp_count=1 + for _am_header in $config_headers :; do + case $_am_header in +- $ac_file | $ac_file:* ) ++ $_am_arg | $_am_arg:* ) + break ;; + * ) + _am_stamp_count=`expr $_am_stamp_count + 1` ;; + esac + done +-echo "timestamp for $ac_file" >`$as_dirname -- $ac_file || +-$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ +- X$ac_file : 'X\(//\)[^/]' \| \ +- X$ac_file : 'X\(//\)$' \| \ +- X$ac_file : 'X\(/\)' \| . 2>/dev/null || +-echo X$ac_file | ++echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || ++$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ++ X"$_am_arg" : 'X\(//\)[^/]' \| \ ++ X"$_am_arg" : 'X\(//\)$' \| \ ++ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || ++echo X"$_am_arg" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q +@@ -40056,7 +40521,7 @@ + # each Makefile.in and add a new line on top of each file to say so. + # Grep'ing the whole file is not good either: AIX grep has a line + # limit of 2048, but all sed's we know have understand at least 4000. +- if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then ++ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then + dirpart=`$as_dirname -- "$mf" || + $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$mf" : 'X\(//\)[^/]' \| \ +diff -urNad mono-1.9.1+dfsg~/data/Makefile.in mono-1.9.1+dfsg/data/Makefile.in +--- mono-1.9.1+dfsg~/data/Makefile.in 2008-04-23 21:53:57.000000000 +0200 ++++ mono-1.9.1+dfsg/data/Makefile.in 2008-06-17 23:58:25.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -105,6 +105,7 @@ + DEPDIR = @DEPDIR@ + DISABLE_SHARED_HANDLES = @DISABLE_SHARED_HANDLES@ + DLLTOOL = @DLLTOOL@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -140,6 +141,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MONO_DL_NEED_USCORE = @MONO_DL_NEED_USCORE@ ++NMEDIT = @NMEDIT@ + OBJDUMP = @OBJDUMP@ + OBJEXT = @OBJEXT@ + OPROFILE_CFLAGS = @OPROFILE_CFLAGS@ +@@ -409,8 +411,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique + tags: TAGS + +@@ -435,8 +437,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +@@ -446,13 +448,12 @@ + CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ +- here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique +diff -urNad mono-1.9.1+dfsg~/data/net_1_1/Makefile.in mono-1.9.1+dfsg/data/net_1_1/Makefile.in +--- mono-1.9.1+dfsg~/data/net_1_1/Makefile.in 2008-04-23 21:53:57.000000000 +0200 ++++ mono-1.9.1+dfsg/data/net_1_1/Makefile.in 2008-06-17 23:58:25.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -88,6 +88,7 @@ + DEPDIR = @DEPDIR@ + DISABLE_SHARED_HANDLES = @DISABLE_SHARED_HANDLES@ + DLLTOOL = @DLLTOOL@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -123,6 +124,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MONO_DL_NEED_USCORE = @MONO_DL_NEED_USCORE@ ++NMEDIT = @NMEDIT@ + OBJDUMP = @OBJDUMP@ + OBJEXT = @OBJEXT@ + OPROFILE_CFLAGS = @OPROFILE_CFLAGS@ +diff -urNad mono-1.9.1+dfsg~/data/net_2_0/Makefile.in mono-1.9.1+dfsg/data/net_2_0/Makefile.in +--- mono-1.9.1+dfsg~/data/net_2_0/Makefile.in 2008-04-23 21:53:57.000000000 +0200 ++++ mono-1.9.1+dfsg/data/net_2_0/Makefile.in 2008-06-17 23:58:25.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -88,6 +88,7 @@ + DEPDIR = @DEPDIR@ + DISABLE_SHARED_HANDLES = @DISABLE_SHARED_HANDLES@ + DLLTOOL = @DLLTOOL@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -123,6 +124,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MONO_DL_NEED_USCORE = @MONO_DL_NEED_USCORE@ ++NMEDIT = @NMEDIT@ + OBJDUMP = @OBJDUMP@ + OBJEXT = @OBJEXT@ + OPROFILE_CFLAGS = @OPROFILE_CFLAGS@ +diff -urNad mono-1.9.1+dfsg~/docs/Makefile.in mono-1.9.1+dfsg/docs/Makefile.in +--- mono-1.9.1+dfsg~/docs/Makefile.in 2008-04-23 21:53:57.000000000 +0200 ++++ mono-1.9.1+dfsg/docs/Makefile.in 2008-06-17 23:58:25.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -78,6 +78,7 @@ + DEPDIR = @DEPDIR@ + DISABLE_SHARED_HANDLES = @DISABLE_SHARED_HANDLES@ + DLLTOOL = @DLLTOOL@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -113,6 +114,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MONO_DL_NEED_USCORE = @MONO_DL_NEED_USCORE@ ++NMEDIT = @NMEDIT@ + OBJDUMP = @OBJDUMP@ + OBJEXT = @OBJEXT@ + OPROFILE_CFLAGS = @OPROFILE_CFLAGS@ +diff -urNad mono-1.9.1+dfsg~/ikvm-native/Makefile.in mono-1.9.1+dfsg/ikvm-native/Makefile.in +--- mono-1.9.1+dfsg~/ikvm-native/Makefile.in 2008-04-23 21:53:57.000000000 +0200 ++++ mono-1.9.1+dfsg/ikvm-native/Makefile.in 2008-06-17 23:58:25.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -58,7 +58,7 @@ + libikvm_native_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(libikvm_native_la_LDFLAGS) $(LDFLAGS) -o $@ +-DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@ ++DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles + COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ +@@ -109,6 +109,7 @@ + DEPDIR = @DEPDIR@ + DISABLE_SHARED_HANDLES = @DISABLE_SHARED_HANDLES@ + DLLTOOL = @DLLTOOL@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -144,6 +145,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MONO_DL_NEED_USCORE = @MONO_DL_NEED_USCORE@ ++NMEDIT = @NMEDIT@ + OBJDUMP = @OBJDUMP@ + OBJEXT = @OBJEXT@ + OPROFILE_CFLAGS = @OPROFILE_CFLAGS@ +@@ -282,8 +284,8 @@ + @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ + if test -f $$p; then \ + f=$(am__strip_dir) \ +- echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ +- $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ ++ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ ++ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ + else :; fi; \ + done + +@@ -291,8 +293,8 @@ + @$(NORMAL_UNINSTALL) + @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ + p=$(am__strip_dir) \ +- echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ +- $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ ++ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ ++ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ + done + + clean-libLTLIBRARIES: +@@ -347,8 +349,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique + tags: TAGS + +@@ -360,8 +362,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +@@ -371,13 +373,12 @@ + CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ +- here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique +diff -urNad mono-1.9.1+dfsg~/libgc/Makefile.in mono-1.9.1+dfsg/libgc/Makefile.in +--- mono-1.9.1+dfsg~/libgc/Makefile.in 2008-04-23 21:53:57.000000000 +0200 ++++ mono-1.9.1+dfsg/libgc/Makefile.in 2008-06-17 23:58:23.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -170,6 +170,7 @@ + CYGPATH_W = @CYGPATH_W@ + DEFS = @DEFS@ + DEPDIR = @DEPDIR@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -198,6 +199,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MY_CFLAGS = @MY_CFLAGS@ ++NMEDIT = @NMEDIT@ + OBJEXT = @OBJEXT@ + PACKAGE = @PACKAGE@ + PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +@@ -619,8 +621,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique + tags: TAGS + +@@ -645,8 +647,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +@@ -656,13 +658,12 @@ + CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ +- here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique +@@ -733,6 +734,10 @@ + tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 + $(am__remove_distdir) + ++dist-lzma: distdir ++ tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma ++ $(am__remove_distdir) ++ + dist-tarZ: distdir + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z + $(am__remove_distdir) +@@ -759,6 +764,8 @@ + GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ + *.tar.bz2*) \ + bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ ++ *.tar.lzma*) \ ++ unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\ + *.tar.Z*) \ + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ + *.shar.gz*) \ +@@ -914,8 +921,8 @@ + .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ + all all-am am--refresh check check-am clean clean-generic \ + clean-libtool clean-noinstLTLIBRARIES ctags ctags-recursive \ +- dist dist-all dist-bzip2 dist-gzip dist-shar dist-tarZ \ +- dist-zip distcheck distclean distclean-compile \ ++ dist dist-all dist-bzip2 dist-gzip dist-lzma dist-shar \ ++ dist-tarZ dist-zip distcheck distclean distclean-compile \ + distclean-generic distclean-libtool distclean-tags \ + distcleancheck distdir distuninstallcheck dvi dvi-am html \ + html-am info info-am install install-am install-data \ +diff -urNad mono-1.9.1+dfsg~/libgc/aclocal.m4 mono-1.9.1+dfsg/libgc/aclocal.m4 +--- mono-1.9.1+dfsg~/libgc/aclocal.m4 2008-04-23 21:53:57.000000000 +0200 ++++ mono-1.9.1+dfsg/libgc/aclocal.m4 2008-06-17 23:58:21.000000000 +0200 +@@ -1,7 +1,7 @@ +-# generated automatically by aclocal 1.10 -*- Autoconf -*- ++# generated automatically by aclocal 1.10.1 -*- Autoconf -*- + + # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, +-# 2005, 2006 Free Software Foundation, Inc. ++# 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This file is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -11,14 +11,17 @@ + # even the implied warranty of MERCHANTABILITY or FITNESS FOR A + # PARTICULAR PURPOSE. + +-m4_if(m4_PACKAGE_VERSION, [2.61],, +-[m4_fatal([this file was generated for autoconf 2.61. +-You have another version of autoconf. If you want to use that, +-you should regenerate the build system entirely.], [63])]) ++m4_ifndef([AC_AUTOCONF_VERSION], ++ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl ++m4_if(AC_AUTOCONF_VERSION, [2.61],, ++[m4_warning([this file was generated for autoconf 2.61. ++You have another version of autoconf. It may work, but is not guaranteed to. ++If you have problems, you may need to regenerate the build system entirely. ++To do so, use the procedure documented by the package, typically `autoreconf'.])]) + + # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- + +-# serial 51 AC_PROG_LIBTOOL ++# serial 52 Debian 1.5.26-4 AC_PROG_LIBTOOL + + + # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED) +@@ -106,7 +109,6 @@ + AC_REQUIRE([AC_OBJEXT])dnl + AC_REQUIRE([AC_EXEEXT])dnl + dnl +- + AC_LIBTOOL_SYS_MAX_CMD_LEN + AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE + AC_LIBTOOL_OBJDIR +@@ -208,6 +210,8 @@ + ;; + esac + ++_LT_REQUIRED_DARWIN_CHECKS ++ + AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no) + AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], + enable_win32_dll=yes, enable_win32_dll=no) +@@ -287,9 +291,80 @@ + echo "$lt_simple_link_test_code" >conftest.$ac_ext + eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err + _lt_linker_boilerplate=`cat conftest.err` +-$rm conftest* ++$rm -r conftest* + ])# _LT_LINKER_BOILERPLATE + ++# _LT_REQUIRED_DARWIN_CHECKS ++# -------------------------- ++# Check for some things on darwin ++AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS],[ ++ case $host_os in ++ rhapsody* | darwin*) ++ AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:]) ++ AC_CHECK_TOOL([NMEDIT], [nmedit], [:]) ++ ++ AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod], ++ [lt_cv_apple_cc_single_mod=no ++ if test -z "${LT_MULTI_MODULE}"; then ++ # By default we will add the -single_module flag. You can override ++ # by either setting the environment variable LT_MULTI_MODULE ++ # non-empty at configure time, or by adding -multi_module to the ++ # link flags. ++ echo "int foo(void){return 1;}" > conftest.c ++ $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ ++ -dynamiclib ${wl}-single_module conftest.c ++ if test -f libconftest.dylib; then ++ lt_cv_apple_cc_single_mod=yes ++ rm -rf libconftest.dylib* ++ fi ++ rm conftest.c ++ fi]) ++ AC_CACHE_CHECK([for -exported_symbols_list linker flag], ++ [lt_cv_ld_exported_symbols_list], ++ [lt_cv_ld_exported_symbols_list=no ++ save_LDFLAGS=$LDFLAGS ++ echo "_main" > conftest.sym ++ LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" ++ AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], ++ [lt_cv_ld_exported_symbols_list=yes], ++ [lt_cv_ld_exported_symbols_list=no]) ++ LDFLAGS="$save_LDFLAGS" ++ ]) ++ case $host_os in ++ rhapsody* | darwin1.[[0123]]) ++ _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; ++ darwin1.*) ++ _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; ++ darwin*) ++ # if running on 10.5 or later, the deployment target defaults ++ # to the OS version, if on x86, and 10.4, the deployment ++ # target defaults to 10.4. Don't you love it? ++ case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in ++ 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*) ++ _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; ++ 10.[[012]]*) ++ _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; ++ 10.*) ++ _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; ++ esac ++ ;; ++ esac ++ if test "$lt_cv_apple_cc_single_mod" = "yes"; then ++ _lt_dar_single_mod='$single_module' ++ fi ++ if test "$lt_cv_ld_exported_symbols_list" = "yes"; then ++ _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' ++ else ++ _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}" ++ fi ++ if test "$DSYMUTIL" != ":"; then ++ _lt_dsymutil="~$DSYMUTIL \$lib || :" ++ else ++ _lt_dsymutil= ++ fi ++ ;; ++ esac ++]) + + # _LT_AC_SYS_LIBPATH_AIX + # ---------------------- +@@ -614,7 +689,11 @@ + *64-bit*) + case $lt_cv_prog_gnu_ld in + yes*) LD="${LD-ld} -m elf64_sparc" ;; +- *) LD="${LD-ld} -64" ;; ++ *) ++ if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then ++ LD="${LD-ld} -64" ++ fi ++ ;; + esac + ;; + esac +@@ -707,7 +786,7 @@ + $2=yes + fi + fi +- $rm conftest* ++ $rm -r conftest* + LDFLAGS="$save_LDFLAGS" + ]) + +@@ -978,7 +1057,7 @@ + AC_CHECK_FUNC([shl_load], + [lt_cv_dlopen="shl_load"], + [AC_CHECK_LIB([dld], [shl_load], +- [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"], ++ [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"], + [AC_CHECK_FUNC([dlopen], + [lt_cv_dlopen="dlopen"], + [AC_CHECK_LIB([dl], [dlopen], +@@ -986,7 +1065,7 @@ + [AC_CHECK_LIB([svld], [dlopen], + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], + [AC_CHECK_LIB([dld], [dld_link], +- [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"]) ++ [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"]) + ]) + ]) + ]) +@@ -1303,7 +1382,7 @@ + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +-aix4* | aix5*) ++aix[[4-9]]*) + version_type=linux + need_lib_prefix=no + need_version=no +@@ -1644,6 +1723,18 @@ + dynamic_linker='GNU/Linux ld.so' + ;; + ++netbsdelf*-gnu) ++ version_type=linux ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ shlibpath_var=LD_LIBRARY_PATH ++ shlibpath_overrides_runpath=no ++ hardcode_into_libs=yes ++ dynamic_linker='NetBSD ld.elf_so' ++ ;; ++ + netbsd*) + version_type=sunos + need_lib_prefix=no +@@ -1824,6 +1915,13 @@ + AC_MSG_RESULT([$dynamic_linker]) + test "$dynamic_linker" = no && can_build_shared=no + ++AC_CACHE_VAL([lt_cv_sys_lib_search_path_spec], ++[lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"]) ++sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" ++AC_CACHE_VAL([lt_cv_sys_lib_dlsearch_path_spec], ++[lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"]) ++sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" ++ + variables_saved_for_relink="PATH $shlibpath_var $runpath_var" + if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +@@ -2323,7 +2421,7 @@ + # whether `pass_all' will *always* work, you probably want this one. + + case $host_os in +-aix4* | aix5*) ++aix[[4-9]]*) + lt_cv_deplibs_check_method=pass_all + ;; + +@@ -2418,7 +2516,7 @@ + lt_cv_deplibs_check_method=pass_all + ;; + +-netbsd*) ++netbsd* | netbsdelf*-gnu) + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' + else +@@ -2759,7 +2857,7 @@ + fi + ;; + +-aix4* | aix5*) ++aix[[4-9]]*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi +@@ -2816,6 +2914,7 @@ + _LT_AC_TAGVAR(predeps, $1)= + _LT_AC_TAGVAR(postdeps, $1)= + _LT_AC_TAGVAR(compiler_lib_search_path, $1)= ++_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)= + + # Source file extension for C++ test sources. + ac_ext=cpp +@@ -2925,7 +3024,7 @@ + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; +- aix4* | aix5*) ++ aix[[4-9]]*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. +@@ -2938,7 +3037,7 @@ + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. +- case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) ++ case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) + for ld_flag in $LDFLAGS; do + case $ld_flag in + *-brtl*) +@@ -3084,51 +3183,23 @@ + fi + ;; + darwin* | rhapsody*) +- case $host_os in +- rhapsody* | darwin1.[[012]]) +- _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress' +- ;; +- *) # Darwin 1.3 on +- if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then +- _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' +- else +- case ${MACOSX_DEPLOYMENT_TARGET} in +- 10.[[012]]) +- _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' +- ;; +- 10.*) +- _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup' +- ;; +- esac +- fi +- ;; +- esac + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes +- +- if test "$GXX" = yes ; then +- lt_int_apple_cc_single_mod=no ++ _LT_AC_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined" ++ if test "$GXX" = yes ; then + output_verbose_link_cmd='echo' +- if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then +- lt_int_apple_cc_single_mod=yes ++ _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" ++ _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" ++ _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" ++ _LT_AC_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" ++ if test "$lt_cv_apple_cc_single_mod" != "yes"; then ++ _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" ++ _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" + fi +- if test "X$lt_int_apple_cc_single_mod" = Xyes ; then +- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' +- else +- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' +- fi +- _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' +- # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds +- if test "X$lt_int_apple_cc_single_mod" = Xyes ; then +- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' +- else +- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' +- fi +- _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + case $cc_basename in + xlc*) +@@ -3379,7 +3450,7 @@ + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + ;; +- pgCC*) ++ pgCC* | pgcpp*) + # Portland Group C++ compiler + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' +@@ -3452,7 +3523,7 @@ + ;; + esac + ;; +- netbsd*) ++ netbsd* | netbsdelf*-gnu) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' + wlarc= +@@ -3814,7 +3885,8 @@ + # compiler output when linking a shared library. + # Parse the compiler output and extract the necessary + # objects, libraries and library flags. +-AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[ ++AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP], ++[AC_REQUIRE([LT_AC_PROG_SED])dnl + dnl we can't use the lt_simple_compile_test_code here, + dnl because it contains code intended for an executable, + dnl not a library. It's possible we should let each +@@ -3939,6 +4011,11 @@ + + $rm -f confest.$objext + ++_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)= ++if test -n "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then ++ _LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_AC_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` ++fi ++ + # PORTME: override above test on systems where it is broken + ifelse([$1],[CXX], + [case $host_os in +@@ -3995,7 +4072,6 @@ + ;; + esac + ]) +- + case " $_LT_AC_TAGVAR(postdeps, $1) " in + *" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;; + esac +@@ -4080,7 +4156,7 @@ + postinstall_cmds='$RANLIB $lib' + fi + ;; +-aix4* | aix5*) ++aix[[4-9]]*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi +@@ -4257,6 +4333,7 @@ + _LT_AC_TAGVAR(predeps, $1) \ + _LT_AC_TAGVAR(postdeps, $1) \ + _LT_AC_TAGVAR(compiler_lib_search_path, $1) \ ++ _LT_AC_TAGVAR(compiler_lib_search_dirs, $1) \ + _LT_AC_TAGVAR(archive_cmds, $1) \ + _LT_AC_TAGVAR(archive_expsym_cmds, $1) \ + _LT_AC_TAGVAR(postinstall_cmds, $1) \ +@@ -4319,7 +4396,7 @@ + # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) + # NOTE: Changes made to this file will be lost: look at ltmain.sh. + # +-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 ++# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 + # Free Software Foundation, Inc. + # + # This file is part of GNU Libtool: +@@ -4556,6 +4633,10 @@ + # shared library. + postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1) + ++# The directories searched by this compiler when creating a shared ++# library ++compiler_lib_search_dirs=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_dirs, $1) ++ + # The library search path used internally by the compiler when linking + # a shared library. + compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) +@@ -4905,7 +4986,7 @@ + echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD + cat conftest.$ac_ext >&5 + fi +- rm -f conftest* conftst* ++ rm -rf conftest* conftst* + + # Do not use the global_symbol_pipe unless it works. + if test "$pipe_works" = yes; then +@@ -4962,7 +5043,8 @@ + # built for inclusion in a dll (and should export symbols for example). + # Although the cygwin gcc ignores -fPIC, still need this for old-style + # (--disable-auto-import) libraries +- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' ++ m4_if([$1], [GCJ], [], ++ [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) + ;; + darwin* | rhapsody*) + # PIC is the default on this platform +@@ -4999,7 +5081,7 @@ + esac + else + case $host_os in +- aix4* | aix5*) ++ aix[[4-9]]*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor +@@ -5095,7 +5177,7 @@ + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; +- pgCC*) ++ pgCC* | pgcpp*) + # Portland Group C++ compiler. + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' +@@ -5133,7 +5215,7 @@ + ;; + esac + ;; +- netbsd*) ++ netbsd* | netbsdelf*-gnu) + ;; + osf3* | osf4* | osf5*) + case $cc_basename in +@@ -5246,7 +5328,8 @@ + # built for inclusion in a dll (and should export symbols for example). + # Although the cygwin gcc ignores -fPIC, still need this for old-style + # (--disable-auto-import) libraries +- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' ++ m4_if([$1], [GCJ], [], ++ [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) + ;; + + darwin* | rhapsody*) +@@ -5316,7 +5399,8 @@ + mingw* | cygwin* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). +- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' ++ m4_if([$1], [GCJ], [], ++ [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) + ;; + + hpux9* | hpux10* | hpux11*) +@@ -5453,7 +5537,7 @@ + # + if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then + AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works], +- _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1), ++ _LT_AC_TAGVAR(lt_cv_prog_compiler_pic_works, $1), + [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [], + [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in + "" | " "*) ;; +@@ -5477,7 +5561,7 @@ + # + wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\" + AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], +- _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1), ++ _LT_AC_TAGVAR(lt_cv_prog_compiler_static_works, $1), + $lt_tmp_static_flag, + [], + [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=]) +@@ -5493,7 +5577,7 @@ + ifelse([$1],[CXX],[ + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + case $host_os in +- aix4* | aix5*) ++ aix[[4-9]]*) + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then +@@ -5508,10 +5592,14 @@ + cygwin* | mingw*) + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols' + ;; ++ linux* | k*bsd*-gnu) ++ _LT_AC_TAGVAR(link_all_deplibs, $1)=no ++ ;; + *) + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + ;; + esac ++ _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] + ],[ + runpath_var= + _LT_AC_TAGVAR(allow_undefined_flag, $1)= +@@ -5542,12 +5630,14 @@ + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. +- _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_" ++ _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. ++ # Exclude shared library initialization/finalization symbols. ++dnl Note also adjust exclude_expsyms for C++ above. + extract_expsyms_cmds= + # Just being paranoid about ensuring that cc_basename is set. + _LT_CC_BASENAME([$compiler]) +@@ -5597,7 +5687,7 @@ + + # See if GNU ld supports shared libraries. + case $host_os in +- aix3* | aix4* | aix5*) ++ aix[[3-9]]*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + _LT_AC_TAGVAR(ld_shlibs, $1)=no +@@ -5713,12 +5803,13 @@ + $echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' + fi ++ _LT_AC_TAGVAR(link_all_deplibs, $1)=no + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + +- netbsd*) ++ netbsd* | netbsdelf*-gnu) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= +@@ -5816,7 +5907,7 @@ + fi + ;; + +- aix4* | aix5*) ++ aix[[4-9]]*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. +@@ -5836,7 +5927,7 @@ + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. +- case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) ++ case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes +@@ -5996,11 +6087,10 @@ + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + if test "$GCC" = yes ; then + output_verbose_link_cmd='echo' +- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' +- _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' +- # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds +- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' +- _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' ++ _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" ++ _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" ++ _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" ++ _LT_AC_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" + else + case $cc_basename in + xlc*) +@@ -6150,7 +6240,7 @@ + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + ;; + +- netbsd*) ++ netbsd* | netbsdelf*-gnu) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else +@@ -6581,7 +6671,7 @@ + AC_MSG_RESULT([$SED]) + ]) + +-# Copyright (C) 2002, 2003, 2005, 2006 Free Software Foundation, Inc. ++# Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc. + # + # This file is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, +@@ -6596,7 +6686,7 @@ + [am__api_version='1.10' + dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to + dnl require some minimum version. Point them to the right macro. +-m4_if([$1], [1.10], [], ++m4_if([$1], [1.10.1], [], + [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl + ]) + +@@ -6612,8 +6702,10 @@ + # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. + # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. + AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], +-[AM_AUTOMAKE_VERSION([1.10])dnl +-_AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)]) ++[AM_AUTOMAKE_VERSION([1.10.1])dnl ++m4_ifndef([AC_AUTOCONF_VERSION], ++ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl ++_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)]) + + # Figure out how to run the assembler. -*- Autoconf -*- + +@@ -6907,7 +6999,7 @@ + # each Makefile.in and add a new line on top of each file to say so. + # Grep'ing the whole file is not good either: AIX grep has a line + # limit of 2048, but all sed's we know have understand at least 4000. +- if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then ++ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then + dirpart=`AS_DIRNAME("$mf")` + else + continue +@@ -6955,13 +7047,13 @@ + # Do all the work for Automake. -*- Autoconf -*- + + # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, +-# 2005, 2006 Free Software Foundation, Inc. ++# 2005, 2006, 2008 Free Software Foundation, Inc. + # + # This file is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. + +-# serial 12 ++# serial 13 + + # This macro actually does too much. Some checks are only needed if + # your package does certain things. But this isn't really a big deal. +@@ -7066,16 +7158,17 @@ + # our stamp files there. + AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], + [# Compute $1's index in $config_headers. ++_am_arg=$1 + _am_stamp_count=1 + for _am_header in $config_headers :; do + case $_am_header in +- $1 | $1:* ) ++ $_am_arg | $_am_arg:* ) + break ;; + * ) + _am_stamp_count=`expr $_am_stamp_count + 1` ;; + esac + done +-echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) ++echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) + + # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. + # +@@ -7376,7 +7469,7 @@ + + # _AM_SUBST_NOTMAKE(VARIABLE) + # --------------------------- +-# Prevent Automake from outputing VARIABLE = @VARIABLE@ in Makefile.in. ++# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. + # This macro is traced by Automake. + AC_DEFUN([_AM_SUBST_NOTMAKE]) + +diff -urNad mono-1.9.1+dfsg~/libgc/configure mono-1.9.1+dfsg/libgc/configure +--- mono-1.9.1+dfsg~/libgc/configure 2008-04-23 21:53:57.000000000 +0200 ++++ mono-1.9.1+dfsg/libgc/configure 2008-06-17 23:58:22.000000000 +0200 +@@ -890,6 +890,8 @@ + EGREP + LN_S + ECHO ++DSYMUTIL ++NMEDIT + CPP + CXXCPP + F77 +@@ -4515,6 +4517,15 @@ + + . ${srcdir}/configure.host + ++# We use a separate variable to pass down CPPFLAGS and CFLAGS from the main mono ++# configure, because of autoconf brokeness ++if test "x$CPPFLAGS_FOR_LIBGC" != "x"; then ++ CPPFLAGS=$CPPFLAGS_FOR_LIBGC ++fi ++if test "x$CFLAGS_FOR_LIBGC" != "x"; then ++ CFLAGS=$CFLAGS_FOR_LIBGC ++fi ++ + GC_CFLAGS=${gc_cflags} + + +@@ -4626,6 +4637,32 @@ + + THREADDLLIBS="-lpthread -lrt" + ;; ++ *-*-kfreebsd*-gnu) ++ cat >>confdefs.h <<\_ACEOF ++#define GC_FREEBSD_THREADS 1 ++_ACEOF ++ ++ INCLUDES="$INCLUDES -pthread" ++ THREADDLLIBS=-pthread ++ cat >>confdefs.h <<\_ACEOF ++#define _REENTRANT 1 ++_ACEOF ++ ++ if test "${enable_parallel_mark}" = yes; then ++ cat >>confdefs.h <<\_ACEOF ++#define PARALLEL_MARK 1 ++_ACEOF ++ ++ fi ++ cat >>confdefs.h <<\_ACEOF ++#define THREAD_LOCAL_ALLOC 1 ++_ACEOF ++ ++ cat >>confdefs.h <<\_ACEOF ++#define USE_COMPILER_TLS 1 ++_ACEOF ++ ++ ;; + *-*-freebsd4*) + { echo "$as_me:$LINENO: WARNING: \"FreeBSD does not yet fully support threads with Boehm GC.\"" >&5 + echo "$as_me: WARNING: \"FreeBSD does not yet fully support threads with Boehm GC.\"" >&2;} +@@ -5622,7 +5659,7 @@ + # whether `pass_all' will *always* work, you probably want this one. + + case $host_os in +-aix4* | aix5*) ++aix[4-9]*) + lt_cv_deplibs_check_method=pass_all + ;; + +@@ -5717,7 +5754,7 @@ + lt_cv_deplibs_check_method=pass_all + ;; + +-netbsd*) ++netbsd* | netbsdelf*-gnu) + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' + else +@@ -5837,7 +5874,7 @@ + ;; + *-*-irix6*) + # Find out which ABI we are using. +- echo '#line 5840 "configure"' > conftest.$ac_ext ++ echo '#line 5877 "configure"' > conftest.$ac_ext + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +@@ -6009,7 +6046,11 @@ + *64-bit*) + case $lt_cv_prog_gnu_ld in + yes*) LD="${LD-ld} -m elf64_sparc" ;; +- *) LD="${LD-ld} -64" ;; ++ *) ++ if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then ++ LD="${LD-ld} -64" ++ fi ++ ;; + esac + ;; + esac +@@ -7139,7 +7180,6 @@ + + + # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! +- + # find the maximum length of command line arguments + { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 + echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; } +@@ -7454,7 +7494,7 @@ + echo "$progname: failed program was:" >&5 + cat conftest.$ac_ext >&5 + fi +- rm -f conftest* conftst* ++ rm -rf conftest* conftst* + + # Do not use the global_symbol_pipe unless it works. + if test "$pipe_works" = yes; then +@@ -8014,6 +8054,318 @@ + ;; + esac + ++ ++ case $host_os in ++ rhapsody* | darwin*) ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. ++set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5 ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } ++if test "${ac_cv_prog_DSYMUTIL+set}" = set; then ++ echo $ECHO_N "(cached) $ECHO_C" >&6 ++else ++ if test -n "$DSYMUTIL"; then ++ ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ++ ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" ++ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++done ++IFS=$as_save_IFS ++ ++fi ++fi ++DSYMUTIL=$ac_cv_prog_DSYMUTIL ++if test -n "$DSYMUTIL"; then ++ { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5 ++echo "${ECHO_T}$DSYMUTIL" >&6; } ++else ++ { echo "$as_me:$LINENO: result: no" >&5 ++echo "${ECHO_T}no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_prog_DSYMUTIL"; then ++ ac_ct_DSYMUTIL=$DSYMUTIL ++ # Extract the first word of "dsymutil", so it can be a program name with args. ++set dummy dsymutil; ac_word=$2 ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5 ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } ++if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then ++ echo $ECHO_N "(cached) $ECHO_C" >&6 ++else ++ if test -n "$ac_ct_DSYMUTIL"; then ++ ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ++ ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" ++ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++done ++IFS=$as_save_IFS ++ ++fi ++fi ++ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL ++if test -n "$ac_ct_DSYMUTIL"; then ++ { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5 ++echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; } ++else ++ { echo "$as_me:$LINENO: result: no" >&5 ++echo "${ECHO_T}no" >&6; } ++fi ++ ++ if test "x$ac_ct_DSYMUTIL" = x; then ++ DSYMUTIL=":" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools ++whose name does not start with the host triplet. If you think this ++configuration is useful to you, please write to autoconf@gnu.org." >&5 ++echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools ++whose name does not start with the host triplet. If you think this ++configuration is useful to you, please write to autoconf@gnu.org." >&2;} ++ac_tool_warned=yes ;; ++esac ++ DSYMUTIL=$ac_ct_DSYMUTIL ++ fi ++else ++ DSYMUTIL="$ac_cv_prog_DSYMUTIL" ++fi ++ ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. ++set dummy ${ac_tool_prefix}nmedit; ac_word=$2 ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5 ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } ++if test "${ac_cv_prog_NMEDIT+set}" = set; then ++ echo $ECHO_N "(cached) $ECHO_C" >&6 ++else ++ if test -n "$NMEDIT"; then ++ ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ++ ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" ++ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++done ++IFS=$as_save_IFS ++ ++fi ++fi ++NMEDIT=$ac_cv_prog_NMEDIT ++if test -n "$NMEDIT"; then ++ { echo "$as_me:$LINENO: result: $NMEDIT" >&5 ++echo "${ECHO_T}$NMEDIT" >&6; } ++else ++ { echo "$as_me:$LINENO: result: no" >&5 ++echo "${ECHO_T}no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_prog_NMEDIT"; then ++ ac_ct_NMEDIT=$NMEDIT ++ # Extract the first word of "nmedit", so it can be a program name with args. ++set dummy nmedit; ac_word=$2 ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5 ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } ++if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then ++ echo $ECHO_N "(cached) $ECHO_C" >&6 ++else ++ if test -n "$ac_ct_NMEDIT"; then ++ ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ++ ac_cv_prog_ac_ct_NMEDIT="nmedit" ++ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++done ++IFS=$as_save_IFS ++ ++fi ++fi ++ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT ++if test -n "$ac_ct_NMEDIT"; then ++ { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5 ++echo "${ECHO_T}$ac_ct_NMEDIT" >&6; } ++else ++ { echo "$as_me:$LINENO: result: no" >&5 ++echo "${ECHO_T}no" >&6; } ++fi ++ ++ if test "x$ac_ct_NMEDIT" = x; then ++ NMEDIT=":" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools ++whose name does not start with the host triplet. If you think this ++configuration is useful to you, please write to autoconf@gnu.org." >&5 ++echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools ++whose name does not start with the host triplet. If you think this ++configuration is useful to you, please write to autoconf@gnu.org." >&2;} ++ac_tool_warned=yes ;; ++esac ++ NMEDIT=$ac_ct_NMEDIT ++ fi ++else ++ NMEDIT="$ac_cv_prog_NMEDIT" ++fi ++ ++ ++ { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5 ++echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; } ++if test "${lt_cv_apple_cc_single_mod+set}" = set; then ++ echo $ECHO_N "(cached) $ECHO_C" >&6 ++else ++ lt_cv_apple_cc_single_mod=no ++ if test -z "${LT_MULTI_MODULE}"; then ++ # By default we will add the -single_module flag. You can override ++ # by either setting the environment variable LT_MULTI_MODULE ++ # non-empty at configure time, or by adding -multi_module to the ++ # link flags. ++ echo "int foo(void){return 1;}" > conftest.c ++ $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ ++ -dynamiclib ${wl}-single_module conftest.c ++ if test -f libconftest.dylib; then ++ lt_cv_apple_cc_single_mod=yes ++ rm -rf libconftest.dylib* ++ fi ++ rm conftest.c ++ fi ++fi ++{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5 ++echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; } ++ { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5 ++echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; } ++if test "${lt_cv_ld_exported_symbols_list+set}" = set; then ++ echo $ECHO_N "(cached) $ECHO_C" >&6 ++else ++ lt_cv_ld_exported_symbols_list=no ++ save_LDFLAGS=$LDFLAGS ++ echo "_main" > conftest.sym ++ LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && ++ $as_test_x conftest$ac_exeext; then ++ lt_cv_ld_exported_symbols_list=yes ++else ++ echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ lt_cv_ld_exported_symbols_list=no ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext ++ LDFLAGS="$save_LDFLAGS" ++ ++fi ++{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5 ++echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; } ++ case $host_os in ++ rhapsody* | darwin1.[0123]) ++ _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; ++ darwin1.*) ++ _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; ++ darwin*) ++ # if running on 10.5 or later, the deployment target defaults ++ # to the OS version, if on x86, and 10.4, the deployment ++ # target defaults to 10.4. Don't you love it? ++ case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in ++ 10.0,*86*-darwin8*|10.0,*-darwin[91]*) ++ _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; ++ 10.[012]*) ++ _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; ++ 10.*) ++ _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; ++ esac ++ ;; ++ esac ++ if test "$lt_cv_apple_cc_single_mod" = "yes"; then ++ _lt_dar_single_mod='$single_module' ++ fi ++ if test "$lt_cv_ld_exported_symbols_list" = "yes"; then ++ _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' ++ else ++ _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}" ++ fi ++ if test "$DSYMUTIL" != ":"; then ++ _lt_dsymutil="~$DSYMUTIL \$lib || :" ++ else ++ _lt_dsymutil= ++ fi ++ ;; ++ esac ++ ++ + enable_dlopen=no + enable_win32_dll=no + +@@ -8079,7 +8431,7 @@ + echo "$lt_simple_link_test_code" >conftest.$ac_ext + eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err + _lt_linker_boilerplate=`cat conftest.err` +-$rm conftest* ++$rm -r conftest* + + + +@@ -8107,11 +8459,11 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:8110: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:8462: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 +- echo "$as_me:8114: \$? = $ac_status" >&5 ++ echo "$as_me:8466: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. +@@ -8381,10 +8733,10 @@ + + { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 + echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; } +-if test "${lt_prog_compiler_pic_works+set}" = set; then ++if test "${lt_cv_prog_compiler_pic_works+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else +- lt_prog_compiler_pic_works=no ++ lt_cv_prog_compiler_pic_works=no + ac_outfile=conftest.$ac_objext + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic -DPIC" +@@ -8397,27 +8749,27 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:8400: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:8752: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 +- echo "$as_me:8404: \$? = $ac_status" >&5 ++ echo "$as_me:8756: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then +- lt_prog_compiler_pic_works=yes ++ lt_cv_prog_compiler_pic_works=yes + fi + fi + $rm conftest* + + fi +-{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5 +-echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; } ++{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5 ++echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; } + +-if test x"$lt_prog_compiler_pic_works" = xyes; then ++if test x"$lt_cv_prog_compiler_pic_works" = xyes; then + case $lt_prog_compiler_pic in + "" | " "*) ;; + *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; +@@ -8444,10 +8796,10 @@ + wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" + { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 + echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } +-if test "${lt_prog_compiler_static_works+set}" = set; then ++if test "${lt_cv_prog_compiler_static_works+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else +- lt_prog_compiler_static_works=no ++ lt_cv_prog_compiler_static_works=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $lt_tmp_static_flag" + echo "$lt_simple_link_test_code" > conftest.$ac_ext +@@ -8460,20 +8812,20 @@ + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if diff conftest.exp conftest.er2 >/dev/null; then +- lt_prog_compiler_static_works=yes ++ lt_cv_prog_compiler_static_works=yes + fi + else +- lt_prog_compiler_static_works=yes ++ lt_cv_prog_compiler_static_works=yes + fi + fi +- $rm conftest* ++ $rm -r conftest* + LDFLAGS="$save_LDFLAGS" + + fi +-{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5 +-echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; } ++{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5 ++echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; } + +-if test x"$lt_prog_compiler_static_works" = xyes; then ++if test x"$lt_cv_prog_compiler_static_works" = xyes; then + : + else + lt_prog_compiler_static= +@@ -8501,11 +8853,11 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:8504: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:8856: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 +- echo "$as_me:8508: \$? = $ac_status" >&5 ++ echo "$as_me:8860: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized +@@ -8585,12 +8937,13 @@ + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. +- exclude_expsyms="_GLOBAL_OFFSET_TABLE_" ++ exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. ++ # Exclude shared library initialization/finalization symbols. + extract_expsyms_cmds= + # Just being paranoid about ensuring that cc_basename is set. + for cc_temp in $compiler""; do +@@ -8649,7 +9002,7 @@ + + # See if GNU ld supports shared libraries. + case $host_os in +- aix3* | aix4* | aix5*) ++ aix[3-9]*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + ld_shlibs=no +@@ -8765,12 +9118,13 @@ + $echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' + fi ++ link_all_deplibs=no + else + ld_shlibs=no + fi + ;; + +- netbsd*) ++ netbsd* | netbsdelf*-gnu) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= +@@ -8868,7 +9222,7 @@ + fi + ;; + +- aix4* | aix5*) ++ aix[4-9]*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. +@@ -8888,7 +9242,7 @@ + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. +- case $host_os in aix4.[23]|aix4.[23].*|aix5*) ++ case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes +@@ -9160,11 +9514,10 @@ + link_all_deplibs=yes + if test "$GCC" = yes ; then + output_verbose_link_cmd='echo' +- archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' +- module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' +- # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds +- archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' +- module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' ++ archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" ++ module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" ++ archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" ++ module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" + else + case $cc_basename in + xlc*) +@@ -9314,7 +9667,7 @@ + link_all_deplibs=yes + ;; + +- netbsd*) ++ netbsd* | netbsdelf*-gnu) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else +@@ -9684,7 +10037,7 @@ + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +-aix4* | aix5*) ++aix[4-9]*) + version_type=linux + need_lib_prefix=no + need_version=no +@@ -10025,6 +10378,18 @@ + dynamic_linker='GNU/Linux ld.so' + ;; + ++netbsdelf*-gnu) ++ version_type=linux ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ shlibpath_var=LD_LIBRARY_PATH ++ shlibpath_overrides_runpath=no ++ hardcode_into_libs=yes ++ dynamic_linker='NetBSD ld.elf_so' ++ ;; ++ + netbsd*) + version_type=sunos + need_lib_prefix=no +@@ -10206,6 +10571,21 @@ + echo "${ECHO_T}$dynamic_linker" >&6; } + test "$dynamic_linker" = no && can_build_shared=no + ++if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then ++ echo $ECHO_N "(cached) $ECHO_C" >&6 ++else ++ lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec" ++fi ++ ++sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" ++if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then ++ echo $ECHO_N "(cached) $ECHO_C" >&6 ++else ++ lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec" ++fi ++ ++sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" ++ + variables_saved_for_relink="PATH $shlibpath_var $runpath_var" + if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +@@ -10525,7 +10905,7 @@ + { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 + echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; } + if test $ac_cv_lib_dld_shl_load = yes; then +- lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" ++ lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" + else + { echo "$as_me:$LINENO: checking for dlopen" >&5 + echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; } +@@ -10801,7 +11181,7 @@ + { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 + echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; } + if test $ac_cv_lib_dld_dld_link = yes; then +- lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" ++ lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" + fi + + +@@ -10850,7 +11230,7 @@ + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < conftest.$ac_ext <conftest.$ac_ext + eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err + _lt_linker_boilerplate=`cat conftest.err` +-$rm conftest* ++$rm -r conftest* + + + # Allow CC to be a program name with arguments. +@@ -11921,7 +12307,7 @@ + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; +- aix4* | aix5*) ++ aix[4-9]*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. +@@ -11934,7 +12320,7 @@ + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. +- case $host_os in aix4.[23]|aix4.[23].*|aix5*) ++ case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) + for ld_flag in $LDFLAGS; do + case $ld_flag in + *-brtl*) +@@ -12192,51 +12578,23 @@ + fi + ;; + darwin* | rhapsody*) +- case $host_os in +- rhapsody* | darwin1.[012]) +- allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress' +- ;; +- *) # Darwin 1.3 on +- if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then +- allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' +- else +- case ${MACOSX_DEPLOYMENT_TARGET} in +- 10.[012]) +- allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' +- ;; +- 10.*) +- allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup' +- ;; +- esac +- fi +- ;; +- esac + archive_cmds_need_lc_CXX=no + hardcode_direct_CXX=no + hardcode_automatic_CXX=yes + hardcode_shlibpath_var_CXX=unsupported + whole_archive_flag_spec_CXX='' + link_all_deplibs_CXX=yes +- +- if test "$GXX" = yes ; then +- lt_int_apple_cc_single_mod=no ++ allow_undefined_flag_CXX="$_lt_dar_allow_undefined" ++ if test "$GXX" = yes ; then + output_verbose_link_cmd='echo' +- if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then +- lt_int_apple_cc_single_mod=yes ++ archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" ++ module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" ++ archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" ++ module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" ++ if test "$lt_cv_apple_cc_single_mod" != "yes"; then ++ archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" ++ archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" + fi +- if test "X$lt_int_apple_cc_single_mod" = Xyes ; then +- archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' +- else +- archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' +- fi +- module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' +- # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds +- if test "X$lt_int_apple_cc_single_mod" = Xyes ; then +- archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' +- else +- archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' +- fi +- module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + case $cc_basename in + xlc*) +@@ -12487,7 +12845,7 @@ + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' + whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + ;; +- pgCC*) ++ pgCC* | pgcpp*) + # Portland Group C++ compiler + archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' + archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' +@@ -12560,7 +12918,7 @@ + ;; + esac + ;; +- netbsd*) ++ netbsd* | netbsdelf*-gnu) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' + wlarc= +@@ -12894,7 +13252,6 @@ + GCC_CXX="$GXX" + LD_CXX="$LD" + +- + cat > conftest.$ac_ext <&5 + echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; } +-if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then ++if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else +- lt_prog_compiler_pic_works_CXX=no ++ lt_cv_prog_compiler_pic_works_CXX=no + ac_outfile=conftest.$ac_objext + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" +@@ -13370,27 +13731,27 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:13373: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:13734: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 +- echo "$as_me:13377: \$? = $ac_status" >&5 ++ echo "$as_me:13738: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then +- lt_prog_compiler_pic_works_CXX=yes ++ lt_cv_prog_compiler_pic_works_CXX=yes + fi + fi + $rm conftest* + + fi +-{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5 +-echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; } ++{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 ++echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; } + +-if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then ++if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then + case $lt_prog_compiler_pic_CXX in + "" | " "*) ;; + *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; +@@ -13417,10 +13778,10 @@ + wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" + { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 + echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } +-if test "${lt_prog_compiler_static_works_CXX+set}" = set; then ++if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else +- lt_prog_compiler_static_works_CXX=no ++ lt_cv_prog_compiler_static_works_CXX=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $lt_tmp_static_flag" + echo "$lt_simple_link_test_code" > conftest.$ac_ext +@@ -13433,20 +13794,20 @@ + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if diff conftest.exp conftest.er2 >/dev/null; then +- lt_prog_compiler_static_works_CXX=yes ++ lt_cv_prog_compiler_static_works_CXX=yes + fi + else +- lt_prog_compiler_static_works_CXX=yes ++ lt_cv_prog_compiler_static_works_CXX=yes + fi + fi +- $rm conftest* ++ $rm -r conftest* + LDFLAGS="$save_LDFLAGS" + + fi +-{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5 +-echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; } ++{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5 ++echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; } + +-if test x"$lt_prog_compiler_static_works_CXX" = xyes; then ++if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then + : + else + lt_prog_compiler_static_CXX= +@@ -13474,11 +13835,11 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:13477: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:13838: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 +- echo "$as_me:13481: \$? = $ac_status" >&5 ++ echo "$as_me:13842: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized +@@ -13531,7 +13892,7 @@ + + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + case $host_os in +- aix4* | aix5*) ++ aix[4-9]*) + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then +@@ -13546,10 +13907,14 @@ + cygwin* | mingw*) + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' + ;; ++ linux* | k*bsd*-gnu) ++ link_all_deplibs_CXX=no ++ ;; + *) + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + ;; + esac ++ exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' + + { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 + echo "${ECHO_T}$ld_shlibs_CXX" >&6; } +@@ -13651,7 +14016,7 @@ + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +-aix4* | aix5*) ++aix[4-9]*) + version_type=linux + need_lib_prefix=no + need_version=no +@@ -13991,6 +14356,18 @@ + dynamic_linker='GNU/Linux ld.so' + ;; + ++netbsdelf*-gnu) ++ version_type=linux ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ shlibpath_var=LD_LIBRARY_PATH ++ shlibpath_overrides_runpath=no ++ hardcode_into_libs=yes ++ dynamic_linker='NetBSD ld.elf_so' ++ ;; ++ + netbsd*) + version_type=sunos + need_lib_prefix=no +@@ -14172,6 +14549,21 @@ + echo "${ECHO_T}$dynamic_linker" >&6; } + test "$dynamic_linker" = no && can_build_shared=no + ++if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then ++ echo $ECHO_N "(cached) $ECHO_C" >&6 ++else ++ lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec" ++fi ++ ++sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" ++if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then ++ echo $ECHO_N "(cached) $ECHO_C" >&6 ++else ++ lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec" ++fi ++ ++sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" ++ + variables_saved_for_relink="PATH $shlibpath_var $runpath_var" + if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +@@ -14255,6 +14647,7 @@ + predeps_CXX \ + postdeps_CXX \ + compiler_lib_search_path_CXX \ ++ compiler_lib_search_dirs_CXX \ + archive_cmds_CXX \ + archive_expsym_cmds_CXX \ + postinstall_cmds_CXX \ +@@ -14503,6 +14896,10 @@ + # shared library. + postdeps=$lt_postdeps_CXX + ++# The directories searched by this compiler when creating a shared ++# library ++compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX ++ + # The library search path used internally by the compiler when linking + # a shared library. + compiler_lib_search_path=$lt_compiler_lib_search_path_CXX +@@ -14717,7 +15114,7 @@ + echo "$lt_simple_link_test_code" >conftest.$ac_ext + eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err + _lt_linker_boilerplate=`cat conftest.err` +-$rm conftest* ++$rm -r conftest* + + + # Allow CC to be a program name with arguments. +@@ -14755,7 +15152,7 @@ + postinstall_cmds='$RANLIB $lib' + fi + ;; +-aix4* | aix5*) ++aix[4-9]*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi +@@ -15020,10 +15417,10 @@ + + { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 + echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; } +-if test "${lt_prog_compiler_pic_works_F77+set}" = set; then ++if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else +- lt_prog_compiler_pic_works_F77=no ++ lt_cv_prog_compiler_pic_works_F77=no + ac_outfile=conftest.$ac_objext + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic_F77" +@@ -15036,27 +15433,27 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:15039: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:15436: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 +- echo "$as_me:15043: \$? = $ac_status" >&5 ++ echo "$as_me:15440: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then +- lt_prog_compiler_pic_works_F77=yes ++ lt_cv_prog_compiler_pic_works_F77=yes + fi + fi + $rm conftest* + + fi +-{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5 +-echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; } ++{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5 ++echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; } + +-if test x"$lt_prog_compiler_pic_works_F77" = xyes; then ++if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then + case $lt_prog_compiler_pic_F77 in + "" | " "*) ;; + *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;; +@@ -15083,10 +15480,10 @@ + wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\" + { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 + echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } +-if test "${lt_prog_compiler_static_works_F77+set}" = set; then ++if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else +- lt_prog_compiler_static_works_F77=no ++ lt_cv_prog_compiler_static_works_F77=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $lt_tmp_static_flag" + echo "$lt_simple_link_test_code" > conftest.$ac_ext +@@ -15099,20 +15496,20 @@ + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if diff conftest.exp conftest.er2 >/dev/null; then +- lt_prog_compiler_static_works_F77=yes ++ lt_cv_prog_compiler_static_works_F77=yes + fi + else +- lt_prog_compiler_static_works_F77=yes ++ lt_cv_prog_compiler_static_works_F77=yes + fi + fi +- $rm conftest* ++ $rm -r conftest* + LDFLAGS="$save_LDFLAGS" + + fi +-{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5 +-echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; } ++{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5 ++echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; } + +-if test x"$lt_prog_compiler_static_works_F77" = xyes; then ++if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then + : + else + lt_prog_compiler_static_F77= +@@ -15140,11 +15537,11 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:15143: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:15540: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 +- echo "$as_me:15147: \$? = $ac_status" >&5 ++ echo "$as_me:15544: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized +@@ -15224,12 +15621,13 @@ + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. +- exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_" ++ exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. ++ # Exclude shared library initialization/finalization symbols. + extract_expsyms_cmds= + # Just being paranoid about ensuring that cc_basename is set. + for cc_temp in $compiler""; do +@@ -15288,7 +15686,7 @@ + + # See if GNU ld supports shared libraries. + case $host_os in +- aix3* | aix4* | aix5*) ++ aix[3-9]*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + ld_shlibs_F77=no +@@ -15404,12 +15802,13 @@ + $echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' + fi ++ link_all_deplibs_F77=no + else + ld_shlibs_F77=no + fi + ;; + +- netbsd*) ++ netbsd* | netbsdelf*-gnu) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= +@@ -15507,7 +15906,7 @@ + fi + ;; + +- aix4* | aix5*) ++ aix[4-9]*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. +@@ -15527,7 +15926,7 @@ + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. +- case $host_os in aix4.[23]|aix4.[23].*|aix5*) ++ case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes +@@ -15779,11 +16178,10 @@ + link_all_deplibs_F77=yes + if test "$GCC" = yes ; then + output_verbose_link_cmd='echo' +- archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' +- module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' +- # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds +- archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' +- module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' ++ archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" ++ module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" ++ archive_expsym_cmds_F77="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" ++ module_expsym_cmds_F77="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" + else + case $cc_basename in + xlc*) +@@ -15933,7 +16331,7 @@ + link_all_deplibs_F77=yes + ;; + +- netbsd*) ++ netbsd* | netbsdelf*-gnu) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else +@@ -16252,7 +16650,7 @@ + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +-aix4* | aix5*) ++aix[4-9]*) + version_type=linux + need_lib_prefix=no + need_version=no +@@ -16592,6 +16990,18 @@ + dynamic_linker='GNU/Linux ld.so' + ;; + ++netbsdelf*-gnu) ++ version_type=linux ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ shlibpath_var=LD_LIBRARY_PATH ++ shlibpath_overrides_runpath=no ++ hardcode_into_libs=yes ++ dynamic_linker='NetBSD ld.elf_so' ++ ;; ++ + netbsd*) + version_type=sunos + need_lib_prefix=no +@@ -16773,6 +17183,21 @@ + echo "${ECHO_T}$dynamic_linker" >&6; } + test "$dynamic_linker" = no && can_build_shared=no + ++if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then ++ echo $ECHO_N "(cached) $ECHO_C" >&6 ++else ++ lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec" ++fi ++ ++sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" ++if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then ++ echo $ECHO_N "(cached) $ECHO_C" >&6 ++else ++ lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec" ++fi ++ ++sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" ++ + variables_saved_for_relink="PATH $shlibpath_var $runpath_var" + if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +@@ -16856,6 +17281,7 @@ + predeps_F77 \ + postdeps_F77 \ + compiler_lib_search_path_F77 \ ++ compiler_lib_search_dirs_F77 \ + archive_cmds_F77 \ + archive_expsym_cmds_F77 \ + postinstall_cmds_F77 \ +@@ -17104,6 +17530,10 @@ + # shared library. + postdeps=$lt_postdeps_F77 + ++# The directories searched by this compiler when creating a shared ++# library ++compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77 ++ + # The library search path used internally by the compiler when linking + # a shared library. + compiler_lib_search_path=$lt_compiler_lib_search_path_F77 +@@ -17278,7 +17708,7 @@ + echo "$lt_simple_link_test_code" >conftest.$ac_ext + eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err + _lt_linker_boilerplate=`cat conftest.err` +-$rm conftest* ++$rm -r conftest* + + + # Allow CC to be a program name with arguments. +@@ -17327,11 +17757,11 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:17330: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:17760: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 +- echo "$as_me:17334: \$? = $ac_status" >&5 ++ echo "$as_me:17764: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. +@@ -17391,7 +17821,7 @@ + # built for inclusion in a dll (and should export symbols for example). + # Although the cygwin gcc ignores -fPIC, still need this for old-style + # (--disable-auto-import) libraries +- lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' ++ + ;; + + darwin* | rhapsody*) +@@ -17461,7 +17891,7 @@ + mingw* | cygwin* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). +- lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' ++ + ;; + + hpux9* | hpux10* | hpux11*) +@@ -17601,10 +18031,10 @@ + + { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5 + echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; } +-if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then ++if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else +- lt_prog_compiler_pic_works_GCJ=no ++ lt_cv_prog_compiler_pic_works_GCJ=no + ac_outfile=conftest.$ac_objext + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic_GCJ" +@@ -17617,27 +18047,27 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:17620: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:18050: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 +- echo "$as_me:17624: \$? = $ac_status" >&5 ++ echo "$as_me:18054: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then +- lt_prog_compiler_pic_works_GCJ=yes ++ lt_cv_prog_compiler_pic_works_GCJ=yes + fi + fi + $rm conftest* + + fi +-{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5 +-echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; } ++{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5 ++echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; } + +-if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then ++if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then + case $lt_prog_compiler_pic_GCJ in + "" | " "*) ;; + *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;; +@@ -17664,10 +18094,10 @@ + wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\" + { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 + echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } +-if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then ++if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else +- lt_prog_compiler_static_works_GCJ=no ++ lt_cv_prog_compiler_static_works_GCJ=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $lt_tmp_static_flag" + echo "$lt_simple_link_test_code" > conftest.$ac_ext +@@ -17680,20 +18110,20 @@ + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if diff conftest.exp conftest.er2 >/dev/null; then +- lt_prog_compiler_static_works_GCJ=yes ++ lt_cv_prog_compiler_static_works_GCJ=yes + fi + else +- lt_prog_compiler_static_works_GCJ=yes ++ lt_cv_prog_compiler_static_works_GCJ=yes + fi + fi +- $rm conftest* ++ $rm -r conftest* + LDFLAGS="$save_LDFLAGS" + + fi +-{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5 +-echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; } ++{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5 ++echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; } + +-if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then ++if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then + : + else + lt_prog_compiler_static_GCJ= +@@ -17721,11 +18151,11 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:17724: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:18154: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 +- echo "$as_me:17728: \$? = $ac_status" >&5 ++ echo "$as_me:18158: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized +@@ -17805,12 +18235,13 @@ + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. +- exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_" ++ exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. ++ # Exclude shared library initialization/finalization symbols. + extract_expsyms_cmds= + # Just being paranoid about ensuring that cc_basename is set. + for cc_temp in $compiler""; do +@@ -17869,7 +18300,7 @@ + + # See if GNU ld supports shared libraries. + case $host_os in +- aix3* | aix4* | aix5*) ++ aix[3-9]*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + ld_shlibs_GCJ=no +@@ -17985,12 +18416,13 @@ + $echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' + fi ++ link_all_deplibs_GCJ=no + else + ld_shlibs_GCJ=no + fi + ;; + +- netbsd*) ++ netbsd* | netbsdelf*-gnu) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= +@@ -18088,7 +18520,7 @@ + fi + ;; + +- aix4* | aix5*) ++ aix[4-9]*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. +@@ -18108,7 +18540,7 @@ + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. +- case $host_os in aix4.[23]|aix4.[23].*|aix5*) ++ case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes +@@ -18380,11 +18812,10 @@ + link_all_deplibs_GCJ=yes + if test "$GCC" = yes ; then + output_verbose_link_cmd='echo' +- archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' +- module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' +- # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds +- archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' +- module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' ++ archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" ++ module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" ++ archive_expsym_cmds_GCJ="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" ++ module_expsym_cmds_GCJ="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" + else + case $cc_basename in + xlc*) +@@ -18534,7 +18965,7 @@ + link_all_deplibs_GCJ=yes + ;; + +- netbsd*) ++ netbsd* | netbsdelf*-gnu) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else +@@ -18853,7 +19284,7 @@ + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +-aix4* | aix5*) ++aix[4-9]*) + version_type=linux + need_lib_prefix=no + need_version=no +@@ -19193,6 +19624,18 @@ + dynamic_linker='GNU/Linux ld.so' + ;; + ++netbsdelf*-gnu) ++ version_type=linux ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ shlibpath_var=LD_LIBRARY_PATH ++ shlibpath_overrides_runpath=no ++ hardcode_into_libs=yes ++ dynamic_linker='NetBSD ld.elf_so' ++ ;; ++ + netbsd*) + version_type=sunos + need_lib_prefix=no +@@ -19374,6 +19817,21 @@ + echo "${ECHO_T}$dynamic_linker" >&6; } + test "$dynamic_linker" = no && can_build_shared=no + ++if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then ++ echo $ECHO_N "(cached) $ECHO_C" >&6 ++else ++ lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec" ++fi ++ ++sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" ++if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then ++ echo $ECHO_N "(cached) $ECHO_C" >&6 ++else ++ lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec" ++fi ++ ++sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" ++ + variables_saved_for_relink="PATH $shlibpath_var $runpath_var" + if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +@@ -19457,6 +19915,7 @@ + predeps_GCJ \ + postdeps_GCJ \ + compiler_lib_search_path_GCJ \ ++ compiler_lib_search_dirs_GCJ \ + archive_cmds_GCJ \ + archive_expsym_cmds_GCJ \ + postinstall_cmds_GCJ \ +@@ -19705,6 +20164,10 @@ + # shared library. + postdeps=$lt_postdeps_GCJ + ++# The directories searched by this compiler when creating a shared ++# library ++compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ ++ + # The library search path used internally by the compiler when linking + # a shared library. + compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ +@@ -19878,7 +20341,7 @@ + echo "$lt_simple_link_test_code" >conftest.$ac_ext + eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err + _lt_linker_boilerplate=`cat conftest.err` +-$rm conftest* ++$rm -r conftest* + + + # Allow CC to be a program name with arguments. +@@ -19938,6 +20401,7 @@ + predeps_RC \ + postdeps_RC \ + compiler_lib_search_path_RC \ ++ compiler_lib_search_dirs_RC \ + archive_cmds_RC \ + archive_expsym_cmds_RC \ + postinstall_cmds_RC \ +@@ -20186,6 +20650,10 @@ + # shared library. + postdeps=$lt_postdeps_RC + ++# The directories searched by this compiler when creating a shared ++# library ++compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC ++ + # The library search path used internally by the compiler when linking + # a shared library. + compiler_lib_search_path=$lt_compiler_lib_search_path_RC +@@ -21694,6 +22162,8 @@ + EGREP!$EGREP$ac_delim + LN_S!$LN_S$ac_delim + ECHO!$ECHO$ac_delim ++DSYMUTIL!$DSYMUTIL$ac_delim ++NMEDIT!$NMEDIT$ac_delim + CPP!$CPP$ac_delim + CXXCPP!$CXXCPP$ac_delim + F77!$F77$ac_delim +@@ -21708,7 +22178,7 @@ + LTLIBOBJS!$LTLIBOBJS$ac_delim + _ACEOF + +- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 36; then ++ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 38; then + break + elif $ac_last_try; then + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 +@@ -22030,7 +22500,7 @@ + # each Makefile.in and add a new line on top of each file to say so. + # Grep'ing the whole file is not good either: AIX grep has a line + # limit of 2048, but all sed's we know have understand at least 4000. +- if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then ++ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then + dirpart=`$as_dirname -- "$mf" || + $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$mf" : 'X\(//\)[^/]' \| \ +diff -urNad mono-1.9.1+dfsg~/libgc/doc/Makefile.in mono-1.9.1+dfsg/libgc/doc/Makefile.in +--- mono-1.9.1+dfsg~/libgc/doc/Makefile.in 2008-04-23 21:53:58.000000000 +0200 ++++ mono-1.9.1+dfsg/libgc/doc/Makefile.in 2008-06-17 23:58:23.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -90,6 +90,7 @@ + CYGPATH_W = @CYGPATH_W@ + DEFS = @DEFS@ + DEPDIR = @DEPDIR@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -118,6 +119,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MY_CFLAGS = @MY_CFLAGS@ ++NMEDIT = @NMEDIT@ + OBJEXT = @OBJEXT@ + PACKAGE = @PACKAGE@ + PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +diff -urNad mono-1.9.1+dfsg~/libgc/include/Makefile.in mono-1.9.1+dfsg/libgc/include/Makefile.in +--- mono-1.9.1+dfsg~/libgc/include/Makefile.in 2008-04-23 21:53:58.000000000 +0200 ++++ mono-1.9.1+dfsg/libgc/include/Makefile.in 2008-06-17 23:58:23.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -81,6 +81,7 @@ + CYGPATH_W = @CYGPATH_W@ + DEFS = @DEFS@ + DEPDIR = @DEPDIR@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -109,6 +110,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MY_CFLAGS = @MY_CFLAGS@ ++NMEDIT = @NMEDIT@ + OBJEXT = @OBJEXT@ + PACKAGE = @PACKAGE@ + PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +@@ -298,8 +300,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique + tags: TAGS + +@@ -324,8 +326,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +@@ -335,13 +337,12 @@ + CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ +- here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique +diff -urNad mono-1.9.1+dfsg~/libgc/include/private/Makefile.in mono-1.9.1+dfsg/libgc/include/private/Makefile.in +--- mono-1.9.1+dfsg~/libgc/include/private/Makefile.in 2008-04-23 21:53:58.000000000 +0200 ++++ mono-1.9.1+dfsg/libgc/include/private/Makefile.in 2008-06-17 23:58:23.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -66,6 +66,7 @@ + CYGPATH_W = @CYGPATH_W@ + DEFS = @DEFS@ + DEPDIR = @DEPDIR@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -94,6 +95,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MY_CFLAGS = @MY_CFLAGS@ ++NMEDIT = @NMEDIT@ + OBJEXT = @OBJEXT@ + PACKAGE = @PACKAGE@ + PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +diff -urNad mono-1.9.1+dfsg~/man/Makefile.in mono-1.9.1+dfsg/man/Makefile.in +--- mono-1.9.1+dfsg~/man/Makefile.in 2008-04-23 21:53:58.000000000 +0200 ++++ mono-1.9.1+dfsg/man/Makefile.in 2008-06-17 23:58:25.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -83,6 +83,7 @@ + DEPDIR = @DEPDIR@ + DISABLE_SHARED_HANDLES = @DISABLE_SHARED_HANDLES@ + DLLTOOL = @DLLTOOL@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -118,6 +119,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MONO_DL_NEED_USCORE = @MONO_DL_NEED_USCORE@ ++NMEDIT = @NMEDIT@ + OBJDUMP = @OBJDUMP@ + OBJEXT = @OBJEXT@ + OPROFILE_CFLAGS = @OPROFILE_CFLAGS@ +diff -urNad mono-1.9.1+dfsg~/mono/Makefile.in mono-1.9.1+dfsg/mono/Makefile.in +--- mono-1.9.1+dfsg~/mono/Makefile.in 2008-04-23 21:53:58.000000000 +0200 ++++ mono-1.9.1+dfsg/mono/Makefile.in 2008-06-17 23:58:25.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -90,6 +90,7 @@ + DEPDIR = @DEPDIR@ + DISABLE_SHARED_HANDLES = @DISABLE_SHARED_HANDLES@ + DLLTOOL = @DLLTOOL@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -125,6 +126,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MONO_DL_NEED_USCORE = @MONO_DL_NEED_USCORE@ ++NMEDIT = @NMEDIT@ + OBJDUMP = @OBJDUMP@ + OBJEXT = @OBJEXT@ + OPROFILE_CFLAGS = @OPROFILE_CFLAGS@ +@@ -336,8 +338,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique + tags: TAGS + +@@ -362,8 +364,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +@@ -373,13 +375,12 @@ + CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ +- here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique +diff -urNad mono-1.9.1+dfsg~/mono/arch/Makefile.in mono-1.9.1+dfsg/mono/arch/Makefile.in +--- mono-1.9.1+dfsg~/mono/arch/Makefile.in 2008-04-23 21:53:58.000000000 +0200 ++++ mono-1.9.1+dfsg/mono/arch/Makefile.in 2008-06-17 23:58:25.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -48,7 +48,7 @@ + @INTERP_SUPPORTED_TRUE@am_libmonoarch_la_OBJECTS = unknown.lo + libmonoarch_la_OBJECTS = $(am_libmonoarch_la_OBJECTS) + @INTERP_SUPPORTED_TRUE@am_libmonoarch_la_rpath = +-DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@ ++DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles + COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ +@@ -108,6 +108,7 @@ + DEPDIR = @DEPDIR@ + DISABLE_SHARED_HANDLES = @DISABLE_SHARED_HANDLES@ + DLLTOOL = @DLLTOOL@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -143,6 +144,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MONO_DL_NEED_USCORE = @MONO_DL_NEED_USCORE@ ++NMEDIT = @NMEDIT@ + OBJDUMP = @OBJDUMP@ + OBJEXT = @OBJEXT@ + OPROFILE_CFLAGS = @OPROFILE_CFLAGS@ +@@ -401,8 +403,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique + tags: TAGS + +@@ -427,8 +429,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +@@ -438,13 +440,12 @@ + CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ +- here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique +diff -urNad mono-1.9.1+dfsg~/mono/arch/alpha/Makefile.in mono-1.9.1+dfsg/mono/arch/alpha/Makefile.in +--- mono-1.9.1+dfsg~/mono/arch/alpha/Makefile.in 2008-04-23 21:53:58.000000000 +0200 ++++ mono-1.9.1+dfsg/mono/arch/alpha/Makefile.in 2008-06-17 23:58:25.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -52,7 +52,7 @@ + test_SOURCES = test.c + test_OBJECTS = test.$(OBJEXT) + test_LDADD = $(LDADD) +-DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@ ++DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles + COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ +@@ -103,6 +103,7 @@ + DEPDIR = @DEPDIR@ + DISABLE_SHARED_HANDLES = @DISABLE_SHARED_HANDLES@ + DLLTOOL = @DLLTOOL@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -138,6 +139,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MONO_DL_NEED_USCORE = @MONO_DL_NEED_USCORE@ ++NMEDIT = @NMEDIT@ + OBJDUMP = @OBJDUMP@ + OBJEXT = @OBJEXT@ + OPROFILE_CFLAGS = @OPROFILE_CFLAGS@ +@@ -331,8 +333,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique + tags: TAGS + +@@ -344,8 +346,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +@@ -355,13 +357,12 @@ + CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ +- here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique +diff -urNad mono-1.9.1+dfsg~/mono/arch/amd64/Makefile.in mono-1.9.1+dfsg/mono/arch/amd64/Makefile.in +--- mono-1.9.1+dfsg~/mono/arch/amd64/Makefile.in 2008-04-23 21:53:58.000000000 +0200 ++++ mono-1.9.1+dfsg/mono/arch/amd64/Makefile.in 2008-06-17 23:58:25.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -46,7 +46,7 @@ + libmonoarch_amd64_la_LIBADD = + am_libmonoarch_amd64_la_OBJECTS = tramp.lo + libmonoarch_amd64_la_OBJECTS = $(am_libmonoarch_amd64_la_OBJECTS) +-DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@ ++DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles + COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ +@@ -97,6 +97,7 @@ + DEPDIR = @DEPDIR@ + DISABLE_SHARED_HANDLES = @DISABLE_SHARED_HANDLES@ + DLLTOOL = @DLLTOOL@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -132,6 +133,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MONO_DL_NEED_USCORE = @MONO_DL_NEED_USCORE@ ++NMEDIT = @NMEDIT@ + OBJDUMP = @OBJDUMP@ + OBJEXT = @OBJEXT@ + OPROFILE_CFLAGS = @OPROFILE_CFLAGS@ +@@ -314,8 +316,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique + tags: TAGS + +@@ -327,8 +329,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +@@ -338,13 +340,12 @@ + CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ +- here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique +diff -urNad mono-1.9.1+dfsg~/mono/arch/arm/Makefile.in mono-1.9.1+dfsg/mono/arch/arm/Makefile.in +--- mono-1.9.1+dfsg~/mono/arch/arm/Makefile.in 2008-04-23 21:53:58.000000000 +0200 ++++ mono-1.9.1+dfsg/mono/arch/arm/Makefile.in 2008-06-17 23:58:25.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -48,7 +48,7 @@ + am_libmonoarch_arm_la_OBJECTS = $(am__objects_1) tramp.lo \ + arm-codegen.lo arm-dis.lo + libmonoarch_arm_la_OBJECTS = $(am_libmonoarch_arm_la_OBJECTS) +-DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@ ++DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles + COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ +@@ -99,6 +99,7 @@ + DEPDIR = @DEPDIR@ + DISABLE_SHARED_HANDLES = @DISABLE_SHARED_HANDLES@ + DLLTOOL = @DLLTOOL@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -134,6 +135,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MONO_DL_NEED_USCORE = @MONO_DL_NEED_USCORE@ ++NMEDIT = @NMEDIT@ + OBJDUMP = @OBJDUMP@ + OBJEXT = @OBJEXT@ + OPROFILE_CFLAGS = @OPROFILE_CFLAGS@ +@@ -331,8 +333,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique + tags: TAGS + +@@ -344,8 +346,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +@@ -355,13 +357,12 @@ + CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ +- here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique +diff -urNad mono-1.9.1+dfsg~/mono/arch/hppa/Makefile.in mono-1.9.1+dfsg/mono/arch/hppa/Makefile.in +--- mono-1.9.1+dfsg~/mono/arch/hppa/Makefile.in 2008-04-23 21:53:58.000000000 +0200 ++++ mono-1.9.1+dfsg/mono/arch/hppa/Makefile.in 2008-06-17 23:58:26.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -46,7 +46,7 @@ + libmonoarch_hppa_la_LIBADD = + am_libmonoarch_hppa_la_OBJECTS = tramp.lo + libmonoarch_hppa_la_OBJECTS = $(am_libmonoarch_hppa_la_OBJECTS) +-DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@ ++DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles + COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ +@@ -97,6 +97,7 @@ + DEPDIR = @DEPDIR@ + DISABLE_SHARED_HANDLES = @DISABLE_SHARED_HANDLES@ + DLLTOOL = @DLLTOOL@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -132,6 +133,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MONO_DL_NEED_USCORE = @MONO_DL_NEED_USCORE@ ++NMEDIT = @NMEDIT@ + OBJDUMP = @OBJDUMP@ + OBJEXT = @OBJEXT@ + OPROFILE_CFLAGS = @OPROFILE_CFLAGS@ +@@ -314,8 +316,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique + tags: TAGS + +@@ -327,8 +329,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +@@ -338,13 +340,12 @@ + CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ +- here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique +diff -urNad mono-1.9.1+dfsg~/mono/arch/ia64/Makefile.in mono-1.9.1+dfsg/mono/arch/ia64/Makefile.in +--- mono-1.9.1+dfsg~/mono/arch/ia64/Makefile.in 2008-04-23 21:53:58.000000000 +0200 ++++ mono-1.9.1+dfsg/mono/arch/ia64/Makefile.in 2008-06-17 23:58:26.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -78,6 +78,7 @@ + DEPDIR = @DEPDIR@ + DISABLE_SHARED_HANDLES = @DISABLE_SHARED_HANDLES@ + DLLTOOL = @DLLTOOL@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -113,6 +114,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MONO_DL_NEED_USCORE = @MONO_DL_NEED_USCORE@ ++NMEDIT = @NMEDIT@ + OBJDUMP = @OBJDUMP@ + OBJEXT = @OBJEXT@ + OPROFILE_CFLAGS = @OPROFILE_CFLAGS@ +diff -urNad mono-1.9.1+dfsg~/mono/arch/mips/Makefile.in mono-1.9.1+dfsg/mono/arch/mips/Makefile.in +--- mono-1.9.1+dfsg~/mono/arch/mips/Makefile.in 2008-04-23 21:53:58.000000000 +0200 ++++ mono-1.9.1+dfsg/mono/arch/mips/Makefile.in 2008-06-17 23:58:26.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -52,7 +52,7 @@ + test_SOURCES = test.c + test_OBJECTS = test.$(OBJEXT) + test_LDADD = $(LDADD) +-DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@ ++DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles + COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ +@@ -103,6 +103,7 @@ + DEPDIR = @DEPDIR@ + DISABLE_SHARED_HANDLES = @DISABLE_SHARED_HANDLES@ + DLLTOOL = @DLLTOOL@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -138,6 +139,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MONO_DL_NEED_USCORE = @MONO_DL_NEED_USCORE@ ++NMEDIT = @NMEDIT@ + OBJDUMP = @OBJDUMP@ + OBJEXT = @OBJEXT@ + OPROFILE_CFLAGS = @OPROFILE_CFLAGS@ +@@ -330,8 +332,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique + tags: TAGS + +@@ -343,8 +345,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +@@ -354,13 +356,12 @@ + CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ +- here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique +diff -urNad mono-1.9.1+dfsg~/mono/arch/ppc/Makefile.in mono-1.9.1+dfsg/mono/arch/ppc/Makefile.in +--- mono-1.9.1+dfsg~/mono/arch/ppc/Makefile.in 2008-04-23 21:53:58.000000000 +0200 ++++ mono-1.9.1+dfsg/mono/arch/ppc/Makefile.in 2008-06-17 23:58:26.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -54,7 +54,7 @@ + test_SOURCES = test.c + test_OBJECTS = test.$(OBJEXT) + test_LDADD = $(LDADD) +-DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@ ++DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles + COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ +@@ -105,6 +105,7 @@ + DEPDIR = @DEPDIR@ + DISABLE_SHARED_HANDLES = @DISABLE_SHARED_HANDLES@ + DLLTOOL = @DLLTOOL@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -140,6 +141,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MONO_DL_NEED_USCORE = @MONO_DL_NEED_USCORE@ ++NMEDIT = @NMEDIT@ + OBJDUMP = @OBJDUMP@ + OBJEXT = @OBJEXT@ + OPROFILE_CFLAGS = @OPROFILE_CFLAGS@ +@@ -333,8 +335,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique + tags: TAGS + +@@ -346,8 +348,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +@@ -357,13 +359,12 @@ + CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ +- here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique +diff -urNad mono-1.9.1+dfsg~/mono/arch/s390/Makefile.in mono-1.9.1+dfsg/mono/arch/s390/Makefile.in +--- mono-1.9.1+dfsg~/mono/arch/s390/Makefile.in 2008-04-23 21:53:58.000000000 +0200 ++++ mono-1.9.1+dfsg/mono/arch/s390/Makefile.in 2008-06-17 23:58:26.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -46,7 +46,7 @@ + libmonoarch_s390_la_LIBADD = + am_libmonoarch_s390_la_OBJECTS = tramp.lo + libmonoarch_s390_la_OBJECTS = $(am_libmonoarch_s390_la_OBJECTS) +-DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@ ++DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles + COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ +@@ -97,6 +97,7 @@ + DEPDIR = @DEPDIR@ + DISABLE_SHARED_HANDLES = @DISABLE_SHARED_HANDLES@ + DLLTOOL = @DLLTOOL@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -132,6 +133,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MONO_DL_NEED_USCORE = @MONO_DL_NEED_USCORE@ ++NMEDIT = @NMEDIT@ + OBJDUMP = @OBJDUMP@ + OBJEXT = @OBJEXT@ + OPROFILE_CFLAGS = @OPROFILE_CFLAGS@ +@@ -314,8 +316,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique + tags: TAGS + +@@ -327,8 +329,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +@@ -338,13 +340,12 @@ + CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ +- here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique +diff -urNad mono-1.9.1+dfsg~/mono/arch/s390x/Makefile.in mono-1.9.1+dfsg/mono/arch/s390x/Makefile.in +--- mono-1.9.1+dfsg~/mono/arch/s390x/Makefile.in 2008-04-23 21:53:58.000000000 +0200 ++++ mono-1.9.1+dfsg/mono/arch/s390x/Makefile.in 2008-06-17 23:58:26.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -46,7 +46,7 @@ + libmonoarch_s390x_la_LIBADD = + am_libmonoarch_s390x_la_OBJECTS = tramp.lo + libmonoarch_s390x_la_OBJECTS = $(am_libmonoarch_s390x_la_OBJECTS) +-DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@ ++DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles + COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ +@@ -97,6 +97,7 @@ + DEPDIR = @DEPDIR@ + DISABLE_SHARED_HANDLES = @DISABLE_SHARED_HANDLES@ + DLLTOOL = @DLLTOOL@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -132,6 +133,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MONO_DL_NEED_USCORE = @MONO_DL_NEED_USCORE@ ++NMEDIT = @NMEDIT@ + OBJDUMP = @OBJDUMP@ + OBJEXT = @OBJEXT@ + OPROFILE_CFLAGS = @OPROFILE_CFLAGS@ +@@ -314,8 +316,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique + tags: TAGS + +@@ -327,8 +329,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +@@ -338,13 +340,12 @@ + CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ +- here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique +diff -urNad mono-1.9.1+dfsg~/mono/arch/sparc/Makefile.in mono-1.9.1+dfsg/mono/arch/sparc/Makefile.in +--- mono-1.9.1+dfsg~/mono/arch/sparc/Makefile.in 2008-04-23 21:53:58.000000000 +0200 ++++ mono-1.9.1+dfsg/mono/arch/sparc/Makefile.in 2008-06-17 23:58:26.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -46,7 +46,7 @@ + libmonoarch_sparc_la_LIBADD = + am_libmonoarch_sparc_la_OBJECTS = tramp.lo + libmonoarch_sparc_la_OBJECTS = $(am_libmonoarch_sparc_la_OBJECTS) +-DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@ ++DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles + COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ +@@ -97,6 +97,7 @@ + DEPDIR = @DEPDIR@ + DISABLE_SHARED_HANDLES = @DISABLE_SHARED_HANDLES@ + DLLTOOL = @DLLTOOL@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -132,6 +133,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MONO_DL_NEED_USCORE = @MONO_DL_NEED_USCORE@ ++NMEDIT = @NMEDIT@ + OBJDUMP = @OBJDUMP@ + OBJEXT = @OBJEXT@ + OPROFILE_CFLAGS = @OPROFILE_CFLAGS@ +@@ -314,8 +316,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique + tags: TAGS + +@@ -327,8 +329,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +@@ -338,13 +340,12 @@ + CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ +- here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique +diff -urNad mono-1.9.1+dfsg~/mono/arch/x86/Makefile.in mono-1.9.1+dfsg/mono/arch/x86/Makefile.in +--- mono-1.9.1+dfsg~/mono/arch/x86/Makefile.in 2008-04-23 21:53:58.000000000 +0200 ++++ mono-1.9.1+dfsg/mono/arch/x86/Makefile.in 2008-06-17 23:58:26.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -48,7 +48,7 @@ + @INTERP_SUPPORTED_TRUE@am_libmonoarch_x86_la_OBJECTS = tramp.lo + libmonoarch_x86_la_OBJECTS = $(am_libmonoarch_x86_la_OBJECTS) + @INTERP_SUPPORTED_TRUE@am_libmonoarch_x86_la_rpath = +-DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@ ++DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles + COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ +@@ -99,6 +99,7 @@ + DEPDIR = @DEPDIR@ + DISABLE_SHARED_HANDLES = @DISABLE_SHARED_HANDLES@ + DLLTOOL = @DLLTOOL@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -134,6 +135,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MONO_DL_NEED_USCORE = @MONO_DL_NEED_USCORE@ ++NMEDIT = @NMEDIT@ + OBJDUMP = @OBJDUMP@ + OBJEXT = @OBJEXT@ + OPROFILE_CFLAGS = @OPROFILE_CFLAGS@ +@@ -316,8 +318,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique + tags: TAGS + +@@ -329,8 +331,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +@@ -340,13 +342,12 @@ + CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ +- here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique +diff -urNad mono-1.9.1+dfsg~/mono/benchmark/Makefile.in mono-1.9.1+dfsg/mono/benchmark/Makefile.in +--- mono-1.9.1+dfsg~/mono/benchmark/Makefile.in 2008-04-23 21:53:58.000000000 +0200 ++++ mono-1.9.1+dfsg/mono/benchmark/Makefile.in 2008-06-17 23:58:26.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -78,6 +78,7 @@ + DEPDIR = @DEPDIR@ + DISABLE_SHARED_HANDLES = @DISABLE_SHARED_HANDLES@ + DLLTOOL = @DLLTOOL@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -113,6 +114,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MONO_DL_NEED_USCORE = @MONO_DL_NEED_USCORE@ ++NMEDIT = @NMEDIT@ + OBJDUMP = @OBJDUMP@ + OBJEXT = @OBJEXT@ + OPROFILE_CFLAGS = @OPROFILE_CFLAGS@ +diff -urNad mono-1.9.1+dfsg~/mono/cil/Makefile.in mono-1.9.1+dfsg/mono/cil/Makefile.in +--- mono-1.9.1+dfsg~/mono/cil/Makefile.in 2008-04-23 21:53:58.000000000 +0200 ++++ mono-1.9.1+dfsg/mono/cil/Makefile.in 2008-06-17 23:58:26.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -90,6 +90,7 @@ + DEPDIR = @DEPDIR@ + DISABLE_SHARED_HANDLES = @DISABLE_SHARED_HANDLES@ + DLLTOOL = @DLLTOOL@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -125,6 +126,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MONO_DL_NEED_USCORE = @MONO_DL_NEED_USCORE@ ++NMEDIT = @NMEDIT@ + OBJDUMP = @OBJDUMP@ + OBJEXT = @OBJEXT@ + OPROFILE_CFLAGS = @OPROFILE_CFLAGS@ +diff -urNad mono-1.9.1+dfsg~/mono/dis/Makefile.in mono-1.9.1+dfsg/mono/dis/Makefile.in +--- mono-1.9.1+dfsg~/mono/dis/Makefile.in 2008-04-23 21:53:58.000000000 +0200 ++++ mono-1.9.1+dfsg/mono/dis/Makefile.in 2008-06-17 23:58:26.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -60,7 +60,7 @@ + am__DEPENDENCIES_1 = + monodis_DEPENDENCIES = libmonodis.a $(runtime_lib) \ + $(am__DEPENDENCIES_1) +-DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@ ++DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles + COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ +@@ -114,6 +114,7 @@ + DEPDIR = @DEPDIR@ + DISABLE_SHARED_HANDLES = @DISABLE_SHARED_HANDLES@ + DLLTOOL = @DLLTOOL@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -149,6 +150,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MONO_DL_NEED_USCORE = @MONO_DL_NEED_USCORE@ ++NMEDIT = @NMEDIT@ + OBJDUMP = @OBJDUMP@ + OBJEXT = @OBJEXT@ + OPROFILE_CFLAGS = @OPROFILE_CFLAGS@ +@@ -319,8 +321,8 @@ + || test -f $$p1 \ + ; then \ + f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ +- echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ +- $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ ++ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ ++ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ + else :; fi; \ + done + +@@ -432,8 +434,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique + tags: TAGS + +@@ -445,8 +447,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +@@ -456,13 +458,12 @@ + CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ +- here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique +diff -urNad mono-1.9.1+dfsg~/mono/interpreter/Makefile.in mono-1.9.1+dfsg/mono/interpreter/Makefile.in +--- mono-1.9.1+dfsg~/mono/interpreter/Makefile.in 2008-04-23 21:53:58.000000000 +0200 ++++ mono-1.9.1+dfsg/mono/interpreter/Makefile.in 2008-06-17 23:58:26.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -71,7 +71,7 @@ + am_mint_OBJECTS = main.$(OBJEXT) + mint_OBJECTS = $(am_mint_OBJECTS) + mint_DEPENDENCIES = libmint.la +-DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@ ++DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles + COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ +@@ -127,6 +127,7 @@ + DEPDIR = @DEPDIR@ + DISABLE_SHARED_HANDLES = @DISABLE_SHARED_HANDLES@ + DLLTOOL = @DLLTOOL@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -162,6 +163,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MONO_DL_NEED_USCORE = @MONO_DL_NEED_USCORE@ ++NMEDIT = @NMEDIT@ + OBJDUMP = @OBJDUMP@ + OBJEXT = @OBJEXT@ + OPROFILE_CFLAGS = @OPROFILE_CFLAGS@ +@@ -339,8 +341,8 @@ + @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ + if test -f $$p; then \ + f=$(am__strip_dir) \ +- echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ +- $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ ++ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ ++ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ + else :; fi; \ + done + +@@ -348,8 +350,8 @@ + @$(NORMAL_UNINSTALL) + @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ + p=$(am__strip_dir) \ +- echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ +- $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ ++ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ ++ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ + done + + clean-libLTLIBRARIES: +@@ -371,8 +373,8 @@ + || test -f $$p1 \ + ; then \ + f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ +- echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ +- $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ ++ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ ++ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ + else :; fi; \ + done + +@@ -499,8 +501,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique + tags: TAGS + +@@ -512,8 +514,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +@@ -523,13 +525,12 @@ + CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ +- here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique +diff -urNad mono-1.9.1+dfsg~/mono/io-layer/Makefile.in mono-1.9.1+dfsg/mono/io-layer/Makefile.in +--- mono-1.9.1+dfsg~/mono/io-layer/Makefile.in 2008-04-23 21:53:58.000000000 +0200 ++++ mono-1.9.1+dfsg/mono/io-layer/Makefile.in 2008-06-17 23:58:26.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -76,7 +76,7 @@ + @HPPA_TRUE@@PLATFORM_WIN32_FALSE@ $(am__objects_2) + @PLATFORM_WIN32_TRUE@am_libwapi_la_OBJECTS = $(am__objects_3) + libwapi_la_OBJECTS = $(am_libwapi_la_OBJECTS) +-DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@ ++DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles + CPPASCOMPILE = $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ +@@ -147,6 +147,7 @@ + DEPDIR = @DEPDIR@ + DISABLE_SHARED_HANDLES = @DISABLE_SHARED_HANDLES@ + DLLTOOL = @DLLTOOL@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -182,6 +183,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MONO_DL_NEED_USCORE = @MONO_DL_NEED_USCORE@ ++NMEDIT = @NMEDIT@ + OBJDUMP = @OBJDUMP@ + OBJEXT = @OBJEXT@ + OPROFILE_CFLAGS = @OPROFILE_CFLAGS@ +@@ -557,8 +559,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique + tags: TAGS + +@@ -570,8 +572,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +@@ -581,13 +583,12 @@ + CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ +- here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique +diff -urNad mono-1.9.1+dfsg~/mono/metadata/Makefile.in mono-1.9.1+dfsg/mono/metadata/Makefile.in +--- mono-1.9.1+dfsg~/mono/metadata/Makefile.in 2008-04-23 21:53:58.000000000 +0200 ++++ mono-1.9.1+dfsg/mono/metadata/Makefile.in 2008-06-17 23:58:26.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -88,7 +88,7 @@ + pedump_DEPENDENCIES = libmonoruntime.la ../io-layer/libwapi.la \ + ../utils/libmonoutils.la $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) +-DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@ ++DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles + COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ +@@ -149,6 +149,7 @@ + DEPDIR = @DEPDIR@ + DISABLE_SHARED_HANDLES = @DISABLE_SHARED_HANDLES@ + DLLTOOL = @DLLTOOL@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -184,6 +185,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MONO_DL_NEED_USCORE = @MONO_DL_NEED_USCORE@ ++NMEDIT = @NMEDIT@ + OBJDUMP = @OBJDUMP@ + OBJEXT = @OBJEXT@ + OPROFILE_CFLAGS = @OPROFILE_CFLAGS@ +@@ -480,8 +482,8 @@ + || test -f $$p1 \ + ; then \ + f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ +- echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ +- $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ ++ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ ++ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ + else :; fi; \ + done + +@@ -606,8 +608,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique + tags: TAGS + +@@ -619,8 +621,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +@@ -630,13 +632,12 @@ + CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ +- here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique +diff -urNad mono-1.9.1+dfsg~/mono/mini/Makefile.in mono-1.9.1+dfsg/mono/mini/Makefile.in +--- mono-1.9.1+dfsg~/mono/mini/Makefile.in 2008-04-23 21:53:58.000000000 +0200 ++++ mono-1.9.1+dfsg/mono/mini/Makefile.in 2008-06-17 23:58:27.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -203,7 +203,7 @@ + monow_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(monow_LDFLAGS) \ + $(LDFLAGS) -o $@ +-DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@ ++DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles + COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ +@@ -264,6 +264,7 @@ + DEPDIR = @DEPDIR@ + DISABLE_SHARED_HANDLES = @DISABLE_SHARED_HANDLES@ + DLLTOOL = @DLLTOOL@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -299,6 +300,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MONO_DL_NEED_USCORE = @MONO_DL_NEED_USCORE@ ++NMEDIT = @NMEDIT@ + OBJDUMP = @OBJDUMP@ + OBJEXT = @OBJEXT@ + OPROFILE_CFLAGS = @OPROFILE_CFLAGS@ +@@ -743,8 +745,8 @@ + @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ + if test -f $$p; then \ + f=$(am__strip_dir) \ +- echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ +- $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ ++ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ ++ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ + else :; fi; \ + done + +@@ -752,8 +754,8 @@ + @$(NORMAL_UNINSTALL) + @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ + p=$(am__strip_dir) \ +- echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ +- $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ ++ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ ++ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ + done + + clean-libLTLIBRARIES: +@@ -786,8 +788,8 @@ + || test -f $$p1 \ + ; then \ + f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ +- echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ +- $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ ++ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ ++ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ + else :; fi; \ + done + +@@ -979,8 +981,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique + tags: TAGS + +@@ -992,8 +994,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +@@ -1003,13 +1005,12 @@ + CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ +- here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique +diff -urNad mono-1.9.1+dfsg~/mono/monoburg/Makefile.in mono-1.9.1+dfsg/mono/monoburg/Makefile.in +--- mono-1.9.1+dfsg~/mono/monoburg/Makefile.in 2008-04-23 21:53:58.000000000 +0200 ++++ mono-1.9.1+dfsg/mono/monoburg/Makefile.in 2008-06-17 23:58:27.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -83,6 +83,7 @@ + DEPDIR = @DEPDIR@ + DISABLE_SHARED_HANDLES = @DISABLE_SHARED_HANDLES@ + DLLTOOL = @DLLTOOL@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -118,6 +119,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MONO_DL_NEED_USCORE = @MONO_DL_NEED_USCORE@ ++NMEDIT = @NMEDIT@ + OBJDUMP = @OBJDUMP@ + OBJEXT = @OBJEXT@ + OPROFILE_CFLAGS = @OPROFILE_CFLAGS@ +diff -urNad mono-1.9.1+dfsg~/mono/monograph/Makefile.in mono-1.9.1+dfsg/mono/monograph/Makefile.in +--- mono-1.9.1+dfsg~/mono/monograph/Makefile.in 2008-04-23 21:53:58.000000000 +0200 ++++ mono-1.9.1+dfsg/mono/monograph/Makefile.in 2008-06-17 23:58:27.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -50,7 +50,7 @@ + monograph_OBJECTS = monograph.$(OBJEXT) + am__DEPENDENCIES_1 = + monograph_DEPENDENCIES = $(runtime_lib) $(am__DEPENDENCIES_1) +-DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@ ++DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles + COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ +@@ -101,6 +101,7 @@ + DEPDIR = @DEPDIR@ + DISABLE_SHARED_HANDLES = @DISABLE_SHARED_HANDLES@ + DLLTOOL = @DLLTOOL@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -136,6 +137,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MONO_DL_NEED_USCORE = @MONO_DL_NEED_USCORE@ ++NMEDIT = @NMEDIT@ + OBJDUMP = @OBJDUMP@ + OBJEXT = @OBJEXT@ + OPROFILE_CFLAGS = @OPROFILE_CFLAGS@ +@@ -286,8 +288,8 @@ + || test -f $$p1 \ + ; then \ + f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ +- echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ +- $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ ++ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ ++ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ + else :; fi; \ + done + +@@ -349,8 +351,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique + tags: TAGS + +@@ -362,8 +364,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +@@ -373,13 +375,12 @@ + CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ +- here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique +diff -urNad mono-1.9.1+dfsg~/mono/os/Makefile.in mono-1.9.1+dfsg/mono/os/Makefile.in +--- mono-1.9.1+dfsg~/mono/os/Makefile.in 2008-04-23 21:53:58.000000000 +0200 ++++ mono-1.9.1+dfsg/mono/os/Makefile.in 2008-06-17 23:58:27.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -78,6 +78,7 @@ + DEPDIR = @DEPDIR@ + DISABLE_SHARED_HANDLES = @DISABLE_SHARED_HANDLES@ + DLLTOOL = @DLLTOOL@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -113,6 +114,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MONO_DL_NEED_USCORE = @MONO_DL_NEED_USCORE@ ++NMEDIT = @NMEDIT@ + OBJDUMP = @OBJDUMP@ + OBJEXT = @OBJEXT@ + OPROFILE_CFLAGS = @OPROFILE_CFLAGS@ +diff -urNad mono-1.9.1+dfsg~/mono/profiler/Makefile.in mono-1.9.1+dfsg/mono/profiler/Makefile.in +--- mono-1.9.1+dfsg~/mono/profiler/Makefile.in 2008-04-23 21:53:58.000000000 +0200 ++++ mono-1.9.1+dfsg/mono/profiler/Makefile.in 2008-06-17 23:58:27.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -65,7 +65,7 @@ + $(am_libmono_profiler_cov_la_OBJECTS) + @JIT_SUPPORTED_TRUE@am_libmono_profiler_cov_la_rpath = -rpath \ + @JIT_SUPPORTED_TRUE@ $(libdir) +-DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@ ++DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles + COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ +@@ -118,6 +118,7 @@ + DEPDIR = @DEPDIR@ + DISABLE_SHARED_HANDLES = @DISABLE_SHARED_HANDLES@ + DLLTOOL = @DLLTOOL@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -153,6 +154,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MONO_DL_NEED_USCORE = @MONO_DL_NEED_USCORE@ ++NMEDIT = @NMEDIT@ + OBJDUMP = @OBJDUMP@ + OBJEXT = @OBJEXT@ + OPROFILE_CFLAGS = @OPROFILE_CFLAGS@ +@@ -301,8 +303,8 @@ + @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ + if test -f $$p; then \ + f=$(am__strip_dir) \ +- echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ +- $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ ++ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ ++ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ + else :; fi; \ + done + +@@ -310,8 +312,8 @@ + @$(NORMAL_UNINSTALL) + @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ + p=$(am__strip_dir) \ +- echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ +- $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ ++ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ ++ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ + done + + clean-libLTLIBRARIES: +@@ -368,8 +370,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique + tags: TAGS + +@@ -381,8 +383,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +@@ -392,13 +394,12 @@ + CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ +- here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique +diff -urNad mono-1.9.1+dfsg~/mono/tests/Makefile.in mono-1.9.1+dfsg/mono/tests/Makefile.in +--- mono-1.9.1+dfsg~/mono/tests/Makefile.in 2008-04-23 21:53:58.000000000 +0200 ++++ mono-1.9.1+dfsg/mono/tests/Makefile.in 2008-06-17 23:58:27.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -52,7 +52,7 @@ + libtest_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libtest_la_CFLAGS) \ + $(CFLAGS) $(libtest_la_LDFLAGS) $(LDFLAGS) -o $@ +-DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@ ++DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles + COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ +@@ -113,6 +113,7 @@ + DEPDIR = @DEPDIR@ + DISABLE_SHARED_HANDLES = @DISABLE_SHARED_HANDLES@ + DLLTOOL = @DLLTOOL@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -148,6 +149,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MONO_DL_NEED_USCORE = @MONO_DL_NEED_USCORE@ ++NMEDIT = @NMEDIT@ + OBJDUMP = @OBJDUMP@ + OBJEXT = @OBJEXT@ + OPROFILE_CFLAGS = @OPROFILE_CFLAGS@ +@@ -774,8 +776,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique + tags: TAGS + +@@ -800,8 +802,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +@@ -811,13 +813,12 @@ + CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ +- here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique +diff -urNad mono-1.9.1+dfsg~/mono/tests/assemblyresolve/Makefile.in mono-1.9.1+dfsg/mono/tests/assemblyresolve/Makefile.in +--- mono-1.9.1+dfsg~/mono/tests/assemblyresolve/Makefile.in 2008-04-23 21:53:58.000000000 +0200 ++++ mono-1.9.1+dfsg/mono/tests/assemblyresolve/Makefile.in 2008-06-17 23:58:27.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -78,6 +78,7 @@ + DEPDIR = @DEPDIR@ + DISABLE_SHARED_HANDLES = @DISABLE_SHARED_HANDLES@ + DLLTOOL = @DLLTOOL@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -113,6 +114,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MONO_DL_NEED_USCORE = @MONO_DL_NEED_USCORE@ ++NMEDIT = @NMEDIT@ + OBJDUMP = @OBJDUMP@ + OBJEXT = @OBJEXT@ + OPROFILE_CFLAGS = @OPROFILE_CFLAGS@ +diff -urNad mono-1.9.1+dfsg~/mono/tests/cas/Makefile.in mono-1.9.1+dfsg/mono/tests/cas/Makefile.in +--- mono-1.9.1+dfsg~/mono/tests/cas/Makefile.in 2008-04-23 21:53:58.000000000 +0200 ++++ mono-1.9.1+dfsg/mono/tests/cas/Makefile.in 2008-06-17 23:58:27.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -90,6 +90,7 @@ + DEPDIR = @DEPDIR@ + DISABLE_SHARED_HANDLES = @DISABLE_SHARED_HANDLES@ + DLLTOOL = @DLLTOOL@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -125,6 +126,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MONO_DL_NEED_USCORE = @MONO_DL_NEED_USCORE@ ++NMEDIT = @NMEDIT@ + OBJDUMP = @OBJDUMP@ + OBJEXT = @OBJEXT@ + OPROFILE_CFLAGS = @OPROFILE_CFLAGS@ +@@ -340,8 +342,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique + tags: TAGS + +@@ -366,8 +368,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +@@ -377,13 +379,12 @@ + CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ +- here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique +diff -urNad mono-1.9.1+dfsg~/mono/tests/cas/assembly/Makefile.in mono-1.9.1+dfsg/mono/tests/cas/assembly/Makefile.in +--- mono-1.9.1+dfsg~/mono/tests/cas/assembly/Makefile.in 2008-04-23 21:53:58.000000000 +0200 ++++ mono-1.9.1+dfsg/mono/tests/cas/assembly/Makefile.in 2008-06-17 23:58:27.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -79,6 +79,7 @@ + DEPDIR = @DEPDIR@ + DISABLE_SHARED_HANDLES = @DISABLE_SHARED_HANDLES@ + DLLTOOL = @DLLTOOL@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -114,6 +115,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MONO_DL_NEED_USCORE = @MONO_DL_NEED_USCORE@ ++NMEDIT = @NMEDIT@ + OBJDUMP = @OBJDUMP@ + OBJEXT = @OBJEXT@ + OPROFILE_CFLAGS = @OPROFILE_CFLAGS@ +diff -urNad mono-1.9.1+dfsg~/mono/tests/cas/demand/Makefile.in mono-1.9.1+dfsg/mono/tests/cas/demand/Makefile.in +--- mono-1.9.1+dfsg~/mono/tests/cas/demand/Makefile.in 2008-04-23 21:53:58.000000000 +0200 ++++ mono-1.9.1+dfsg/mono/tests/cas/demand/Makefile.in 2008-06-17 23:58:27.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -79,6 +79,7 @@ + DEPDIR = @DEPDIR@ + DISABLE_SHARED_HANDLES = @DISABLE_SHARED_HANDLES@ + DLLTOOL = @DLLTOOL@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -114,6 +115,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MONO_DL_NEED_USCORE = @MONO_DL_NEED_USCORE@ ++NMEDIT = @NMEDIT@ + OBJDUMP = @OBJDUMP@ + OBJEXT = @OBJEXT@ + OPROFILE_CFLAGS = @OPROFILE_CFLAGS@ +diff -urNad mono-1.9.1+dfsg~/mono/tests/cas/inheritance/Makefile.in mono-1.9.1+dfsg/mono/tests/cas/inheritance/Makefile.in +--- mono-1.9.1+dfsg~/mono/tests/cas/inheritance/Makefile.in 2008-04-23 21:53:58.000000000 +0200 ++++ mono-1.9.1+dfsg/mono/tests/cas/inheritance/Makefile.in 2008-06-17 23:58:27.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -79,6 +79,7 @@ + DEPDIR = @DEPDIR@ + DISABLE_SHARED_HANDLES = @DISABLE_SHARED_HANDLES@ + DLLTOOL = @DLLTOOL@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -114,6 +115,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MONO_DL_NEED_USCORE = @MONO_DL_NEED_USCORE@ ++NMEDIT = @NMEDIT@ + OBJDUMP = @OBJDUMP@ + OBJEXT = @OBJEXT@ + OPROFILE_CFLAGS = @OPROFILE_CFLAGS@ +diff -urNad mono-1.9.1+dfsg~/mono/tests/cas/linkdemand/Makefile.in mono-1.9.1+dfsg/mono/tests/cas/linkdemand/Makefile.in +--- mono-1.9.1+dfsg~/mono/tests/cas/linkdemand/Makefile.in 2008-04-23 21:53:58.000000000 +0200 ++++ mono-1.9.1+dfsg/mono/tests/cas/linkdemand/Makefile.in 2008-06-17 23:58:28.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -79,6 +79,7 @@ + DEPDIR = @DEPDIR@ + DISABLE_SHARED_HANDLES = @DISABLE_SHARED_HANDLES@ + DLLTOOL = @DLLTOOL@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -114,6 +115,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MONO_DL_NEED_USCORE = @MONO_DL_NEED_USCORE@ ++NMEDIT = @NMEDIT@ + OBJDUMP = @OBJDUMP@ + OBJEXT = @OBJEXT@ + OPROFILE_CFLAGS = @OPROFILE_CFLAGS@ +diff -urNad mono-1.9.1+dfsg~/mono/tests/cas/threads/Makefile.in mono-1.9.1+dfsg/mono/tests/cas/threads/Makefile.in +--- mono-1.9.1+dfsg~/mono/tests/cas/threads/Makefile.in 2008-04-23 21:53:58.000000000 +0200 ++++ mono-1.9.1+dfsg/mono/tests/cas/threads/Makefile.in 2008-06-17 23:58:28.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -79,6 +79,7 @@ + DEPDIR = @DEPDIR@ + DISABLE_SHARED_HANDLES = @DISABLE_SHARED_HANDLES@ + DLLTOOL = @DLLTOOL@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -114,6 +115,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MONO_DL_NEED_USCORE = @MONO_DL_NEED_USCORE@ ++NMEDIT = @NMEDIT@ + OBJDUMP = @OBJDUMP@ + OBJEXT = @OBJEXT@ + OPROFILE_CFLAGS = @OPROFILE_CFLAGS@ +diff -urNad mono-1.9.1+dfsg~/mono/utils/Makefile.in mono-1.9.1+dfsg/mono/utils/Makefile.in +--- mono-1.9.1+dfsg~/mono/utils/Makefile.in 2008-04-23 21:53:58.000000000 +0200 ++++ mono-1.9.1+dfsg/mono/utils/Makefile.in 2008-06-17 23:58:28.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -61,7 +61,7 @@ + mono-math.lo mono-mmap.lo strtod.lo strenc.lo mono-uri.lo \ + mono-poll.lo mono-path.lo mono-stdlib.lo + libmonoutils_la_OBJECTS = $(am_libmonoutils_la_OBJECTS) +-DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@ ++DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles + COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ +@@ -121,6 +121,7 @@ + DEPDIR = @DEPDIR@ + DISABLE_SHARED_HANDLES = @DISABLE_SHARED_HANDLES@ + DLLTOOL = @DLLTOOL@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -156,6 +157,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MONO_DL_NEED_USCORE = @MONO_DL_NEED_USCORE@ ++NMEDIT = @NMEDIT@ + OBJDUMP = @OBJDUMP@ + OBJEXT = @OBJEXT@ + OPROFILE_CFLAGS = @OPROFILE_CFLAGS@ +@@ -417,8 +419,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique + tags: TAGS + +@@ -430,8 +432,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +@@ -441,13 +443,12 @@ + CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ +- here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique +diff -urNad mono-1.9.1+dfsg~/msvc/Makefile.in mono-1.9.1+dfsg/msvc/Makefile.in +--- mono-1.9.1+dfsg~/msvc/Makefile.in 2008-04-23 21:53:58.000000000 +0200 ++++ mono-1.9.1+dfsg/msvc/Makefile.in 2008-06-17 23:58:28.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -79,6 +79,7 @@ + DEPDIR = @DEPDIR@ + DISABLE_SHARED_HANDLES = @DISABLE_SHARED_HANDLES@ + DLLTOOL = @DLLTOOL@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -114,6 +115,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MONO_DL_NEED_USCORE = @MONO_DL_NEED_USCORE@ ++NMEDIT = @NMEDIT@ + OBJDUMP = @OBJDUMP@ + OBJEXT = @OBJEXT@ + OPROFILE_CFLAGS = @OPROFILE_CFLAGS@ +diff -urNad mono-1.9.1+dfsg~/runtime/Makefile.in mono-1.9.1+dfsg/runtime/Makefile.in +--- mono-1.9.1+dfsg~/runtime/Makefile.in 2008-04-23 21:53:58.000000000 +0200 ++++ mono-1.9.1+dfsg/runtime/Makefile.in 2008-06-17 23:58:28.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -82,6 +82,7 @@ + DEPDIR = @DEPDIR@ + DISABLE_SHARED_HANDLES = @DISABLE_SHARED_HANDLES@ + DLLTOOL = @DLLTOOL@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -117,6 +118,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MONO_DL_NEED_USCORE = @MONO_DL_NEED_USCORE@ ++NMEDIT = @NMEDIT@ + OBJDUMP = @OBJDUMP@ + OBJEXT = @OBJEXT@ + OPROFILE_CFLAGS = @OPROFILE_CFLAGS@ +diff -urNad mono-1.9.1+dfsg~/samples/Makefile.in mono-1.9.1+dfsg/samples/Makefile.in +--- mono-1.9.1+dfsg~/samples/Makefile.in 2008-04-23 21:53:58.000000000 +0200 ++++ mono-1.9.1+dfsg/samples/Makefile.in 2008-06-17 23:58:28.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -78,6 +78,7 @@ + DEPDIR = @DEPDIR@ + DISABLE_SHARED_HANDLES = @DISABLE_SHARED_HANDLES@ + DLLTOOL = @DLLTOOL@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -113,6 +114,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MONO_DL_NEED_USCORE = @MONO_DL_NEED_USCORE@ ++NMEDIT = @NMEDIT@ + OBJDUMP = @OBJDUMP@ + OBJEXT = @OBJEXT@ + OPROFILE_CFLAGS = @OPROFILE_CFLAGS@ +diff -urNad mono-1.9.1+dfsg~/scripts/Makefile.in mono-1.9.1+dfsg/scripts/Makefile.in +--- mono-1.9.1+dfsg~/scripts/Makefile.in 2008-04-23 21:53:58.000000000 +0200 ++++ mono-1.9.1+dfsg/scripts/Makefile.in 2008-06-17 23:58:28.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -94,6 +94,7 @@ + DEPDIR = @DEPDIR@ + DISABLE_SHARED_HANDLES = @DISABLE_SHARED_HANDLES@ + DLLTOOL = @DLLTOOL@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -129,6 +130,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MONO_DL_NEED_USCORE = @MONO_DL_NEED_USCORE@ ++NMEDIT = @NMEDIT@ + OBJDUMP = @OBJDUMP@ + OBJEXT = @OBJEXT@ + OPROFILE_CFLAGS = @OPROFILE_CFLAGS@ +diff -urNad mono-1.9.1+dfsg~/support/Makefile.in mono-1.9.1+dfsg/support/Makefile.in +--- mono-1.9.1+dfsg~/support/Makefile.in 2008-04-23 21:53:58.000000000 +0200 ++++ mono-1.9.1+dfsg/support/Makefile.in 2008-06-17 23:58:28.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -90,7 +90,7 @@ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(libMonoSupportW_la_LDFLAGS) $(LDFLAGS) -o $@ + @PLATFORM_WIN32_FALSE@am_libMonoSupportW_la_rpath = -rpath $(libdir) +-DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@ ++DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles + COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ +@@ -143,6 +143,7 @@ + DEPDIR = @DEPDIR@ + DISABLE_SHARED_HANDLES = @DISABLE_SHARED_HANDLES@ + DLLTOOL = @DLLTOOL@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -178,6 +179,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MONO_DL_NEED_USCORE = @MONO_DL_NEED_USCORE@ ++NMEDIT = @NMEDIT@ + OBJDUMP = @OBJDUMP@ + OBJEXT = @OBJEXT@ + OPROFILE_CFLAGS = @OPROFILE_CFLAGS@ +@@ -414,8 +416,8 @@ + @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ + if test -f $$p; then \ + f=$(am__strip_dir) \ +- echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ +- $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ ++ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ ++ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ + else :; fi; \ + done + +@@ -423,8 +425,8 @@ + @$(NORMAL_UNINSTALL) + @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ + p=$(am__strip_dir) \ +- echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ +- $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ ++ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ ++ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ + done + + clean-libLTLIBRARIES: +@@ -521,8 +523,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique + tags: TAGS + +@@ -534,8 +536,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +@@ -545,13 +547,12 @@ + CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ +- here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique +diff -urNad mono-1.9.1+dfsg~/tools/Makefile.in mono-1.9.1+dfsg/tools/Makefile.in +--- mono-1.9.1+dfsg~/tools/Makefile.in 2008-04-23 21:53:58.000000000 +0200 ++++ mono-1.9.1+dfsg/tools/Makefile.in 2008-06-17 23:58:28.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -90,6 +90,7 @@ + DEPDIR = @DEPDIR@ + DISABLE_SHARED_HANDLES = @DISABLE_SHARED_HANDLES@ + DLLTOOL = @DLLTOOL@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -125,6 +126,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MONO_DL_NEED_USCORE = @MONO_DL_NEED_USCORE@ ++NMEDIT = @NMEDIT@ + OBJDUMP = @OBJDUMP@ + OBJEXT = @OBJEXT@ + OPROFILE_CFLAGS = @OPROFILE_CFLAGS@ +@@ -334,8 +336,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique + tags: TAGS + +@@ -360,8 +362,8 @@ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ +@@ -371,13 +373,12 @@ + CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ +- here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ +- $(AWK) ' { files[$$0] = 1; } \ +- END { for (i in files) print i; }'`; \ ++ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ ++ END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique +diff -urNad mono-1.9.1+dfsg~/tools/locale-builder/Makefile.in mono-1.9.1+dfsg/tools/locale-builder/Makefile.in +--- mono-1.9.1+dfsg~/tools/locale-builder/Makefile.in 2008-04-23 21:53:58.000000000 +0200 ++++ mono-1.9.1+dfsg/tools/locale-builder/Makefile.in 2008-06-17 23:58:28.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -78,6 +78,7 @@ + DEPDIR = @DEPDIR@ + DISABLE_SHARED_HANDLES = @DISABLE_SHARED_HANDLES@ + DLLTOOL = @DLLTOOL@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -113,6 +114,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MONO_DL_NEED_USCORE = @MONO_DL_NEED_USCORE@ ++NMEDIT = @NMEDIT@ + OBJDUMP = @OBJDUMP@ + OBJEXT = @OBJEXT@ + OPROFILE_CFLAGS = @OPROFILE_CFLAGS@ +diff -urNad mono-1.9.1+dfsg~/web/Makefile.in mono-1.9.1+dfsg/web/Makefile.in +--- mono-1.9.1+dfsg~/web/Makefile.in 2008-04-23 21:53:58.000000000 +0200 ++++ mono-1.9.1+dfsg/web/Makefile.in 2008-06-17 23:58:28.000000000 +0200 +@@ -1,8 +1,8 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +-# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. +@@ -79,6 +79,7 @@ + DEPDIR = @DEPDIR@ + DISABLE_SHARED_HANDLES = @DISABLE_SHARED_HANDLES@ + DLLTOOL = @DLLTOOL@ ++DSYMUTIL = @DSYMUTIL@ + ECHO = @ECHO@ + ECHO_C = @ECHO_C@ + ECHO_N = @ECHO_N@ +@@ -114,6 +115,7 @@ + MAKEINFO = @MAKEINFO@ + MKDIR_P = @MKDIR_P@ + MONO_DL_NEED_USCORE = @MONO_DL_NEED_USCORE@ ++NMEDIT = @NMEDIT@ + OBJDUMP = @OBJDUMP@ + OBJEXT = @OBJEXT@ + OPROFILE_CFLAGS = @OPROFILE_CFLAGS@ --- mono-1.9.1+dfsg.orig/debian/patches/fix_BigInteger_overflow_CVE-2007-5197.dpatch +++ mono-1.9.1+dfsg/debian/patches/fix_BigInteger_overflow_CVE-2007-5197.dpatch @@ -0,0 +1,31 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## fix_BigInteger_overflow_CVE-2007-5197.dpatch by Mirco Bauer +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad mono-1.2.2.1~/mcs/class/Mono.Security/Mono.Math/BigInteger.cs mono-1.2.2.1/mcs/class/Mono.Security/Mono.Math/BigInteger.cs +--- mono-1.2.2.1~/mcs/class/Mono.Security/Mono.Math/BigInteger.cs 2006-04-14 19:51:24.000000000 +0200 ++++ mono-1.2.2.1/mcs/class/Mono.Security/Mono.Math/BigInteger.cs 2007-10-28 22:42:47.000000000 +0100 +@@ -1574,7 +1574,7 @@ + uint j = 1; + + // Multiply and add +- for (; j < m.length; j++) { ++ for (; j < m.length && j < A.length; j++) { + c += (ulong)u_i * (ulong)*(mP++) + *(aSP++); + *(aDP++) = (uint)c; + c >>= 32; +diff -urNad mono-1.2.2.1~/mcs/class/corlib/Mono.Math/BigInteger.cs mono-1.2.2.1/mcs/class/corlib/Mono.Math/BigInteger.cs +--- mono-1.2.2.1~/mcs/class/corlib/Mono.Math/BigInteger.cs 2006-04-14 19:50:35.000000000 +0200 ++++ mono-1.2.2.1/mcs/class/corlib/Mono.Math/BigInteger.cs 2007-10-28 22:42:15.000000000 +0100 +@@ -1574,7 +1574,7 @@ + uint j = 1; + + // Multiply and add +- for (; j < m.length; j++) { ++ for (; j < m.length && j < A.length; j++) { + c += (ulong)u_i * (ulong)*(mP++) + *(aSP++); + *(aDP++) = (uint)c; + c >>= 32; --- mono-1.9.1+dfsg.orig/debian/patches/fix-mono-nunit.pc.in.dpatch +++ mono-1.9.1+dfsg/debian/patches/fix-mono-nunit.pc.in.dpatch @@ -0,0 +1,16 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## fix-mono-nunit.pc.in.dpatch by Mirco Bauer +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad mono-1.9.1+dfsg~/scripts/mono-nunit.pc.in mono-1.9.1+dfsg/scripts/mono-nunit.pc.in +--- mono-1.9.1+dfsg~/scripts/mono-nunit.pc.in 2007-11-08 23:07:03.000000000 +0100 ++++ mono-1.9.1+dfsg/scripts/mono-nunit.pc.in 2008-08-05 22:31:51.000000000 +0200 +@@ -1,4 +1,4 @@ +-prefix=${pcfiledir}/../.. ++prefix=@prefix@ + exec_prefix=${prefix} + libdir=${exec_prefix}/lib + --- mono-1.9.1+dfsg.orig/debian/patches/fix_softfloat_r105848.dpatch +++ mono-1.9.1+dfsg/debian/patches/fix_softfloat_r105848.dpatch @@ -0,0 +1,120 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## fix_softfloat_r105848.dpatch by Mirco Bauer +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fixes softfloat issues causing SIGABRT on armel, see +## DP: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=485112 +## DP: Patch taken from upstream SVN revision 105848. + +@DPATCH@ +diff -urNad mono-1.9.1+dfsg~/mono/mini/mini.c mono-1.9.1+dfsg/mono/mini/mini.c +--- mono-1.9.1+dfsg~/mono/mini/mini.c 2008-02-06 21:28:25.000000000 +0100 ++++ mono-1.9.1+dfsg/mono/mini/mini.c 2008-06-17 23:29:29.000000000 +0200 +@@ -622,7 +622,6 @@ + (cfg)->disable_ssa = TRUE; \ + } while (0) + +- + #define NEW_INDLOAD(cfg,dest,addr,vtype) do { \ + (dest) = mono_mempool_alloc0 ((cfg)->mempool, sizeof (MonoInst)); \ + (dest)->inst_left = addr; \ +@@ -2857,11 +2856,23 @@ + MONO_INST_NEW (cfg, (ins), OP_NOP); \ + } \ + } while (0) ++ ++#define NEW_TEMPLOAD_SOFT_FLOAT(cfg,bblock,ins,num) do { \ ++ if ((ins)->opcode == CEE_LDIND_R4) { \ ++ int idx = (num); \ ++ int temp; \ ++ NEW_TEMPLOADA (cfg, (ins), (idx)); \ ++ temp = handle_load_float (cfg, (bblock), (ins), ip); \ ++ NEW_TEMPLOAD (cfg, (ins), (temp)); \ ++ } \ ++ } while (0) ++ + #else + #define LDLOC_SOFT_FLOAT(cfg,ins,idx,ip) + #define STLOC_SOFT_FLOAT(cfg,ins,idx,ip) + #define LDARG_SOFT_FLOAT(cfg,ins,idx,ip) + #define STARG_SOFT_FLOAT(cfg,ins,idx,ip) ++#define NEW_TEMPLOAD_SOFT_FLOAT(cfg,bblock,ins,num) + #endif + + static MonoMethod* +@@ -3820,14 +3831,7 @@ + + if (rvar) { + NEW_TEMPLOAD (cfg, ins, rvar->inst_c0); +-#ifdef MONO_ARCH_SOFT_FLOAT +- if (ins->opcode == CEE_LDIND_R4) { +- int temp; +- NEW_TEMPLOADA (cfg, ins, rvar->inst_c0); +- temp = handle_load_float (cfg, bblock, ins, ip); +- NEW_TEMPLOAD (cfg, ins, temp); +- } +-#endif ++ NEW_TEMPLOAD_SOFT_FLOAT (cfg, ebblock, ins, rvar->inst_c0); + *sp++ = ins; + } + *last_b = ebblock; +@@ -5549,7 +5553,6 @@ + //g_assert (returnvar != -1); + NEW_TEMPSTORE (cfg, store, return_var->inst_c0, *sp); + store->cil_code = sp [0]->cil_code; +- /* FIXME: handle CEE_STIND_R4 */ + if (store->opcode == CEE_STOBJ) { + g_assert_not_reached (); + NEW_TEMPLOADA (cfg, store, return_var->inst_c0); +@@ -5923,6 +5926,31 @@ + case CEE_CONV_R_UN: + CHECK_STACK (1); + ADD_UNOP (*ip); ++ ++#ifdef MONO_ARCH_SOFT_FLOAT ++ /* ++ * Its rather hard to emit the soft float code during the decompose ++ * pass, so avoid it in some specific cases. ++ */ ++ if (ins->opcode == OP_LCONV_TO_R4) { ++ MonoInst *conv; ++ ++ ins->opcode = OP_LCONV_TO_R8; ++ ins->type = STACK_R8; ++ ++ --sp; ++ *sp++ = emit_tree (cfg, bblock, ins, ip + 1); ++ ++ MONO_INST_NEW (cfg, conv, CEE_CONV_R4); ++ conv->inst_left = sp [-1]; ++ conv->type = STACK_R8; ++ sp [-1] = ins; ++ ++ ip++; ++ break; ++ } ++#endif ++ + if (mono_find_jit_opcode_emulation (ins->opcode)) { + --sp; + *sp++ = emit_tree (cfg, bblock, ins, ip + 1); +@@ -6734,6 +6762,7 @@ + } else { + temp = mono_emit_method_call_spilled (cfg, bblock, wrapper, mono_method_signature (wrapper), iargs, ip, NULL); + NEW_TEMPLOAD (cfg, *sp, temp); ++ NEW_TEMPLOAD_SOFT_FLOAT (cfg, bblock, *sp, temp); + sp++; + } + } else { +diff -urNad mono-1.9.1+dfsg~/mono/mini/mini.h mono-1.9.1+dfsg/mono/mini/mini.h +--- mono-1.9.1+dfsg~/mono/mini/mini.h 2008-06-17 23:28:42.000000000 +0200 ++++ mono-1.9.1+dfsg/mono/mini/mini.h 2008-06-17 23:29:29.000000000 +0200 +@@ -244,7 +244,7 @@ + mono_container_of(ptr, type, member)*/ + + #define MONO_INST_LIST_ENTRY(ptr, type, member) \ +- ((type *)(ptr)) ++ ((type *)(gpointer)(ptr)) + + #define MONO_INST_LIST_FIRST_ENTRY(ptr, type, member) \ + MONO_INST_LIST_ENTRY((ptr)->next, type, member) --- mono-1.9.1+dfsg.orig/debian/patches/remove_broken_dllmap_from_mono-shlib-cop.dpatch +++ mono-1.9.1+dfsg/debian/patches/remove_broken_dllmap_from_mono-shlib-cop.dpatch @@ -0,0 +1,15 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## remove_broken_dllmap_from_mono-shlib-cop.dpatch by Mirco Bauer +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad --exclude=CVS --exclude=.svn ./mcs/tools/mono-shlib-cop/mono-shlib-cop.exe.config /tmp/dpep-work.cUJt1r/mono-1.1.9/mcs/tools/mono-shlib-cop/mono-shlib-cop.exe.config +--- ./mcs/tools/mono-shlib-cop/mono-shlib-cop.exe.config 2005-07-18 17:02:26.000000000 +0200 ++++ /tmp/dpep-work.cUJt1r/mono-1.1.9/mcs/tools/mono-shlib-cop/mono-shlib-cop.exe.config 2005-09-10 19:53:18.000000000 +0200 +@@ -1,4 +1,3 @@ + +- + + --- mono-1.9.1+dfsg.orig/debian/patches/check_prefix_on_proc_self_exe.dpatch +++ mono-1.9.1+dfsg/debian/patches/check_prefix_on_proc_self_exe.dpatch @@ -0,0 +1,39 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## dont_check_proc_self_exe.dpatch by Michael Casadevall +## +## DP: Causes any check to /proc/self/exe to check prefixes, and see if +## it requires autocorrection when on unionfs filesystems (aka livecd) + +@DPATCH@ +diff -urNad mono-1.9.1+dfsg~/mono/metadata/assembly.c mono-1.9.1+dfsg/mono/metadata/assembly.c +--- mono-1.9.1+dfsg~/mono/metadata/assembly.c 2008-02-20 23:10:03.000000000 +0000 ++++ mono-1.9.1+dfsg/mono/metadata/assembly.c 2008-07-16 21:15:51.000000000 +0000 +@@ -590,8 +590,27 @@ + s = readlink ("/proc/self/exe", buf, sizeof (buf)-1); + + if (s != -1){ ++ /** ++ * Due to braindeadness of unionfs, we need to check the ++ * patch to see if it real, or if we're getting bogus, and ++ * then correct it as needed. ++ **/ ++ const char* prefixes[] = {"/cow/", "/persistmnt/", "/rofs/", "/rwfs/", "/squashmnt/", NULL}; ++ const char ** prefix; ++ size_t prefix_len = 0; ++ buf[sizeof(buf)-1] = '\0'; /* readlink doesn't terminate */ ++ ++ /* Go through the prefixes and see if they match */ ++ for (prefix = prefixes; *prefix; prefix++) { ++ prefix_len = strlen(buf) < strlen(*prefix) ? strlen(buf) : strlen(*prefix); ++ if (!strncmp(*prefix, buf, prefix_len)) { ++ prefix_len--; ++ break; ++ } ++ } ++ + buf [s] = 0; +- set_dirs (buf); ++ set_dirs (buf + prefix_len); + return; + } + --- mono-1.9.1+dfsg.orig/debian/patches/ppc_disable_delegate_trampoline_optimization.dpatch +++ mono-1.9.1+dfsg/debian/patches/ppc_disable_delegate_trampoline_optimization.dpatch @@ -0,0 +1,33 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## ppc_disable_delegate_trampoline_optimization.dpatch by Mirco Bauer +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad mono-1.2.6~/mono/mini/mini-ppc.h mono-1.2.6/mono/mini/mini-ppc.h +--- mono-1.2.6~/mono/mini/mini-ppc.h 2007-11-08 23:07:34.000000000 +0100 ++++ mono-1.2.6/mono/mini/mini-ppc.h 2007-12-26 23:22:59.000000000 +0100 +@@ -109,7 +109,7 @@ + + #define MONO_ARCH_HAVE_CREATE_SPECIFIC_TRAMPOLINE + #define MONO_ARCH_HAVE_CREATE_TRAMPOLINE_FROM_TOKEN +-#define MONO_ARCH_HAVE_CREATE_DELEGATE_TRAMPOLINE ++/* #define MONO_ARCH_HAVE_CREATE_DELEGATE_TRAMPOLINE */ + #define MONO_ARCH_HAVE_IMT 1 + #define MONO_ARCH_IMT_REG ppc_r12 + #define MONO_ARCH_COMMON_VTABLE_TRAMPOLINE 1 +diff -urNad mono-1.2.6~/mono/mini/tramp-ppc.c mono-1.2.6/mono/mini/tramp-ppc.c +--- mono-1.2.6~/mono/mini/tramp-ppc.c 2007-11-08 23:07:34.000000000 +0100 ++++ mono-1.2.6/mono/mini/tramp-ppc.c 2007-12-26 23:24:31.000000000 +0100 +@@ -261,8 +261,10 @@ + tramp_handler = mono_aot_trampoline; + else if (tramp_type == MONO_TRAMPOLINE_AOT_PLT) + tramp_handler = mono_aot_plt_trampoline; ++#if defined(MONO_ARCH_HAVE_CREATE_DELEGATE_TRAMPOLINE) + else if (tramp_type == MONO_TRAMPOLINE_DELEGATE) + tramp_handler = mono_delegate_trampoline; ++#endif + else + tramp_handler = mono_magic_trampoline; + ppc_lis (buf, ppc_r0, (guint32) tramp_handler >> 16); --- mono-1.9.1+dfsg.orig/debian/patches/fix_delegate_memory_leak_r79001.dpatch +++ mono-1.9.1+dfsg/debian/patches/fix_delegate_memory_leak_r79001.dpatch @@ -0,0 +1,47 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## fix_delegate_memory_leak.dpatch by Mirco Bauer +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad mono-1.2.4~/mono/metadata/loader.c mono-1.2.4/mono/metadata/loader.c +--- mono-1.2.4~/mono/metadata/loader.c 2007-04-25 20:48:41.000000000 +0200 ++++ mono-1.2.4/mono/metadata/loader.c 2007-07-21 16:02:11.000000000 +0200 +@@ -1551,17 +1551,11 @@ + g_free ((char*)method->name); + if (mw->method.header) + g_free ((char*)mw->method.header->code); ++ g_free (mw->method.header); + g_free (mw->method_data); +- } +- +- if (method->dynamic && !(method->iflags & METHOD_IMPL_ATTRIBUTE_INTERNAL_CALL) && ((MonoMethodNormal *)method)->header) { +- /* FIXME: Ditto */ +- /* mono_metadata_free_mh (((MonoMethodNormal *)method)->header); */ +- g_free (((MonoMethodNormal*)method)->header); +- } +- +- if (method->dynamic) ++ g_free (method->signature); + g_free (method); ++ } + } + + void +diff -urNad mono-1.2.4~/mono/metadata/marshal.c mono-1.2.4/mono/metadata/marshal.c +--- mono-1.2.4~/mono/metadata/marshal.c 2007-05-01 00:49:22.000000000 +0200 ++++ mono-1.2.4/mono/metadata/marshal.c 2007-07-21 16:02:11.000000000 +0200 +@@ -8765,7 +8765,11 @@ + + + /* we copy the signature, so that we can modify it */ +- csig = signature_dup (method->klass->image, sig); ++ if (this) ++ /* Need to free this later */ ++ csig = mono_metadata_signature_dup (sig); ++ else ++ csig = signature_dup (method->klass->image, sig); + csig->hasthis = 0; + csig->pinvoke = 1; + --- mono-1.9.1+dfsg.orig/debian/patches/dont_build_System.Web.Extensions.dpatch +++ mono-1.9.1+dfsg/debian/patches/dont_build_System.Web.Extensions.dpatch @@ -0,0 +1,28 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## dont_build_System.Web.Extensions.dpatch by Mirco Bauer +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad mono-1.9+dfsg~/mcs/class/Makefile mono-1.9+dfsg/mcs/class/Makefile +--- mono-1.9+dfsg~/mcs/class/Makefile 2008-03-20 21:46:36.000000000 +0100 ++++ mono-1.9+dfsg/mcs/class/Makefile 2008-03-20 22:27:45.000000000 +0100 +@@ -102,8 +102,6 @@ + + net_2_0_dirs := \ + System.Core \ +- System.Web.Extensions \ +- System.Web.Extensions.Design \ + Microsoft.Build.Framework \ + Microsoft.Build.Utilities \ + Microsoft.Build.Engine \ +@@ -117,8 +115,6 @@ + + net_3_5_dirs := \ + System.Xml.Linq \ +- System.Web.Extensions \ +- System.Web.Extensions.Design \ + + default_SUBDIRS := $(common_dirs) $(default_dirs) + net_2_0_SUBDIRS := $(common_dirs) $(net_2_0_dirs) --- mono-1.9.1+dfsg.orig/debian/patches/dont_remap_non-runtime_libs.dpatch +++ mono-1.9.1+dfsg/debian/patches/dont_remap_non-runtime_libs.dpatch @@ -0,0 +1,32 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## dont_remap_non-runtime_libs.dpatch by Mirco Bauer +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad mono-1.2.4~/mono/metadata/assembly.c mono-1.2.4/mono/metadata/assembly.c +--- mono-1.2.4~/mono/metadata/assembly.c 2007-04-25 20:48:41.000000000 +0200 ++++ mono-1.2.4/mono/metadata/assembly.c 2007-05-19 15:34:14.000000000 +0200 +@@ -69,21 +69,6 @@ + {"I18N.West", 0}, + {"Microsoft.VisualBasic", 1}, + {"Microsoft.VisualC", 1}, +- {"Mono.Cairo", 0}, +- {"Mono.CompilerServices.SymbolWriter", 0}, +- {"Mono.Data", 0}, +- {"Mono.Data.SqliteClient", 0}, +- {"Mono.Data.SybaseClient", 0}, +- {"Mono.Data.Tds", 0}, +- {"Mono.Data.TdsClient", 0}, +- {"Mono.GetOptions", 0}, +- {"Mono.Http", 0}, +- {"Mono.Posix", 0}, +- {"Mono.Security", 0}, +- {"Mono.Security.Win32", 0}, +- {"Mono.Xml.Ext", 0}, +- {"Novell.Directory.Ldap", 0}, +- {"Npgsql", 0}, + {"PEAPI", 0}, + {"System", 0}, + {"System.Configuration.Install", 0}, --- mono-1.9.1+dfsg.orig/debian/patches/fix_xen_support_r103474_r103475.dpatch +++ mono-1.9.1+dfsg/debian/patches/fix_xen_support_r103474_r103475.dpatch @@ -0,0 +1,79 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## fix_xen.dpatch by Andrew Deason +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fixes Xen-specific build options by actually passing CFLAGS to +## DP: libgc's Makefile + +@DPATCH@ + +--- mono/configure.in 2008-05-19 21:13:13.000000000 -0500 ++++ mono/configure.in 2008-05-19 21:13:21.000000000 -0500 +@@ -36,6 +36,11 @@ + gc_default=boehm + fi + ++# These variables are the CPPFLAGS/CFLAGS passed to libgc's configure ++# libgc should inherit the original CFLAGS/CPPFLAGS passed to configure, i.e. -O0 ++CPPFLAGS_FOR_LIBGC=$CPPFLAGS ++CFLAGS_FOR_LIBGC=$CFLAGS ++ + # + # These are the flags that need to be stored in the mono.pc file for + # compiling code that will embed Mono +@@ -301,6 +306,8 @@ + #AC_DISABLE_FAST_INSTALL + AM_PROG_LIBTOOL + ++DOLT ++ + # Test whenever ld supports -version-script + AC_PROG_LD + AC_PROG_LD_GNU +@@ -399,6 +406,7 @@ + esac + fi + CFLAGS="$CFLAGS -g $WARN" ++CFLAGS_FOR_LIBGC="$CFLAGS_FOR_LIBGC -g" + + # Where's the 'mcs' source tree? + if test -d $srcdir/mcs; then +@@ -556,6 +564,8 @@ + void main () { } + ], [ + AC_MSG_RESULT(yes) ++ # Pass it to libgc as well ++ CFLAGS_FOR_LIBGC="$CFLAGS_FOR_LIBGC -mno-tls-direct-seg-refs" + ], [ + AC_MSG_RESULT(no) + CFLAGS=$ORIG_CFLAGS +@@ -1981,7 +2001,10 @@ + # We should use a separate variable for this to avoid passing useless and + # potentially problematic defines to libgc (like -D_FILE_OFFSET_BITS=64) + # This should be executed late so we pick up the final version of CPPFLAGS +- ac_configure_args="$ac_configure_args --disable-embed-check --with-libgc-threads=$libgc_threads $libgc_configure_args \"CPPFLAGS=$CPPFLAGS\"" ++ # The problem with this approach, is that during a reconfigure, the main ++ # configure scripts gets invoked with these arguments, so we use separate ++ # variables understood by libgc's configure to pass CPPFLAGS and CFLAGS. ++ ac_configure_args="$ac_configure_args --disable-embed-check --with-libgc-threads=$libgc_threads $libgc_configure_args \"CPPFLAGS_FOR_LIBGC=$CPPFLAGS\" \"CFLAGS_FOR_LIBGC=$CFLAGS_FOR_LIBGC\"" + AC_CONFIG_SUBDIRS(libgc) + ;; + esac + +--- mono/libgc/configure.in 2008-05-19 14:08:04 UTC (rev 103473) ++++ mono/libgc/configure.in 2008-05-19 14:30:46 UTC (rev 103474) +@@ -39,6 +39,15 @@ + + . [$]{srcdir}/configure.host + ++# We use a separate variable to pass down CPPFLAGS and CFLAGS from the main mono ++# configure, because of autoconf brokeness ++if test "x$CPPFLAGS_FOR_LIBGC" != "x"; then ++ CPPFLAGS=$CPPFLAGS_FOR_LIBGC ++fi ++if test "x$CFLAGS_FOR_LIBGC" != "x"; then ++ CFLAGS=$CFLAGS_FOR_LIBGC ++fi ++ + GC_CFLAGS=${gc_cflags} + AC_SUBST(GC_CFLAGS) --- mono-1.9.1+dfsg.orig/debian/patches/pass_CPPFLAGS_nicely_r98803.dpatch +++ mono-1.9.1+dfsg/debian/patches/pass_CPPFLAGS_nicely_r98803.dpatch @@ -0,0 +1,52 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## pass_CPPFLAGS_nicely_r98803.dpatch by Mirco Bauer +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad mono-1.9.1+dfsg~/configure.in mono-1.9.1+dfsg/configure.in +--- mono-1.9.1+dfsg~/configure.in 2008-04-22 20:16:11.000000000 +0200 ++++ mono-1.9.1+dfsg/configure.in 2008-04-22 20:16:15.000000000 +0200 +@@ -670,13 +670,6 @@ + ;; + + xincluded) +- AC_CONFIG_SUBDIRS(libgc) +- +- # Pass CPPFLAGS to libgc configure +- # Maybe we should use a separate variable for this to avoid passing useless and +- # potentially problematic defines to libgc (like -D_FILE_OFFSET_BITS=64) +- export CPPFLAGS +- + found_boehm=yes + gc_headers=yes + use_included_gc=yes +@@ -724,9 +717,6 @@ + CPPFLAGS="$CPPFLAGS -DLARGE_CONFIG" + fi + +-# tell libgc/configure about what we want +-ac_configure_args="$ac_configure_args --disable-embed-check --with-libgc-threads=$libgc_threads $libgc_configure_args" +- + AM_CONDITIONAL(INCLUDED_LIBGC, test x$use_included_gc = xyes) + AC_SUBST(LIBGC_CFLAGS) + AC_SUBST(LIBGC_LIBS) +@@ -1985,6 +1975,17 @@ + CPPFLAGS="$CPPFLAGS -DNO_UNALIGNED_ACCESS" + fi + ++case "x$gc" in ++ xincluded) ++ # Pass CPPFLAGS to libgc configure ++ # We should use a separate variable for this to avoid passing useless and ++ # potentially problematic defines to libgc (like -D_FILE_OFFSET_BITS=64) ++ # This should be executed late so we pick up the final version of CPPFLAGS ++ ac_configure_args="$ac_configure_args --disable-embed-check --with-libgc-threads=$libgc_threads $libgc_configure_args \"CPPFLAGS=$CPPFLAGS\"" ++ AC_CONFIG_SUBDIRS(libgc) ++ ;; ++esac ++ + PREVIEW=yes + AC_ARG_WITH(preview, [ --with-preview=yes,no If you want to install the 2.0 FX preview],[ + if test x$with_preview = xno; then --- mono-1.9.1+dfsg.orig/debian/detector/README +++ mono-1.9.1+dfsg/debian/detector/README @@ -0,0 +1,45 @@ +binfmt-pe + + This utility determines the Microsoft PE executable file's + type (Native, .NET CLR) and runs it using the appropriate + runtime (WINE, CLI). It also detects and refuses to run + MS-DOS (non-PE) executables. + + It is inteded to be used in a Linux binfmt configuration, + since binfmt itself is incapable of reliably distinguishing + between various PE file types (since they have no different + "magic string") and runtimes refuse to run files which + they don't support (CLR runtimes refuse to run + Native images and vice versa). + +Technical information + + The file's type is determined from certain characteristics + in the PE / COFF file header. It should be noted that the + techniques used might not be standard and are not throughtly + tested to work, so false detections might occur. + + In short: + - An MS-DOS executable is assumed if the PE offset in the MS-DOS + header is NULL or points to an offset beyond the file's length + - A CLR file is assumed if the PE header's directory entry + for "CLI header" is not NULL and points to a valid offset in + the executable file. + - A native executable file is assumed otherwise. + + The runtime names are hardcoded into the utilit (that is - + not configurable) and are exec'ed from the utility -- + "wine" is used for native images, "cli" is used for CLR images. + +Credits + + This utility is based on the PE / COFF header structures from + Ximian's Mono .NET runtime project ( http://www.go-mono.com/ ). + +Author + + Ilya Konstantinov + +Licenses + + This utility is covered by the GPL license. --- mono-1.9.1+dfsg.orig/debian/detector/binfmt-detector-cli.c +++ mono-1.9.1+dfsg/debian/detector/binfmt-detector-cli.c @@ -0,0 +1,99 @@ +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Library General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * binfmt PE executable helper, by Ilya Konstantinov + * Based on PE headers structures courtesy of Mono .NET runtime project + * (http://www.go-mono.com). + */ + +#include +#include +#include +#include +#include +#include +#include + +#include "cil-coff.h" + +//Change this to one MSDOS, MSDOS, NATIVE or CLR +#define DETECT CLR + +#define _(String) gettext(String) + +/* Globals */ +enum execTypeEnum { + UNKNOWN, + MSDOS, + NATIVE, + CLR +} execType = UNKNOWN; + +int main(int argc, char **argv) +{ + const char *filename; + FILE *image; + size_t read; + + if (argc < 2) exit(EXIT_FAILURE); + + filename = argv[1]; + image = fopen(filename, "r"); + if (image == NULL) exit(EXIT_FAILURE); + + /* Parse the MSDOS header */ + + { + MSDOSHeader msdos_header; + uint32_t pe_offset; + read = fread(&msdos_header, sizeof(msdos_header), 1, image); + if (read < 1) exit(EXIT_FAILURE); + pe_offset = msdos_header.pe_offset[0] + | msdos_header.pe_offset[1] << 8 + | msdos_header.pe_offset[2] << 16 + | msdos_header.pe_offset[3] << 24; + if ((pe_offset == 0) || + (fseek(image, pe_offset, SEEK_SET) != 0)) + execType = MSDOS; + } + + /* Parse the PE header */ + + if (execType == UNKNOWN) + { + DotNetHeader dotnet_header; + uint16_t pe_magic; + uint32_t rva; + read = fread(&dotnet_header, sizeof(dotnet_header), 1, image); + if (read < 1) exit(EXIT_FAILURE); + pe_magic = dotnet_header.pe.pe_magic[0] + | dotnet_header.pe.pe_magic[1] << 8; + if (dotnet_header.pesig[0] != 'P' || dotnet_header.pesig[1] != 'E' || pe_magic != 0x10B) exit(EXIT_FAILURE); + rva = dotnet_header.datadir.pe_cli_header.rva[0] + | dotnet_header.datadir.pe_cli_header.rva[1] << 8 + | dotnet_header.datadir.pe_cli_header.rva[2] << 16 + | dotnet_header.datadir.pe_cli_header.rva[1] << 24; + if ((dotnet_header.datadir.pe_cli_header.size != 0) && + (rva != 0) && + (fseek(image, rva, SEEK_SET) == 0)) + execType = CLR; + else + execType = NATIVE; + } + fclose(image); + + /* Return a value indicating success or failure */ + if (execType == DETECT) exit(EXIT_SUCCESS); else exit(EXIT_FAILURE); +} --- mono-1.9.1+dfsg.orig/debian/detector/cil-coff.h +++ mono-1.9.1+dfsg/debian/detector/cil-coff.h @@ -0,0 +1,190 @@ + +#ifndef __MONO_CIL_COFF_H__ +#define __MONO_CIL_COFF_H__ + +#include + +/* + * 25.2.1: Method header type values + */ +#define METHOD_HEADER_FORMAT_MASK 7 +#define METHOD_HEADER_TINY_FORMAT 2 +#define METHOD_HEADER_TINY_FORMAT1 6 +#define METHOD_HEADER_FAT_FORMAT 3 + +/* + * 25.2.3.1: Flags for method headers + */ +#define METHOD_HEADER_INIT_LOCALS 0x10 +#define METHOD_HEADER_MORE_SECTS 0x08 + +/* + * For section data (25.3) + */ +#define METHOD_HEADER_SECTION_RESERVED 0 +#define METHOD_HEADER_SECTION_EHTABLE 1 +#define METHOD_HEADER_SECTION_OPTIL_TABLE 2 +#define METHOD_HEADER_SECTION_FAT_FORMAT 0x40 +#define METHOD_HEADER_SECTION_MORE_SECTS 0x80 + +/* 128 bytes */ +typedef struct { + char msdos_sig [2]; + uint16_t nlast_page; + uint16_t npages; + char msdos_header [54]; + unsigned char pe_offset[4]; + char msdos_header2 [64]; +} MSDOSHeader; + +/* 20 bytes */ +typedef struct { + uint16_t coff_machine; + uint16_t coff_sections; + uint32_t coff_time; + uint32_t coff_symptr; + uint32_t coff_symcount; + uint16_t coff_opt_header_size; + uint16_t coff_attributes; +} COFFHeader; + +#define COFF_ATTRIBUTE_EXECUTABLE_IMAGE 0x0002 +#define COFF_ATTRIBUTE_LIBRARY_IMAGE 0x2000 + +/* 28 bytes */ +typedef struct { + unsigned char pe_magic[2]; + unsigned char pe_major; + unsigned char pe_minor; + uint32_t pe_code_size; + uint32_t pe_data_size; + uint32_t pe_uninit_data_size; + uint32_t pe_rva_entry_point; + uint32_t pe_rva_code_base; + uint32_t pe_rva_data_base; +} PEHeader; + +/* 68 bytes */ +typedef struct { + uint32_t pe_image_base; /* must be 0x400000 */ + uint32_t pe_section_align; /* must be 8192 */ + uint32_t pe_file_alignment; /* must be 512 or 4096 */ + uint16_t pe_os_major; /* must be 4 */ + uint16_t pe_os_minor; /* must be 0 */ + uint16_t pe_user_major; + uint16_t pe_user_minor; + uint16_t pe_subsys_major; + uint16_t pe_subsys_minor; + uint32_t pe_reserved_1; + uint32_t pe_image_size; + uint32_t pe_header_size; + uint32_t pe_checksum; + uint16_t pe_subsys_required; + uint16_t pe_dll_flags; + uint32_t pe_stack_reserve; + uint32_t pe_stack_commit; + uint32_t pe_heap_reserve; + uint32_t pe_heap_commit; + uint32_t pe_loader_flags; + uint32_t pe_data_dir_count; +} PEHeaderNT; + +typedef struct { + unsigned char rva[4]; + uint32_t size; +} PEDirEntry; + +/* 128 bytes */ +typedef struct { + PEDirEntry pe_export_table; + PEDirEntry pe_import_table; + PEDirEntry pe_resource_table; + PEDirEntry pe_exception_table; + PEDirEntry pe_certificate_table; + PEDirEntry pe_reloc_table; + PEDirEntry pe_debug; + PEDirEntry pe_copyright; + PEDirEntry pe_global_ptr; + PEDirEntry pe_tls_table; + PEDirEntry pe_load_config_table; + PEDirEntry pe_bound_import; + PEDirEntry pe_iat; + PEDirEntry pe_delay_import_desc; + PEDirEntry pe_cli_header; + PEDirEntry pe_reserved; +} PEDatadir; + +/* 248 bytes */ +typedef struct { + char pesig [4]; + COFFHeader coff; + PEHeader pe; + PEHeaderNT nt; + PEDatadir datadir; +} DotNetHeader; + +typedef struct { + char st_name [8]; + uint32_t st_virtual_size; + uint32_t st_virtual_address; + uint32_t st_raw_data_size; + uint32_t st_raw_data_ptr; + uint32_t st_reloc_ptr; + uint32_t st_lineno_ptr; + uint16_t st_reloc_count; + uint16_t st_line_count; + +#define SECT_FLAGS_HAS_CODE 0x20 +#define SECT_FLAGS_HAS_INITIALIZED_DATA 0x40 +#define SECT_FLAGS_HAS_UNINITIALIZED_DATA 0x80 +#define SECT_FLAGS_MEM_DISCARDABLE 0x02000000 +#define SECT_FLAGS_MEM_NOT_CACHED 0x04000000 +#define SECT_FLAGS_MEM_NOT_PAGED 0x08000000 +#define SECT_FLAGS_MEM_SHARED 0x10000000 +#define SECT_FLAGS_MEM_EXECUTE 0x20000000 +#define SECT_FLAGS_MEM_READ 0x40000000 +#define SECT_FLAGS_MEM_WRITE 0x80000000 + uint32_t st_flags; + +} SectionTable; + +typedef struct { + uint32_t ch_size; + uint16_t ch_runtime_major; + uint16_t ch_runtime_minor; + PEDirEntry ch_metadata; + +#define CLI_FLAGS_ILONLY 0x01 +#define CLI_FLAGS_32BITREQUIRED 0x02 +#define CLI_FLAGS_TRACKDEBUGDATA 0x00010000 + uint32_t ch_flags; + + uint32_t ch_entry_point; + PEDirEntry ch_resources; + PEDirEntry ch_strong_name; + PEDirEntry ch_code_manager_table; + PEDirEntry ch_vtable_fixups; + PEDirEntry ch_export_address_table_jumps; + + /* The following are zero in the current docs */ + PEDirEntry ch_eeinfo_table; + PEDirEntry ch_helper_table; + PEDirEntry ch_dynamic_info; + PEDirEntry ch_delay_load_info; + PEDirEntry ch_module_image; + PEDirEntry ch_external_fixups; + PEDirEntry ch_ridmap; + PEDirEntry ch_debug_map; + PEDirEntry ch_ip_map; +} CLIHeader; + +/* This is not an on-disk structure */ +typedef struct { + DotNetHeader cli_header; + int cli_section_count; + SectionTable *cli_section_tables; + void **cli_sections; + CLIHeader cli_cli_header; +} CLIImageInfo; + +#endif /* __MONO_CIL_COFF_H__ */ --- mono-1.9.1+dfsg.orig/debian/detector/Makefile +++ mono-1.9.1+dfsg/debian/detector/Makefile @@ -0,0 +1,6 @@ +binfmt-detector-cli: binfmt-detector-cli.c cil-coff.h + $(CC) binfmt-detector-cli.c -o binfmt-detector-cli + strip binfmt-detector-cli + +clean: + rm -f binfmt-detector-cli