mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 02:53:55 +00:00
2003-10-23 Paul Jakma <paul@dishone.st>
* configure.ac: IRIX configure.ac support. Sort of works. sysctl() crashes though (ipforward), there's some kind of odd padding in the PF_ROUTE socket messages and setsockopt() on SOCK_RAW does not work (so ospfd doesnt work).
This commit is contained in:
parent
30be80287a
commit
49e3b3c064
12
configure.ac
12
configure.ac
@ -245,7 +245,7 @@ case "$host" in
|
|||||||
OTHER_METHOD="mtu_kvm.o"
|
OTHER_METHOD="mtu_kvm.o"
|
||||||
AC_CHECK_LIB(kvm, main)
|
AC_CHECK_LIB(kvm, main)
|
||||||
;;
|
;;
|
||||||
*-irix65)
|
*-irix6.5)
|
||||||
opsys=irix
|
opsys=irix
|
||||||
AC_DEFINE(IRIX_65,,IRIX 6.5)
|
AC_DEFINE(IRIX_65,,IRIX 6.5)
|
||||||
;;
|
;;
|
||||||
@ -344,7 +344,8 @@ dnl AC_CHECK_SIZEOF(long)
|
|||||||
dnl ----------------------------
|
dnl ----------------------------
|
||||||
dnl check existance of functions
|
dnl check existance of functions
|
||||||
dnl ----------------------------
|
dnl ----------------------------
|
||||||
AC_CHECK_FUNCS(bcopy bzero strerror inet_aton daemon snprintf vsnprintf strlcat strlcpy if_nametoindex if_indextoname getifaddrs)
|
AC_CHECK_FUNCS(memset memcpy strerror inet_aton daemon snprintf vsnprintf \
|
||||||
|
strlcat strlcpy if_nametoindex if_indextoname getifaddrs)
|
||||||
AC_CHECK_FUNCS(setproctitle, ,
|
AC_CHECK_FUNCS(setproctitle, ,
|
||||||
[AC_CHECK_LIB(util, setproctitle,
|
[AC_CHECK_LIB(util, setproctitle,
|
||||||
[LIBS="$LIBS -lutil"
|
[LIBS="$LIBS -lutil"
|
||||||
@ -379,6 +380,10 @@ else
|
|||||||
AC_MSG_RESULT(solaris)
|
AC_MSG_RESULT(solaris)
|
||||||
KERNEL_METHOD="kernel_socket.o"
|
KERNEL_METHOD="kernel_socket.o"
|
||||||
RT_METHOD="rt_socket.o"
|
RT_METHOD="rt_socket.o"
|
||||||
|
elif test "$opsys" = "irix" ; then
|
||||||
|
AC_MSG_RESULT(irix)
|
||||||
|
KERNEL_METHOD="kernel_socket.o"
|
||||||
|
RT_METHOD="rt_socket.o"
|
||||||
else
|
else
|
||||||
AC_TRY_RUN([#include <errno.h>
|
AC_TRY_RUN([#include <errno.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
@ -446,6 +451,9 @@ else
|
|||||||
if test "$opsys" = "sol2-6";then
|
if test "$opsys" = "sol2-6";then
|
||||||
AC_MSG_RESULT(solaris)
|
AC_MSG_RESULT(solaris)
|
||||||
IF_METHOD=if_ioctl.o
|
IF_METHOD=if_ioctl.o
|
||||||
|
elif test "$opsys" = "irix" ; then
|
||||||
|
AC_MSG_RESULT(irix)
|
||||||
|
IF_METHOD=if_ioctl.o
|
||||||
elif test "$opsys" = "openbsd";then
|
elif test "$opsys" = "openbsd";then
|
||||||
AC_MSG_RESULT(openbsd)
|
AC_MSG_RESULT(openbsd)
|
||||||
IF_METHOD=if_ioctl.o
|
IF_METHOD=if_ioctl.o
|
||||||
|
Loading…
Reference in New Issue
Block a user