comparison configure @ 9907:2f7ff7b636e7

fix slave mode on MACOSX: reported by devros <devros at seznam.cz>
author faust3
date Fri, 11 Apr 2003 16:33:29 +0000
parents ca072c661b44
children 946c000ca531
comparison
equal deleted inserted replaced
9906:30311987666f 9907:2f7ff7b636e7
2295 echores "$_vsscanf" 2295 echores "$_vsscanf"
2296 2296
2297 2297
2298 echocheck "posix select()" 2298 echocheck "posix select()"
2299 cat > $TMPC << EOF 2299 cat > $TMPC << EOF
2300 #include <sys/select.h> 2300 #include <stdio.h>
2301 #include <stdlib.h>
2302 #include <sys/types.h>
2303 #include <string.h>
2301 #include <sys/time.h> 2304 #include <sys/time.h>
2302 #include <sys/types.h>
2303 #include <unistd.h> 2305 #include <unistd.h>
2304 int main(void) {int nfds = 1; fd_set readfds; struct timeval timeout; select(nfds,&readfds,NULL,NULL,&timeout); return 0; } 2306 int main(void) {int nfds = 1; fd_set readfds; struct timeval timeout; select(nfds,&readfds,NULL,NULL,&timeout); return 0; }
2305 EOF 2307 EOF
2306 _posix_select=no 2308 _posix_select=no
2307 cc_check && _posix_select=yes 2309 cc_check && _posix_select=yes