diff options
author | Paul Smith <psmith@gnu.org> | 1999-07-22 06:29:02 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 1999-07-22 06:29:02 +0000 |
commit | b05cb1d99e1f4595696d62dda6ed4b55b568c6c4 (patch) | |
tree | b6fecb1f99d3e53db073449d52d889a63beaa2c7 /acinclude.m4 | |
parent | c8a60e7431e9c6a2d09823a5aea8a9ad33f6744a (diff) | |
download | gunmake-b05cb1d99e1f4595696d62dda6ed4b55b568c6c4.tar.gz |
* Make some portability fixes.3.77.90
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 11 |
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 |