1 --- ./configure.in.org Thu Jul 12 18:24:48 2001
2 +++ ./configure.in Thu Jul 11 03:34:48 2002
6 AC_CHECK_FUNCS(mkdir rmdir seteuid strcspn strerror strspn strstr strtoul)
7 -AC_CHECK_FUNC(socket, , AC_CHECK_LIB(socket, socket, ,
8 - AC_MSG_WARN([couldn't find your socket() function])))
9 -AC_CHECK_FUNC(gethostbyname, , AC_CHECK_LIB(nsl, gethostbyname, ,
10 - AC_MSG_WARN([couldn't find your gethostbyname() function])))
11 -AC_CHECK_FUNC(crypt, , AC_CHECK_LIB(crypt, crypt, ,
12 - AC_MSG_WARN([couldn't find your crypt() function])))
13 +AC_CHECK_FUNC(socket, [],
14 + AC_CHECK_LIB(socket, socket, [], AC_MSG_WARN([couldn't find your socket() function]))
16 +AC_CHECK_FUNC(gethostbyname, [],
17 + AC_CHECK_LIB(nsl, gethostbyname, [], AC_MSG_WARN([couldn't find your gethostbyname() function]))
19 +AC_CHECK_FUNC(crypt, [],
20 + AC_CHECK_LIB(crypt, crypt, [], AC_MSG_WARN([couldn't find your crypt() function]))
23 dnl Do strange debug stuff.
24 -AC_ARG_ENABLE(debug, [ --enable-debug turn on debugging [default=no]],if eval "test x$enable_debug = xyes"; then
25 - CFLAGS="-g -Wall $CFLAGS"
27 - AC_DEFINE(DEBUG_MEMORY)
29 - AC_CHECK_FUNCS(strdup vasprintf vsnprintf)
31 -AC_CHECK_FUNCS(strdup vasprintf vsnprintf)
32 +AC_ARG_ENABLE(debug, [ --enable-debug turn on debugging [default=no]],
33 + [if eval "test x$enable_debug = xyes"; then
34 + CFLAGS="-g -Wall $CFLAGS"
36 + AC_DEFINE(DEBUG_MEMORY)
38 + AC_CHECK_FUNCS(strdup vasprintf vsnprintf)
40 + [AC_CHECK_FUNCS(strdup vasprintf vsnprintf)]
43 dnl Allow me to turn on/off poll and select to debug stuff
44 AC_ARG_ENABLE(poll, [ --disable-poll disable use of the poll() function [default=no]],
45 -if eval "test x$enable_poll = xyes"; then
46 - AC_CHECK_FUNCS(poll)
47 - AC_CHECK_HEADERS(poll.h sys/poll.h)
50 -AC_CHECK_HEADERS(poll.h sys/poll.h)
51 + [if eval "test x$enable_poll = xyes"; then
52 + AC_CHECK_FUNCS(poll)
53 + AC_CHECK_HEADERS(poll.h sys/poll.h)
55 + [AC_CHECK_FUNCS(poll)
56 + AC_CHECK_HEADERS(poll.h sys/poll.h)]
58 -AC_ARG_ENABLE(select, [ --disable-select disable use of the select() function [default=no]], if eval "test x$enable_select = xyes"; then
59 - AC_CHECK_FUNCS(select)
61 -AC_CHECK_FUNCS(select)
63 +AC_ARG_ENABLE(select,
64 + [ --disable-select disable use of the select() function [default=no]],
65 + [if eval "test x$enable_select = xyes"; then
66 + AC_CHECK_FUNCS(select)
68 + [AC_CHECK_FUNCS(select)]
71 dnl Output the Makefiles.