* config.gdb: Don't create readline dir in subdir builds.
authorJohn Gilmore <gnu@cygnus>
Sun, 19 May 1991 15:21:15 +0000 (15:21 +0000)
committerJohn Gilmore <gnu@cygnus>
Sun, 19 May 1991 15:21:15 +0000 (15:21 +0000)
        * main.c:  Include with "..." form for non-system include files,
        so "gcc -MM" for "make depend" works.
        Include readline files with "...h" rather than <readline/...h>.

gdb/config.gdb

index 1712482..4f22663 100755 (executable)
@@ -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}" \