diff options
author | Alan Modra <amodra@gmail.com> | 2010-06-29 04:17:34 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2010-06-29 04:17:34 +0000 |
commit | 360cfc9c8babb5b651c13324366205c23f8786e1 (patch) | |
tree | 9760a8c889f268915863c581c5bd6cf18a2a3b93 /bfd/configure | |
parent | 68e47e3bb1984af50f6c34f9bd3e4070b2d2eb50 (diff) | |
download | gdb-360cfc9c8babb5b651c13324366205c23f8786e1.zip gdb-360cfc9c8babb5b651c13324366205c23f8786e1.tar.gz gdb-360cfc9c8babb5b651c13324366205c23f8786e1.tar.bz2 |
remove maxq-coff port
Diffstat (limited to 'bfd/configure')
-rwxr-xr-x | bfd/configure | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/bfd/configure b/bfd/configure index 04c6989..51a4158 100755 --- a/bfd/configure +++ b/bfd/configure @@ -2138,8 +2138,10 @@ $as_echo "$ac_res" >&6; } ac_fn_c_check_decl () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 -$as_echo_n "checking whether $2 is declared... " >&6; } + as_decl_name=`echo $2|sed 's/ *(.*//'` + as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 +$as_echo_n "checking whether $as_decl_name is declared... " >&6; } if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : $as_echo_n "(cached) " >&6 else @@ -2149,8 +2151,12 @@ $4 int main () { -#ifndef $2 - (void) $2; +#ifndef $as_decl_name +#ifdef __cplusplus + (void) $as_decl_use; +#else + (void) $as_decl_name; +#endif #endif ; @@ -11406,7 +11412,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11409 "configure" +#line 11415 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11512,7 +11518,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11515 "configure" +#line 11521 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -15239,7 +15245,6 @@ do m88kbcs_vec) tb="$tb coff-m88k.lo" ;; m88kmach3_vec) tb="$tb m88kmach3.lo aout32.lo" ;; m88kopenbsd_vec) tb="$tb m88kopenbsd.lo aout32.lo" ;; - maxqcoff_vec) tb="$tb coff-maxq.lo" ;; mach_o_be_vec) tb="$tb mach-o.lo" ;; mach_o_le_vec) tb="$tb mach-o.lo" ;; mach_o_fat_vec) tb="$tb mach-o.lo" ;; |