source: trunk/diffutils/configure.ac@ 2859

Last change on this file since 2859 was 2556, checked in by bird, 20 years ago

diffutils 2.8.1

File size: 3.6 KB
Line 
1# Configure template for GNU Diffutils.
2
3# Copyright (C) 1994, 1995, 1998, 2001, 2002 Free Software Foundation, Inc.
4
5# This program is free software; you can redistribute it and/or modify
6# it under the terms of the GNU General Public License as published by
7# the Free Software Foundation; either version 2, or (at your option)
8# any later version.
9
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13# GNU General Public License for more details.
14
15# You should have received a copy of the GNU General Public License
16# along with this program; if not, write to the Free Software
17# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
18# 02111-1307, USA.
19
20AC_PREREQ(2.53)
21
22AC_INIT(GNU diffutils, 2.8.1, [email protected])
23AC_CONFIG_SRCDIR(src/diff.c)
24
25AC_CONFIG_AUX_DIR(config)
26AM_CONFIG_HEADER([config.h:config.hin])
27AM_INIT_AUTOMAKE([gnits])
28
29AC_PROG_AWK
30AC_PROG_CC
31AC_ISC_POSIX
32AM_PROG_CC_STDC
33AC_PROG_CPP
34AM_MISSING_PROG(HELP2MAN, help2man)
35AC_PROG_INSTALL
36AC_PROG_RANLIB
37
38AC__GNU_SOURCE
39AC_DEFINE([__EXTENSIONS__], 1, [Enable Solaris extensions.])
40AC_SYS_LARGEFILE
41
42AC_C_CONST
43AC_C_INLINE
44AC_C_VARARRAYS
45
46AC_DEFINE(DEFAULT_DIFF_PROGRAM, "diff",
47 [Name of "diff" program, unless overridden.])
48
49AC_DEFINE(DEFAULT_EDITOR_PROGRAM, "ed",
50 [Name of editor program, unless overridden.])
51
52AC_PATH_PROG(PR_PROGRAM, pr, "")
53AC_DEFINE_UNQUOTED(PR_PROGRAM, "$PR_PROGRAM", [Name of "pr" program.])
54
55AC_HEADER_STDBOOL
56AC_HEADER_STDC
57AC_CHECK_HEADERS(fcntl.h libintl.h limits.h locale.h \
58 stdlib.h string.h sys/file.h time.h unistd.h)
59AC_CHECK_MEMBERS([struct stat.st_blksize])
60AC_CHECK_MEMBERS([struct stat.st_rdev])