Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3103 in orxonox.OLD for orxonox/branches/images/configure.ac


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

orxonox/branches/images: testing SDL_image. It rocks.

File:
1 edited

Legend:

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

    r3098 r3103  
    151151        echo "SDL library not found."
    152152        echo "please install the SDL library, which can be found at http://www.libsdl.org"
     153        echo "------------------"
     154        exit -1
     155     fi   
     156
     157#checking for SDL_image-headers
     158  AC_CHECK_HEADERS(SDL/SDL_image.h ,,
     159      [AC_MSG_ERROR([cannot find SDL_image headers]) ])
     160  AC_CHECK_LIB([SDL_image], [main], FOUND_SDL_image=yes)
     161     if test "$FOUND_SDL_image" = "yes" ; then
     162       LIBS="$LIBS -lSDL_image"
     163     else
     164        echo "------------------"
     165        echo "SDL_image library not found."
     166        echo "please install the SDL_image library, which can be found at http://www.libsdl.org/projects/SDL_image/"
    153167        echo "------------------"
    154168        exit -1
Note: See TracChangeset for help on using the changeset viewer.