Re: [hatari-devel] GCC 4.9 is now used on my builds |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
----- Thomas Huth wrote:
> Am Fri, 30 May 2014 15:37:23 +0200
> schrieb Christer Solskogen :
>
> > On Wed, May 28, 2014 at 3:49 PM, Christer Solskogen
> > wrote:
> > > On Wed, May 28, 2014 at 1:48 PM, Nicolas Pomarède
> > > wrote:
> > >> Le 28/05/2014 12:49, Christer Solskogen a écrit :
> > >>
> > >>
> > >>> Can you send me a list of all mingw packages you have installed?
> > >>> (All of the libraries I'm using are compiled by me) - It might
> > >>> have something to do with termcap or something like that.
> > >>>
> > >
> > > Hah, funny. If readline is static rl_filename_completion_function is
> > > gone. If it's a shared library it's found.
> >
> > And this is most probably CMakes fault, since the function exist in
> > both the static and shared readline library.
> > Is there a spesific reason why CMakes check for
> > rl_filename_completion_function?
>
> Yes, on Mac OS X there is a replacement library for libreadline
> (libedit IIRC) which is used there instead. It is pretty much
> compatible with libreadline, but it does not feature that function (at
> least in the past), so the CMake build system has to check for it
> explicitely.
>
> Thomas
>
>
On CentOS 5, libreadline is found by cmake and
rl_filename_completion_function is not found.
Thus, the completion functionality is not present.
Checking for both may be required for older versions,
and getting rid of the rl_filename_completion_function
check may cause problems on some systems
(if it ain't broke, don't fix it).