* h8300-dis.c: Fix formatting.
[binutils-gdb.git] / gdb / configure.in
index f512b82ba25e14c400bea65d31f026b42bd249f3..df543083361b7d6fa00046edfada5210c8b4a6c0 100644 (file)
@@ -80,6 +80,10 @@ dnl use BFD to determine the default architecture and byte order
 dnl (bfd_vec->byteorder provides the latter).
 targ=${target}
 . ${srcdir}/../bfd/config.bfd
+
+dnl We only want the first arch, if there is more than one.
+targ_archs=`echo ${targ_archs} | sed -e 's/ .*//;'`
+
 if test x"${targ_archs}" != x ; then
     AC_DEFINE_UNQUOTED(DEFAULT_BFD_ARCH, ${targ_archs})
 fi
@@ -622,6 +626,15 @@ AC_CACHE_CHECK([for cygwin], gdb_cv_os_cygwin,
 lose
 #endif],[gdb_cv_os_cygwin=yes],[gdb_cv_os_cygwin=no])])
 
+
+dnl Figure out which of the many generic ser-*.c files the _host_ supports.
+SER_HARDWIRE="ser-unix.o ser-pipe.o ser-tcp.o"
+case ${host} in
+  go32*-*-* ) SER_HARDWIRE=ser-go32.o ;;
+esac
+AC_SUBST(SER_HARDWIRE)
+
+
 dnl Figure out which term library to use.
 if test x$gdb_host = xgo32; then
   TERM_LIB=