X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=configure.in;h=437b168460ad596193788df1b4d471418af5bc19;hp=1ca2f79b6fdbc926fef06dc3d98d3fd9782e81ab;hb=ae11e7c3d71893c5200b12682839538a52df37b8;hpb=6666acd0012c82c0bb4d1abae87332cec3dda77a diff --git a/configure.in b/configure.in index 1ca2f79b..437b1684 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.34 2001/06/29 10:27:57 guus Exp $ +dnl $Id: configure.in,v 1.13.2.36 2001/11/15 23:05:34 zarq Exp $ AC_INIT(src/tincd.c) AM_INIT_AUTOMAKE(tinc, 1.0-cvs) @@ -36,12 +36,19 @@ AC_CANONICAL_HOST case $host_os in *linux*) AC_DEFINE(HAVE_LINUX) + [ ln -sf linux/device.c src/device.c ] ;; *freebsd*) AC_DEFINE(HAVE_FREEBSD) + [ ln -sf freebsd/device.c src/device.c ] ;; *solaris*) AC_DEFINE(HAVE_SOLARIS) + [ ln -sf solaris/device.c src/device.c ] + ;; + *openbsd*) + AC_DEFINE(HAVE_OPENBSD) + [ ln -sf openbsd/device.c src/device.c ] ;; esac @@ -66,7 +73,8 @@ AC_FUNC_MEMCMP AC_FUNC_ALLOCA AC_TYPE_SIGNAL AC_CHECK_FUNCS([ftime socket select strtol strerror flock unsetenv \ -asprintf putenv strdup fcloseall daemon strsignal get_current_dir_name]) +asprintf putenv strdup fcloseall daemon strsignal get_current_dir_name \ +getaddrinfo]) jm_FUNC_MALLOC jm_FUNC_REALLOC