diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-08-24 23:22:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-08-24 23:22:23 +0300 |
commit | 71d924d7dcdac067f02a317e9353ee067dbd0bde (patch) | |
tree | 91459a29cdd26c1c8c6bd2d8c43fa96e32045231 /configure.ac | |
parent | b4d4f77276448f7be2004d8b990f8df08c85ca05 (diff) | |
download | manaverse-71d924d7dcdac067f02a317e9353ee067dbd0bde.tar.gz manaverse-71d924d7dcdac067f02a317e9353ee067dbd0bde.tar.bz2 manaverse-71d924d7dcdac067f02a317e9353ee067dbd0bde.tar.xz manaverse-71d924d7dcdac067f02a317e9353ee067dbd0bde.zip |
Remove internal guichan support.stripped1.1.8.21stripeed1.1.8.21
Diffstat (limited to 'configure.ac')
-rwxr-xr-x | configure.ac | 31 |
1 files changed, 8 insertions, 23 deletions
diff --git a/configure.ac b/configure.ac index 770832999..72db9ed34 100755 --- a/configure.ac +++ b/configure.ac @@ -136,31 +136,16 @@ else AC_DEFINE(USE_OPENGL, 1, [Defines if ManaPlus should have OpenGL support]) fi -# Option to enable internal guichan -AC_ARG_WITH(internalguichan,[ --without-internalguichan don't use internal guichan ] ) -if test "x$with_internalguichan" == "xno"; then - with_internalguichan=no +AC_CHECK_LIB([guichan], [gcnGuichanVersion], , +AC_MSG_ERROR([ *** Unable to find Guichan library (http://guichan.sf.net/)])) +AC_CHECK_HEADERS([guichan.hpp], , +AC_MSG_ERROR([ *** Guichan library found but cannot find headers (http://guichan.sf.net/)])) - AC_CHECK_LIB([guichan], [gcnGuichanVersion], , - AC_MSG_ERROR([ *** Unable to find Guichan library (http://guichan.sf.net/)])) - AC_CHECK_HEADERS([guichan.hpp], , - AC_MSG_ERROR([ *** Guichan library found but cannot find headers (http://guichan.sf.net/)])) - - AC_CHECK_HEADERS([guichan/widgetlistener.hpp], , - AC_MSG_ERROR([ *** Guichan library version is found but version is < 0.8.0 (http://guichan.sf.net/)])) - - AC_CHECK_LIB([guichan_sdl], [gcnSDL], , - AC_MSG_ERROR([ *** Unable to find Guichan SDL library (http://guichan.sf.net/)])) - -else - with_internalguichan=yes - - CPPFLAGS="$CPPFLAGS -I./guichan/include" - - AC_DEFINE(USE_INTERNALGUICHAN, 1, [Defines if ManaPlus should use internal guichan classes]) -fi -AM_CONDITIONAL(USE_INTERNALGUICHAN, test x$with_internalguichan = xyes) +AC_CHECK_HEADERS([guichan/widgetlistener.hpp], , +AC_MSG_ERROR([ *** Guichan library version is found but version is < 0.8.0 (http://guichan.sf.net/)])) +AC_CHECK_LIB([guichan_sdl], [gcnSDL], , +AC_MSG_ERROR([ *** Unable to find Guichan SDL library (http://guichan.sf.net/)])) AC_CHECK_LIB(SDL_net, SDLNet_Init, , AC_MSG_ERROR([ *** Unable to find SDL_net library])) |