Imported Upstream version 0.66.1
[hcoop/debian/courier-authlib.git] / libs / numlib / configure.ac
CommitLineData
d9898ee8 1dnl Process this file with autoconf to produce a configure script.
d9898ee8 2dnl
b0322a85 3dnl Copyright 1998 - 2010 Double Precision, Inc. See COPYING for
d9898ee8 4dnl distribution information.
5
6AC_PREREQ(2.59)
7AC_INIT(numlib, 0.10, courier-users@lists.sourceforge.net)
8
9>confdefs.h # Kill PACKAGE_ macros
10
11AC_CONFIG_SRCDIR([atotimet.c])
b0322a85 12AC_CONFIG_AUX_DIR(../..)
d9898ee8 13AM_CONFIG_HEADER([config.h])
14AM_INIT_AUTOMAKE([foreign no-define])
15
16dnl Checks for programs.
17AC_PROG_AWK
18AC_PROG_CC
19AC_PROG_INSTALL
20AC_PROG_LN_S
21AC_PROG_LIBTOOL
22
23if test "$GCC" = "yes"
24then
25 CFLAGS="$CFLAGS -Wall"
26fi
27
b0322a85
CE
28CFLAGS="-I.. -I${srcdir}/.. $CFLAGS"
29
d9898ee8 30dnl Checks for libraries.
31
32dnl Checks for header files.
33
b0322a85
CE
34AC_CHECK_HEADERS(unistd.h stdint.h)
35
36AC_CHECK_TYPE(int64_t, [ : ],
37 [
38 AC_DEFINE_UNQUOTED(int64_t,long long,[default definition of int64_t])
39 ])
d9898ee8 40
41dnl Checks for typedefs, structures, and compiler characteristics.
42AC_TYPE_UID_T
43AC_TYPE_PID_T
b0322a85 44AC_SYS_LARGEFILE
d9898ee8 45
46dnl Checks for library functions.
47
48AC_CHECK_FUNCS(setgroups initgroups)
49AC_OUTPUT(Makefile)