OSDN Git Service

PR bootstrap/33781
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 1 Feb 2008 17:41:48 +0000 (17:41 +0000)
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 1 Feb 2008 17:41:48 +0000 (17:41 +0000)
* configure.ac (--enable-fixed-point): Disable unless explicitly
requested on IRIX.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132047 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/configure
gcc/configure.ac

index 021814a..35f0e75 100644 (file)
@@ -1,3 +1,10 @@
+2008-02-01  Roger Sayle  <roger@eyesopen.com>
+
+       PR bootstrap/33781
+       * configure.ac (--enable-fixed-point): Disable unless explicitly
+       requested on IRIX.
+       * configure: Regenerate.
+
 2008-02-01  Richard Guenther  <rguenther@suse.de>
 
        PR other/35042
index 5581fd6..ed7bba1 100755 (executable)
@@ -7056,7 +7056,16 @@ else
 
   case $target in
     mips*-*-*)
-      enable_fixed_point=yes
+      case $host in
+        mips*-sgi-irix*)
+         { echo "$as_me:$LINENO: WARNING: fixed-point support is not available for IRIX" >&5
+echo "$as_me: WARNING: fixed-point support is not available for IRIX" >&2;}
+         enable_fixed_point=no
+         ;;
+       *)
+         enable_fixed_point=yes
+         ;;
+      esac
       ;;
     *)
       { echo "$as_me:$LINENO: WARNING: fixed-point is not supported for this target" >&5
index 18406c7..f3bc7b3 100644 (file)
@@ -1,8 +1,8 @@
 # configure.ac for GCC
 # Process this file with autoconf to generate a configuration script.
 
-# Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
-# Free Software Foundation, Inc.
+# Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
+# 2007, 2008 Free Software Foundation, Inc.
 
 #This file is part of GCC.
 
@@ -649,7 +649,15 @@ AC_ARG_ENABLE(fixed-point,
 [
   case $target in
     mips*-*-*)
-      enable_fixed_point=yes
+      case $host in
+       mips*-sgi-irix*)
+         AC_MSG_WARN(fixed-point is not supported on IRIX, ignored)
+         enable_fixed_point=no
+         ;;
+       *)
+         enable_fixed_point=yes
+         ;;
+      esac
       ;;
     *)
       AC_MSG_WARN(fixed-point is not supported for this target, ignored)