[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: order of checking for readline in configure.ac
From: |
Rik |
Subject: |
Re: order of checking for readline in configure.ac |
Date: |
Wed, 05 Sep 2012 11:33:16 -0700 |
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.
--Rik
termlib.diff
Description: Text Data