aboutsummaryrefslogtreecommitdiff
path: root/sim/d10v/configure.in
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>1996-09-04 18:50:13 +0000
committerMichael Meissner <gnu@the-meissners.org>1996-09-04 18:50:13 +0000
commit1eaaf3050ed63a769b480ba2e5ef08396567eb71 (patch)
tree1b7efe8c4991a559e01639057b35b1af189224b0 /sim/d10v/configure.in
parent7eebfc6296f0830a435a21be0ab37a076c8566bd (diff)
downloadgdb-1eaaf3050ed63a769b480ba2e5ef08396567eb71.zip
gdb-1eaaf3050ed63a769b480ba2e5ef08396567eb71.tar.gz
gdb-1eaaf3050ed63a769b480ba2e5ef08396567eb71.tar.bz2
First cut at dealing with canadian crosses; make -t in debugger set d10v_debug if DEBUG
Diffstat (limited to 'sim/d10v/configure.in')
-rw-r--r--sim/d10v/configure.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/sim/d10v/configure.in b/sim/d10v/configure.in
index cd1700a..647255e 100644
--- a/sim/d10v/configure.in
+++ b/sim/d10v/configure.in
@@ -9,6 +9,14 @@ AC_PROG_CC
AC_PROG_INSTALL
AC_C_BIGENDIAN
+# Put a plausible default for CC_FOR_BUILD in Makefile.
+AC_C_CROSS
+if test "x$cross_compiling" = "xno"; then
+ CC_FOR_BUILD='$(CC)'
+else
+ CC_FOR_BUILD=gcc
+fi
+
. ${srcdir}/../../bfd/configure.host
AC_ARG_ENABLE(sim-cflags,
@@ -23,6 +31,7 @@ if test x"$silent" != x"yes" && test x"$sim_cflags" != x""; then
echo "Setting sim cflags = $sim_cflags" 6>&1
fi],[sim_cflags=""])dnl
+AC_SUBST(CC_FOR_BUILD)
AC_SUBST(CFLAGS)
AC_SUBST(HDEFINES)
AR=${AR-ar}