Changeset 3106 in orxonox.OLD for orxonox/branches/images
- Timestamp:
- Dec 5, 2004, 5:59:53 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/images/configure.ac
r3105 r3106 126 126 fi 127 127 128 def_sdl_image=no; 128 ## check for SDL_Image 129 if 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 ]) 133 fi 134 if 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 146 fi 129 147 ;; 130 148
Note: See TracChangeset
for help on using the changeset viewer.