]> 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)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 3 Jan 2021 19:59:50 +0000 (11:59 -0800)
commit632917461a7c1893a83979a3873b51d4da3b8a42
tree43ea7533e82b7c22cd0c4a0174d578d7de0416e6
parentad2567fb1efced752352096f345c69f88e1ff405
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.
configure.ac
src/terminfo.c