Re: compilation with libeditpreferred is broken - Mailing list pgsql-hackers

From Zdenek Kotala
Subject Re: compilation with libeditpreferred is broken
Date
Msg-id 1250107171.1240.11.camel@localhost
Whole thread Raw
In response to Re: compilation with libeditpreferred is broken  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: compilation with libeditpreferred is broken
List pgsql-hackers
I attached conservative version of patch which only reorder #define to
avoid cross including half from readline and half from editline.

    Zdenek


Tom Lane píše v čt 06. 08. 2009 v 18:13 -0400:
> Zdenek Kotala <Zdenek.Kotala@Sun.COM> writes:
> > It seems to me that editline never distributed history.h file and
> > HAVE_EDITLINE_HISTORY_H is nonsense. But I'm not sure.
>
> I wouldn't count on that, in part because there are so many versions of
> editline.  On an OS X machine I see
>
> $ ls -l /usr/include/*line*
> /usr/include/editline:
> total 16
> -rw-r--r--  1 root  wheel  6882 Feb 19  2008 readline.h
>
> /usr/include/readline:
> total 16
> lrwxr-xr-x  1 root  wheel  22 Jul 23 11:31 history.h@ -> ../editline/readline.h
> lrwxr-xr-x  1 root  wheel  22 Jul 23 11:31 readline.h@ -> ../editline/readline.h
>
>             regards, tom lane

Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: WIP: getting rid of the pg_database flat file
Next
From: Stephen Frost
Date:
Subject: Re: WIP: getting rid of the pg_database flat file