From 699f3b4c93482055c0832c9a6b76dc0294967003 Mon Sep 17 00:00:00 2001 From: Ivo Timmermans Date: Sun, 26 Nov 2000 22:46:53 +0000 Subject: [PATCH] Check for the function strsignal, and define it to "" if it is not available. --- configure.in | 4 ++-- system.h | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index 04bfd024..f03784cb 100644 --- a/configure.in +++ b/configure.in @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script. -dnl $Id: configure.in,v 1.13.2.25 2000/11/25 13:33:30 guus Exp $ +dnl $Id: configure.in,v 1.13.2.26 2000/11/26 22:46:53 zarq Exp $ AC_INIT(src/tincd.c) AM_INIT_AUTOMAKE(tinc, 1.0pre4-cvs) @@ -64,7 +64,7 @@ AC_FUNC_MEMCMP AC_FUNC_ALLOCA AC_TYPE_SIGNAL AC_CHECK_FUNCS([ftime socket select strtol strerror flock unsetenv \ -asprintf putenv strdup fcloseall daemon]) +asprintf putenv strdup fcloseall daemon strsignal]) jm_FUNC_MALLOC jm_FUNC_REALLOC diff --git a/system.h b/system.h index f6b2bd8b..5691d8bc 100644 --- a/system.h +++ b/system.h @@ -41,5 +41,9 @@ #endif #define N_(Text) Text +#ifndef HAVE_STRSIGNAL +# define strsignal(p) "" +#endif + #endif /* __TINC_SYSTEM_H__ */ -- 2.39.5