summaryrefslogtreecommitdiff
path: root/archivers/pax/files/configure.ac
blob: 2a335b8d4d8008804ad20675c7f21e860abb0852 (plain)
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
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.57)
AC_INIT([pax], [20030905], [grant@NetBSD.org])
AC_CONFIG_SRCDIR([pax.c])
AC_CONFIG_HEADER(config.h)

# Checks for programs.
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_LN_S

# Checks for libraries.
AC_CHECK_LIB(util, fparseln)

# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([ctype.h grp.h pwd.h regex.h regexp.h rmt.h stdarg.h])
AC_CHECK_HEADERS([sys/ioctl.h sys/mtio.h sys/resource.h sys/uio.h sys/wait.h])

# Checks for library functions.
AC_CHECK_FUNCS([getrlimit setrlimit])

AH_BOTTOM([
#ifndef _PATH_DEFTAPE
# ifdef DEFTAPE
#  define _PATH_DEFTAPE DEFTAPE
# else
#  define _PATH_DEFTAPE "/dev/tape"
# endif /* DEFTAPE */
#endif /* _PATH_DEFTAPE */
])

AC_CONFIG_FILES([Makefile])
AC_OUTPUT