]> git.eshelyaron.com Git - emacs.git/commit
Fix broken build on AIX 7.2
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 3 Jan 2021 19:19:48 +0000 (11:19 -0800)
committerGlenn Morris <rgm@gnu.org>
Mon, 4 Jan 2021 17:02:40 +0000 (09:02 -0800)
commitfa574e68dec8255e211fbca95e187083ec6eabb4
treed7bf9a146aedb12d4c1691ec9cf2837f008266f7
parent2c847902522ae74c9b25b2a3fa60565e0187fd0a
Fix broken build on AIX 7.2

Without this fix, the build on AIX 7.2 with xlc fails in the ‘CCLD
temacs’ step with the diagnostic ‘ld: 0711-317 ERROR: Undefined
symbol: BC’.  This is because -lcurses does not define BC etc.
* configure.ac: When building terminfo.o, define
TERMINFO_DEFINES_BC if the library defines BC etc.
* src/terminfo.c (UP, BC, PC): Define depending on
TERMINFO_DEFINES_BC, not on TERMINFO.

(cherry picked from commit 632917461a7c1893a83979a3873b51d4da3b8a42)
configure.ac
src/terminfo.c