OSDN Git Service

* cse.c (find_comparison_args): Remove previous change.
[pf3gnuchains/gcc-fork.git] / ltconfig
index a794342..889cf44 100755 (executable)
--- a/ltconfig
+++ b/ltconfig
@@ -422,8 +422,10 @@ fi
 
 if test -n "$tagname"; then
   # Check whether tagname contains only valid characters
-  case "$tagname" in
-  *[!-_A-Za-z0-9,/]*)
+  case `$echo "X$tagname" |
+        $Xsed -e 's/[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]//g'` in
+  "") ;;
+  *)
     echo "$progname: invalid tag name: $tagname" 1>&2
     exit 1
     ;;
@@ -942,7 +944,7 @@ aix3*)
   soname_spec='${libname}${release}.so$major'
   ;;
 
-aix4*)
+aix4* | aix5*)
   version_type=linux
   # AIX has no versioning support, so currently we can not hardcode correct
   # soname into executable. Probably we can add versioning support to
@@ -1012,6 +1014,7 @@ freebsd*)
     freebsd-elf*)
       library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
       need_version=no
+      need_lc=no
       need_lib_prefix=no
       ;;
     freebsd-*)
@@ -1274,7 +1277,7 @@ sysv4)
   ;;
 esac
 
-# Handle CRLF in mingw too chain
+# Handle CRLF in mingw tool chain
 opt_cr=
 case "$host_os" in
 mingw*)
@@ -1431,7 +1434,7 @@ aix3*)
   fi
   ;;
 
-aix4*)
+aix4* | aix5*)
   test "$enable_shared" = yes && enable_static=no
   ;;
 esac