Changeset 5222 in orxonox.OLD
- Timestamp:
- Sep 23, 2005, 5:42:39 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.ac
r5221 r5222 72 72 AC_HELP_STRING( [--with-shared-lib-path], [Tells the executable, where to look for the shared libraries.]), 73 73 SHARED_LIB_PATH=$enableval) 74 75 if test x$SHARED_LIB_PATH = xno; then 74 if test x$SHARED_LIB_PATH != xno; then 75 echo "set to $SHARED_LIB_PATH" 76 else 76 77 echo "no" 77 else78 echo $SHARED_LIB_PATH79 78 fi 80 79 … … 100 99 echo "yes: setting debuglevel to to $DEBUG" 101 100 fi 102 AC_DEFINE_UNQUOTED(DEBUG, $DEBUG, [in which debug mode we are]) 103 101 AC_DEFINE_UNQUOTED(DEBUG, $DEBUG, [in which debug mode we are]) 104 102 AC_SUBST(DEBUG) 105 103 … … 253 251 echo "mingw-WINDOWS detected" 254 252 255 CPPFLAGS="-I/usr/include -I/mingw/include "253 CPPFLAGS="-I/usr/include -I/mingw/include $CPPFLAGS" 256 254 257 255 mingw="yes" … … 362 360 Linux="yes" 363 361 364 CPPFLAGS="-I/usr/include "362 CPPFLAGS="-I/usr/include $CPPFLAGS" 365 363 if test x$SHARED_LIB_PATH != xno; then 366 364 echo "setting new LDFlAGS with $SHARED_LIB_PATH" 367 365 LDFLAGS="-Wl,-rpath,$SHARED_LIB_PATH $LDFLAGS" 368 366 fi 369 LDFLAGS="-L/usr/lib" 370 ## LDFLAGS="-L/usr/lib -L$HOME/tmp/lib $LDFLAGS" 367 LDFLAGS="-L/usr/lib $LD_FLAGS" 371 368 372 369 # checking gl header … … 390 387 [AC_MSG_ERROR([cannot find opengl headers]) ]) 391 388 392 AC_CHECK_LIB([GLU], [main], FOUND_GLU=yes)393 if test x$FOUND_GLU = xyes ; then389 # AC_CHECK_LIB([GLU], [main], FOUND_GLU=yes) 390 # if test x$FOUND_GLU = xyes ; then 394 391 LIBS="$LIBS -lGLU" 395 else396 echo "------------------"397 echo "GLU library not found."398 echo "please install the GLU library, that should come with openGL, which can be found at http://www.opengl.org"399 echo "------------------"400 exit -1401 fi392 # else 393 # echo "------------------" 394 # echo "GLU library not found." 395 # echo "please install the GLU library, that should come with openGL, which can be found at http://www.opengl.org" 396 # echo "------------------" 397 # exit -1 398 # fi 402 399 403 400 #--------#
Note: See TracChangeset
for help on using the changeset viewer.