]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
config.rpath (ld_shlibs): Fix detection of FreeBSD-10 and up.
authorAndreas Tobler <andreast@fgznet.ch>
Tue, 29 Nov 2011 20:12:00 +0000 (21:12 +0100)
committerAndreas Tobler <andreast@gcc.gnu.org>
Tue, 29 Nov 2011 20:12:00 +0000 (21:12 +0100)
2011-11-29  Andreas Tobler  <andreast@fgznet.ch>

* config.rpath (ld_shlibs): Fix detection of FreeBSD-10 and up.
(libname_spec): Likewise.
* configure: Regenerate with autoconf -I ../../.

From-SVN: r181816

libjava/classpath/ChangeLog.gcj
libjava/classpath/config.rpath
libjava/classpath/configure

index 9eb70ac14e58b4ef934c7e9f9db6c9d2791e4623..0f537912e8cbba491d6e4780f44bf17079cb3081 100644 (file)
@@ -1,3 +1,9 @@
+2011-11-29  Andreas Tobler  <andreast@fgznet.ch>
+
+       * config.rpath (ld_shlibs): Fix detection of FreeBSD-10 and up.
+       (libname_spec): Likewise.
+       * configure: Regenerate with autoconf -I ../../.
+
 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        * config.rpath, ltcf-c.sh, ltcf-gcj.sh, ltconfig: Remove
index def43dcc5e71c6304f219e56ffb3bae9c6a5803e..b7f75cde451f7ac3b49be90533795c5e2eb98716 100755 (executable)
@@ -361,7 +361,7 @@ else
       hardcode_libdir_flag_spec='-R$libdir'
       hardcode_direct=yes
       ;;
-    freebsd2*)
+    freebsd2.*)
       hardcode_direct=yes
       hardcode_minus_L=yes
       ;;
@@ -533,7 +533,7 @@ case "$host_os" in
     ;;
   freebsd* | dragonfly*)
     case "$host_os" in
-      freebsd[123]*)
+      freebsd[23].*)
         library_names_spec='$libname$shrext$versuffix' ;;
       *)
         library_names_spec='$libname$shrext' ;;
index 2274f648cf980cdacff3c5dcf64f8aca1a350841..a25f5f75a472eee5db5c6b44941fbb411e8ea857 100755 (executable)
@@ -10025,7 +10025,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
       ;;
 
     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
-    freebsd2*)
+    freebsd2.*)
       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
       hardcode_direct=yes
       hardcode_minus_L=yes
@@ -10941,7 +10941,7 @@ freebsd* | dragonfly*)
     objformat=`/usr/bin/objformat`
   else
     case $host_os in
-    freebsd[123]*) objformat=aout ;;
+    freebsd[23].*) objformat=aout ;;
     *) objformat=elf ;;
     esac
   fi
@@ -10959,7 +10959,7 @@ freebsd* | dragonfly*)
   esac
   shlibpath_var=LD_LIBRARY_PATH
   case $host_os in
-  freebsd2*)
+  freebsd2.*)
     shlibpath_overrides_runpath=yes
     ;;
   freebsd3.[01]* | freebsdelf3.[01]*)
@@ -14225,7 +14225,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
         esac
         ;;
 
-      freebsd[12]*)
+      freebsd2.*)
         # C++ shared libraries reported to be fairly broken before
        # switch to ELF
         ld_shlibs_CXX=no
@@ -16000,7 +16000,7 @@ freebsd* | dragonfly*)
     objformat=`/usr/bin/objformat`
   else
     case $host_os in
-    freebsd[123]*) objformat=aout ;;
+    freebsd[23].*) objformat=aout ;;
     *) objformat=elf ;;
     esac
   fi
@@ -16018,7 +16018,7 @@ freebsd* | dragonfly*)
   esac
   shlibpath_var=LD_LIBRARY_PATH
   case $host_os in
-  freebsd2*)
+  freebsd2.*)
     shlibpath_overrides_runpath=yes
     ;;
   freebsd3.[01]* | freebsdelf3.[01]*)