This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project. See the GDB home page for more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Two patches for the readline lib



> In that case, would it be appropriate to use a single macro
> (eg. if defined (__DJGPP__)) to control these changes?  The old
> readline was a hodge-podge of different ifdefs of this sort.
> It'd be nice to keep it under control this time.

A better solution would be to break out the mechanism-specific parts
of readline into separate sources, so that configure could just pick
one.  One for termcap, one for curses, one for djgpp, one for cygwin,
etc.