Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Nov 24, 2004, 2:31:17 PM (20 years ago)
Author:
bensch
Message:

orxonox/branches/osX: now compiles on Macintosh

File:
1 edited

Legend:

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

    r2977 r2978  
    157157      AC_CHECK_LIB([Xt], [main])
    158158    ;;
     159
     160### OS X ###
     161 *Darwin*)
     162echo "OS X detected"
     163
     164 osX="yes"
     165
     166# checking gl header
     167   AC_CHECK_HEADERS(OpenGL/gl.h ,,
     168      [AC_MSG_ERROR([cannot find opengl headers]) ])
     169# cheking for GLU-header
     170    AC_CHECK_HEADERS(OpenGL/glu.h ,,
     171      [AC_MSG_ERROR([cannot find opengl headers]) ])
     172
     173   LIBS="$LIBS -framework OpenGL"
     174
     175# checking for SDL-headers
     176    AC_CHECK_HEADERS(SDL/SDL.h ,,
     177      [AC_MSG_ERROR([cannot find SDL headers]) ])
     178
     179 LIBS="$LIBS -L/sw/lib -lSDLmain -lSDL -framework Cocoa"
     180
     181  ;;
     182
    159183  *)
    160184    mingw="no"
Note: See TracChangeset for help on using the changeset viewer.