ld, and the source directories exist, assume -with-gnu-as and/or
-with-gnu-ld.
+Thu Apr 1 08:25:42 1993 Ian Lance Taylor (ian@cygnus.com)
+
+ * configure.in: Build gas for mips-*-*. If configuring gas and/or
+ ld, and the source directories exist, assume -with-gnu-as and/or
+ -with-gnu-ld.
+
Wed Mar 31 21:20:58 1993 K. Richard Pixley (rich@rtl.cygnus.com)
* Makefile.in (all.normal): insert missing backslash.
esac
case "${target}" in
- mips-dec-bsd*)
-# We do want to build gas in this case. So don't use the mips-*-* case
-# for this target.
- ;;
- mips-*-*)
- configdirs=`echo ${configdirs} | sed -e 's/gas//'`
- ;;
rs6000-*-*)
configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//'`
;;
;;
esac
+# Set with_gnu_as and with_gnu_ld as appropriate.
+if [ x${with_gnu_as} != xyes ] && echo ${configdirs} | grep gas > /dev/null && [ -d ${srcdir}/gas ]; then
+ with_gnu_as=yes
+ withoptions="$withoptions -with-gnu-as"
+fi
+if [ x${with_gnu_ld} != xyes ] && echo ${configdirs} | grep ld > /dev/null && [ -d ${srcdir}/ld ]; then
+ with_gnu_ld=yes
+ withoptions="$withoptions -with-gnu-ld"
+fi
target_makefile_frag=config/mt-${bfd_target}
# fill-column: 131
# End:
#
-