File: configure.in

package info (click to toggle)
diffstat 1.45-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 664 kB
  • ctags: 157
  • sloc: sh: 2,920; ansic: 1,482; makefile: 129
file content (45 lines) | stat: -rw-r--r-- 758 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
dnl Process this file with 'autoconf' to produce a 'configure' script
dnl $Id: configure.in,v 1.12 2007/08/26 14:15:16 tom Exp $
AC_PREREQ(2.13.20020210)
AC_REVISION($Revision: 1.12 $)
AC_INIT(diffstat.c)
AC_CONFIG_HEADER(config.h:config_h.in)

AC_PROG_CC
AC_PROG_INSTALL

CF_ANSI_CC_REQD
CF_DISABLE_ECHO
CF_PROG_EXT
CF_WITH_INSTALL_PREFIX

with_full_paths=no
CF_PATH_PROG(COMPRESS, compress, gzip)
CF_PATH_PROG(GZIP, gzip)
CF_PATH_PROG(BZIP, bzip2)

CF_XOPEN_SOURCE
CF_WITH_WARNINGS

AC_CONST
AC_STDC_HEADERS
AC_HAVE_HEADERS(stdlib.h unistd.h)
AC_HAVE_HEADERS(\
getopt.h \
malloc.h \
search.h \
string.h \
)

AC_TYPE_SIZE_T

AC_CHECK_FUNCS(\
fgetc_unlocked \
popen \
tsearch \
)

CF_DISABLE_LEAKS

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