Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3177 in orxonox.OLD for orxonox/trunk/configure.ac


Ignore:
Timestamp:
Dec 15, 2004, 2:57:03 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: finding sdl-image more flexible.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/configure.ac

    r3173 r3177  
    248248# checking for SDL_image-headers
    249249  AC_CHECK_HEADERS(SDL/SDL_image.h ,,
    250       [echo "sdl_image not found. falling back to other options"; def_sdl_image=no ])
    251 fi
     250      [echo "sdl_image not found. falling back to other options"; sdl_image_second_check=yes ])
     251  if test "$sdl_image_second_check" = yes ; then
     252   AC_CHECK_HEADERS(SDL_image.h ,,
     253       [echo "sdl_image not found. falling back to other options"; def_sdl_image=no ])
     254  fi
     255fi
     256
     257
    252258if test "$def_sdl_image" = "yes"; then
    253259# checking for SDL_image-lib
     
    255261     if test "$FOUND_SDL_image" = "yes" ; then
    256262       LIBS="$LIBS -lSDL_image"
     263       AC_DEFINE_UNQUOTED(HAVE_SDL_IMAGE, 1, [if we have SDL-image])
    257264     else
    258265        echo "------------------"
Note: See TracChangeset for help on using the changeset viewer.