public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* [crosstool-ng/crosstool-ng] 6c49a2: configure: Correctly search for tinfo for kconfig
@ 2015-11-16  2:20 Bryan Hundven
  0 siblings, 0 replies; only message in thread
From: Bryan Hundven @ 2015-11-16  2:20 UTC (permalink / raw)
  To: crossgcc

[-- Attachment #1: Type: text/plain, Size: 1460 bytes --]

  Branch: refs/heads/master
  Home:   https://github.com/crosstool-ng/crosstool-ng
  Commit: 6c49a232a81cf4f4f22a13b13e91af74e7edab32
      https://github.com/crosstool-ng/crosstool-ng/commit/6c49a232a81cf4f4f22a13b13e91af74e7edab32
  Author: Bryan Hundven <bryanhundven@gmail.com>
  Date:   2015-11-14 (Sat, 14 Nov 2015)

  Changed paths:
    M configure.ac
    M kconfig/Makefile

  Log Message:
  -----------
  configure: Correctly search for tinfo for kconfig

I previously thought that tinfo could only be a link to libncurses in
modern ncurses installations. I was wrong.

Now we check for ncurses, then check for tinfo. If tinfo is a link to
ncurses, it is then not required to link against. But if libtinfo is
providing tgetent, and not libncurses, then we must add it to LIBS as
well.

Also, kconfig shouldn't hardcode -lncurses, it should use what is in
$(LIBS).

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>


  Commit: 6ac8e31a519f41af7838bb5261e0fe989fb428bd
      https://github.com/crosstool-ng/crosstool-ng/commit/6ac8e31a519f41af7838bb5261e0fe989fb428bd
  Author: Bryan Hundven <bryanhundven@gmail.com>
  Date:   2015-11-15 (Sun, 15 Nov 2015)

  Changed paths:
    M configure.ac
    M kconfig/Makefile

  Log Message:
  -----------
  Merge pull request #262 from bhundven/fix_ncurses_tinfo

configure: Correctly search for tinfo for kconfig


Compare: https://github.com/crosstool-ng/crosstool-ng/compare/4b5f10df03e2...6ac8e31a519f

[-- Attachment #2: Type: text/plain, Size: 71 bytes --]

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-11-16  2:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-16  2:20 [crosstool-ng/crosstool-ng] 6c49a2: configure: Correctly search for tinfo for kconfig Bryan Hundven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).