]> git.saurik.com Git - apple/launchd.git/blob - launchd/configure.ac
launchd-106.3.tar.gz
[apple/launchd.git] / launchd / configure.ac
1 # -*- Autoconf -*-
2 # Process this file with autoconf to produce a configure script.
3
4 AC_PREREQ(2.57)
5 AC_INIT(launchd, 1.0, launchd-bug-reports@group.apple.com)
6 AC_CONFIG_SRCDIR([src/ConsoleMessage.c])
7 AM_INIT_AUTOMAKE
8 AM_CONFIG_HEADER([src/config.h])
9
10 # Checks for programs.
11 AC_PROG_CC
12 AC_PROG_RANLIB
13
14 # Checks for libraries.
15
16 # Checks for header files.
17 AC_HEADER_DIRENT
18 AC_HEADER_STDC
19 AC_HEADER_SYS_WAIT
20 AC_CHECK_HEADERS([fcntl.h limits.h mach/mach.h stdlib.h string.h syslog.h unistd.h])
21
22 # Checks for typedefs, structures, and compiler characteristics.
23 AC_HEADER_STDBOOL
24 AC_C_CONST
25 AC_TYPE_MODE_T
26 AC_TYPE_OFF_T
27 AC_TYPE_PID_T
28 AC_TYPE_SIZE_T
29 AC_TYPE_UID_T
30
31 # Checks for library functions.
32 AC_FUNC_CLOSEDIR_VOID
33 AC_FUNC_ERROR_AT_LINE
34 AC_FUNC_FORK
35 AC_FUNC_MALLOC
36 AC_FUNC_MMAP
37 AC_TYPE_SIGNAL
38 AC_FUNC_STAT
39 AC_CHECK_FUNCS([memmove munmap strerror])
40
41 AC_CONFIG_FILES([Makefile
42 src/Makefile
43 doc/Makefile])
44 AC_OUTPUT