File: configure.ac

package info (click to toggle)
mailsync 5.2.7-3.1
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 916 kB
  • sloc: sh: 3,519; cpp: 2,199; ansic: 107; makefile: 89
file content (33 lines) | stat: -rw-r--r-- 587 bytes parent folder | download | duplicates (2)
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
AC_INIT([mailsync], [5.2.7], [tpo_deb@sourcepole.ch])
AM_INIT_AUTOMAKE
AM_CONFIG_HEADER(config.h)
AC_CONFIG_SRCDIR([src/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_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