* c-typeprint.c (c_print_type): Assume demangled arguments
[deliverable/binutils-gdb.git] / configure.in
index 01fb6303bd8017474f90cd75bc0a3ef80fba8c98..d7b6e87b74127f7c3ca4f064aed383f69ddcc12b 100644 (file)
@@ -31,24 +31,24 @@ host_libs="mmalloc libiberty opcodes bfd readline glob gash tcl tk tclX"
 host_tools="texinfo byacc flex bison binutils ld gas gcc gdb make patch
            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
+           textutils wdiff find emacs emacs19 uudecode hello tar gzip indent
            recode release sed utils"
 
 
 # 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)
 #
-target_libs="libm xiberty newlib libio libg++"
+target_libs="libm xiberty newlib libio librx libg++"
 
 
 # these tools are built using the target libs, and are intended to run only
-# in the target environment.  we currently have none.
+# in the target environment
 #
 # note: any program that *uses* libraries that are in the "target_libs"
 # list belongs in this list.  those programs are also very likely
 # candidates for the "native_only" list which follows
 #
-target_tools="groff"
+target_tools="examples groff"
 
 ################################################################################
 
@@ -60,7 +60,7 @@ target_tools="groff"
 
 # directories to be built in the native environment only
 #
-native_only="autoconf cvs emacs fileutils find grep groff gzip hello indent
+native_only="autoconf cvs emacs emacs19 fileutils find grep groff gzip hello indent
              ispell m4 rcs recode sed shellutils tar textutils gash tk uudecode wdiff 
             gprof"
 
@@ -122,6 +122,33 @@ case "${host}" in
 esac
 fi
 
+# The Solaris /usr/ucb/cc compiler does not appear to work.
+case "${host}" in
+  sparc-sun-solaris2*)
+      if [ "`/usr/bin/which ${CC-cc}`" = "/usr/ucb/cc" ] ; then
+          could_use=
+          [ -d /opt/SUNWspro/bin ] && could_use="/opt/SUNWspro/bin"
+          if [ -d /opt/cygnus/bin ] ; then
+              if [ "$could_use" == "" ] ; then
+                  could_use="/opt/cygnus/bin"
+              else
+                  could_use="$could_use or /opt/cygnus/bin"
+              fi
+          fi
+        if [ "$could_use" = "" ] ; then
+            echo "Warning: compilation may fail because you're using"
+            echo "/usr/ucb/cc.  You should change your PATH or CC "
+            echo "variable and rerun configure."
+        else
+            echo "Warning: compilation may fail because you're using"
+            echo "/usr/ucb/cc, when you should use the C compiler from"
+            echo "$could_use.  You should change your"
+            echo "PATH or CC variable and rerun configure."
+        fi
+      fi
+  ;;
+esac
+
 # per-target:
 
 case "${target}" in
@@ -202,14 +229,14 @@ esac
 
 case "${target}" in
   alpha-dec-osf1*)
-    noconfigdirs="$noconfigdirs emacs fileutils grep newlib"
+    noconfigdirs="$noconfigdirs emacs emacs19 fileutils grep newlib"
     ;; 
   alpha*-*-*)
     noconfigdirs="$noconfigdirs newlib"
     ;;    
   h8300*-*-* | \
   h8500-*-*)
-    noconfigdirs="$noconfigdirs libg++ libio"
+    noconfigdirs="$noconfigdirs libg++ libio librx"
     ;;
   hppa*-*-*elf*)
     # Do configure ld/binutils/gas for this case.
@@ -217,9 +244,9 @@ case "${target}" in
   hppa*-*-*)
     # HP's C compiler doesn't handle Emacs correctly (but on BSD and Mach
     # cc is gcc, and on any system a user should be able to link cc to
-    # whatever they want.  FIXME, emacs).
+    # whatever they want.  FIXME, emacs emacs19).
     case "${CC}" in
-       "" | cc*) noconfigdirs="$noconfigdirs emacs" ;;
+       "" | cc*) noconfigdirs="$noconfigdirs emacs emacs19" ;;
         *) ;;
     esac
     noconfigdirs="$noconfigdirs ld shellutils"
@@ -228,7 +255,7 @@ case "${target}" in
     # add the go32 support tools to the list
     # but don't build gdb
     configdirs=`echo go32 ${configdirs}`
-    noconfigdirs="$noconfigdirs gdb libg++ libio"
+    noconfigdirs="$noconfigdirs gdb libg++ libio librx"
     ;;
   i[34]86-*-sco*)
     noconfigdirs="$noconfigdirs gprof"
@@ -242,11 +269,11 @@ case "${target}" in
   i[34]86-*-sysv4*)
     # The SYSV4 C compiler doesn't handle Emacs correctly
     case "${CC}" in
-       "" | cc*) noconfigdirs="$noconfigdirs emacs" ;;
+       "" | cc*) noconfigdirs="$noconfigdirs emacs emacs19" ;;
         *) ;;
     esac
     # but that's okay since emacs doesn't work anyway
-    noconfigdirs="$noconfigdirs emacs"
+    noconfigdirs="$noconfigdirs emacs emacs19"
     ;;
   powerpc-*-aix*)
     # copied from rs6000-*-* entry
This page took 0.024637 seconds and 4 git commands to generate.