X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/b74f0f586ddb7f9916dea4d30a48e5ea2b4798aa..af81d5a0b09446188fd6f9c292b51519f2c1cedd:/configure.ac diff --git a/configure.ac b/configure.ac index c18071f..2537aaf 100644 --- a/configure.ac +++ b/configure.ac @@ -26,6 +26,8 @@ AC_LANG(C) dnl Make sure autoconf doesn't interfere with cflags -jmallett CFLAGS="$OLD_CFLAGS" +AC_CONFIG_SUBDIRS(libratbox) + dnl Check for various compilers. -jmallett dnl But if $CC turns out to be gcc, sure as hell it's, well, gcc. -joshk @@ -796,7 +798,7 @@ main(int argc, char **argv) int epfd; epfd = epoll_create(256); - exit (epfd == -1 ? 1 : 0); + return (epfd == -1 ? 1 : 0); }, [AC_MSG_RESULT(yes) AC_DEFINE(HAVE_EPOLL, 1, [Define if your system supports the epoll system calls]) @@ -971,10 +973,7 @@ AC_HELP_STRING([--with-topiclen=NUMBER],[Set the max topic length to NUMBER (def AC_DEFINE_UNQUOTED(TOPICLEN, ${TOPICLEN}, [Maximum topic length (<=390)]) AC_DEFINE_UNQUOTED(NICKLEN, (${NICKLEN}+1), [Nickname length]) -AC_ARG_ENABLE(shared-modules, -AC_HELP_STRING([--disable-shared-modules],[ Disable shared modules.]), -[shared_modules=$enableval], [shared_modules="yes"]) - +shared_modules="yes" dnl Some first-stage sanity checks. if test "$shared_modules" = yes; then @@ -1265,7 +1264,6 @@ Configuration: Ziplinks : $zlib OpenSSL : $openssl - Modules : $modules IPv6 support : $have_v6 Socket Engine : $SELECT_TYPE Small network : $small_net