On Fri, 25 Mar 2011, Paolo Bonzini wrote:

> > Remark: disabling "newlib" (as opposed to target-newlib) for a host seems
> > odd, as does disabling "libffi".  So maybe the code disabling directories
> > for host can be simplified even more.
> 
> Yes, newlib and libffi should never be built as host modules anyway.
> 
> $ grep all-newlib ../../Makefile.in
> $

In that case, OK to commit this patch (cleaning up settings that as 
discussed should never have any effect anyway)?

2011-03-28  Joseph Myers  <jos...@codesourcery.com>

        * configure.ac (i[[3456789]]86-*-msdosdjgpp*): Don't disable
        libffi on host.
        (x86_64-*-mingw*, i[[3456789]]86-*-mingw32*): Don't disable newlib
        on host.
        (c54x*-*-* | tic54x-*-*): Don't disable newlib on target.
        * configure: Regenerate.

Index: configure.ac
===================================================================
--- configure.ac        (revision 171601)
+++ configure.ac        (working copy)
@@ -422,14 +422,8 @@
 
 case "${host}" in
   i[[3456789]]86-*-msdosdjgpp*)
-    noconfigdirs="$noconfigdirs tcl tk itcl libffi"
+    noconfigdirs="$noconfigdirs tcl tk itcl"
     ;;
-  x86_64-*-mingw*)
-    noconfigdirs="$noconfigdirs newlib"
-    ;;
-  i[[3456789]]86-*-mingw32*)
-    noconfigdirs="$noconfigdirs newlib"
-    ;;
 esac
 
 
@@ -680,7 +674,7 @@
     noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
     ;;
   c54x*-*-* | tic54x-*-*)
-    noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj} 
gcc gdb newlib"
+    noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj} 
gcc gdb"
     ;;
   cr16-*-*)
     noconfigdirs="$noconfigdirs ${libgcj} gdb"

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to