summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>1999-07-22 06:29:02 +0000
committerPaul Smith <psmith@gnu.org>1999-07-22 06:29:02 +0000
commitb05cb1d99e1f4595696d62dda6ed4b55b568c6c4 (patch)
treeb6fecb1f99d3e53db073449d52d889a63beaa2c7 /acinclude.m4
parentc8a60e7431e9c6a2d09823a5aea8a9ad33f6744a (diff)
downloadgunmake-b05cb1d99e1f4595696d62dda6ed4b55b568c6c4.tar.gz
* Make some portability fixes.3.77.90
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m411
1 files changed, 9 insertions, 2 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index d3ef3a2..8f4faff 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -243,9 +243,16 @@ if test "$ac_cv_func_select" = yes; then
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif],
-[extern select ($ac_cv_type_fd_set_size_t,
+[#ifdef __STDC__
+extern select ($ac_cv_type_fd_set_size_t,
$ac_cv_type_fd_set *, $ac_cv_type_fd_set *, $ac_cv_type_fd_set *,
- $ac_type_timeval *);],
+ $ac_type_timeval *);
+#else
+extern select ();
+ $ac_cv_type_fd_set_size_t s;
+ $ac_cv_type_fd_set *p;
+ $ac_type_timeval *t;
+#endif],
[ac_found=yes ; break 3],ac_found=no)
done
done