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

Revision 24627, 876 bytes checked in by broder, 15 years ago (diff)
In discuss, only use CFLAGS and LDFLAGS for ss and com_err when they're needed
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_ZEPHYR
17
18PKG_CHECK_MODULES([SS], [ss])
19AC_SUBST([SS_CFLAGS])
20AC_SUBST([SS_LIBS])
21
22PKG_CHECK_MODULES([COM_ERR], [com_err])
23AC_SUBST([COM_ERR_CFLAGS])
24AC_SUBST([COM_ERR_LIBS])
25
26AC_SEARCH_LIBS([gethostbyname], [nsl])
27AC_SEARCH_LIBS([socket], [socket])
28
29dnl Checks for header files.
30AC_HEADER_STDC
31AC_HEADER_SYS_WAIT
32AC_CHECK_HEADERS([fcntl.h unistd.h termios.h])
33
34dnl Checks for library functions.
35AC_CHECK_FUNCS([srand48 sigaction])
36
37AC_CONFIG_FILES([Makefile client/Makefile dsgrep/Makefile edsc/Makefile ets/Makefile
38                 include/Makefile libds/Makefile mclient/Makefile server/Makefile
39                 usp/Makefile])
40AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.