Revision 12439,
1006 bytes
checked in by kcr, 26 years ago
(diff) |
Autoconfiscation and cleanup.
|
Line | |
---|
1 | AC_INIT(client/discuss.c) |
---|
2 | |
---|
3 | AC_PROG_CC |
---|
4 | AC_PROG_INSTALL |
---|
5 | AC_PROG_RANLIB |
---|
6 | |
---|
7 | dnl Checks for libraries. |
---|
8 | ATHENA_KRB4 |
---|
9 | ATHENA_REGEXP |
---|
10 | ATHENA_UTIL_COM_ERR |
---|
11 | ATHENA_UTIL_SS |
---|
12 | ATHENA_ZEPHYR |
---|
13 | |
---|
14 | # If we can't find connect, try looking in -lsocket and -lnsl. The |
---|
15 | # Irix 5 libc.so has connect and gethostbyname, but Irix 5 also has |
---|
16 | # libsocket.so which has a bad implementation of gethostbyname (it |
---|
17 | # only looks in /etc/hosts), so we only look for -lsocket if we need |
---|
18 | # it. |
---|
19 | AC_CHECK_FUNC(connect, :, [AC_CHECK_LIB(socket, socket) |
---|
20 | AC_CHECK_LIB(nsl, gethostbyname)]) |
---|
21 | |
---|
22 | dnl Checks for header files. |
---|
23 | AC_HEADER_STDC |
---|
24 | AC_HEADER_SYS_WAIT |
---|
25 | AC_CHECK_HEADERS(fcntl.h unistd.h termios.h) |
---|
26 | |
---|
27 | dnl Checks for typedefs, structures, and compiler characteristics. |
---|
28 | AC_TYPE_SIGNAL |
---|
29 | dnl Checks for library functions. |
---|
30 | AC_CHECK_FUNCS(srand48 sigaction) |
---|
31 | |
---|
32 | AC_OUTPUT(Makefile client/Makefile dsgrep/Makefile edsc/Makefile ets/Makefile |
---|
33 | include/Makefile libds/Makefile mclient/Makefile server/Makefile |
---|
34 | usp/Makefile) |
---|
Note: See
TracBrowser
for help on using the repository browser.