Check-in [76376fab1d]
Overview
Comment:Updated to work if ncurses and terminfo are split
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:76376fab1ddacd06c0b6ab5c9bcfd7b0e516ccd4
User & Date: rkeene on 2014-12-13 23:03:02
Other Links: manifest | tags
Context
2014-12-13
23:04
CTk 8.0.4000 check-in: b1a15e5697 user: rkeene tags: trunk, 8.0.4000
23:03
Updated to work if ncurses and terminfo are split check-in: 76376fab1d user: rkeene tags: trunk
23:02
Updated to only update remote files if requested check-in: 9e821bdcac user: rkeene tags: trunk
Changes

Modified configure.ac from [74356e87a7] to [88116b55e0].

13
14
15
16
17
18
19
20
21
22


23
24
25
26
27
28
29
30
31
32
33
34
dnl Determine how to make shared objects
DC_GET_SHOBJFLAGS

dnl Perform Tcl Extension required stuff
TCLEXT_INIT

dnl Determine how to link to NCurses
AC_SEARCH_LIBS(stdscr, ncurses curses,, [
	AC_MSG_ERROR([Unable to determine how to link to curses])
])



dnl Look for appropriate headers
AC_HEADER_STDC
AC_CHECK_HEADERS(ctype.h curses.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
AC_OUTPUT(Makefile pkgIndex.tcl)







|


>
>












13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
dnl Determine how to make shared objects
DC_GET_SHOBJFLAGS

dnl Perform Tcl Extension required stuff
TCLEXT_INIT

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
AC_CHECK_HEADERS(ctype.h curses.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
AC_OUTPUT(Makefile pkgIndex.tcl)