[gnu.gdb.bug] bugs on i386 running V.3.2

rms@mipos3.intel.com (07/28/89)

* config.gdb says to change some things in the makefile, but it neglects
to say to change SYSV_DEFINE.

* Typo in CLIBS for SysV in ./Makefile: {$ instead of ${.

* readline/Makefile forgets to do anything with SYSV_DEFINE.

* readline/Makefile defines .c.o to pass a -o switch to cc.
This does not work with non-gnu cc.

* readline/Makefile runs ranlib, which doesn't exist on SysV.
Check the existance of that command at run-time, as gcc does in
its makefile.

* On this system, it is necessary to #undef TIOCGETC in inflow.c.

* On this system, readline.c gets an error because getpwent
and getpwuid are already declared, apparently not the same way.

* Linking gdb gets an error that rl_completion_entry_function
is multiply defined.
This seemed to be because the declarations of this variable in
readline.h is missing an extern.  The following declaration has
the same problem.