Re: [patch] fix building when readline is disabled

2012-04-26 Thread Mike Frysinger
On Tuesday 24 April 2012 15:49:57 Chet Ramey wrote: > On 4/24/12 10:46 AM, Mike Frysinger wrote: > > On Tuesday 24 April 2012 08:23:04 Chet Ramey wrote: > >> On 4/24/12 12:00 AM, Mike Frysinger wrote: > OK, so you've stripped the local readline copy out of the source tree? > >>> > >>> yes > >

Re: [patch] fix building when readline is disabled

2012-04-24 Thread Chet Ramey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 4/24/12 10:46 AM, Mike Frysinger wrote: > On Tuesday 24 April 2012 08:23:04 Chet Ramey wrote: >> On 4/24/12 12:00 AM, Mike Frysinger wrote: OK, so you've stripped the local readline copy out of the source tree? >>> >>> yes >>> Then configu

Re: [patch] fix building when readline is disabled

2012-04-24 Thread Mike Frysinger
On Tuesday 24 April 2012 08:23:04 Chet Ramey wrote: > On 4/24/12 12:00 AM, Mike Frysinger wrote: > >> OK, so you've stripped the local readline copy out of the source tree? > > > > yes > > > >> Then configured it to build with a system readline library installation > >> that you remove? > > > >

Re: [patch] fix building when readline is disabled

2012-04-24 Thread Chet Ramey
On 4/24/12 12:00 AM, Mike Frysinger wrote: >> OK, so you've stripped the local readline copy out of the source tree? > > yes > >> Then configured it to build with a system readline library installation >> that you remove? > > the system doesn't have readline at all Why? -- ``The lyf so short

Re: [patch] fix building when readline is disabled

2012-04-23 Thread Mike Frysinger
On Monday 23 April 2012 20:08:26 Chet Ramey wrote: > On 4/23/12 7:40 PM, Mike Frysinger wrote: > > On Monday 23 April 2012 18:57:05 Chet Ramey wrote: > >> On 4/23/12 12:22 AM, Mike Frysinger wrote: > >>> if you disable readline, the complete.def code fails to build. simple > >>> patch below (not s

Re: [patch] fix building when readline is disabled

2012-04-23 Thread Chet Ramey
On 4/23/12 7:40 PM, Mike Frysinger wrote: > On Monday 23 April 2012 18:57:05 Chet Ramey wrote: >> On 4/23/12 12:22 AM, Mike Frysinger wrote: >>> if you disable readline, the complete.def code fails to build. simple >>> patch below (not sure if it's correct, but at least gets the >>> conversation g

Re: [patch] fix building when readline is disabled

2012-04-23 Thread Mike Frysinger
On Monday 23 April 2012 18:57:05 Chet Ramey wrote: > On 4/23/12 12:22 AM, Mike Frysinger wrote: > > if you disable readline, the complete.def code fails to build. simple > > patch below (not sure if it's correct, but at least gets the > > conversation going). > > How did you disable readline? Ru

Re: [patch] fix building when readline is disabled

2012-04-23 Thread Chet Ramey
On 4/23/12 12:22 AM, Mike Frysinger wrote: > if you disable readline, the complete.def code fails to build. simple patch > below (not sure if it's correct, but at least gets the conversation going). How did you disable readline? Running configure --disable-readline and building as usual works f

[patch] fix building when readline is disabled

2012-04-22 Thread Mike Frysinger
if you disable readline, the complete.def code fails to build. simple patch below (not sure if it's correct, but at least gets the conversation going). -mike --- a/builtins/complete.def +++ b/builtins/complete.def @@ -49,6 +49,8 @@ $END #include +#ifdef READLINE + #include #include ".