* doc/as.texinfo: Updated for -MD option.
[deliverable/binutils-gdb.git] / configure.in
index 695f2bddd0f14e50bd511c51d208ce3ea3977cea..ac40b2b400a37f4cfdbe95fe4bff87f6ed2aa005 100644 (file)
@@ -14,7 +14,7 @@
 ## For more information on these two systems, check out the documentation
 ## for 'Autoconf' (autoconf.texi) and 'Configure' (configure.texi).  
 
-#   Copyright (C) 1992, 93, 94, 95, 1996 Free Software Foundation, Inc.
+#   Copyright (C) 1992, 93, 94, 95, 96, 1997 Free Software Foundation, Inc.
 #
 # This file is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License as published by
 # these libraries are used by various programs built for the host environment
 #
 host_libs="mmalloc libiberty opcodes bfd readline gash db tcl tk tclX itcl"
+# start-sanitize-ide
+host_libs="${host_libs} libide"
+# end-sanitize-ide
 
 if [ "${enable_gdbgui}" = "yes" ] ; then
        host_libs="${host_libs} libgui"
 fi
 
 # these tools are built for the host environment
-#
-host_tools="texinfo byacc flex bison binutils ld gas gcc gdb make patch prms send-pr gprof gdbtest tgas etc expect dejagnu sim 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"
-
+# 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 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
 
 # these libraries are built for the target environment, and are built after
 # the host libraries and the host tools (which may be a cross compiler)
@@ -79,11 +85,11 @@ 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"
+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
 #
-cross_only="target-libiberty target-libgloss target-newlib"
+cross_only="target-libgloss target-newlib"
 
 ## All tools belong in one of the four categories, and are assigned above
 ## We assign ${configdirs} this way to remove all embedded newlines.  This
@@ -227,6 +233,9 @@ case ${with_x} in
        ;;
   no)
        skipdirs="${skipdirs} tk gash"
+# start-sanitize-ide
+       skipdirs="${skipdirs} libide vmake"
+# end-sanitize-ide
        ;;
   *)
        echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2
@@ -337,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.
@@ -370,13 +379,22 @@ noconfigdirs=""
 
 case "${host}" in
   i[3456]86-*-vsta)
-    noconfigdirs="tcl expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff guile perl apache inet itcl db sn"
+    noconfigdirs="tcl expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff guile perl apache inet itcl db sn gnuserv"
+# start-sanitize-ide
+    noconfigdirs="$noconfigdirs libide vmake"
+# end-sanitize-ide
     ;;
   i[3456]86-*-go32)
-    noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff guile perl apache inet itcl db sn"
+    noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff guile perl apache inet itcl db sn gnuserv"
+# start-sanitize-ide
+    noconfigdirs="$noconfigdirs libide vmake"
+# end-sanitize-ide
        ;;
   *-*-cygwin32)
-     noconfigdirs="tk tcl expect dejagnu cvs autoconf bison send-pr gprof rcs guile perl texinfo apache inet itcl db sn"
+     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
     ;;
   *-*-windows*)
 # This is only used to build WinGDB...
@@ -384,7 +402,10 @@ 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"
+     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
     ;;
 esac
 
@@ -428,7 +449,10 @@ case "${target}" in
     ;;
 # start-sanitize-d30v
   d30v-*-*)
-    noconfigdirs="$noconfigdirs tcl tk expect gcc gdb newlib target-librx target-libg++ target-libstdc++ target-libio target-libgloss itcl db sn"
+    noconfigdirs="$noconfigdirs tcl tk expect gcc gdb newlib target-librx target-libg++ target-libstdc++ target-libio target-libgloss itcl db sn gnuserv target-libiberty target-newlib target-examples"
+# start-sanitize-ide
+    noconfigdirs="$noconfigdirs libide vmake"
+# end-sanitize-ide
     ;;
 # end-sanitize-d30v
   h8300*-*-* | \
@@ -436,7 +460,8 @@ case "${target}" in
     noconfigdirs="$noconfigdirs target-libg++ target-libstdc++ target-libio target-librx target-libgloss"
     ;;
   hppa*-*-*elf* | \
-  hppa*-*-lites*)
+  hppa*-*-lites* | \
+  hppa*-*-rtems* )
     # Do configure ld/binutils/gas for this case.
     ;;
   hppa*-*-*)
@@ -455,14 +480,17 @@ case "${target}" in
     ;;
   *-*-cygwin32)
     target_configdirs="$target_configdirs target-winsup"
-    noconfigdirs="$noconfigdirs tcl tk expect target-libgloss itcl db sn"
+    noconfigdirs="$noconfigdirs expect target-libgloss itcl db sn gnuserv"
+# start-sanitize-ide
+    noconfigdirs="$noconfigdirs libide vmake"
+# end-sanitize-ide
     # 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
-      *) noconfigdirs="$noconfigdirs gdb"
+      *-*-cygwin32) ;; # keep gdb tcl tk expect
+      *) noconfigdirs="$noconfigdirs gdb tcl tk expect"
     esac
     ;;    
   i[3456]86-*-pe)
@@ -505,13 +533,19 @@ case "${target}" in
     ;;
   powerpc*-*-winnt* | powerpc*-*-pe* | ppc*-*-pe)
     target_configdirs="$target_configdirs target-winsup"
-    noconfigdirs="$noconfigdirs gdb tcl tk make expect target-libgloss itcl db sn"
+    noconfigdirs="$noconfigdirs gdb tcl tk make expect target-libgloss itcl db sn gnuserv"
+# start-sanitize-ide
+    noconfigdirs="$noconfigdirs libide vmake"
+# end-sanitize-ide
     # always build newlib.
     skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
     ;;
     # This is temporary until we can link against shared libraries
   powerpcle-*-solaris*)
-    noconfigdirs="$noconfigdirs gdb sim make tcl tk expect itcl db sn"
+    noconfigdirs="$noconfigdirs gdb sim make tcl tk expect itcl db sn gnuserv"
+# start-sanitize-ide
+    noconfigdirs="$noconfigdirs libide vmake"
+# end-sanitize-ide
     ;;
   rs6000-*-lynxos*)
     # The CVS server code doesn't work on the RS/6000
@@ -535,7 +569,7 @@ case "${target}" in
     noconfigdirs="$noconfigdirs ld gprof emacs target-libgloss"
     ;;
   mips*-*-irix6*)
-    # The GNU linker does not support shared libraries.
+    # The GNU assembler and linker do not support IRIX 6.
     # emacs is emacs 18, which does not work on Irix 5 (emacs19 does work)
     noconfigdirs="$noconfigdirs ld gas gprof emacs target-libgloss"
     ;;
@@ -566,11 +600,6 @@ case "${target}" in
            use_gnu_ld=no
     fi
     ;;
-# start-sanitize-tic80
-  tic80-*-*)
-    noconfigdirs="$noconfigdirs gdb target-libio target-libg++ target-libstdc++ target-libgloss"
-    ;;
-# end-sanitize-tic80
   v810-*-*)
     noconfigdirs="$noconfigdirs bfd binutils gas gcc gdb ld target-libio target-libg++ target-libstdc++ opcodes target-libgloss"
     ;;
@@ -613,7 +642,10 @@ 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 tcl tk expect dejagnu itcl db sn"
+  noconfigdirs="$noconfigdirs expect dejagnu itcl db sn gnuserv"
+# start-sanitize-ide
+  noconfigdirs="$noconfigdirs libide ilu vmake"
+# end-sanitize-ide
 fi
 
 # Make sure we don't let GNU ld be added if we didn't want it.
@@ -849,6 +881,11 @@ if [ x${is_cross_compiler} = xyes ]; then
   targargs="--with-cross-host=${host_alias} ${targargs}"
 fi
 
+# Default to --enable-multilib.
+if [ x${enable_multilib} = x ]; then
+  targargs="--enable-multilib ${targargs}"
+fi
+
 targargs="--host=${target_alias} ${targargs}"
 sed -e "s:^TARGET_CONFIGDIRS[  ]*=.*$:TARGET_CONFIGDIRS = ${target_configdirs}:" \
     -e "s%^CONFIG_ARGUMENTS[   ]*=.*$%CONFIG_ARGUMENTS = ${targargs}%" \
This page took 0.026279 seconds and 4 git commands to generate.