This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[crosstool-ng/crosstool-ng] 6c49a2: configure: Correctly search for tinfo for kconfig


  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
--
For unsubscribe information see http://sourceware.org/lists.html#faq

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]