Changeset 2707 in orxonox.OLD for orxonox/branches/buerli/configure
- Timestamp:
- Nov 3, 2004, 12:29:03 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/buerli/configure
r2190 r2707 312 312 #endif" 313 313 314 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MSBITFIELDS CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREPLIBOBJS LTLIBOBJS'314 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP MSBITFIELDS LIBOBJS LTLIBOBJS' 315 315 ac_subst_files='' 316 316 … … 858 858 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 859 859 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 860 --disable-dependency-tracking Speeds up one-time builds861 --enable-dependency-tracking Do not reject slow dependency extractors860 --disable-dependency-tracking speeds up one-time build 861 --enable-dependency-tracking do not reject slow dependency extractors 862 862 863 863 Some influential environment variables: … … 1321 1321 1322 1322 1323 am__api_version="1. 7"1323 am__api_version="1.8" 1324 1324 ac_aux_dir= 1325 1325 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do … … 1484 1484 rm conftest.sed 1485 1485 1486 1487 1486 # expand $ac_aux_dir to an absolute path 1488 1487 am_aux_dir=`cd $ac_aux_dir && pwd` … … 1496 1495 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 1497 1496 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 1497 fi 1498 1499 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then 1500 # Keeping the `.' argument allows $(mkdir_p) to be used without 1501 # argument. Indeed, we sometimes output rules like 1502 # $(mkdir_p) $(somedir) 1503 # where $(somedir) is conditionally defined. 1504 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more 1505 # expensive solution, as it forces Make to start a sub-shell.) 1506 mkdir_p='mkdir -p -- .' 1507 else 1508 # On NextStep and OpenStep, the `mkdir' command does not 1509 # recognize any option. It will interpret all options as 1510 # directories to create, and then abort because `.' already 1511 # exists. 1512 for d in ./-p ./--version; 1513 do 1514 test -d $d && rmdir $d 1515 done 1516 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. 1517 if test -f "$ac_aux_dir/mkinstalldirs"; then 1518 mkdir_p='$(mkinstalldirs)' 1519 else 1520 mkdir_p='$(install_sh) -d' 1521 fi 1498 1522 fi 1499 1523 … … 1576 1600 rmdir .tst 2>/dev/null 1577 1601 1578 1602 # test to see if srcdir already configured 1579 1603 if test "`cd $srcdir && pwd`" != "`pwd`" && 1580 1604 test -f $srcdir/config.status; then … … 1723 1747 1724 1748 1749 1725 1750 ac_config_headers="$ac_config_headers config.h" 1726 1727 1728 echo "$as_me:$LINENO: checking for mingw" >&51729 echo $ECHO_N "checking for mingw... $ECHO_C" >&61730 case `uname` in1731 *MINGW*)1732 mingw="yes"1733 MSBITFIELDS="-mms-bitfields"1734 MWINDOWS="-mwindows"1735 ;;1736 *)1737 mingw="no"1738 ;;1739 esac1740 echo "$as_me:$LINENO: result: $mingw" >&51741 echo "${ECHO_T}$mingw" >&61742 1751 1743 1752 … … 2406 2415 for i in 1 2 3 4 5 6; do 2407 2416 echo '#include "conftst'$i'.h"' >> sub/conftest.c 2408 : > sub/conftst$i.h 2417 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 2418 # Solaris 8's {/usr,}/bin/sh. 2419 touch sub/conftst$i.h 2409 2420 done 2410 2421 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf … … 2434 2445 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 2435 2446 # icc doesn't choke on unknown options, it will just issue warnings 2436 # (even with -Werror). So we grep stderr for any message 2437 # that says an option was ignored. 2438 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else 2447 # or remarks (even with -Werror). So we grep stderr for any message 2448 # that says an option was ignored or not supported. 2449 # When given -MP, icc 7.0 and 7.1 complain thusly: 2450 # icc: Command line warning: ignoring option '-M'; no argument required 2451 # The diagnosis changed in icc 8.0: 2452 # icc: Command line remark: option '-MP' not supported 2453 if (grep 'ignoring option' conftest.err || 2454 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 2439 2455 am_cv_CXX_dependencies_compiler_type=$depmode 2440 2456 break … … 3237 3253 for i in 1 2 3 4 5 6; do 3238 3254 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3239 : > sub/conftst$i.h 3255 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3256 # Solaris 8's {/usr,}/bin/sh. 3257 touch sub/conftst$i.h 3240 3258 done 3241 3259 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf … … 3265 3283 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3266 3284 # icc doesn't choke on unknown options, it will just issue warnings 3267 # (even with -Werror). So we grep stderr for any message 3268 # that says an option was ignored. 3269 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else 3285 # or remarks (even with -Werror). So we grep stderr for any message 3286 # that says an option was ignored or not supported. 3287 # When given -MP, icc 7.0 and 7.1 complain thusly: 3288 # icc: Command line warning: ignoring option '-M'; no argument required 3289 # The diagnosis changed in icc 8.0: 3290 # icc: Command line remark: option '-MP' not supported 3291 if (grep 'ignoring option' conftest.err || 3292 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3270 3293 am_cv_CC_dependencies_compiler_type=$depmode 3271 3294 break … … 3299 3322 3300 3323 3301 # Checks for libraries. 3302 3303 # cheking for libGL 3324 3325 # checking gl header (has to be here because of a Linux error) 3304 3326 3305 3327 ac_ext=c … … 3946 3968 3947 3969 3948 # checking for Unix GL 3949 echo "$as_me:$LINENO: checking for main in -lGL" >&5 3950 echo $ECHO_N "checking for main in -lGL... $ECHO_C" >&6 3951 if test "${ac_cv_lib_GL_main+set}" = set; then 3970 3971 3972 ### CHECKING FOR SYSTEM ### 3973 3974 echo "$as_me:$LINENO: checking for System" >&5 3975 echo $ECHO_N "checking for System... $ECHO_C" >&6 3976 case `uname` in 3977 ### WINDOWS ### 3978 *MINGW*) 3979 echo "mingw-WINDOWS detected" 3980 3981 mingw="yes" 3982 MSBITFIELDS="-mms-bitfields" 3983 MWINDOWS="-mwindows" 3984 3985 # checking gl header 3986 #done before loop 3987 3988 # checking for Windows openGl library 3989 echo "$as_me:$LINENO: checking for main in -lopengl32" >&5 3990 echo $ECHO_N "checking for main in -lopengl32... $ECHO_C" >&6 3991 if test "${ac_cv_lib_opengl32_main+set}" = set; then 3952 3992 echo $ECHO_N "(cached) $ECHO_C" >&6 3953 3993 else 3954 3994 ac_check_lib_save_LIBS=$LIBS 3955 LIBS="-l GL$LIBS"3995 LIBS="-lopengl32 $LIBS" 3956 3996 cat >conftest.$ac_ext <<_ACEOF 3957 3997 /* confdefs.h. */ … … 3992 4032 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3993 4033 (exit $ac_status); }; }; then 3994 ac_cv_lib_GL_main=yes3995 else3996 echo "$as_me: failed program was:" >&53997 sed 's/^/| /' conftest.$ac_ext >&53998 3999 ac_cv_lib_GL_main=no4000 fi4001 rm -f conftest.err conftest.$ac_objext \4002 conftest$ac_exeext conftest.$ac_ext4003 LIBS=$ac_check_lib_save_LIBS4004 fi4005 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_main" >&54006 echo "${ECHO_T}$ac_cv_lib_GL_main" >&64007 if test $ac_cv_lib_GL_main = yes; then4008 FOUND_GL=yes4009 fi4010 4011 if test "$FOUND_GL" = "yes" ; then4012 LIBS="$LIBS -lGL"4013 # checking for Windows openGl library4014 else4015 echo "We did not find the Linux opengl Library. Checking for Windows Library"4016 echo "$as_me:$LINENO: checking for main in -lopengl32" >&54017 echo $ECHO_N "checking for main in -lopengl32... $ECHO_C" >&64018 if test "${ac_cv_lib_opengl32_main+set}" = set; then4019 echo $ECHO_N "(cached) $ECHO_C" >&64020 else4021 ac_check_lib_save_LIBS=$LIBS4022 LIBS="-lopengl32 $LIBS"4023 cat >conftest.$ac_ext <<_ACEOF4024 /* confdefs.h. */4025 _ACEOF4026 cat confdefs.h >>conftest.$ac_ext4027 cat >>conftest.$ac_ext <<_ACEOF4028 /* end confdefs.h. */4029 4030 4031 int4032 main ()4033 {4034 main ();4035 ;4036 return 0;4037 }4038 _ACEOF4039 rm -f conftest.$ac_objext conftest$ac_exeext4040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&54041 (eval $ac_link) 2>conftest.er14042 ac_status=$?4043 grep -v '^ *+' conftest.er1 >conftest.err4044 rm -f conftest.er14045 cat conftest.err >&54046 echo "$as_me:$LINENO: \$? = $ac_status" >&54047 (exit $ac_status); } &&4048 { ac_try='test -z "$ac_c_werror_flag"4049 || test ! -s conftest.err'4050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&54051 (eval $ac_try) 2>&54052 ac_status=$?4053 echo "$as_me:$LINENO: \$? = $ac_status" >&54054 (exit $ac_status); }; } &&4055 { ac_try='test -s conftest$ac_exeext'4056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&54057 (eval $ac_try) 2>&54058 ac_status=$?4059 echo "$as_me:$LINENO: \$? = $ac_status" >&54060 (exit $ac_status); }; }; then4061 4034 ac_cv_lib_opengl32_main=yes 4062 4035 else … … 4080 4053 if test "$FOUND_opengl32" = "yes" ; then 4081 4054 LIBS="$LIBS -lopengl32" 4082 4083 4055 else 4084 4056 echo "------------------" … … 4088 4060 exit -1 4089 4061 fi 4090 fi 4091 4092 # cheking for libGLU 4062 4063 # cheking for GLU-header 4093 4064 4094 4065 for ac_header in GL/glu.h … … 4246 4217 4247 4218 4248 echo "$as_me:$LINENO: checking for gluProject in -lGLU" >&5 4249 echo $ECHO_N "checking for gluProject in -lGLU... $ECHO_C" >&6 4250 if test "${ac_cv_lib_GLU_gluProject+set}" = set; then 4251 echo $ECHO_N "(cached) $ECHO_C" >&6 4252 else 4253 ac_check_lib_save_LIBS=$LIBS 4254 LIBS="-lGLU $LIBS" 4255 cat >conftest.$ac_ext <<_ACEOF 4256 /* confdefs.h. */ 4257 _ACEOF 4258 cat confdefs.h >>conftest.$ac_ext 4259 cat >>conftest.$ac_ext <<_ACEOF 4260 /* end confdefs.h. */ 4261 4262 /* Override any gcc2 internal prototype to avoid an error. */ 4263 #ifdef __cplusplus 4264 extern "C" 4265 #endif 4266 /* We use char because int might match the return type of a gcc2 4267 builtin and then its argument prototype would still apply. */ 4268 char gluProject (); 4269 int 4270 main () 4271 { 4272 gluProject (); 4273 ; 4274 return 0; 4275 } 4276 _ACEOF 4277 rm -f conftest.$ac_objext conftest$ac_exeext 4278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4279 (eval $ac_link) 2>conftest.er1 4280 ac_status=$? 4281 grep -v '^ *+' conftest.er1 >conftest.err 4282 rm -f conftest.er1 4283 cat conftest.err >&5 4284 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4285 (exit $ac_status); } && 4286 { ac_try='test -z "$ac_c_werror_flag" 4287 || test ! -s conftest.err' 4288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4289 (eval $ac_try) 2>&5 4290 ac_status=$? 4291 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4292 (exit $ac_status); }; } && 4293 { ac_try='test -s conftest$ac_exeext' 4294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4295 (eval $ac_try) 2>&5 4296 ac_status=$? 4297 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4298 (exit $ac_status); }; }; then 4299 ac_cv_lib_GLU_gluProject=yes 4300 else 4301 echo "$as_me: failed program was:" >&5 4302 sed 's/^/| /' conftest.$ac_ext >&5 4303 4304 ac_cv_lib_GLU_gluProject=no 4305 fi 4306 rm -f conftest.err conftest.$ac_objext \ 4307 conftest$ac_exeext conftest.$ac_ext 4308 LIBS=$ac_check_lib_save_LIBS 4309 fi 4310 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluProject" >&5 4311 echo "${ECHO_T}$ac_cv_lib_GLU_gluProject" >&6 4312 if test $ac_cv_lib_GLU_gluProject = yes; then 4313 FOUND_GLU=yes 4314 fi 4315 4316 if test "$FOUND_GLU" = "yes" ; then 4317 LIBS="$LIBS -lGLU" 4318 # checking for Windows GLU32 library 4319 else 4320 echo "We did not find the Linux GLU Library. Checking for Windows Library" 4219 # checking for libGLU 4321 4220 echo "$as_me:$LINENO: checking for main in -lglu32" >&5 4322 4221 echo $ECHO_N "checking for main in -lglu32... $ECHO_C" >&6 … … 4383 4282 if test "$FOUND_glu32" = "yes" ; then 4384 4283 LIBS="$LIBS -lGLU32" 4385 4386 else 4284 else 4387 4285 echo "------------------" 4388 4286 echo "GLU library not found." … … 4391 4289 exit -1 4392 4290 fi 4393 fi 4394 4395 # FIXME: Replace `main' with a function in `-lOSMesa': 4396 4397 echo "$as_me:$LINENO: checking for main in -lOSMesa" >&5 4398 echo $ECHO_N "checking for main in -lOSMesa... $ECHO_C" >&6 4399 if test "${ac_cv_lib_OSMesa_main+set}" = set; then 4291 4292 4293 # checking for mingw32 4294 echo "$as_me:$LINENO: checking for main in -lmingw32" >&5 4295 echo $ECHO_N "checking for main in -lmingw32... $ECHO_C" >&6 4296 if test "${ac_cv_lib_mingw32_main+set}" = set; then 4400 4297 echo $ECHO_N "(cached) $ECHO_C" >&6 4401 4298 else 4402 4299 ac_check_lib_save_LIBS=$LIBS 4403 LIBS="-l OSMesa$LIBS"4300 LIBS="-lmingw32 $LIBS" 4404 4301 cat >conftest.$ac_ext <<_ACEOF 4405 4302 /* confdefs.h. */ … … 4440 4337 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4441 4338 (exit $ac_status); }; }; then 4442 ac_cv_lib_ OSMesa_main=yes4339 ac_cv_lib_mingw32_main=yes 4443 4340 else 4444 4341 echo "$as_me: failed program was:" >&5 4445 4342 sed 's/^/| /' conftest.$ac_ext >&5 4446 4343 4447 ac_cv_lib_ OSMesa_main=no4344 ac_cv_lib_mingw32_main=no 4448 4345 fi 4449 4346 rm -f conftest.err conftest.$ac_objext \ … … 4451 4348 LIBS=$ac_check_lib_save_LIBS 4452 4349 fi 4453 echo "$as_me:$LINENO: result: $ac_cv_lib_OSMesa_main" >&5 4454 echo "${ECHO_T}$ac_cv_lib_OSMesa_main" >&6 4455 if test $ac_cv_lib_OSMesa_main = yes; then 4456 cat >>confdefs.h <<_ACEOF 4457 #define HAVE_LIBOSMESA 1 4458 _ACEOF 4459 4460 LIBS="-lOSMesa $LIBS" 4461 4462 fi 4463 4464 # FIXME: Replace `main' with a function in `-lX11': 4465 4466 echo "$as_me:$LINENO: checking for main in -lX11" >&5 4467 echo $ECHO_N "checking for main in -lX11... $ECHO_C" >&6 4468 if test "${ac_cv_lib_X11_main+set}" = set; then 4469 echo $ECHO_N "(cached) $ECHO_C" >&6 4470 else 4471 ac_check_lib_save_LIBS=$LIBS 4472 LIBS="-lX11 $LIBS" 4473 cat >conftest.$ac_ext <<_ACEOF 4474 /* confdefs.h. */ 4475 _ACEOF 4476 cat confdefs.h >>conftest.$ac_ext 4477 cat >>conftest.$ac_ext <<_ACEOF 4478 /* end confdefs.h. */ 4479 4480 4481 int 4482 main () 4483 { 4484 main (); 4485 ; 4486 return 0; 4487 } 4488 _ACEOF 4489 rm -f conftest.$ac_objext conftest$ac_exeext 4490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4491 (eval $ac_link) 2>conftest.er1 4492 ac_status=$? 4493 grep -v '^ *+' conftest.er1 >conftest.err 4494 rm -f conftest.er1 4495 cat conftest.err >&5 4496 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4497 (exit $ac_status); } && 4498 { ac_try='test -z "$ac_c_werror_flag" 4499 || test ! -s conftest.err' 4500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4501 (eval $ac_try) 2>&5 4502 ac_status=$? 4503 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4504 (exit $ac_status); }; } && 4505 { ac_try='test -s conftest$ac_exeext' 4506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4507 (eval $ac_try) 2>&5 4508 ac_status=$? 4509 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4510 (exit $ac_status); }; }; then 4511 ac_cv_lib_X11_main=yes 4512 else 4513 echo "$as_me: failed program was:" >&5 4514 sed 's/^/| /' conftest.$ac_ext >&5 4515 4516 ac_cv_lib_X11_main=no 4517 fi 4518 rm -f conftest.err conftest.$ac_objext \ 4519 conftest$ac_exeext conftest.$ac_ext 4520 LIBS=$ac_check_lib_save_LIBS 4521 fi 4522 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_main" >&5 4523 echo "${ECHO_T}$ac_cv_lib_X11_main" >&6 4524 if test $ac_cv_lib_X11_main = yes; then 4525 cat >>confdefs.h <<_ACEOF 4526 #define HAVE_LIBX11 1 4527 _ACEOF 4528 4529 LIBS="-lX11 $LIBS" 4530 4531 fi 4532 4533 # FIXME: Replace `main' with a function in `-lXt': 4534 4535 echo "$as_me:$LINENO: checking for main in -lXt" >&5 4536 echo $ECHO_N "checking for main in -lXt... $ECHO_C" >&6 4537 if test "${ac_cv_lib_Xt_main+set}" = set; then 4538 echo $ECHO_N "(cached) $ECHO_C" >&6 4539 else 4540 ac_check_lib_save_LIBS=$LIBS 4541 LIBS="-lXt $LIBS" 4542 cat >conftest.$ac_ext <<_ACEOF 4543 /* confdefs.h. */ 4544 _ACEOF 4545 cat confdefs.h >>conftest.$ac_ext 4546 cat >>conftest.$ac_ext <<_ACEOF 4547 /* end confdefs.h. */ 4548 4549 4550 int 4551 main () 4552 { 4553 main (); 4554 ; 4555 return 0; 4556 } 4557 _ACEOF 4558 rm -f conftest.$ac_objext conftest$ac_exeext 4559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4560 (eval $ac_link) 2>conftest.er1 4561 ac_status=$? 4562 grep -v '^ *+' conftest.er1 >conftest.err 4563 rm -f conftest.er1 4564 cat conftest.err >&5 4565 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4566 (exit $ac_status); } && 4567 { ac_try='test -z "$ac_c_werror_flag" 4568 || test ! -s conftest.err' 4569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4570 (eval $ac_try) 2>&5 4571 ac_status=$? 4572 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4573 (exit $ac_status); }; } && 4574 { ac_try='test -s conftest$ac_exeext' 4575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4576 (eval $ac_try) 2>&5 4577 ac_status=$? 4578 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4579 (exit $ac_status); }; }; then 4580 ac_cv_lib_Xt_main=yes 4581 else 4582 echo "$as_me: failed program was:" >&5 4583 sed 's/^/| /' conftest.$ac_ext >&5 4584 4585 ac_cv_lib_Xt_main=no 4586 fi 4587 rm -f conftest.err conftest.$ac_objext \ 4588 conftest$ac_exeext conftest.$ac_ext 4589 LIBS=$ac_check_lib_save_LIBS 4590 fi 4591 echo "$as_me:$LINENO: result: $ac_cv_lib_Xt_main" >&5 4592 echo "${ECHO_T}$ac_cv_lib_Xt_main" >&6 4593 if test $ac_cv_lib_Xt_main = yes; then 4594 cat >>confdefs.h <<_ACEOF 4595 #define HAVE_LIBXT 1 4596 _ACEOF 4597 4598 LIBS="-lXt $LIBS" 4599 4600 fi 4601 4602 4603 # cheking for libglut32 4604 4605 for ac_header in GL/glut.h 4350 echo "$as_me:$LINENO: result: $ac_cv_lib_mingw32_main" >&5 4351 echo "${ECHO_T}$ac_cv_lib_mingw32_main" >&6 4352 if test $ac_cv_lib_mingw32_main = yes; then 4353 FOUND_mingw32=yes 4354 fi 4355 4356 if test $FOUND_mingw32 = "yes"; then 4357 LIBS="$LIBS -lmingw32" 4358 fi 4359 # checking for SDL-headers 4360 4361 for ac_header in SDL/SDL.h 4606 4362 do 4607 4363 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` … … 4749 4505 4750 4506 else 4751 { { echo "$as_me:$LINENO: error: cannot find glutheaders" >&54752 echo "$as_me: error: cannot find glutheaders" >&2;}4507 { { echo "$as_me:$LINENO: error: cannot find SDL headers" >&5 4508 echo "$as_me: error: cannot find SDL headers" >&2;} 4753 4509 { (exit 1); exit 1; }; } 4754 4510 fi … … 4756 4512 done 4757 4513 4758 echo "$as_me:$LINENO: checking for glutInit in -lglut" >&5 4759 echo $ECHO_N "checking for glutInit in -lglut... $ECHO_C" >&6 4760 if test "${ac_cv_lib_glut_glutInit+set}" = set; then 4514 4515 #checking for libSDL 4516 echo "$as_me:$LINENO: checking for main in -lsdlmain" >&5 4517 echo $ECHO_N "checking for main in -lsdlmain... $ECHO_C" >&6 4518 if test "${ac_cv_lib_sdlmain_main+set}" = set; then 4761 4519 echo $ECHO_N "(cached) $ECHO_C" >&6 4762 4520 else 4763 4521 ac_check_lib_save_LIBS=$LIBS 4764 LIBS="-lglut $LIBS" 4765 cat >conftest.$ac_ext <<_ACEOF 4766 /* confdefs.h. */ 4767 _ACEOF 4768 cat confdefs.h >>conftest.$ac_ext 4769 cat >>conftest.$ac_ext <<_ACEOF 4770 /* end confdefs.h. */ 4771 4772 /* Override any gcc2 internal prototype to avoid an error. */ 4773 #ifdef __cplusplus 4774 extern "C" 4775 #endif 4776 /* We use char because int might match the return type of a gcc2 4777 builtin and then its argument prototype would still apply. */ 4778 char glutInit (); 4779 int 4780 main () 4781 { 4782 glutInit (); 4783 ; 4784 return 0; 4785 } 4786 _ACEOF 4787 rm -f conftest.$ac_objext conftest$ac_exeext 4788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4789 (eval $ac_link) 2>conftest.er1 4790 ac_status=$? 4791 grep -v '^ *+' conftest.er1 >conftest.err 4792 rm -f conftest.er1 4793 cat conftest.err >&5 4794 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4795 (exit $ac_status); } && 4796 { ac_try='test -z "$ac_c_werror_flag" 4797 || test ! -s conftest.err' 4798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4799 (eval $ac_try) 2>&5 4800 ac_status=$? 4801 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4802 (exit $ac_status); }; } && 4803 { ac_try='test -s conftest$ac_exeext' 4804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4805 (eval $ac_try) 2>&5 4806 ac_status=$? 4807 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4808 (exit $ac_status); }; }; then 4809 ac_cv_lib_glut_glutInit=yes 4810 else 4811 echo "$as_me: failed program was:" >&5 4812 sed 's/^/| /' conftest.$ac_ext >&5 4813 4814 ac_cv_lib_glut_glutInit=no 4815 fi 4816 rm -f conftest.err conftest.$ac_objext \ 4817 conftest$ac_exeext conftest.$ac_ext 4818 LIBS=$ac_check_lib_save_LIBS 4819 fi 4820 echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutInit" >&5 4821 echo "${ECHO_T}$ac_cv_lib_glut_glutInit" >&6 4822 if test $ac_cv_lib_glut_glutInit = yes; then 4823 FOUND_glut=yes 4824 fi 4825 4826 if test "$FOUND_glut" = "yes" ; then 4827 LIBS="$LIBS -lglut" 4828 # checking for Windows glut32 library 4829 else 4830 echo "We did not find the Linux glut Library. Checking for Windows Library" 4831 echo "$as_me:$LINENO: checking for main in -lglut32" >&5 4832 echo $ECHO_N "checking for main in -lglut32... $ECHO_C" >&6 4833 if test "${ac_cv_lib_glut32_main+set}" = set; then 4834 echo $ECHO_N "(cached) $ECHO_C" >&6 4835 else 4836 ac_check_lib_save_LIBS=$LIBS 4837 LIBS="-lglut32 $LIBS" 4522 LIBS="-lsdlmain $LIBS" 4838 4523 cat >conftest.$ac_ext <<_ACEOF 4839 4524 /* confdefs.h. */ … … 4874 4559 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4875 4560 (exit $ac_status); }; }; then 4876 ac_cv_lib_ glut32_main=yes4561 ac_cv_lib_sdlmain_main=yes 4877 4562 else 4878 4563 echo "$as_me: failed program was:" >&5 4879 4564 sed 's/^/| /' conftest.$ac_ext >&5 4880 4565 4881 ac_cv_lib_ glut32_main=no4566 ac_cv_lib_sdlmain_main=no 4882 4567 fi 4883 4568 rm -f conftest.err conftest.$ac_objext \ … … 4885 4570 LIBS=$ac_check_lib_save_LIBS 4886 4571 fi 4887 echo "$as_me:$LINENO: result: $ac_cv_lib_ glut32_main" >&54888 echo "${ECHO_T}$ac_cv_lib_ glut32_main" >&64889 if test $ac_cv_lib_ glut32_main = yes; then4890 FOUND_ glut32=yes4891 fi 4892 4893 if test "$FOUND_ glut32" = "yes" ; then4894 LIBS="$LIBS -l glut32"4572 echo "$as_me:$LINENO: result: $ac_cv_lib_sdlmain_main" >&5 4573 echo "${ECHO_T}$ac_cv_lib_sdlmain_main" >&6 4574 if test $ac_cv_lib_sdlmain_main = yes; then 4575 FOUND_sdlmain=yes 4576 fi 4577 4578 if test "$FOUND_sdlmain" = "yes" ; then 4579 LIBS="$LIBS -lsdlmain" 4895 4580 else 4896 4581 echo "------------------" 4897 echo " glutlibrary not found."4898 echo "please install the glut library, which can be found at http://www.xmission.com/~nate/glut.html"4582 echo "SDL library not found." 4583 echo "please install the SDL library, which can be found at http://www.libsdl.org" 4899 4584 echo "------------------" 4900 exit -14585 exit 1 4901 4586 fi 4902 fi 4903 4904 ## mingw CHECK 4905 if test $mingw = yes ; then 4906 echo "$as_me:$LINENO: checking for main in -lmingw32" >&5 4907 echo $ECHO_N "checking for main in -lmingw32... $ECHO_C" >&6 4908 if test "${ac_cv_lib_mingw32_main+set}" = set; then 4587 echo "$as_me:$LINENO: checking for main in -lsdl" >&5 4588 echo $ECHO_N "checking for main in -lsdl... $ECHO_C" >&6 4589 if test "${ac_cv_lib_sdl_main+set}" = set; then 4909 4590 echo $ECHO_N "(cached) $ECHO_C" >&6 4910 4591 else 4911 4592 ac_check_lib_save_LIBS=$LIBS 4912 LIBS="-l mingw32$LIBS"4593 LIBS="-lsdl $LIBS" 4913 4594 cat >conftest.$ac_ext <<_ACEOF 4914 4595 /* confdefs.h. */ … … 4949 4630 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4950 4631 (exit $ac_status); }; }; then 4951 ac_cv_lib_ mingw32_main=yes4632 ac_cv_lib_sdl_main=yes 4952 4633 else 4953 4634 echo "$as_me: failed program was:" >&5 4954 4635 sed 's/^/| /' conftest.$ac_ext >&5 4955 4636 4956 ac_cv_lib_ mingw32_main=no4637 ac_cv_lib_sdl_main=no 4957 4638 fi 4958 4639 rm -f conftest.err conftest.$ac_objext \ … … 4960 4641 LIBS=$ac_check_lib_save_LIBS 4961 4642 fi 4962 echo "$as_me:$LINENO: result: $ac_cv_lib_mingw32_main" >&5 4963 echo "${ECHO_T}$ac_cv_lib_mingw32_main" >&6 4964 if test $ac_cv_lib_mingw32_main = yes; then 4965 FOUND_mingw32=yes 4966 fi 4967 4968 if test $FOUND_mingw32 = "yes"; then 4969 LIBS="$LIBS -lmingw32" 4970 fi 4971 fi 4972 4973 ## SDL CHECK 4974 4975 #checking for SDL libs 4976 4977 for ac_header in SDL/SDL.h 4643 echo "$as_me:$LINENO: result: $ac_cv_lib_sdl_main" >&5 4644 echo "${ECHO_T}$ac_cv_lib_sdl_main" >&6 4645 if test $ac_cv_lib_sdl_main = yes; then 4646 FOUND_sdl=yes 4647 fi 4648 4649 if test "$FOUND_sdl" = "yes" ; then 4650 LIBS="$LIBS -lsdl" 4651 else 4652 echo "------------------" 4653 echo "SDL library not found." 4654 echo "please install the SDL library, which can be found at http://www.libsdl.org" 4655 echo "------------------" 4656 exit -1 4657 fi 4658 4659 ;; 4660 4661 ### LINUX ### 4662 *Linux*) 4663 echo "Linux detected" 4664 4665 Linux="yes" 4666 4667 # checking gl header 4668 #has been done befor linux-check 4669 4670 # checking for Unix GL 4671 echo "$as_me:$LINENO: checking for main in -lGL" >&5 4672 echo $ECHO_N "checking for main in -lGL... $ECHO_C" >&6 4673 if test "${ac_cv_lib_GL_main+set}" = set; then 4674 echo $ECHO_N "(cached) $ECHO_C" >&6 4675 else 4676 ac_check_lib_save_LIBS=$LIBS 4677 LIBS="-lGL $LIBS" 4678 cat >conftest.$ac_ext <<_ACEOF 4679 /* confdefs.h. */ 4680 _ACEOF 4681 cat confdefs.h >>conftest.$ac_ext 4682 cat >>conftest.$ac_ext <<_ACEOF 4683 /* end confdefs.h. */ 4684 4685 4686 int 4687 main () 4688 { 4689 main (); 4690 ; 4691 return 0; 4692 } 4693 _ACEOF 4694 rm -f conftest.$ac_objext conftest$ac_exeext 4695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4696 (eval $ac_link) 2>conftest.er1 4697 ac_status=$? 4698 grep -v '^ *+' conftest.er1 >conftest.err 4699 rm -f conftest.er1 4700 cat conftest.err >&5 4701 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4702 (exit $ac_status); } && 4703 { ac_try='test -z "$ac_c_werror_flag" 4704 || test ! -s conftest.err' 4705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4706 (eval $ac_try) 2>&5 4707 ac_status=$? 4708 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4709 (exit $ac_status); }; } && 4710 { ac_try='test -s conftest$ac_exeext' 4711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4712 (eval $ac_try) 2>&5 4713 ac_status=$? 4714 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4715 (exit $ac_status); }; }; then 4716 ac_cv_lib_GL_main=yes 4717 else 4718 echo "$as_me: failed program was:" >&5 4719 sed 's/^/| /' conftest.$ac_ext >&5 4720 4721 ac_cv_lib_GL_main=no 4722 fi 4723 rm -f conftest.err conftest.$ac_objext \ 4724 conftest$ac_exeext conftest.$ac_ext 4725 LIBS=$ac_check_lib_save_LIBS 4726 fi 4727 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_main" >&5 4728 echo "${ECHO_T}$ac_cv_lib_GL_main" >&6 4729 if test $ac_cv_lib_GL_main = yes; then 4730 FOUND_GL=yes 4731 fi 4732 4733 if test "$FOUND_GL" = "yes" ; then 4734 LIBS="$LIBS -lGL" 4735 else 4736 echo "------------------" 4737 echo "opengl not found." 4738 echo "please install the opengl package which can be found at http://www.opengl.org" 4739 echo "------------------" 4740 exit -1 4741 fi 4742 4743 # cheking for GLU-header 4744 4745 for ac_header in GL/glu.h 4978 4746 do 4979 4747 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` … … 5121 4889 5122 4890 else 4891 { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 4892 echo "$as_me: error: cannot find opengl headers" >&2;} 4893 { (exit 1); exit 1; }; } 4894 fi 4895 4896 done 4897 4898 4899 echo "$as_me:$LINENO: checking for gluProject in -lGLU" >&5 4900 echo $ECHO_N "checking for gluProject in -lGLU... $ECHO_C" >&6 4901 if test "${ac_cv_lib_GLU_gluProject+set}" = set; then 4902 echo $ECHO_N "(cached) $ECHO_C" >&6 4903 else 4904 ac_check_lib_save_LIBS=$LIBS 4905 LIBS="-lGLU $LIBS" 4906 cat >conftest.$ac_ext <<_ACEOF 4907 /* confdefs.h. */ 4908 _ACEOF 4909 cat confdefs.h >>conftest.$ac_ext 4910 cat >>conftest.$ac_ext <<_ACEOF 4911 /* end confdefs.h. */ 4912 4913 /* Override any gcc2 internal prototype to avoid an error. */ 4914 #ifdef __cplusplus 4915 extern "C" 4916 #endif 4917 /* We use char because int might match the return type of a gcc2 4918 builtin and then its argument prototype would still apply. */ 4919 char gluProject (); 4920 int 4921 main () 4922 { 4923 gluProject (); 4924 ; 4925 return 0; 4926 } 4927 _ACEOF 4928 rm -f conftest.$ac_objext conftest$ac_exeext 4929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4930 (eval $ac_link) 2>conftest.er1 4931 ac_status=$? 4932 grep -v '^ *+' conftest.er1 >conftest.err 4933 rm -f conftest.er1 4934 cat conftest.err >&5 4935 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4936 (exit $ac_status); } && 4937 { ac_try='test -z "$ac_c_werror_flag" 4938 || test ! -s conftest.err' 4939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4940 (eval $ac_try) 2>&5 4941 ac_status=$? 4942 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4943 (exit $ac_status); }; } && 4944 { ac_try='test -s conftest$ac_exeext' 4945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4946 (eval $ac_try) 2>&5 4947 ac_status=$? 4948 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4949 (exit $ac_status); }; }; then 4950 ac_cv_lib_GLU_gluProject=yes 4951 else 4952 echo "$as_me: failed program was:" >&5 4953 sed 's/^/| /' conftest.$ac_ext >&5 4954 4955 ac_cv_lib_GLU_gluProject=no 4956 fi 4957 rm -f conftest.err conftest.$ac_objext \ 4958 conftest$ac_exeext conftest.$ac_ext 4959 LIBS=$ac_check_lib_save_LIBS 4960 fi 4961 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluProject" >&5 4962 echo "${ECHO_T}$ac_cv_lib_GLU_gluProject" >&6 4963 if test $ac_cv_lib_GLU_gluProject = yes; then 4964 FOUND_GLU=yes 4965 fi 4966 4967 if test "$FOUND_GLU" = "yes" ; then 4968 LIBS="$LIBS -lGLU" 4969 else 4970 echo "------------------" 4971 echo "GLU library not found." 4972 echo "please install the GLU library, that should come with openGL, which can be found at http://www.opengl.org" 4973 echo "------------------" 4974 exit -1 4975 fi 4976 4977 # checking for SDL-headers 4978 4979 for ac_header in SDL/SDL.h 4980 do 4981 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4982 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4983 echo "$as_me:$LINENO: checking for $ac_header" >&5 4984 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4985 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4986 echo $ECHO_N "(cached) $ECHO_C" >&6 4987 fi 4988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4989 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4990 else 4991 # Is the header compilable? 4992 echo "$as_me:$LINENO: checking $ac_header usability" >&5 4993 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 4994 cat >conftest.$ac_ext <<_ACEOF 4995 /* confdefs.h. */ 4996 _ACEOF 4997 cat confdefs.h >>conftest.$ac_ext 4998 cat >>conftest.$ac_ext <<_ACEOF 4999 /* end confdefs.h. */ 5000 $ac_includes_default 5001 #include <$ac_header> 5002 _ACEOF 5003 rm -f conftest.$ac_objext 5004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5005 (eval $ac_compile) 2>conftest.er1 5006 ac_status=$? 5007 grep -v '^ *+' conftest.er1 >conftest.err 5008 rm -f conftest.er1 5009 cat conftest.err >&5 5010 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5011 (exit $ac_status); } && 5012 { ac_try='test -z "$ac_c_werror_flag" 5013 || test ! -s conftest.err' 5014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5015 (eval $ac_try) 2>&5 5016 ac_status=$? 5017 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5018 (exit $ac_status); }; } && 5019 { ac_try='test -s conftest.$ac_objext' 5020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5021 (eval $ac_try) 2>&5 5022 ac_status=$? 5023 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5024 (exit $ac_status); }; }; then 5025 ac_header_compiler=yes 5026 else 5027 echo "$as_me: failed program was:" >&5 5028 sed 's/^/| /' conftest.$ac_ext >&5 5029 5030 ac_header_compiler=no 5031 fi 5032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5033 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5034 echo "${ECHO_T}$ac_header_compiler" >&6 5035 5036 # Is the header present? 5037 echo "$as_me:$LINENO: checking $ac_header presence" >&5 5038 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 5039 cat >conftest.$ac_ext <<_ACEOF 5040 /* confdefs.h. */ 5041 _ACEOF 5042 cat confdefs.h >>conftest.$ac_ext 5043 cat >>conftest.$ac_ext <<_ACEOF 5044 /* end confdefs.h. */ 5045 #include <$ac_header> 5046 _ACEOF 5047 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5048 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5049 ac_status=$? 5050 grep -v '^ *+' conftest.er1 >conftest.err 5051 rm -f conftest.er1 5052 cat conftest.err >&5 5053 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5054 (exit $ac_status); } >/dev/null; then 5055 if test -s conftest.err; then 5056 ac_cpp_err=$ac_c_preproc_warn_flag 5057 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 5058 else 5059 ac_cpp_err= 5060 fi 5061 else 5062 ac_cpp_err=yes 5063 fi 5064 if test -z "$ac_cpp_err"; then 5065 ac_header_preproc=yes 5066 else 5067 echo "$as_me: failed program was:" >&5 5068 sed 's/^/| /' conftest.$ac_ext >&5 5069 5070 ac_header_preproc=no 5071 fi 5072 rm -f conftest.err conftest.$ac_ext 5073 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5074 echo "${ECHO_T}$ac_header_preproc" >&6 5075 5076 # So? What about this header? 5077 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5078 yes:no: ) 5079 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5080 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5081 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5082 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5083 ac_header_preproc=yes 5084 ;; 5085 no:yes:* ) 5086 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5087 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5088 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5089 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5090 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5091 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5092 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5093 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5094 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5095 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5096 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5097 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5098 ( 5099 cat <<\_ASBOX 5100 ## ------------------------------------------- ## 5101 ## Report this to orxonox-dev@mail.datacore.ch ## 5102 ## ------------------------------------------- ## 5103 _ASBOX 5104 ) | 5105 sed "s/^/$as_me: WARNING: /" >&2 5106 ;; 5107 esac 5108 echo "$as_me:$LINENO: checking for $ac_header" >&5 5109 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5110 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5111 echo $ECHO_N "(cached) $ECHO_C" >&6 5112 else 5113 eval "$as_ac_Header=\$ac_header_preproc" 5114 fi 5115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5116 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5117 5118 fi 5119 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5120 cat >>confdefs.h <<_ACEOF 5121 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5122 _ACEOF 5123 5124 else 5123 5125 { { echo "$as_me:$LINENO: error: cannot find SDL headers" >&5 5124 5126 echo "$as_me: error: cannot find SDL headers" >&2;} … … 5128 5130 done 5129 5131 5130 if test $mingw = no ; then 5131 5132 5133 echo "$as_me:$LINENO: checking for main in -lSDL" >&5 5132 5134 echo $ECHO_N "checking for main in -lSDL... $ECHO_C" >&6 5133 5135 if test "${ac_cv_lib_SDL_main+set}" = set; then … … 5191 5193 fi 5192 5194 5193 if test "$FOUND_SDL" = "yes" ; then 5194 LIBS="$LIBS -lSDL" 5195 fi 5196 # checking for Windows sdl library 5197 else 5198 echo "$as_me:$LINENO: checking for main in -lsdlmain" >&5 5199 echo $ECHO_N "checking for main in -lsdlmain... $ECHO_C" >&6 5200 if test "${ac_cv_lib_sdlmain_main+set}" = set; then 5195 if test "$FOUND_SDL" = "yes" ; then 5196 LIBS="$LIBS -lSDL" 5197 else 5198 echo "------------------" 5199 echo "SDL library not found." 5200 echo "please install the SDL library, which can be found at http://www.libsdl.org" 5201 echo "------------------" 5202 exit -1 5203 fi 5204 5205 ;; 5206 *) 5207 mingw="no" 5208 ;; 5209 esac 5210 echo "$as_me:$LINENO: result: $mingw" >&5 5211 echo "${ECHO_T}$mingw" >&6 5212 5213 5214 #### Checking for LIBraries. 5215 5216 # FIXME: Replace `main' with a function in `-lOSMesa': 5217 5218 echo "$as_me:$LINENO: checking for main in -lOSMesa" >&5 5219 echo $ECHO_N "checking for main in -lOSMesa... $ECHO_C" >&6 5220 if test "${ac_cv_lib_OSMesa_main+set}" = set; then 5201 5221 echo $ECHO_N "(cached) $ECHO_C" >&6 5202 5222 else 5203 5223 ac_check_lib_save_LIBS=$LIBS 5204 LIBS="-l sdlmain$LIBS"5224 LIBS="-lOSMesa $LIBS" 5205 5225 cat >conftest.$ac_ext <<_ACEOF 5206 5226 /* confdefs.h. */ … … 5241 5261 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5242 5262 (exit $ac_status); }; }; then 5243 ac_cv_lib_ sdlmain_main=yes5263 ac_cv_lib_OSMesa_main=yes 5244 5264 else 5245 5265 echo "$as_me: failed program was:" >&5 5246 5266 sed 's/^/| /' conftest.$ac_ext >&5 5247 5267 5248 ac_cv_lib_ sdlmain_main=no5268 ac_cv_lib_OSMesa_main=no 5249 5269 fi 5250 5270 rm -f conftest.err conftest.$ac_objext \ … … 5252 5272 LIBS=$ac_check_lib_save_LIBS 5253 5273 fi 5254 echo "$as_me:$LINENO: result: $ac_cv_lib_sdlmain_main" >&5 5255 echo "${ECHO_T}$ac_cv_lib_sdlmain_main" >&6 5256 if test $ac_cv_lib_sdlmain_main = yes; then 5257 FOUND_sdlmain=yes 5258 fi 5259 5260 if test "$FOUND_sdlmain" = "yes" ; then 5261 LIBS="$LIBS -lsdlmain" 5262 fi 5263 echo "$as_me:$LINENO: checking for main in -lsdl" >&5 5264 echo $ECHO_N "checking for main in -lsdl... $ECHO_C" >&6 5265 if test "${ac_cv_lib_sdl_main+set}" = set; then 5274 echo "$as_me:$LINENO: result: $ac_cv_lib_OSMesa_main" >&5 5275 echo "${ECHO_T}$ac_cv_lib_OSMesa_main" >&6 5276 if test $ac_cv_lib_OSMesa_main = yes; then 5277 cat >>confdefs.h <<_ACEOF 5278 #define HAVE_LIBOSMESA 1 5279 _ACEOF 5280 5281 LIBS="-lOSMesa $LIBS" 5282 5283 fi 5284 5285 # FIXME: Replace `main' with a function in `-lX11': 5286 5287 echo "$as_me:$LINENO: checking for main in -lX11" >&5 5288 echo $ECHO_N "checking for main in -lX11... $ECHO_C" >&6 5289 if test "${ac_cv_lib_X11_main+set}" = set; then 5266 5290 echo $ECHO_N "(cached) $ECHO_C" >&6 5267 5291 else 5268 5292 ac_check_lib_save_LIBS=$LIBS 5269 LIBS="-l sdl$LIBS"5293 LIBS="-lX11 $LIBS" 5270 5294 cat >conftest.$ac_ext <<_ACEOF 5271 5295 /* confdefs.h. */ … … 5306 5330 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5307 5331 (exit $ac_status); }; }; then 5308 ac_cv_lib_ sdl_main=yes5332 ac_cv_lib_X11_main=yes 5309 5333 else 5310 5334 echo "$as_me: failed program was:" >&5 5311 5335 sed 's/^/| /' conftest.$ac_ext >&5 5312 5336 5313 ac_cv_lib_ sdl_main=no5337 ac_cv_lib_X11_main=no 5314 5338 fi 5315 5339 rm -f conftest.err conftest.$ac_objext \ … … 5317 5341 LIBS=$ac_check_lib_save_LIBS 5318 5342 fi 5319 echo "$as_me:$LINENO: result: $ac_cv_lib_sdl_main" >&5 5320 echo "${ECHO_T}$ac_cv_lib_sdl_main" >&6 5321 if test $ac_cv_lib_sdl_main = yes; then 5322 FOUND_sdl=yes 5323 fi 5324 5325 if test "$FOUND_sdl" = "yes" ; then 5326 LIBS="$LIBS -lsdl" 5327 fi 5328 fi 5343 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_main" >&5 5344 echo "${ECHO_T}$ac_cv_lib_X11_main" >&6 5345 if test $ac_cv_lib_X11_main = yes; then 5346 cat >>confdefs.h <<_ACEOF 5347 #define HAVE_LIBX11 1 5348 _ACEOF 5349 5350 LIBS="-lX11 $LIBS" 5351 5352 fi 5353 5354 # FIXME: Replace `main' with a function in `-lXt': 5355 5356 echo "$as_me:$LINENO: checking for main in -lXt" >&5 5357 echo $ECHO_N "checking for main in -lXt... $ECHO_C" >&6 5358 if test "${ac_cv_lib_Xt_main+set}" = set; then 5359 echo $ECHO_N "(cached) $ECHO_C" >&6 5360 else 5361 ac_check_lib_save_LIBS=$LIBS 5362 LIBS="-lXt $LIBS" 5363 cat >conftest.$ac_ext <<_ACEOF 5364 /* confdefs.h. */ 5365 _ACEOF 5366 cat confdefs.h >>conftest.$ac_ext 5367 cat >>conftest.$ac_ext <<_ACEOF 5368 /* end confdefs.h. */ 5369 5370 5371 int 5372 main () 5373 { 5374 main (); 5375 ; 5376 return 0; 5377 } 5378 _ACEOF 5379 rm -f conftest.$ac_objext conftest$ac_exeext 5380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5381 (eval $ac_link) 2>conftest.er1 5382 ac_status=$? 5383 grep -v '^ *+' conftest.er1 >conftest.err 5384 rm -f conftest.er1 5385 cat conftest.err >&5 5386 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5387 (exit $ac_status); } && 5388 { ac_try='test -z "$ac_c_werror_flag" 5389 || test ! -s conftest.err' 5390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5391 (eval $ac_try) 2>&5 5392 ac_status=$? 5393 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5394 (exit $ac_status); }; } && 5395 { ac_try='test -s conftest$ac_exeext' 5396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5397 (eval $ac_try) 2>&5 5398 ac_status=$? 5399 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5400 (exit $ac_status); }; }; then 5401 ac_cv_lib_Xt_main=yes 5402 else 5403 echo "$as_me: failed program was:" >&5 5404 sed 's/^/| /' conftest.$ac_ext >&5 5405 5406 ac_cv_lib_Xt_main=no 5407 fi 5408 rm -f conftest.err conftest.$ac_objext \ 5409 conftest$ac_exeext conftest.$ac_ext 5410 LIBS=$ac_check_lib_save_LIBS 5411 fi 5412 echo "$as_me:$LINENO: result: $ac_cv_lib_Xt_main" >&5 5413 echo "${ECHO_T}$ac_cv_lib_Xt_main" >&6 5414 if test $ac_cv_lib_Xt_main = yes; then 5415 cat >>confdefs.h <<_ACEOF 5416 #define HAVE_LIBXT 1 5417 _ACEOF 5418 5419 LIBS="-lXt $LIBS" 5420 5421 fi 5422 5423 5329 5424 5330 5425 #checking for pthread libs … … 6951 7046 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t 6952 7047 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t 7048 s,@mkdir_p@,$mkdir_p,;t t 6953 7049 s,@AWK@,$AWK,;t t 6954 7050 s,@SET_MAKE@,$SET_MAKE,;t t 6955 7051 s,@am__leading_dot@,$am__leading_dot,;t t 6956 s,@MSBITFIELDS@,$MSBITFIELDS,;t t6957 7052 s,@CXX@,$CXX,;t t 6958 7053 s,@CXXFLAGS@,$CXXFLAGS,;t t … … 6979 7074 s,@CPP@,$CPP,;t t 6980 7075 s,@EGREP@,$EGREP,;t t 7076 s,@MSBITFIELDS@,$MSBITFIELDS,;t t 6981 7077 s,@LIBOBJS@,$LIBOBJS,;t t 6982 7078 s,@LTLIBOBJS@,$LTLIBOBJS,;t t … … 7606 7702 # Extract the definition of DEP_FILES from the Makefile without 7607 7703 # running `make'. 7608 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`7704 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 7609 7705 test -z "$DEPDIR" && continue 7610 7706 # When using ansi2knr, U may be empty or an underscore; expand it 7611 U=`sed -n -e '/^U = / s///p' < "$mf"`7707 U=`sed -n 's/^U = //p' < "$mf"` 7612 7708 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" 7613 7709 # We invoke sed twice because it is the simplest approach to 7614 7710 # changing $(DEPDIR) to its actual value in the expansion. 7615 for file in `sed -n -e'7711 for file in `sed -n ' 7616 7712 /^DEP_FILES = .*\\\\$/ { 7617 7713 s/^DEP_FILES = //
Note: See TracChangeset
for help on using the changeset viewer.