]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/groff/configure.ac
This commit was generated by cvs2svn to compensate for changes in r82498,
[FreeBSD/FreeBSD.git] / contrib / groff / configure.ac
1 dnl Process this file with autoconf to produce a configure script.
2 AC_INIT
3 AC_CONFIG_SRCDIR([src/roff/groff/groff.cc])
4 dnl checks for programs
5 GROFF_SRCDIR
6 GROFF_BUILDDIR
7 AC_PROG_CC
8 AC_PROG_CXX
9 GROFF_CXX_CHECK
10 GROFF_EBCDIC
11 GROFF_OS390
12 GROFF_PRINT
13 AC_PATH_PROG(PERLPATH, perl, /usr/bin/perl)
14 GROFF_PROG_YACC
15 AC_PROG_RANLIB
16 GROFF_INSTALL_SH
17 AC_PROG_INSTALL
18 AC_PROG_LN_S
19 dnl use a dummy substitution if no csh hack is necessary to avoid errors
20 dnl with non-GNU sed programs
21 GROFF_CSH_HACK(SH_SCRIPT_SED_CMD='1s/.*/:/', SH_SCRIPT_SED_CMD='1s/a/a/')
22 AC_SUBST(SH_SCRIPT_SED_CMD)
23 dnl checks for headers
24 AC_CHECK_HEADERS(stdlib.h unistd.h dirent.h limits.h sys/dir.h \
25                  string.h strings.h math.h)
26 GROFF_ISC_SYSV3
27 GROFF_POSIX
28 GROFF_SRAND
29 GROFF_NEED_DECLARATION(hypot)
30 GROFF_NEED_DECLARATION(popen)
31 GROFF_NEED_DECLARATION(pclose)
32 GROFF_NEED_DECLARATION(putenv)
33 GROFF_NEED_DECLARATION(strncasecmp)
34 GROFF_SYS_NERR
35 GROFF_SYS_ERRLIST
36 GROFF_OSFCN_H
37 GROFF_LIMITS_H
38 dnl checks for typedefs
39 GROFF_TIME_T
40 AC_TYPE_SIGNAL
41 GROFF_STRUCT_EXCEPTION
42 dnl checks for libraries
43 GROFF_LIBM
44 dnl checks for functions
45 AC_FUNC_MMAP
46 saved_libs="$LIBS"
47 LIBS="$LIBS -lc $LIBM"
48 AC_REPLACE_FUNCS(fmod strtol getcwd strerror putenv)
49 LIBS="$saved_libs"
50 AC_CHECK_FUNCS(rename strcasecmp strncasecmp strsep strdup)
51 GROFF_MKSTEMP
52 AC_DECL_SYS_SIGLIST
53 dnl checks for compiler characteristics
54 GROFF_ARRAY_DELETE
55 GROFF_TRADITIONAL_CPP
56 dnl checks for operating system services
57 GROFF_WCOREFLAG
58 dnl other random stuff
59 GROFF_BROKEN_SPOOLER_FLAGS
60 GROFF_PAGE
61 GROFF_G
62 GROFF_TMAC
63 $srcdir/mkinstalldirs src/xditview
64 AC_CONFIG_FILES([Makefile src/xditview/Imakefile])
65 AC_OUTPUT