aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.in
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-07-31 00:34:07 +0000
committerJohn Gilmore <gnu@cygnus>1991-07-31 00:34:07 +0000
commitdc0c3f64b6387b62b0a14a2c1c373b8bb7d27934 (patch)
treec062f5159d789b3c1591c432346b71126c27ac83 /gdb/configure.in
parent07d06baa0faa9d424fd52392d65ebb40a61a2c08 (diff)
downloadgdb-dc0c3f64b6387b62b0a14a2c1c373b8bb7d27934.zip
gdb-dc0c3f64b6387b62b0a14a2c1c373b8bb7d27934.tar.gz
gdb-dc0c3f64b6387b62b0a14a2c1c373b8bb7d27934.tar.bz2
Tighten up for gdb-3.98 release.
Diffstat (limited to 'gdb/configure.in')
-rw-r--r--gdb/configure.in13
1 files changed, 6 insertions, 7 deletions
diff --git a/gdb/configure.in b/gdb/configure.in
index c25fb13..f1e403d 100644
--- a/gdb/configure.in
+++ b/gdb/configure.in
@@ -1,6 +1,5 @@
srcname="GDB"
srctrigger=main.c
-Makefile=Makefile.conf
# per-host:
@@ -31,13 +30,17 @@ host_makefile_frag=xconfig/${host}
target_makefile_frag=tconfig/${target}
# If hostfile (XM_FILE) and/or targetfile (TM_FILE) is not set in the
-# ?config/* file, we don't make the corresponding links.
+# ?config/* file, we don't make the corresponding links. But we have
+# to remove the xm.h files and tm.h files anyway, e.g. when switching
+# from "configure host" to "configure none".
files=
links=
+rm -f xm.h
if [ "${hostfile}" != "" ]; then
files="${files} ${hostfile}"
links="${links} xm.h"
fi
+rm -f tm.h
if [ "${targetfile}" != "" ]; then
files="${files} ${targetfile}"
links="${links} tm.h"
@@ -53,8 +56,4 @@ case ${srcdir} in
echo "source ${srcdir}/.gdbinit" >> .gdbinit
esac
-rm -f Makefile
-if [ ! -f ${srcdir}/depend ]; then
- make -f Makefile.conf make-depend
-fi
-make -f Makefile.conf make-Makefile
+cat ${srcdir}/alldeps.mak ${srcdir}/depend >>Makefile