pkgsrc/devel/libtool/patches/patch-ab

578 lines
20 KiB
Text
Raw Normal View History

$NetBSD: patch-ab,v 1.37 2004/04/22 14:40:29 tv Exp $
--- configure.orig Thu Apr 22 10:23:09 2004
+++ configure
@@ -4440,10 +4440,13 @@ beos*)
The long awaited update libtool to 1.5.2. Some pkgsrc things - Fix PLISTs for packages that use -release - Include canonicalisation of a couple of paths for the benefit of qt3-* - the normal version=sunos patching - fix all library_names_spec for the standard set of symlinks The libtool things some of which had already made it into pkgsrc libtool. New in 1.5.2: 2004-01-25; CVS version 1.5.0a, Libtool team: * lt_dlrealloc is an official part of the libltdl API. * --tag, --silent and --debug options are preserved and reused when libtool calls itself for relinking etc. * `-pthread' and similar options are honoured when linking shared libraries. * -no-suppress in compile mode shows compiler output for both PIC and non-PIC object compilation. * New link mode option `-precious-files-regex' to prevent accidental removal of files you want to keep, such as test coverage data, from the temporary output directory. * Directories specified in /etc/ld.so.conf are no longer hardcoded on Linux. * Recognises the 'R' symbol type on Solaris so read-only symbols can be exported. * Bug fixes. New in 1.5: 2003-04-14; CVS version 1.4e, Libtool team: * First stable release of multi-language architecture. * libtool and libltdl support for Mac OS/X. * libltdl will now use cygwins dlopen API instead of always forcing LoadLibrary. * Support auto-import patch to binutils on cygwin for much improved dll support. * Bug fixes. New in 1.4.3: 2002-10-13; CVS version 1.4.2a, Robert Boehne: * The libltdl subdirectory now bootstraps correctly with Automake 1.5. * srcdir != builddir builds with Automake 1.5 work correctly. * Support for mips-compaq-nonstopux. * New command line argument, --preserve-dup-deps prevents removal of duplicate dependent libraries. New in 1.4d: 2002-01-07; CVS version 1.4c, Libtool team: * Help strings display correctly again. * Better error messages when library linking fails. * Better error messages from libltdl when loading fails. * Better search path management in libltdl with `lt_dlinsertsearchdir' call. * Support /lib/w32api in recent cygwin releases. * Support cross compilation to mingw. * Support for .rc files (Windows resource compiler). * Improved handling of mingw gcc. * Improved handling of $PATH with entries containing spaces. * Improved support for linking with gcc on aix4* and aix5*. * Improved support for GCC 3.0. * Initial support for QNX RTOS, UnixWare 7 and OpenUNIX 8. * Bug fixes to the OpenBSD port. * Bug fixes. New in 1.4.2: 2001-09-11; CVS version 1.4.1a, Gary V. Vaughan: * libltdl now builds on solaris again * diagnose and warn about not-quite-working combinations of gcc and ld on solaris. * Improved OpenBSD support. * Improved cygwin support. * Bugfixes. New in 1.4.1: 2001-09-03; CVS version 1.4.0a, Libtool team: * Better error messages from libltdl when loading fails. * Don't leave here-doc files behind. * Improved support for OpenBSD. * Libtool will build with autoconf-2.50 and higher. * Plug memory management bugs in libltdl. * Prefer shl_load to dlopen for better operation on HP-UX. New in 1.4b: 2001-07-09; CVS version 1.4a, Libtool team: * Now bootstraps with autoconf-2.50 and automake-1.4-p4. * Always try to build at least a static lib, even if both static and shared libs were disabled. * Full support for C++ compiler. * Support for GNU gcj compiler. * libltdl can now load all modules in a given path according to user supplied criteria with `lt_dlforeachfile' call. * Improved support for AIX ia64, djgpp, HPUX, hurd, OpenBSD, sco3.2*. * Internal mutex handling no longer has namespace clashes on NCR MP-RAS. * New pdemo and tagdemo tests. * Bug fixes.
2004-02-05 21:14:05 +01:00
lt_cv_deplibs_check_method=pass_all
;;
The long awaited update libtool to 1.5.2. Some pkgsrc things - Fix PLISTs for packages that use -release - Include canonicalisation of a couple of paths for the benefit of qt3-* - the normal version=sunos patching - fix all library_names_spec for the standard set of symlinks The libtool things some of which had already made it into pkgsrc libtool. New in 1.5.2: 2004-01-25; CVS version 1.5.0a, Libtool team: * lt_dlrealloc is an official part of the libltdl API. * --tag, --silent and --debug options are preserved and reused when libtool calls itself for relinking etc. * `-pthread' and similar options are honoured when linking shared libraries. * -no-suppress in compile mode shows compiler output for both PIC and non-PIC object compilation. * New link mode option `-precious-files-regex' to prevent accidental removal of files you want to keep, such as test coverage data, from the temporary output directory. * Directories specified in /etc/ld.so.conf are no longer hardcoded on Linux. * Recognises the 'R' symbol type on Solaris so read-only symbols can be exported. * Bug fixes. New in 1.5: 2003-04-14; CVS version 1.4e, Libtool team: * First stable release of multi-language architecture. * libtool and libltdl support for Mac OS/X. * libltdl will now use cygwins dlopen API instead of always forcing LoadLibrary. * Support auto-import patch to binutils on cygwin for much improved dll support. * Bug fixes. New in 1.4.3: 2002-10-13; CVS version 1.4.2a, Robert Boehne: * The libltdl subdirectory now bootstraps correctly with Automake 1.5. * srcdir != builddir builds with Automake 1.5 work correctly. * Support for mips-compaq-nonstopux. * New command line argument, --preserve-dup-deps prevents removal of duplicate dependent libraries. New in 1.4d: 2002-01-07; CVS version 1.4c, Libtool team: * Help strings display correctly again. * Better error messages when library linking fails. * Better error messages from libltdl when loading fails. * Better search path management in libltdl with `lt_dlinsertsearchdir' call. * Support /lib/w32api in recent cygwin releases. * Support cross compilation to mingw. * Support for .rc files (Windows resource compiler). * Improved handling of mingw gcc. * Improved handling of $PATH with entries containing spaces. * Improved support for linking with gcc on aix4* and aix5*. * Improved support for GCC 3.0. * Initial support for QNX RTOS, UnixWare 7 and OpenUNIX 8. * Bug fixes to the OpenBSD port. * Bug fixes. New in 1.4.2: 2001-09-11; CVS version 1.4.1a, Gary V. Vaughan: * libltdl now builds on solaris again * diagnose and warn about not-quite-working combinations of gcc and ld on solaris. * Improved OpenBSD support. * Improved cygwin support. * Bugfixes. New in 1.4.1: 2001-09-03; CVS version 1.4.0a, Libtool team: * Better error messages from libltdl when loading fails. * Don't leave here-doc files behind. * Improved support for OpenBSD. * Libtool will build with autoconf-2.50 and higher. * Plug memory management bugs in libltdl. * Prefer shl_load to dlopen for better operation on HP-UX. New in 1.4b: 2001-07-09; CVS version 1.4a, Libtool team: * Now bootstraps with autoconf-2.50 and automake-1.4-p4. * Always try to build at least a static lib, even if both static and shared libs were disabled. * Full support for C++ compiler. * Support for GNU gcj compiler. * libltdl can now load all modules in a given path according to user supplied criteria with `lt_dlforeachfile' call. * Improved support for AIX ia64, djgpp, HPUX, hurd, OpenBSD, sco3.2*. * Internal mutex handling no longer has namespace clashes on NCR MP-RAS. * New pdemo and tagdemo tests. * Bug fixes.
2004-02-05 21:14:05 +01:00
-bsdi4*)
- lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
- lt_cv_file_magic_cmd='/usr/bin/file -L'
- lt_cv_file_magic_test_file=/shlib/libc.so
+# Versions of BSD/OS prior to 4.0 did no have real dynamic linking
+bsdi1*|bsdi2*|bsdi3*)
+ dynamic_linker=no
+ ;;
+
The long awaited update libtool to 1.5.2. Some pkgsrc things - Fix PLISTs for packages that use -release - Include canonicalisation of a couple of paths for the benefit of qt3-* - the normal version=sunos patching - fix all library_names_spec for the standard set of symlinks The libtool things some of which had already made it into pkgsrc libtool. New in 1.5.2: 2004-01-25; CVS version 1.5.0a, Libtool team: * lt_dlrealloc is an official part of the libltdl API. * --tag, --silent and --debug options are preserved and reused when libtool calls itself for relinking etc. * `-pthread' and similar options are honoured when linking shared libraries. * -no-suppress in compile mode shows compiler output for both PIC and non-PIC object compilation. * New link mode option `-precious-files-regex' to prevent accidental removal of files you want to keep, such as test coverage data, from the temporary output directory. * Directories specified in /etc/ld.so.conf are no longer hardcoded on Linux. * Recognises the 'R' symbol type on Solaris so read-only symbols can be exported. * Bug fixes. New in 1.5: 2003-04-14; CVS version 1.4e, Libtool team: * First stable release of multi-language architecture. * libtool and libltdl support for Mac OS/X. * libltdl will now use cygwins dlopen API instead of always forcing LoadLibrary. * Support auto-import patch to binutils on cygwin for much improved dll support. * Bug fixes. New in 1.4.3: 2002-10-13; CVS version 1.4.2a, Robert Boehne: * The libltdl subdirectory now bootstraps correctly with Automake 1.5. * srcdir != builddir builds with Automake 1.5 work correctly. * Support for mips-compaq-nonstopux. * New command line argument, --preserve-dup-deps prevents removal of duplicate dependent libraries. New in 1.4d: 2002-01-07; CVS version 1.4c, Libtool team: * Help strings display correctly again. * Better error messages when library linking fails. * Better error messages from libltdl when loading fails. * Better search path management in libltdl with `lt_dlinsertsearchdir' call. * Support /lib/w32api in recent cygwin releases. * Support cross compilation to mingw. * Support for .rc files (Windows resource compiler). * Improved handling of mingw gcc. * Improved handling of $PATH with entries containing spaces. * Improved support for linking with gcc on aix4* and aix5*. * Improved support for GCC 3.0. * Initial support for QNX RTOS, UnixWare 7 and OpenUNIX 8. * Bug fixes to the OpenBSD port. * Bug fixes. New in 1.4.2: 2001-09-11; CVS version 1.4.1a, Gary V. Vaughan: * libltdl now builds on solaris again * diagnose and warn about not-quite-working combinations of gcc and ld on solaris. * Improved OpenBSD support. * Improved cygwin support. * Bugfixes. New in 1.4.1: 2001-09-03; CVS version 1.4.0a, Libtool team: * Better error messages from libltdl when loading fails. * Don't leave here-doc files behind. * Improved support for OpenBSD. * Libtool will build with autoconf-2.50 and higher. * Plug memory management bugs in libltdl. * Prefer shl_load to dlopen for better operation on HP-UX. New in 1.4b: 2001-07-09; CVS version 1.4a, Libtool team: * Now bootstraps with autoconf-2.50 and automake-1.4-p4. * Always try to build at least a static lib, even if both static and shared libs were disabled. * Full support for C++ compiler. * Support for GNU gcj compiler. * libltdl can now load all modules in a given path according to user supplied criteria with `lt_dlforeachfile' call. * Improved support for AIX ia64, djgpp, HPUX, hurd, OpenBSD, sco3.2*. * Internal mutex handling no longer has namespace clashes on NCR MP-RAS. * New pdemo and tagdemo tests. * Bug fixes.
2004-02-05 21:14:05 +01:00
+bsdi*)
+ lt_cv_deplibs_check_method=pass_all
;;
The long awaited update libtool to 1.5.2. Some pkgsrc things - Fix PLISTs for packages that use -release - Include canonicalisation of a couple of paths for the benefit of qt3-* - the normal version=sunos patching - fix all library_names_spec for the standard set of symlinks The libtool things some of which had already made it into pkgsrc libtool. New in 1.5.2: 2004-01-25; CVS version 1.5.0a, Libtool team: * lt_dlrealloc is an official part of the libltdl API. * --tag, --silent and --debug options are preserved and reused when libtool calls itself for relinking etc. * `-pthread' and similar options are honoured when linking shared libraries. * -no-suppress in compile mode shows compiler output for both PIC and non-PIC object compilation. * New link mode option `-precious-files-regex' to prevent accidental removal of files you want to keep, such as test coverage data, from the temporary output directory. * Directories specified in /etc/ld.so.conf are no longer hardcoded on Linux. * Recognises the 'R' symbol type on Solaris so read-only symbols can be exported. * Bug fixes. New in 1.5: 2003-04-14; CVS version 1.4e, Libtool team: * First stable release of multi-language architecture. * libtool and libltdl support for Mac OS/X. * libltdl will now use cygwins dlopen API instead of always forcing LoadLibrary. * Support auto-import patch to binutils on cygwin for much improved dll support. * Bug fixes. New in 1.4.3: 2002-10-13; CVS version 1.4.2a, Robert Boehne: * The libltdl subdirectory now bootstraps correctly with Automake 1.5. * srcdir != builddir builds with Automake 1.5 work correctly. * Support for mips-compaq-nonstopux. * New command line argument, --preserve-dup-deps prevents removal of duplicate dependent libraries. New in 1.4d: 2002-01-07; CVS version 1.4c, Libtool team: * Help strings display correctly again. * Better error messages when library linking fails. * Better error messages from libltdl when loading fails. * Better search path management in libltdl with `lt_dlinsertsearchdir' call. * Support /lib/w32api in recent cygwin releases. * Support cross compilation to mingw. * Support for .rc files (Windows resource compiler). * Improved handling of mingw gcc. * Improved handling of $PATH with entries containing spaces. * Improved support for linking with gcc on aix4* and aix5*. * Improved support for GCC 3.0. * Initial support for QNX RTOS, UnixWare 7 and OpenUNIX 8. * Bug fixes to the OpenBSD port. * Bug fixes. New in 1.4.2: 2001-09-11; CVS version 1.4.1a, Gary V. Vaughan: * libltdl now builds on solaris again * diagnose and warn about not-quite-working combinations of gcc and ld on solaris. * Improved OpenBSD support. * Improved cygwin support. * Bugfixes. New in 1.4.1: 2001-09-03; CVS version 1.4.0a, Libtool team: * Better error messages from libltdl when loading fails. * Don't leave here-doc files behind. * Improved support for OpenBSD. * Libtool will build with autoconf-2.50 and higher. * Plug memory management bugs in libltdl. * Prefer shl_load to dlopen for better operation on HP-UX. New in 1.4b: 2001-07-09; CVS version 1.4a, Libtool team: * Now bootstraps with autoconf-2.50 and automake-1.4-p4. * Always try to build at least a static lib, even if both static and shared libs were disabled. * Full support for C++ compiler. * Support for GNU gcj compiler. * libltdl can now load all modules in a given path according to user supplied criteria with `lt_dlforeachfile' call. * Improved support for AIX ia64, djgpp, HPUX, hurd, OpenBSD, sco3.2*. * Internal mutex handling no longer has namespace clashes on NCR MP-RAS. * New pdemo and tagdemo tests. * Bug fixes.
2004-02-05 21:14:05 +01:00
cygwin*)
@@ -4501,6 +4504,10 @@ hpux10.20* | hpux11*)
esac
;;
+interix3*)
+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
+ ;;
+
irix5* | irix6* | nonstopux*)
case $LD in
*-32|*"-32 ") libmagic=32-bit;;
@@ -6888,6 +6895,11 @@ echo $ECHO_N "checking for $compiler opt
esac
;;
+ interix3*)
+ # Interix 3.0-3.5 -fPIC option generates borked code.
+ # (Instead, shlibs are relocated at runtime.)
+ ;;
+
*)
lt_prog_compiler_pic='-fPIC'
;;
@@ -7263,6 +7275,17 @@ EOF
fi
;;
+ interix3*)
+ # Oy, what a hack.
+ # Because shlibs are not compiled -fPIC due to broken code, we must
+ # choose an --image-base. Otherwise, 0x10000000 will be chosen for
+ # all libraries, leading to runtime relocations -- slow and very
+ # memory consuming. To do this, we pick a random 256KB-aligned
+ # start address between 0x50000000 and 0x6ffc0000 at link time.
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,$(($RANDOM %4096/2*262144+1342177280)) -o $lib'
+ archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file $wl$export_symbols ${wl}--image-base,$(($RANDOM %4096/2*262144+1342177280)) -o $lib'
+ ;;
+
netbsd*)
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
@@ -7770,6 +7793,20 @@ if test -z "$aix_libpath"; then aix_libp
fi
;;
+ interix3*)
+ # Oy, what a hack.
+ # Because shlibs are not compiled -fPIC due to broken code, we must
+ # choose an --image-base. Otherwise, 0x10000000 will be chosen for
+ # all libraries, leading to runtime relocations -- slow and very
+ # memory consuming. To do this, we pick a random 256KB-aligned
+ # start address between 0x50000000 and 0x6ffc0000 at link time.
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}--image-base,$(($RANDOM %4096/2*262144+1342177280)) -o $lib'
+ export_dynamic_flag_spec='${wl}-E'
+ hardcode_direct=yes
+ hardcode_libdir_flag_spec='${wl}-h,$libdir'
+ hardcode_shlibpath_var=no
+ ;;
+
irix5* | irix6* | nonstopux*)
if test "$GCC" = yes; then
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
@@ -8158,8 +8195,9 @@ beos*)
The long awaited update libtool to 1.5.2. Some pkgsrc things - Fix PLISTs for packages that use -release - Include canonicalisation of a couple of paths for the benefit of qt3-* - the normal version=sunos patching - fix all library_names_spec for the standard set of symlinks The libtool things some of which had already made it into pkgsrc libtool. New in 1.5.2: 2004-01-25; CVS version 1.5.0a, Libtool team: * lt_dlrealloc is an official part of the libltdl API. * --tag, --silent and --debug options are preserved and reused when libtool calls itself for relinking etc. * `-pthread' and similar options are honoured when linking shared libraries. * -no-suppress in compile mode shows compiler output for both PIC and non-PIC object compilation. * New link mode option `-precious-files-regex' to prevent accidental removal of files you want to keep, such as test coverage data, from the temporary output directory. * Directories specified in /etc/ld.so.conf are no longer hardcoded on Linux. * Recognises the 'R' symbol type on Solaris so read-only symbols can be exported. * Bug fixes. New in 1.5: 2003-04-14; CVS version 1.4e, Libtool team: * First stable release of multi-language architecture. * libtool and libltdl support for Mac OS/X. * libltdl will now use cygwins dlopen API instead of always forcing LoadLibrary. * Support auto-import patch to binutils on cygwin for much improved dll support. * Bug fixes. New in 1.4.3: 2002-10-13; CVS version 1.4.2a, Robert Boehne: * The libltdl subdirectory now bootstraps correctly with Automake 1.5. * srcdir != builddir builds with Automake 1.5 work correctly. * Support for mips-compaq-nonstopux. * New command line argument, --preserve-dup-deps prevents removal of duplicate dependent libraries. New in 1.4d: 2002-01-07; CVS version 1.4c, Libtool team: * Help strings display correctly again. * Better error messages when library linking fails. * Better error messages from libltdl when loading fails. * Better search path management in libltdl with `lt_dlinsertsearchdir' call. * Support /lib/w32api in recent cygwin releases. * Support cross compilation to mingw. * Support for .rc files (Windows resource compiler). * Improved handling of mingw gcc. * Improved handling of $PATH with entries containing spaces. * Improved support for linking with gcc on aix4* and aix5*. * Improved support for GCC 3.0. * Initial support for QNX RTOS, UnixWare 7 and OpenUNIX 8. * Bug fixes to the OpenBSD port. * Bug fixes. New in 1.4.2: 2001-09-11; CVS version 1.4.1a, Gary V. Vaughan: * libltdl now builds on solaris again * diagnose and warn about not-quite-working combinations of gcc and ld on solaris. * Improved OpenBSD support. * Improved cygwin support. * Bugfixes. New in 1.4.1: 2001-09-03; CVS version 1.4.0a, Libtool team: * Better error messages from libltdl when loading fails. * Don't leave here-doc files behind. * Improved support for OpenBSD. * Libtool will build with autoconf-2.50 and higher. * Plug memory management bugs in libltdl. * Prefer shl_load to dlopen for better operation on HP-UX. New in 1.4b: 2001-07-09; CVS version 1.4a, Libtool team: * Now bootstraps with autoconf-2.50 and automake-1.4-p4. * Always try to build at least a static lib, even if both static and shared libs were disabled. * Full support for C++ compiler. * Support for GNU gcj compiler. * libltdl can now load all modules in a given path according to user supplied criteria with `lt_dlforeachfile' call. * Improved support for AIX ia64, djgpp, HPUX, hurd, OpenBSD, sco3.2*. * Internal mutex handling no longer has namespace clashes on NCR MP-RAS. * New pdemo and tagdemo tests. * Bug fixes.
2004-02-05 21:14:05 +01:00
;;
bsdi4*)
The long awaited update libtool to 1.5.2. Some pkgsrc things - Fix PLISTs for packages that use -release - Include canonicalisation of a couple of paths for the benefit of qt3-* - the normal version=sunos patching - fix all library_names_spec for the standard set of symlinks The libtool things some of which had already made it into pkgsrc libtool. New in 1.5.2: 2004-01-25; CVS version 1.5.0a, Libtool team: * lt_dlrealloc is an official part of the libltdl API. * --tag, --silent and --debug options are preserved and reused when libtool calls itself for relinking etc. * `-pthread' and similar options are honoured when linking shared libraries. * -no-suppress in compile mode shows compiler output for both PIC and non-PIC object compilation. * New link mode option `-precious-files-regex' to prevent accidental removal of files you want to keep, such as test coverage data, from the temporary output directory. * Directories specified in /etc/ld.so.conf are no longer hardcoded on Linux. * Recognises the 'R' symbol type on Solaris so read-only symbols can be exported. * Bug fixes. New in 1.5: 2003-04-14; CVS version 1.4e, Libtool team: * First stable release of multi-language architecture. * libtool and libltdl support for Mac OS/X. * libltdl will now use cygwins dlopen API instead of always forcing LoadLibrary. * Support auto-import patch to binutils on cygwin for much improved dll support. * Bug fixes. New in 1.4.3: 2002-10-13; CVS version 1.4.2a, Robert Boehne: * The libltdl subdirectory now bootstraps correctly with Automake 1.5. * srcdir != builddir builds with Automake 1.5 work correctly. * Support for mips-compaq-nonstopux. * New command line argument, --preserve-dup-deps prevents removal of duplicate dependent libraries. New in 1.4d: 2002-01-07; CVS version 1.4c, Libtool team: * Help strings display correctly again. * Better error messages when library linking fails. * Better error messages from libltdl when loading fails. * Better search path management in libltdl with `lt_dlinsertsearchdir' call. * Support /lib/w32api in recent cygwin releases. * Support cross compilation to mingw. * Support for .rc files (Windows resource compiler). * Improved handling of mingw gcc. * Improved handling of $PATH with entries containing spaces. * Improved support for linking with gcc on aix4* and aix5*. * Improved support for GCC 3.0. * Initial support for QNX RTOS, UnixWare 7 and OpenUNIX 8. * Bug fixes to the OpenBSD port. * Bug fixes. New in 1.4.2: 2001-09-11; CVS version 1.4.1a, Gary V. Vaughan: * libltdl now builds on solaris again * diagnose and warn about not-quite-working combinations of gcc and ld on solaris. * Improved OpenBSD support. * Improved cygwin support. * Bugfixes. New in 1.4.1: 2001-09-03; CVS version 1.4.0a, Libtool team: * Better error messages from libltdl when loading fails. * Don't leave here-doc files behind. * Improved support for OpenBSD. * Libtool will build with autoconf-2.50 and higher. * Plug memory management bugs in libltdl. * Prefer shl_load to dlopen for better operation on HP-UX. New in 1.4b: 2001-07-09; CVS version 1.4a, Libtool team: * Now bootstraps with autoconf-2.50 and automake-1.4-p4. * Always try to build at least a static lib, even if both static and shared libs were disabled. * Full support for C++ compiler. * Support for GNU gcj compiler. * libltdl can now load all modules in a given path according to user supplied criteria with `lt_dlforeachfile' call. * Improved support for AIX ia64, djgpp, HPUX, hurd, OpenBSD, sco3.2*. * Internal mutex handling no longer has namespace clashes on NCR MP-RAS. * New pdemo and tagdemo tests. * Bug fixes.
2004-02-05 21:14:05 +01:00
- version_type=linux
+ version_type=sunos
The long awaited update libtool to 1.5.2. Some pkgsrc things - Fix PLISTs for packages that use -release - Include canonicalisation of a couple of paths for the benefit of qt3-* - the normal version=sunos patching - fix all library_names_spec for the standard set of symlinks The libtool things some of which had already made it into pkgsrc libtool. New in 1.5.2: 2004-01-25; CVS version 1.5.0a, Libtool team: * lt_dlrealloc is an official part of the libltdl API. * --tag, --silent and --debug options are preserved and reused when libtool calls itself for relinking etc. * `-pthread' and similar options are honoured when linking shared libraries. * -no-suppress in compile mode shows compiler output for both PIC and non-PIC object compilation. * New link mode option `-precious-files-regex' to prevent accidental removal of files you want to keep, such as test coverage data, from the temporary output directory. * Directories specified in /etc/ld.so.conf are no longer hardcoded on Linux. * Recognises the 'R' symbol type on Solaris so read-only symbols can be exported. * Bug fixes. New in 1.5: 2003-04-14; CVS version 1.4e, Libtool team: * First stable release of multi-language architecture. * libtool and libltdl support for Mac OS/X. * libltdl will now use cygwins dlopen API instead of always forcing LoadLibrary. * Support auto-import patch to binutils on cygwin for much improved dll support. * Bug fixes. New in 1.4.3: 2002-10-13; CVS version 1.4.2a, Robert Boehne: * The libltdl subdirectory now bootstraps correctly with Automake 1.5. * srcdir != builddir builds with Automake 1.5 work correctly. * Support for mips-compaq-nonstopux. * New command line argument, --preserve-dup-deps prevents removal of duplicate dependent libraries. New in 1.4d: 2002-01-07; CVS version 1.4c, Libtool team: * Help strings display correctly again. * Better error messages when library linking fails. * Better error messages from libltdl when loading fails. * Better search path management in libltdl with `lt_dlinsertsearchdir' call. * Support /lib/w32api in recent cygwin releases. * Support cross compilation to mingw. * Support for .rc files (Windows resource compiler). * Improved handling of mingw gcc. * Improved handling of $PATH with entries containing spaces. * Improved support for linking with gcc on aix4* and aix5*. * Improved support for GCC 3.0. * Initial support for QNX RTOS, UnixWare 7 and OpenUNIX 8. * Bug fixes to the OpenBSD port. * Bug fixes. New in 1.4.2: 2001-09-11; CVS version 1.4.1a, Gary V. Vaughan: * libltdl now builds on solaris again * diagnose and warn about not-quite-working combinations of gcc and ld on solaris. * Improved OpenBSD support. * Improved cygwin support. * Bugfixes. New in 1.4.1: 2001-09-03; CVS version 1.4.0a, Libtool team: * Better error messages from libltdl when loading fails. * Don't leave here-doc files behind. * Improved support for OpenBSD. * Libtool will build with autoconf-2.50 and higher. * Plug memory management bugs in libltdl. * Prefer shl_load to dlopen for better operation on HP-UX. New in 1.4b: 2001-07-09; CVS version 1.4a, Libtool team: * Now bootstraps with autoconf-2.50 and automake-1.4-p4. * Always try to build at least a static lib, even if both static and shared libs were disabled. * Full support for C++ compiler. * Support for GNU gcj compiler. * libltdl can now load all modules in a given path according to user supplied criteria with `lt_dlforeachfile' call. * Improved support for AIX ia64, djgpp, HPUX, hurd, OpenBSD, sco3.2*. * Internal mutex handling no longer has namespace clashes on NCR MP-RAS. * New pdemo and tagdemo tests. * Bug fixes.
2004-02-05 21:14:05 +01:00
need_version=no
+ need_lib_prefix=no
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
soname_spec='${libname}${release}${shared_ext}$major'
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
@@ -8275,15 +8313,15 @@ kfreebsd*-gnu)
The long awaited update libtool to 1.5.2. Some pkgsrc things - Fix PLISTs for packages that use -release - Include canonicalisation of a couple of paths for the benefit of qt3-* - the normal version=sunos patching - fix all library_names_spec for the standard set of symlinks The libtool things some of which had already made it into pkgsrc libtool. New in 1.5.2: 2004-01-25; CVS version 1.5.0a, Libtool team: * lt_dlrealloc is an official part of the libltdl API. * --tag, --silent and --debug options are preserved and reused when libtool calls itself for relinking etc. * `-pthread' and similar options are honoured when linking shared libraries. * -no-suppress in compile mode shows compiler output for both PIC and non-PIC object compilation. * New link mode option `-precious-files-regex' to prevent accidental removal of files you want to keep, such as test coverage data, from the temporary output directory. * Directories specified in /etc/ld.so.conf are no longer hardcoded on Linux. * Recognises the 'R' symbol type on Solaris so read-only symbols can be exported. * Bug fixes. New in 1.5: 2003-04-14; CVS version 1.4e, Libtool team: * First stable release of multi-language architecture. * libtool and libltdl support for Mac OS/X. * libltdl will now use cygwins dlopen API instead of always forcing LoadLibrary. * Support auto-import patch to binutils on cygwin for much improved dll support. * Bug fixes. New in 1.4.3: 2002-10-13; CVS version 1.4.2a, Robert Boehne: * The libltdl subdirectory now bootstraps correctly with Automake 1.5. * srcdir != builddir builds with Automake 1.5 work correctly. * Support for mips-compaq-nonstopux. * New command line argument, --preserve-dup-deps prevents removal of duplicate dependent libraries. New in 1.4d: 2002-01-07; CVS version 1.4c, Libtool team: * Help strings display correctly again. * Better error messages when library linking fails. * Better error messages from libltdl when loading fails. * Better search path management in libltdl with `lt_dlinsertsearchdir' call. * Support /lib/w32api in recent cygwin releases. * Support cross compilation to mingw. * Support for .rc files (Windows resource compiler). * Improved handling of mingw gcc. * Improved handling of $PATH with entries containing spaces. * Improved support for linking with gcc on aix4* and aix5*. * Improved support for GCC 3.0. * Initial support for QNX RTOS, UnixWare 7 and OpenUNIX 8. * Bug fixes to the OpenBSD port. * Bug fixes. New in 1.4.2: 2001-09-11; CVS version 1.4.1a, Gary V. Vaughan: * libltdl now builds on solaris again * diagnose and warn about not-quite-working combinations of gcc and ld on solaris. * Improved OpenBSD support. * Improved cygwin support. * Bugfixes. New in 1.4.1: 2001-09-03; CVS version 1.4.0a, Libtool team: * Better error messages from libltdl when loading fails. * Don't leave here-doc files behind. * Improved support for OpenBSD. * Libtool will build with autoconf-2.50 and higher. * Plug memory management bugs in libltdl. * Prefer shl_load to dlopen for better operation on HP-UX. New in 1.4b: 2001-07-09; CVS version 1.4a, Libtool team: * Now bootstraps with autoconf-2.50 and automake-1.4-p4. * Always try to build at least a static lib, even if both static and shared libs were disabled. * Full support for C++ compiler. * Support for GNU gcj compiler. * libltdl can now load all modules in a given path according to user supplied criteria with `lt_dlforeachfile' call. * Improved support for AIX ia64, djgpp, HPUX, hurd, OpenBSD, sco3.2*. * Internal mutex handling no longer has namespace clashes on NCR MP-RAS. * New pdemo and tagdemo tests. * Bug fixes.
2004-02-05 21:14:05 +01:00
freebsd*)
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
- version_type=freebsd-$objformat
- case $version_type in
- freebsd-elf*)
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
+ version_type=sunos
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
+ case $objformat in
+ elf*)
+ soname_spec='${libname}${release}${shared_ext}$major'
need_version=no
need_lib_prefix=no
;;
- freebsd-*)
- library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
+ *)
need_version=yes
;;
esac
@@ -8359,15 +8397,22 @@ hpux9* | hpux10* | hpux11*)
postinstall_cmds='chmod 555 $lib'
;;
+interix3*)
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ dynamic_linker='Interix 3.x ld.so'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+
The long awaited update libtool to 1.5.2. Some pkgsrc things - Fix PLISTs for packages that use -release - Include canonicalisation of a couple of paths for the benefit of qt3-* - the normal version=sunos patching - fix all library_names_spec for the standard set of symlinks The libtool things some of which had already made it into pkgsrc libtool. New in 1.5.2: 2004-01-25; CVS version 1.5.0a, Libtool team: * lt_dlrealloc is an official part of the libltdl API. * --tag, --silent and --debug options are preserved and reused when libtool calls itself for relinking etc. * `-pthread' and similar options are honoured when linking shared libraries. * -no-suppress in compile mode shows compiler output for both PIC and non-PIC object compilation. * New link mode option `-precious-files-regex' to prevent accidental removal of files you want to keep, such as test coverage data, from the temporary output directory. * Directories specified in /etc/ld.so.conf are no longer hardcoded on Linux. * Recognises the 'R' symbol type on Solaris so read-only symbols can be exported. * Bug fixes. New in 1.5: 2003-04-14; CVS version 1.4e, Libtool team: * First stable release of multi-language architecture. * libtool and libltdl support for Mac OS/X. * libltdl will now use cygwins dlopen API instead of always forcing LoadLibrary. * Support auto-import patch to binutils on cygwin for much improved dll support. * Bug fixes. New in 1.4.3: 2002-10-13; CVS version 1.4.2a, Robert Boehne: * The libltdl subdirectory now bootstraps correctly with Automake 1.5. * srcdir != builddir builds with Automake 1.5 work correctly. * Support for mips-compaq-nonstopux. * New command line argument, --preserve-dup-deps prevents removal of duplicate dependent libraries. New in 1.4d: 2002-01-07; CVS version 1.4c, Libtool team: * Help strings display correctly again. * Better error messages when library linking fails. * Better error messages from libltdl when loading fails. * Better search path management in libltdl with `lt_dlinsertsearchdir' call. * Support /lib/w32api in recent cygwin releases. * Support cross compilation to mingw. * Support for .rc files (Windows resource compiler). * Improved handling of mingw gcc. * Improved handling of $PATH with entries containing spaces. * Improved support for linking with gcc on aix4* and aix5*. * Improved support for GCC 3.0. * Initial support for QNX RTOS, UnixWare 7 and OpenUNIX 8. * Bug fixes to the OpenBSD port. * Bug fixes. New in 1.4.2: 2001-09-11; CVS version 1.4.1a, Gary V. Vaughan: * libltdl now builds on solaris again * diagnose and warn about not-quite-working combinations of gcc and ld on solaris. * Improved OpenBSD support. * Improved cygwin support. * Bugfixes. New in 1.4.1: 2001-09-03; CVS version 1.4.0a, Libtool team: * Better error messages from libltdl when loading fails. * Don't leave here-doc files behind. * Improved support for OpenBSD. * Libtool will build with autoconf-2.50 and higher. * Plug memory management bugs in libltdl. * Prefer shl_load to dlopen for better operation on HP-UX. New in 1.4b: 2001-07-09; CVS version 1.4a, Libtool team: * Now bootstraps with autoconf-2.50 and automake-1.4-p4. * Always try to build at least a static lib, even if both static and shared libs were disabled. * Full support for C++ compiler. * Support for GNU gcj compiler. * libltdl can now load all modules in a given path according to user supplied criteria with `lt_dlforeachfile' call. * Improved support for AIX ia64, djgpp, HPUX, hurd, OpenBSD, sco3.2*. * Internal mutex handling no longer has namespace clashes on NCR MP-RAS. * New pdemo and tagdemo tests. * Bug fixes.
2004-02-05 21:14:05 +01:00
irix5* | irix6* | nonstopux*)
case $host_os in
nonstopux*) version_type=nonstopux ;;
- *)
- if test "$lt_cv_prog_gnu_ld" = yes; then
- version_type=linux
- else
- version_type=irix
- fi ;;
+ *) version_type=sunos ;;
esac
need_lib_prefix=no
need_version=no
@@ -8403,7 +8448,7 @@ linux*oldld* | linux*aout* | linux*coff*
The long awaited update libtool to 1.5.2. Some pkgsrc things - Fix PLISTs for packages that use -release - Include canonicalisation of a couple of paths for the benefit of qt3-* - the normal version=sunos patching - fix all library_names_spec for the standard set of symlinks The libtool things some of which had already made it into pkgsrc libtool. New in 1.5.2: 2004-01-25; CVS version 1.5.0a, Libtool team: * lt_dlrealloc is an official part of the libltdl API. * --tag, --silent and --debug options are preserved and reused when libtool calls itself for relinking etc. * `-pthread' and similar options are honoured when linking shared libraries. * -no-suppress in compile mode shows compiler output for both PIC and non-PIC object compilation. * New link mode option `-precious-files-regex' to prevent accidental removal of files you want to keep, such as test coverage data, from the temporary output directory. * Directories specified in /etc/ld.so.conf are no longer hardcoded on Linux. * Recognises the 'R' symbol type on Solaris so read-only symbols can be exported. * Bug fixes. New in 1.5: 2003-04-14; CVS version 1.4e, Libtool team: * First stable release of multi-language architecture. * libtool and libltdl support for Mac OS/X. * libltdl will now use cygwins dlopen API instead of always forcing LoadLibrary. * Support auto-import patch to binutils on cygwin for much improved dll support. * Bug fixes. New in 1.4.3: 2002-10-13; CVS version 1.4.2a, Robert Boehne: * The libltdl subdirectory now bootstraps correctly with Automake 1.5. * srcdir != builddir builds with Automake 1.5 work correctly. * Support for mips-compaq-nonstopux. * New command line argument, --preserve-dup-deps prevents removal of duplicate dependent libraries. New in 1.4d: 2002-01-07; CVS version 1.4c, Libtool team: * Help strings display correctly again. * Better error messages when library linking fails. * Better error messages from libltdl when loading fails. * Better search path management in libltdl with `lt_dlinsertsearchdir' call. * Support /lib/w32api in recent cygwin releases. * Support cross compilation to mingw. * Support for .rc files (Windows resource compiler). * Improved handling of mingw gcc. * Improved handling of $PATH with entries containing spaces. * Improved support for linking with gcc on aix4* and aix5*. * Improved support for GCC 3.0. * Initial support for QNX RTOS, UnixWare 7 and OpenUNIX 8. * Bug fixes to the OpenBSD port. * Bug fixes. New in 1.4.2: 2001-09-11; CVS version 1.4.1a, Gary V. Vaughan: * libltdl now builds on solaris again * diagnose and warn about not-quite-working combinations of gcc and ld on solaris. * Improved OpenBSD support. * Improved cygwin support. * Bugfixes. New in 1.4.1: 2001-09-03; CVS version 1.4.0a, Libtool team: * Better error messages from libltdl when loading fails. * Don't leave here-doc files behind. * Improved support for OpenBSD. * Libtool will build with autoconf-2.50 and higher. * Plug memory management bugs in libltdl. * Prefer shl_load to dlopen for better operation on HP-UX. New in 1.4b: 2001-07-09; CVS version 1.4a, Libtool team: * Now bootstraps with autoconf-2.50 and automake-1.4-p4. * Always try to build at least a static lib, even if both static and shared libs were disabled. * Full support for C++ compiler. * Support for GNU gcj compiler. * libltdl can now load all modules in a given path according to user supplied criteria with `lt_dlforeachfile' call. * Improved support for AIX ia64, djgpp, HPUX, hurd, OpenBSD, sco3.2*. * Internal mutex handling no longer has namespace clashes on NCR MP-RAS. * New pdemo and tagdemo tests. * Bug fixes.
2004-02-05 21:14:05 +01:00
# This must be Linux ELF.
linux*)
- version_type=linux
+ version_type=sunos
need_lib_prefix=no
need_version=no
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
@@ -8527,7 +8572,7 @@ sco3.2v5*)
The long awaited update libtool to 1.5.2. Some pkgsrc things - Fix PLISTs for packages that use -release - Include canonicalisation of a couple of paths for the benefit of qt3-* - the normal version=sunos patching - fix all library_names_spec for the standard set of symlinks The libtool things some of which had already made it into pkgsrc libtool. New in 1.5.2: 2004-01-25; CVS version 1.5.0a, Libtool team: * lt_dlrealloc is an official part of the libltdl API. * --tag, --silent and --debug options are preserved and reused when libtool calls itself for relinking etc. * `-pthread' and similar options are honoured when linking shared libraries. * -no-suppress in compile mode shows compiler output for both PIC and non-PIC object compilation. * New link mode option `-precious-files-regex' to prevent accidental removal of files you want to keep, such as test coverage data, from the temporary output directory. * Directories specified in /etc/ld.so.conf are no longer hardcoded on Linux. * Recognises the 'R' symbol type on Solaris so read-only symbols can be exported. * Bug fixes. New in 1.5: 2003-04-14; CVS version 1.4e, Libtool team: * First stable release of multi-language architecture. * libtool and libltdl support for Mac OS/X. * libltdl will now use cygwins dlopen API instead of always forcing LoadLibrary. * Support auto-import patch to binutils on cygwin for much improved dll support. * Bug fixes. New in 1.4.3: 2002-10-13; CVS version 1.4.2a, Robert Boehne: * The libltdl subdirectory now bootstraps correctly with Automake 1.5. * srcdir != builddir builds with Automake 1.5 work correctly. * Support for mips-compaq-nonstopux. * New command line argument, --preserve-dup-deps prevents removal of duplicate dependent libraries. New in 1.4d: 2002-01-07; CVS version 1.4c, Libtool team: * Help strings display correctly again. * Better error messages when library linking fails. * Better error messages from libltdl when loading fails. * Better search path management in libltdl with `lt_dlinsertsearchdir' call. * Support /lib/w32api in recent cygwin releases. * Support cross compilation to mingw. * Support for .rc files (Windows resource compiler). * Improved handling of mingw gcc. * Improved handling of $PATH with entries containing spaces. * Improved support for linking with gcc on aix4* and aix5*. * Improved support for GCC 3.0. * Initial support for QNX RTOS, UnixWare 7 and OpenUNIX 8. * Bug fixes to the OpenBSD port. * Bug fixes. New in 1.4.2: 2001-09-11; CVS version 1.4.1a, Gary V. Vaughan: * libltdl now builds on solaris again * diagnose and warn about not-quite-working combinations of gcc and ld on solaris. * Improved OpenBSD support. * Improved cygwin support. * Bugfixes. New in 1.4.1: 2001-09-03; CVS version 1.4.0a, Libtool team: * Better error messages from libltdl when loading fails. * Don't leave here-doc files behind. * Improved support for OpenBSD. * Libtool will build with autoconf-2.50 and higher. * Plug memory management bugs in libltdl. * Prefer shl_load to dlopen for better operation on HP-UX. New in 1.4b: 2001-07-09; CVS version 1.4a, Libtool team: * Now bootstraps with autoconf-2.50 and automake-1.4-p4. * Always try to build at least a static lib, even if both static and shared libs were disabled. * Full support for C++ compiler. * Support for GNU gcj compiler. * libltdl can now load all modules in a given path according to user supplied criteria with `lt_dlforeachfile' call. * Improved support for AIX ia64, djgpp, HPUX, hurd, OpenBSD, sco3.2*. * Internal mutex handling no longer has namespace clashes on NCR MP-RAS. * New pdemo and tagdemo tests. * Bug fixes.
2004-02-05 21:14:05 +01:00
;;
The long awaited update libtool to 1.5.2. Some pkgsrc things - Fix PLISTs for packages that use -release - Include canonicalisation of a couple of paths for the benefit of qt3-* - the normal version=sunos patching - fix all library_names_spec for the standard set of symlinks The libtool things some of which had already made it into pkgsrc libtool. New in 1.5.2: 2004-01-25; CVS version 1.5.0a, Libtool team: * lt_dlrealloc is an official part of the libltdl API. * --tag, --silent and --debug options are preserved and reused when libtool calls itself for relinking etc. * `-pthread' and similar options are honoured when linking shared libraries. * -no-suppress in compile mode shows compiler output for both PIC and non-PIC object compilation. * New link mode option `-precious-files-regex' to prevent accidental removal of files you want to keep, such as test coverage data, from the temporary output directory. * Directories specified in /etc/ld.so.conf are no longer hardcoded on Linux. * Recognises the 'R' symbol type on Solaris so read-only symbols can be exported. * Bug fixes. New in 1.5: 2003-04-14; CVS version 1.4e, Libtool team: * First stable release of multi-language architecture. * libtool and libltdl support for Mac OS/X. * libltdl will now use cygwins dlopen API instead of always forcing LoadLibrary. * Support auto-import patch to binutils on cygwin for much improved dll support. * Bug fixes. New in 1.4.3: 2002-10-13; CVS version 1.4.2a, Robert Boehne: * The libltdl subdirectory now bootstraps correctly with Automake 1.5. * srcdir != builddir builds with Automake 1.5 work correctly. * Support for mips-compaq-nonstopux. * New command line argument, --preserve-dup-deps prevents removal of duplicate dependent libraries. New in 1.4d: 2002-01-07; CVS version 1.4c, Libtool team: * Help strings display correctly again. * Better error messages when library linking fails. * Better error messages from libltdl when loading fails. * Better search path management in libltdl with `lt_dlinsertsearchdir' call. * Support /lib/w32api in recent cygwin releases. * Support cross compilation to mingw. * Support for .rc files (Windows resource compiler). * Improved handling of mingw gcc. * Improved handling of $PATH with entries containing spaces. * Improved support for linking with gcc on aix4* and aix5*. * Improved support for GCC 3.0. * Initial support for QNX RTOS, UnixWare 7 and OpenUNIX 8. * Bug fixes to the OpenBSD port. * Bug fixes. New in 1.4.2: 2001-09-11; CVS version 1.4.1a, Gary V. Vaughan: * libltdl now builds on solaris again * diagnose and warn about not-quite-working combinations of gcc and ld on solaris. * Improved OpenBSD support. * Improved cygwin support. * Bugfixes. New in 1.4.1: 2001-09-03; CVS version 1.4.0a, Libtool team: * Better error messages from libltdl when loading fails. * Don't leave here-doc files behind. * Improved support for OpenBSD. * Libtool will build with autoconf-2.50 and higher. * Plug memory management bugs in libltdl. * Prefer shl_load to dlopen for better operation on HP-UX. New in 1.4b: 2001-07-09; CVS version 1.4a, Libtool team: * Now bootstraps with autoconf-2.50 and automake-1.4-p4. * Always try to build at least a static lib, even if both static and shared libs were disabled. * Full support for C++ compiler. * Support for GNU gcj compiler. * libltdl can now load all modules in a given path according to user supplied criteria with `lt_dlforeachfile' call. * Improved support for AIX ia64, djgpp, HPUX, hurd, OpenBSD, sco3.2*. * Internal mutex handling no longer has namespace clashes on NCR MP-RAS. * New pdemo and tagdemo tests. * Bug fixes.
2004-02-05 21:14:05 +01:00
solaris*)
- version_type=linux
+ version_type=sunos
need_lib_prefix=no
need_version=no
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
@@ -10777,6 +10822,8 @@ if test -z "$aix_libpath"; then aix_libp
;;
esac
;;
+ interix3*)
+ ;;
irix5* | irix6*)
case $cc_basename in
CC)
@@ -10885,6 +10932,13 @@ if test -z "$aix_libpath"; then aix_libp
The long awaited update libtool to 1.5.2. Some pkgsrc things - Fix PLISTs for packages that use -release - Include canonicalisation of a couple of paths for the benefit of qt3-* - the normal version=sunos patching - fix all library_names_spec for the standard set of symlinks The libtool things some of which had already made it into pkgsrc libtool. New in 1.5.2: 2004-01-25; CVS version 1.5.0a, Libtool team: * lt_dlrealloc is an official part of the libltdl API. * --tag, --silent and --debug options are preserved and reused when libtool calls itself for relinking etc. * `-pthread' and similar options are honoured when linking shared libraries. * -no-suppress in compile mode shows compiler output for both PIC and non-PIC object compilation. * New link mode option `-precious-files-regex' to prevent accidental removal of files you want to keep, such as test coverage data, from the temporary output directory. * Directories specified in /etc/ld.so.conf are no longer hardcoded on Linux. * Recognises the 'R' symbol type on Solaris so read-only symbols can be exported. * Bug fixes. New in 1.5: 2003-04-14; CVS version 1.4e, Libtool team: * First stable release of multi-language architecture. * libtool and libltdl support for Mac OS/X. * libltdl will now use cygwins dlopen API instead of always forcing LoadLibrary. * Support auto-import patch to binutils on cygwin for much improved dll support. * Bug fixes. New in 1.4.3: 2002-10-13; CVS version 1.4.2a, Robert Boehne: * The libltdl subdirectory now bootstraps correctly with Automake 1.5. * srcdir != builddir builds with Automake 1.5 work correctly. * Support for mips-compaq-nonstopux. * New command line argument, --preserve-dup-deps prevents removal of duplicate dependent libraries. New in 1.4d: 2002-01-07; CVS version 1.4c, Libtool team: * Help strings display correctly again. * Better error messages when library linking fails. * Better error messages from libltdl when loading fails. * Better search path management in libltdl with `lt_dlinsertsearchdir' call. * Support /lib/w32api in recent cygwin releases. * Support cross compilation to mingw. * Support for .rc files (Windows resource compiler). * Improved handling of mingw gcc. * Improved handling of $PATH with entries containing spaces. * Improved support for linking with gcc on aix4* and aix5*. * Improved support for GCC 3.0. * Initial support for QNX RTOS, UnixWare 7 and OpenUNIX 8. * Bug fixes to the OpenBSD port. * Bug fixes. New in 1.4.2: 2001-09-11; CVS version 1.4.1a, Gary V. Vaughan: * libltdl now builds on solaris again * diagnose and warn about not-quite-working combinations of gcc and ld on solaris. * Improved OpenBSD support. * Improved cygwin support. * Bugfixes. New in 1.4.1: 2001-09-03; CVS version 1.4.0a, Libtool team: * Better error messages from libltdl when loading fails. * Don't leave here-doc files behind. * Improved support for OpenBSD. * Libtool will build with autoconf-2.50 and higher. * Plug memory management bugs in libltdl. * Prefer shl_load to dlopen for better operation on HP-UX. New in 1.4b: 2001-07-09; CVS version 1.4a, Libtool team: * Now bootstraps with autoconf-2.50 and automake-1.4-p4. * Always try to build at least a static lib, even if both static and shared libs were disabled. * Full support for C++ compiler. * Support for GNU gcj compiler. * libltdl can now load all modules in a given path according to user supplied criteria with `lt_dlforeachfile' call. * Improved support for AIX ia64, djgpp, HPUX, hurd, OpenBSD, sco3.2*. * Internal mutex handling no longer has namespace clashes on NCR MP-RAS. * New pdemo and tagdemo tests. * Bug fixes.
2004-02-05 21:14:05 +01:00
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=
+ # Determine if we need to override the c++rt0 that is
+ # picked up by analysing output_verbose_link_cmds
+ if test -f ${PREFIX}/lib/c++rt0/c++rt0.o.PIC; then
+ cpprt0_file="${PREFIX}/lib/c++rt0/c++rt0.o.PIC"
+ else
+ cpprt0_file=
+ fi
hardcode_libdir_flag_spec_CXX='-R$libdir'
hardcode_direct_CXX=yes
hardcode_shlibpath_var_CXX=no
@@ -11257,6 +11311,14 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
The long awaited update libtool to 1.5.2. Some pkgsrc things - Fix PLISTs for packages that use -release - Include canonicalisation of a couple of paths for the benefit of qt3-* - the normal version=sunos patching - fix all library_names_spec for the standard set of symlinks The libtool things some of which had already made it into pkgsrc libtool. New in 1.5.2: 2004-01-25; CVS version 1.5.0a, Libtool team: * lt_dlrealloc is an official part of the libltdl API. * --tag, --silent and --debug options are preserved and reused when libtool calls itself for relinking etc. * `-pthread' and similar options are honoured when linking shared libraries. * -no-suppress in compile mode shows compiler output for both PIC and non-PIC object compilation. * New link mode option `-precious-files-regex' to prevent accidental removal of files you want to keep, such as test coverage data, from the temporary output directory. * Directories specified in /etc/ld.so.conf are no longer hardcoded on Linux. * Recognises the 'R' symbol type on Solaris so read-only symbols can be exported. * Bug fixes. New in 1.5: 2003-04-14; CVS version 1.4e, Libtool team: * First stable release of multi-language architecture. * libtool and libltdl support for Mac OS/X. * libltdl will now use cygwins dlopen API instead of always forcing LoadLibrary. * Support auto-import patch to binutils on cygwin for much improved dll support. * Bug fixes. New in 1.4.3: 2002-10-13; CVS version 1.4.2a, Robert Boehne: * The libltdl subdirectory now bootstraps correctly with Automake 1.5. * srcdir != builddir builds with Automake 1.5 work correctly. * Support for mips-compaq-nonstopux. * New command line argument, --preserve-dup-deps prevents removal of duplicate dependent libraries. New in 1.4d: 2002-01-07; CVS version 1.4c, Libtool team: * Help strings display correctly again. * Better error messages when library linking fails. * Better error messages from libltdl when loading fails. * Better search path management in libltdl with `lt_dlinsertsearchdir' call. * Support /lib/w32api in recent cygwin releases. * Support cross compilation to mingw. * Support for .rc files (Windows resource compiler). * Improved handling of mingw gcc. * Improved handling of $PATH with entries containing spaces. * Improved support for linking with gcc on aix4* and aix5*. * Improved support for GCC 3.0. * Initial support for QNX RTOS, UnixWare 7 and OpenUNIX 8. * Bug fixes to the OpenBSD port. * Bug fixes. New in 1.4.2: 2001-09-11; CVS version 1.4.1a, Gary V. Vaughan: * libltdl now builds on solaris again * diagnose and warn about not-quite-working combinations of gcc and ld on solaris. * Improved OpenBSD support. * Improved cygwin support. * Bugfixes. New in 1.4.1: 2001-09-03; CVS version 1.4.0a, Libtool team: * Better error messages from libltdl when loading fails. * Don't leave here-doc files behind. * Improved support for OpenBSD. * Libtool will build with autoconf-2.50 and higher. * Plug memory management bugs in libltdl. * Prefer shl_load to dlopen for better operation on HP-UX. New in 1.4b: 2001-07-09; CVS version 1.4a, Libtool team: * Now bootstraps with autoconf-2.50 and automake-1.4-p4. * Always try to build at least a static lib, even if both static and shared libs were disabled. * Full support for C++ compiler. * Support for GNU gcj compiler. * libltdl can now load all modules in a given path according to user supplied criteria with `lt_dlforeachfile' call. * Improved support for AIX ia64, djgpp, HPUX, hurd, OpenBSD, sco3.2*. * Internal mutex handling no longer has namespace clashes on NCR MP-RAS. * New pdemo and tagdemo tests. * Bug fixes.
2004-02-05 21:14:05 +01:00
esac
done
The long awaited update libtool to 1.5.2. Some pkgsrc things - Fix PLISTs for packages that use -release - Include canonicalisation of a couple of paths for the benefit of qt3-* - the normal version=sunos patching - fix all library_names_spec for the standard set of symlinks The libtool things some of which had already made it into pkgsrc libtool. New in 1.5.2: 2004-01-25; CVS version 1.5.0a, Libtool team: * lt_dlrealloc is an official part of the libltdl API. * --tag, --silent and --debug options are preserved and reused when libtool calls itself for relinking etc. * `-pthread' and similar options are honoured when linking shared libraries. * -no-suppress in compile mode shows compiler output for both PIC and non-PIC object compilation. * New link mode option `-precious-files-regex' to prevent accidental removal of files you want to keep, such as test coverage data, from the temporary output directory. * Directories specified in /etc/ld.so.conf are no longer hardcoded on Linux. * Recognises the 'R' symbol type on Solaris so read-only symbols can be exported. * Bug fixes. New in 1.5: 2003-04-14; CVS version 1.4e, Libtool team: * First stable release of multi-language architecture. * libtool and libltdl support for Mac OS/X. * libltdl will now use cygwins dlopen API instead of always forcing LoadLibrary. * Support auto-import patch to binutils on cygwin for much improved dll support. * Bug fixes. New in 1.4.3: 2002-10-13; CVS version 1.4.2a, Robert Boehne: * The libltdl subdirectory now bootstraps correctly with Automake 1.5. * srcdir != builddir builds with Automake 1.5 work correctly. * Support for mips-compaq-nonstopux. * New command line argument, --preserve-dup-deps prevents removal of duplicate dependent libraries. New in 1.4d: 2002-01-07; CVS version 1.4c, Libtool team: * Help strings display correctly again. * Better error messages when library linking fails. * Better error messages from libltdl when loading fails. * Better search path management in libltdl with `lt_dlinsertsearchdir' call. * Support /lib/w32api in recent cygwin releases. * Support cross compilation to mingw. * Support for .rc files (Windows resource compiler). * Improved handling of mingw gcc. * Improved handling of $PATH with entries containing spaces. * Improved support for linking with gcc on aix4* and aix5*. * Improved support for GCC 3.0. * Initial support for QNX RTOS, UnixWare 7 and OpenUNIX 8. * Bug fixes to the OpenBSD port. * Bug fixes. New in 1.4.2: 2001-09-11; CVS version 1.4.1a, Gary V. Vaughan: * libltdl now builds on solaris again * diagnose and warn about not-quite-working combinations of gcc and ld on solaris. * Improved OpenBSD support. * Improved cygwin support. * Bugfixes. New in 1.4.1: 2001-09-03; CVS version 1.4.0a, Libtool team: * Better error messages from libltdl when loading fails. * Don't leave here-doc files behind. * Improved support for OpenBSD. * Libtool will build with autoconf-2.50 and higher. * Plug memory management bugs in libltdl. * Prefer shl_load to dlopen for better operation on HP-UX. New in 1.4b: 2001-07-09; CVS version 1.4a, Libtool team: * Now bootstraps with autoconf-2.50 and automake-1.4-p4. * Always try to build at least a static lib, even if both static and shared libs were disabled. * Full support for C++ compiler. * Support for GNU gcj compiler. * libltdl can now load all modules in a given path according to user supplied criteria with `lt_dlforeachfile' call. * Improved support for AIX ia64, djgpp, HPUX, hurd, OpenBSD, sco3.2*. * Internal mutex handling no longer has namespace clashes on NCR MP-RAS. * New pdemo and tagdemo tests. * Bug fixes.
2004-02-05 21:14:05 +01:00
+ case "$host_os" in
+ netbsd*)
+ if test -n "$cpprt0_file"; then
+ predep_objects_CXX=`eval echo $predep_objects_CXX | sed -e 's:/usr/lib/c++rt0.o:$cpprt0_file:'`
+ fi
+ ;;
+ esac
+
# Clean up.
rm -f a.out a.exe
else
@@ -11304,9 +11366,11 @@ echo $ECHO_N "checking for $compiler opt
lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
;;
darwin* | rhapsody*)
- # PIC is the default on this platform
+ # PIC is the default on this platform, and static linking of
+ # binaries generally doesn't work
# Common symbols not allowed in MH_DYLIB files
lt_prog_compiler_pic_CXX='-fno-common'
+ lt_prog_compiler_static_CXX=''
;;
*djgpp*)
# DJGPP does not support shared libraries at all
@@ -11328,6 +11392,10 @@ echo $ECHO_N "checking for $compiler opt
;;
esac
;;
+ interix3*)
+ # Interix 3.0-3.5 -fPIC option generates borked code.
+ # (Instead, shlibs are relocated at runtime.)
+ ;;
*)
lt_prog_compiler_pic_CXX='-fPIC'
;;
@@ -11392,6 +11460,8 @@ echo $ECHO_N "checking for $compiler opt
;;
esac
;;
+ interix3*)
+ ;;
irix5* | irix6* | nonstopux*)
case $cc_basename in
CC)
@@ -11860,8 +11930,9 @@ beos*)
;;
bsdi4*)
- version_type=linux
+ version_type=sunos
need_version=no
+ need_lib_prefix=no
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
soname_spec='${libname}${release}${shared_ext}$major'
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
@@ -11977,15 +12048,15 @@ kfreebsd*-gnu)
freebsd*)
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
- version_type=freebsd-$objformat
- case $version_type in
- freebsd-elf*)
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
+ version_type=sunos
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
+ case $objformat in
+ elf*)
+ soname_spec='${libname}${release}${shared_ext}$major'
need_version=no
need_lib_prefix=no
;;
- freebsd-*)
- library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
+ *)
need_version=yes
;;
esac
@@ -12061,15 +12132,22 @@ hpux9* | hpux10* | hpux11*)
postinstall_cmds='chmod 555 $lib'
;;
+interix3*)
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ dynamic_linker='Interix 3.x ld.so'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+
irix5* | irix6* | nonstopux*)
case $host_os in
nonstopux*) version_type=nonstopux ;;
- *)
- if test "$lt_cv_prog_gnu_ld" = yes; then
- version_type=linux
- else
- version_type=irix
- fi ;;
+ *) version_type=sunos ;;
esac
need_lib_prefix=no
need_version=no
@@ -12105,7 +12183,7 @@ linux*oldld* | linux*aout* | linux*coff*
# This must be Linux ELF.
linux*)
- version_type=linux
+ version_type=sunos
need_lib_prefix=no
need_version=no
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
@@ -12229,7 +12307,7 @@ sco3.2v5*)
;;
solaris*)
- version_type=linux
+ version_type=sunos
need_lib_prefix=no
need_version=no
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
@@ -13759,6 +13837,11 @@ echo $ECHO_N "checking for $compiler opt
esac
;;
+ interix3*)
+ # Interix 3.0-3.5 -fPIC option generates borked code.
+ # (Instead, shlibs are relocated at runtime.)
+ ;;
+
*)
lt_prog_compiler_pic_F77='-fPIC'
;;
@@ -14134,6 +14217,17 @@ EOF
fi
;;
+ interix3*)
+ # Oy, what a hack.
+ # Because shlibs are not compiled -fPIC due to broken code, we must
+ # choose an --image-base. Otherwise, 0x10000000 will be chosen for
+ # all libraries, leading to runtime relocations -- slow and very
+ # memory consuming. To do this, we pick a random 256KB-aligned
+ # start address between 0x50000000 and 0x6ffc0000 at link time.
+ archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,$(($RANDOM %4096/2*262144+1342177280)) -o $lib'
+ archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file $wl$export_symbols ${wl}--image-base,$(($RANDOM %4096/2*262144+1342177280)) -o $lib'
+ ;;
+
netbsd*)
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
@@ -14621,6 +14715,20 @@ if test -z "$aix_libpath"; then aix_libp
fi
;;
+ interix3*)
+ # Oy, what a hack.
+ # Because shlibs are not compiled -fPIC due to broken code, we must
+ # choose an --image-base. Otherwise, 0x10000000 will be chosen for
+ # all libraries, leading to runtime relocations -- slow and very
+ # memory consuming. To do this, we pick a random 256KB-aligned
+ # start address between 0x50000000 and 0x6ffc0000 at link time.
+ archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}--image-base,$(($RANDOM %4096/2*262144+1342177280)) -o $lib'
+ export_dynamic_flag_spec_F77='${wl}-E'
+ hardcode_direct_F77=yes
+ hardcode_libdir_flag_spec_F77='${wl}-h,$libdir'
+ hardcode_shlibpath_var_F77=no
+ ;;
+
irix5* | irix6* | nonstopux*)
if test "$GCC" = yes; then
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
@@ -15009,8 +15117,9 @@ beos*)
;;
bsdi4*)
- version_type=linux
+ version_type=sunos
need_version=no
+ need_lib_prefix=no
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
soname_spec='${libname}${release}${shared_ext}$major'
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
@@ -15126,15 +15235,15 @@ kfreebsd*-gnu)
freebsd*)
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
- version_type=freebsd-$objformat
- case $version_type in
- freebsd-elf*)
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
+ version_type=sunos
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
+ case $objformat in
+ elf*)
+ soname_spec='${libname}${release}${shared_ext}$major'
need_version=no
need_lib_prefix=no
;;
- freebsd-*)
- library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
+ *)
need_version=yes
;;
esac
@@ -15210,15 +15319,22 @@ hpux9* | hpux10* | hpux11*)
postinstall_cmds='chmod 555 $lib'
;;
+interix3*)
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ dynamic_linker='Interix 3.x ld.so'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+
irix5* | irix6* | nonstopux*)
case $host_os in
nonstopux*) version_type=nonstopux ;;
- *)
- if test "$lt_cv_prog_gnu_ld" = yes; then
- version_type=linux
- else
- version_type=irix
- fi ;;
+ *) version_type=sunos ;;
esac
need_lib_prefix=no
need_version=no
@@ -15254,7 +15370,7 @@ linux*oldld* | linux*aout* | linux*coff*
# This must be Linux ELF.
linux*)
- version_type=linux
+ version_type=sunos
need_lib_prefix=no
need_version=no
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
@@ -15378,7 +15494,7 @@ sco3.2v5*)
;;
solaris*)
- version_type=linux
+ version_type=sunos
need_lib_prefix=no
need_version=no
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
@@ -16090,6 +16206,11 @@ echo $ECHO_N "checking for $compiler opt
esac
;;
+ interix3*)
+ # Interix 3.0-3.5 -fPIC option generates borked code.
+ # (Instead, shlibs are relocated at runtime.)
+ ;;
+
*)
lt_prog_compiler_pic_GCJ='-fPIC'
;;
@@ -16465,6 +16586,17 @@ EOF
fi
;;
+ interix3*)
+ # Oy, what a hack.
+ # Because shlibs are not compiled -fPIC due to broken code, we must
+ # choose an --image-base. Otherwise, 0x10000000 will be chosen for
+ # all libraries, leading to runtime relocations -- slow and very
+ # memory consuming. To do this, we pick a random 256KB-aligned
+ # start address between 0x50000000 and 0x6ffc0000 at link time.
+ archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,$(($RANDOM %4096/2*262144+1342177280)) -o $lib'
+ archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file $wl$export_symbols ${wl}--image-base,$(($RANDOM %4096/2*262144+1342177280)) -o $lib'
+ ;;
+
netbsd*)
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
@@ -16972,6 +17104,20 @@ if test -z "$aix_libpath"; then aix_libp
fi
;;
+ interix3*)
+ # Oy, what a hack.
+ # Because shlibs are not compiled -fPIC due to broken code, we must
+ # choose an --image-base. Otherwise, 0x10000000 will be chosen for
+ # all libraries, leading to runtime relocations -- slow and very
+ # memory consuming. To do this, we pick a random 256KB-aligned
+ # start address between 0x50000000 and 0x6ffc0000 at link time.
+ archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}--image-base,$(($RANDOM %4096/2*262144+1342177280)) -o $lib'
+ export_dynamic_flag_spec_GCJ='${wl}-E'
+ hardcode_direct_GCJ=yes
+ hardcode_libdir_flag_spec_GCJ='${wl}-h,$libdir'
+ hardcode_shlibpath_var_GCJ=no
+ ;;
+
irix5* | irix6* | nonstopux*)
if test "$GCC" = yes; then
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
@@ -17360,8 +17506,9 @@ beos*)
;;
bsdi4*)
- version_type=linux
+ version_type=sunos
need_version=no
+ need_lib_prefix=no
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
soname_spec='${libname}${release}${shared_ext}$major'
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
@@ -17477,15 +17624,15 @@ kfreebsd*-gnu)
freebsd*)
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
- version_type=freebsd-$objformat
- case $version_type in
- freebsd-elf*)
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
+ version_type=sunos
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
+ case $objformat in
+ elf*)
+ soname_spec='${libname}${release}${shared_ext}$major'
need_version=no
need_lib_prefix=no
;;
- freebsd-*)
- library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
+ *)
need_version=yes
;;
esac
@@ -17561,15 +17708,22 @@ hpux9* | hpux10* | hpux11*)
postinstall_cmds='chmod 555 $lib'
;;
+interix3*)
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ dynamic_linker='Interix 3.x ld.so'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+
irix5* | irix6* | nonstopux*)
case $host_os in
nonstopux*) version_type=nonstopux ;;
- *)
- if test "$lt_cv_prog_gnu_ld" = yes; then
- version_type=linux
- else
- version_type=irix
- fi ;;
+ *) version_type=sunos ;;
esac
need_lib_prefix=no
need_version=no
@@ -17605,7 +17759,7 @@ linux*oldld* | linux*aout* | linux*coff*
# This must be Linux ELF.
linux*)
- version_type=linux
+ version_type=sunos
need_lib_prefix=no
need_version=no
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
@@ -17729,7 +17883,7 @@ sco3.2v5*)
;;
solaris*)
- version_type=linux
+ version_type=sunos
need_lib_prefix=no
need_version=no
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'