]>
Commit | Line | Data |
---|---|---|
61af3de3 JG |
1 | dnl Process this file with autoconf 2.52+ to produce a configure script. |
2 | dnl | |
3 | dnl Copyright (C) 2001 Philipp Rumpf | |
4 | dnl Copyright (C) 2004 Henrique de Moraes Holschuh <hmh@debian.org> | |
5 | dnl | |
6 | dnl This program is free software; you can redistribute it and/or modify | |
7 | dnl it under the terms of the GNU General Public License as published by | |
8 | dnl the Free Software Foundation; either version 2 of the License, or | |
9 | dnl (at your option) any later version. | |
10 | dnl | |
11 | dnl This program is distributed in the hope that it will be useful, | |
12 | dnl but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | dnl GNU General Public License for more details. | |
15 | dnl | |
16 | dnl You should have received a copy of the GNU General Public License | |
17 | dnl along with this program; if not, write to the Free Software | |
18 | dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
19 | ||
20 | AC_INIT(rng-tools, 2, [Jeff Garzik <jgarzik@pobox.com>]) | |
21 | AC_PREREQ(2.52) | |
22 | AC_CONFIG_SRCDIR([rngd.c]) | |
23 | AM_INIT_AUTOMAKE([gnu]) | |
24 | AC_CONFIG_HEADERS([rng-tools-config.h]) | |
25 | ||
26 | dnl Make sure anyone changing configure.ac/Makefile.am has a clue | |
27 | AM_MAINTAINER_MODE | |
28 | ||
29 | dnl Checks for programs | |
30 | AC_PROG_CC | |
31 | AC_PROG_RANLIB | |
32 | AC_PROG_GCC_TRADITIONAL | |
33 | ||
34 | dnl Checks for header files. | |
35 | dnl AC_HEADER_STDC | |
36 | dnl AC_CHECK_HEADERS(sys/ioctl.h unistd.h) | |
37 | ||
38 | dnl Checks for typedefs, structures, and compiler characteristics. | |
39 | dnl AC_TYPE_SIZE_T | |
40 | dnl AC_TYPE_PID_T | |
41 | ||
42 | dnl ----------------------------- | |
43 | dnl Checks for required libraries | |
44 | dnl ----------------------------- | |
45 | ||
46 | dnl ------------------------------------- | |
47 | dnl Checks for optional library functions | |
48 | dnl ------------------------------------- | |
49 | ||
50 | dnl ----------------- | |
51 | dnl Configure options | |
52 | dnl ----------------- | |
53 | ||
54 | dnl -------------------------- | |
55 | dnl autoconf output generation | |
56 | dnl -------------------------- | |
57 | ||
58 | AC_CONFIG_FILES([Makefile contrib/Makefile rngd.8 rngtest.1]) | |
59 | AC_OUTPUT |