diff options
Diffstat (limited to 'sim/bpf/configure')
-rwxr-xr-x | sim/bpf/configure | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/sim/bpf/configure b/sim/bpf/configure index 52d64ce..996fb21 100755 --- a/sim/bpf/configure +++ b/sim/bpf/configure @@ -684,7 +684,6 @@ PACKAGE C_DIALECT RANLIB AR -HDEFINES CC_FOR_BUILD INSTALL_DATA INSTALL_SCRIPT @@ -6918,7 +6917,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 @@ -8578,7 +8585,6 @@ fi - AR=${AR-ar} if test -n "$ac_tool_prefix"; then @@ -12942,7 +12948,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12945 "configure" +#line 12951 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -13048,7 +13054,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 13051 "configure" +#line 13057 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -13287,8 +13293,6 @@ CC="$lt_save_CC" -. ${srcdir}/../../bfd/configure.host - |