File: configure.in

package info (click to toggle)
run 0.9.2-8
  • links: PTS
  • area: main
  • in suites: woody
  • size: 280 kB
  • ctags: 44
  • sloc: ansic: 773; sh: 339; makefile: 56
file content (40 lines) | stat: -rw-r--r-- 873 bytes parent folder | download
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
36
37
38
39
40
dnl Process this file with autoconf to produce a configure script.
AC_INIT(src/run.c)

version=`cat ./VERSION`
AM_INIT_AUTOMAKE(run, "$version")
AM_CONFIG_HEADER(config.h)
AC_SUBST(VERSION)
echo
echo "Now configuring $PACKAGE-$VERSION"
echo

dnl Checks for programs.
AC_PROG_MAKE_SET
AC_PROG_CC
AC_ISC_POSIX
AC_PROG_INSTALL
AC_PROG_LN_S

dnl Checks for libraries.

dnl Checks for header files.
AC_HEADER_STDC
AC_HEADER_SYS_WAIT

AC_CHECK_HEADERS(stdlib.h stdio.h string.h unistd.h)
AC_CHECK_HEADERS(sys/types.h sys/stat.h fcntl.h errno.h)
AC_CHECK_HEADERS(sys/time.h time.h wait.h signal.h select sys/select.h)

dnl Checks for typedefs, structures, and compiler characteristics.
AC_TYPE_OFF_T
AC_TYPE_PID_T
AC_HEADER_TIME

dnl Checks for library functions.
AC_TYPE_SIGNAL
AC_CHECK_FUNCS(gettimeofday strspn usleep)

AC_OUTPUT(Makefile src/Makefile man/Makefile run.spec)