From: Ivo Timmermans Date: Sun, 26 Nov 2000 22:46:53 +0000 (+0000) Subject: Check for the function strsignal, and define it to "" if it is not X-Git-Tag: release-1.0pre4~122 X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=commitdiff_plain;h=699f3b4c93482055c0832c9a6b76dc0294967003 Check for the function strsignal, and define it to "" if it is not available. --- 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__ */