From 360d552149f89e43a91cb3dccf031f5625d4c10a Mon Sep 17 00:00:00 2001 From: oes Date: Wed, 9 Jan 2002 14:27:25 +0000 Subject: [PATCH] Added #defines for use and selection of the right signature of the thread-safe *_r calls. --- config.h.in | 32 ++++++++++++++++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) diff --git a/config.h.in b/config.h.in index 2a3cb495..ae25c01e 100644 --- a/config.h.in +++ b/config.h.in @@ -3,7 +3,7 @@ #define CONFIG_H_INCLUDED /********************************************************************* * - * File : $Source: /cvsroot/ijbswa/current/acconfig.h,v $ + * File : $Source: /cvsroot/ijbswa/current/config.h.in,v $ * * Purpose : This file should be the first thing included in every * .c file. (Before even system headers). It contains @@ -37,7 +37,15 @@ * Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * Revisions : - * $Log: acconfig.h,v $ + * $Log: config.h.in,v $ + * Revision 1.15 2001/12/30 14:07:31 steudten + * - Add signal handling (unix) + * - Add SIGHUP handler (unix) + * - Add creation of pidfile (unix) + * - Add action 'top' in rc file (RH) + * - Add entry 'SIGNALS' to manpage + * - Add exit message to logfile (unix) + * * Revision 1.14 2001/10/23 21:24:09 jongfoster * Support for FEATURE_CGI_EDIT_ACTIONS * @@ -356,6 +364,26 @@ /* Define if you have the strerror function. */ #undef HAVE_STRERROR +/* If the (nonstandard and thread-safe) function gethostbyname_r + * is available, select which signature to use + */ +#undef HAVE_GETHOSTBYNAME_R_6_ARGS +#undef HAVE_GETHOSTBYNAME_R_5_ARGS +#undef HAVE_GETHOSTBYNAME_R_3_ARGS + +/* If the (nonstandard and thread-safe) function gethostbyaddr_r + * is available, select which signature to use + */ +#undef HAVE_GETHOSTBYADDR_R_8_ARGS +#undef HAVE_GETHOSTBYADDR_R_7_ARGS +#undef HAVE_GETHOSTBYADDR_R_5_ARGS + +/* Define if you have gmtime_r and localtime_r with a signature + * of (struct time *, struct tm *) + */ +#undef HAVE_GMTIME_R +#undef HAVE_LOCALTIME_R + /* * Defined always. * FIXME: Don't know what it does or why we need it. -- 2.39.2