source: trunk/third/transcript/configure.in @ 12389

Revision 12389, 1.5 KB checked in by ghudson, 25 years ago (diff)
From danw via source-sipb: If you can't find makedev, just don't compile the fonts (groff doesn't need them to be compiled)
Line 
1dnl $Header: /afs/dev.mit.edu/source/repository/third/transcript/configure.in,v 1.2 1999-01-29 17:41:57 ghudson Exp $
2dnl
3dnl This is the global Autoconf template for TranScript on Athena.
4dnl It was mostly designed to make life easier than with the Adobe mess.
5
6AC_REVISION([$Revision: 1.2 $
7[#] RCS-$Header: /afs/dev.mit.edu/source/repository/third/transcript/configure.in,v 1.2 1999-01-29 17:41:57 ghudson Exp $
8[#]])dnl
9AC_INIT(src/enscript.c)dnl
10
11AC_PROG_CC
12AC_PROG_INSTALL
13
14### Set the default C flags.
15dnl They should include '-DBSD', and possibly also '-DXPG3'.
16dnl (BSD, and not SYSV, should be defined for TranScript, even on SYSV systems)
17: ${CFLAGS="-O -I/usr/athena/include"}
18CPPFLAGS="${CPPFLAGS} -DBSD -DXPG3"
19
20AC_PROG_CPP
21
22dnl
23dnl Check if the following header files exist.
24dnl
25AC_CHECK_HEADERS(fcntl.h termios.h)
26dnl
27dnl See if <sys/wait.h> is POSIX.1 compliant.
28dnl If not, assume it is BSD-like (i.e., that it declares "union wait")
29dnl
30AC_HEADER_SYS_WAIT
31dnl
32dnl Check if we need libnsl for gethostname.
33dnl
34AC_CHECK_FUNC(gethostname, :, AC_CHECK_LIB(nsl, gethostname))
35dnl
36dnl Check if time_t is available.
37dnl If not, use long.
38dnl
39AC_CHECK_TYPE(time_t,long)
40dnl
41dnl Find makedev.  (ditroff uses /usr/lib, vendors use God knows what.)
42dnl groff doesn't use makedev, so if it's not there, just ignore it.
43dnl
44mdevPATH=/usr/lib:/usr/bin
45AC_PATH_PROG(MAKEDEV,makedev,:,$mdevPATH)
46
47### Generate output...
48AC_CONFIG_HEADER(src/config-defs.h)
49AC_OUTPUT(Makefile troff.font/Makefile ditroff.font/Makefile)
Note: See TracBrowser for help on using the repository browser.