source: trunk/athena/bin/discuss/configure.ac @ 24764

Revision 24764, 950 bytes checked in by broder, 14 years ago (diff)
In discuss: * Check $PAGER for a pager before falling back on a compiled-in default ("more" by default, but "pager" under our packaging). (Trac: #629)
Line 
1AC_INIT
2AC_CONFIG_SRCDIR([client/discuss.c])
3
4AC_PROG_CC
5AC_PROG_INSTALL
6AC_PROG_RANLIB
7AC_PROG_MKDIR_P
8
9lispdir='${datarootdir}/emacs/site-lisp'
10AC_SUBST(lispdir)
11
12dnl Checks for libraries.
13ATHENA_KRB4
14ATHENA_KRB5
15ATHENA_REGEXP
16ATHENA_UTIL_COM_ERR
17ATHENA_UTIL_SS
18ATHENA_ZEPHYR
19
20AC_ARG_WITH(
21  [pager],
22  [AS_HELP_STRING([--with-pager=PAGER], [specify the default pager (default is more)])],
23  [],
24  [AC_PATH_PROG([with_pager], [more])])
25AC_DEFINE_UNQUOTED([PAGER], ["$with_pager"])
26
27AC_SEARCH_LIBS([gethostbyname], [nsl])
28AC_SEARCH_LIBS([socket], [socket])
29
30dnl Checks for header files.
31AC_HEADER_STDC
32AC_HEADER_SYS_WAIT
33AC_CHECK_HEADERS([fcntl.h unistd.h termios.h])
34
35dnl Checks for library functions.
36AC_CHECK_FUNCS([srand48 sigaction])
37
38AC_CONFIG_FILES([Makefile client/Makefile dsgrep/Makefile edsc/Makefile ets/Makefile
39                 include/Makefile libds/Makefile mclient/Makefile server/Makefile
40                 usp/Makefile])
41AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.