X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=configure.in;h=dd6474bb110e9b5d7bf99967bbd00f11c20f34e1;hb=560c19871dfb899e254f5f3e68d4d2d567f4940c;hp=38bd08c76ab66333352898edafb1c302b7e26d6b;hpb=e44152b845d78f9e8ad0b2ca3957d70f4ff7e5b1;p=srvx.git diff --git a/configure.in b/configure.in index 38bd08c..dd6474b 100644 --- a/configure.in +++ b/configure.in @@ -241,6 +241,18 @@ else AC_MSG_ERROR([Unknown IRC dialect $withval]) fi +AC_MSG_CHECKING([I/O multiplexing backends]) +IOMUXES="" + +if test "x$ac_cv_func_select" = xyes ; then + AC_DEFINE(WITH_IOSET_SELECT, 1, [Define if using the select() I/O backend]) + MODULE_OBJS="$MODULE_OBJS ioset-select.\$(OBJEXT)" + IOMUXES="$IOMUXES select" +fi + +IOMUXES=`echo $IOMUXES | sed 's/^ +//'` +AC_MSG_RESULT($IOMUXES) + AC_ARG_WITH(getopt, [ --without-getopt Disables building of the GNU getopt library], [if test "$withval" = no; then