mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-18 09:19:24 +03:00
* configure.in: Add check for ESCDELAY variable in ncurses.
This commit is contained in:
parent
733c2dd05e
commit
2990245111
@ -1,3 +1,7 @@
|
|||||||
|
2001-05-30 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* configure.in: Add check for ESCDELAY variable in ncurses.
|
||||||
|
|
||||||
2001-05-29 Pavel Roskin <proski@gnu.org>
|
2001-05-29 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
* extraconf.h [!USE_VFS]: Undefine USE_NETCODE and
|
* extraconf.h [!USE_VFS]: Undefine USE_NETCODE and
|
||||||
|
25
configure.in
25
configure.in
@ -810,6 +810,31 @@ EOF
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
dnl If ncurses exports the ESCDELAY variable it should be set to 0
|
||||||
|
dnl or you'll have to press Esc three times to dismiss a dialog box.
|
||||||
|
dnl
|
||||||
|
if test -n "$ncurses_version"; then
|
||||||
|
AC_CACHE_CHECK([for ESCDELAY variable],
|
||||||
|
[mc_cv_ncurses_escdelay],
|
||||||
|
[AC_TRY_COMPILE([], [
|
||||||
|
extern int ESCDELAY;
|
||||||
|
int main ()
|
||||||
|
{
|
||||||
|
ESCDELAY = 0;
|
||||||
|
}
|
||||||
|
],
|
||||||
|
[mc_cv_ncurses_escdelay=yes],
|
||||||
|
[mc_cv_ncurses_escdelay=no]
|
||||||
|
)
|
||||||
|
])
|
||||||
|
if test "$mc_cv_ncurses_escdelay" = yes; then
|
||||||
|
AC_DEFINE(HAVE_ESCDELAY, 1,
|
||||||
|
[Define if ncurses has ESCDELAY variable])
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
dnl Ncurses may be linked against libgpm. Change LIBS temporary for
|
dnl Ncurses may be linked against libgpm. Change LIBS temporary for
|
||||||
dnl check for resizeterm and keyok.
|
dnl check for resizeterm and keyok.
|
||||||
dnl
|
dnl
|
||||||
|
Loading…
Reference in New Issue
Block a user