-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathconfigure.ac
41 lines (32 loc) · 892 Bytes
/
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
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ([2.68])
AC_INIT([libsieve], [2.3.1])
AC_CONFIG_SRCDIR([src/sv_parser/sieve.y])
AM_INIT_AUTOMAKE([foreign dist-bzip2 subdir-objects])
AM_SILENT_RULES([yes])
AC_CONFIG_MACRO_DIR([m4])
dnl Checks for programs.
AC_PROG_CC
AC_PROG_YACC
AC_PROG_INSTALL
LT_INIT([disable-static])
AM_PROG_LEX
AM_PROG_CC_C_O
dnl Gperf may used in a future Sieve lexer
dnl AM_MISSING_PROG([GPERF], [gperf])
dnl Checks for header files
AC_HEADER_STDC
AC_CHECK_HEADERS(fcntl.h malloc.h unistd.h alloca.h)
dnl Checks for GCC visibility macros
gl_VISIBILITY
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_TYPE_SIZE_T
AC_C_BIGENDIAN
AC_CHECK_HEADERS(endian.h)
dnl Checks for library functions.
AC_FUNC_MEMCMP
AC_FUNC_VPRINTF
AC_CONFIG_HEADERS(config.h)
AC_CONFIG_FILES([libsieve.pc Makefile])
AC_OUTPUT