Subject: Re: bug#9736: Configure error for emacs-24.0.90 with AIX 5.3

From: Glenn Morris <[email-masked]>
Date: Wed, 12 Oct 2011 14:09:34 -0400

Dan Nicolaescu wrote:

> I think the configure test is incorrect.
> For example on Solaris this would find libtermcap, where previous emacs
> version would use libcurses, which would be the better option.

PPS are you sure this is an issue, because later on we see:

case "$opsys" in
  aix4-2|cygwin|hpux*|irix6-5|openbsd|sol2*|unixware) TERMINFO=yes ;;
  [...]
esac

[...]

if test $TERMINFO = yes; then
   [...]
   test "x$LIBS_TERMCAP" = "x" && LIBS_TERMCAP="-lcurses"
   [...]
fi

As a test, I built 24.0.90 on Solaris and indeed it linked to libcurses
and not libtermcap.