diff --git a/configure.in b/configure.in index 7142bb0d..ee1041c5 100644 --- a/configure.in +++ b/configure.in @@ -143,23 +143,15 @@ else fi AH_TEMPLATE(C_MODEM,[Define to 1 to enable internal modem support, requires SDL_net]) -AC_CHECK_HEADER(SDL/SDL_net.h,have_sdl_net_h=yes,) -AC_CHECK_LIB(SDL_net, SDLNet_Init, have_sdl_net_lib=yes, , ) -if test x$have_sdl_net_lib = xyes -a x$have_sdl_net_h = xyes ; then - LIBS="$LIBS -lSDL_net" - AC_DEFINE(C_MODEM,1) -else - AC_MSG_WARN([Can't find SDL_net, internal modem disabled]) -fi - AH_TEMPLATE(C_IPX,[Define to 1 to enable IPX over Internet networking, requires SDL_net]) AC_CHECK_HEADER(SDL/SDL_net.h,have_sdl_net_h=yes,) AC_CHECK_LIB(SDL_net, SDLNet_Init, have_sdl_net_lib=yes, , ) if test x$have_sdl_net_lib = xyes -a x$have_sdl_net_h = xyes ; then LIBS="$LIBS -lSDL_net" + AC_DEFINE(C_MODEM,1) AC_DEFINE(C_IPX,1) else - AC_MSG_WARN([Can't find SDL_net, IPX networking disabled]) + AC_MSG_WARN([Can't find SDL_net, internal modem and ipx disabled]) fi AH_TEMPLATE(C_OPENGL,[Define to 1 to use opengl display output support]) diff --git a/src/hardware/Makefile.am b/src/hardware/Makefile.am index d5bb84f2..ccc692d2 100644 --- a/src/hardware/Makefile.am +++ b/src/hardware/Makefile.am @@ -8,5 +8,5 @@ libhardware_a_SOURCES = adlib.cpp dma.cpp gameblaster.cpp hardware.cpp iohandler memory.cpp mixer.cpp pcspeaker.cpp pic.cpp sblaster.cpp tandy_sound.cpp timer.cpp \ vga.cpp vga_attr.cpp vga_crtc.cpp vga_dac.cpp vga_draw.cpp vga_gfx.cpp \ vga_memory.cpp vga_misc.cpp vga_seq.cpp font-switch.h ega-switch.h cmos.cpp disney.cpp \ - gus.cpp mpu401.cpp serialport.cpp softmodem.cpp + gus.cpp mpu401.cpp serialport.cpp softmodem.cpp ipx.cpp ipxserver.cpp