]> 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:51:57 +0000 (11:51 -0800)
commit585997d05adde5a3510ce1221f9e8dd60407ce30
tree0a83e6375dc82f7febe52a7c3e793b03f54c78d8
parenta7c2793efe503ad7ad9f2d6fc73555da3a4cdaea
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