Porting to SunOS 5.8:

- More #includes Linux doesn't seem to need
- Don't do unsetenv() on SunOS
- Use a replacement asprintf() in case the OS doesn't support it
It now compiles properly under SunOS.
This commit is contained in:
Guus Sliepen 2000-11-08 00:10:50 +00:00
parent 56bd0864e4
commit f8f1007bf4
4 changed files with 40 additions and 6 deletions

View file

@ -1,6 +1,6 @@
dnl Process this file with autoconf to produce a configure script.
dnl $Id: configure.in,v 1.13.2.14 2000/11/07 22:33:33 guus Exp $
dnl $Id: configure.in,v 1.13.2.15 2000/11/08 00:10:49 guus Exp $
AC_INIT(src/tincd.c)
AM_INIT_AUTOMAKE(tinc, 1.0pre3)
@ -46,7 +46,7 @@ dnl Checks for library functions.
AC_FUNC_MEMCMP
AC_FUNC_ALLOCA
AC_TYPE_SIGNAL
AC_CHECK_FUNCS(ftime socket select strtol strerror flock)
AC_CHECK_FUNCS(ftime socket select strtol strerror flock unsetenv asprintf)
jm_FUNC_MALLOC
jm_FUNC_REALLOC