Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
GNU CVS
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mirabilos
GNU CVS
Commits
44894a5d
Commit
44894a5d
authored
16 years ago
by
scjones
Browse files
Options
Downloads
Patches
Plain Diff
* sunos57-select.m4: Properly conditionalize the test program.
parent
1cb4db0e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
m4/ChangeLog
+4
-0
4 additions, 0 deletions
m4/ChangeLog
m4/sunos57-select.m4
+14
-3
14 additions, 3 deletions
m4/sunos57-select.m4
with
18 additions
and
3 deletions
m4/ChangeLog
+
4
−
0
View file @
44894a5d
2008-11-17 Larry Jones <lawrence.jones@siemens.com>
* sunos57-select.m4: Properly conditionalize the test program.
2008-11-13 Larry Jones <lawrence.jones@siemens.com>
2008-11-13 Larry Jones <lawrence.jones@siemens.com>
* sunos57-select.m4: Need <sys/time.h> for struct timeval.
* sunos57-select.m4: Need <sys/time.h> for struct timeval.
...
...
This diff is collapsed.
Click to expand it.
m4/sunos57-select.m4
+
14
−
3
View file @
44894a5d
...
@@ -13,14 +13,25 @@ dnl function that works around the problem.
...
@@ -13,14 +13,25 @@ dnl function that works around the problem.
AC_DEFUN([ccvs_FUNC_SELECT],
AC_DEFUN([ccvs_FUNC_SELECT],
[
[
AC_REQUIRE([gl_HEADER_SYS_SELECT])
AC_REQUIRE([gl_HEADER_SYS_TIME_H])
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],
AC_CACHE_CHECK([whether select hangs on /dev/null fd when timeout is NULL],
ccvs_cv_func_select_hang,
ccvs_cv_func_select_hang,
[AC_RUN_IFELSE([AC_LANG_PROGRAM([[
[AC_RUN_IFELSE([AC_LANG_PROGRAM([[
#include <stdio.h>
#include <stdio.h>
#include <sys/select.h>
#ifdef HAVE_SYS_SELECT_H
#include <sys/time.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
#ifdef HAVE_FCNTL_H
# include <fcntl.h>
# include <fcntl.h>
#endif
#endif
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment