• Sergei Golubchik's avatar
    MDEV-10293 'setupterm' was not declared in this scope · 18cdff67
    Sergei Golubchik authored
    Check for readline before checking for curses headers, because
    MYSQL_CHECK_READLINE fails when curses is not found, but
    CHECK_INCLUDE_FILES simply remembers the fact and continues.  So if
    there's no curses, MYSQL_CHECK_READLINE will abort, the user will then
    installs curses and continue the build. Thus, CHECK_INCLUDE_HEADERS
    will remember that there is no curses, but other checks from
    MYSQL_CHECK_READLINE will remember that curses are there. It will
    result in inconsistent HAVE_xxx defines.
    18cdff67
configure.cmake 34.4 KB