* interp.c (BUSERROR): New macro.
[deliverable/binutils-gdb.git] / configure.in
index cfeec5dd214bb2b2c4071d9227673f845792e4ea..915207d54864a27f987d59176e633f0a9e2dbce1 100644 (file)
@@ -65,7 +65,7 @@ target_tools="examples groff"
 # directories to be built in the native environment only
 #
 native_only="autoconf cvs emacs emacs19 fileutils find grep groff gzip hello
-            indent ispell m4 rcs recode sed shellutils tar textutils gash tk
+            indent ispell m4 rcs recode sed shellutils tar textutils gash
             uudecode wdiff gprof"
 
 # directories to be built in a cross environment only
@@ -103,7 +103,7 @@ case "${host}" in
   mips*-sgi-irix3*)       host_makefile_frag=config/mh-sysv ;;
   mips*-*-sysv4*)        host_makefile_frag=config/mh-sysv4 ;;
   mips*-*-sysv*)         host_makefile_frag=config/mh-riscos ;;
-  i[345]86-ncr-sysv43)    host_makefile_frag=config/mh-ncrsvr43 ;;
+  i[345]86-ncr-sysv4.3)   host_makefile_frag=config/mh-ncrsvr43 ;;
   i[345]86-ncr-sysv4*)    host_makefile_frag=config/mh-ncr3000 ;;
   i[345]86-*-sco*)        host_makefile_frag=config/mh-sco ;;
   i[345]86-*-isc*)       host_makefile_frag=config/mh-sysv ;;
@@ -153,6 +153,30 @@ case "${host}" in
   ;;
 esac
 
+# We default to --with-shared on platforms where -fpic is meaningless.
+# Well, we don't yet, but we will.
+if false && [ "${host}" = "${target}" ] && [ x${enable_shared} = x ]; then
+  case "${target}" in
+    alpha-dec-osf*)    enable_shared=yes ;;
+    mips-sgi-irix5*)   enable_shared=yes ;;
+    *)                 enable_shared=no ;;
+  esac
+fi
+
+if [ x${enable_shared} = xyes ]; then
+  waugh=
+  case "${host}" in
+    hppa*-*-*)         waugh=config/mh-papic ;;
+    i[345]86-*-*)      waugh=config/mh-x86pic ;;
+    *-*-*)             waugh=config/mh-${target_cpu}pic ;;
+  esac
+  if [ -n "${host_makefile_frag}" ] && [ -f ${srcdir}/${waugh} ]; then
+    cat ${srcdir}/${host_makefile_frag} > mh-frag
+    cat ${srcdir}/${waugh} >> mh-frag
+    host_makefile_frag=mh-frag
+  fi
+fi
+
 # per-target:
 
 case "${target}" in
@@ -306,7 +330,7 @@ esac
 
 case "${target}" in
   *-*-netware)
-    noconfigdirs="$noconfigdirs libg++ libstdc++ librx newlib"
+    noconfigdirs="$noconfigdirs libg++ libstdc++ librx newlib xiberty"
     ;;
   alpha-dec-osf*)
     # ld works, but does not support shared libraries.  emacs doesn't
@@ -318,6 +342,11 @@ case "${target}" in
     # newlib is not 64 bit ready
     noconfigdirs="$noconfigdirs newlib"
     ;;
+# start-sanitize-arc
+  arc-*-*)
+    noconfigdirs="$noconfigdirs libg++ libstdc++ libio librx"
+    ;;
+# end-sanitize-arc
   arm-*-*)
     noconfigdirs="$noconfigdirs ld"
     ;;
@@ -336,7 +365,7 @@ case "${target}" in
        "" | cc*) noconfigdirs="$noconfigdirs emacs emacs19" ;;
         *) ;;
     esac
-    noconfigdirs="$noconfigdirs ld shellutils tk"
+    noconfigdirs="$noconfigdirs ld shellutils"
     ;;
   i[345]86-*-go32)
     # add the go32 support tools to the list
@@ -493,6 +522,14 @@ if [ x${use_gnu_ld} = x ] ; then
   fi
 fi
 
+if [ x${enable_shared} = xyes ]; then
+  case "${target}" in
+    hppa*-*-*)         target_makefile_frag=config/mt-papic ;;
+    i[345]86-*-*)      target_makefile_frag=config/mt-x86pic ;;
+    *-*-*)             target_makefile_frag=config/mt-${target_cpu}pic ;;
+  esac
+fi
+
 #
 # Local Variables:
 # fill-column: 131
This page took 0.041547 seconds and 4 git commands to generate.