Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3702 in orxonox.OLD


Ignore:
Timestamp:
Mar 31, 2005, 10:43:04 PM (19 years ago)
Author:
bensch
Message:

orxonox/branches/textEngine: test for SDL_ttf is now as it should be

Location:
orxonox/branches/textEngine
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/textEngine/config.h.in

    r3701 r3702  
    6262#undef HAVE_SDL_SDL_H
    6363
    64 /* Define to 1 if you have the <SDL/SDL_ttf.h> header file. */
    65 #undef HAVE_SDL_SDL_TTF_H
     64/* Define to 1 if you have the <SDL_ttf.h> header file. */
     65#undef HAVE_SDL_TTF_H
    6666
    6767/* Define to 1 if you have the `sqrt' function. */
  • orxonox/branches/textEngine/configure

    r3701 r3702  
    61076107###################################
    61086108
    6109 #-----------#
    6110 # SDL_Image #
    6111 #-----------#
    6112 #if test x$def_sdl_ttf = xyes; then
     6109#---------#
     6110# SDL_ttf #
     6111#---------#
    61136112# checking for SDL_ttf-headers
    61146113
    6115 for ac_header in SDL/SDL_ttf.h
     6114for ac_header in SDL_ttf.h
    61166115do
    61176116as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     
    62596258
    62606259else
    6261   echo "sdl_ttf not found. falling back to other options"; def_sdl_ttf=no
     6260  { { echo "$as_me:$LINENO: error: cannot find SDL_ttf header." >&5
     6261echo "$as_me: error: cannot find SDL_ttf header." >&2;}
     6262   { (exit 1); exit 1; }; }
    62626263fi
    62636264
     
    62656266
    62666267#fi
    6267 #if test x$def_sdl_ttf = xyes; then
    62686268# checking for SDL_ttf-lib
    62696269  echo "$as_me:$LINENO: checking for main in -lSDL_ttf" >&5
     
    63386338        exit -1
    63396339     fi
    6340 #fi
    6341 
    63426340
    63436341#-----------#
  • orxonox/branches/textEngine/configure.ac

    r3701 r3702  
    398398###################################
    399399
    400 #-----------#
    401 # SDL_Image #
    402 #-----------#
    403 #if test x$def_sdl_ttf = xyes; then
     400#---------#
     401# SDL_ttf #
     402#---------#
    404403# checking for SDL_ttf-headers
    405   AC_CHECK_HEADERS([SDL/SDL_ttf.h] ,,
    406       [echo "sdl_ttf not found. falling back to other options"; def_sdl_ttf=no ])
     404  AC_CHECK_HEADERS([SDL_ttf.h] ,,
     405      [AC_MSG_ERROR([cannot find SDL_ttf header.])])
    407406#fi
    408 #if test x$def_sdl_ttf = xyes; then
    409407# checking for SDL_ttf-lib
    410408  AC_CHECK_LIB([SDL_ttf], [main], [FOUND_SDL_ttf=yes])
     
    418416        exit -1
    419417     fi   
    420 #fi
    421 
    422418
    423419#-----------#
Note: See TracChangeset for help on using the changeset viewer.