Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5278 in orxonox.OLD


Ignore:
Timestamp:
Oct 4, 2005, 8:51:37 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: cheap mac compatibility

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r5277 r5278  
    471471
    472472 CPPFLAGS="-I/sw/include -I/sw/include $CPPFLAGS"
     473 LDFLAGS="$LDFLAGS -L/sw/lib"
    473474# checking gl header
    474475   AC_CHECK_HEADERS([OpenGL/gl.h] ,,
     
    480481   LIBS="$LIBS -framework OpenGL"
    481482
     483   AC_CHECK_HEADERS([OpenAL/al.h] ,,
     484      [AC_MSG_ERROR([cannot find opengl headers]) ])
     485  HAVE_OPENAL=yes
     486  LIBS="$LIBS -framework OpenAL"
     487
    482488
    483489## SDL-check
    484        SDL_CFLAGS=`sdl-config --cflags`
    485        SDL_LIBS=`sdl-config --libs`
    486        CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
    487        LIBS="$LIBS $SDL_LIBS"
    488 
     490#       SDL_CFLAGS=`sdl-config --cflags`
     491#       SDL_LIBS=`sdl-config --libs`
     492#       CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
     493#       LIBS="$LIBS $SDL_LIBS"
     494   AC_CHECK_HEADERS([SDL/SDL.h] ,,
     495      [AC_MSG_ERROR([cannot find SDL headers]) ])
     496   HAVE_SDL=yes
     497   LIBS="$LIBS -framework SDL"
    489498
    490499# checking for SDL-headers
     
    539548      echo "------------------"
    540549      echo "SDL_image library not found."
    541       echo "please install the SDL_image library, which can be found at http://www.libsdl.org/projects/SDL_image/"
     550      echo "please install the SDL_image library, which can be found at http://www.l ibsdl.org/projects/SDL_image/"
    542551      echo "------------------"
    543552      exit -1
Note: See TracChangeset for help on using the changeset viewer.