File: configure.in

package info (click to toggle)
flin 0.5.1-8
  • links: PTS
  • area: main
  • in suites: potato, slink
  • size: 276 kB
  • ctags: 164
  • sloc: ansic: 1,642; makefile: 105; sh: 71
file content (35 lines) | stat: -rw-r--r-- 758 bytes parent folder | download | duplicates (4)
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
27
28
29
30
31
32
33
34
35
dnl Process this file with autoconf to produce a configure script.
AC_INIT(menu.h)
AC_CONFIG_HEADER(config.h)

PROGNAME=flin
VERSION=0.5.1
AC_DEFINE_UNQUOTED(PROGNAME, "$PROGNAME")
AC_DEFINE_UNQUOTED(VERSION, "$VERSION")
AC_SUBST(PROGNAME)
AC_SUBST(VERSION)

dnl Checks for programs.
AC_PROG_CC
AC_PROG_INSTALL

dnl Checks for header files.
AC_HEADER_STDC
AC_HEADER_SYS_WAIT
AC_CHECK_HEADERS(ncurses/ncurses.h)
AC_CHECK_HEADERS(fcntl.h syslog.h unistd.h)

dnl Checks for libraries.
dnl Replace `main' with a function in -lncurses:
AC_CHECK_LIB(ncurses, has_colors)

dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_TYPE_PID_T
AC_TYPE_SIZE_T

dnl Checks for library functions.
AC_TYPE_SIGNAL
AC_FUNC_WAIT3

AC_OUTPUT(Makefile)