1
0
Fork 0

Add Haiku OS support to build system

This commit is contained in:
kcgen 2020-05-08 09:33:34 -07:00 committed by Patryk Obara
parent 5fdb4acb5e
commit a495aefe83
7 changed files with 75 additions and 13 deletions

View file

@ -475,6 +475,12 @@ if test x$enable_network = xyes ; then
AC_DEFINE(C_MODEM,1)
AC_DEFINE(C_IPX,1)
AC_MSG_RESULT([yes])
case "$host_os" in haiku*)
AC_CHECK_LIB(network, socket, [],
[AC_MSG_ERROR([Can't find a useable network libary])],
-l network)
;;
esac
else
AC_MSG_WARN([Can't find SDL_net, internal modem and ipx disabled])
fi