aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ.T. Conklin <jtc@acorntoolworks.com>1995-05-16 20:21:58 +0000
committerJ.T. Conklin <jtc@acorntoolworks.com>1995-05-16 20:21:58 +0000
commit0a5a18215c683aefd95ec6da746eceb36a8a66f2 (patch)
treef8271718ec2ac2ff82197c3b410d7ea05f6fe69e
parent832338b24a45a955f733f89f56f7bab384a0c1eb (diff)
downloadfsf-binutils-gdb-0a5a18215c683aefd95ec6da746eceb36a8a66f2.zip
fsf-binutils-gdb-0a5a18215c683aefd95ec6da746eceb36a8a66f2.tar.gz
fsf-binutils-gdb-0a5a18215c683aefd95ec6da746eceb36a8a66f2.tar.bz2
* configure.in: Added INIT-CMDS argument to AC_OUTPUT which sets
gdb_host_cpu, gdb_target_cpu and nativefile. * configure: regenerated.
-rw-r--r--gdb/ChangeLog6
-rwxr-xr-xgdb/configure9
-rw-r--r--gdb/configure.in6
3 files changed, 19 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 85adff5..51eae30 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+Tue May 16 13:16:06 1995 J.T. Conklin <jtc@rtl.cygnus.com>
+
+ * 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 bc44923..638fd5d 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 <<EOF
+gdb_host_cpu=$gdb_host_cpu
+gdb_target_cpu=$gdb_target_cpu
+nativefile=$nativefile
+
+EOF
+cat >> $CONFIG_STATUS <<\EOF
if test "${nativefile}" = ""; then
sed -e '/^NATDEPFILES= /s//# NATDEPFILES= /' \
diff --git a/gdb/configure.in b/gdb/configure.in
index fe4fac1..3764fb0 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
])