File: configure.in

package info (click to toggle)
diffstat 1.58-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,860 kB
  • ctags: 580
  • sloc: sh: 3,128; ansic: 2,311; makefile: 163
file content (54 lines) | stat: -rw-r--r-- 1,021 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
dnl Process this file with 'autoconf' to produce a 'configure' script
dnl $Id: configure.in,v 1.26 2013/10/28 23:14:45 tom Exp $
AC_PREREQ(2.52.20011201)
AC_REVISION($Revision: 1.26 $)
AC_INIT(diffstat.c)
AC_CONFIG_HEADER(config.h:config_h.in)

AC_CANONICAL_HOST
CF_PROG_CC
AC_PROG_INSTALL
CF_PROG_LINT
CF_MAKE_TAGS

CF_DISABLE_ECHO
CF_WITH_INSTALL_PREFIX

with_full_paths=no
CF_PATH_PROG(BZCAT, bzcat)
CF_PATH_PROG(BZIP2, bzip2)
CF_PATH_PROG(COMPRESS, compress, gzip)
CF_PATH_PROG(GZIP, gzip)
CF_PATH_PROG(LZCAT, lzcat, xz)
CF_PATH_PROG(PCAT, pcat)
CF_PATH_PROG(UNCOMPRESS, uncompress.real, uncompress)
CF_PATH_PROG(XZ, xz, lzcat)
CF_PATH_PROG(ZCAT, zcat)

CF_XOPEN_SOURCE
CF_WITH_WARNINGS

AC_CONST
AC_STDC_HEADERS
AC_HAVE_HEADERS(\
malloc.h \
search.h \
string.h \
)

AC_TYPE_SIZE_T

AC_CHECK_FUNCS(\
mkdtemp \
tsearch \
)

CF_FUNC_GETOPT(getopt,\$(srcdir)/porting)
CF_FUNC_POPEN(popen,\$(srcdir)/porting)

CF_STDIO_UNLOCKED(getc_unlocked)

CF_DISABLE_LEAKS

###	output makefile and config.h
AC_OUTPUT(makefile,,,cat)