aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.in
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1997-03-31 19:57:51 +0000
committerIan Lance Taylor <ian@airs.com>1997-03-31 19:57:51 +0000
commit0cb7d01dd2fbd8fad5d527d0275f7e17de661ed8 (patch)
tree6bfc8a2fbd646428bb54c19a5e47051cda0958a9 /gdb/configure.in
parent2f2bcadb7d68b2eef6295647f419f72fe67508ef (diff)
downloadgdb-0cb7d01dd2fbd8fad5d527d0275f7e17de661ed8.zip
gdb-0cb7d01dd2fbd8fad5d527d0275f7e17de661ed8.tar.gz
gdb-0cb7d01dd2fbd8fad5d527d0275f7e17de661ed8.tar.bz2
* gdbinit.in: New file.
* .gdbinit: Remove. * configure.in: Generate .gdbinit from gdbinit.in. * configure: Rebuild.
Diffstat (limited to 'gdb/configure.in')
-rw-r--r--gdb/configure.in10
1 files changed, 1 insertions, 9 deletions
diff --git a/gdb/configure.in b/gdb/configure.in
index 84f7c61..4742f24 100644
--- a/gdb/configure.in
+++ b/gdb/configure.in
@@ -460,7 +460,7 @@ fi
AC_LINK_FILES($files, $links)
AC_CONFIG_SUBDIRS($configdirs)
-AC_OUTPUT(Makefile,
+AC_OUTPUT(Makefile .gdbinit:gdbinit.in,
[
dnl Autoconf doesn't provide a mechanism for modifying definitions
dnl provided by makefile fragments.
@@ -478,14 +478,6 @@ sed -e '/^TM_FILE[ ]*=/s,^TM_FILE[ ]*=[ ]*,&config/'"${gdb_target_cpu}"'/,
mv -f Makefile.tmp Makefile
changequote([,])dnl
-case ${srcdir} in
-.)
-;;
-*)
-grep "source ${srcdir}/.gdbinit" .gdbinit >/dev/null 2>/dev/null || \
-echo "source ${srcdir}/.gdbinit" >> .gdbinit
-esac
-
case x$CONFIG_HEADERS in
xconfig.h:config.in)
echo > stamp-h ;;