51 lines
1.1 KiB
Plaintext
51 lines
1.1 KiB
Plaintext
dnl Process this file with autoconf to produce a configure script.
|
|
builtin([include],[acgroff.m4])dnl
|
|
AC_INIT(groff/groff.cc)
|
|
GROFF_PREFIX
|
|
dnl checks for programs
|
|
AC_PROG_CC
|
|
GROFF_PROG_CCC
|
|
GROFF_PRINT
|
|
GROFF_PERL_PATH
|
|
GROFF_PROG_YACC
|
|
AC_PROG_RANLIB
|
|
AC_PROG_INSTALL
|
|
AC_LN_S
|
|
GROFF_ETAGSCCFLAG
|
|
GROFF_CSH_HACK(SH_SCRIPT_SED_CMD='1s/.*/:/', SH_SCRIPT_SED_CMD='')
|
|
AC_SUBST(SH_SCRIPT_SED_CMD)
|
|
dnl checks for headers
|
|
AC_HAVE_HEADERS(unistd.h dirent.h limits.h sys/dir.h stdlib.h)
|
|
GROFF_ISC_SYSV3
|
|
GROFF_POSIX
|
|
GROFF_LIMITS_H
|
|
GROFF_OSFCN_H
|
|
GROFF_GETOPT
|
|
GROFF_PUTENV
|
|
GROFF_POPEN
|
|
GROFF_PCLOSE
|
|
dnl checks for typedefs
|
|
GROFF_TIME_T
|
|
AC_RETSIGTYPE
|
|
GROFF_STRUCT_EXCEPTION
|
|
dnl checks for functions
|
|
GROFF_MMAP
|
|
AC_VFORK
|
|
saved_libs="$LIBS"
|
|
LIBS="$LIBS -lm"
|
|
AC_REPLACE_FUNCS(fmod strtol getcwd strerror putenv)
|
|
LIBS="$saved_libs"
|
|
AC_HAVE_FUNCS(rename mkstemp)
|
|
GROFF_SYS_SIGLIST
|
|
dnl checks for compiler characteristics
|
|
GROFF_COOKIE_BUG
|
|
GROFF_CFRONT_ANSI_BUG
|
|
GROFF_ARRAY_DELETE
|
|
GROFF_TRADITIONAL_CPP
|
|
dnl checks for operating system services
|
|
GROFF_WCOREFLAG
|
|
dnl other random stuff
|
|
GROFF_BROKEN_SPOOLER_FLAGS
|
|
GROFF_PAGE
|
|
AC_OUTPUT(Makefile)
|