From dba63c0a0ceb473909528ec51b5851ec28731218 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 16 Dec 2003 11:30:16 +0000 Subject: * configure.ac: Check for funopen and fopencookie as part of the jnlib checks. * logging.c (writen, fun_writer, fun_closer): New. (log_set_file): Add feature to log to a socket. --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 7bca11986..a0cf391a4 100644 --- a/configure.ac +++ b/configure.ac @@ -698,7 +698,7 @@ AC_CHECK_TYPES([struct sigaction, sigset_t],,,[#include ]) # These are needed by libjnlib - fixme: we should have macros for them AC_CHECK_FUNCS(memicmp stpcpy strlwr strtoul memmove stricmp strtol) AC_CHECK_FUNCS(getrusage setrlimit stat setlocale) -AC_CHECK_FUNCS(flockfile funlockfile) +AC_CHECK_FUNCS(flockfile funlockfile fopencookie funopen) AC_REPLACE_FUNCS(vasprintf) AC_REPLACE_FUNCS(fopencookie) @@ -709,6 +709,7 @@ AC_REPLACE_FUNCS(putc_unlocked) + # # check for gethrtime and run a testprogram to see whether # it is broken. It has been reported that some Solaris and HP UX systems -- cgit v1.2.3