diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2017-11-01 12:34:20 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-01 12:34:20 (GMT) |
commit | 894ebd065e02debf20c0657d26020ecc42b7534f (patch) | |
tree | 53809e5ad863135e94a77da6825448341f00d65a /configure.ac | |
parent | 388cd85e51aa9c73f8e7f35f0d06c258be7b579c (diff) | |
download | cpython-894ebd065e02debf20c0657d26020ecc42b7534f.zip cpython-894ebd065e02debf20c0657d26020ecc42b7534f.tar.gz cpython-894ebd065e02debf20c0657d26020ecc42b7534f.tar.bz2 |
bpo-31919: Fix building the curses module on OpenIndiana. (#4211)
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 724f7ce..fd15868 100644 --- a/configure.ac +++ b/configure.ac @@ -5033,6 +5033,17 @@ void *x=syncok [AC_MSG_RESULT(no)] ) +AC_MSG_CHECKING(for wchgat) +AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <curses.h>]], [[ +#ifndef wchgat +void *x=wchgat +#endif +]])], + [AC_DEFINE(HAVE_CURSES_WCHGAT, 1, Define if you have the 'wchgat' function.) + AC_MSG_RESULT(yes)], + [AC_MSG_RESULT(no)] +) + AC_MSG_CHECKING(for filter) AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <curses.h>]], [[ #ifndef filter |