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)
RevLine 
[24618]1AC_INIT
2AC_CONFIG_SRCDIR([client/discuss.c])
[12439]3
4AC_PROG_CC
5AC_PROG_INSTALL
6AC_PROG_RANLIB
[24618]7AC_PROG_MKDIR_P
[12439]8
[24618]9lispdir='${datarootdir}/emacs/site-lisp'
10AC_SUBST(lispdir)
11
[12439]12dnl Checks for libraries.
13ATHENA_KRB4
[22658]14ATHENA_KRB5
[12439]15ATHENA_REGEXP
[24631]16ATHENA_UTIL_COM_ERR
17ATHENA_UTIL_SS
[12439]18ATHENA_ZEPHYR
19
[24764]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
[24618]27AC_SEARCH_LIBS([gethostbyname], [nsl])
28AC_SEARCH_LIBS([socket], [socket])
[12439]29
30dnl Checks for header files.
31AC_HEADER_STDC
32AC_HEADER_SYS_WAIT
[24618]33AC_CHECK_HEADERS([fcntl.h unistd.h termios.h])
[12439]34
35dnl Checks for library functions.
[24618]36AC_CHECK_FUNCS([srand48 sigaction])
[12439]37
[24618]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.