* gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
[binutils-gdb.git] / gdb / testsuite / gdb.stabs / configure.in
index 815afa4c7a4fa4819812ce79d8929b9805cefeb8..1571bac3f7e1a9cb0c5adedb0d403a8b610b0fe5 100644 (file)
@@ -16,7 +16,12 @@ case "${target}" in
 rs6000-*-aix*)         target_makefile_frag=xcoff.mt ;;
 
 mips-*-bsd*)           target_makefile_frag=aout.mt ;;
-mips-*-*)              target_makefile_frag=ecoff.mt ;;
+mips-*-*)              if [ x${with_gnu_as} = xyes ]; then
+                         target_makefile_frag=aout.mt
+                       else
+                         target_makefile_frag=ecoff.mt
+                       fi
+                       ;;
 
 *-*-*)                 target_makefile_frag=aout.mt ;;