2005-05-18 13:57:01 +02:00
|
|
|
$NetBSD: patch-ab,v 1.51 2005/05/18 11:57:12 adam Exp $
|
2000-06-01 11:36:45 +02:00
|
|
|
|
2005-05-18 13:57:01 +02:00
|
|
|
--- configure.orig Mon May 16 11:33:42 2005
|
2004-04-20 20:29:34 +02:00
|
|
|
+++ configure
|
2004-10-08 19:37:50 +02:00
|
|
|
@@ -322,11 +322,11 @@ else
|
|
|
|
|
|
|
|
if test "X$echo" = Xecho; then
|
|
|
|
# We didn't find a better echo, so look for alternatives.
|
|
|
|
- if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
|
|
|
|
+ if test "X`(print -r - '\t') 2>/dev/null`" = 'X\t' &&
|
|
|
|
echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
|
|
|
|
test "X$echo_testing_string" = "X$echo_test_string"; then
|
|
|
|
# This shell has a builtin print -r that does the trick.
|
|
|
|
- echo='print -r'
|
|
|
|
+ echo='print -r -'
|
|
|
|
elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
|
|
|
|
test "X$CONFIG_SHELL" != X/bin/ksh; then
|
|
|
|
# If we have ksh, try running configure again with it.
|
2005-05-18 13:57:01 +02:00
|
|
|
@@ -4522,6 +4522,10 @@ hpux10.20* | hpux11*)
|
2004-04-20 20:29:34 +02:00
|
|
|
esac
|
|
|
|
;;
|
|
|
|
|
2004-04-21 16:55:32 +02:00
|
|
|
+interix3*)
|
2004-10-12 06:41:39 +02:00
|
|
|
+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
|
2004-04-20 20:29:34 +02:00
|
|
|
+ ;;
|
|
|
|
+
|
|
|
|
irix5* | irix6* | nonstopux*)
|
|
|
|
case $LD in
|
|
|
|
*-32|*"-32 ") libmagic=32-bit;;
|
2005-05-18 13:57:01 +02:00
|
|
|
@@ -5674,12 +5678,7 @@ fi
|
2004-10-04 21:48:09 +02:00
|
|
|
|
|
|
|
done
|
|
|
|
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
|
|
|
|
- ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
|
|
|
|
- (test "X$CXX" != "Xg++"))) ; then
|
|
|
|
- ac_ext=cc
|
|
|
|
+ac_ext=cc
|
|
|
|
ac_cpp='$CXXCPP $CPPFLAGS'
|
|
|
|
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
|
|
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
2005-05-18 13:57:01 +02:00
|
|
|
@@ -5909,8 +5908,6 @@ ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS
|
2004-10-04 21:48:09 +02:00
|
|
|
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
|
|
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
|
|
|
|
|
|
-fi
|
|
|
|
-
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-05-18 13:57:01 +02:00
|
|
|
@@ -6936,9 +6933,11 @@ echo $ECHO_N "checking for $compiler opt
|
2004-04-23 03:17:25 +02:00
|
|
|
;;
|
|
|
|
|
|
|
|
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='-fno-common'
|
|
|
|
+ lt_prog_compiler_static=''
|
|
|
|
;;
|
|
|
|
|
|
|
|
msdosdjgpp*)
|
2005-05-18 13:57:01 +02:00
|
|
|
@@ -6967,6 +6966,11 @@ echo $ECHO_N "checking for $compiler opt
|
2004-04-21 16:55:32 +02:00
|
|
|
esac
|
|
|
|
;;
|
|
|
|
|
|
|
|
+ interix3*)
|
|
|
|
+ # Interix 3.0-3.5 -fPIC option generates borked code.
|
|
|
|
+ # (Instead, shlibs are relocated at runtime.)
|
|
|
|
+ ;;
|
|
|
|
+
|
|
|
|
*)
|
|
|
|
lt_prog_compiler_pic='-fPIC'
|
|
|
|
;;
|
2005-05-18 13:57:01 +02:00
|
|
|
@@ -7435,6 +7439,17 @@ EOF
|
2004-04-20 20:29:34 +02:00
|
|
|
fi
|
2004-03-12 01:11:17 +01:00
|
|
|
;;
|
|
|
|
|
2004-04-21 16:55:32 +02:00
|
|
|
+ interix3*)
|
2004-04-21 21:24:49 +02:00
|
|
|
+ # 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'
|
2004-10-11 19:19:53 +02:00
|
|
|
+ archive_expsym_cmds='sed s,^,_, $export_symbols >$output_objdir/$soname.exp && $CC -shared $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file $wl$output_objdir/$soname.exp ${wl}--image-base,$(($RANDOM %4096/2*262144+1342177280)) -o $lib'
|
2004-04-20 20:29:34 +02:00
|
|
|
+ ;;
|
|
|
|
+
|
|
|
|
netbsd*)
|
|
|
|
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
|
|
|
|
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
|
2005-05-18 13:57:01 +02:00
|
|
|
@@ -7798,7 +7813,7 @@ if test -z "$aix_libpath"; then aix_libp
|
2004-12-18 18:42:24 +01:00
|
|
|
archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
|
|
|
|
module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
|
|
|
|
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
|
|
|
|
- archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
|
|
|
|
+ archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $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}'
|
|
|
|
;;
|
|
|
|
*)
|
2005-05-18 13:57:01 +02:00
|
|
|
@@ -7913,6 +7928,21 @@ if test -z "$aix_libpath"; then aix_libp
|
2004-04-20 20:29:34 +02:00
|
|
|
fi
|
2004-03-12 01:11:17 +01:00
|
|
|
;;
|
|
|
|
|
2004-04-21 16:55:32 +02:00
|
|
|
+ interix3*)
|
2004-04-21 21:24:49 +02:00
|
|
|
+ # 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'
|
2004-10-12 06:41:39 +02:00
|
|
|
+ archive_expsym_cmds='sed s,^,_, $export_symbols >$output_objdir/$soname.exp && $CC -shared $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file $wl$output_objdir/$soname ${wl}--image-base,$(($RANDOM %4096/2*262144+1342177280)) -o $lib'
|
2004-04-21 21:24:49 +02:00
|
|
|
+ export_dynamic_flag_spec='${wl}-E'
|
2004-04-20 20:29:34 +02:00
|
|
|
+ hardcode_direct=yes
|
|
|
|
+ hardcode_libdir_flag_spec='${wl}-h,$libdir'
|
2004-04-21 21:24:49 +02:00
|
|
|
+ hardcode_shlibpath_var=no
|
2004-04-20 20:29:34 +02:00
|
|
|
+ ;;
|
|
|
|
+
|
|
|
|
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'
|
2005-05-18 13:57:01 +02:00
|
|
|
@@ -8316,6 +8346,7 @@ beos*)
|
2004-10-03 02:12:51 +02:00
|
|
|
bsdi[45]*)
|
|
|
|
version_type=linux
|
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'
|
2005-05-18 13:57:01 +02:00
|
|
|
@@ -8433,15 +8464,16 @@ freebsd* | dragonfly*)
|
2005-03-22 16:12:07 +01:00
|
|
|
# DragonFly does not have aout. When/if they implement a new
|
|
|
|
# versioning mechanism, adjust this.
|
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
|
|
|
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}'
|
2005-03-22 16:12:07 +01:00
|
|
|
+ version_type=linux
|
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 $objformat in
|
|
|
|
+ elf*)
|
2004-10-03 02:12:51 +02:00
|
|
|
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
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
|
|
|
+ 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'
|
|
|
|
+ *)
|
2004-10-03 02:12:51 +02:00
|
|
|
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix2'
|
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=yes
|
|
|
|
;;
|
|
|
|
esac
|
2005-05-18 13:57:01 +02:00
|
|
|
@@ -8517,15 +8549,22 @@ hpux9* | hpux10* | hpux11*)
|
2004-04-20 20:29:34 +02:00
|
|
|
postinstall_cmds='chmod 555 $lib'
|
|
|
|
;;
|
|
|
|
|
2004-04-21 16:55:32 +02:00
|
|
|
+interix3*)
|
2004-10-03 02:12:51 +02:00
|
|
|
+ version_type=linux
|
2004-04-20 20:29:34 +02:00
|
|
|
+ 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'
|
2004-04-21 16:55:32 +02:00
|
|
|
+ dynamic_linker='Interix 3.x ld.so'
|
2004-04-20 20:29:34 +02:00
|
|
|
+ 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 ;;
|
2004-10-03 02:12:51 +02:00
|
|
|
+ *) version_type=irix ;;
|
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
|
|
|
|
need_lib_prefix=no
|
|
|
|
need_version=no
|
2005-05-18 13:57:01 +02:00
|
|
|
@@ -8602,11 +8641,11 @@ knetbsd*-gnu)
|
2004-10-03 02:12:51 +02:00
|
|
|
;;
|
2002-03-01 16:40:43 +01:00
|
|
|
|
2004-10-03 02:12:51 +02:00
|
|
|
netbsd*)
|
|
|
|
- version_type=sunos
|
|
|
|
+ version_type=linux
|
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_lib_prefix=no
|
|
|
|
need_version=no
|
2004-10-03 02:12:51 +02:00
|
|
|
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
|
|
|
|
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
|
|
|
|
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix2'
|
|
|
|
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
|
|
dynamic_linker='NetBSD (a.out) ld.so'
|
|
|
|
else
|
2005-05-18 13:57:01 +02:00
|
|
|
@@ -8637,14 +8676,14 @@ nto-qnx*)
|
2004-10-03 02:12:51 +02:00
|
|
|
;;
|
|
|
|
|
|
|
|
openbsd*)
|
|
|
|
- version_type=sunos
|
|
|
|
+ version_type=linux
|
2004-05-25 17:17:07 +02:00
|
|
|
need_lib_prefix=no
|
2005-05-18 13:57:01 +02:00
|
|
|
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
|
|
|
|
case $host_os in
|
|
|
|
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
|
|
|
|
*) need_version=no ;;
|
|
|
|
esac
|
2004-05-25 17:17:07 +02:00
|
|
|
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
|
2004-10-03 02:12:51 +02:00
|
|
|
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix2'
|
2004-05-25 17:17:07 +02:00
|
|
|
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
|
|
shlibpath_var=LD_LIBRARY_PATH
|
|
|
|
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
2005-05-18 13:57:01 +02:00
|
|
|
@@ -10203,9 +10242,7 @@ echo "$as_me: error: tag name \"$tagname
|
2004-10-04 21:48:09 +02:00
|
|
|
|
|
|
|
case $tagname in
|
|
|
|
CXX)
|
|
|
|
- if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
|
|
|
|
- ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
|
|
|
|
- (test "X$CXX" != "Xg++"))) ; then
|
2005-03-22 16:12:07 +01:00
|
|
|
+ if test -n "$CXX" && test "X$CXX" != "Xno"; then
|
2004-10-04 21:48:09 +02:00
|
|
|
ac_ext=cc
|
|
|
|
ac_cpp='$CXXCPP $CPPFLAGS'
|
|
|
|
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
2005-05-18 13:57:01 +02:00
|
|
|
@@ -10781,7 +10818,7 @@ if test -z "$aix_libpath"; then aix_libp
|
2004-12-18 18:42:24 +01:00
|
|
|
archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
|
|
|
|
module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
|
|
|
|
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
|
|
|
|
- archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
|
|
|
|
+ archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
|
|
|
|
module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
|
|
|
|
;;
|
|
|
|
*)
|
2005-05-18 13:57:01 +02:00
|
|
|
@@ -10939,6 +10976,16 @@ if test -z "$aix_libpath"; then aix_libp
|
2004-04-20 20:29:34 +02:00
|
|
|
;;
|
|
|
|
esac
|
|
|
|
;;
|
2004-04-21 16:55:32 +02:00
|
|
|
+ interix3*)
|
2004-10-12 06:41:39 +02:00
|
|
|
+ # 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_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}--image-base,$(($RANDOM %4096/2*262144+1342177280)) -o $lib'
|
|
|
|
+ archive_expsym_cmds_CXX='sed s,^,_, $export_symbols >$output_objdir/$soname.exp && $CC -shared $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file $wl$output_objdir/$soname ${wl}--image-base,$(($RANDOM %4096/2*262144+1342177280)) -o $lib'
|
2004-04-20 20:29:34 +02:00
|
|
|
+ ;;
|
|
|
|
irix5* | irix6*)
|
|
|
|
case $cc_basename in
|
2005-05-18 13:57:01 +02:00
|
|
|
CC*)
|
|
|
|
@@ -11069,14 +11116,29 @@ if test -z "$aix_libpath"; then aix_libp
|
2004-11-11 23:29:03 +01:00
|
|
|
;;
|
|
|
|
netbsd*)
|
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
|
2004-11-11 23:29:03 +01:00
|
|
|
+ # a.out is quite broken and goes directly to ld
|
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
|
|
|
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
|
2004-11-11 23:29:03 +01:00
|
|
|
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
|
|
|
|
+ elif $CC -dumpspecs | grep -- '-lgcc -lc -lgcc' >/dev/null; then
|
|
|
|
+ # Workaround some broken pre-1.5 ELF toolchains
|
|
|
|
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
|
|
|
|
+ else
|
|
|
|
+ # Modern ELF works sanely as-is
|
|
|
|
+ archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
|
|
+ archive_expsym_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
|
|
|
+ output_verbose_link_cmd='echo'
|
|
|
|
fi
|
|
|
|
- # Workaround some broken pre-1.5 toolchains
|
|
|
|
- output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
|
|
|
|
;;
|
|
|
|
openbsd2*)
|
|
|
|
# C++ shared libraries are fairly broken
|
2005-05-18 13:57:01 +02:00
|
|
|
@@ -11463,6 +11525,21 @@ 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
|
2001-06-20 10:10:49 +02: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
|
|
|
+ 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
|
|
|
|
+ ;;
|
2004-10-12 06:41:39 +02:00
|
|
|
+ interix3*)
|
|
|
|
+ # Interix installs completely hosed .la files for C++, so rather than
|
|
|
|
+ # hack all around it, let's just trust "g++" to DTRT.
|
|
|
|
+ predep_objects_CXX=
|
|
|
|
+ postdep_objects_CXX=
|
|
|
|
+ postdeps_CXX=
|
|
|
|
+ ;;
|
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
|
|
|
|
+
|
|
|
|
# Clean up.
|
|
|
|
rm -f a.out a.exe
|
|
|
|
else
|
2005-05-18 13:57:01 +02:00
|
|
|
@@ -11510,9 +11587,11 @@ echo $ECHO_N "checking for $compiler opt
|
2004-03-12 01:11:17 +01:00
|
|
|
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
|
2004-04-20 20:29:34 +02:00
|
|
|
lt_prog_compiler_pic_CXX='-fno-common'
|
|
|
|
+ lt_prog_compiler_static_CXX=''
|
2004-03-12 01:11:17 +01:00
|
|
|
;;
|
|
|
|
*djgpp*)
|
|
|
|
# DJGPP does not support shared libraries at all
|
2005-05-18 13:57:01 +02:00
|
|
|
@@ -11534,6 +11613,10 @@ echo $ECHO_N "checking for $compiler opt
|
2004-04-21 16:55:32 +02:00
|
|
|
;;
|
|
|
|
esac
|
|
|
|
;;
|
|
|
|
+ interix3*)
|
|
|
|
+ # Interix 3.0-3.5 -fPIC option generates borked code.
|
|
|
|
+ # (Instead, shlibs are relocated at runtime.)
|
|
|
|
+ ;;
|
|
|
|
*)
|
|
|
|
lt_prog_compiler_pic_CXX='-fPIC'
|
|
|
|
;;
|
2005-05-18 13:57:01 +02:00
|
|
|
@@ -11608,6 +11691,8 @@ echo $ECHO_N "checking for $compiler opt
|
2004-04-20 20:29:34 +02:00
|
|
|
;;
|
|
|
|
esac
|
|
|
|
;;
|
2004-04-21 16:55:32 +02:00
|
|
|
+ interix3*)
|
2004-04-20 20:29:34 +02:00
|
|
|
+ ;;
|
|
|
|
irix5* | irix6* | nonstopux*)
|
|
|
|
case $cc_basename in
|
2005-05-18 13:57:01 +02:00
|
|
|
CC*)
|
|
|
|
@@ -12088,6 +12173,7 @@ beos*)
|
2004-10-03 02:12:51 +02:00
|
|
|
bsdi[45]*)
|
|
|
|
version_type=linux
|
2004-02-23 11:54:08 +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'
|
2005-05-18 13:57:01 +02:00
|
|
|
@@ -12205,15 +12291,16 @@ freebsd* | dragonfly*)
|
2005-03-22 16:12:07 +01:00
|
|
|
# DragonFly does not have aout. When/if they implement a new
|
|
|
|
# versioning mechanism, adjust this.
|
2004-02-23 11:54:08 +01:00
|
|
|
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}'
|
2005-03-22 16:12:07 +01:00
|
|
|
+ version_type=linux
|
2004-02-23 11:54:08 +01:00
|
|
|
+ case $objformat in
|
|
|
|
+ elf*)
|
2004-10-03 02:12:51 +02:00
|
|
|
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
2004-02-23 11:54:08 +01:00
|
|
|
+ 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'
|
|
|
|
+ *)
|
2004-10-03 02:12:51 +02:00
|
|
|
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix2'
|
2004-02-23 11:54:08 +01:00
|
|
|
need_version=yes
|
|
|
|
;;
|
|
|
|
esac
|
2005-05-18 13:57:01 +02:00
|
|
|
@@ -12289,15 +12376,22 @@ hpux9* | hpux10* | hpux11*)
|
2004-04-20 20:29:34 +02:00
|
|
|
postinstall_cmds='chmod 555 $lib'
|
|
|
|
;;
|
|
|
|
|
2004-04-21 16:55:32 +02:00
|
|
|
+interix3*)
|
2004-10-03 02:12:51 +02:00
|
|
|
+ version_type=linux
|
2004-04-20 20:29:34 +02:00
|
|
|
+ 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'
|
2004-04-21 16:55:32 +02:00
|
|
|
+ dynamic_linker='Interix 3.x ld.so'
|
2004-04-20 20:29:34 +02:00
|
|
|
+ shlibpath_var=LD_LIBRARY_PATH
|
|
|
|
+ shlibpath_overrides_runpath=yes
|
|
|
|
+ hardcode_into_libs=yes
|
|
|
|
+ ;;
|
|
|
|
+
|
2004-02-23 11:54:08 +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 ;;
|
2004-10-03 02:12:51 +02:00
|
|
|
+ *) version_type=irix ;;
|
2004-02-23 11:54:08 +01:00
|
|
|
esac
|
|
|
|
need_lib_prefix=no
|
|
|
|
need_version=no
|
2005-05-18 13:57:01 +02:00
|
|
|
@@ -12374,11 +12468,11 @@ knetbsd*-gnu)
|
2004-10-03 02:12:51 +02:00
|
|
|
;;
|
2004-02-23 11:54:08 +01:00
|
|
|
|
2004-10-03 02:12:51 +02:00
|
|
|
netbsd*)
|
|
|
|
- version_type=sunos
|
|
|
|
+ version_type=linux
|
2004-02-23 11:54:08 +01:00
|
|
|
need_lib_prefix=no
|
|
|
|
need_version=no
|
2004-10-03 02:12:51 +02:00
|
|
|
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
|
|
|
|
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
|
|
|
|
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix2'
|
|
|
|
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
|
|
dynamic_linker='NetBSD (a.out) ld.so'
|
|
|
|
else
|
2005-05-18 13:57:01 +02:00
|
|
|
@@ -12409,14 +12503,14 @@ nto-qnx*)
|
2004-10-03 02:12:51 +02:00
|
|
|
;;
|
|
|
|
|
|
|
|
openbsd*)
|
|
|
|
- version_type=sunos
|
|
|
|
+ version_type=linux
|
2004-05-25 17:17:07 +02:00
|
|
|
need_lib_prefix=no
|
2005-05-18 13:57:01 +02:00
|
|
|
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
|
|
|
|
case $host_os in
|
|
|
|
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
|
|
|
|
*) need_version=no ;;
|
|
|
|
esac
|
2004-05-25 17:17:07 +02:00
|
|
|
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
|
2004-10-03 02:12:51 +02:00
|
|
|
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix2'
|
2004-05-25 17:17:07 +02:00
|
|
|
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
|
|
shlibpath_var=LD_LIBRARY_PATH
|
|
|
|
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
2005-05-18 13:57:01 +02:00
|
|
|
@@ -13984,9 +14078,11 @@ echo $ECHO_N "checking for $compiler opt
|
2004-04-23 03:17:25 +02:00
|
|
|
;;
|
|
|
|
|
|
|
|
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_F77='-fno-common'
|
|
|
|
+ lt_prog_compiler_static_F77=''
|
|
|
|
;;
|
|
|
|
|
|
|
|
msdosdjgpp*)
|
2005-05-18 13:57:01 +02:00
|
|
|
@@ -14015,6 +14111,11 @@ echo $ECHO_N "checking for $compiler opt
|
2004-04-21 16:55:32 +02:00
|
|
|
esac
|
|
|
|
;;
|
|
|
|
|
|
|
|
+ interix3*)
|
|
|
|
+ # Interix 3.0-3.5 -fPIC option generates borked code.
|
|
|
|
+ # (Instead, shlibs are relocated at runtime.)
|
|
|
|
+ ;;
|
|
|
|
+
|
|
|
|
*)
|
|
|
|
lt_prog_compiler_pic_F77='-fPIC'
|
|
|
|
;;
|
2005-05-18 13:57:01 +02:00
|
|
|
@@ -14483,6 +14584,17 @@ EOF
|
2004-04-20 20:29:34 +02:00
|
|
|
fi
|
2004-03-12 01:11:17 +01:00
|
|
|
;;
|
|
|
|
|
2004-04-21 16:55:32 +02:00
|
|
|
+ interix3*)
|
2004-04-21 21:24:49 +02:00
|
|
|
+ # 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'
|
2004-10-11 19:19:53 +02:00
|
|
|
+ archive_expsym_cmds_F77='sed s,^,_, $export_symbols >$output_objdir/$soname.exp && $CC -shared $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file $wl$output_objdir/$soname.exp ${wl}--image-base,$(($RANDOM %4096/2*262144+1342177280)) -o $lib'
|
2004-04-20 20:29:34 +02:00
|
|
|
+ ;;
|
|
|
|
+
|
|
|
|
netbsd*)
|
|
|
|
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
|
|
|
|
archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
|
2005-05-18 13:57:01 +02:00
|
|
|
@@ -14826,7 +14938,7 @@ if test -z "$aix_libpath"; then aix_libp
|
2004-12-18 18:42:24 +01:00
|
|
|
archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
|
|
|
|
module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
|
|
|
|
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
|
|
|
|
- archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
|
|
|
|
+ archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $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}'
|
|
|
|
;;
|
|
|
|
*)
|
2005-05-18 13:57:01 +02:00
|
|
|
@@ -14941,6 +15053,21 @@ if test -z "$aix_libpath"; then aix_libp
|
2004-04-20 20:29:34 +02:00
|
|
|
fi
|
2004-03-12 01:11:17 +01:00
|
|
|
;;
|
|
|
|
|
2004-04-21 16:55:32 +02:00
|
|
|
+ interix3*)
|
2004-04-21 21:24:49 +02:00
|
|
|
+ # 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'
|
2004-10-12 06:41:39 +02:00
|
|
|
+ archive_expsym_cmds_F77='sed s,^,_, $export_symbols >$output_objdir/$soname.exp && $CC -shared $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file $wl$output_objdir/$soname ${wl}--image-base,$(($RANDOM %4096/2*262144+1342177280)) -o $lib'
|
2004-04-21 21:24:49 +02:00
|
|
|
+ export_dynamic_flag_spec_F77='${wl}-E'
|
2004-04-20 20:29:34 +02:00
|
|
|
+ hardcode_direct_F77=yes
|
|
|
|
+ hardcode_libdir_flag_spec_F77='${wl}-h,$libdir'
|
2004-04-21 21:24:49 +02:00
|
|
|
+ hardcode_shlibpath_var_F77=no
|
2004-04-20 20:29:34 +02:00
|
|
|
+ ;;
|
|
|
|
+
|
|
|
|
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'
|
2005-05-18 13:57:01 +02:00
|
|
|
@@ -15344,6 +15471,7 @@ beos*)
|
2004-10-03 02:12:51 +02:00
|
|
|
bsdi[45]*)
|
|
|
|
version_type=linux
|
2004-02-23 11:54:08 +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'
|
2005-05-18 13:57:01 +02:00
|
|
|
@@ -15461,15 +15589,16 @@ freebsd* | dragonfly*)
|
2005-03-22 16:12:07 +01:00
|
|
|
# DragonFly does not have aout. When/if they implement a new
|
|
|
|
# versioning mechanism, adjust this.
|
2004-02-23 11:54:08 +01:00
|
|
|
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}'
|
2005-03-22 16:12:07 +01:00
|
|
|
+ version_type=linux
|
2004-02-23 11:54:08 +01:00
|
|
|
+ case $objformat in
|
|
|
|
+ elf*)
|
2004-10-03 02:12:51 +02:00
|
|
|
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
2004-02-23 11:54:08 +01:00
|
|
|
+ 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'
|
|
|
|
+ *)
|
2004-10-03 02:12:51 +02:00
|
|
|
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix2'
|
2004-02-23 11:54:08 +01:00
|
|
|
need_version=yes
|
|
|
|
;;
|
|
|
|
esac
|
2005-05-18 13:57:01 +02:00
|
|
|
@@ -15545,15 +15674,22 @@ hpux9* | hpux10* | hpux11*)
|
2004-04-20 20:29:34 +02:00
|
|
|
postinstall_cmds='chmod 555 $lib'
|
|
|
|
;;
|
|
|
|
|
2004-04-21 16:55:32 +02:00
|
|
|
+interix3*)
|
2004-10-03 02:12:51 +02:00
|
|
|
+ version_type=linux
|
2004-04-20 20:29:34 +02:00
|
|
|
+ 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'
|
2004-04-21 16:55:32 +02:00
|
|
|
+ dynamic_linker='Interix 3.x ld.so'
|
2004-04-20 20:29:34 +02:00
|
|
|
+ shlibpath_var=LD_LIBRARY_PATH
|
|
|
|
+ shlibpath_overrides_runpath=yes
|
|
|
|
+ hardcode_into_libs=yes
|
|
|
|
+ ;;
|
|
|
|
+
|
2004-02-23 11:54:08 +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 ;;
|
2004-10-03 02:12:51 +02:00
|
|
|
+ *) version_type=irix ;;
|
2004-02-23 11:54:08 +01:00
|
|
|
esac
|
|
|
|
need_lib_prefix=no
|
|
|
|
need_version=no
|
2005-05-18 13:57:01 +02:00
|
|
|
@@ -15630,11 +15766,11 @@ knetbsd*-gnu)
|
2004-10-03 02:12:51 +02:00
|
|
|
;;
|
2004-02-23 11:54:08 +01:00
|
|
|
|
2004-10-03 02:12:51 +02:00
|
|
|
netbsd*)
|
|
|
|
- version_type=sunos
|
|
|
|
+ version_type=linux
|
2004-02-23 11:54:08 +01:00
|
|
|
need_lib_prefix=no
|
|
|
|
need_version=no
|
2004-10-03 02:12:51 +02:00
|
|
|
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
|
|
|
|
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
|
|
|
|
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix2'
|
|
|
|
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
|
|
dynamic_linker='NetBSD (a.out) ld.so'
|
|
|
|
else
|
2005-05-18 13:57:01 +02:00
|
|
|
@@ -15665,14 +15801,14 @@ nto-qnx*)
|
2004-10-03 02:12:51 +02:00
|
|
|
;;
|
|
|
|
|
|
|
|
openbsd*)
|
|
|
|
- version_type=sunos
|
|
|
|
+ version_type=linux
|
2004-05-25 17:17:07 +02:00
|
|
|
need_lib_prefix=no
|
2005-05-18 13:57:01 +02:00
|
|
|
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
|
|
|
|
case $host_os in
|
|
|
|
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
|
|
|
|
*) need_version=no ;;
|
|
|
|
esac
|
2004-05-25 17:17:07 +02:00
|
|
|
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
|
2004-10-03 02:12:51 +02:00
|
|
|
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix2'
|
2004-05-25 17:17:07 +02:00
|
|
|
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
|
|
shlibpath_var=LD_LIBRARY_PATH
|
|
|
|
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
2005-05-18 13:57:01 +02:00
|
|
|
@@ -16432,9 +16568,11 @@ echo $ECHO_N "checking for $compiler opt
|
2004-04-23 03:17:25 +02:00
|
|
|
;;
|
|
|
|
|
|
|
|
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_GCJ='-fno-common'
|
|
|
|
+ lt_prog_compiler_static_GCJ=''
|
|
|
|
;;
|
|
|
|
|
|
|
|
msdosdjgpp*)
|
2005-05-18 13:57:01 +02:00
|
|
|
@@ -16463,6 +16601,11 @@ echo $ECHO_N "checking for $compiler opt
|
2004-04-21 16:55:32 +02:00
|
|
|
esac
|
|
|
|
;;
|
|
|
|
|
|
|
|
+ interix3*)
|
|
|
|
+ # Interix 3.0-3.5 -fPIC option generates borked code.
|
|
|
|
+ # (Instead, shlibs are relocated at runtime.)
|
|
|
|
+ ;;
|
|
|
|
+
|
|
|
|
*)
|
|
|
|
lt_prog_compiler_pic_GCJ='-fPIC'
|
|
|
|
;;
|
2005-05-18 13:57:01 +02:00
|
|
|
@@ -16931,6 +17074,17 @@ EOF
|
2004-04-20 20:29:34 +02:00
|
|
|
fi
|
2004-03-12 01:11:17 +01:00
|
|
|
;;
|
|
|
|
|
2004-04-21 16:55:32 +02:00
|
|
|
+ interix3*)
|
2004-04-21 21:24:49 +02:00
|
|
|
+ # 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'
|
2004-10-11 19:19:53 +02:00
|
|
|
+ archive_expsym_cmds_GCJ='sed s,^,_, $export_symbols >$output_objdir/$soname.exp && $CC -shared $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file $wl$output_objdir/$soname.exp ${wl}--image-base,$(($RANDOM %4096/2*262144+1342177280)) -o $lib'
|
2004-04-20 20:29:34 +02:00
|
|
|
+ ;;
|
|
|
|
+
|
|
|
|
netbsd*)
|
|
|
|
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
|
|
|
|
archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
|
2005-05-18 13:57:01 +02:00
|
|
|
@@ -17294,7 +17448,7 @@ if test -z "$aix_libpath"; then aix_libp
|
2004-12-18 18:42:24 +01:00
|
|
|
archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
|
|
|
|
module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
|
|
|
|
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
|
|
|
|
- archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
|
|
|
|
+ archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $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}'
|
|
|
|
;;
|
|
|
|
*)
|
2005-05-18 13:57:01 +02:00
|
|
|
@@ -17409,6 +17563,21 @@ if test -z "$aix_libpath"; then aix_libp
|
2004-04-20 20:29:34 +02:00
|
|
|
fi
|
2004-03-12 01:11:17 +01:00
|
|
|
;;
|
|
|
|
|
2004-04-21 16:55:32 +02:00
|
|
|
+ interix3*)
|
2004-04-21 21:24:49 +02:00
|
|
|
+ # 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'
|
2004-10-12 06:41:39 +02:00
|
|
|
+ archive_expsym_cmds_GCJ='sed s,^,_, $export_symbols >$output_objdir/$soname.exp && $CC -shared $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file $wl$output_objdir/$soname ${wl}--image-base,$(($RANDOM %4096/2*262144+1342177280)) -o $lib'
|
2004-04-21 21:24:49 +02:00
|
|
|
+ export_dynamic_flag_spec_GCJ='${wl}-E'
|
2004-04-20 20:29:34 +02:00
|
|
|
+ hardcode_direct_GCJ=yes
|
|
|
|
+ hardcode_libdir_flag_spec_GCJ='${wl}-h,$libdir'
|
2004-04-21 21:24:49 +02:00
|
|
|
+ hardcode_shlibpath_var_GCJ=no
|
2004-04-20 20:29:34 +02:00
|
|
|
+ ;;
|
|
|
|
+
|
|
|
|
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'
|
2005-05-18 13:57:01 +02:00
|
|
|
@@ -17812,6 +17981,7 @@ beos*)
|
2004-10-03 02:12:51 +02:00
|
|
|
bsdi[45]*)
|
|
|
|
version_type=linux
|
2004-04-20 20:29:34 +02: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'
|
2005-05-18 13:57:01 +02:00
|
|
|
@@ -17929,15 +18099,16 @@ freebsd* | dragonfly*)
|
2005-03-22 16:12:07 +01:00
|
|
|
# DragonFly does not have aout. When/if they implement a new
|
|
|
|
# versioning mechanism, adjust this.
|
2004-04-20 20:29:34 +02:00
|
|
|
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}'
|
2005-03-22 16:12:07 +01:00
|
|
|
+ version_type=linux
|
2004-04-20 20:29:34 +02:00
|
|
|
+ case $objformat in
|
|
|
|
+ elf*)
|
2004-10-03 02:12:51 +02:00
|
|
|
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
2004-04-20 20:29:34 +02:00
|
|
|
+ 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'
|
|
|
|
+ *)
|
2004-10-03 02:12:51 +02:00
|
|
|
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix2'
|
2004-04-20 20:29:34 +02:00
|
|
|
need_version=yes
|
|
|
|
;;
|
|
|
|
esac
|
2005-05-18 13:57:01 +02:00
|
|
|
@@ -18013,15 +18184,22 @@ hpux9* | hpux10* | hpux11*)
|
2004-04-20 20:29:34 +02:00
|
|
|
postinstall_cmds='chmod 555 $lib'
|
|
|
|
;;
|
|
|
|
|
2004-04-21 16:55:32 +02:00
|
|
|
+interix3*)
|
2004-10-03 02:12:51 +02:00
|
|
|
+ version_type=linux
|
2004-04-20 20:29:34 +02:00
|
|
|
+ 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'
|
2004-04-21 16:55:32 +02:00
|
|
|
+ dynamic_linker='Interix 3.x ld.so'
|
2004-04-20 20:29:34 +02:00
|
|
|
+ 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 ;;
|
2004-10-03 02:12:51 +02:00
|
|
|
+ *) version_type=irix ;;
|
2004-04-20 20:29:34 +02:00
|
|
|
esac
|
|
|
|
need_lib_prefix=no
|
|
|
|
need_version=no
|
2005-05-18 13:57:01 +02:00
|
|
|
@@ -18098,11 +18276,11 @@ knetbsd*-gnu)
|
2004-10-03 02:12:51 +02:00
|
|
|
;;
|
2004-04-20 20:29:34 +02:00
|
|
|
|
2004-10-03 02:12:51 +02:00
|
|
|
netbsd*)
|
|
|
|
- version_type=sunos
|
|
|
|
+ version_type=linux
|
2004-04-20 20:29:34 +02:00
|
|
|
need_lib_prefix=no
|
|
|
|
need_version=no
|
2004-10-03 02:12:51 +02:00
|
|
|
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
|
|
|
|
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
|
|
|
|
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix2'
|
|
|
|
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
|
|
dynamic_linker='NetBSD (a.out) ld.so'
|
|
|
|
else
|
2005-05-18 13:57:01 +02:00
|
|
|
@@ -18133,14 +18311,14 @@ nto-qnx*)
|
2004-10-03 02:12:51 +02:00
|
|
|
;;
|
|
|
|
|
|
|
|
openbsd*)
|
|
|
|
- version_type=sunos
|
|
|
|
+ version_type=linux
|
2004-05-25 17:17:07 +02:00
|
|
|
need_lib_prefix=no
|
2005-05-18 13:57:01 +02:00
|
|
|
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
|
|
|
|
case $host_os in
|
|
|
|
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
|
|
|
|
*) need_version=no ;;
|
|
|
|
esac
|
2004-05-25 17:17:07 +02:00
|
|
|
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
|
2004-10-03 02:12:51 +02:00
|
|
|
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix2'
|
2004-05-25 17:17:07 +02:00
|
|
|
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
|
|
shlibpath_var=LD_LIBRARY_PATH
|
|
|
|
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|