Check-in [76376fab1d]
Overview
SHA1:76376fab1ddacd06c0b6ab5c9bcfd7b0e516ccd4
Date: 2014-12-13 23:03:02
User: rkeene
Comment:Updated to work if ncurses and terminfo are split
Timelines: family | ancestors | descendants | both | trunk
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2014-12-13
23:04
[b1a15e5697] CTk 8.0.4000 (user: rkeene, tags: trunk, 8.0.4000)
23:03
[76376fab1d] Updated to work if ncurses and terminfo are split (user: rkeene, tags: trunk)
23:02
[9e821bdcac] Updated to only update remote files if requested (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)