Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5273 in orxonox.OLD for trunk/configure


Ignore:
Timestamp:
Oct 1, 2005, 10:39:27 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: now shaders do not execute (segfault) on non-shader hardware

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure

    r5271 r5273  
    54465446echo "${ECHO_T}$ac_cv_lib_glew32_main" >&6
    54475447if test $ac_cv_lib_glew32_main = yes; then
    5448   echo "$as_me:$LINENO: checking for main in -lglew32s" >&5
    5449 echo $ECHO_N "checking for main in -lglew32s... $ECHO_C" >&6
    5450 if test "${ac_cv_lib_glew32s_main+set}" = set; then
    5451   echo $ECHO_N "(cached) $ECHO_C" >&6
    5452 else
    5453   ac_check_lib_save_LIBS=$LIBS
    5454 LIBS="-lglew32s  $LIBS"
    5455 cat >conftest.$ac_ext <<_ACEOF
    5456 /* confdefs.h.  */
    5457 _ACEOF
    5458 cat confdefs.h >>conftest.$ac_ext
    5459 cat >>conftest.$ac_ext <<_ACEOF
    5460 /* end confdefs.h.  */
    5461 
    5462 
    5463 int
    5464 main ()
    5465 {
    5466 main ();
    5467   ;
    5468   return 0;
    5469 }
    5470 _ACEOF
    5471 rm -f conftest.$ac_objext conftest$ac_exeext
    5472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5473   (eval $ac_link) 2>conftest.er1
    5474   ac_status=$?
    5475   grep -v '^ *+' conftest.er1 >conftest.err
    5476   rm -f conftest.er1
    5477   cat conftest.err >&5
    5478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5479   (exit $ac_status); } &&
    5480          { ac_try='test -z "$ac_c_werror_flag"
    5481                          || test ! -s conftest.err'
    5482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5483   (eval $ac_try) 2>&5
    5484   ac_status=$?
    5485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5486   (exit $ac_status); }; } &&
    5487          { ac_try='test -s conftest$ac_exeext'
    5488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5489   (eval $ac_try) 2>&5
    5490   ac_status=$?
    5491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5492   (exit $ac_status); }; }; then
    5493   ac_cv_lib_glew32s_main=yes
    5494 else
    5495   echo "$as_me: failed program was:" >&5
    5496 sed 's/^/| /' conftest.$ac_ext >&5
    5497 
    5498 ac_cv_lib_glew32s_main=no
    5499 fi
    5500 rm -f conftest.err conftest.$ac_objext \
    5501       conftest$ac_exeext conftest.$ac_ext
    5502 LIBS=$ac_check_lib_save_LIBS
    5503 fi
    5504 echo "$as_me:$LINENO: result: $ac_cv_lib_glew32s_main" >&5
    5505 echo "${ECHO_T}$ac_cv_lib_glew32s_main" >&6
    5506 if test $ac_cv_lib_glew32s_main = yes; then
    55075448  FOUND_glew32=yes
    55085449fi
    55095450
    5510 fi
    5511 
    55125451    if test x$FOUND_glew32 = xyes ; then
    5513         LIBS="$LIBS -lglew32 -lglew32s"
     5452        LIBS="$LIBS -lglew32"
    55145453    else
    55155454         echo "------------------"
Note: See TracChangeset for help on using the changeset viewer.