dnl Process this file with autoconf to product a configure script. AC_INIT(client/discuss.c) AC_CONFIG_HEADER(include/config.h) AC_PROG_AWK AC_PROG_CC AC_PROG_CPP AC_PROGRAM_CHECK(LEX, flex, flex, lex) AC_PROGRAM_CHECK(LEXLIB, flex, -lfl, -ll) AC_SUBST(LEXLIB) AC_PROG_INSTALL AC_PROG_RANLIB AC_PROG_YACC AC_ISC_POSIX AC_STDC_HEADERS AC_HEADER_DIRENT AC_HAVE_HEADERS(string.h memory.h unistd.h fcntl.h sysexits.h /usr/ucbinclude/sysexits.h sys/select.h termios.h netinet/in.h) AC_HEADER_EGREP(w_status, sys/wait.h, AC_DEFINE(HAVE_UNION_WAIT)) AC_VPRINTF KDOBJS= LIBDSDEP= LDEPS= AC_CHECK_LIB(socket,socket) AC_CHECK_LIB(nsl,main) AC_CHECK_LIB(krb,krb_mk_req) AC_SUBST(KLIBS) AC_SUBST(ZLIBS) AC_SUBST(KINCLUDES) AC_SUBST(LIBDSDEP) AC_SUBST(LDEPS) AC_SUBST(KDOBJS) AC_ARG_WITH(krb, [ --with-krb Use Kerberos library Define the KLIBS environment before running configure: KLIBS=-L Define the KINCLUDES environment variable before running configure: KINCLUDES=-I],AC_DEFINE(KERBEROS) KLIBS="$KLIBS -lkrb -ldes" KDOBJS="auth_krb.o krb_et.o",LIBDSDEP="auth_weak.o" KDOBJS="auth_weak.o") AC_ARG_WITH(zephyr, [ --with-zephyr Use Zephyr to send out notifications when new transactions are entered. Define the ZLIBS environment variable before running configure: ZLIBS=-L], AC_DEFINE(ZEPHYR) ZLIBS="$ZLIBS -lzephyr") AC_OUTPUT(Makefile client/Makefile dsgrep/Makefile edsc/Makefile ets/Makefile include/Makefile include/discuss/Makefile libds/Makefile mclient/Makefile regex/Makefile server/Makefile usp/Makefile et/Makefile ss/Makefile)