File: configure.in

package info (click to toggle)
dchroot 0.11
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 112 kB
  • ctags: 26
  • sloc: ansic: 361; makefile: 71
file content (26 lines) | stat: -rw-r--r-- 542 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
dnl Process this file with autoconf to produce a configure script.
AC_INIT(dchroot.c)

dnl Checks for programs.
AC_PROG_CC

dnl Checks for libraries.

dnl Checks for header files.
AC_HEADER_STDC
AC_HEADER_SYS_WAIT
AC_CHECK_HEADERS(limits.h unistd.h)

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

dnl Checks for library functions.
AC_FUNC_VPRINTF
AC_CHECK_FUNCS(strerror)

DCHROOT_VERSION=`head -1 debian/changelog | sed -n 's/.*(\(.*\)).*/\1/p'`

AC_SUBST(DCHROOT_VERSION)

AC_OUTPUT(Makefile)