Changeset 3108 in orxonox.OLD for orxonox/branches/images/configure.ac
- Timestamp:
- Dec 6, 2004, 12:13:50 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/images/configure.ac
r3106 r3108 126 126 fi 127 127 128 ## check for SDL_Image129 if test "$def_sdl_image" = "yes"; then130 # checking for SDL_image-headers131 AC_CHECK_HEADERS(SDL/SDL_image.h ,,132 [echo "sdl_image not found. falling back to other options"; def_sdl_image=no ])133 fi134 if test "$def_sdl_image" = "yes"; then135 # checking for SDL_image-lib136 AC_CHECK_LIB([SDL_image], [main], FOUND_SDL_image=yes)137 if test "$FOUND_SDL_image" = "yes" ; then138 LIBS="$LIBS -lSDL_image"139 else140 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 -1145 fi146 fi147 128 ;; 148 129 … … 200 181 fi 201 182 202 ## check for SDL_Image203 if test "$def_sdl_image" = "yes"; then204 # checking for SDL_image-headers205 AC_CHECK_HEADERS(SDL/SDL_image.h ,,206 [echo "sdl_image not found. falling back to other options"; def_sdl_image=no ])207 fi208 if test "$def_sdl_image" = "yes"; then209 # checking for SDL_image-lib210 AC_CHECK_LIB([SDL_image], [main], FOUND_SDL_image=yes)211 if test "$FOUND_SDL_image" = "yes" ; then212 LIBS="$LIBS -lSDL_image"213 else214 echo "------------------"215 echo "SDL_image library not found."216 echo "please install the SDL_image library, which can be found at http://www.libsdl.org/projects/SDL_image/"217 echo "------------------"218 exit -1219 fi220 fi221 183 222 184 ## checking for SDL … … 269 231 270 232 AC_SUBST(MSBITFIELDS) 233 234 ## check for SDL_Image 235 if test "$def_sdl_image" = "yes"; then 236 # checking for SDL_image-headers 237 AC_CHECK_HEADERS(SDL/SDL_image.h ,, 238 [echo "sdl_image not found. falling back to other options"; def_sdl_image=no ]) 239 fi 240 if test "$def_sdl_image" = "yes"; then 241 # checking for SDL_image-lib 242 AC_CHECK_LIB([SDL_image], [main], FOUND_SDL_image=yes) 243 if test "$FOUND_SDL_image" = "yes" ; then 244 LIBS="$LIBS -lSDL_image" 245 else 246 echo "------------------" 247 echo "SDL_image library not found." 248 echo "please install the SDL_image library, which can be found at http://www.libsdl.org/projects/SDL_image/" 249 echo "------------------" 250 exit -1 251 fi 252 fi 253 271 254 272 255 if test "$def_sdl_image" = "no"; then
Note: See TracChangeset
for help on using the changeset viewer.