80940140ec4a9d6d012749a7b9544f6a9a4a6863
[riece] / configure.ac
1 AC_INIT(configure.ac)
2 AC_PREREQ(2.50)
3 AM_INIT_AUTOMAKE(riece, 0.0.1)
4
5 AC_PROG_CC
6 AC_ISC_POSIX
7 AC_PROG_INSTALL
8 AC_PROG_MAKE_SET
9 AC_PROG_RANLIB
10
11 AC_CHECK_HEADERS(sys/select.h libgen.h)
12
13 AC_CHECK_LIB(nsl, gethostbyname)
14 AC_CHECK_LIB(socket, socket)
15
16 AC_CHECK_FUNCS(strtoul memmove getaddrinfo)
17 AC_CHECK_FUNC(getopt_long,,[AC_LIBOBJ(getopt) AC_LIBOBJ(getopt1)])
18 AC_REPLACE_FUNCS(basename)
19 AC_CHECK_EMACS
20 AC_PATH_LISPDIR
21 AC_PATH_PACKAGEDIR
22
23 AC_OUTPUT(Makefile \
24 lisp/Makefile \
25 dcc/Makefile)