* i386-dis.c (twobyte_has_modrm): Fix pand.
[deliverable/binutils-gdb.git] / configure.in
index 41af98d3c0766abf2bb278c67e063528ffca42cb..81c9622f75b353c48166273c6917a88906658ee2 100644 (file)
@@ -53,7 +53,7 @@ fi
 # these tools are built for the host environment
 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
 # know that we are building the simulator.
-host_tools="texinfo byacc flex bison binutils ld gas gcc sim gdb make patch prms send-pr gprof gdbtest tgas etc expect dejagnu bash m4 autoconf ispell grep diff rcs cvs fileutils shellutils time textutils wdiff find emacs emacs19 uudecode hello tar gzip indent recode release sed utils guile perl apache inet gawk findutils sn"
+host_tools="texinfo byacc flex bison binutils ld gas gcc sim gdb make patch prms send-pr gprof gdbtest tgas etc expect dejagnu bash m4 autoconf automake ispell grep diff rcs cvs fileutils shellutils time textutils wdiff find emacs emacs19 uudecode hello tar gzip indent recode release sed utils guile perl apache inet gawk findutils sn"
 # start-sanitize-ide
 host_tools="${host_tools} ilu vmake"
 # end-sanitize-ide
@@ -85,7 +85,7 @@ target_tools="target-examples target-groff"
 #
 # This must be a single line because of the way it is searched by grep in
 # the code below.
-native_only="autoconf cvs emacs emacs19 fileutils find gawk grep gzip hello indent ispell m4 rcs recode sed shellutils tar textutils gash uudecode wdiff gprof target-groff guile perl apache inet time bash prms sn gnuserv"
+native_only="autoconf automake cvs emacs emacs19 fileutils find gawk grep gzip hello indent ispell m4 rcs recode sed shellutils tar textutils gash uudecode wdiff gprof target-groff guile perl apache inet time bash prms sn gnuserv"
 
 # directories to be built in a cross environment only
 #
@@ -346,7 +346,7 @@ while [ $# != 0 ]; do
       :
     else
       echo >config.temp
-      ${srcdir}/install.sh -c -m 644 config.temp $2/COPIED
+      ${srcdir}/install-sh -c -m 644 config.temp $2/COPIED
     fi
 
     # Copy the directory, assuming we have tar.
@@ -391,10 +391,7 @@ case "${host}" in
 # end-sanitize-ide
        ;;
   *-*-cygwin32)
-     noconfigdirs="expect dejagnu cvs autoconf 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...
@@ -402,7 +399,7 @@ case "${host}" in
      target_configdirs=
     ;;
   ppc*-*-pe)
-     noconfigdirs="patch diff make tk tcl expect dejagnu cvs autoconf texinfo bison send-pr gprof rcs guile perl apache inet itcl db sn gnuserv"
+     noconfigdirs="patch diff make tk tcl expect dejagnu cvs autoconf automake texinfo bison send-pr gprof rcs guile perl apache inet itcl db sn gnuserv"
 # start-sanitize-ide
      noconfigdirs="$noconfigdirs libide vmake"
 # end-sanitize-ide
@@ -480,17 +477,18 @@ case "${target}" in
     ;;
   *-*-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)
@@ -642,10 +640,7 @@ esac
 # 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.
@@ -870,6 +865,7 @@ targargs=`echo "${arguments}" | \
        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
@@ -886,7 +882,7 @@ if [ x${enable_multilib} = x ]; then
   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}%" \
This page took 0.024871 seconds and 4 git commands to generate.