Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5222 in orxonox.OLD


Ignore:
Timestamp:
Sep 23, 2005, 5:42:39 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: syncing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r5221 r5222  
    7272        AC_HELP_STRING( [--with-shared-lib-path], [Tells the executable, where to look for the shared libraries.]),
    7373         SHARED_LIB_PATH=$enableval)
    74 
    75 if test x$SHARED_LIB_PATH = xno; then
     74if test x$SHARED_LIB_PATH != xno; then
     75        echo "set to $SHARED_LIB_PATH"
     76else
    7677        echo "no"
    77 else
    78         echo $SHARED_LIB_PATH
    7978fi
    8079
     
    10099        echo "yes: setting debuglevel to to $DEBUG"
    101100fi
    102         AC_DEFINE_UNQUOTED(DEBUG, $DEBUG, [in which debug mode we are])
    103 
     101AC_DEFINE_UNQUOTED(DEBUG, $DEBUG, [in which debug mode we are])
    104102AC_SUBST(DEBUG)
    105103
     
    253251echo "mingw-WINDOWS detected"
    254252
    255 CPPFLAGS="-I/usr/include -I/mingw/include"
     253CPPFLAGS="-I/usr/include -I/mingw/include $CPPFLAGS"
    256254
    257255    mingw="yes"
     
    362360 Linux="yes"
    363361
    364 CPPFLAGS="-I/usr/include"
     362CPPFLAGS="-I/usr/include $CPPFLAGS"
    365363if test x$SHARED_LIB_PATH != xno; then
    366364        echo "setting new LDFlAGS with $SHARED_LIB_PATH"
    367365        LDFLAGS="-Wl,-rpath,$SHARED_LIB_PATH $LDFLAGS"
    368366fi
    369 LDFLAGS="-L/usr/lib"
    370 ## LDFLAGS="-L/usr/lib -L$HOME/tmp/lib $LDFLAGS"
     367LDFLAGS="-L/usr/lib $LD_FLAGS"
    371368
    372369# checking gl header
     
    390387      [AC_MSG_ERROR([cannot find opengl headers]) ])
    391388
    392     AC_CHECK_LIB([GLU], [main], FOUND_GLU=yes)
    393     if test x$FOUND_GLU = xyes ; then
     389#    AC_CHECK_LIB([GLU], [main], FOUND_GLU=yes)
     390#    if test x$FOUND_GLU = xyes ; then
    394391      LIBS="$LIBS -lGLU"
    395     else
    396          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 -1
    401     fi
     392#    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
    402399
    403400#--------#
Note: See TracChangeset for help on using the changeset viewer.