-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
45 lines (37 loc) · 1.12 KB
/
configure.ac
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
41
42
43
44
45
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
m4_define([ppu_version], 1.1.14)
AC_PREREQ([2.69])
AC_INIT([servicelog], ppu_version, [[email protected], [email protected]])
AC_CONFIG_AUX_DIR([config])
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([-Wall subdir-objects -Werror foreign])
AC_CONFIG_SRCDIR([src/servicelog.c])
AC_CONFIG_SRCDIR([man/servicelog.8])
AC_CONFIG_HEADERS([config/config.h])
AM_INIT_AUTOMAKE
LT_INIT
# Checks for programs.
AC_PROG_CC
AC_PROG_INSTALL
AM_PROG_CC_C_O
# Checks for libraries.
AC_CHECK_LIB([servicelog], [servicelog_open servicelog_close])
# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([stdlib.h string.h unistd.h limits.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_TYPE_SIZE_T
AC_C_INLINE
AC_FUNC_FORK
AC_FUNC_MALLOC
AC_PROG_CXX
AC_TYPE_PID_T
AC_TYPE_SSIZE_T
AC_TYPE_UINT32_T
AC_TYPE_UINT64_T
# Checks for library functions.
AC_CHECK_FUNCS([memset strtol strcasecmp strchr strdup strerror strrchr strstr strtoul])
AC_CONFIG_FILES([Makefile servicelog.spec])
AC_OUTPUT