# end-sanitize-ide
;;
*-*-cygwin32)
- noconfigdirs="expect dejagnu cvs autoconf automake bison send-pr gprof rcs guile perl texinfo apache inet itcl db sn gnuserv"
-# start-sanitize-ide
- noconfigdirs="$noconfigdirs libide vmake"
-# end-sanitize-ide
+ noconfigdirs="expect dejagnu cvs autoconf automake bison send-pr gprof rcs guile perl texinfo apache inet"
;;
*-*-windows*)
# This is only used to build WinGDB...
;;
*-*-cygwin32)
target_configdirs="$target_configdirs target-winsup"
- noconfigdirs="$noconfigdirs expect target-libgloss itcl db sn gnuserv"
-# start-sanitize-ide
- noconfigdirs="$noconfigdirs libide vmake"
-# end-sanitize-ide
+ noconfigdirs="$noconfigdirs expect target-libgloss"
# always build newlib.
skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
# Can't build gdb for cygwin32 if not native.
case "${host}" in
- *-*-cygwin32) ;; # keep gdb tcl tk expect
- *) noconfigdirs="$noconfigdirs gdb tcl tk expect"
+ *-*-cygwin32) ;; # keep gdb tcl tk expect etc.
+ *) noconfigdirs="$noconfigdirs gdb tcl tk expect itcl db sn gnuserv"
+# start-sanitize-ide
+ noconfigdirs="$noconfigdirs libide vmake"
+# end-sanitize-ide
+ ;;
esac
;;
i[3456]86-*-pe)
# If we are building a Canadian Cross, discard tools that can not be built
# using a cross compiler. FIXME: These tools should be fixed.
if [ "${build}" != "${host}" ]; then
- noconfigdirs="$noconfigdirs expect dejagnu itcl db sn gnuserv"
-# start-sanitize-ide
- noconfigdirs="$noconfigdirs libide ilu vmake"
-# end-sanitize-ide
+ noconfigdirs="$noconfigdirs expect dejagnu"
fi
# Make sure we don't let GNU ld be added if we didn't want it.
sed -e 's/--norecursion//' \
-e 's/--cache[a-z-]*=[^ ]*//' \
-e 's/--ho[a-z-]*=[^ ]*//' \
+ -e 's/--bu[a-z-]*=[^ ]*//' \
-e 's/--ta[a-z-]*=[^ ]*//'`
# Passing a --with-cross-host argument lets the target libraries know
# sorts of decisions they want to make on this basis. Please consider
# this option to be deprecated. FIXME.
if [ x${is_cross_compiler} = xyes ]; then
- targargs="--with-cross-host=${host_alias} --build=${build_alias} ${targargs}"
+ targargs="--with-cross-host=${host_alias} ${targargs}"
fi
# Default to --enable-multilib.
targargs="--enable-multilib ${targargs}"
fi
-targargs="--host=${target_alias} ${targargs}"
+targargs="--host=${target_alias} --build=${build_alias} ${targargs}"
sed -e "s:^TARGET_CONFIGDIRS[ ]*=.*$:TARGET_CONFIGDIRS = ${target_configdirs}:" \
-e "s%^CONFIG_ARGUMENTS[ ]*=.*$%CONFIG_ARGUMENTS = ${targargs}%" \
-e "s%^TARGET_SUBDIR[ ]*=.*$%TARGET_SUBDIR = ${target_subdir}%" \