1 dnl Process this file with autoconf to produce a configure script.
3 dnl Copyright 1998 - 2010 Double Precision, Inc. See COPYING for
4 dnl distribution information.
7 AC_INIT(numlib, 0.10, courier-users@lists.sourceforge.net)
9 >confdefs.h # Kill PACKAGE_ macros
11 AC_CONFIG_SRCDIR([atotimet.c])
12 AC_CONFIG_AUX_DIR(../..)
13 AM_CONFIG_HEADER([config.h])
14 AM_INIT_AUTOMAKE([foreign no-define])
16 dnl Checks for programs.
23 if test "$GCC" = "yes"
25 CFLAGS="$CFLAGS -Wall"
28 CFLAGS="-I.. -I${srcdir}/.. $CFLAGS"
30 dnl Checks for libraries.
32 dnl Checks for header files.
34 AC_CHECK_HEADERS(unistd.h stdint.h)
36 AC_CHECK_TYPE(int64_t, [ : ],
38 AC_DEFINE_UNQUOTED(int64_t,long long,[default definition of int64_t])
41 dnl Checks for typedefs, structures, and compiler characteristics.
46 dnl Checks for library functions.
48 AC_CHECK_FUNCS(setgroups initgroups)