File: configure.ac

package info (click to toggle)
mailsync 5.2.1-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 736 kB
  • ctags: 187
  • sloc: cpp: 2,106; sh: 773; ansic: 107; makefile: 86
file content (43 lines) | stat: -rw-r--r-- 743 bytes parent folder | download
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
AC_INIT([mailsync], [5.2.1], [tpo_deb@sourcepole.ch])
AM_INIT_AUTOMAKE
AM_CONFIG_HEADER(config.h)
AC_CONFIG_SRCDIR([src/mailsync_main.cc])


AC_PROG_CC
AC_PROG_CXX
AC_PROG_INSTALL
AC_PROG_AWK
AC_PROG_CPP

AC_HEADER_STDC
AC_CHECK_HEADERS([string.h])

AC_C_CONST

AC_FUNC_STAT
AC_CHECK_FUNCS([getpass memset strchr strdup strerror strtoul])
# default action of AC_CHECK_LIB is to add item to LIBS
AC_CHECK_LIB(crypt,crypt)

AC_INET_FUNCS(,[
 AC_MSG_ERROR([essential functions missing])
])

AC_SO_PREFERENCE([yes])
AC_WITH_OPENSSL
AC_WITH_KRB5
AC_KRB5_GSSAPI
AC_WITH_PAM

AC_WITH_CCLIENT(,[
 AC_MSG_ERROR([a working c-client installation is required for building mailsync])
])

AC_WITH_MD5

AC_CONFIG_FILES([
 Makefile
 src/Makefile
])
AC_OUTPUT