[crosstool-ng/crosstool-ng] 6c49a2: configure: Correctly search for tinfo for kconfig
Bryan Hundven
bryanhundven@gmail.com
Mon Nov 16 02:20:00 GMT 2015
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
-------------- next part --------------
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list