Changeset 5220 in orxonox.OLD
- Timestamp:
- Sep 23, 2005, 3:05:50 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.ac
r5160 r5220 346 346 Linux="yes" 347 347 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"348 CPPFLAGS="-I/usr/X11R6/include -I/usr/include -I$HOME/tmp/include" 349 LDFLAGS=" -Wl,-rpath,$HOME/tmp/lib -L/usr/lib -L$HOME/tmp/lib $LDFLAGS" 350 350 # checking gl header 351 351 AC_CHECK_HEADERS([GL/gl.h] ,, … … 353 353 354 354 # checking for Unix GL 355 AC_CHECK_LIB([GL], [ glLoadIdentity], FOUND_GL=yes)355 AC_CHECK_LIB([GL], [main], FOUND_GL=yes) 356 356 if test x$FOUND_GL = xyes ; then 357 357 LIBS="$LIBS -lGL" … … 368 368 [AC_MSG_ERROR([cannot find opengl headers]) ]) 369 369 370 AC_CHECK_LIB([GLU], [gluProject], FOUND_GLU=yes)371 if test x$FOUND_GLU = xyes ; then370 # AC_CHECK_LIB([GLU], [main], FOUND_GLU=yes) 371 # if test x$FOUND_GLU = xyes ; then 372 372 LIBS="$LIBS -lGLU" 373 else374 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 -1379 fi373 # 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 380 380 381 381 #--------# … … 395 395 echo "------------------" 396 396 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" 397 402 fi 398 403
Note: See TracChangeset
for help on using the changeset viewer.