Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Nov 26, 2004, 2:49:55 PM (21 years ago)
Author:
bensch
Message:

orxonox/trunk: merged branches/osX back into the Trunk.
Conflicts resolved in Favor of trunk in all the Makefiles, and fixed many strange entries in configure.ac
merged with command: svn merge branches/osX/ trunk/ -r 2887:HEAD
AND most Important of all: change back to AUTOMAKE-1.7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/configure.ac

    r2991 r2995  
    138138         exit -1
    139139    fi   
     140
    140141# checking for SDL-headers
    141142    AC_CHECK_HEADERS(SDL/SDL.h ,,
    142143      [AC_MSG_ERROR([cannot find SDL headers]) ])
    143144
     145# checking for SDL-libs
    144146    AC_CHECK_LIB([SDL], [main], FOUND_SDL=yes)
    145147     if test "$FOUND_SDL" = "yes" ; then
     
    162164#    LIBS="$LIBS $SDL_LIBS"
    163165    ;;
     166
     167### OS X ###
     168 *darwin*)
     169echo "OS X detected"
     170
     171 osX="yes"
     172
     173# checking gl header
     174   AC_CHECK_HEADERS(OpenGL/gl.h ,,
     175      [AC_MSG_ERROR([cannot find opengl headers]) ])
     176# cheking for GLU-header
     177    AC_CHECK_HEADERS(OpenGL/glu.h ,,
     178      [AC_MSG_ERROR([cannot find opengl headers]) ])
     179
     180   LIBS="$LIBS -framework OpenGL"
     181
     182# checking for SDL-headers
     183    AC_CHECK_HEADERS(SDL/SDL.h ,,
     184      [AC_MSG_ERROR([cannot find SDL headers]) ])
     185
     186## checking for SDL
     187#    SDL_VERSION=1.2.7
     188#    AM_PATH_SDL($SDL_VERSION,
     189#      :,
     190#      AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!])
     191#      )
     192
     193       SDL_CFLAGS=`sdl-config --cflags`
     194       SDL_LIBS=`sdl-config --libs`
     195       CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
     196       LIBS="$LIBS $SDL_LIBS"
     197    ;;
     198
    164199  *)
    165200    ;;
Note: See TracChangeset for help on using the changeset viewer.