Mon May 13 12:53:42 2013 UTC ()
In configure: changed _lt_dar_can_shared=$GCC to _lt_dar_can_shared=yes, so libtool can create shared libraries on Darwin/Mac OS X, when f77 is not present.


(adam)
diff -r1.86 -r1.87 pkgsrc/devel/libtool/distinfo
diff -r1.74 -r1.75 pkgsrc/devel/libtool/patches/patch-ab

cvs diff -r1.86 -r1.87 pkgsrc/devel/libtool/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/libtool/distinfo 2013/04/12 13:44:08 1.86
+++ pkgsrc/devel/libtool/distinfo 2013/05/13 12:53:42 1.87
@@ -1,9 +1,9 @@ @@ -1,9 +1,9 @@
1$NetBSD: distinfo,v 1.86 2013/04/12 13:44:08 joerg Exp $ 1$NetBSD: distinfo,v 1.87 2013/05/13 12:53:42 adam Exp $
2 2
3SHA1 (libtool-2.4.2.tar.gz) = 22b71a8b5ce3ad86e1094e7285981cae10e6ff88 3SHA1 (libtool-2.4.2.tar.gz) = 22b71a8b5ce3ad86e1094e7285981cae10e6ff88
4RMD160 (libtool-2.4.2.tar.gz) = b7153f3f1e1c50d8c04787cafccd4e19af62ec7d 4RMD160 (libtool-2.4.2.tar.gz) = b7153f3f1e1c50d8c04787cafccd4e19af62ec7d
5Size (libtool-2.4.2.tar.gz) = 2632347 bytes 5Size (libtool-2.4.2.tar.gz) = 2632347 bytes
6SHA1 (patch-aa) = 8fa167bebf27b7bc3008edd61408a0aede6bdf69 6SHA1 (patch-aa) = 8fa167bebf27b7bc3008edd61408a0aede6bdf69
7SHA1 (patch-ab) = da181513402d0ea02e710b3f4fafa94eaae572ae 7SHA1 (patch-ab) = cd5e59bd242f01370f2d87a62db357e1da2d08ee
8SHA1 (patch-ac) = 9efc7b276f830c2f8cabcbafb508c453bbfac46f 8SHA1 (patch-ac) = 9efc7b276f830c2f8cabcbafb508c453bbfac46f
9SHA1 (patch-ad) = d52f6494c3c9d6b8ed40171565c7bc99b40badde 9SHA1 (patch-ad) = d52f6494c3c9d6b8ed40171565c7bc99b40badde

cvs diff -r1.74 -r1.75 pkgsrc/devel/libtool/patches/Attic/patch-ab (expand / switch to unified diff)

--- pkgsrc/devel/libtool/patches/Attic/patch-ab 2013/04/12 13:44:08 1.74
+++ pkgsrc/devel/libtool/patches/Attic/patch-ab 2013/05/13 12:53:42 1.75
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1$NetBSD: patch-ab,v 1.74 2013/04/12 13:44:08 joerg Exp $ 1$NetBSD: patch-ab,v 1.75 2013/05/13 12:53:42 adam Exp $
2 2
3--- configure.orig 2013-03-03 13:53:45.000000000 +0000 3--- configure.orig 2011-10-17 10:18:58.000000000 +0000
4+++ configure 4+++ configure
5@@ -5829,12 +5829,19 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu) 5@@ -5829,12 +5829,19 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu)
6 lt_cv_deplibs_check_method=pass_all 6 lt_cv_deplibs_check_method=pass_all
7 ;; 7 ;;
8  8
9+midnightbsd*) 9+midnightbsd*)
10+ # might to use match_pattern like MirBSD, but there is no well-defined 10+ # might to use match_pattern like MirBSD, but there is no well-defined
11+ # naming scheme for libraries yet, as the current one is deprecated, and 11+ # naming scheme for libraries yet, as the current one is deprecated, and
12+ # the new one in a state of flux especially between mports and MirPorts 12+ # the new one in a state of flux especially between mports and MirPorts
13+ lt_cv_deplibs_check_method=pass_all 13+ lt_cv_deplibs_check_method=pass_all
14+ ;; 14+ ;;
15+ 15+
16+mirbsd*) 16+mirbsd*)
@@ -131,26 +131,35 @@ $NetBSD: patch-ab,v 1.74 2013/04/12 13:4 @@ -131,26 +131,35 @@ $NetBSD: patch-ab,v 1.74 2013/04/12 13:4
131 ;; 131 ;;
132  132
133+ netbsd*) 133+ netbsd*)
134+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 134+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
135+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 135+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
136+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 136+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
137+ hardcode_direct=yes 137+ hardcode_direct=yes
138+ hardcode_shlibpath_var=no 138+ hardcode_shlibpath_var=no
139+ ;; 139+ ;;
140+ 140+
141 solaris*) 141 solaris*)
142 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 142 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
143 ld_shlibs=no 143 ld_shlibs=no
 144@@ -10026,7 +10074,7 @@ fi
 145 allow_undefined_flag="$_lt_dar_allow_undefined"
 146 case $cc_basename in
 147 ifort*) _lt_dar_can_shared=yes ;;
 148- *) _lt_dar_can_shared=$GCC ;;
 149+ *) _lt_dar_can_shared=yes ;;
 150 esac
 151 if test "$_lt_dar_can_shared" = "yes"; then
 152 output_verbose_link_cmd=func_echo_all
144@@ -10238,13 +10286,25 @@ $as_echo "$lt_cv_irix_exported_symbol" > 153@@ -10238,13 +10286,25 @@ $as_echo "$lt_cv_irix_exported_symbol" >
145 link_all_deplibs=yes 154 link_all_deplibs=yes
146 ;; 155 ;;
147  156
148- netbsd*) 157- netbsd*)
149- if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 158- if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
150- archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 159- archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
151+ mirbsd*) 160+ mirbsd*)
152+ if test -f /usr/libexec/ld.so; then 161+ if test -f /usr/libexec/ld.so; then
153+ hardcode_direct=yes 162+ hardcode_direct=yes
154+ hardcode_shlibpath_var=no 163+ hardcode_shlibpath_var=no
155+ hardcode_direct_absolute=yes 164+ hardcode_direct_absolute=yes
156+ archive_cmds='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 165+ archive_cmds='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
@@ -330,26 +339,35 @@ $NetBSD: patch-ab,v 1.74 2013/04/12 13:4 @@ -330,26 +339,35 @@ $NetBSD: patch-ab,v 1.74 2013/04/12 13:4
330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
331@@ -13786,7 +13875,10 @@ $RM -r conftest* 340@@ -13786,7 +13875,10 @@ $RM -r conftest*
332 *) break;; 341 *) break;;
333 esac 342 esac
334 done 343 done
335-cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 344-cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
336+# Return the actual command name, not our pkgsrc wrapper name because several 345+# Return the actual command name, not our pkgsrc wrapper name because several
337+# decisions are made only based on compiler names 346+# decisions are made only based on compiler names
338+if test -n "$cc_temp" && new_cc_temp=`$cc_temp --wrappee-name 2>/dev/null`; then :; else new_cc_temp="$cc_temp"; fi 347+if test -n "$cc_temp" && new_cc_temp=`$cc_temp --wrappee-name 2>/dev/null`; then :; else new_cc_temp="$cc_temp"; fi
339+cc_basename=`$ECHO "X$new_cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 348+cc_basename=`$ECHO "X$new_cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
340  349
341  350
342 if test -n "$compiler"; then 351 if test -n "$compiler"; then
 352@@ -14282,7 +14374,7 @@ fi
 353 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
 354 case $cc_basename in
 355 ifort*) _lt_dar_can_shared=yes ;;
 356- *) _lt_dar_can_shared=$GCC ;;
 357+ *) _lt_dar_can_shared=yes ;;
 358 esac
 359 if test "$_lt_dar_can_shared" = "yes"; then
 360 output_verbose_link_cmd=func_echo_all
343@@ -14665,15 +14757,12 @@ fi 361@@ -14665,15 +14757,12 @@ fi
344 ;; 362 ;;
345  363
346 netbsd*) 364 netbsd*)
347- if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 365- if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
348- archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' 366- archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
349- wlarc= 367- wlarc=
350- hardcode_libdir_flag_spec_CXX='-R$libdir' 368- hardcode_libdir_flag_spec_CXX='-R$libdir'
351- hardcode_direct_CXX=yes 369- hardcode_direct_CXX=yes
352- hardcode_shlibpath_var_CXX=no 370- hardcode_shlibpath_var_CXX=no
353- fi 371- fi
354- # Workaround some broken pre-1.5 toolchains 372- # Workaround some broken pre-1.5 toolchains
355- output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' 373- output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
@@ -641,26 +659,35 @@ $NetBSD: patch-ab,v 1.74 2013/04/12 13:4 @@ -641,26 +659,35 @@ $NetBSD: patch-ab,v 1.74 2013/04/12 13:4
641 ;; 659 ;;
642  660
643+ netbsd*) 661+ netbsd*)
644+ archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 662+ archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
645+ 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' 663+ 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'
646+ hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' 664+ hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
647+ hardcode_direct_F77=yes 665+ hardcode_direct_F77=yes
648+ hardcode_shlibpath_var_F77=no 666+ hardcode_shlibpath_var_F77=no
649+ ;; 667+ ;;
650+ 668+
651 solaris*) 669 solaris*)
652 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 670 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
653 ld_shlibs_F77=no 671 ld_shlibs_F77=no
 672@@ -18324,7 +18489,7 @@ fi
 673 allow_undefined_flag_F77="$_lt_dar_allow_undefined"
 674 case $cc_basename in
 675 ifort*) _lt_dar_can_shared=yes ;;
 676- *) _lt_dar_can_shared=$GCC ;;
 677+ *) _lt_dar_can_shared=yes ;;
 678 esac
 679 if test "$_lt_dar_can_shared" = "yes"; then
 680 output_verbose_link_cmd=func_echo_all
654@@ -18498,13 +18663,25 @@ $as_echo "$lt_cv_irix_exported_symbol" > 681@@ -18498,13 +18663,25 @@ $as_echo "$lt_cv_irix_exported_symbol" >
655 link_all_deplibs_F77=yes 682 link_all_deplibs_F77=yes
656 ;; 683 ;;
657  684
658- netbsd*) 685- netbsd*)
659- if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 686- if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
660- archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 687- archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
661+ mirbsd*) 688+ mirbsd*)
662+ if test -f /usr/libexec/ld.so; then 689+ if test -f /usr/libexec/ld.so; then
663+ hardcode_direct_F77=yes 690+ hardcode_direct_F77=yes
664+ hardcode_shlibpath_var_F77=no 691+ hardcode_shlibpath_var_F77=no
665+ hardcode_direct_absolute_F77=yes 692+ hardcode_direct_absolute_F77=yes
666+ archive_cmds_F77='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 693+ archive_cmds_F77='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
@@ -912,26 +939,35 @@ $NetBSD: patch-ab,v 1.74 2013/04/12 13:4 @@ -912,26 +939,35 @@ $NetBSD: patch-ab,v 1.74 2013/04/12 13:4
912 ;; 939 ;;
913  940
914+ netbsd*) 941+ netbsd*)
915+ archive_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 942+ archive_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
916+ 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' 943+ 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'
917+ hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir' 944+ hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
918+ hardcode_direct_FC=yes 945+ hardcode_direct_FC=yes
919+ hardcode_shlibpath_var_FC=no 946+ hardcode_shlibpath_var_FC=no
920+ ;; 947+ ;;
921+ 948+
922 solaris*) 949 solaris*)
923 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 950 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
924 ld_shlibs_FC=no 951 ld_shlibs_FC=no
 952@@ -21396,7 +21642,7 @@ fi
 953 allow_undefined_flag_FC="$_lt_dar_allow_undefined"
 954 case $cc_basename in
 955 ifort*) _lt_dar_can_shared=yes ;;
 956- *) _lt_dar_can_shared=$GCC ;;
 957+ *) _lt_dar_can_shared=yes ;;
 958 esac
 959 if test "$_lt_dar_can_shared" = "yes"; then
 960 output_verbose_link_cmd=func_echo_all
925@@ -21570,13 +21816,25 @@ $as_echo "$lt_cv_irix_exported_symbol" > 961@@ -21570,13 +21816,25 @@ $as_echo "$lt_cv_irix_exported_symbol" >
926 link_all_deplibs_FC=yes 962 link_all_deplibs_FC=yes
927 ;; 963 ;;
928  964
929- netbsd*) 965- netbsd*)
930- if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 966- if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
931- archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 967- archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
932+ mirbsd*) 968+ mirbsd*)
933+ if test -f /usr/libexec/ld.so; then 969+ if test -f /usr/libexec/ld.so; then
934+ hardcode_direct_FC=yes 970+ hardcode_direct_FC=yes
935+ hardcode_shlibpath_var_FC=no 971+ hardcode_shlibpath_var_FC=no
936+ hardcode_direct_absolute_FC=yes 972+ hardcode_direct_absolute_FC=yes
937+ archive_cmds_FC='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 973+ archive_cmds_FC='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
@@ -1183,26 +1219,35 @@ $NetBSD: patch-ab,v 1.74 2013/04/12 13:4 @@ -1183,26 +1219,35 @@ $NetBSD: patch-ab,v 1.74 2013/04/12 13:4
1183 ;; 1219 ;;
1184  1220
1185+ netbsd*) 1221+ netbsd*)
1186+ archive_cmds_GO='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 1222+ archive_cmds_GO='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1187+ 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' 1223+ 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'
1188+ hardcode_libdir_flag_spec_GO='${wl}-rpath,$libdir' 1224+ hardcode_libdir_flag_spec_GO='${wl}-rpath,$libdir'
1189+ hardcode_direct_GO=yes 1225+ hardcode_direct_GO=yes
1190+ hardcode_shlibpath_var_GO=no 1226+ hardcode_shlibpath_var_GO=no
1191+ ;; 1227+ ;;
1192+ 1228+
1193 solaris*) 1229 solaris*)
1194 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 1230 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
1195 ld_shlibs_GO=no 1231 ld_shlibs_GO=no
 1232@@ -24208,7 +24535,7 @@ fi
 1233 allow_undefined_flag_GO="$_lt_dar_allow_undefined"
 1234 case $cc_basename in
 1235 ifort*) _lt_dar_can_shared=yes ;;
 1236- *) _lt_dar_can_shared=$GCC ;;
 1237+ *) _lt_dar_can_shared=yes ;;
 1238 esac
 1239 if test "$_lt_dar_can_shared" = "yes"; then
 1240 output_verbose_link_cmd=func_echo_all
1196@@ -24381,13 +24708,25 @@ $as_echo "$lt_cv_irix_exported_symbol" > 1241@@ -24381,13 +24708,25 @@ $as_echo "$lt_cv_irix_exported_symbol" >
1197 link_all_deplibs_GO=yes 1242 link_all_deplibs_GO=yes
1198 ;; 1243 ;;
1199  1244
1200- netbsd*) 1245- netbsd*)
1201- if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 1246- if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
1202- archive_cmds_GO='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 1247- archive_cmds_GO='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
1203+ mirbsd*) 1248+ mirbsd*)
1204+ if test -f /usr/libexec/ld.so; then 1249+ if test -f /usr/libexec/ld.so; then
1205+ hardcode_direct_GO=yes 1250+ hardcode_direct_GO=yes
1206+ hardcode_shlibpath_var_GO=no 1251+ hardcode_shlibpath_var_GO=no
1207+ hardcode_direct_absolute_GO=yes 1252+ hardcode_direct_absolute_GO=yes
1208+ archive_cmds_GO='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 1253+ archive_cmds_GO='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
@@ -1331,26 +1376,35 @@ $NetBSD: patch-ab,v 1.74 2013/04/12 13:4 @@ -1331,26 +1376,35 @@ $NetBSD: patch-ab,v 1.74 2013/04/12 13:4
1331 ;; 1376 ;;
1332  1377
1333+ netbsd*) 1378+ netbsd*)
1334+ archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 1379+ archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1335+ 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' 1380+ 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'
1336+ hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' 1381+ hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
1337+ hardcode_direct_GCJ=yes 1382+ hardcode_direct_GCJ=yes
1338+ hardcode_shlibpath_var_GCJ=no 1383+ hardcode_shlibpath_var_GCJ=no
1339+ ;; 1384+ ;;
1340+ 1385+
1341 solaris*) 1386 solaris*)
1342 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 1387 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
1343 ld_shlibs_GCJ=no 1388 ld_shlibs_GCJ=no
 1389@@ -26305,7 +26690,7 @@ fi
 1390 allow_undefined_flag_GCJ="$_lt_dar_allow_undefined"
 1391 case $cc_basename in
 1392 ifort*) _lt_dar_can_shared=yes ;;
 1393- *) _lt_dar_can_shared=$GCC ;;
 1394+ *) _lt_dar_can_shared=yes ;;
 1395 esac
 1396 if test "$_lt_dar_can_shared" = "yes"; then
 1397 output_verbose_link_cmd=func_echo_all
1344@@ -26478,13 +26863,25 @@ $as_echo "$lt_cv_irix_exported_symbol" > 1398@@ -26478,13 +26863,25 @@ $as_echo "$lt_cv_irix_exported_symbol" >
1345 link_all_deplibs_GCJ=yes 1399 link_all_deplibs_GCJ=yes
1346 ;; 1400 ;;
1347  1401
1348- netbsd*) 1402- netbsd*)
1349- if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 1403- if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
1350- archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 1404- archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
1351+ mirbsd*) 1405+ mirbsd*)
1352+ if test -f /usr/libexec/ld.so; then 1406+ if test -f /usr/libexec/ld.so; then
1353+ hardcode_direct_GCJ=yes 1407+ hardcode_direct_GCJ=yes
1354+ hardcode_shlibpath_var_GCJ=no 1408+ hardcode_shlibpath_var_GCJ=no
1355+ hardcode_direct_absolute_GCJ=yes 1409+ hardcode_direct_absolute_GCJ=yes
1356+ archive_cmds_GCJ='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 1410+ archive_cmds_GCJ='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'