File: configure.in

package info (click to toggle)
robotfindskitten 1.7320508.406-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,712 kB
  • ctags: 102
  • sloc: sh: 8,991; ansic: 836; makefile: 59
file content (26 lines) | stat: -rw-r--r-- 643 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
dnl Process this file with autoconf to produce a configure script.
AC_INIT(src/draw.h)
AM_INIT_AUTOMAKE(robotfindskitten,1.7320508.406)
AM_CONFIG_HEADER(config.h)
AC_LANG_C

dnl Checks for programs.
AC_PROG_CC
AM_PROG_LIBTOOL
AC_PROG_INSTALL

dnl Checks for libraries.
AC_CHECK_LIB(ncurses, initscr, ,curses)

dnl Checks for header files.
AC_CHECK_HEADERS(signal.h)
AC_CHECK_HEADERS(ncurses.h,, 
	[AC_CHECK_HEADERS(curses.h,, 
		AC_MSG_ERROR(Could not find ncurses headers!))])

dnl Checks for typedefs, structures, and compiler characteristics.

dnl Checks for library functions.
AC_TYPE_SIGNAL

AC_OUTPUT(Makefile src/Makefile doc/Makefile)