Overview
| Comment: | Added more checks and made them more accurate |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
e80d51d3ae2960edd7116ee3f7119ca1 |
| User & Date: | rkeene on 2014-12-13 23:16:47.499 |
| Other Links: | manifest | tags |
Context
|
2014-12-13
| ||
| 23:17 | CTk 8.0.4001 Leaf check-in: 564fd09fbd user: rkeene tags: 8.0.4001, trunk | |
| 23:16 | Added more checks and made them more accurate check-in: e80d51d3ae user: rkeene tags: trunk | |
| 23:04 | CTk 8.0.4000 check-in: b1a15e5697 user: rkeene tags: 8.0.4000, trunk | |
Changes
Modified configure.ac
from [88116b55e0]
to [b61315201d].
| ︙ | ︙ | |||
18 19 20 21 22 23 24 25 26 27 | dnl Determine how to link to NCurses AC_SEARCH_LIBS(getch, ncurses curses tinfo,, [ AC_MSG_ERROR([Unable to determine how to link to curses]) ]) AC_SEARCH_LIBS(curses_version, ncurses curses tinfo) dnl Look for appropriate headers AC_HEADER_STDC | > > > > > > | | 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
dnl Determine how to link to NCurses
AC_SEARCH_LIBS(getch, ncurses curses tinfo,, [
AC_MSG_ERROR([Unable to determine how to link to curses])
])
AC_SEARCH_LIBS(curses_version, ncurses curses tinfo)
AC_SEARCH_LIBS(curs_set, ncurses curses tinfo)
AC_SEARCH_LIBS(set_term, ncurses curses tinfo)
AC_SEARCH_LIBS(beep, ncurses curses tinfo)
AC_SEARCH_LIBS(keypad, ncurses curses tinfo)
AC_CHECK_FUNCS(curs_set set_term beep keypad)
dnl Look for appropriate headers
AC_HEADER_STDC
AC_CHECK_HEADERS(ctype.h curses.h curses/curses.h curses/ncurses.h ncurses/ncurses.h errno.h fcntl.h limits.h math.h ncurses.h pwd.h signal.h stddef.h stdio.h stdlib.h string.h sys/file.h sys/select.h sys/stat.h sys/time.h sys/times.h sys/types.h tcl.h unistd.h)
dnl Determine what type of targets to build
TARGETS="libctk.${SHOBJEXT}"
CFLAGS="${CFLAGS} ${SHOBJFLAGS}"
AC_SUBST(TARGETS)
dnl Produce output
|
| ︙ | ︙ |
Modified ctkDisplay.c
from [3bae6f7cbc]
to [eaa9e679e2].
| ︙ | ︙ | |||
10 11 12 13 14 15 16 | * * @(#) $Id: ctk.shar,v 1.50 1996/01/15 14:47:16 andrewm Exp andrewm $ */ #include "tkPort.h" #include "tkInt.h" #include <sys/times.h> | | | | | > > > > < | 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
*
* @(#) $Id: ctk.shar,v 1.50 1996/01/15 14:47:16 andrewm Exp andrewm $
*/
#include "tkPort.h"
#include "tkInt.h"
#include <sys/times.h>
#ifdef HAVE_CURSES_H
# include <curses.h>
#elif defined(HAVE_CURSES_CURSES_H)
# include <curses/curses.h>
#elif defined(HAVE_CURSES_NCURSES_H)
# include <curses/ncurses.h>
#elif defined(HAVE_NCURSES_NCURSES_H)
# include <ncurses/ncurses.h>
#endif
#ifdef CLK_TCK
# define MS_PER_CLOCK (1000.0/CLK_TCK)
#elif defined HZ
# define MS_PER_CLOCK (1000.0/HZ)
#else
/*
* If all else fails, assume 60 clock ticks per second -
|
| ︙ | ︙ |
Modified tkBind.c
from [2ffc1aa07c]
to [899df738ec].
| ︙ | ︙ | |||
12 13 14 15 16 17 18 | * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * * @(#) $Id: ctk.shar,v 1.50 1996/01/15 14:47:16 andrewm Exp andrewm $ */ #include "tkPort.h" #include "tkInt.h" | | | | | > > > > | 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * * @(#) $Id: ctk.shar,v 1.50 1996/01/15 14:47:16 andrewm Exp andrewm $ */ #include "tkPort.h" #include "tkInt.h" #ifdef HAVE_CURSES_H # include <curses.h> #elif defined(HAVE_CURSES_CURSES_H) # include <curses/curses.h> #elif defined(HAVE_CURSES_NCURSES_H) # include <curses/ncurses.h> #elif defined(HAVE_NCURSES_NCURSES_H) # include <ncurses/ncurses.h> #endif /* * The structure below represents a binding table. A binding table * represents a domain in which event bindings may occur. It includes * a space of objects relative to which events occur (usually windows, * but not always), a history of recent events in the domain, and |
| ︙ | ︙ |