Author: gonzalo
Date: 2006-07-25 17:15:50 -0400 (Tue, 25 Jul 2006)
New Revision: 62970

Modified:
   trunk/mono/ChangeLog
   trunk/mono/configure.in
Log:
2006-07-25 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>

        * configure.in: add check for sys/syscall.h. Remove aio_* detection as
        it has not been used for a while now.



Modified: trunk/mono/ChangeLog
===================================================================
--- trunk/mono/ChangeLog        2006-07-25 20:39:34 UTC (rev 62969)
+++ trunk/mono/ChangeLog        2006-07-25 21:15:50 UTC (rev 62970)
@@ -1,3 +1,8 @@
+2006-07-25 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
+
+       * configure.in: add check for sys/syscall.h. Remove aio_* detection as
+       it has not been used for a while now.
+
 2006-07-19  Wade Berrier <[EMAIL PROTECTED]>
 
        * scripts/mono-find-provides.in: Remove support for only scanning files 
in the gac.

Modified: trunk/mono/configure.in
===================================================================
--- trunk/mono/configure.in     2006-07-25 20:39:34 UTC (rev 62969)
+++ trunk/mono/configure.in     2006-07-25 21:15:50 UTC (rev 62970)
@@ -285,7 +285,7 @@
 
 AM_CONDITIONAL(NO_VERSION_SCRIPT, test x$no_version_script = xyes)
 
-AC_CHECK_HEADERS(sys/filio.h sys/sockio.h netdb.h utime.h semaphore.h sys/un.h 
linux/rtc.h)
+AC_CHECK_HEADERS(sys/filio.h sys/sockio.h netdb.h utime.h semaphore.h sys/un.h 
linux/rtc.h sys/syscall.h)
 
 AC_CHECK_HEADER(zlib.h, [have_zlib=yes], [have_zlib=no])
 
@@ -1203,41 +1203,6 @@
                AC_MSG_RESULT(no)
        ]) 
 
-       dnl *********************
-       dnl *** Check for AIO ***
-       dnl *********************
-       AC_MSG_CHECKING([for SIGEV_THREAD definition])
-       dnl Some systems (FreeBSD at least) may have aio_read
-       dnl but don't support/define SIGEV_THREAD.
-       AC_TRY_COMPILE([
-       #include <sys/signal.h>
-       ],[
-       int x = SIGEV_THREAD;
-       ],[
-               ac_cv_c_sigev_thread=yes
-               AC_MSG_RESULT(yes)
-       ],[
-               AC_MSG_RESULT(no)
-       ])
-
-       if test "$ac_cv_c_sigev_thread" = "yes" ; then
-               AC_CHECK_HEADERS(aio.h sys/aio.h)
-               AC_CHECK_LIB(rt, aio_read, [ LIBS="$LIBS -lrt" ],)
-               SIGVAL_PTR="undefined"
-               if test "$ac_cv_header_aio_h" = "yes" -o 
"$ac_cv_header_sys_aio_h" = "yes" ; then
-                       AC_CHECK_MEMBER(union 
sigval.sigval_ptr,SIGVAL_PTR="sigval_ptr",, [
-                                       #include <sys/signal.h>
-                                       ])
-                       AC_CHECK_MEMBER(union 
sigval.sival_ptr,SIGVAL_PTR="sival_ptr",, [
-                                       #include <sys/signal.h>
-                                       ])
-                       if test "$SIGVAL_PTR" = "undefined" ; then
-                               AC_MSG_ERROR([Unable to detect field name in 
'union sigval'])
-                       fi
-               fi
-               AC_DEFINE_UNQUOTED(SIGVAL_PTR,$SIGVAL_PTR,[Pointer field name 
in 'union sigval'])
-       fi
-
        dnl **********************************
        dnl *** epoll                      ***
        dnl **********************************

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to