? autom4te253.cache
? netbsd.diff
RCS file: /home/cvs/root/fptools/libraries/network/configure.ac,v
retrieving revision 1.2
diff -u -r1.2 configure.ac
|
|
|
|
| 43 | 43 | [ AC_DEFINE([HAVE_BSD_SENDFILE], [1], [Define to 1 if you have a BSDish sendfile(2) implementation.]) AC_MSG_RESULT(yes) ], |
| 44 | 44 | AC_MSG_RESULT(no)) |
| 45 | 45 | |
| | 46 | AC_CHECK_FUNCS(gethostent) |
| | 47 | |
| 46 | 48 | AC_OUTPUT |
RCS file: /home/cvs/root/fptools/libraries/network/Network/BSD.hsc,v
retrieving revision 1.20
diff -u -r1.20 BSD.hsc
|
|
|
|
| 33 | 33 | getHostByAddr, -- :: HostAddress -> Family -> IO HostEntry |
| 34 | 34 | hostAddress, -- :: HostEntry -> HostAddress |
| 35 | 35 | |
| 36 | | #if !defined(cygwin32_TARGET_OS) && !defined(mingw32_TARGET_OS) && !defined(_WIN32) |
| | 36 | #if defined(HAVE_GETHOSTENT) && !defined(cygwin32_TARGET_OS) && !defined(mingw32_TARGET_OS) && !defined(_WIN32) |
| 37 | 37 | setHostEntry, -- :: Bool -> IO () |
| 38 | 38 | getHostEntry, -- :: IO HostEntry |
| 39 | 39 | endHostEntry, -- :: IO () |
| … |
… |
|
| 382 | 382 | foreign import ccall safe "gethostbyaddr" |
| 383 | 383 | c_gethostbyaddr :: Ptr HostAddress -> CInt -> CInt -> IO (Ptr HostEntry) |
| 384 | 384 | |
| 385 | | #if !defined(cygwin32_TARGET_OS) && !defined(mingw32_TARGET_OS) && !defined(_WIN32) |
| | 385 | #if defined(HAVE_GETHOSTENT) && !defined(cygwin32_TARGET_OS) && !defined(mingw32_TARGET_OS) && !defined(_WIN32) |
| 386 | 386 | getHostEntry :: IO HostEntry |
| 387 | 387 | getHostEntry = do |
| 388 | 388 | throwNoSuchThingIfNull "getHostEntry" "unable to retrieve host entry" |