diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2017-11-01 13:11:12 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2017-11-01 13:11:12 (GMT) |
commit | 2be9a31213e93e26a71150efaef1a975f8b9afec (patch) | |
tree | 5485514a2d8c01bc5fd904c59434905c5a2eff30 /configure | |
parent | 89b84b026b389f3c61cbbc5ee89afd8248721b0d (diff) | |
download | cpython-2be9a31213e93e26a71150efaef1a975f8b9afec.zip cpython-2be9a31213e93e26a71150efaef1a975f8b9afec.tar.gz cpython-2be9a31213e93e26a71150efaef1a975f8b9afec.tar.bz2 |
bpo-31919: Fix building the curses module on OpenIndiana. (GH-4211) (#4215)
(cherry picked from commit 894ebd065e02debf20c0657d26020ecc42b7534f)
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 30 |
1 files changed, 30 insertions, 0 deletions
@@ -16110,6 +16110,36 @@ $as_echo "no" >&6; } fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchgat" >&5 +$as_echo_n "checking for wchgat... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <curses.h> +int +main () +{ + +#ifndef wchgat +void *x=wchgat +#endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + +$as_echo "#define HAVE_CURSES_WCHGAT 1" >>confdefs.h + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for filter" >&5 $as_echo_n "checking for filter... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext |