From: John Gilmore Date: Sun, 19 May 1991 15:21:15 +0000 (+0000) Subject: * config.gdb: Don't create readline dir in subdir builds. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9a7c775f1c0a552c86f592b1b307e98db4ffd86a;p=binutils-gdb.git * config.gdb: Don't create readline dir in subdir builds. * main.c: Include with "..." form for non-system include files, so "gcc -MM" for "make depend" works. Include readline files with "...h" rather than . --- diff --git a/gdb/config.gdb b/gdb/config.gdb index 17124824371..4f226630d37 100755 --- a/gdb/config.gdb +++ b/gdb/config.gdb @@ -168,12 +168,6 @@ case ${srcdir} in echo "srcdir=${srcdir}" >./Makefile.sdir grep -s "source ${srcdir}/.gdbinit" .gdbinit 2>/dev/null || \ echo "source ${srcdir}/.gdbinit" >> .gdbinit - if [ ! -d readline ]; then - mkdir readline - # This could be a symlink, but getting the name right (because - # srcdir can be either relative or absolute) would be hairy. - cp ${srcdir}/readline/Makefile readline - fi esac make "srcdir=${srcdir}" \