Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8122 in orxonox.OLD for branches/osx/configure.ac


Ignore:
Timestamp:
Jun 2, 2006, 5:46:11 PM (19 years ago)
Author:
ponder
Message:

Md2loader seems to work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/osx/configure.ac

    r7791 r8122  
    434434 osX="yes"
    435435 QT_PREFIX="$prefix"
    436  CPPFLAGS="-I/$prefix/include $CPPFLAGS -F$prefix/lib"
    437  LDFLAGS="$LDFLAGS -L$prefix/lib -F$prefix/lib"
     436 CPPFLAGS="-I/$prefix/include $CPPFLAGS -F$prefix/lib -I/opt/local"
     437 LDFLAGS="$LDFLAGS -L$prefix/lib -F$prefix/lib -L/opt/local"
    438438 PCK_CONFIG_PATH='/opt/local'
    439439# checking gl header
     
    443443    AC_CHECK_HEADERS([OpenGL/glu.h] ,,
    444444      [AC_MSG_ERROR([cannot find opengl headers]) ])
    445 
     445        AC_CHECK_LIB( OpenGL, main, , )
    446446   LIBS="$LIBS -framework OpenGL"
    447447
     
    565565# QT #
    566566#----#
    567 if test `uname` = "Darwin" ; then
     567if test x$osX = xyes ; then
    568568        PKG_CONFIG_PATH="$prefix"
    569569        PKG_CHECK_MODULES( QT, QtOpenGL >= 4.01 QtCore >= 4.01 QtGui >= 4.0.1 )
Note: See TracChangeset for help on using the changeset viewer.