Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2993 in orxonox.OLD for orxonox/branches/osX/configure.ac


Ignore:
Timestamp:
Nov 26, 2004, 1:57:22 PM (21 years ago)
Author:
bensch
Message:

orxonox/branches/osX: now it should compile on more systems

File:
1 edited

Legend:

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

    r2984 r2993  
    164164   LIBS="$LIBS -framework OpenGL"
    165165
     166# checking for SDL-headers
     167    AC_CHECK_HEADERS(SDL/SDL.h ,,
     168      [AC_MSG_ERROR([cannot find SDL headers]) ])
     169
    166170## checking for SDL
    167     SDL_VERSION=1.2.7
    168     AM_PATH_SDL($SDL_VERSION,
    169       :,
    170       AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!])
    171       )
    172     CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
    173     LIBS="$LIBS $SDL_LIBS"
     171#    SDL_VERSION=1.2.7
     172#    AM_PATH_SDL($SDL_VERSION,
     173#      :,
     174#      AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!])
     175#      )
     176
     177       SDL_CFLAGS=`sdl-config --cflags`
     178       SDL_LIBS=`sdl-config --libs`
     179       CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
     180       LIBS="$LIBS $SDL_LIBS"
    174181  ;;
    175182
Note: See TracChangeset for help on using the changeset viewer.