From 0a5a18215c683aefd95ec6da746eceb36a8a66f2 Mon Sep 17 00:00:00 2001 From: "J.T. Conklin" Date: Tue, 16 May 1995 20:21:58 +0000 Subject: [PATCH] * configure.in: Added INIT-CMDS argument to AC_OUTPUT which sets gdb_host_cpu, gdb_target_cpu and nativefile. * configure: regenerated. --- gdb/ChangeLog | 6 ++++++ gdb/configure | 9 ++++++++- gdb/configure.in | 6 +++++- 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 85adff5ea58..51eae308e98 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +Tue May 16 13:16:06 1995 J.T. Conklin + + * configure.in: Added INIT-CMDS argument to AC_OUTPUT which sets + gdb_host_cpu, gdb_target_cpu and nativefile. + * configure: regenerated. + Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) * mdebugread.c (parse_symbol): Do not relocate stBlock/scText diff --git a/gdb/configure b/gdb/configure index bc449233e56..638fd5d6f4d 100755 --- a/gdb/configure +++ b/gdb/configure @@ -1892,7 +1892,6 @@ else configdirs=`echo $configdirs | sed 's/gdbserver//'` fi - # If hostfile (XM_FILE) and/or targetfile (TM_FILE) and/or nativefile # (NAT_FILE) is not set in config/*/*.m[ht] files, we don't make the # corresponding links. But we have to remove the xm.h files and tm.h @@ -2193,7 +2192,15 @@ while test -n "$ac_sources"; do { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; } fi done +EOF +cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF if test "${nativefile}" = ""; then sed -e '/^NATDEPFILES= /s//# NATDEPFILES= /' \ diff --git a/gdb/configure.in b/gdb/configure.in index fe4fac16d77..3764fb0c122 100644 --- a/gdb/configure.in +++ b/gdb/configure.in @@ -450,7 +450,6 @@ else configdirs=`echo $configdirs | sed 's/gdbserver//'` fi - # If hostfile (XM_FILE) and/or targetfile (TM_FILE) and/or nativefile # (NAT_FILE) is not set in config/*/*.m[ht] files, we don't make the # corresponding links. But we have to remove the xm.h files and tm.h @@ -515,4 +514,9 @@ case ${srcdir} in grep "source ${srcdir}/.gdbinit" .gdbinit >/dev/null 2>/dev/null || \ echo "source ${srcdir}/.gdbinit" >> .gdbinit esac +], +[ +gdb_host_cpu=$gdb_host_cpu +gdb_target_cpu=$gdb_target_cpu +nativefile=$nativefile ]) -- 2.30.2