Fixed FD_SETSIZE check.

git-svn-id: http://voip.null.ro/svn/yate@1949 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2008-04-24 11:05:13 +00:00
parent c8866eecb6
commit f7e1c85140
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ AC_TRY_COMPILE([#include <features.h>
#include <bits/types.h>
#else
#error FD_SETSIZE cannot be set
#endif],[if (__FD_SETSIZE>10) exit();],[],[FDSIZE_HACK=""])
#endif],[if (__FD_SETSIZE>10) return 0;],[],[FDSIZE_HACK=""])
AC_LANG_RESTORE
if [[ "x$FDSIZE_HACK" = "x" ]]; then
AC_ERROR([Cannot set FD_SETSIZE on this platform, use --without-fdsize])