Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5220 in orxonox.OLD


Ignore:
Timestamp:
Sep 23, 2005, 3:05:50 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: configure-script-merge, to be compatible to isg.ee-computers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r5160 r5220  
    346346 Linux="yes"
    347347
    348 CPPFLAGS="-I/usr/X11R6/include -I/usr/include"
    349 ##LDFLAGS="-L/usr/lib/opengl/xorg-x11/lib -L/usr/Mesa-6.0.1/lib -L/usr/X11R6/lib $LDFLAGS"
     348CPPFLAGS="-I/usr/X11R6/include -I/usr/include -I$HOME/tmp/include"
     349LDFLAGS=" -Wl,-rpath,$HOME/tmp/lib -L/usr/lib -L$HOME/tmp/lib $LDFLAGS"
    350350# checking gl header
    351351   AC_CHECK_HEADERS([GL/gl.h] ,,
     
    353353
    354354#  checking for Unix GL
    355    AC_CHECK_LIB([GL], [glLoadIdentity], FOUND_GL=yes)
     355   AC_CHECK_LIB([GL], [main], FOUND_GL=yes)
    356356   if test x$FOUND_GL = xyes ; then
    357357     LIBS="$LIBS -lGL"
     
    368368      [AC_MSG_ERROR([cannot find opengl headers]) ])
    369369
    370     AC_CHECK_LIB([GLU], [gluProject], FOUND_GLU=yes)
    371     if test x$FOUND_GLU = xyes ; then
     370#    AC_CHECK_LIB([GLU], [main], FOUND_GLU=yes)
     371#    if test x$FOUND_GLU = xyes ; then
    372372      LIBS="$LIBS -lGLU"
    373     else
    374          echo "------------------"
    375          echo "GLU library not found."
    376          echo "please install the GLU library, that should come with openGL, which can be found at http://www.opengl.org"
    377          echo "------------------"
    378          exit -1
    379     fi
     373#    else
     374#         echo "------------------"
     375#         echo "GLU library not found."
     376#         echo "please install the GLU library, that should come with openGL, which can be found at http://www.opengl.org"
     377#         echo "------------------"
     378#         exit -1
     379#    fi
    380380
    381381#--------#
     
    395395        echo "------------------"
    396396        exit -1
     397     fi
     398# checking for alut
     399  AC_CHECK_LIB([alut], [main], [FOUND_openal=yes])
     400     if test x$FOUND_openal = xyes ; then
     401       LIBS="$LIBS -lalut"
    397402     fi
    398403
Note: See TracChangeset for help on using the changeset viewer.