freebsd-skq/contrib/groff/configure.in

63 lines
1.6 KiB
Plaintext
Raw Normal View History

1996-09-07 16:18:32 +00:00
dnl Process this file with autoconf to produce a configure script.
2000-12-05 18:49:44 +00:00
AC_INIT(src/roff/groff/groff.cc)
1996-09-07 16:18:32 +00:00
dnl checks for programs
2000-12-05 18:49:44 +00:00
GROFF_SRCDIR
GROFF_BUILDDIR
1996-09-07 16:18:32 +00:00
AC_PROG_CC
AC_PROG_CXX
GROFF_CXX_CHECK
2000-12-05 18:49:44 +00:00
GROFF_EBCDIC
GROFF_OS390
1996-09-07 16:18:32 +00:00
GROFF_PRINT
AC_PATH_PROG(PERLPATH, perl, /usr/bin/perl)
GROFF_PROG_YACC
AC_PROG_RANLIB
GROFF_INSTALL_SH
AC_PROG_INSTALL
AC_PROG_LN_S
2001-04-17 12:12:05 +00:00
dnl use a dummy substitution if no csh hack is necessary to avoid errors
dnl with non-GNU sed programs
GROFF_CSH_HACK(SH_SCRIPT_SED_CMD='1s/.*/:/', SH_SCRIPT_SED_CMD='1s/a/a/')
1996-09-07 16:18:32 +00:00
AC_SUBST(SH_SCRIPT_SED_CMD)
dnl checks for headers
2000-12-05 18:49:44 +00:00
AC_CHECK_HEADERS(stdlib.h unistd.h dirent.h limits.h sys/dir.h \
string.h strings.h math.h)
1996-09-07 16:18:32 +00:00
GROFF_ISC_SYSV3
GROFF_POSIX
2000-12-05 18:49:44 +00:00
GROFF_SRAND
GROFF_NEED_DECLARATION(hypot)
GROFF_NEED_DECLARATION(popen)
GROFF_NEED_DECLARATION(pclose)
GROFF_NEED_DECLARATION(putenv)
GROFF_NEED_DECLARATION(strncasecmp)
2000-01-12 09:51:43 +00:00
GROFF_SYS_NERR
GROFF_SYS_ERRLIST
1996-09-07 16:18:32 +00:00
GROFF_OSFCN_H
GROFF_LIMITS_H
dnl checks for typedefs
GROFF_TIME_T
AC_TYPE_SIGNAL
GROFF_STRUCT_EXCEPTION
2000-01-12 09:51:43 +00:00
dnl checks for libraries
GROFF_LIBM
1996-09-07 16:18:32 +00:00
dnl checks for functions
AC_FUNC_MMAP
saved_libs="$LIBS"
2000-01-12 09:51:43 +00:00
LIBS="$LIBS -lc $LIBM"
1996-09-07 16:18:32 +00:00
AC_REPLACE_FUNCS(fmod strtol getcwd strerror putenv)
LIBS="$saved_libs"
2000-12-05 18:49:44 +00:00
AC_CHECK_FUNCS(rename mkstemp strcasecmp strncasecmp strsep strdup)
1996-09-07 16:18:32 +00:00
AC_DECL_SYS_SIGLIST
dnl checks for compiler characteristics
GROFF_ARRAY_DELETE
GROFF_TRADITIONAL_CPP
dnl checks for operating system services
GROFF_WCOREFLAG
dnl other random stuff
GROFF_BROKEN_SPOOLER_FLAGS
GROFF_PAGE
GROFF_G
GROFF_TMAC
2000-12-05 18:49:44 +00:00
$srcdir/mkinstalldirs src/xditview
AC_OUTPUT(Makefile src/xditview/Imakefile)