diff options
author | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-01-08 23:14:06 +0000 |
---|---|---|
committer | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-01-08 23:14:06 +0000 |
commit | 1b33a244ee995031a6f6b2292b1caa94c27b62d8 (patch) | |
tree | 812f6171e722974938792ba69eea25cd50e4a3da /gcc/configure | |
parent | 6a2a046c6d394ae5f43a86738d2855f170a647c5 (diff) | |
download | gcc-1b33a244ee995031a6f6b2292b1caa94c27b62d8.tar.gz |
* configure.ac (DWARF-2 debug_line): Use objdump.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93094 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/configure')
-rwxr-xr-x | gcc/configure | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/configure b/gcc/configure index 7a0077b0dd2..220fcafa117 100755 --- a/gcc/configure +++ b/gcc/configure @@ -14683,8 +14683,9 @@ fi echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } then - # ??? This fails with non-gnu grep. Maybe use objdump? - if grep debug_line conftest.o > /dev/null 2>&1; then + if test x$gcc_cv_objdump != x \ + && $gcc_cv_objdump -h conftest.o 2> /dev/null \ + | grep debug_line > /dev/null 2>&1; then gcc_cv_as_dwarf2_debug_line=yes fi else |