]> git.cameronkatri.com Git - apple_cmds.git/blob - patch_cmds/diffstat/configure.in
Merge branch 'apple'
[apple_cmds.git] / patch_cmds / diffstat / configure.in
1 dnl Process this file with 'autoconf' to produce a 'configure' script
2 dnl $Id: configure.in,v 1.22 2010/07/16 09:25:15 tom Exp $
3 AC_PREREQ(2.13.20020210)
4 AC_REVISION($Revision: 1.22 $)
5 AC_INIT(diffstat.c)
6 AC_CONFIG_HEADER(config.h:config_h.in)
7
8 AC_PROG_CC
9 AC_PROG_INSTALL
10 CF_PROG_LINT
11 CF_MAKE_TAGS
12
13 CF_ANSI_CC_REQD
14 CF_DISABLE_ECHO
15 CF_PROG_EXT
16 CF_WITH_INSTALL_PREFIX
17
18 with_full_paths=no
19 CF_PATH_PROG(BZCAT, bzcat)
20 CF_PATH_PROG(BZIP2, bzip2)
21 CF_PATH_PROG(COMPRESS, compress, gzip)
22 CF_PATH_PROG(GZIP, gzip)
23 CF_PATH_PROG(LZCAT, lzcat, xz)
24 CF_PATH_PROG(PCAT, pcat)
25 CF_PATH_PROG(UNCOMPRESS, uncompress.real, uncompress)
26 CF_PATH_PROG(XZ, xz, lzcat)
27 CF_PATH_PROG(ZCAT, zcat)
28
29 CF_XOPEN_SOURCE
30 CF_WITH_WARNINGS
31
32 AC_CONST
33 AC_STDC_HEADERS
34 AC_HAVE_HEADERS(\
35 malloc.h \
36 search.h \
37 string.h \
38 )
39 CF_GETOPT_HEADER
40
41 AC_TYPE_SIZE_T
42
43 AC_CHECK_FUNCS(\
44 mkdtemp \
45 popen \
46 tsearch \
47 )
48
49 CF_STDIO_UNLOCKED(getc_unlocked)
50
51 CF_DISABLE_LEAKS
52
53 ### output makefile and config.h
54 AC_OUTPUT(makefile,,,cat)