]> git.notmuchmail.org Git - notmuch/blob - contrib/notmuch-deliver/maildrop/numlib/configure.in
test/python: set LD_LIBRARY_PATH and PYTHONPATH to use local notmuch
[notmuch] / contrib / notmuch-deliver / maildrop / numlib / configure.in
1 dnl Process this file with autoconf to produce a configure script.
2 dnl $Id: configure.in,v 1.7 2010/03/19 01:09:26 mrsam Exp $
3 dnl
4 dnl Copyright 1998 - 2010 Double Precision, Inc.  See COPYING for
5 dnl distribution information.
6
7 AC_PREREQ(2.59)
8 AC_INIT(numlib, 0.10, courier-users@lists.sourceforge.net)
9
10 >confdefs.h  # Kill PACKAGE_ macros
11
12 AC_CONFIG_SRCDIR([atotimet.c])
13 AM_CONFIG_HEADER([config.h])
14 AM_INIT_AUTOMAKE([foreign no-define])
15  
16 dnl Checks for programs.
17 AC_PROG_AWK
18 AC_PROG_CC
19 AC_PROG_INSTALL
20 AC_PROG_LN_S
21 AC_PROG_LIBTOOL
22
23 if test "$GCC" = "yes"
24 then
25         CFLAGS="$CFLAGS -Wall"
26 fi
27
28 dnl Checks for libraries.
29
30 dnl Checks for header files.
31
32 AC_CHECK_HEADERS(unistd.h stdint.h)
33
34 AC_CHECK_TYPE(int64_t, [ : ],
35                        [
36                        AC_DEFINE_UNQUOTED(int64_t,long long,[default definition of int64_t])
37                        ])
38
39 dnl Checks for typedefs, structures, and compiler characteristics.
40 AC_TYPE_UID_T
41 AC_TYPE_PID_T
42
43 dnl Checks for library functions.
44
45 AC_CHECK_FUNCS(setgroups initgroups)
46 AC_OUTPUT(Makefile)