summaryrefslogtreecommitdiff
path: root/sim/bfin/configure
diff options
context:
space:
mode:
Diffstat (limited to 'sim/bfin/configure')
-rwxr-xr-xsim/bfin/configure18
1 files changed, 11 insertions, 7 deletions
diff --git a/sim/bfin/configure b/sim/bfin/configure
index c0d129d8124..d3a8cf4a06d 100755
--- a/sim/bfin/configure
+++ b/sim/bfin/configure
@@ -686,7 +686,6 @@ PACKAGE
C_DIALECT
RANLIB
AR
-HDEFINES
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@@ -6948,7 +6947,15 @@ fi
test -z "$AR" && AR=ar
if test -n "$plugin_option"; then
if $AR --help 2>&1 | grep -q "\--plugin"; then
- AR="$AR $plugin_option"
+ touch conftest.c
+ $AR $plugin_option rc conftest.a conftest.c
+ if test "$?" != 0; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
+$as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
+ else
+ AR="$AR $plugin_option"
+ fi
+ rm -f conftest.*
fi
fi
test -z "$AR_FLAGS" && AR_FLAGS=cru
@@ -8608,7 +8615,6 @@ fi
-
AR=${AR-ar}
if test -n "$ac_tool_prefix"; then
@@ -12972,7 +12978,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12975 "configure"
+#line 12981 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13078,7 +13084,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 13081 "configure"
+#line 13087 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13317,8 +13323,6 @@ CC="$lt_save_CC"
-. ${srcdir}/../../bfd/configure.host
-