* doc/groff.texinfo: Improved section on number registers. Other minor updates.
[s-roff.git] / configure.in
blob721fd4c8106dc553cf309d0f9edec55b1dcbc5ba
1 dnl Process this file with autoconf to produce a configure script.
2 AC_INIT(src/roff/groff/groff.cc)
3 dnl checks for programs
4 GROFF_SRCDIR
5 GROFF_BUILDDIR
6 AC_PROG_CC
7 AC_PROG_CXX
8 GROFF_CXX_CHECK
9 GROFF_PRINT
10 AC_PATH_PROG(PERLPATH, perl, /usr/bin/perl)
11 GROFF_PROG_YACC
12 AC_PROG_RANLIB
13 GROFF_INSTALL_SH
14 AC_PROG_INSTALL
15 AC_PROG_LN_S
16 GROFF_CSH_HACK(SH_SCRIPT_SED_CMD='1s/.*/:/', SH_SCRIPT_SED_CMD='')
17 AC_SUBST(SH_SCRIPT_SED_CMD)
18 dnl checks for headers
19 AC_CHECK_HEADERS(unistd.h dirent.h limits.h sys/dir.h stdlib.h)
20 GROFF_ISC_SYSV3
21 GROFF_POSIX
22 GROFF_PUTENV
23 GROFF_POPEN
24 GROFF_PCLOSE
25 GROFF_SYS_NERR
26 GROFF_SYS_ERRLIST
27 GROFF_HYPOT
28 GROFF_OSFCN_H
29 GROFF_LIMITS_H
30 dnl checks for typedefs
31 GROFF_TIME_T
32 AC_TYPE_SIGNAL
33 GROFF_STRUCT_EXCEPTION
34 dnl checks for libraries
35 GROFF_LIBM
36 dnl checks for functions
37 AC_FUNC_MMAP
38 saved_libs="$LIBS"
39 LIBS="$LIBS -lc $LIBM"
40 AC_REPLACE_FUNCS(fmod strtol getcwd strerror putenv)
41 LIBS="$saved_libs"
42 AC_CHECK_FUNCS(rename mkstemp strcasecmp strsep strdup)
43 AC_DECL_SYS_SIGLIST
44 dnl checks for compiler characteristics
45 GROFF_ARRAY_DELETE
46 GROFF_TRADITIONAL_CPP
47 dnl checks for operating system services
48 GROFF_WCOREFLAG
49 dnl other random stuff
50 GROFF_BROKEN_SPOOLER_FLAGS
51 GROFF_PAGE
52 GROFF_G
53 GROFF_TMAC
54 $srcdir/mkinstalldirs src/xditview
55 AC_OUTPUT(Makefile src/xditview/Imakefile)