[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: order of checking for readline in configure.ac
From: |
Mike Miller |
Subject: |
Re: order of checking for readline in configure.ac |
Date: |
Wed, 5 Sep 2012 14:54:36 -0400 |
On Wed, Sep 5, 2012 at 2:33 PM, Rik wrote:
> On 09/05/2012 10:47 AM, Mike Miller wrote:
>> Rik,
>>
>> I see that you moved OCTAVE_ENABLE_READLINE to an earlier point in
>> configure in this change:
>>
>> http://hg.savannah.gnu.org/hgweb/octave/rev/36cbcc37fdb8
>>
>> I just noticed this breaks the readline check for me on an older
>> system (RHEL5) where TERM_LIBS needs to be found first. As you can see
>> from the changeset it used to be right after TERM_LIBS. Would it be
>> worth making an OCTAVE_CHECK_TERM_LIBS function and have the readline
>> function AC_REQUIRE it to protect against this in the future or should
>> we just shuffle the order back so it works?
>>
> 9/5/12
>
> Mike,
>
> Try the attached patch (patch -p1 < termlib.diff). If it works for you too
> I'll commit it.
Yes that fixes it for me, thanks.
--
mike