projects
/
ncurses.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ncurses 6.2 - patch 20210710
[ncurses.git]
/
test
/
aclocal.m4
diff --git
a/test/aclocal.m4
b/test/aclocal.m4
index 81d3af842afb80704da996c3514a73c4daad1953..a78dec7e08a32c3ea8a346e0cbee7a1e221a0214 100644
(file)
--- a/
test/aclocal.m4
+++ b/
test/aclocal.m4
@@
-27,7
+27,7
@@
dnl sale, use or other dealings in this Software without prior written *
dnl authorization. *
dnl***************************************************************************
dnl
dnl authorization. *
dnl***************************************************************************
dnl
-dnl $Id: aclocal.m4,v 1.19
6 2021/07/03 20:21:44
tom Exp $
+dnl $Id: aclocal.m4,v 1.19
7 2021/07/10 21:40:29
tom Exp $
dnl
dnl Author: Thomas E. Dickey
dnl
dnl
dnl Author: Thomas E. Dickey
dnl
@@
-4225,7
+4225,7
@@
fi
AC_SUBST(no_x11_rgb)
])dnl
dnl ---------------------------------------------------------------------------
AC_SUBST(no_x11_rgb)
])dnl
dnl ---------------------------------------------------------------------------
-dnl CF_XOPEN_CURSES version: 1
6 updated: 2021/01/02 09:31:20
+dnl CF_XOPEN_CURSES version: 1
7 updated: 2021/07/10 12:22:27
dnl ---------------
dnl Test if we should define X/Open source for curses, needed on Digital Unix
dnl 4.x, to see the extended functions, but breaks on IRIX 6.x.
dnl ---------------
dnl Test if we should define X/Open source for curses, needed on Digital Unix
dnl 4.x, to see the extended functions, but breaks on IRIX 6.x.
@@
-4245,15
+4245,14
@@
AC_TRY_LINK([
make an error
#endif
#endif
make an error
#endif
#endif
-#ifdef NCURSES_VERSION
+#ifdef NCURSES_WIDECHAR
+make an error /* prefer to fall-through on the second checks */
+#endif
cchar_t check;
int check2 = curs_set((int)sizeof(check));
cchar_t check;
int check2 = curs_set((int)sizeof(check));
-#endif
long x = winnstr(stdscr, "", 0);
int x1, y1;
long x = winnstr(stdscr, "", 0);
int x1, y1;
-#ifdef NCURSES_VERSION
(void)check2;
(void)check2;
-#endif
getbegyx(stdscr, y1, x1);
(void)x;
(void)y1;
getbegyx(stdscr, y1, x1);
(void)x;
(void)y1;
@@
-4267,16
+4266,12
@@
AC_TRY_LINK([
#define $cf_try_xopen_extension 1
#include <stdlib.h>
#include <${cf_cv_ncurses_header:-curses.h}>],[
#define $cf_try_xopen_extension 1
#include <stdlib.h>
#include <${cf_cv_ncurses_header:-curses.h}>],[
-#ifdef NCURSES_VERSION
cchar_t check;
int check2 = curs_set((int)sizeof(check));
cchar_t check;
int check2 = curs_set((int)sizeof(check));
-#endif
long x = winnstr(stdscr, "", 0);
int x1, y1;
getbegyx(stdscr, y1, x1);
long x = winnstr(stdscr, "", 0);
int x1, y1;
getbegyx(stdscr, y1, x1);
-#ifdef NCURSES_VERSION
(void)check2;
(void)check2;
-#endif
(void)x;
(void)y1;
(void)x1;
(void)x;
(void)y1;
(void)x1;