summaryrefslogtreecommitdiff
path: root/binutils/configure
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2010-06-29 04:17:18 +0000
committerAlan Modra <amodra@bigpond.net.au>2010-06-29 04:17:18 +0000
commit1bd90188957e42e6e009e30b62240e3babedf1bb (patch)
tree0fad87650589c1caca175e7108d94f3117414655 /binutils/configure
parent7e06be81a98199f5d40b668eaa2792344cb63087 (diff)
downloadbinutils-redhat-1bd90188957e42e6e009e30b62240e3babedf1bb.tar.gz
remove maxq-coff port
Diffstat (limited to 'binutils/configure')
-rwxr-xr-xbinutils/configure18
1 files changed, 12 insertions, 6 deletions
diff --git a/binutils/configure b/binutils/configure
index b200182855..7e8e3d1158 100755
--- a/binutils/configure
+++ b/binutils/configure
@@ -1882,8 +1882,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
@@ -1893,8 +1895,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
;
@@ -11200,7 +11206,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 11203 "configure"
+#line 11209 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -11306,7 +11312,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 11309 "configure"
+#line 11315 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H