d9898ee8 |
1 | dnl Process this file with autoconf to produce a configure script. |
2 | dnl $Id: configure.in,v 1.6 2004/12/10 02:34:46 mrsam Exp $ |
3 | dnl |
4 | dnl Copyright 1998 - 2004 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) |
33 | |
34 | dnl Checks for typedefs, structures, and compiler characteristics. |
35 | AC_TYPE_UID_T |
36 | AC_TYPE_PID_T |
37 | |
38 | dnl Checks for library functions. |
39 | |
40 | AC_CHECK_FUNCS(setgroups initgroups) |
41 | AC_OUTPUT(Makefile) |