configure.in
branchSDL-1.2
changeset 6218 f114f1434ff6
parent 6143 29811864f4cf
child 6353 dfcbd0d9209c
equal deleted inserted replaced
6215:a84cb42bce7f 6218:f114f1434ff6
  1991                 ],[
  1991                 ],[
  1992                 ],[
  1992                 ],[
  1993                 have_pthread_sem=yes
  1993                 have_pthread_sem=yes
  1994                 ])
  1994                 ])
  1995                 AC_MSG_RESULT($have_pthread_sem)
  1995                 AC_MSG_RESULT($have_pthread_sem)
       
  1996             fi
       
  1997             if test x$have_pthread_sem = xyes; then
       
  1998                 AC_MSG_CHECKING(for sem_timedwait)
       
  1999                 have_sem_timedwait=no
       
  2000                 AC_TRY_LINK([
       
  2001                   #include <pthread.h>
       
  2002                   #include <semaphore.h>
       
  2003                 ],[
       
  2004                   sem_timedwait(NULL, NULL);
       
  2005                 ],[
       
  2006                 have_sem_timedwait=yes
       
  2007                 AC_DEFINE(HAVE_SEM_TIMEDWAIT)
       
  2008                 ])
       
  2009                 AC_MSG_RESULT($have_sem_timedwait)
  1996             fi
  2010             fi
  1997 
  2011 
  1998             # Restore the compiler flags and libraries
  2012             # Restore the compiler flags and libraries
  1999             CFLAGS="$ac_save_cflags"; LIBS="$ac_save_libs"
  2013             CFLAGS="$ac_save_cflags"; LIBS="$ac_save_libs"
  2000 
  2014