Subversion Repositories

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

Rev 2 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

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