From 27b15aee8a94d918422f532e1abf487d3cb97f37 Mon Sep 17 00:00:00 2001 From: robertl Date: Wed, 6 Jan 1999 16:05:47 +0000 Subject: * configure.in: New flag --with-dwarf2. If set, enables DWARF-2 debugging as default. * config/tm-dwarf2.h: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24517 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/configure.in | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'gcc/configure.in') diff --git a/gcc/configure.in b/gcc/configure.in index 508af5e7aea..6951e6dcd70 100644 --- a/gcc/configure.in +++ b/gcc/configure.in @@ -278,6 +278,11 @@ changequote([,]) JAVAGC=$enableval, JAVAGC=boehm) +AC_ARG_WITH(dwarf2, +[ --enable-dwarf2 enable DWARF2 debugging as default.], +dwarf2="$with_dwarf2", +dwarf2=no) + # Determine the host, build, and target systems AC_CANONICAL_SYSTEM @@ -3430,6 +3435,10 @@ if test x"$tmake_file" = x then tmake_file=$cpu_type/t-$cpu_type fi +if test x"$dwarf2" = xyes +then tm_file="tm-dwarf2.h $tm_file" +fi + if test x$float_format = x then float_format=i64 fi -- cgit v1.2.1