13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
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}"
|
|
>
>
|
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
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}"
|