Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3385 in orxonox.OLD for orxonox/trunk/configure


Ignore:
Timestamp:
Jan 27, 2005, 2:05:26 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: added new include directory for openGL. now it works with the new xorg.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/configure

    r3377 r3385  
    49054905
    49064906CPPFLAGS="-I/usr/X11R6/include"
    4907 LDFLAGS="-L/usr/Mesa-6.0.1/lib -L/usr/X11R6/lib $LDFLAGS"
     4907LDFLAGS="-L/usr/lib/opengl/xorg-x11/lib -L/usr/Mesa-6.0.1/lib -L/usr/X11R6/lib $LDFLAGS"
    49084908# checking gl header
    49094909
     
    50635063
    50645064#  checking for Unix GL
    5065    echo "$as_me:$LINENO: checking for main in -lGL" >&5
    5066 echo $ECHO_N "checking for main in -lGL... $ECHO_C" >&6
    5067 if test "${ac_cv_lib_GL_main+set}" = set; then
     5065   echo "$as_me:$LINENO: checking for glLoadIdentity in -lGL" >&5
     5066echo $ECHO_N "checking for glLoadIdentity in -lGL... $ECHO_C" >&6
     5067if test "${ac_cv_lib_GL_glLoadIdentity+set}" = set; then
    50685068  echo $ECHO_N "(cached) $ECHO_C" >&6
    50695069else
     
    50775077/* end confdefs.h.  */
    50785078
    5079 
     5079/* Override any gcc2 internal prototype to avoid an error.  */
     5080#ifdef __cplusplus
     5081extern "C"
     5082#endif
     5083/* We use char because int might match the return type of a gcc2
     5084   builtin and then its argument prototype would still apply.  */
     5085char glLoadIdentity ();
    50805086int
    50815087main ()
    50825088{
    5083 main ();
     5089glLoadIdentity ();
    50845090  ;
    50855091  return 0;
     
    51085114  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    51095115  (exit $ac_status); }; }; then
    5110   ac_cv_lib_GL_main=yes
     5116  ac_cv_lib_GL_glLoadIdentity=yes
    51115117else
    51125118  echo "$as_me: failed program was:" >&5
    51135119sed 's/^/| /' conftest.$ac_ext >&5
    51145120
    5115 ac_cv_lib_GL_main=no
     5121ac_cv_lib_GL_glLoadIdentity=no
    51165122fi
    51175123rm -f conftest.err conftest.$ac_objext \
     
    51195125LIBS=$ac_check_lib_save_LIBS
    51205126fi
    5121 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_main" >&5
    5122 echo "${ECHO_T}$ac_cv_lib_GL_main" >&6
    5123 if test $ac_cv_lib_GL_main = yes; then
     5127echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glLoadIdentity" >&5
     5128echo "${ECHO_T}$ac_cv_lib_GL_glLoadIdentity" >&6
     5129if test $ac_cv_lib_GL_glLoadIdentity = yes; then
    51245130  FOUND_GL=yes
    51255131fi
Note: See TracChangeset for help on using the changeset viewer.