Ran "indent", for GNU coding style; some code & comments still need fixup.
[deliverable/binutils-gdb.git] / configure.in
index 22657735d458cf9ccf784965af9e7003b48eeb35..e36e83af94082e1deb1284ba3f3129b107373268 100644 (file)
@@ -3,8 +3,8 @@
 # script appropriate for this directory.  For more information, check
 # any existing configure script.
 
-configdirs="autoconf libgcc mmalloc libiberty texinfo flex byacc bison opcodes bfd binutils gcc readline glob ld gas gdb emacs ispell make grep diff rcs cvs patch send_pr libg++ newlib gprof gdbtest libm tgas deja-gnu "
-srctrigger=cfg-paper.texi
+configdirs="autoconf mmalloc libiberty texinfo flex byacc bison opcodes bfd binutils gcc readline glob ld gas gdb emacs ispell make grep diff rcs cvs patch send_pr libg++ newlib gprof gdbtest libm tgas etc tcl expect tk deja-gnu z8ksim"
+srctrigger=move-if-change
 srcname="gnu development package"
 
 # per-host:
@@ -20,6 +20,7 @@ case "${host}" in
   i[34]86-ncr-sysv4*)     host_makefile_frag=config/mh-ncr3000 ;;
   i[34]86-*-sco*)         host_makefile_frag=config/mh-sco ;;
   i[34]86-*-linux)        host_makefile_frag=config/mh-linux ;;
+  i[34]86-*-solaris2*)    host_makefile_frag=config/mh-sysv4 ;;
   *-ibm-aix*)             host_makefile_frag=config/mh-aix ;;
   *-sun-solaris*)         host_makefile_frag=config/mh-solaris ;;
   *-hp-hpux)              host_makefile_frag=config/mh-hpux ;;
@@ -39,41 +40,41 @@ case "${target}" in
                  ;;
 esac
 
-# remove various programs from consideration, if this is a cross-compiler 
-# (host != target) build, AND if the host is one that has a
-# "native" environment that we support
+
+# remove various programs from consideration.  some of these are not
+# reasonable to build for a native compilation (eg newlib).  some of these
+# aren't built for each cross compiler toolchain (eg emacs).
 
 if [ x"${host}" = x"${target}" ] ; then
-         configdirs=`echo ${configdirs} | sed -e 's/newlib//'`
+       # remove from native toolchains
+       configdirs=`echo ${configdirs} | sed -e 's/newlib//'`
 else
-       true
+       # remove from cross compilers in general
+       configdirs=`echo ${configdirs} | sed -e 's/emacs//;s/ispell//;s/rcs//;s/cvs//'`
 fi     
 
-# remove various programs from consideration, based on the host or 
+# remove more programs from consideration, based on the host or 
 # target this usually means that a port of the program doesn't
 # exist yet.
 
-case "${host}" in
-  hppa*-*-*)
-    configdirs=`echo ${configdirs} | sed -e 's/emacs//'`
-    ;;
-  *-*-solaris2)
-    configdirs=`echo ${configdirs} | sed -e 's/emacs//'`
-    ;;
-esac
+#case "${host}" in
+#  hppa*-*-*)
+#    configdirs=`echo ${configdirs} | sed -e 's/emacs//'`
+#    ;;
+#esac
 
 case "${target}" in
   mips-*-*)
     configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//'`
     ;;
   rs6000-*-*)
-    configdirs=`echo ${configdirs} | sed -e 's/gas//;s/binutils//;s/ld//;s/libgcc//'`
+    configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//'`
     ;;
   hppa*-*-*)
-    configdirs=`echo ${configdirs} | sed -e 's/gas//;s/bfd//;s/gdb//;s/binutils//;s/gdbtest//;s/ld//;s/libg++//'`
+    configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//;s/bfd//;s/gdb//'`
     ;;
   *-*-solaris2)
-    configdirs=`echo ${configdirs} | sed -e 's/gas//'`
+    configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//'`
     ;;
 esac
 
This page took 0.027656 seconds and 4 git commands to generate.