summaryrefslogtreecommitdiffstats
path: root/http11/configure.ac
blob: 588f89229d9ce503a7b7f594fc2a9eb928885e32 (plain)
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
dnl Process this file with autoconf to produce a configure script.
dnl
dnl Copyright 1998 - 2005 Double Precision, Inc.  See COPYING for
dnl distribution information.

AC_INIT([http11],[0.10],[courier-users@lists.sourceforge.net])

>confdefs.h  # Kill PACKAGE_ macros

AC_CONFIG_SRCDIR(http11.h.in)
AC_CONFIG_AUX_DIR(../..)
AM_INIT_AUTOMAKE([foreign no-define])


dnl Checks for programs.
AC_USE_SYSTEM_EXTENSIONS
AC_PROG_CC
LT_INIT

if test "$GCC" = yes ; then
        CXXFLAGS="$CXXFLAGS -Wall"
        CFLAGS="$CFLAGS -Wall"
fi

dnl Checks for libraries.

dnl Checks for header files.
AC_HEADER_DIRENT

dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_TYPE_SIZE_T
AC_SYS_LARGEFILE

dnl Checks for library functions.

AC_ARG_WITH(defaultlang,
	[  --with-defaultlang=lang        Default Content-Language:],
	DEFAULTLANG="$withval", DEFAULTLANG="en")
AC_SUBST(DEFAULTLANG)

AC_CONFIG_FILES([Makefile  http11.h])
AC_OUTPUT