summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/groff/configure.in
diff options
context:
space:
mode:
authoretheisen <etheisen@cvs.openbsd.org>1996-09-14 19:02:02 +0000
committeretheisen <etheisen@cvs.openbsd.org>1996-09-14 19:02:02 +0000
commit6a4f3d0fd940c1e7052ddf23907f0e297dc42f4b (patch)
tree712fd665d6b150ef04906975a7493d87d38a1a8a /gnu/usr.bin/groff/configure.in
parent9cf27152dae9dbf80b167732c78c47baee90ddc5 (diff)
Third time because import sucks.
Diffstat (limited to 'gnu/usr.bin/groff/configure.in')
-rw-r--r--gnu/usr.bin/groff/configure.in49
1 files changed, 49 insertions, 0 deletions
diff --git a/gnu/usr.bin/groff/configure.in b/gnu/usr.bin/groff/configure.in
new file mode 100644
index 00000000000..f925170b839
--- /dev/null
+++ b/gnu/usr.bin/groff/configure.in
@@ -0,0 +1,49 @@
+dnl Process this file with autoconf to produce a configure script.
+AC_INIT(groff/groff.cc)
+AC_PREFIX_PROGRAM(grops)
+dnl checks for programs
+AC_PROG_CC
+AC_PROG_CXX
+GROFF_CXX_CHECK
+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
+GROFF_CSH_HACK(SH_SCRIPT_SED_CMD='1s/.*/:/', SH_SCRIPT_SED_CMD='')
+AC_SUBST(SH_SCRIPT_SED_CMD)
+dnl checks for headers
+AC_CHECK_HEADERS(unistd.h dirent.h limits.h sys/dir.h stdlib.h)
+GROFF_ISC_SYSV3
+GROFF_POSIX
+GROFF_GETOPT
+GROFF_PUTENV
+GROFF_POPEN
+GROFF_PCLOSE
+GROFF_OSFCN_H
+GROFF_LIMITS_H
+dnl checks for typedefs
+GROFF_TIME_T
+AC_TYPE_SIGNAL
+GROFF_STRUCT_EXCEPTION
+dnl checks for functions
+AC_FUNC_MMAP
+saved_libs="$LIBS"
+LIBS="$LIBS -lm"
+AC_REPLACE_FUNCS(fmod strtol getcwd strerror putenv)
+LIBS="$saved_libs"
+AC_CHECK_FUNCS(rename mkstemp)
+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
+AC_OUTPUT(Makefile)