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)
|
Rev | Line | |
---|
[24618] | 1 | AC_INIT |
---|
| 2 | AC_CONFIG_SRCDIR([client/discuss.c]) |
---|
[12439] | 3 | |
---|
| 4 | AC_PROG_CC |
---|
| 5 | AC_PROG_INSTALL |
---|
| 6 | AC_PROG_RANLIB |
---|
[24618] | 7 | AC_PROG_MKDIR_P |
---|
[12439] | 8 | |
---|
[24618] | 9 | lispdir='${datarootdir}/emacs/site-lisp' |
---|
| 10 | AC_SUBST(lispdir) |
---|
| 11 | |
---|
[12439] | 12 | dnl Checks for libraries. |
---|
| 13 | ATHENA_KRB4 |
---|
[22658] | 14 | ATHENA_KRB5 |
---|
[12439] | 15 | ATHENA_REGEXP |
---|
[24631] | 16 | ATHENA_UTIL_COM_ERR |
---|
| 17 | ATHENA_UTIL_SS |
---|
[12439] | 18 | ATHENA_ZEPHYR |
---|
| 19 | |
---|
[24764] | 20 | AC_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])]) |
---|
| 25 | AC_DEFINE_UNQUOTED([PAGER], ["$with_pager"]) |
---|
| 26 | |
---|
[24618] | 27 | AC_SEARCH_LIBS([gethostbyname], [nsl]) |
---|
| 28 | AC_SEARCH_LIBS([socket], [socket]) |
---|
[12439] | 29 | |
---|
| 30 | dnl Checks for header files. |
---|
| 31 | AC_HEADER_STDC |
---|
| 32 | AC_HEADER_SYS_WAIT |
---|
[24618] | 33 | AC_CHECK_HEADERS([fcntl.h unistd.h termios.h]) |
---|
[12439] | 34 | |
---|
| 35 | dnl Checks for library functions. |
---|
[24618] | 36 | AC_CHECK_FUNCS([srand48 sigaction]) |
---|
[12439] | 37 | |
---|
[24618] | 38 | AC_CONFIG_FILES([Makefile client/Makefile dsgrep/Makefile edsc/Makefile ets/Makefile |
---|
| 39 | include/Makefile libds/Makefile mclient/Makefile server/Makefile |
---|
| 40 | usp/Makefile]) |
---|
| 41 | AC_OUTPUT |
---|
Note: See
TracBrowser
for help on using the repository browser.