Subversion Repositories

?revision_form?Rev ?revision_input??revision_submit??revision_endform?

Rev 2 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 magnus 1
#                                               -*- Autoconf -*-
2
# Process this file with autoconf to produce a configure script.
3
 
4
AC_PREREQ(2.61)
21 magnus 5
AC_INIT(libdkim, 1.0.19)
2 magnus 6
AC_CONFIG_SRCDIR([dkim.cpp])
7
##AC_CONFIG_HEADER([config.h])
8
 
9
# Checks for programs.
10
AC_PROG_CXX
11
PKG_PROG_PKG_CONFIG
12
 
13
# Checks for libraries.
14
#AC_CHECK_LIB([crypto], [PEM_read_PrivateKey])
15
PKG_CHECK_MODULES([libcrypto], [libcrypto])
16
AC_SEARCH_LIBS([res_query], [resolv c],,
17
               [AC_SEARCH_LIBS(__res_query,resolv bind)])
18
 
19
# Checks for header files.
20
AC_HEADER_RESOLV
21
AC_HEADER_STDC
22
AC_CHECK_HEADERS([netdb.h netinet/in.h inttypes.h stdlib.h string.h])
23
 
24
# Checks for typedefs, structures, and compiler characteristics.
25
AC_HEADER_STDBOOL
26
AC_C_CONST
27
AC_C_INLINE
28
AC_HEADER_TIME
29
AC_TYPE_UINT16_T
30
AC_TYPE_UINT32_T
31
 
32
# Checks for library functions.
33
AC_FUNC_MEMCMP
34
AC_FUNC_SELECT_ARGTYPES
35
AC_CHECK_FUNCS([select socket strchr])
36
 
37
AC_CONFIG_FILES([Makefile libdkim.pc])
38
AC_OUTPUT