449 |
|
;; |
450 |
|
netbsd*) |
451 |
|
CAN_NATIVE_M68K=yes |
452 |
+ |
ETHERSRC=ether_unix.cpp |
453 |
|
;; |
454 |
|
solaris*) |
455 |
|
AUDIOSRC=Solaris/audio_solaris.cpp |
474 |
|
CFLAGS="$ocflags" |
475 |
|
;; |
476 |
|
darwin*) |
477 |
+ |
ETHERSRC=ether_unix.cpp |
478 |
|
if [[ "x$ac_cv_framework_IOKit" = "xyes" ]]; then |
479 |
|
EXTRASYSSRCS="../MacOSX/sys_darwin.cpp" |
480 |
|
fi |
487 |
|
EXTRASYSSRCS="../Windows/BasiliskII.rc" |
488 |
|
;; |
489 |
|
esac |
490 |
+ |
|
491 |
+ |
dnl Is the slirp library supported? |
492 |
+ |
if [[ "x$ETHERSRC" = "xether_unix.cpp" ]]; then |
493 |
+ |
AC_DEFINE(HAVE_SLIRP, 1, [Define if slirp library is supported]) |
494 |
+ |
SLIRP_SRCS="\ |
495 |
+ |
../slirp/bootp.c ../slirp/ip_output.c ../slirp/tcp_input.c \ |
496 |
+ |
../slirp/cksum.c ../slirp/mbuf.c ../slirp/tcp_output.c \ |
497 |
+ |
../slirp/debug.c ../slirp/misc.c ../slirp/tcp_subr.c \ |
498 |
+ |
../slirp/if.c ../slirp/sbuf.c ../slirp/tcp_timer.c \ |
499 |
+ |
../slirp/ip_icmp.c ../slirp/slirp.c ../slirp/tftp.c \ |
500 |
+ |
../slirp/ip_input.c ../slirp/socket.c ../slirp/udp.c" |
501 |
+ |
fi |
502 |
+ |
AC_SUBST(SLIRP_SRCS) |
503 |
+ |
|
504 |
|
dnl SDL overrides |
505 |
|
if [[ "x$WANT_SDL" = "xyes" ]]; then |
506 |
|
AC_DEFINE(USE_SDL, 1, [Define to enble SDL support]) |