Add filename which dje forgot to include
[binutils-gdb.git] / configure.in
index 67decbaf23060618ee7c01bb99dba5ab0560991d..8fc1791baf919f6bec1fe13739c2039fdb68e77d 100644 (file)
@@ -29,10 +29,10 @@ host_libs="mmalloc libiberty opcodes bfd readline glob tcl tk tclX"
 # these tools are built for the host environment
 #
 host_tools="texinfo byacc flex bison binutils ld gas gcc gdb make patch
-           send-pr gprof gdbtest tgas etc expect dejagnu sim
+           prms send-pr gprof gdbtest tgas etc expect dejagnu sim
             m4 autoconf ispell grep diff rcs cvs fileutils shellutils
            textutils wdiff find emacs uudecode hello tar gzip indent
-           recode package2 package"
+           recode release"
 
 
 # these libraries are built for the target environment, and are built after
@@ -63,8 +63,9 @@ target_tools="groff"
 
 # directories to be built in the native environment only
 #
-native_only="autoconf cvs diff emacs fileutils find grep groff gzip hello indent
-             ispell m4 rcs recode sed shellutils tar textutils tk uudecode wdiff"
+native_only="autoconf cvs emacs fileutils find grep groff gzip hello indent
+             ispell m4 rcs recode sed shellutils tar textutils tk uudecode wdiff 
+            gprof"
 
 # directories to be built in a cross environment only
 #
@@ -89,6 +90,7 @@ case "${host}" in
   mips-dec-ultrix*)       host_makefile_frag=config/mh-decstation ;;
   mips-sgi-irix4*)        host_makefile_frag=config/mh-irix4 ;;
   mips-sgi-irix3*)        host_makefile_frag=config/mh-sysv ;;
+  mips-*-sysv*)                  host_makefile_frag=config/mh-riscos ;;
   i[34]86-ncr-sysv4*)     host_makefile_frag=config/mh-ncr3000 ;;
   i[34]86-*-sco*)         host_makefile_frag=config/mh-sco ;;
   i[34]86-*-isc*)        host_makefile_frag=config/mh-sysv ;;
@@ -150,14 +152,15 @@ fi
 
 case "${host}" in
   alpha-dec-osf1)
-    configdirs=`echo ${configdirs} | sed -e 's/gdb/'`
+    configdirs=`echo ${configdirs} | sed -e 's/gdb//'`
     ;;
   i[34]86-*-go32)
     configdirs=`echo ${configdirs} | sed -e 's/tcl//;s/expect//;s/deja-gnu//'`
-    configdirs=`echo ${configdirs} | sed -e 's/make//;s/texinfo//'`
+    configdirs=`echo ${configdirs} | sed -e 's/make//;s/texinfo//;s/bison//'`
     configdirs=`echo ${configdirs} | sed -e 's/patch//;s/flex//;s/byacc//'`
     configdirs=`echo ${configdirs} | sed -e 's/send-pr//;s/gprof//'`
-    configdirs=`echo ${configdirs} | sed -e 's/uudecode//'`
+    configdirs=`echo ${configdirs} | sed -e 's/uudecode//;s/dejagnu//'`
+    configdirs=`echo ${configdirs} | sed -e 's/diff//'`
     ;;
 esac
 
@@ -167,21 +170,6 @@ case "${target}" in
     configdirs=`echo ${configdirs} | sed -e 's/gdb//;s/emacs//;s/fileutils//'`
     configdirs=`echo ${configdirs} | sed -e 's/grep//;s/libg++//'`
     ;; 
-  rs6000-*-*)
-    configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//'`
-    ;;
-  hppa*-*-osf)
-# Do configure ld/binutils/gas for this case.
-    ;;
-  hppa*-*-*)
-    configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//'`
-    ;;
-  *-*-solaris2*)
-    configdirs=`echo ${configdirs} | sed -e 's/ld//;s/gas//'`
-    ;;
-  *-*-vms)
-    configdirs=`echo ${configdirs} | sed -e 's/bfd//;s/ld//;s/binutils//'`
-    ;;
   h8300-*-*)
     configdirs=`echo ${configdirs} | sed -e 's/libg++//'`
 ## start-sanitize-chill
@@ -194,6 +182,37 @@ case "${target}" in
     configdirs=`echo ${configdirs} | sed -e 's/chillrt//'`
 ## end-sanitize-chill
     ;;
+  hppa*-*-osf)
+    # Do configure ld/binutils/gas for this case.
+    ;;
+  hppa*-*-*)
+    configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//'`
+    ;;
+  i[34]86-*-go32)
+    # add the go32 support tools to the list
+    configdirs=`echo go32 ${configdirs}`
+    ;;
+  rs6000-*-*)
+    configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//;s/gprof//'`
+    ;;
+  mips-*-*)
+    configdirs=`echo ${configdirs} | sed -e 's/gprof//'`
+    ;;
+  sh-*-*)
+    configdirs=`echo gprof ${configdirs}`
+    ;;
+  i[34]86-*-sco*)
+    configdirs=`echo ${configdirs} | sed -e 's/gprof//'`
+    ;;
+  *-*-solaris2*)
+    configdirs=`echo ${configdirs} | sed -e 's/ld//;s/gas//'`
+    ;;
+  *-*-sysv4*)
+    configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//'`
+    ;;
+  *-*-vms)
+    configdirs=`echo ${configdirs} | sed -e 's/bfd//;s/ld//;s/binutils//'`
+    ;;
 esac
 
 # Set with_gnu_as and with_gnu_ld as appropriate.