configure
changeset 6219 8e94af244f2c
parent 6217 6952b11b7f46
child 6235 d169541f5049
equal deleted inserted replaced
6217:6952b11b7f46 6219:8e94af244f2c
 24483 
 24483 
 24484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 24484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 24485                 { echo "$as_me:$LINENO: result: $have_pthread_sem" >&5
 24485                 { echo "$as_me:$LINENO: result: $have_pthread_sem" >&5
 24486 echo "${ECHO_T}$have_pthread_sem" >&6; }
 24486 echo "${ECHO_T}$have_pthread_sem" >&6; }
 24487             fi
 24487             fi
       
 24488             if test x$have_pthread_sem = xyes; then
       
 24489                 { echo "$as_me:$LINENO: checking for sem_timedwait" >&5
       
 24490 echo $ECHO_N "checking for sem_timedwait... $ECHO_C" >&6; }
       
 24491                 have_sem_timedwait=no
       
 24492                 cat >conftest.$ac_ext <<_ACEOF
       
 24493 /* confdefs.h.  */
       
 24494 _ACEOF
       
 24495 cat confdefs.h >>conftest.$ac_ext
       
 24496 cat >>conftest.$ac_ext <<_ACEOF
       
 24497 /* end confdefs.h.  */
       
 24498 
       
 24499                   #include <pthread.h>
       
 24500                   #include <semaphore.h>
       
 24501 
       
 24502 int
       
 24503 main ()
       
 24504 {
       
 24505 
       
 24506                   sem_timedwait(NULL, NULL);
       
 24507 
       
 24508   ;
       
 24509   return 0;
       
 24510 }
       
 24511 _ACEOF
       
 24512 rm -f conftest.$ac_objext conftest$ac_exeext
       
 24513 if { (ac_try="$ac_link"
       
 24514 case "(($ac_try" in
       
 24515   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 24516   *) ac_try_echo=$ac_try;;
       
 24517 esac
       
 24518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 24519   (eval "$ac_link") 2>conftest.er1
       
 24520   ac_status=$?
       
 24521   grep -v '^ *+' conftest.er1 >conftest.err
       
 24522   rm -f conftest.er1
       
 24523   cat conftest.err >&5
       
 24524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 24525   (exit $ac_status); } && {
       
 24526 	 test -z "$ac_c_werror_flag" ||
       
 24527 	 test ! -s conftest.err
       
 24528        } && test -s conftest$ac_exeext &&
       
 24529        $as_test_x conftest$ac_exeext; then
       
 24530 
       
 24531                 have_sem_timedwait=yes
       
 24532                 cat >>confdefs.h <<\_ACEOF
       
 24533 #define HAVE_SEM_TIMEDWAIT 1
       
 24534 _ACEOF
       
 24535 
       
 24536 
       
 24537 else
       
 24538   echo "$as_me: failed program was:" >&5
       
 24539 sed 's/^/| /' conftest.$ac_ext >&5
       
 24540 
       
 24541 
       
 24542 fi
       
 24543 
       
 24544 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 24545       conftest$ac_exeext conftest.$ac_ext
       
 24546                 { echo "$as_me:$LINENO: result: $have_sem_timedwait" >&5
       
 24547 echo "${ECHO_T}$have_sem_timedwait" >&6; }
       
 24548             fi
 24488 
 24549 
 24489             { echo "$as_me:$LINENO: checking for pthread_spin_trylock" >&5
 24550             { echo "$as_me:$LINENO: checking for pthread_spin_trylock" >&5
 24490 echo $ECHO_N "checking for pthread_spin_trylock... $ECHO_C" >&6; }
 24551 echo $ECHO_N "checking for pthread_spin_trylock... $ECHO_C" >&6; }
 24491             cat >conftest.$ac_ext <<_ACEOF
 24552             cat >conftest.$ac_ext <<_ACEOF
 24492 /* confdefs.h.  */
 24553 /* confdefs.h.  */