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