File: configure.in

package info (click to toggle)
notifyme 1.4.3-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny, sarge, squeeze
  • size: 176 kB
  • ctags: 148
  • sloc: ansic: 943; sh: 153; makefile: 116
file content (31 lines) | stat: -rw-r--r-- 677 bytes parent folder | download | duplicates (2)
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
dnl Process this file with autoconf to produce a configure script.
AC_INIT(notifyme.c)

VERSION="1.2"
PACKAGGE=notifyme
AC_SUBST(VERSION)
AC_SUBST(PACKAGE)

AC_CONFIG_HEADER(config.h)

dnl Checks for programs.
AC_PROG_CC
AC_PROG_INSTALL

dnl Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS(fcntl.h sys/ioctl.h unistd.h)

dnl Checks for typedefs, structures, and compiler characteristics.
AC_MSG_CHECKING([whether utmp has USER_PROCESS type])
AC_TRY_COMPILE([
#include <utmp.h>
],
[int i=USER_PROCESS;],[AC_MSG_RESULT(yes)
	AC_DEFINE(HAVE_USER_PROCESS)], AC_MSG_RESULT(no))

dnl Checks for library functions.
AC_PROG_GCC_TRADITIONAL
AC_TYPE_SIGNAL

AC_OUTPUT(Makefile)