File: configure.in

package info (click to toggle)
courier-authlib 0.63.0-6
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 17,720 kB
  • sloc: ansic: 60,549; sh: 10,525; perl: 3,503; makefile: 1,042; cpp: 284
file content (43 lines) | stat: -rw-r--r-- 1,019 bytes parent folder | download | duplicates (3)
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 $Id: configure.in,v 1.6 2007/02/26 04:34:18 mrsam Exp $
dnl
dnl Copyright 2004 Double Precision, Inc.  See COPYING for
dnl distribution information.

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

>confdefs.h # Kill PACKAGE_ macros.
LPATH="$PATH:/usr/local/bin"
AC_CONFIG_SRCDIR(logger.c)
AM_INIT_AUTOMAKE([foreign no-define])
AM_CONFIG_HEADER(config.h)

dnl Checks for programs.
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_LIBTOOL

if test x$GCC = xyes
then
	CFLAGS="-Wall $CFLAGS"
fi
if test x$GXX = xyes
then
	CXXFLAGS="-Wall $CXXFLAGS"
fi

AC_C_CONST
AC_HEADER_STDC
AC_CHECK_HEADERS(fcntl.h string.h syslog.h)
AC_TYPE_UID_T
AC_CHECK_FUNCS(strchr)

AC_ARG_WITH(syslog,
	AC_HELP_STRING([--with-syslog=XXX],[syslog facility [[MAIL]]]),
	logdest="LOG_$withval", logdest="LOG_MAIL")

AC_DEFINE_UNQUOTED(LOG_DEST, [$logdest],
	[ syslog facility ])
AM_CONDITIONAL(HAVE_SGML, test -d ${srcdir}/../docbook)
AC_OUTPUT(Makefile)