Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3790 in orxonox.OLD for orxonox/trunk/configure.ac


Ignore:
Timestamp:
Apr 13, 2005, 12:33:07 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: merged the textEngine back into the trunk.
merged with command:
svn merge -r 3681:HEAD branches/textEngine/ trunk/

conflicts in:
world.cc/h orxonox.cc NEWS
changed in favor of the trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/configure.ac

    r3789 r3790  
    235235echo "mingw-WINDOWS detected"
    236236
     237CPPFLAGS="-I/usr/include/SDL -I/mingw/include/SDL"
     238
    237239    mingw="yes"
    238240    MSBITFIELDS="-mms-bitfields"
     
    279281    fi
    280282# checking for SDL-headers
    281     AC_CHECK_HEADERS([SDL/SDL.h] ,,
     283    AC_CHECK_HEADERS([SDL.h] ,,
    282284      [AC_MSG_ERROR([cannot find SDL headers]) ])
    283285
     
    313315 Linux="yes"
    314316
    315 CPPFLAGS="-I/usr/X11R6/include"
     317CPPFLAGS="-I/usr/X11R6/include -I/usr/include/SDL"
    316318LDFLAGS="-L/usr/lib/opengl/xorg-x11/lib -L/usr/Mesa-6.0.1/lib -L/usr/X11R6/lib $LDFLAGS"
    317319# checking gl header
     
    347349
    348350# checking for SDL-headers
    349     AC_CHECK_HEADERS([SDL/SDL.h] ,,
     351    AC_CHECK_HEADERS([SDL.h] ,,
    350352      [AC_MSG_ERROR([cannot find SDL headers]) ])
    351353
     
    420422###################################
    421423
     424#---------#
     425# SDL_ttf #
     426#---------#
     427# checking for SDL_ttf-headers
     428  AC_CHECK_HEADERS([SDL_ttf.h] ,,
     429      [AC_MSG_ERROR([cannot find SDL_ttf header.])])
     430#fi
     431# checking for SDL_ttf-lib
     432  AC_CHECK_LIB([SDL_ttf], [main], [FOUND_SDL_ttf=yes])
     433     if test x$FOUND_SDL_ttf = xyes ; then
     434       LIBS="$LIBS -lSDL_ttf"
     435     else
     436        echo "------------------"
     437        echo "SDL_ttf library not found."
     438        echo "please install the SDL_ttf library, which can be found at http://www.libsdl.org/projects/SDL_ttf/"
     439        echo "------------------"
     440        exit -1
     441     fi   
     442
    422443#-----------#
    423444# SDL_Image #
     
    425446if test x$def_sdl_image = xyes; then
    426447# checking for SDL_image-headers
    427   AC_CHECK_HEADERS([SDL/SDL_image.h] ,,
     448  AC_CHECK_HEADERS([SDL_image.h] ,,
    428449      [echo "sdl_image not found. falling back to other options"; def_sdl_image=no ])
    429450fi
Note: See TracChangeset for help on using the changeset viewer.