aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-11-28 22:15:27 +0000
committerIan Lance Taylor <ian@airs.com>1995-11-28 22:15:27 +0000
commit4f0ad91b9b7e87e9eb207e6d4dc89a8532bfb46c (patch)
tree52589b3d35e2832f3bed3f6aff6186f916304c28 /configure.in
parentfd0198f02371c0d604ec7c3162cf60a0a84c0ef0 (diff)
downloadgdb-4f0ad91b9b7e87e9eb207e6d4dc89a8532bfb46c.zip
gdb-4f0ad91b9b7e87e9eb207e6d4dc89a8532bfb46c.tar.gz
gdb-4f0ad91b9b7e87e9eb207e6d4dc89a8532bfb46c.tar.bz2
* configure.in: Default to --with-stabs for some targets for which
it makes sense: mips*-*-*, alpha*-*-osf*, i[345]86*-*-sysv4* and i[345]86*-*-unixware*.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 7e8eb3c..7d20610 100644
--- a/configure.in
+++ b/configure.in
@@ -297,6 +297,16 @@ elif [ x${with_newlib} = xyes ]; then
skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
fi
+# Default to using --with-stabs for certain targets.
+if [ x${with_stabs} = x ]; then
+ case "${target}" in
+ mips*-*-* | alpha*-*-osf* | i[345]86*-*-sysv4* | i[345]86*-*-unixware*)
+ with_stabs=yes;
+ withoptions="${withoptions} --with-stabs"
+ ;;
+ esac
+fi
+
# Handle ${copy_dirs}
set fnord ${copy_dirs}
shift