Fixed FD_SETSIZE check.
git-svn-id: http://voip.null.ro/svn/yate@1949 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
c8866eecb6
commit
f7e1c85140
|
@ -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])
|
||||
|
|
Loading…
Reference in New Issue