Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3106 in orxonox.OLD


Ignore:
Timestamp:
Dec 5, 2004, 5:59:53 PM (19 years ago)
Author:
bensch
Message:

orxonox/branches/images: windows now runs too

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/images/configure.ac

    r3105 r3106  
    126126    fi
    127127
    128     def_sdl_image=no;
     128## check for SDL_Image
     129if test "$def_sdl_image" = "yes"; then
     130# checking for SDL_image-headers
     131  AC_CHECK_HEADERS(SDL/SDL_image.h ,,
     132      [echo "sdl_image not found. falling back to other options"; def_sdl_image=no ])
     133fi
     134if test "$def_sdl_image" = "yes"; then
     135# checking for SDL_image-lib
     136  AC_CHECK_LIB([SDL_image], [main], FOUND_SDL_image=yes)
     137     if test "$FOUND_SDL_image" = "yes" ; then
     138       LIBS="$LIBS -lSDL_image"
     139     else
     140        echo "------------------"
     141        echo "SDL_image library not found."
     142        echo "please install the SDL_image library, which can be found at http://www.libsdl.org/projects/SDL_image/"
     143        echo "------------------"
     144        exit -1
     145     fi   
     146fi
    129147    ;;
    130148
Note: See TracChangeset for help on using the changeset viewer.