2014-09-10 12:44:58 +02:00
|
|
|
$NetBSD: patch-ab,v 1.84 2014/09/10 10:44:58 richard Exp $
|
2009-12-18 23:11:10 +01:00
|
|
|
|
2014-09-01 14:39:15 +02:00
|
|
|
--- configure.orig 2011-10-17 10:18:58.000000000 +0000
|
2011-09-16 17:08:26 +02:00
|
|
|
+++ configure
|
2014-05-10 17:32:08 +02:00
|
|
|
@@ -5335,7 +5335,7 @@ else
|
2013-07-01 17:59:06 +02:00
|
|
|
lt_cv_sys_max_cmd_len=8192;
|
|
|
|
;;
|
|
|
|
|
|
|
|
- netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
|
|
|
|
+ netbsd* | freebsd* | openbsd* | mirbsd* | darwin* | dragonfly*)
|
|
|
|
# This has been around since 386BSD, at least. Likely further.
|
|
|
|
if test -x /sbin/sysctl; then
|
|
|
|
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
|
2014-05-10 17:32:08 +02:00
|
|
|
@@ -5829,12 +5829,19 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
2011-05-14 18:49:45 +02:00
|
|
|
lt_cv_deplibs_check_method=pass_all
|
|
|
|
;;
|
|
|
|
|
|
|
|
+midnightbsd*)
|
|
|
|
+ # might to use match_pattern like MirBSD, but there is no well-defined
|
|
|
|
+ # naming scheme for libraries yet, as the current one is deprecated, and
|
|
|
|
+ # the new one in a state of flux especially between mports and MirPorts
|
|
|
|
+ lt_cv_deplibs_check_method=pass_all
|
|
|
|
+ ;;
|
|
|
|
+
|
|
|
|
+mirbsd*)
|
|
|
|
+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
|
|
|
|
+ ;;
|
|
|
|
+
|
|
|
|
netbsd*)
|
2013-04-12 15:44:07 +02:00
|
|
|
- if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
|
|
|
|
- lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
|
|
|
|
- else
|
|
|
|
- lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
|
|
|
|
- fi
|
|
|
|
+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
|
|
|
|
;;
|
|
|
|
|
|
|
|
newos6*)
|
2014-05-10 17:32:08 +02:00
|
|
|
@@ -5844,7 +5851,7 @@ newos6*)
|
2007-09-15 14:11:44 +02:00
|
|
|
;;
|
|
|
|
|
2009-12-15 18:35:36 +01:00
|
|
|
*nto* | *qnx*)
|
|
|
|
- lt_cv_deplibs_check_method=pass_all
|
2007-09-15 14:11:44 +02:00
|
|
|
+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|S\.a)$'
|
|
|
|
;;
|
|
|
|
|
|
|
|
openbsd*)
|
2014-05-10 17:32:08 +02:00
|
|
|
@@ -6473,7 +6480,7 @@ fi
|
2013-08-27 17:50:23 +02:00
|
|
|
|
|
|
|
case $host_os in
|
|
|
|
darwin*)
|
|
|
|
- lock_old_archive_extraction=yes ;;
|
|
|
|
+ lock_old_archive_extraction=no ;; # work around bug #14579
|
|
|
|
*)
|
|
|
|
lock_old_archive_extraction=no ;;
|
|
|
|
esac
|
2014-05-10 17:32:08 +02:00
|
|
|
@@ -8493,7 +8500,10 @@ for cc_temp in $compiler""; do
|
2007-10-07 14:31:59 +02:00
|
|
|
*) break;;
|
|
|
|
esac
|
|
|
|
done
|
2013-04-12 15:44:07 +02:00
|
|
|
-cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
|
2007-10-07 14:31:59 +02:00
|
|
|
+# Return the actual command name, not our pkgsrc wrapper name because several
|
|
|
|
+# decisions are made only based on compiler names
|
2009-12-15 18:35:36 +01:00
|
|
|
+if test -n "$cc_temp" && new_cc_temp=`$cc_temp --wrappee-name 2>/dev/null`; then :; else new_cc_temp="$cc_temp"; fi
|
|
|
|
+cc_basename=`$ECHO "X$new_cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
|
2007-09-15 14:11:44 +02:00
|
|
|
|
|
|
|
|
2007-10-07 14:31:59 +02:00
|
|
|
# Only perform the check for file, if the check method requires it
|
2014-05-10 17:32:08 +02:00
|
|
|
@@ -8806,9 +8816,16 @@ lt_prog_compiler_static=
|
2007-09-15 14:11:44 +02:00
|
|
|
;;
|
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'
|
2009-12-17 01:53:52 +01:00
|
|
|
+ lt_prog_compiler_static=''
|
2012-07-26 14:04:03 +02:00
|
|
|
+ ;;
|
|
|
|
+
|
2013-04-12 15:44:07 +02:00
|
|
|
+ *mint*)
|
|
|
|
+ # FreeMiNT does not support shared libraries at all
|
|
|
|
+ lt_prog_compiler_pic=
|
|
|
|
;;
|
|
|
|
|
|
|
|
haiku*)
|
2014-05-10 17:32:08 +02:00
|
|
|
@@ -8836,6 +8853,13 @@ lt_prog_compiler_static=
|
2009-12-15 18:35:36 +01:00
|
|
|
# Instead, we relocate shared libraries at runtime.
|
2007-09-15 14:11:44 +02:00
|
|
|
;;
|
2006-12-15 12:28:51 +01:00
|
|
|
|
2009-12-15 18:35:36 +01:00
|
|
|
+ mint*)
|
|
|
|
+ # Just because we use GCC doesn't mean we suddenly get shared libraries
|
|
|
|
+ # on systems that don't support them.
|
2009-12-17 01:53:52 +01:00
|
|
|
+ lt_prog_compiler_can_build_shared=no
|
2009-12-15 18:35:36 +01:00
|
|
|
+ enable_shared=no
|
2007-09-15 14:11:44 +02:00
|
|
|
+ ;;
|
|
|
|
+
|
2009-12-15 18:35:36 +01:00
|
|
|
msdosdjgpp*)
|
|
|
|
# Just because we use GCC doesn't mean we suddenly get shared libraries
|
|
|
|
# on systems that don't support them.
|
2014-05-10 17:32:08 +02:00
|
|
|
@@ -8988,6 +9012,15 @@ lt_prog_compiler_static=
|
2012-07-26 14:04:03 +02:00
|
|
|
esac
|
|
|
|
;;
|
|
|
|
|
|
|
|
+ mirbsd*)
|
|
|
|
+ case $cc_basename in
|
|
|
|
+ # pkgsrc f77 is f2c, which uses gcc underneath.
|
|
|
|
+ f77*)
|
|
|
|
+ lt_prog_compiler_wl='-Wl,'
|
|
|
|
+ ;;
|
|
|
|
+ esac
|
|
|
|
+ ;;
|
|
|
|
+
|
|
|
|
newsos6)
|
|
|
|
lt_prog_compiler_pic='-KPIC'
|
|
|
|
lt_prog_compiler_static='-Bstatic'
|
2014-05-10 17:32:08 +02:00
|
|
|
@@ -9063,6 +9096,9 @@ lt_prog_compiler_static=
|
2009-12-15 18:35:36 +01:00
|
|
|
|
|
|
|
case $host_os in
|
|
|
|
# For platforms which do not support PIC, -DPIC is meaningless:
|
|
|
|
+ mint*)
|
2009-12-17 01:53:52 +01:00
|
|
|
+ lt_prog_compiler_pic=
|
2009-12-15 18:35:36 +01:00
|
|
|
+ ;;
|
|
|
|
*djgpp*)
|
|
|
|
lt_prog_compiler_pic=
|
|
|
|
;;
|
2014-05-10 17:32:08 +02:00
|
|
|
@@ -9608,16 +9644,29 @@ _LT_EOF
|
2011-03-23 16:46:36 +01:00
|
|
|
fi
|
|
|
|
;;
|
|
|
|
|
2013-04-12 15:44:07 +02:00
|
|
|
- netbsd*)
|
2009-12-15 18:35:36 +01:00
|
|
|
- if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
2013-04-12 15:44:07 +02:00
|
|
|
- archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
|
|
|
|
- wlarc=
|
|
|
|
+ mirbsd*)
|
|
|
|
+ if test -f /usr/libexec/ld.so; then
|
|
|
|
+ hardcode_direct=yes
|
|
|
|
+ hardcode_shlibpath_var=no
|
|
|
|
+ hardcode_direct_absolute=yes
|
|
|
|
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
|
|
|
+ archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
|
|
|
|
+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
|
|
|
+ export_dynamic_flag_spec='${wl}-E'
|
2009-07-08 23:01:43 +02:00
|
|
|
else
|
2013-04-12 15:44:07 +02:00
|
|
|
- archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
|
|
- archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
|
|
|
+ ld_shlibs=no
|
|
|
|
fi
|
2011-05-14 18:49:45 +02:00
|
|
|
;;
|
|
|
|
|
2013-04-12 15:44:07 +02:00
|
|
|
+ netbsd*)
|
|
|
|
+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
|
|
+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
|
|
|
+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
|
|
|
+ hardcode_direct=yes
|
|
|
|
+ hardcode_shlibpath_var=no
|
2014-03-08 20:57:25 +01:00
|
|
|
+ output_verbose_link_cmd=func_echo_all
|
2013-04-12 15:44:07 +02:00
|
|
|
+ ;;
|
2011-05-14 18:49:45 +02:00
|
|
|
+
|
2013-04-12 15:44:07 +02:00
|
|
|
solaris*)
|
|
|
|
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
|
|
|
|
ld_shlibs=no
|
2014-05-10 17:32:08 +02:00
|
|
|
@@ -10026,7 +10075,7 @@ fi
|
2013-05-13 14:53:42 +02:00
|
|
|
allow_undefined_flag="$_lt_dar_allow_undefined"
|
|
|
|
case $cc_basename in
|
|
|
|
ifort*) _lt_dar_can_shared=yes ;;
|
|
|
|
- *) _lt_dar_can_shared=$GCC ;;
|
|
|
|
+ *) _lt_dar_can_shared=yes ;;
|
|
|
|
esac
|
|
|
|
if test "$_lt_dar_can_shared" = "yes"; then
|
|
|
|
output_verbose_link_cmd=func_echo_all
|
2014-05-10 17:32:08 +02:00
|
|
|
@@ -10238,15 +10287,28 @@ $as_echo "$lt_cv_irix_exported_symbol" >
|
2011-05-14 18:49:45 +02:00
|
|
|
link_all_deplibs=yes
|
|
|
|
;;
|
|
|
|
|
2013-04-12 15:44:07 +02:00
|
|
|
- netbsd*)
|
|
|
|
- if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
|
|
|
- archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
|
2011-05-14 18:49:45 +02:00
|
|
|
+ mirbsd*)
|
2013-04-12 15:44:07 +02:00
|
|
|
+ if test -f /usr/libexec/ld.so; then
|
2011-05-14 18:49:45 +02:00
|
|
|
+ hardcode_direct=yes
|
|
|
|
+ hardcode_shlibpath_var=no
|
|
|
|
+ hardcode_direct_absolute=yes
|
2013-04-12 15:44:07 +02:00
|
|
|
+ archive_cmds='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
|
|
|
|
+ archive_expsym_cmds='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
|
2011-05-14 18:49:45 +02:00
|
|
|
+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
|
|
|
+ export_dynamic_flag_spec='${wl}-E'
|
2013-04-12 15:44:07 +02:00
|
|
|
+ whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
|
|
|
|
else
|
|
|
|
- archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
|
2011-05-14 18:49:45 +02:00
|
|
|
+ ld_shlibs=no
|
2013-04-12 15:44:07 +02:00
|
|
|
fi
|
|
|
|
- hardcode_libdir_flag_spec='-R$libdir'
|
2011-05-14 18:49:45 +02:00
|
|
|
+ ;;
|
|
|
|
+
|
2013-04-12 15:44:07 +02:00
|
|
|
+ netbsd*)
|
|
|
|
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
|
|
+ archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
|
|
|
+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
|
|
|
hardcode_direct=yes
|
|
|
|
hardcode_shlibpath_var=no
|
2014-03-08 20:57:25 +01:00
|
|
|
+ output_verbose_link_cmd=func_echo_all
|
2013-04-12 15:44:07 +02:00
|
|
|
;;
|
2014-03-08 20:57:25 +01:00
|
|
|
|
|
|
|
newsos6)
|
2014-05-10 17:32:08 +02:00
|
|
|
@@ -10258,6 +10320,11 @@ $as_echo "$lt_cv_irix_exported_symbol" >
|
2007-09-15 14:11:44 +02:00
|
|
|
;;
|
|
|
|
|
2009-12-15 18:35:36 +01:00
|
|
|
*nto* | *qnx*)
|
2009-12-17 01:53:52 +01:00
|
|
|
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
|
|
+ archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
2013-04-12 15:44:07 +02:00
|
|
|
+ hardcode_libdir_flag_spec='-R$libdir'
|
|
|
|
+ hardcode_direct=yes
|
|
|
|
+ hardcode_shlibpath_var=no
|
2007-09-15 14:11:44 +02:00
|
|
|
;;
|
|
|
|
|
2009-12-15 18:35:36 +01:00
|
|
|
openbsd*)
|
2014-05-10 17:32:08 +02:00
|
|
|
@@ -11031,7 +11098,7 @@ dgux*)
|
2013-04-12 15:44:07 +02:00
|
|
|
shlibpath_var=LD_LIBRARY_PATH
|
2007-09-15 14:11:44 +02:00
|
|
|
;;
|
|
|
|
|
|
|
|
-freebsd* | dragonfly*)
|
|
|
|
+freebsd*)
|
2013-04-12 15:44:07 +02:00
|
|
|
# DragonFly does not have aout. When/if they implement a new
|
|
|
|
# versioning mechanism, adjust this.
|
2007-09-15 14:11:44 +02:00
|
|
|
if test -x /usr/bin/objformat; then
|
2014-05-10 17:32:08 +02:00
|
|
|
@@ -11045,7 +11112,7 @@ freebsd* | dragonfly*)
|
2007-09-15 14:11:44 +02:00
|
|
|
version_type=freebsd-$objformat
|
|
|
|
case $version_type in
|
|
|
|
freebsd-elf*)
|
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
|
|
|
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
|
2007-09-15 14:11:44 +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
|
|
|
need_version=no
|
|
|
|
need_lib_prefix=no
|
|
|
|
;;
|
2014-05-10 17:32:08 +02:00
|
|
|
@@ -11068,13 +11135,24 @@ freebsd* | dragonfly*)
|
2009-03-24 00:03:58 +01:00
|
|
|
shlibpath_overrides_runpath=no
|
|
|
|
hardcode_into_libs=yes
|
|
|
|
;;
|
|
|
|
- *) # from 4.6 on, and DragonFly
|
|
|
|
+ *) # from 4.6 on
|
|
|
|
shlibpath_overrides_runpath=yes
|
|
|
|
hardcode_into_libs=yes
|
|
|
|
;;
|
2007-09-15 14:11:44 +02:00
|
|
|
esac
|
|
|
|
;;
|
|
|
|
|
|
|
|
+dragonfly*)
|
2009-03-24 00:03:58 +01:00
|
|
|
+ version_type=linux
|
2007-09-15 14:11:44 +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}'
|
2009-03-24 00:03:58 +01:00
|
|
|
+ soname_spec='${libname}${release}${shared_ext}$major'
|
2007-09-15 14:11:44 +02:00
|
|
|
+ shlibpath_var=LD_LIBRARY_PATH
|
|
|
|
+ shlibpath_overrides_runpath=no
|
|
|
|
+ hardcode_into_libs=yes
|
|
|
|
+ ;;
|
|
|
|
+
|
|
|
|
gnu*)
|
2013-04-12 15:44:07 +02:00
|
|
|
version_type=linux # correct to gnu/linux during the next big refactor
|
2007-09-15 14:11:44 +02:00
|
|
|
need_lib_prefix=no
|
2014-05-10 17:32:08 +02:00
|
|
|
@@ -11162,12 +11240,7 @@ interix[3-9]*)
|
2007-09-15 14:11:44 +02:00
|
|
|
irix5* | irix6* | nonstopux*)
|
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
|
|
|
|
nonstopux*) version_type=nonstopux ;;
|
|
|
|
- *)
|
|
|
|
- if test "$lt_cv_prog_gnu_ld" = yes; then
|
2013-04-12 15:44:07 +02:00
|
|
|
- version_type=linux # correct to gnu/linux during the next big refactor
|
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
|
|
|
- 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
|
2007-09-15 14:11:44 +02:00
|
|
|
need_version=no
|
2014-05-10 17:32:08 +02:00
|
|
|
@@ -11266,19 +11339,36 @@ fi
|
2011-05-14 18:49:45 +02:00
|
|
|
dynamic_linker='GNU/Linux ld.so'
|
2007-09-15 14:11:44 +02:00
|
|
|
;;
|
2002-03-01 16:40:43 +01:00
|
|
|
|
2011-05-14 18:49:45 +02:00
|
|
|
+midnightbsd*)
|
|
|
|
+ version_type=linux
|
2014-05-10 17:32:08 +02:00
|
|
|
+ need_lib_prefix=no
|
|
|
|
+ need_version=no
|
2011-05-14 18:49:45 +02:00
|
|
|
+ library_names_spec='${libname}${release}${shared_ext}${versuffix2} ${libname}${release}${shared_ext} $libname${shared_ext}'
|
|
|
|
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
2014-05-10 17:32:08 +02:00
|
|
|
+ shlibpath_var=LD_LIBRARY_PATH
|
|
|
|
+ shlibpath_overrides_runpath=yes
|
|
|
|
+ hardcode_into_libs=yes
|
|
|
|
+ ;;
|
|
|
|
+
|
2011-05-14 18:49:45 +02:00
|
|
|
+mirbsd*)
|
|
|
|
+ version_type=linux
|
|
|
|
+ sys_lib_search_path_spec="/usr/lib"
|
|
|
|
+ sys_lib_dlsearch_path_spec="/usr/lib"
|
|
|
|
+ need_lib_prefix=no
|
|
|
|
+ need_version=no
|
|
|
|
+ library_names_spec='${libname}${release}${shared_ext}${versuffix2} ${libname}${shared_ext}${versuffix2}'
|
|
|
|
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
2014-05-10 17:32:08 +02:00
|
|
|
+ shlibpath_var=LD_LIBRARY_PATH
|
|
|
|
+ shlibpath_overrides_runpath=yes
|
|
|
|
+ ;;
|
|
|
|
+
|
|
|
|
netbsd*)
|
|
|
|
- version_type=sunos
|
2004-10-03 02:12:51 +02: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
|
|
|
need_lib_prefix=no
|
|
|
|
need_version=no
|
2014-05-10 17:32:08 +02:00
|
|
|
- if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
|
|
|
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
|
|
|
|
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
|
|
- dynamic_linker='NetBSD (a.out) ld.so'
|
|
|
|
- else
|
|
|
|
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
|
|
|
- soname_spec='${libname}${release}${shared_ext}$major'
|
|
|
|
- dynamic_linker='NetBSD ld.elf_so'
|
|
|
|
- fi
|
2013-04-12 15:44:07 +02:00
|
|
|
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
2014-05-10 17:32:08 +02:00
|
|
|
+ soname_spec='${libname}${release}${shared_ext}$major'
|
2013-04-12 15:44:07 +02:00
|
|
|
+ dynamic_linker='NetBSD ld.elf_so'
|
|
|
|
shlibpath_var=LD_LIBRARY_PATH
|
2014-05-10 17:32:08 +02:00
|
|
|
shlibpath_overrides_runpath=yes
|
2013-04-12 15:44:07 +02:00
|
|
|
hardcode_into_libs=yes
|
2014-05-10 17:32:08 +02:00
|
|
|
@@ -11304,7 +11394,7 @@ newsos6)
|
2007-09-15 14:11:44 +02:00
|
|
|
;;
|
2004-10-03 02:12:51 +02:00
|
|
|
|
|
|
|
openbsd*)
|
|
|
|
- version_type=sunos
|
|
|
|
+ version_type=linux
|
2006-01-30 23:19:56 +01:00
|
|
|
sys_lib_dlsearch_path_spec="/usr/lib"
|
2004-05-25 17:17:07 +02:00
|
|
|
need_lib_prefix=no
|
2007-09-15 14:11:44 +02:00
|
|
|
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
|
2014-05-10 17:32:08 +02:00
|
|
|
@@ -11312,7 +11402,7 @@ openbsd*)
|
2009-12-15 18:35:36 +01:00
|
|
|
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
|
|
|
|
*) need_version=no ;;
|
2005-05-18 13:57:01 +02:00
|
|
|
esac
|
2004-05-25 17:17:07 +02:00
|
|
|
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
|
2007-09-15 14:11:44 +02:00
|
|
|
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
2004-05-25 17:17:07 +02:00
|
|
|
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
|
|
shlibpath_var=LD_LIBRARY_PATH
|
2009-12-15 18:35:36 +01:00
|
|
|
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
2014-05-10 17:32:08 +02:00
|
|
|
@@ -12847,6 +12937,9 @@ else
|
2011-05-14 18:49:45 +02:00
|
|
|
# at 6.2 and later dlopen does load deplibs.
|
|
|
|
lt_cv_sys_dlopen_deplibs=yes
|
|
|
|
;;
|
|
|
|
+ mirbsd*)
|
|
|
|
+ lt_cv_sys_dlopen_deplibs=yes
|
|
|
|
+ ;;
|
|
|
|
netbsd*)
|
|
|
|
lt_cv_sys_dlopen_deplibs=yes
|
|
|
|
;;
|
2014-05-10 17:32:08 +02:00
|
|
|
@@ -13536,9 +13629,7 @@ func_stripname_cnf ()
|
2013-04-12 15:44:07 +02:00
|
|
|
esac
|
|
|
|
} # func_stripname_cnf
|
2009-12-15 18:35:36 +01:00
|
|
|
|
2013-04-12 15:44:07 +02:00
|
|
|
- if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
|
2009-12-15 18:35:36 +01:00
|
|
|
- ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
|
|
|
|
- (test "X$CXX" != "Xg++"))) ; then
|
2013-04-12 15:44:07 +02:00
|
|
|
+ if test -n "$CXX" && test "X$CXX" != "Xno" ; then
|
2009-12-15 18:35:36 +01:00
|
|
|
ac_ext=cpp
|
2004-10-04 21:48:09 +02:00
|
|
|
ac_cpp='$CXXCPP $CPPFLAGS'
|
2007-09-15 14:11:44 +02:00
|
|
|
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
2014-05-10 17:32:08 +02:00
|
|
|
@@ -13786,7 +13877,10 @@ $RM -r conftest*
|
2007-10-07 14:31:59 +02:00
|
|
|
*) break;;
|
|
|
|
esac
|
|
|
|
done
|
2013-04-12 15:44:07 +02:00
|
|
|
-cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
|
2007-10-07 14:31:59 +02:00
|
|
|
+# Return the actual command name, not our pkgsrc wrapper name because several
|
|
|
|
+# decisions are made only based on compiler names
|
2009-12-15 18:35:36 +01:00
|
|
|
+if test -n "$cc_temp" && new_cc_temp=`$cc_temp --wrappee-name 2>/dev/null`; then :; else new_cc_temp="$cc_temp"; fi
|
|
|
|
+cc_basename=`$ECHO "X$new_cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
|
|
|
|
|
|
|
|
|
|
|
|
if test -n "$compiler"; then
|
2014-05-10 17:32:08 +02:00
|
|
|
@@ -14282,7 +14376,7 @@ fi
|
2013-05-13 14:53:42 +02:00
|
|
|
allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
|
|
|
|
case $cc_basename in
|
|
|
|
ifort*) _lt_dar_can_shared=yes ;;
|
|
|
|
- *) _lt_dar_can_shared=$GCC ;;
|
|
|
|
+ *) _lt_dar_can_shared=yes ;;
|
|
|
|
esac
|
|
|
|
if test "$_lt_dar_can_shared" = "yes"; then
|
|
|
|
output_verbose_link_cmd=func_echo_all
|
2014-05-10 17:32:08 +02:00
|
|
|
@@ -14651,6 +14745,22 @@ fi
|
2013-07-01 17:59:06 +02:00
|
|
|
ld_shlibs_CXX=no
|
|
|
|
;;
|
|
|
|
|
|
|
|
+ mirbsd*)
|
|
|
|
+ if test -f /usr/libexec/ld.so; then
|
|
|
|
+ hardcode_direct_CXX=yes
|
|
|
|
+ hardcode_shlibpath_var_CXX=no
|
|
|
|
+ hardcode_direct_absolute_CXX=yes
|
|
|
|
+ archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
|
|
|
|
+ archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
|
|
|
|
+ hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
|
|
|
|
+ export_dynamic_flag_spec_CXX='${wl}-E'
|
|
|
|
+ whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
|
|
|
|
+ output_verbose_link_cmd='echo'
|
|
|
|
+ else
|
|
|
|
+ ld_shlibs_CXX=no
|
|
|
|
+ fi
|
|
|
|
+ ;;
|
|
|
|
+
|
|
|
|
mvs*)
|
|
|
|
case $cc_basename in
|
|
|
|
cxx*)
|
2014-05-10 17:32:08 +02:00
|
|
|
@@ -14665,15 +14775,13 @@ fi
|
2011-05-14 18:49:45 +02:00
|
|
|
;;
|
2011-03-23 16:46:36 +01:00
|
|
|
|
2009-12-15 18:35:36 +01:00
|
|
|
netbsd*)
|
2013-04-12 15:44:07 +02:00
|
|
|
- if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
|
|
|
- archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
|
|
|
|
- wlarc=
|
|
|
|
- hardcode_libdir_flag_spec_CXX='-R$libdir'
|
|
|
|
- hardcode_direct_CXX=yes
|
|
|
|
- hardcode_shlibpath_var_CXX=no
|
2009-12-15 18:35:36 +01:00
|
|
|
- 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::"'
|
2013-04-12 15:44:07 +02:00
|
|
|
+ ld_shlibs_CXX=yes
|
|
|
|
+ archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
|
|
+ archive_expsym_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
|
|
|
+ hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
|
|
|
|
+ hardcode_direct_CXX=yes
|
|
|
|
+ hardcode_shlibpath_var_CXX=no
|
2014-03-08 20:57:25 +01:00
|
|
|
+ output_verbose_link_cmd=func_echo_all
|
2009-12-15 18:35:36 +01:00
|
|
|
;;
|
2007-10-07 14:31:59 +02:00
|
|
|
|
2009-12-15 18:35:36 +01:00
|
|
|
*nto* | *qnx*)
|
2014-06-15 16:42:05 +02:00
|
|
|
@@ -14852,27 +14960,14 @@ fi
|
|
|
|
# GNU C++ compiler with Solaris linker
|
2013-04-12 15:44:07 +02:00
|
|
|
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
|
|
|
|
no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
|
2014-06-15 16:42:05 +02:00
|
|
|
- if $CC --version | $GREP -v '^2\.7' > /dev/null; then
|
2013-04-12 15:44:07 +02:00
|
|
|
- archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
|
2014-06-15 16:42:05 +02:00
|
|
|
- archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
|
2013-04-12 15:44:07 +02:00
|
|
|
- $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
|
2014-06-15 16:42:05 +02:00
|
|
|
-
|
|
|
|
- # Commands to make compiler produce verbose output that lists
|
|
|
|
- # what "hidden" libraries, object files and flags are used when
|
|
|
|
- # linking a shared library.
|
|
|
|
- output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
|
|
|
|
- else
|
|
|
|
- # g++ 2.7 appears to require `-G' NOT `-shared' on this
|
|
|
|
- # platform.
|
2013-04-12 15:44:07 +02:00
|
|
|
- archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
|
2014-06-15 16:42:05 +02:00
|
|
|
- archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
|
2013-04-12 15:44:07 +02:00
|
|
|
- $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
|
2014-06-15 16:42:05 +02:00
|
|
|
-
|
|
|
|
- # Commands to make compiler produce verbose output that lists
|
|
|
|
- # what "hidden" libraries, object files and flags are used when
|
|
|
|
- # linking a shared library.
|
|
|
|
- output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
|
|
|
|
- fi
|
2014-09-10 12:44:58 +02:00
|
|
|
+ archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
|
2014-06-15 16:42:05 +02:00
|
|
|
+ archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
|
2014-09-10 12:44:58 +02:00
|
|
|
+ $CC -shared $pic_flag ${wl}-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
|
2014-06-15 16:42:05 +02:00
|
|
|
+
|
|
|
|
+ # Commands to make compiler produce verbose output that lists
|
|
|
|
+ # what "hidden" libraries, object files and flags are used when
|
|
|
|
+ # linking a shared library.
|
|
|
|
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
|
|
|
|
|
|
|
|
hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
|
|
|
|
case $host_os in
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -15014,13 +15109,11 @@ if { { eval echo "\"\$as_me\":${as_linen
|
|
|
|
case ${prev}${p} in
|
|
|
|
|
|
|
|
-L* | -R* | -l*)
|
|
|
|
- # Some compilers place space between "-{L,R}" and the path.
|
|
|
|
- # Remove the space.
|
|
|
|
- if test $p = "-L" ||
|
|
|
|
- test $p = "-R"; then
|
|
|
|
- prev=$p
|
|
|
|
- continue
|
|
|
|
- fi
|
|
|
|
+ # Some compilers place space between "-{L,R,l}" and the path or
|
|
|
|
+ # library. Remove the space.
|
|
|
|
+ case $p in
|
|
|
|
+ -L|-R|-l) prev=$p; continue ;;
|
|
|
|
+ esac
|
|
|
|
|
|
|
|
# Expand the sysroot to ease extracting the directories later.
|
|
|
|
if test -z "$prev"; then
|
|
|
|
@@ -15236,9 +15329,15 @@ lt_prog_compiler_static_CXX=
|
2007-09-15 14:11:44 +02:00
|
|
|
lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
|
2004-03-12 01:11:17 +01: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
|
2004-04-20 20:29:34 +02:00
|
|
|
lt_prog_compiler_pic_CXX='-fno-common'
|
2009-12-17 01:53:52 +01:00
|
|
|
+ lt_prog_compiler_static_CXX=''
|
2013-04-12 15:44:07 +02:00
|
|
|
+ ;;
|
2009-12-15 18:35:36 +01:00
|
|
|
+ *mint*)
|
|
|
|
+ # FreeMiNT does not support shared libraries at all
|
2009-12-17 01:53:52 +01:00
|
|
|
+ lt_prog_compiler_pic_CXX=
|
2013-04-12 15:44:07 +02:00
|
|
|
;;
|
2004-03-12 01:11:17 +01:00
|
|
|
*djgpp*)
|
2007-09-15 14:11:44 +02:00
|
|
|
# DJGPP does not support shared libraries at all
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -15316,6 +15415,9 @@ lt_prog_compiler_static_CXX=
|
2009-12-15 18:35:36 +01:00
|
|
|
;;
|
|
|
|
esac
|
2007-09-15 14:11:44 +02:00
|
|
|
;;
|
2009-12-15 18:35:36 +01:00
|
|
|
+ mint*)
|
|
|
|
+ # FreeMiNT uses GNU C++
|
2007-09-15 14:11:44 +02:00
|
|
|
+ ;;
|
2009-12-15 18:35:36 +01:00
|
|
|
freebsd* | dragonfly*)
|
|
|
|
# FreeBSD uses GNU C++
|
2007-09-15 14:11:44 +02:00
|
|
|
;;
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -15513,6 +15615,9 @@ lt_prog_compiler_static_CXX=
|
2009-12-15 18:35:36 +01:00
|
|
|
|
|
|
|
case $host_os in
|
|
|
|
# For platforms which do not support PIC, -DPIC is meaningless:
|
|
|
|
+ mint*)
|
2009-12-17 01:53:52 +01:00
|
|
|
+ lt_prog_compiler_pic_CXX=
|
2009-12-15 18:35:36 +01:00
|
|
|
+ ;;
|
|
|
|
*djgpp*)
|
|
|
|
lt_prog_compiler_pic_CXX=
|
|
|
|
;;
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -16184,7 +16289,7 @@ dgux*)
|
2013-04-12 15:44:07 +02:00
|
|
|
shlibpath_var=LD_LIBRARY_PATH
|
2007-09-15 14:11:44 +02:00
|
|
|
;;
|
|
|
|
|
|
|
|
-freebsd* | dragonfly*)
|
|
|
|
+freebsd*)
|
2013-04-12 15:44:07 +02:00
|
|
|
# DragonFly does not have aout. When/if they implement a new
|
|
|
|
# versioning mechanism, adjust this.
|
2007-09-15 14:11:44 +02:00
|
|
|
if test -x /usr/bin/objformat; then
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -16198,7 +16303,7 @@ freebsd* | dragonfly*)
|
2007-09-15 14:11:44 +02:00
|
|
|
version_type=freebsd-$objformat
|
|
|
|
case $version_type in
|
|
|
|
freebsd-elf*)
|
2004-02-23 11:54:08 +01:00
|
|
|
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
|
2007-09-15 14:11:44 +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
|
|
|
need_version=no
|
|
|
|
need_lib_prefix=no
|
|
|
|
;;
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -16221,13 +16326,24 @@ freebsd* | dragonfly*)
|
2009-03-24 00:03:58 +01:00
|
|
|
shlibpath_overrides_runpath=no
|
|
|
|
hardcode_into_libs=yes
|
|
|
|
;;
|
|
|
|
- *) # from 4.6 on, and DragonFly
|
|
|
|
+ *) # from 4.6 on
|
|
|
|
shlibpath_overrides_runpath=yes
|
|
|
|
hardcode_into_libs=yes
|
|
|
|
;;
|
2007-09-15 14:11:44 +02:00
|
|
|
esac
|
|
|
|
;;
|
|
|
|
|
|
|
|
+dragonfly*)
|
2009-03-24 00:03:58 +01:00
|
|
|
+ version_type=linux
|
2007-09-15 14:11:44 +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}'
|
2009-03-24 00:03:58 +01:00
|
|
|
+ soname_spec='${libname}${release}${shared_ext}$major'
|
2007-09-15 14:11:44 +02:00
|
|
|
+ shlibpath_var=LD_LIBRARY_PATH
|
|
|
|
+ shlibpath_overrides_runpath=no
|
|
|
|
+ hardcode_into_libs=yes
|
|
|
|
+ ;;
|
|
|
|
+
|
|
|
|
gnu*)
|
2013-04-12 15:44:07 +02:00
|
|
|
version_type=linux # correct to gnu/linux during the next big refactor
|
2007-09-15 14:11:44 +02:00
|
|
|
need_lib_prefix=no
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -16315,12 +16431,7 @@ interix[3-9]*)
|
2007-09-15 14:11:44 +02:00
|
|
|
irix5* | irix6* | nonstopux*)
|
2004-02-23 11:54:08 +01:00
|
|
|
case $host_os in
|
|
|
|
nonstopux*) version_type=nonstopux ;;
|
|
|
|
- *)
|
|
|
|
- if test "$lt_cv_prog_gnu_ld" = yes; then
|
2013-04-12 15:44:07 +02:00
|
|
|
- version_type=linux # correct to gnu/linux during the next big refactor
|
2004-02-23 11:54:08 +01:00
|
|
|
- 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
|
2007-09-15 14:11:44 +02:00
|
|
|
need_version=no
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -16419,19 +16530,36 @@ fi
|
2011-05-14 18:49:45 +02:00
|
|
|
dynamic_linker='GNU/Linux ld.so'
|
2007-09-15 14:11:44 +02:00
|
|
|
;;
|
2004-02-23 11:54:08 +01:00
|
|
|
|
2011-05-14 18:49:45 +02:00
|
|
|
+midnightbsd*)
|
|
|
|
+ version_type=linux
|
|
|
|
+ need_lib_prefix=no
|
|
|
|
+ need_version=no
|
|
|
|
+ library_names_spec='${libname}${release}${shared_ext}${versuffix2} ${libname}${release}${shared_ext} $libname${shared_ext}'
|
|
|
|
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
|
|
+ shlibpath_var=LD_LIBRARY_PATH
|
|
|
|
+ shlibpath_overrides_runpath=yes
|
|
|
|
+ hardcode_into_libs=yes
|
|
|
|
+ ;;
|
|
|
|
+
|
|
|
|
+mirbsd*)
|
|
|
|
+ version_type=linux
|
|
|
|
+ sys_lib_search_path_spec="/usr/lib"
|
|
|
|
+ sys_lib_dlsearch_path_spec="/usr/lib"
|
|
|
|
+ need_lib_prefix=no
|
|
|
|
+ need_version=no
|
|
|
|
+ library_names_spec='${libname}${release}${shared_ext}${versuffix2} ${libname}${shared_ext}${versuffix2}'
|
|
|
|
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
|
|
+ shlibpath_var=LD_LIBRARY_PATH
|
|
|
|
+ shlibpath_overrides_runpath=yes
|
|
|
|
+ ;;
|
|
|
|
+
|
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
|
2010-03-17 11:59:44 +01:00
|
|
|
- if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
2004-10-03 02:12:51 +02:00
|
|
|
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
|
2013-04-12 15:44:07 +02:00
|
|
|
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
|
|
- dynamic_linker='NetBSD (a.out) ld.so'
|
|
|
|
- else
|
2009-12-15 18:35:36 +01:00
|
|
|
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
2013-04-12 15:44:07 +02:00
|
|
|
- soname_spec='${libname}${release}${shared_ext}$major'
|
|
|
|
- dynamic_linker='NetBSD ld.elf_so'
|
|
|
|
- fi
|
|
|
|
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
|
|
|
+ soname_spec='${libname}${release}${shared_ext}$major'
|
|
|
|
+ dynamic_linker='NetBSD ld.elf_so'
|
|
|
|
shlibpath_var=LD_LIBRARY_PATH
|
|
|
|
shlibpath_overrides_runpath=yes
|
|
|
|
hardcode_into_libs=yes
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -16457,7 +16585,7 @@ newsos6)
|
2007-09-15 14:11:44 +02:00
|
|
|
;;
|
2004-10-03 02:12:51 +02:00
|
|
|
|
|
|
|
openbsd*)
|
|
|
|
- version_type=sunos
|
|
|
|
+ version_type=linux
|
2006-01-30 23:19:56 +01:00
|
|
|
sys_lib_dlsearch_path_spec="/usr/lib"
|
2004-05-25 17:17:07 +02:00
|
|
|
need_lib_prefix=no
|
2007-09-15 14:11:44 +02:00
|
|
|
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -16465,7 +16593,7 @@ openbsd*)
|
2009-12-15 18:35:36 +01:00
|
|
|
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
|
|
|
|
*) need_version=no ;;
|
2005-05-18 13:57:01 +02:00
|
|
|
esac
|
2004-05-25 17:17:07 +02:00
|
|
|
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
|
2007-09-15 14:11:44 +02:00
|
|
|
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
2004-05-25 17:17:07 +02:00
|
|
|
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
|
|
shlibpath_var=LD_LIBRARY_PATH
|
2009-12-15 18:35:36 +01:00
|
|
|
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -17039,7 +17167,10 @@ $RM -r conftest*
|
2007-10-07 14:31:59 +02:00
|
|
|
*) break;;
|
|
|
|
esac
|
|
|
|
done
|
2013-04-12 15:44:07 +02:00
|
|
|
-cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
|
2007-10-07 14:31:59 +02:00
|
|
|
+# Return the actual command name, not our pkgsrc wrapper name because several
|
|
|
|
+# decisions are made only based on compiler names
|
2009-12-15 18:35:36 +01:00
|
|
|
+if test -n "$cc_temp" && new_cc_temp=`$cc_temp --wrappee-name 2>/dev/null`; then :; else new_cc_temp="$cc_temp"; fi
|
|
|
|
+cc_basename=`$ECHO "X$new_cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
|
2007-10-07 14:31:59 +02:00
|
|
|
|
2009-12-15 18:35:36 +01:00
|
|
|
GCC=$G77
|
|
|
|
if test -n "$compiler"; then
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -17131,9 +17262,16 @@ lt_prog_compiler_static_F77=
|
2007-09-15 14:11:44 +02:00
|
|
|
;;
|
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'
|
2009-12-17 01:53:52 +01:00
|
|
|
+ lt_prog_compiler_static_F77=''
|
2012-07-26 14:04:03 +02:00
|
|
|
+ ;;
|
|
|
|
+
|
2013-04-12 15:44:07 +02:00
|
|
|
+ *mint*)
|
|
|
|
+ # FreeMiNT does not support shared libraries at all
|
|
|
|
+ lt_prog_compiler_pic_F77=
|
|
|
|
;;
|
|
|
|
|
|
|
|
haiku*)
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -17161,6 +17299,13 @@ lt_prog_compiler_static_F77=
|
2009-12-15 18:35:36 +01:00
|
|
|
# Instead, we relocate shared libraries at runtime.
|
2007-09-15 14:11:44 +02:00
|
|
|
;;
|
2006-12-15 12:28:51 +01:00
|
|
|
|
2009-12-15 18:35:36 +01:00
|
|
|
+ mint*)
|
|
|
|
+ # Just because we use GCC doesn't mean we suddenly get shared libraries
|
|
|
|
+ # on systems that don't support them.
|
2009-12-17 01:53:52 +01:00
|
|
|
+ lt_prog_compiler_can_build_shared_F77=no
|
2009-12-15 18:35:36 +01:00
|
|
|
+ enable_shared=no
|
2007-09-15 14:11:44 +02:00
|
|
|
+ ;;
|
|
|
|
+
|
2009-12-15 18:35:36 +01:00
|
|
|
msdosdjgpp*)
|
|
|
|
# Just because we use GCC doesn't mean we suddenly get shared libraries
|
|
|
|
# on systems that don't support them.
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -17313,6 +17458,15 @@ lt_prog_compiler_static_F77=
|
2012-07-26 14:04:03 +02:00
|
|
|
esac
|
|
|
|
;;
|
|
|
|
|
|
|
|
+ mirbsd*)
|
|
|
|
+ case $cc_basename in
|
|
|
|
+ # pkgsrc f77 is f2c, which uses gcc underneath.
|
|
|
|
+ f77*)
|
|
|
|
+ lt_prog_compiler_wl_F77='-Wl,'
|
|
|
|
+ ;;
|
|
|
|
+ esac
|
|
|
|
+ ;;
|
|
|
|
+
|
|
|
|
newsos6)
|
|
|
|
lt_prog_compiler_pic_F77='-KPIC'
|
|
|
|
lt_prog_compiler_static_F77='-Bstatic'
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -17388,6 +17542,9 @@ lt_prog_compiler_static_F77=
|
2009-12-15 18:35:36 +01:00
|
|
|
|
|
|
|
case $host_os in
|
|
|
|
# For platforms which do not support PIC, -DPIC is meaningless:
|
|
|
|
+ mint*)
|
2009-12-17 01:53:52 +01:00
|
|
|
+ lt_prog_compiler_pic_F77=
|
2009-12-15 18:35:36 +01:00
|
|
|
+ ;;
|
|
|
|
*djgpp*)
|
|
|
|
lt_prog_compiler_pic_F77=
|
|
|
|
;;
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -17918,16 +18075,29 @@ _LT_EOF
|
2011-03-23 16:46:36 +01:00
|
|
|
fi
|
|
|
|
;;
|
|
|
|
|
2013-04-12 15:44:07 +02:00
|
|
|
- netbsd*)
|
2009-12-15 18:35:36 +01:00
|
|
|
- if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
2013-04-12 15:44:07 +02:00
|
|
|
- archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
|
|
|
|
- wlarc=
|
|
|
|
+ mirbsd*)
|
|
|
|
+ if test -f /usr/libexec/ld.so; then
|
|
|
|
+ hardcode_direct_F77=yes
|
|
|
|
+ hardcode_shlibpath_var_F77=no
|
|
|
|
+ hardcode_direct_absolute_F77=yes
|
|
|
|
+ archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
|
|
|
+ archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
|
|
|
|
+ hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
|
|
|
|
+ export_dynamic_flag_spec_F77='${wl}-E'
|
2009-07-08 23:01:43 +02:00
|
|
|
else
|
2013-04-12 15:44:07 +02:00
|
|
|
- archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
|
|
- archive_expsym_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
|
|
|
+ ld_shlibs_F77=no
|
|
|
|
fi
|
2011-05-14 18:49:45 +02:00
|
|
|
;;
|
|
|
|
|
2013-04-12 15:44:07 +02:00
|
|
|
+ netbsd*)
|
|
|
|
+ archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
|
|
+ archive_expsym_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
|
|
|
+ hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
|
|
|
|
+ hardcode_direct_F77=yes
|
|
|
|
+ hardcode_shlibpath_var_F77=no
|
2014-03-08 20:57:25 +01:00
|
|
|
+ output_verbose_link_cmd=func_echo_all
|
2013-04-12 15:44:07 +02:00
|
|
|
+ ;;
|
2011-05-14 18:49:45 +02:00
|
|
|
+
|
2013-04-12 15:44:07 +02:00
|
|
|
solaris*)
|
|
|
|
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
|
|
|
|
ld_shlibs_F77=no
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -18324,7 +18494,7 @@ fi
|
2013-05-13 14:53:42 +02:00
|
|
|
allow_undefined_flag_F77="$_lt_dar_allow_undefined"
|
|
|
|
case $cc_basename in
|
|
|
|
ifort*) _lt_dar_can_shared=yes ;;
|
|
|
|
- *) _lt_dar_can_shared=$GCC ;;
|
|
|
|
+ *) _lt_dar_can_shared=yes ;;
|
|
|
|
esac
|
|
|
|
if test "$_lt_dar_can_shared" = "yes"; then
|
|
|
|
output_verbose_link_cmd=func_echo_all
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -18498,15 +18668,28 @@ $as_echo "$lt_cv_irix_exported_symbol" >
|
2011-05-14 18:49:45 +02:00
|
|
|
link_all_deplibs_F77=yes
|
|
|
|
;;
|
|
|
|
|
2013-04-12 15:44:07 +02:00
|
|
|
- netbsd*)
|
|
|
|
- if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
|
|
|
- archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
|
2011-05-14 18:49:45 +02:00
|
|
|
+ mirbsd*)
|
2013-04-12 15:44:07 +02:00
|
|
|
+ if test -f /usr/libexec/ld.so; then
|
2011-05-14 18:49:45 +02:00
|
|
|
+ hardcode_direct_F77=yes
|
|
|
|
+ hardcode_shlibpath_var_F77=no
|
|
|
|
+ hardcode_direct_absolute_F77=yes
|
2013-04-12 15:44:07 +02:00
|
|
|
+ archive_cmds_F77='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
|
|
|
|
+ archive_expsym_cmds_F77='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
|
2011-05-14 18:49:45 +02:00
|
|
|
+ hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
|
|
|
|
+ export_dynamic_flag_spec_F77='${wl}-E'
|
2013-04-12 15:44:07 +02:00
|
|
|
+ whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
|
|
|
|
else
|
|
|
|
- archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
|
2011-05-14 18:49:45 +02:00
|
|
|
+ ld_shlibs_F77=no
|
2013-04-12 15:44:07 +02:00
|
|
|
fi
|
|
|
|
- hardcode_libdir_flag_spec_F77='-R$libdir'
|
2011-05-14 18:49:45 +02:00
|
|
|
+ ;;
|
|
|
|
+
|
2013-04-12 15:44:07 +02:00
|
|
|
+ netbsd*)
|
|
|
|
+ archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
|
|
+ archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
|
|
|
+ hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
|
|
|
|
hardcode_direct_F77=yes
|
|
|
|
hardcode_shlibpath_var_F77=no
|
2014-03-08 20:57:25 +01:00
|
|
|
+ output_verbose_link_cmd=func_echo_all
|
2013-04-12 15:44:07 +02:00
|
|
|
;;
|
2014-03-08 20:57:25 +01:00
|
|
|
|
|
|
|
newsos6)
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -18518,6 +18701,11 @@ $as_echo "$lt_cv_irix_exported_symbol" >
|
2007-09-15 14:11:44 +02:00
|
|
|
;;
|
|
|
|
|
2009-12-15 18:35:36 +01:00
|
|
|
*nto* | *qnx*)
|
2009-12-17 01:53:52 +01:00
|
|
|
+ archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
|
|
+ archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
2013-04-12 15:44:07 +02:00
|
|
|
+ hardcode_libdir_flag_spec_F77='-R$libdir'
|
|
|
|
+ hardcode_direct_F77=yes
|
|
|
|
+ hardcode_shlibpath_var_F77=no
|
2007-09-15 14:11:44 +02:00
|
|
|
;;
|
|
|
|
|
2009-12-15 18:35:36 +01:00
|
|
|
openbsd*)
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -19126,7 +19314,7 @@ dgux*)
|
2013-04-12 15:44:07 +02:00
|
|
|
shlibpath_var=LD_LIBRARY_PATH
|
2007-09-15 14:11:44 +02:00
|
|
|
;;
|
|
|
|
|
|
|
|
-freebsd* | dragonfly*)
|
|
|
|
+freebsd*)
|
2013-04-12 15:44:07 +02:00
|
|
|
# DragonFly does not have aout. When/if they implement a new
|
|
|
|
# versioning mechanism, adjust this.
|
2007-09-15 14:11:44 +02:00
|
|
|
if test -x /usr/bin/objformat; then
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -19140,7 +19328,7 @@ freebsd* | dragonfly*)
|
2007-09-15 14:11:44 +02:00
|
|
|
version_type=freebsd-$objformat
|
|
|
|
case $version_type in
|
|
|
|
freebsd-elf*)
|
2004-02-23 11:54:08 +01:00
|
|
|
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
|
2007-09-15 14:11:44 +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
|
|
|
need_version=no
|
|
|
|
need_lib_prefix=no
|
|
|
|
;;
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -19163,13 +19351,24 @@ freebsd* | dragonfly*)
|
2009-03-24 00:03:58 +01:00
|
|
|
shlibpath_overrides_runpath=no
|
|
|
|
hardcode_into_libs=yes
|
|
|
|
;;
|
|
|
|
- *) # from 4.6 on, and DragonFly
|
|
|
|
+ *) # from 4.6 on
|
|
|
|
shlibpath_overrides_runpath=yes
|
|
|
|
hardcode_into_libs=yes
|
|
|
|
;;
|
2007-09-15 14:11:44 +02:00
|
|
|
esac
|
|
|
|
;;
|
|
|
|
|
|
|
|
+dragonfly*)
|
2009-03-24 00:03:58 +01:00
|
|
|
+ version_type=linux
|
2007-09-15 14:11:44 +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}'
|
2009-03-24 00:03:58 +01:00
|
|
|
+ soname_spec='${libname}${release}${shared_ext}$major'
|
2007-09-15 14:11:44 +02:00
|
|
|
+ shlibpath_var=LD_LIBRARY_PATH
|
|
|
|
+ shlibpath_overrides_runpath=no
|
|
|
|
+ hardcode_into_libs=yes
|
|
|
|
+ ;;
|
|
|
|
+
|
|
|
|
gnu*)
|
2013-04-12 15:44:07 +02:00
|
|
|
version_type=linux # correct to gnu/linux during the next big refactor
|
2007-09-15 14:11:44 +02:00
|
|
|
need_lib_prefix=no
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -19257,12 +19456,7 @@ interix[3-9]*)
|
2007-09-15 14:11:44 +02:00
|
|
|
irix5* | irix6* | nonstopux*)
|
2004-02-23 11:54:08 +01:00
|
|
|
case $host_os in
|
|
|
|
nonstopux*) version_type=nonstopux ;;
|
|
|
|
- *)
|
|
|
|
- if test "$lt_cv_prog_gnu_ld" = yes; then
|
2013-04-12 15:44:07 +02:00
|
|
|
- version_type=linux # correct to gnu/linux during the next big refactor
|
2004-02-23 11:54:08 +01:00
|
|
|
- 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
|
2007-09-15 14:11:44 +02:00
|
|
|
need_version=no
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -19355,19 +19549,36 @@ fi
|
2011-05-14 18:49:45 +02:00
|
|
|
dynamic_linker='GNU/Linux ld.so'
|
2007-09-15 14:11:44 +02:00
|
|
|
;;
|
2004-02-23 11:54:08 +01:00
|
|
|
|
2011-05-14 18:49:45 +02:00
|
|
|
+midnightbsd*)
|
|
|
|
+ version_type=linux
|
|
|
|
+ need_lib_prefix=no
|
|
|
|
+ need_version=no
|
|
|
|
+ library_names_spec='${libname}${release}${shared_ext}${versuffix2} ${libname}${release}${shared_ext} $libname${shared_ext}'
|
|
|
|
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
|
|
+ shlibpath_var=LD_LIBRARY_PATH
|
|
|
|
+ shlibpath_overrides_runpath=yes
|
|
|
|
+ hardcode_into_libs=yes
|
|
|
|
+ ;;
|
|
|
|
+
|
|
|
|
+mirbsd*)
|
|
|
|
+ version_type=linux
|
|
|
|
+ sys_lib_search_path_spec="/usr/lib"
|
|
|
|
+ sys_lib_dlsearch_path_spec="/usr/lib"
|
|
|
|
+ need_lib_prefix=no
|
|
|
|
+ need_version=no
|
|
|
|
+ library_names_spec='${libname}${release}${shared_ext}${versuffix2} ${libname}${shared_ext}${versuffix2}'
|
|
|
|
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
|
|
+ shlibpath_var=LD_LIBRARY_PATH
|
|
|
|
+ shlibpath_overrides_runpath=yes
|
|
|
|
+ ;;
|
|
|
|
+
|
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
|
2010-03-17 11:59:44 +01:00
|
|
|
- if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
2004-10-03 02:12:51 +02:00
|
|
|
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
|
2013-04-12 15:44:07 +02:00
|
|
|
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
|
|
- dynamic_linker='NetBSD (a.out) ld.so'
|
|
|
|
- else
|
2009-12-15 18:35:36 +01:00
|
|
|
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
2013-04-12 15:44:07 +02:00
|
|
|
- soname_spec='${libname}${release}${shared_ext}$major'
|
|
|
|
- dynamic_linker='NetBSD ld.elf_so'
|
|
|
|
- fi
|
|
|
|
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
|
|
|
+ soname_spec='${libname}${release}${shared_ext}$major'
|
|
|
|
+ dynamic_linker='NetBSD ld.elf_so'
|
|
|
|
shlibpath_var=LD_LIBRARY_PATH
|
|
|
|
shlibpath_overrides_runpath=yes
|
|
|
|
hardcode_into_libs=yes
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -19393,7 +19604,7 @@ newsos6)
|
2007-09-15 14:11:44 +02:00
|
|
|
;;
|
2004-10-03 02:12:51 +02:00
|
|
|
|
|
|
|
openbsd*)
|
|
|
|
- version_type=sunos
|
|
|
|
+ version_type=linux
|
2006-01-30 23:19:56 +01:00
|
|
|
sys_lib_dlsearch_path_spec="/usr/lib"
|
2004-05-25 17:17:07 +02:00
|
|
|
need_lib_prefix=no
|
2007-09-15 14:11:44 +02:00
|
|
|
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -19401,7 +19612,7 @@ openbsd*)
|
2009-12-15 18:35:36 +01:00
|
|
|
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
|
|
|
|
*) need_version=no ;;
|
2005-05-18 13:57:01 +02:00
|
|
|
esac
|
2004-05-25 17:17:07 +02:00
|
|
|
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
|
2007-09-15 14:11:44 +02:00
|
|
|
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
2004-05-25 17:17:07 +02:00
|
|
|
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
|
|
shlibpath_var=LD_LIBRARY_PATH
|
2009-12-15 18:35:36 +01:00
|
|
|
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -19966,7 +20177,10 @@ $RM -r conftest*
|
2007-10-07 14:31:59 +02:00
|
|
|
*) break;;
|
|
|
|
esac
|
|
|
|
done
|
2013-04-12 15:44:07 +02:00
|
|
|
-cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
|
2007-10-07 14:31:59 +02:00
|
|
|
+# Return the actual command name, not our pkgsrc wrapper name because several
|
|
|
|
+# decisions are made only based on compiler names
|
2009-12-15 18:35:36 +01:00
|
|
|
+if test -n "$cc_temp" && new_cc_temp=`$cc_temp --wrappee-name 2>/dev/null`; then :; else new_cc_temp="$cc_temp"; fi
|
|
|
|
+cc_basename=`$ECHO "X$new_cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
|
2006-12-15 12:28:51 +01:00
|
|
|
|
2007-09-15 14:11:44 +02:00
|
|
|
|
2009-12-15 18:35:36 +01:00
|
|
|
if test -n "$compiler"; then
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -20052,13 +20266,11 @@ if { { eval echo "\"\$as_me\":${as_linen
|
|
|
|
case ${prev}${p} in
|
|
|
|
|
|
|
|
-L* | -R* | -l*)
|
|
|
|
- # Some compilers place space between "-{L,R}" and the path.
|
|
|
|
- # Remove the space.
|
|
|
|
- if test $p = "-L" ||
|
|
|
|
- test $p = "-R"; then
|
|
|
|
- prev=$p
|
|
|
|
- continue
|
|
|
|
- fi
|
|
|
|
+ # Some compilers place space between "-{L,R,l}" and the path or
|
|
|
|
+ # library. Remove the space.
|
|
|
|
+ case $p in
|
|
|
|
+ -L|-R|-l) prev=$p; continue ;;
|
|
|
|
+ esac
|
|
|
|
|
|
|
|
# Expand the sysroot to ease extracting the directories later.
|
|
|
|
if test -z "$prev"; then
|
|
|
|
@@ -20203,9 +20415,16 @@ lt_prog_compiler_static_FC=
|
2007-09-15 14:11:44 +02:00
|
|
|
;;
|
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
|
2009-12-15 18:35:36 +01:00
|
|
|
lt_prog_compiler_pic_FC='-fno-common'
|
2009-12-17 01:53:52 +01:00
|
|
|
+ lt_prog_compiler_static_FC=''
|
2012-07-26 14:04:03 +02:00
|
|
|
+ ;;
|
|
|
|
+
|
2013-04-12 15:44:07 +02:00
|
|
|
+ *mint*)
|
|
|
|
+ # FreeMiNT does not support shared libraries at all
|
|
|
|
+ lt_prog_compiler_pic_FC=
|
|
|
|
;;
|
|
|
|
|
|
|
|
haiku*)
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -20233,6 +20452,13 @@ lt_prog_compiler_static_FC=
|
2009-12-15 18:35:36 +01:00
|
|
|
# Instead, we relocate shared libraries at runtime.
|
2007-09-15 14:11:44 +02:00
|
|
|
;;
|
2006-12-15 12:28:51 +01:00
|
|
|
|
2009-12-15 18:35:36 +01:00
|
|
|
+ mint*)
|
|
|
|
+ # Just because we use GCC doesn't mean we suddenly get shared libraries
|
|
|
|
+ # on systems that don't support them.
|
2009-12-17 01:53:52 +01:00
|
|
|
+ lt_prog_compiler_can_build_shared_FC=no
|
2009-12-15 18:35:36 +01:00
|
|
|
+ enable_shared=no
|
2007-09-15 14:11:44 +02:00
|
|
|
+ ;;
|
|
|
|
+
|
2009-12-15 18:35:36 +01:00
|
|
|
msdosdjgpp*)
|
|
|
|
# Just because we use GCC doesn't mean we suddenly get shared libraries
|
|
|
|
# on systems that don't support them.
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -20385,6 +20611,15 @@ lt_prog_compiler_static_FC=
|
2012-07-26 14:04:03 +02:00
|
|
|
esac
|
|
|
|
;;
|
|
|
|
|
|
|
|
+ mirbsd*)
|
|
|
|
+ case $cc_basename in
|
|
|
|
+ # pkgsrc f77 is f2c, which uses gcc underneath.
|
|
|
|
+ f77*)
|
|
|
|
+ lt_prog_compiler_wl_FC='-Wl,'
|
|
|
|
+ ;;
|
|
|
|
+ esac
|
|
|
|
+ ;;
|
|
|
|
+
|
|
|
|
newsos6)
|
|
|
|
lt_prog_compiler_pic_FC='-KPIC'
|
|
|
|
lt_prog_compiler_static_FC='-Bstatic'
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -20460,6 +20695,9 @@ lt_prog_compiler_static_FC=
|
2009-12-15 18:35:36 +01:00
|
|
|
|
|
|
|
case $host_os in
|
|
|
|
# For platforms which do not support PIC, -DPIC is meaningless:
|
|
|
|
+ mint*)
|
2009-12-17 01:53:52 +01:00
|
|
|
+ lt_prog_compiler_pic_FC=
|
2009-12-15 18:35:36 +01:00
|
|
|
+ ;;
|
|
|
|
*djgpp*)
|
|
|
|
lt_prog_compiler_pic_FC=
|
|
|
|
;;
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -20990,16 +21228,29 @@ _LT_EOF
|
2011-03-23 16:46:36 +01:00
|
|
|
fi
|
|
|
|
;;
|
|
|
|
|
2013-04-12 15:44:07 +02:00
|
|
|
- netbsd*)
|
2009-12-15 18:35:36 +01:00
|
|
|
- if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
2013-04-12 15:44:07 +02:00
|
|
|
- archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
|
|
|
|
- wlarc=
|
|
|
|
+ mirbsd*)
|
|
|
|
+ if test -f /usr/libexec/ld.so; then
|
|
|
|
+ hardcode_direct_FC=yes
|
|
|
|
+ hardcode_shlibpath_var_FC=no
|
|
|
|
+ hardcode_direct_absolute_FC=yes
|
|
|
|
+ archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
|
|
|
+ archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
|
|
|
|
+ hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
|
|
|
|
+ export_dynamic_flag_spec_FC='${wl}-E'
|
2009-07-08 23:01:43 +02:00
|
|
|
else
|
2013-04-12 15:44:07 +02:00
|
|
|
- archive_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
|
|
- archive_expsym_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
|
|
|
+ ld_shlibs_FC=no
|
|
|
|
fi
|
2011-05-14 18:49:45 +02:00
|
|
|
;;
|
|
|
|
|
2013-04-12 15:44:07 +02:00
|
|
|
+ netbsd*)
|
|
|
|
+ archive_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
|
|
+ archive_expsym_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
|
|
|
+ hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
|
|
|
|
+ hardcode_direct_FC=yes
|
|
|
|
+ hardcode_shlibpath_var_FC=no
|
2014-03-08 20:57:25 +01:00
|
|
|
+ output_verbose_link_cmd=func_echo_all
|
2013-04-12 15:44:07 +02:00
|
|
|
+ ;;
|
2011-05-14 18:49:45 +02:00
|
|
|
+
|
2013-04-12 15:44:07 +02:00
|
|
|
solaris*)
|
|
|
|
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
|
|
|
|
ld_shlibs_FC=no
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -21396,7 +21647,7 @@ fi
|
2013-05-13 14:53:42 +02:00
|
|
|
allow_undefined_flag_FC="$_lt_dar_allow_undefined"
|
|
|
|
case $cc_basename in
|
|
|
|
ifort*) _lt_dar_can_shared=yes ;;
|
|
|
|
- *) _lt_dar_can_shared=$GCC ;;
|
|
|
|
+ *) _lt_dar_can_shared=yes ;;
|
|
|
|
esac
|
|
|
|
if test "$_lt_dar_can_shared" = "yes"; then
|
|
|
|
output_verbose_link_cmd=func_echo_all
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -21570,15 +21821,28 @@ $as_echo "$lt_cv_irix_exported_symbol" >
|
2011-05-14 18:49:45 +02:00
|
|
|
link_all_deplibs_FC=yes
|
|
|
|
;;
|
|
|
|
|
2013-04-12 15:44:07 +02:00
|
|
|
- netbsd*)
|
|
|
|
- if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
|
|
|
- archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
|
2011-05-14 18:49:45 +02:00
|
|
|
+ mirbsd*)
|
2013-04-12 15:44:07 +02:00
|
|
|
+ if test -f /usr/libexec/ld.so; then
|
2011-05-14 18:49:45 +02:00
|
|
|
+ hardcode_direct_FC=yes
|
|
|
|
+ hardcode_shlibpath_var_FC=no
|
|
|
|
+ hardcode_direct_absolute_FC=yes
|
2013-04-12 15:44:07 +02:00
|
|
|
+ archive_cmds_FC='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
|
|
|
|
+ archive_expsym_cmds_FC='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
|
2011-05-14 18:49:45 +02:00
|
|
|
+ hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
|
|
|
|
+ export_dynamic_flag_spec_FC='${wl}-E'
|
2013-04-12 15:44:07 +02:00
|
|
|
+ whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
|
|
|
|
else
|
|
|
|
- archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
|
2011-05-14 18:49:45 +02:00
|
|
|
+ ld_shlibs_FC=no
|
2013-04-12 15:44:07 +02:00
|
|
|
fi
|
|
|
|
- hardcode_libdir_flag_spec_FC='-R$libdir'
|
2011-05-14 18:49:45 +02:00
|
|
|
+ ;;
|
|
|
|
+
|
2013-04-12 15:44:07 +02:00
|
|
|
+ netbsd*)
|
|
|
|
+ archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
|
|
+ archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
|
|
|
+ hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
|
|
|
|
hardcode_direct_FC=yes
|
|
|
|
hardcode_shlibpath_var_FC=no
|
2014-03-08 20:57:25 +01:00
|
|
|
+ output_verbose_link_cmd=func_echo_all
|
2013-04-12 15:44:07 +02:00
|
|
|
;;
|
2014-03-08 20:57:25 +01:00
|
|
|
|
|
|
|
newsos6)
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -21590,6 +21854,11 @@ $as_echo "$lt_cv_irix_exported_symbol" >
|
2007-09-15 14:11:44 +02:00
|
|
|
;;
|
|
|
|
|
2009-12-15 18:35:36 +01:00
|
|
|
*nto* | *qnx*)
|
2009-12-17 01:53:52 +01:00
|
|
|
+ archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
|
|
+ archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
2013-04-12 15:44:07 +02:00
|
|
|
+ hardcode_libdir_flag_spec_FC='-R$libdir'
|
|
|
|
+ hardcode_direct_FC=yes
|
|
|
|
+ hardcode_shlibpath_var_FC=no
|
2007-09-15 14:11:44 +02:00
|
|
|
;;
|
|
|
|
|
2009-12-15 18:35:36 +01:00
|
|
|
openbsd*)
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -22198,7 +22467,7 @@ dgux*)
|
2013-04-12 15:44:07 +02:00
|
|
|
shlibpath_var=LD_LIBRARY_PATH
|
2007-09-15 14:11:44 +02:00
|
|
|
;;
|
|
|
|
|
|
|
|
-freebsd* | dragonfly*)
|
|
|
|
+freebsd*)
|
2013-04-12 15:44:07 +02:00
|
|
|
# DragonFly does not have aout. When/if they implement a new
|
|
|
|
# versioning mechanism, adjust this.
|
2007-09-15 14:11:44 +02:00
|
|
|
if test -x /usr/bin/objformat; then
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -22212,7 +22481,7 @@ freebsd* | dragonfly*)
|
2007-09-15 14:11:44 +02:00
|
|
|
version_type=freebsd-$objformat
|
|
|
|
case $version_type in
|
|
|
|
freebsd-elf*)
|
2004-04-20 20:29:34 +02:00
|
|
|
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
|
2007-09-15 14:11:44 +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
|
|
|
need_version=no
|
|
|
|
need_lib_prefix=no
|
|
|
|
;;
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -22235,13 +22504,24 @@ freebsd* | dragonfly*)
|
2009-03-24 00:03:58 +01:00
|
|
|
shlibpath_overrides_runpath=no
|
|
|
|
hardcode_into_libs=yes
|
|
|
|
;;
|
|
|
|
- *) # from 4.6 on, and DragonFly
|
|
|
|
+ *) # from 4.6 on
|
|
|
|
shlibpath_overrides_runpath=yes
|
|
|
|
hardcode_into_libs=yes
|
|
|
|
;;
|
2007-09-15 14:11:44 +02:00
|
|
|
esac
|
|
|
|
;;
|
|
|
|
|
|
|
|
+dragonfly*)
|
2009-03-24 00:03:58 +01:00
|
|
|
+ version_type=linux
|
2007-09-15 14:11:44 +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}'
|
2009-03-24 00:03:58 +01:00
|
|
|
+ soname_spec='${libname}${release}${shared_ext}$major'
|
2007-09-15 14:11:44 +02:00
|
|
|
+ shlibpath_var=LD_LIBRARY_PATH
|
|
|
|
+ shlibpath_overrides_runpath=no
|
|
|
|
+ hardcode_into_libs=yes
|
|
|
|
+ ;;
|
|
|
|
+
|
|
|
|
gnu*)
|
2013-04-12 15:44:07 +02:00
|
|
|
version_type=linux # correct to gnu/linux during the next big refactor
|
2007-09-15 14:11:44 +02:00
|
|
|
need_lib_prefix=no
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -22329,12 +22609,7 @@ interix[3-9]*)
|
2007-09-15 14:11:44 +02:00
|
|
|
irix5* | irix6* | nonstopux*)
|
2004-04-20 20:29:34 +02:00
|
|
|
case $host_os in
|
|
|
|
nonstopux*) version_type=nonstopux ;;
|
|
|
|
- *)
|
|
|
|
- if test "$lt_cv_prog_gnu_ld" = yes; then
|
2013-04-12 15:44:07 +02:00
|
|
|
- version_type=linux # correct to gnu/linux during the next big refactor
|
2004-04-20 20:29:34 +02:00
|
|
|
- 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
|
2007-09-15 14:11:44 +02:00
|
|
|
need_version=no
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -22427,19 +22702,36 @@ fi
|
2011-05-14 18:49:45 +02:00
|
|
|
dynamic_linker='GNU/Linux ld.so'
|
2007-09-15 14:11:44 +02:00
|
|
|
;;
|
2004-04-20 20:29:34 +02:00
|
|
|
|
2011-05-14 18:49:45 +02:00
|
|
|
+midnightbsd*)
|
|
|
|
+ version_type=linux
|
|
|
|
+ need_lib_prefix=no
|
|
|
|
+ need_version=no
|
|
|
|
+ library_names_spec='${libname}${release}${shared_ext}${versuffix2} ${libname}${release}${shared_ext} $libname${shared_ext}'
|
|
|
|
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
|
|
+ shlibpath_var=LD_LIBRARY_PATH
|
|
|
|
+ shlibpath_overrides_runpath=yes
|
|
|
|
+ hardcode_into_libs=yes
|
|
|
|
+ ;;
|
|
|
|
+
|
|
|
|
+mirbsd*)
|
|
|
|
+ version_type=linux
|
|
|
|
+ sys_lib_search_path_spec="/usr/lib"
|
|
|
|
+ sys_lib_dlsearch_path_spec="/usr/lib"
|
|
|
|
+ need_lib_prefix=no
|
|
|
|
+ need_version=no
|
|
|
|
+ library_names_spec='${libname}${release}${shared_ext}${versuffix2} ${libname}${shared_ext}${versuffix2}'
|
|
|
|
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
|
|
+ shlibpath_var=LD_LIBRARY_PATH
|
|
|
|
+ shlibpath_overrides_runpath=yes
|
|
|
|
+ ;;
|
|
|
|
+
|
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
|
2010-03-17 11:59:44 +01:00
|
|
|
- if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
2004-10-03 02:12:51 +02:00
|
|
|
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
|
2013-04-12 15:44:07 +02:00
|
|
|
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
|
|
- dynamic_linker='NetBSD (a.out) ld.so'
|
|
|
|
- else
|
2009-12-15 18:35:36 +01:00
|
|
|
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
2013-04-12 15:44:07 +02:00
|
|
|
- soname_spec='${libname}${release}${shared_ext}$major'
|
|
|
|
- dynamic_linker='NetBSD ld.elf_so'
|
|
|
|
- fi
|
|
|
|
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
|
|
|
+ soname_spec='${libname}${release}${shared_ext}$major'
|
|
|
|
+ dynamic_linker='NetBSD ld.elf_so'
|
|
|
|
shlibpath_var=LD_LIBRARY_PATH
|
|
|
|
shlibpath_overrides_runpath=yes
|
|
|
|
hardcode_into_libs=yes
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -22465,7 +22757,7 @@ newsos6)
|
2007-09-15 14:11:44 +02:00
|
|
|
;;
|
2004-10-03 02:12:51 +02:00
|
|
|
|
|
|
|
openbsd*)
|
|
|
|
- version_type=sunos
|
|
|
|
+ version_type=linux
|
2006-01-30 23:19:56 +01:00
|
|
|
sys_lib_dlsearch_path_spec="/usr/lib"
|
2004-05-25 17:17:07 +02:00
|
|
|
need_lib_prefix=no
|
2007-09-15 14:11:44 +02:00
|
|
|
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -22473,7 +22765,7 @@ openbsd*)
|
2009-12-15 18:35:36 +01:00
|
|
|
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
|
|
|
|
*) need_version=no ;;
|
2005-05-18 13:57:01 +02:00
|
|
|
esac
|
2004-05-25 17:17:07 +02:00
|
|
|
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
|
2007-09-15 14:11:44 +02:00
|
|
|
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
2004-05-25 17:17:07 +02:00
|
|
|
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
|
|
shlibpath_var=LD_LIBRARY_PATH
|
2009-12-15 18:35:36 +01:00
|
|
|
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -22883,7 +23175,10 @@ for cc_temp in $compiler""; do
|
2009-12-15 18:35:36 +01:00
|
|
|
*) break;;
|
|
|
|
esac
|
|
|
|
done
|
2013-04-12 15:44:07 +02:00
|
|
|
-cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
|
|
|
|
+# Return the actual command name, not our pkgsrc wrapper name because several
|
|
|
|
+# decisions are made only based on compiler names
|
|
|
|
+if test -n "$cc_temp" && new_cc_temp=`$cc_temp --wrappee-name 2>/dev/null`; then :; else new_cc_temp="$cc_temp"; fi
|
|
|
|
+cc_basename=`$ECHO "X$new_cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
|
|
|
|
|
|
|
|
|
|
|
|
# Go did not exist at the time GCC didn't implicitly link libc in.
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -23003,9 +23298,16 @@ lt_prog_compiler_static_GO=
|
2013-04-12 15:44:07 +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_GO='-fno-common'
|
|
|
|
+ lt_prog_compiler_static_GO=''
|
|
|
|
+ ;;
|
|
|
|
+
|
|
|
|
+ *mint*)
|
|
|
|
+ # FreeMiNT does not support shared libraries at all
|
|
|
|
+ lt_prog_compiler_pic_GO=
|
|
|
|
;;
|
|
|
|
|
|
|
|
haiku*)
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -23033,6 +23335,13 @@ lt_prog_compiler_static_GO=
|
2013-04-12 15:44:07 +02:00
|
|
|
# Instead, we relocate shared libraries at runtime.
|
|
|
|
;;
|
|
|
|
|
|
|
|
+ mint*)
|
|
|
|
+ # Just because we use GCC doesn't mean we suddenly get shared libraries
|
|
|
|
+ # on systems that don't support them.
|
|
|
|
+ lt_prog_compiler_can_build_shared_GO=no
|
|
|
|
+ enable_shared=no
|
|
|
|
+ ;;
|
|
|
|
+
|
|
|
|
msdosdjgpp*)
|
|
|
|
# Just because we use GCC doesn't mean we suddenly get shared libraries
|
|
|
|
# on systems that don't support them.
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -23185,6 +23494,15 @@ lt_prog_compiler_static_GO=
|
2013-04-12 15:44:07 +02:00
|
|
|
esac
|
|
|
|
;;
|
|
|
|
|
|
|
|
+ mirbsd*)
|
|
|
|
+ case $cc_basename in
|
|
|
|
+ # pkgsrc f77 is f2c, which uses gcc underneath.
|
|
|
|
+ f77*)
|
|
|
|
+ lt_prog_compiler_wl_GO='-Wl,'
|
|
|
|
+ ;;
|
|
|
|
+ esac
|
|
|
|
+ ;;
|
|
|
|
+
|
|
|
|
newsos6)
|
|
|
|
lt_prog_compiler_pic_GO='-KPIC'
|
|
|
|
lt_prog_compiler_static_GO='-Bstatic'
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -23260,6 +23578,9 @@ lt_prog_compiler_static_GO=
|
2013-04-12 15:44:07 +02:00
|
|
|
|
|
|
|
case $host_os in
|
|
|
|
# For platforms which do not support PIC, -DPIC is meaningless:
|
|
|
|
+ mint*)
|
|
|
|
+ lt_prog_compiler_pic_GO=
|
|
|
|
+ ;;
|
|
|
|
*djgpp*)
|
|
|
|
lt_prog_compiler_pic_GO=
|
|
|
|
;;
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -23790,16 +24111,29 @@ _LT_EOF
|
2013-04-12 15:44:07 +02:00
|
|
|
fi
|
|
|
|
;;
|
|
|
|
|
|
|
|
- netbsd*)
|
|
|
|
- if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
|
|
|
- archive_cmds_GO='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
|
|
|
|
- wlarc=
|
|
|
|
+ mirbsd*)
|
|
|
|
+ if test -f /usr/libexec/ld.so; then
|
|
|
|
+ hardcode_direct_GO=yes
|
|
|
|
+ hardcode_shlibpath_var_GO=no
|
|
|
|
+ hardcode_direct_absolute_GO=yes
|
|
|
|
+ archive_cmds_GO='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
|
|
|
+ archive_expsym_cmds_GO='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
|
|
|
|
+ hardcode_libdir_flag_spec_GO='${wl}-rpath,$libdir'
|
|
|
|
+ export_dynamic_flag_spec_GO='${wl}-E'
|
|
|
|
else
|
|
|
|
- archive_cmds_GO='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
|
|
- archive_expsym_cmds_GO='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
|
|
|
+ ld_shlibs_GO=no
|
|
|
|
fi
|
|
|
|
;;
|
|
|
|
|
|
|
|
+ netbsd*)
|
|
|
|
+ archive_cmds_GO='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
|
|
+ archive_expsym_cmds_GO='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
|
|
|
+ hardcode_libdir_flag_spec_GO='${wl}-rpath,$libdir'
|
|
|
|
+ hardcode_direct_GO=yes
|
|
|
|
+ hardcode_shlibpath_var_GO=no
|
2014-03-08 20:57:25 +01:00
|
|
|
+ output_verbose_link_cmd=func_echo_all
|
2013-04-12 15:44:07 +02:00
|
|
|
+ ;;
|
|
|
|
+
|
|
|
|
solaris*)
|
|
|
|
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
|
|
|
|
ld_shlibs_GO=no
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -24208,7 +24542,7 @@ fi
|
2013-05-13 14:53:42 +02:00
|
|
|
allow_undefined_flag_GO="$_lt_dar_allow_undefined"
|
|
|
|
case $cc_basename in
|
|
|
|
ifort*) _lt_dar_can_shared=yes ;;
|
|
|
|
- *) _lt_dar_can_shared=$GCC ;;
|
|
|
|
+ *) _lt_dar_can_shared=yes ;;
|
|
|
|
esac
|
|
|
|
if test "$_lt_dar_can_shared" = "yes"; then
|
|
|
|
output_verbose_link_cmd=func_echo_all
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -24381,15 +24715,28 @@ $as_echo "$lt_cv_irix_exported_symbol" >
|
2013-04-12 15:44:07 +02:00
|
|
|
link_all_deplibs_GO=yes
|
|
|
|
;;
|
|
|
|
|
|
|
|
- netbsd*)
|
|
|
|
- if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
|
|
|
- archive_cmds_GO='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
|
|
|
|
+ mirbsd*)
|
|
|
|
+ if test -f /usr/libexec/ld.so; then
|
|
|
|
+ hardcode_direct_GO=yes
|
|
|
|
+ hardcode_shlibpath_var_GO=no
|
|
|
|
+ hardcode_direct_absolute_GO=yes
|
|
|
|
+ archive_cmds_GO='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
|
|
|
|
+ archive_expsym_cmds_GO='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
|
|
|
|
+ hardcode_libdir_flag_spec_GO='${wl}-rpath,$libdir'
|
|
|
|
+ export_dynamic_flag_spec_GO='${wl}-E'
|
|
|
|
+ whole_archive_flag_spec_GO="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
|
|
|
|
else
|
|
|
|
- archive_cmds_GO='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
|
|
|
|
+ ld_shlibs_GO=no
|
|
|
|
fi
|
|
|
|
- hardcode_libdir_flag_spec_GO='-R$libdir'
|
|
|
|
+ ;;
|
|
|
|
+
|
|
|
|
+ netbsd*)
|
|
|
|
+ archive_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
|
|
+ archive_expsym_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
|
|
|
+ hardcode_libdir_flag_spec_GO='${wl}-rpath,$libdir'
|
|
|
|
hardcode_direct_GO=yes
|
|
|
|
hardcode_shlibpath_var_GO=no
|
2014-03-08 20:57:25 +01:00
|
|
|
+ output_verbose_link_cmd=func_echo_all
|
2013-04-12 15:44:07 +02:00
|
|
|
;;
|
2014-03-08 20:57:25 +01:00
|
|
|
|
|
|
|
newsos6)
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -24401,6 +24748,11 @@ $as_echo "$lt_cv_irix_exported_symbol" >
|
2013-04-12 15:44:07 +02:00
|
|
|
;;
|
|
|
|
|
|
|
|
*nto* | *qnx*)
|
|
|
|
+ archive_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
|
|
+ archive_expsym_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
|
|
|
+ hardcode_libdir_flag_spec_GO='-R$libdir'
|
|
|
|
+ hardcode_direct_GO=yes
|
|
|
|
+ hardcode_shlibpath_var_GO=no
|
|
|
|
;;
|
|
|
|
|
|
|
|
openbsd*)
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -24980,7 +25332,10 @@ for cc_temp in $compiler""; do
|
2013-04-12 15:44:07 +02:00
|
|
|
*) break;;
|
|
|
|
esac
|
|
|
|
done
|
|
|
|
-cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
|
2009-12-15 18:35:36 +01:00
|
|
|
+# Return the actual command name, not our pkgsrc wrapper name because several
|
|
|
|
+# decisions are made only based on compiler names
|
|
|
|
+if test -n "$cc_temp" && new_cc_temp=`$cc_temp --wrappee-name 2>/dev/null`; then :; else new_cc_temp="$cc_temp"; fi
|
|
|
|
+cc_basename=`$ECHO "X$new_cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
|
|
|
|
|
|
|
|
|
|
|
|
# GCJ did not exist at the time GCC didn't implicitly link libc in.
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -25100,9 +25455,16 @@ lt_prog_compiler_static_GCJ=
|
2009-12-15 18:35:36 +01: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'
|
2009-12-17 01:53:52 +01:00
|
|
|
+ lt_prog_compiler_static_GCJ=''
|
2012-07-26 14:04:03 +02:00
|
|
|
+ ;;
|
|
|
|
+
|
2013-04-12 15:44:07 +02:00
|
|
|
+ *mint*)
|
|
|
|
+ # FreeMiNT does not support shared libraries at all
|
|
|
|
+ lt_prog_compiler_pic_GCJ=
|
|
|
|
;;
|
|
|
|
|
|
|
|
haiku*)
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -25130,6 +25492,13 @@ lt_prog_compiler_static_GCJ=
|
2009-12-15 18:35:36 +01:00
|
|
|
# Instead, we relocate shared libraries at runtime.
|
|
|
|
;;
|
|
|
|
|
|
|
|
+ mint*)
|
|
|
|
+ # Just because we use GCC doesn't mean we suddenly get shared libraries
|
|
|
|
+ # on systems that don't support them.
|
2009-12-17 01:53:52 +01:00
|
|
|
+ lt_prog_compiler_can_build_shared_GCJ=no
|
2009-12-15 18:35:36 +01:00
|
|
|
+ enable_shared=no
|
|
|
|
+ ;;
|
|
|
|
+
|
|
|
|
msdosdjgpp*)
|
|
|
|
# Just because we use GCC doesn't mean we suddenly get shared libraries
|
|
|
|
# on systems that don't support them.
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -25282,6 +25651,15 @@ lt_prog_compiler_static_GCJ=
|
2012-07-26 14:04:03 +02:00
|
|
|
esac
|
|
|
|
;;
|
|
|
|
|
|
|
|
+ mirbsd*)
|
|
|
|
+ case $cc_basename in
|
|
|
|
+ # pkgsrc f77 is f2c, which uses gcc underneath.
|
|
|
|
+ f77*)
|
|
|
|
+ lt_prog_compiler_wl_GCJ='-Wl,'
|
|
|
|
+ ;;
|
|
|
|
+ esac
|
|
|
|
+ ;;
|
|
|
|
+
|
|
|
|
newsos6)
|
|
|
|
lt_prog_compiler_pic_GCJ='-KPIC'
|
|
|
|
lt_prog_compiler_static_GCJ='-Bstatic'
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -25357,6 +25735,9 @@ lt_prog_compiler_static_GCJ=
|
2009-12-15 18:35:36 +01:00
|
|
|
|
|
|
|
case $host_os in
|
|
|
|
# For platforms which do not support PIC, -DPIC is meaningless:
|
|
|
|
+ mint*)
|
2009-12-17 01:53:52 +01:00
|
|
|
+ lt_prog_compiler_pic_GCJ=
|
2009-12-15 18:35:36 +01:00
|
|
|
+ ;;
|
|
|
|
*djgpp*)
|
|
|
|
lt_prog_compiler_pic_GCJ=
|
|
|
|
;;
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -25887,16 +26268,29 @@ _LT_EOF
|
2011-03-23 16:46:36 +01:00
|
|
|
fi
|
|
|
|
;;
|
|
|
|
|
2013-04-12 15:44:07 +02:00
|
|
|
- netbsd*)
|
2009-12-15 18:35:36 +01:00
|
|
|
- if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
2013-04-12 15:44:07 +02:00
|
|
|
- archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
|
|
|
|
- wlarc=
|
|
|
|
+ mirbsd*)
|
|
|
|
+ if test -f /usr/libexec/ld.so; then
|
|
|
|
+ hardcode_direct_GCJ=yes
|
|
|
|
+ hardcode_shlibpath_var_GCJ=no
|
|
|
|
+ hardcode_direct_absolute_GCJ=yes
|
|
|
|
+ archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
|
|
|
+ archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
|
|
|
|
+ hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
|
|
|
|
+ export_dynamic_flag_spec_GCJ='${wl}-E'
|
2009-12-15 18:35:36 +01:00
|
|
|
else
|
2013-04-12 15:44:07 +02:00
|
|
|
- archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
|
|
- archive_expsym_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
|
|
|
+ ld_shlibs_GCJ=no
|
|
|
|
fi
|
2011-05-14 18:49:45 +02:00
|
|
|
;;
|
|
|
|
|
2013-04-12 15:44:07 +02:00
|
|
|
+ netbsd*)
|
|
|
|
+ archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
|
|
+ archive_expsym_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
|
|
|
+ hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
|
|
|
|
+ hardcode_direct_GCJ=yes
|
|
|
|
+ hardcode_shlibpath_var_GCJ=no
|
2014-03-08 20:57:25 +01:00
|
|
|
+ output_verbose_link_cmd=func_echo_all
|
2013-04-12 15:44:07 +02:00
|
|
|
+ ;;
|
2011-05-14 18:49:45 +02:00
|
|
|
+
|
2013-04-12 15:44:07 +02:00
|
|
|
solaris*)
|
|
|
|
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
|
|
|
|
ld_shlibs_GCJ=no
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -26305,7 +26699,7 @@ fi
|
2013-05-13 14:53:42 +02:00
|
|
|
allow_undefined_flag_GCJ="$_lt_dar_allow_undefined"
|
|
|
|
case $cc_basename in
|
|
|
|
ifort*) _lt_dar_can_shared=yes ;;
|
|
|
|
- *) _lt_dar_can_shared=$GCC ;;
|
|
|
|
+ *) _lt_dar_can_shared=yes ;;
|
|
|
|
esac
|
|
|
|
if test "$_lt_dar_can_shared" = "yes"; then
|
|
|
|
output_verbose_link_cmd=func_echo_all
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -26478,15 +26872,28 @@ $as_echo "$lt_cv_irix_exported_symbol" >
|
2011-05-14 18:49:45 +02:00
|
|
|
link_all_deplibs_GCJ=yes
|
|
|
|
;;
|
|
|
|
|
2013-04-12 15:44:07 +02:00
|
|
|
- netbsd*)
|
|
|
|
- if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
|
|
|
- archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
|
2011-05-14 18:49:45 +02:00
|
|
|
+ mirbsd*)
|
2013-04-12 15:44:07 +02:00
|
|
|
+ if test -f /usr/libexec/ld.so; then
|
2011-05-14 18:49:45 +02:00
|
|
|
+ hardcode_direct_GCJ=yes
|
|
|
|
+ hardcode_shlibpath_var_GCJ=no
|
|
|
|
+ hardcode_direct_absolute_GCJ=yes
|
2013-04-12 15:44:07 +02:00
|
|
|
+ archive_cmds_GCJ='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
|
|
|
|
+ archive_expsym_cmds_GCJ='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
|
2011-05-14 18:49:45 +02:00
|
|
|
+ hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
|
|
|
|
+ export_dynamic_flag_spec_GCJ='${wl}-E'
|
2013-04-12 15:44:07 +02:00
|
|
|
+ whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
|
|
|
|
else
|
|
|
|
- archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
|
2011-05-14 18:49:45 +02:00
|
|
|
+ ld_shlibs_GCJ=no
|
2013-04-12 15:44:07 +02:00
|
|
|
fi
|
|
|
|
- hardcode_libdir_flag_spec_GCJ='-R$libdir'
|
2011-05-14 18:49:45 +02:00
|
|
|
+ ;;
|
|
|
|
+
|
2013-04-12 15:44:07 +02:00
|
|
|
+ netbsd*)
|
|
|
|
+ archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
|
|
+ archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
|
|
|
+ hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
|
|
|
|
hardcode_direct_GCJ=yes
|
|
|
|
hardcode_shlibpath_var_GCJ=no
|
2014-03-08 20:57:25 +01:00
|
|
|
+ output_verbose_link_cmd=func_echo_all
|
2013-04-12 15:44:07 +02:00
|
|
|
;;
|
2014-03-08 20:57:25 +01:00
|
|
|
|
|
|
|
newsos6)
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -26498,6 +26905,11 @@ $as_echo "$lt_cv_irix_exported_symbol" >
|
2009-12-15 18:35:36 +01:00
|
|
|
;;
|
|
|
|
|
|
|
|
*nto* | *qnx*)
|
2009-12-17 01:53:52 +01:00
|
|
|
+ archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
|
|
+ archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
2013-04-12 15:44:07 +02:00
|
|
|
+ hardcode_libdir_flag_spec_GCJ='-R$libdir'
|
|
|
|
+ hardcode_direct_GCJ=yes
|
|
|
|
+ hardcode_shlibpath_var_GCJ=no
|
2009-12-15 18:35:36 +01:00
|
|
|
;;
|
|
|
|
|
|
|
|
openbsd*)
|
2014-09-01 14:39:15 +02:00
|
|
|
@@ -27075,7 +27487,10 @@ for cc_temp in $compiler""; do
|
2007-10-07 14:31:59 +02:00
|
|
|
*) break;;
|
|
|
|
esac
|
|
|
|
done
|
2013-04-12 15:44:07 +02:00
|
|
|
-cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
|
2007-10-07 14:31:59 +02:00
|
|
|
+# Return the actual command name, not our pkgsrc wrapper name because several
|
|
|
|
+# decisions are made only based on compiler names
|
2009-12-15 18:35:36 +01:00
|
|
|
+if test -n "$cc_temp" && new_cc_temp=`$cc_temp --wrappee-name 2>/dev/null`; then :; else new_cc_temp="$cc_temp"; fi
|
|
|
|
+cc_basename=`$ECHO "X$new_cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
|
2007-10-07 14:31:59 +02:00
|
|
|
|
|
|
|
lt_cv_prog_compiler_c_o_RC=yes
|
|
|
|
|