From 87be1a8a52a5485d1cf90240cbf628004cbd5350 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Sat, 13 May 2006 18:12:22 +0000 Subject: Applied patch by Guillaume Melquiond which adds ENet check and adds timer.cpp/h to the Makefile.am. Also fixed some compilation warnings. --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 8fce7423..13504d55 100644 --- a/configure.ac +++ b/configure.ac @@ -26,6 +26,9 @@ AC_MSG_ERROR([ *** Unable to find PhysFS library (icculus.org/physfs/)])) AC_CHECK_LIB([SDL_net], [SDLNet_Init], , AC_MSG_ERROR([ *** Unable to find SDL_net library])) +AC_CHECK_LIB([enet], [enet_initialize], , +AC_MSG_ERROR([ *** Unable to find enet library (enet.bespin.org)])) + PKG_CHECK_MODULES(XML2, [libxml-2.0 >= 2.4]) CXXFLAGS="$CXXFLAGS $XML2_CFLAGS" LIBS="$LIBS $XML2_LIBS" -- cgit v1.2.3-70-g09d2