From mboxrd@z Thu Jan 1 00:00:00 1970 From: DJ Delorie To: msnyder@cygnus.com Cc: gdb-patches@cygnus.com, shebs@cygnus.com, robert.hoehne@gmx.net Subject: Re: Two patches for the readline lib Date: Thu, 01 Apr 1999 00:00:00 -0000 Message-id: <199903161909.OAA20182@envy.delorie.com> References: <199903142206.OAA18440@cygnus.com> <36ED63EB.54B1@cygnus.com> <36ED63EB.54B1@cygnus.com> X-SW-Source: 1999-q1/msg00106.html > 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. From mboxrd@z Thu Jan 1 00:00:00 1970 From: DJ Delorie To: msnyder@cygnus.com Cc: gdb-patches@cygnus.com, shebs@cygnus.com, robert.hoehne@gmx.net Subject: Re: Two patches for the readline lib Date: Tue, 16 Mar 1999 11:09:00 -0000 Message-ID: <199903161909.OAA20182@envy.delorie.com> References: <199903142206.OAA18440@cygnus.com> <36ED63EB.54B1@cygnus.com> <36ED63EB.54B1@cygnus.com> X-SW-Source: 1999-03/msg00052.html Message-ID: <19990316110900.BQ87XVXWv9PlW61oHeNkkTvbwD3RO4Of8WTRfZqvGvk@z> > 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.