Check for the function strsignal, and define it to "" if it is not
available.
This commit is contained in:
parent
67a4abda70
commit
699f3b4c93
2 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
4
system.h
4
system.h
|
@ -41,5 +41,9 @@
|
|||
#endif
|
||||
#define N_(Text) Text
|
||||
|
||||
#ifndef HAVE_STRSIGNAL
|
||||
# define strsignal(p) ""
|
||||
#endif
|
||||
|
||||
#endif /* __TINC_SYSTEM_H__ */
|
||||
|
||||
|
|
Loading…
Reference in a new issue