OSDN Git Service

Backported from mainline
[pf3gnuchains/gcc-fork.git] / libssp / configure
index b1edcb4..78abc70 100755 (executable)
@@ -4107,7 +4107,7 @@ else
   ssp_use_symver=yes
 fi
 
-if test "x$ssp_use_symver" = xyes; then
+if test "x$ssp_use_symver" != xno; then
   if test x$gcc_no_link = xyes; then
     # If we cannot link, we cannot build shared libraries, so do not use
     # symbol versioning.
@@ -8864,7 +8864,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
@@ -9780,7 +9780,7 @@ freebsd* | dragonfly*)
     objformat=`/usr/bin/objformat`
   else
     case $host_os in
-    freebsd[123]*) objformat=aout ;;
+    freebsd[23].*) objformat=aout ;;
     *) objformat=elf ;;
     esac
   fi
@@ -9798,7 +9798,7 @@ freebsd* | dragonfly*)
   esac
   shlibpath_var=LD_LIBRARY_PATH
   case $host_os in
-  freebsd2*)
+  freebsd2.*)
     shlibpath_overrides_runpath=yes
     ;;
   freebsd3.[01]* | freebsdelf3.[01]*)