* 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 171248243716af951325b32cca854356cfb2bb6b..4f226630d3765cd7c50af6e02c9c65e2298c8c83 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}" \