cvs-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Cvs-cvs] ccvs/m4 ChangeLog sunos57-select.m4


From: Larry Jones
Subject: [Cvs-cvs] ccvs/m4 ChangeLog sunos57-select.m4
Date: Mon, 17 Nov 2008 21:20:05 +0000

CVSROOT:        /cvsroot/cvs
Module name:    ccvs
Changes by:     Larry Jones <scjones>   08/11/17 21:20:05

Modified files:
        m4             : ChangeLog sunos57-select.m4 

Log message:
        * sunos57-select.m4: Properly conditionalize the test program.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/ccvs/m4/ChangeLog?cvsroot=cvs&r1=1.197&r2=1.198
http://cvs.savannah.gnu.org/viewcvs/ccvs/m4/sunos57-select.m4?cvsroot=cvs&r1=1.2&r2=1.3

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/cvs/ccvs/m4/ChangeLog,v
retrieving revision 1.197
retrieving revision 1.198
diff -u -b -r1.197 -r1.198
--- ChangeLog   14 Nov 2008 19:41:34 -0000      1.197
+++ ChangeLog   17 Nov 2008 21:20:03 -0000      1.198
@@ -1,3 +1,7 @@
+2008-11-17  Larry Jones  <address@hidden>
+
+       * sunos57-select.m4: Properly conditionalize the test program.
+
 2008-11-13  Larry Jones  <address@hidden>
 
        * sunos57-select.m4: Need <sys/time.h> for struct timeval.

Index: sunos57-select.m4
===================================================================
RCS file: /cvsroot/cvs/ccvs/m4/sunos57-select.m4,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- sunos57-select.m4   14 Nov 2008 19:41:34 -0000      1.2
+++ sunos57-select.m4   17 Nov 2008 21:20:04 -0000      1.3
@@ -13,14 +13,25 @@
 
 AC_DEFUN([ccvs_FUNC_SELECT],
 [
+ AC_REQUIRE([gl_HEADER_SYS_SELECT])
  AC_REQUIRE([gl_HEADER_SYS_TIME_H])
- AC_CHECK_HEADERS([fcntl.h])
+ AC_CHECK_HEADERS([sys/types.h unistd.h fcntl.h])
  AC_CACHE_CHECK([whether select hangs on /dev/null fd when timeout is NULL],
   ccvs_cv_func_select_hang,
   [AC_RUN_IFELSE([AC_LANG_PROGRAM([[
 #include <stdio.h>
-#include <sys/select.h>
-#include <sys/time.h>
+#ifdef HAVE_SYS_SELECT_H
+# include <sys/select.h>
+#endif
+#ifdef HAVE_SYS_TIME_H
+# include <sys/time.h>
+#endif
+#ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif
 #ifdef HAVE_FCNTL_H
 # include <fcntl.h>
 #endif




reply via email to

[Prev in Thread] Current Thread [Next in Thread]