aboutsummaryrefslogtreecommitdiff
path: root/sim/m32r
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-01-17 13:39:03 -0500
committerMike Frysinger <vapier@gentoo.org>2021-02-06 10:56:11 -0500
commitaa09469fc64467d1748c6041befb55bbad9e2328 (patch)
tree7378e736f0e74d16a9eda321c55f641f94de5f66 /sim/m32r
parent2c6f2aa66499332b7bb016869fd01267ca1b52ef (diff)
downloadgdb-aa09469fc64467d1748c6041befb55bbad9e2328.zip
gdb-aa09469fc64467d1748c6041befb55bbad9e2328.tar.gz
gdb-aa09469fc64467d1748c6041befb55bbad9e2328.tar.bz2
sim: drop use of bfd/configure.host
These settings might have made sense in darker compiler times, but I think they're largely obsolete now. Looking through the values that get used in HDEFINES, it's quite limited, and configure itself should handle them. If we still need something, we can leverage standard autoconf macros instead, after we get a clear user report. TDEFINES was never set anywhere and was always empty, so prune that.
Diffstat (limited to 'sim/m32r')
-rw-r--r--sim/m32r/ChangeLog4
-rwxr-xr-xsim/m32r/configure18
2 files changed, 15 insertions, 7 deletions
diff --git a/sim/m32r/ChangeLog b/sim/m32r/ChangeLog
index 73e0064..b3b5823 100644
--- a/sim/m32r/ChangeLog
+++ b/sim/m32r/ChangeLog
@@ -1,3 +1,7 @@
+2021-02-06 Mike Frysinger <vapier@gentoo.org>
+
+ * configure: Regenerate.
+
2021-01-30 Mike Frysinger <vapier@gentoo.org>
* sim-if.c (sim_open): Delete STATE_WATCHPOINTS (sd)->sizeof_pc.
diff --git a/sim/m32r/configure b/sim/m32r/configure
index efcaed9..3241224 100755
--- a/sim/m32r/configure
+++ b/sim/m32r/configure
@@ -686,7 +686,6 @@ PACKAGE
C_DIALECT
RANLIB
AR
-HDEFINES
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@@ -6921,7 +6920,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
@@ -8581,7 +8588,6 @@ fi
-
AR=${AR-ar}
if test -n "$ac_tool_prefix"; then
@@ -12945,7 +12951,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12948 "configure"
+#line 12954 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13051,7 +13057,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 13054 "configure"
+#line 13060 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13290,8 +13296,6 @@ CC="$lt_save_CC"
-. ${srcdir}/../../bfd/configure.host
-