aboutsummaryrefslogtreecommitdiff
path: root/sim/cris/configure
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/cris/configure
parent9c5f41df36176d86afa65fc9b69b8fd6f6044547 (diff)
downloadgdb-ae7d0cac8ce971f7108d270c1d3f8481919b1e86.zip
gdb-ae7d0cac8ce971f7108d270c1d3f8481919b1e86.tar.gz
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/cris/configure')
-rwxr-xr-xsim/cris/configure18
1 files changed, 6 insertions, 12 deletions
diff --git a/sim/cris/configure b/sim/cris/configure
index 610da55..7c9094e 100755
--- a/sim/cris/configure
+++ b/sim/cris/configure
@@ -8148,7 +8148,7 @@ $as_echo "$lt_cv_ld_force_load" >&6; }
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
- 10.[012]*)
+ 10.[012][,.]*)
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10.*)
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
@@ -8299,6 +8299,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.
@@ -10171,7 +10173,7 @@ _LT_EOF
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
&& test "$tmp_diet" = no
then
- tmp_addflag=
+ tmp_addflag=' $pic_flag'
tmp_sharedflag='-shared'
case $cc_basename,$host_cpu in
pgcc*) # Portland Group C compiler
@@ -12381,7 +12383,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12384 "configure"
+#line 12386 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12487,7 +12489,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12490 "configure"
+#line 12492 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12968,14 +12970,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 ;;