- Timestamp:
- Mar 9, 2005, 1:13:33 AM (20 years ago)
- Location:
- orxonox/trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/config.h.in
r3457 r3460 59 59 #undef HAVE_SDL_SDL_IMAGE_H 60 60 61 /* Define to 1 if you have the <SDL/SDL_ttf.h> header file. */62 #undef HAVE_SDL_SDL_TTF_H63 64 61 /* Define to 1 if you have the `sqrt' function. */ 65 62 #undef HAVE_SQRT -
orxonox/trunk/configure
r3457 r3460 6280 6280 echo "SDL_image library not found." 6281 6281 echo "please install the SDL_image library, which can be found at http://www.libsdl.org/projects/SDL_image/" 6282 echo "------------------"6283 exit -16284 fi6285 fi6286 6287 #---------#6288 # SDL_ttf #6289 #---------#6290 def_sdl_ttf=yes6291 # checking for SDL_ttf-headers6292 6293 for ac_header in SDL/SDL_ttf.h6294 do6295 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`6296 if eval "test \"\${$as_ac_Header+set}\" = set"; then6297 echo "$as_me:$LINENO: checking for $ac_header" >&56298 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&66299 if eval "test \"\${$as_ac_Header+set}\" = set"; then6300 echo $ECHO_N "(cached) $ECHO_C" >&66301 fi6302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&56303 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&66304 else6305 # Is the header compilable?6306 echo "$as_me:$LINENO: checking $ac_header usability" >&56307 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&66308 cat >conftest.$ac_ext <<_ACEOF6309 /* confdefs.h. */6310 _ACEOF6311 cat confdefs.h >>conftest.$ac_ext6312 cat >>conftest.$ac_ext <<_ACEOF6313 /* end confdefs.h. */6314 $ac_includes_default6315 #include <$ac_header>6316 _ACEOF6317 rm -f conftest.$ac_objext6318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&56319 (eval $ac_compile) 2>conftest.er16320 ac_status=$?6321 grep -v '^ *+' conftest.er1 >conftest.err6322 rm -f conftest.er16323 cat conftest.err >&56324 echo "$as_me:$LINENO: \$? = $ac_status" >&56325 (exit $ac_status); } &&6326 { ac_try='test -z "$ac_c_werror_flag"6327 || test ! -s conftest.err'6328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&56329 (eval $ac_try) 2>&56330 ac_status=$?6331 echo "$as_me:$LINENO: \$? = $ac_status" >&56332 (exit $ac_status); }; } &&6333 { ac_try='test -s conftest.$ac_objext'6334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&56335 (eval $ac_try) 2>&56336 ac_status=$?6337 echo "$as_me:$LINENO: \$? = $ac_status" >&56338 (exit $ac_status); }; }; then6339 ac_header_compiler=yes6340 else6341 echo "$as_me: failed program was:" >&56342 sed 's/^/| /' conftest.$ac_ext >&56343 6344 ac_header_compiler=no6345 fi6346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext6347 echo "$as_me:$LINENO: result: $ac_header_compiler" >&56348 echo "${ECHO_T}$ac_header_compiler" >&66349 6350 # Is the header present?6351 echo "$as_me:$LINENO: checking $ac_header presence" >&56352 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&66353 cat >conftest.$ac_ext <<_ACEOF6354 /* confdefs.h. */6355 _ACEOF6356 cat confdefs.h >>conftest.$ac_ext6357 cat >>conftest.$ac_ext <<_ACEOF6358 /* end confdefs.h. */6359 #include <$ac_header>6360 _ACEOF6361 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&56362 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er16363 ac_status=$?6364 grep -v '^ *+' conftest.er1 >conftest.err6365 rm -f conftest.er16366 cat conftest.err >&56367 echo "$as_me:$LINENO: \$? = $ac_status" >&56368 (exit $ac_status); } >/dev/null; then6369 if test -s conftest.err; then6370 ac_cpp_err=$ac_c_preproc_warn_flag6371 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag6372 else6373 ac_cpp_err=6374 fi6375 else6376 ac_cpp_err=yes6377 fi6378 if test -z "$ac_cpp_err"; then6379 ac_header_preproc=yes6380 else6381 echo "$as_me: failed program was:" >&56382 sed 's/^/| /' conftest.$ac_ext >&56383 6384 ac_header_preproc=no6385 fi6386 rm -f conftest.err conftest.$ac_ext6387 echo "$as_me:$LINENO: result: $ac_header_preproc" >&56388 echo "${ECHO_T}$ac_header_preproc" >&66389 6390 # So? What about this header?6391 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in6392 yes:no: )6393 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&56394 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}6395 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&56396 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}6397 ac_header_preproc=yes6398 ;;6399 no:yes:* )6400 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&56401 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}6402 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&56403 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}6404 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&56405 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}6406 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&56407 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}6408 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&56409 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}6410 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&56411 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}6412 (6413 cat <<\_ASBOX6414 ## ---------------------------------------------- ##6415 ## Report this to orxonox-dev at mail.datacore.ch ##6416 ## ---------------------------------------------- ##6417 _ASBOX6418 ) |6419 sed "s/^/$as_me: WARNING: /" >&26420 ;;6421 esac6422 echo "$as_me:$LINENO: checking for $ac_header" >&56423 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&66424 if eval "test \"\${$as_ac_Header+set}\" = set"; then6425 echo $ECHO_N "(cached) $ECHO_C" >&66426 else6427 eval "$as_ac_Header=\$ac_header_preproc"6428 fi6429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&56430 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&66431 6432 fi6433 if test `eval echo '${'$as_ac_Header'}'` = yes; then6434 cat >>confdefs.h <<_ACEOF6435 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 16436 _ACEOF6437 6438 else6439 echo "sdl_ttf not found."; def_sdl_ttf=no6440 fi6441 6442 done6443 6444 6445 if test x$def_sdl_ttf = xyes; then6446 # checking for SDL_ttf-lib6447 echo "$as_me:$LINENO: checking for main in -lSDL_ttf" >&56448 echo $ECHO_N "checking for main in -lSDL_ttf... $ECHO_C" >&66449 if test "${ac_cv_lib_SDL_ttf_main+set}" = set; then6450 echo $ECHO_N "(cached) $ECHO_C" >&66451 else6452 ac_check_lib_save_LIBS=$LIBS6453 LIBS="-lSDL_ttf $LIBS"6454 cat >conftest.$ac_ext <<_ACEOF6455 /* confdefs.h. */6456 _ACEOF6457 cat confdefs.h >>conftest.$ac_ext6458 cat >>conftest.$ac_ext <<_ACEOF6459 /* end confdefs.h. */6460 6461 6462 int6463 main ()6464 {6465 main ();6466 ;6467 return 0;6468 }6469 _ACEOF6470 rm -f conftest.$ac_objext conftest$ac_exeext6471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&56472 (eval $ac_link) 2>conftest.er16473 ac_status=$?6474 grep -v '^ *+' conftest.er1 >conftest.err6475 rm -f conftest.er16476 cat conftest.err >&56477 echo "$as_me:$LINENO: \$? = $ac_status" >&56478 (exit $ac_status); } &&6479 { ac_try='test -z "$ac_c_werror_flag"6480 || test ! -s conftest.err'6481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&56482 (eval $ac_try) 2>&56483 ac_status=$?6484 echo "$as_me:$LINENO: \$? = $ac_status" >&56485 (exit $ac_status); }; } &&6486 { ac_try='test -s conftest$ac_exeext'6487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&56488 (eval $ac_try) 2>&56489 ac_status=$?6490 echo "$as_me:$LINENO: \$? = $ac_status" >&56491 (exit $ac_status); }; }; then6492 ac_cv_lib_SDL_ttf_main=yes6493 else6494 echo "$as_me: failed program was:" >&56495 sed 's/^/| /' conftest.$ac_ext >&56496 6497 ac_cv_lib_SDL_ttf_main=no6498 fi6499 rm -f conftest.err conftest.$ac_objext \6500 conftest$ac_exeext conftest.$ac_ext6501 LIBS=$ac_check_lib_save_LIBS6502 fi6503 echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_ttf_main" >&56504 echo "${ECHO_T}$ac_cv_lib_SDL_ttf_main" >&66505 if test $ac_cv_lib_SDL_ttf_main = yes; then6506 FOUND_SDL_ttf=yes6507 fi6508 6509 if test x$FOUND_SDL_ttf = xyes ; then6510 LIBS="$LIBS -lSDL_ttf"6511 else6512 echo "------------------"6513 echo "SDL_ttf library not found."6514 echo "please install the SDL_ttf library, which can be found at http://www.libsdl.org/projects/SDL_ttf/"6515 6282 echo "------------------" 6516 6283 exit -1 -
orxonox/trunk/configure.ac
r3457 r3460 388 388 fi 389 389 390 #---------#391 # SDL_ttf #392 #---------#393 def_sdl_ttf=yes394 # checking for SDL_ttf-headers395 AC_CHECK_HEADERS([SDL/SDL_ttf.h] ,,396 [echo "sdl_ttf not found."; def_sdl_ttf=no ])397 398 if test x$def_sdl_ttf = xyes; then399 # checking for SDL_ttf-lib400 AC_CHECK_LIB([SDL_ttf], [main], [FOUND_SDL_ttf=yes])401 if test x$FOUND_SDL_ttf = xyes ; then402 LIBS="$LIBS -lSDL_ttf"403 else404 echo "------------------"405 echo "SDL_ttf library not found."406 echo "please install the SDL_ttf library, which can be found at http://www.libsdl.org/projects/SDL_ttf/"407 echo "------------------"408 exit -1409 fi410 fi411 412 390 ## case no SDL-image: 413 391 if test x$def_sdl_image = xno; then -
orxonox/trunk/src/Makefile.am
r3458 r3460 39 39 skysphere.cc \ 40 40 light.cc \ 41 sfont/fontset.cc \ 42 sfont/glfont.cc 41 sfont/fontset.cc 43 42 44 43 noinst_HEADERS = ability.h \ … … 84 83 skysphere.h \ 85 84 light.h \ 86 sfont/fontset.h \ 87 sfont/glfont.h 85 sfont/fontset.h 88 86 89 87 ## orxonox.conf will be used from home-dir instead. -
orxonox/trunk/src/Makefile.in
r3459 r3460 64 64 helper_parent.$(OBJEXT) track_manager.$(OBJEXT) \ 65 65 matrix.$(OBJEXT) curve.$(OBJEXT) glmenu_imagescreen.$(OBJEXT) \ 66 skysphere.$(OBJEXT) light.$(OBJEXT) fontset.$(OBJEXT) \ 67 glfont.$(OBJEXT) 66 skysphere.$(OBJEXT) light.$(OBJEXT) fontset.$(OBJEXT) 68 67 orxonox_OBJECTS = $(am_orxonox_OBJECTS) 69 68 orxonox_LDADD = $(LDADD) … … 78 77 @AMDEP_TRUE@ ./$(DEPDIR)/data_tank.Po \ 79 78 @AMDEP_TRUE@ ./$(DEPDIR)/environment.Po ./$(DEPDIR)/fontset.Po \ 80 @AMDEP_TRUE@ ./$(DEPDIR)/game_loader.Po ./$(DEPDIR)/glfont.Po\79 @AMDEP_TRUE@ ./$(DEPDIR)/game_loader.Po \ 81 80 @AMDEP_TRUE@ ./$(DEPDIR)/glmenu_imagescreen.Po \ 82 81 @AMDEP_TRUE@ ./$(DEPDIR)/helper_parent.Po \ … … 250 249 skysphere.cc \ 251 250 light.cc \ 252 sfont/fontset.cc \ 253 sfont/glfont.cc 251 sfont/fontset.cc 254 252 255 253 noinst_HEADERS = ability.h \ … … 295 293 skysphere.h \ 296 294 light.h \ 297 sfont/fontset.h \ 298 sfont/glfont.h 295 sfont/fontset.h 299 296 300 297 EXTRA_DIST = orxonox.conf … … 389 386 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fontset.Po@am__quote@ 390 387 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/game_loader.Po@am__quote@ 391 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/glfont.Po@am__quote@392 388 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/glmenu_imagescreen.Po@am__quote@ 393 389 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/helper_parent.Po@am__quote@ … … 523 519 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 524 520 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o fontset.obj `if test -f 'sfont/fontset.cc'; then $(CYGPATH_W) 'sfont/fontset.cc'; else $(CYGPATH_W) '$(srcdir)/sfont/fontset.cc'; fi` 525 526 glfont.o: sfont/glfont.cc527 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT glfont.o -MD -MP -MF "$(DEPDIR)/glfont.Tpo" -c -o glfont.o `test -f 'sfont/glfont.cc' || echo '$(srcdir)/'`sfont/glfont.cc; \528 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/glfont.Tpo" "$(DEPDIR)/glfont.Po"; else rm -f "$(DEPDIR)/glfont.Tpo"; exit 1; fi529 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='sfont/glfont.cc' object='glfont.o' libtool=no @AMDEPBACKSLASH@530 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/glfont.Po' tmpdepfile='$(DEPDIR)/glfont.TPo' @AMDEPBACKSLASH@531 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@532 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o glfont.o `test -f 'sfont/glfont.cc' || echo '$(srcdir)/'`sfont/glfont.cc533 534 glfont.obj: sfont/glfont.cc535 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT glfont.obj -MD -MP -MF "$(DEPDIR)/glfont.Tpo" -c -o glfont.obj `if test -f 'sfont/glfont.cc'; then $(CYGPATH_W) 'sfont/glfont.cc'; else $(CYGPATH_W) '$(srcdir)/sfont/glfont.cc'; fi`; \536 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/glfont.Tpo" "$(DEPDIR)/glfont.Po"; else rm -f "$(DEPDIR)/glfont.Tpo"; exit 1; fi537 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='sfont/glfont.cc' object='glfont.obj' libtool=no @AMDEPBACKSLASH@538 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/glfont.Po' tmpdepfile='$(DEPDIR)/glfont.TPo' @AMDEPBACKSLASH@539 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@540 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o glfont.obj `if test -f 'sfont/glfont.cc'; then $(CYGPATH_W) 'sfont/glfont.cc'; else $(CYGPATH_W) '$(srcdir)/sfont/glfont.cc'; fi`541 521 uninstall-info-am: 542 522
Note: See TracChangeset
for help on using the changeset viewer.