aboutsummaryrefslogtreecommitdiff
path: root/sim/m68hc11
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-03-14 23:41:25 -0400
committerMike Frysinger <vapier@gentoo.org>2015-03-16 01:23:52 -0400
commitae7d0cac8ce971f7108d270c1d3f8481919b1e86 (patch)
tree922127997fda3de2483ed896fba8ae88576bba5e /sim/m68hc11
parent9c5f41df36176d86afa65fc9b69b8fd6f6044547 (diff)
downloadfsf-binutils-gdb-ae7d0cac8ce971f7108d270c1d3f8481919b1e86.zip
fsf-binutils-gdb-ae7d0cac8ce971f7108d270c1d3f8481919b1e86.tar.gz
fsf-binutils-gdb-ae7d0cac8ce971f7108d270c1d3f8481919b1e86.tar.bz2
sim: rename tconfig.in to tconfig.h
Rather than manually include tconfig.h when we think we'll need it (which is error prone as it can define symbols we expect from config.h), have it be included directly by config.h. Since we know we have to include that header everywhere already, this will make sure tconfig.h isn't missed. It should also be fine as tconfig.h is supposed to be simple and only set up a few core defines for the target. This allows us to stop symlinking it in place all the time and just use it straight out of the respective source directory.
Diffstat (limited to 'sim/m68hc11')
-rw-r--r--sim/m68hc11/ChangeLog4
-rw-r--r--sim/m68hc11/config.in2
-rwxr-xr-xsim/m68hc11/configure14
3 files changed, 10 insertions, 10 deletions
diff --git a/sim/m68hc11/ChangeLog b/sim/m68hc11/ChangeLog
index 6e10a38..712dcf9 100644
--- a/sim/m68hc11/ChangeLog
+++ b/sim/m68hc11/ChangeLog
@@ -1,3 +1,7 @@
+2015-03-16 Mike Frysinger <vapier@gentoo.org>
+
+ * config.in, configure: Regenerate.
+
2015-03-14 Mike Frysinger <vapier@gentoo.org>
* Makefile.in (SIM_RUN_OBJS): Delete.
diff --git a/sim/m68hc11/config.in b/sim/m68hc11/config.in
index 23fafed..bf39e2d 100644
--- a/sim/m68hc11/config.in
+++ b/sim/m68hc11/config.in
@@ -165,3 +165,5 @@
/* Define to 1 if you need to in order for `stat' and other things to work. */
#undef _POSIX_SOURCE
+
+#include "tconfig.h"
diff --git a/sim/m68hc11/configure b/sim/m68hc11/configure
index 47a7e64..5b85244 100755
--- a/sim/m68hc11/configure
+++ b/sim/m68hc11/configure
@@ -8289,6 +8289,8 @@ else
fi
+
+
# Some of the common include files depend on bfd.h, and bfd.h checks
# that config.h is included first by testing that the PACKAGE macro
# is defined.
@@ -12371,7 +12373,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12374 "configure"
+#line 12376 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12477,7 +12479,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12480 "configure"
+#line 12482 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12958,14 +12960,6 @@ _ACEOF
sim_link_files=
sim_link_links=
-sim_link_links=tconfig.h
-if test -f ${srcdir}/tconfig.in
-then
- sim_link_files=tconfig.in
-else
- sim_link_files=../common/tconfig.in
-fi
-
# targ-vals.def points to the libc macro description file.
case "${target}" in
*-*-*) TARG_VALS_DEF=../common/nltvals.def ;;