- Timestamp:
- Nov 26, 2004, 2:49:55 PM (20 years ago)
- Location:
- orxonox/trunk
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/config.h.in
r2989 r2995 22 22 /* Define to 1 if you have the <memory.h> header file. */ 23 23 #undef HAVE_MEMORY_H 24 25 /* Define to 1 if you have the <OpenGL/glu.h> header file. */ 26 #undef HAVE_OPENGL_GLU_H 27 28 /* Define to 1 if you have the <OpenGL/gl.h> header file. */ 29 #undef HAVE_OPENGL_GL_H 24 30 25 31 /* Define to 1 if you have the <SDL/SDL.h> header file. */ -
orxonox/trunk/configure
r2991 r2995 5215 5215 exit -1 5216 5216 fi 5217 5217 5218 # checking for SDL-headers 5218 5219 … … 5371 5372 5372 5373 5374 # checking for SDL-libs 5373 5375 echo "$as_me:$LINENO: checking for main in -lSDL" >&5 5374 5376 echo $ECHO_N "checking for main in -lSDL... $ECHO_C" >&6 … … 5452 5454 # LIBS="$LIBS $SDL_LIBS" 5453 5455 ;; 5456 5457 ### OS X ### 5458 *darwin*) 5459 echo "OS X detected" 5460 5461 osX="yes" 5462 5463 # checking gl header 5464 5465 for ac_header in OpenGL/gl.h 5466 do 5467 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5468 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5469 echo "$as_me:$LINENO: checking for $ac_header" >&5 5470 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5471 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5472 echo $ECHO_N "(cached) $ECHO_C" >&6 5473 fi 5474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5475 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5476 else 5477 # Is the header compilable? 5478 echo "$as_me:$LINENO: checking $ac_header usability" >&5 5479 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 5480 cat >conftest.$ac_ext <<_ACEOF 5481 /* confdefs.h. */ 5482 _ACEOF 5483 cat confdefs.h >>conftest.$ac_ext 5484 cat >>conftest.$ac_ext <<_ACEOF 5485 /* end confdefs.h. */ 5486 $ac_includes_default 5487 #include <$ac_header> 5488 _ACEOF 5489 rm -f conftest.$ac_objext 5490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5491 (eval $ac_compile) 2>conftest.er1 5492 ac_status=$? 5493 grep -v '^ *+' conftest.er1 >conftest.err 5494 rm -f conftest.er1 5495 cat conftest.err >&5 5496 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5497 (exit $ac_status); } && 5498 { ac_try='test -z "$ac_c_werror_flag" 5499 || test ! -s conftest.err' 5500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5501 (eval $ac_try) 2>&5 5502 ac_status=$? 5503 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5504 (exit $ac_status); }; } && 5505 { ac_try='test -s conftest.$ac_objext' 5506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5507 (eval $ac_try) 2>&5 5508 ac_status=$? 5509 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5510 (exit $ac_status); }; }; then 5511 ac_header_compiler=yes 5512 else 5513 echo "$as_me: failed program was:" >&5 5514 sed 's/^/| /' conftest.$ac_ext >&5 5515 5516 ac_header_compiler=no 5517 fi 5518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5519 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5520 echo "${ECHO_T}$ac_header_compiler" >&6 5521 5522 # Is the header present? 5523 echo "$as_me:$LINENO: checking $ac_header presence" >&5 5524 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 5525 cat >conftest.$ac_ext <<_ACEOF 5526 /* confdefs.h. */ 5527 _ACEOF 5528 cat confdefs.h >>conftest.$ac_ext 5529 cat >>conftest.$ac_ext <<_ACEOF 5530 /* end confdefs.h. */ 5531 #include <$ac_header> 5532 _ACEOF 5533 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5534 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5535 ac_status=$? 5536 grep -v '^ *+' conftest.er1 >conftest.err 5537 rm -f conftest.er1 5538 cat conftest.err >&5 5539 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5540 (exit $ac_status); } >/dev/null; then 5541 if test -s conftest.err; then 5542 ac_cpp_err=$ac_c_preproc_warn_flag 5543 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 5544 else 5545 ac_cpp_err= 5546 fi 5547 else 5548 ac_cpp_err=yes 5549 fi 5550 if test -z "$ac_cpp_err"; then 5551 ac_header_preproc=yes 5552 else 5553 echo "$as_me: failed program was:" >&5 5554 sed 's/^/| /' conftest.$ac_ext >&5 5555 5556 ac_header_preproc=no 5557 fi 5558 rm -f conftest.err conftest.$ac_ext 5559 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5560 echo "${ECHO_T}$ac_header_preproc" >&6 5561 5562 # So? What about this header? 5563 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5564 yes:no: ) 5565 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5566 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5567 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5568 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5569 ac_header_preproc=yes 5570 ;; 5571 no:yes:* ) 5572 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5573 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5574 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5575 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5576 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5577 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5578 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5579 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5580 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5581 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5582 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5583 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5584 ( 5585 cat <<\_ASBOX 5586 ## ------------------------------------------- ## 5587 ## Report this to orxonox-dev@mail.datacore.ch ## 5588 ## ------------------------------------------- ## 5589 _ASBOX 5590 ) | 5591 sed "s/^/$as_me: WARNING: /" >&2 5592 ;; 5593 esac 5594 echo "$as_me:$LINENO: checking for $ac_header" >&5 5595 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5596 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5597 echo $ECHO_N "(cached) $ECHO_C" >&6 5598 else 5599 eval "$as_ac_Header=\$ac_header_preproc" 5600 fi 5601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5602 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5603 5604 fi 5605 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5606 cat >>confdefs.h <<_ACEOF 5607 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5608 _ACEOF 5609 5610 else 5611 { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 5612 echo "$as_me: error: cannot find opengl headers" >&2;} 5613 { (exit 1); exit 1; }; } 5614 fi 5615 5616 done 5617 5618 # cheking for GLU-header 5619 5620 for ac_header in OpenGL/glu.h 5621 do 5622 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5623 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5624 echo "$as_me:$LINENO: checking for $ac_header" >&5 5625 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5626 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5627 echo $ECHO_N "(cached) $ECHO_C" >&6 5628 fi 5629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5630 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5631 else 5632 # Is the header compilable? 5633 echo "$as_me:$LINENO: checking $ac_header usability" >&5 5634 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 5635 cat >conftest.$ac_ext <<_ACEOF 5636 /* confdefs.h. */ 5637 _ACEOF 5638 cat confdefs.h >>conftest.$ac_ext 5639 cat >>conftest.$ac_ext <<_ACEOF 5640 /* end confdefs.h. */ 5641 $ac_includes_default 5642 #include <$ac_header> 5643 _ACEOF 5644 rm -f conftest.$ac_objext 5645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5646 (eval $ac_compile) 2>conftest.er1 5647 ac_status=$? 5648 grep -v '^ *+' conftest.er1 >conftest.err 5649 rm -f conftest.er1 5650 cat conftest.err >&5 5651 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5652 (exit $ac_status); } && 5653 { ac_try='test -z "$ac_c_werror_flag" 5654 || test ! -s conftest.err' 5655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5656 (eval $ac_try) 2>&5 5657 ac_status=$? 5658 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5659 (exit $ac_status); }; } && 5660 { ac_try='test -s conftest.$ac_objext' 5661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5662 (eval $ac_try) 2>&5 5663 ac_status=$? 5664 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5665 (exit $ac_status); }; }; then 5666 ac_header_compiler=yes 5667 else 5668 echo "$as_me: failed program was:" >&5 5669 sed 's/^/| /' conftest.$ac_ext >&5 5670 5671 ac_header_compiler=no 5672 fi 5673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5674 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5675 echo "${ECHO_T}$ac_header_compiler" >&6 5676 5677 # Is the header present? 5678 echo "$as_me:$LINENO: checking $ac_header presence" >&5 5679 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 5680 cat >conftest.$ac_ext <<_ACEOF 5681 /* confdefs.h. */ 5682 _ACEOF 5683 cat confdefs.h >>conftest.$ac_ext 5684 cat >>conftest.$ac_ext <<_ACEOF 5685 /* end confdefs.h. */ 5686 #include <$ac_header> 5687 _ACEOF 5688 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5689 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5690 ac_status=$? 5691 grep -v '^ *+' conftest.er1 >conftest.err 5692 rm -f conftest.er1 5693 cat conftest.err >&5 5694 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5695 (exit $ac_status); } >/dev/null; then 5696 if test -s conftest.err; then 5697 ac_cpp_err=$ac_c_preproc_warn_flag 5698 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 5699 else 5700 ac_cpp_err= 5701 fi 5702 else 5703 ac_cpp_err=yes 5704 fi 5705 if test -z "$ac_cpp_err"; then 5706 ac_header_preproc=yes 5707 else 5708 echo "$as_me: failed program was:" >&5 5709 sed 's/^/| /' conftest.$ac_ext >&5 5710 5711 ac_header_preproc=no 5712 fi 5713 rm -f conftest.err conftest.$ac_ext 5714 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5715 echo "${ECHO_T}$ac_header_preproc" >&6 5716 5717 # So? What about this header? 5718 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5719 yes:no: ) 5720 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5721 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5722 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5723 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5724 ac_header_preproc=yes 5725 ;; 5726 no:yes:* ) 5727 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5728 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5729 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5730 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5731 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5732 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5733 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5734 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5735 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5736 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5737 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5738 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5739 ( 5740 cat <<\_ASBOX 5741 ## ------------------------------------------- ## 5742 ## Report this to orxonox-dev@mail.datacore.ch ## 5743 ## ------------------------------------------- ## 5744 _ASBOX 5745 ) | 5746 sed "s/^/$as_me: WARNING: /" >&2 5747 ;; 5748 esac 5749 echo "$as_me:$LINENO: checking for $ac_header" >&5 5750 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5751 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5752 echo $ECHO_N "(cached) $ECHO_C" >&6 5753 else 5754 eval "$as_ac_Header=\$ac_header_preproc" 5755 fi 5756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5757 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5758 5759 fi 5760 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5761 cat >>confdefs.h <<_ACEOF 5762 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5763 _ACEOF 5764 5765 else 5766 { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 5767 echo "$as_me: error: cannot find opengl headers" >&2;} 5768 { (exit 1); exit 1; }; } 5769 fi 5770 5771 done 5772 5773 5774 LIBS="$LIBS -framework OpenGL" 5775 5776 # checking for SDL-headers 5777 5778 for ac_header in SDL/SDL.h 5779 do 5780 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5781 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5782 echo "$as_me:$LINENO: checking for $ac_header" >&5 5783 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5784 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5785 echo $ECHO_N "(cached) $ECHO_C" >&6 5786 fi 5787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5788 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5789 else 5790 # Is the header compilable? 5791 echo "$as_me:$LINENO: checking $ac_header usability" >&5 5792 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 5793 cat >conftest.$ac_ext <<_ACEOF 5794 /* confdefs.h. */ 5795 _ACEOF 5796 cat confdefs.h >>conftest.$ac_ext 5797 cat >>conftest.$ac_ext <<_ACEOF 5798 /* end confdefs.h. */ 5799 $ac_includes_default 5800 #include <$ac_header> 5801 _ACEOF 5802 rm -f conftest.$ac_objext 5803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5804 (eval $ac_compile) 2>conftest.er1 5805 ac_status=$? 5806 grep -v '^ *+' conftest.er1 >conftest.err 5807 rm -f conftest.er1 5808 cat conftest.err >&5 5809 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5810 (exit $ac_status); } && 5811 { ac_try='test -z "$ac_c_werror_flag" 5812 || test ! -s conftest.err' 5813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5814 (eval $ac_try) 2>&5 5815 ac_status=$? 5816 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5817 (exit $ac_status); }; } && 5818 { ac_try='test -s conftest.$ac_objext' 5819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5820 (eval $ac_try) 2>&5 5821 ac_status=$? 5822 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5823 (exit $ac_status); }; }; then 5824 ac_header_compiler=yes 5825 else 5826 echo "$as_me: failed program was:" >&5 5827 sed 's/^/| /' conftest.$ac_ext >&5 5828 5829 ac_header_compiler=no 5830 fi 5831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5832 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5833 echo "${ECHO_T}$ac_header_compiler" >&6 5834 5835 # Is the header present? 5836 echo "$as_me:$LINENO: checking $ac_header presence" >&5 5837 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 5838 cat >conftest.$ac_ext <<_ACEOF 5839 /* confdefs.h. */ 5840 _ACEOF 5841 cat confdefs.h >>conftest.$ac_ext 5842 cat >>conftest.$ac_ext <<_ACEOF 5843 /* end confdefs.h. */ 5844 #include <$ac_header> 5845 _ACEOF 5846 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5847 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5848 ac_status=$? 5849 grep -v '^ *+' conftest.er1 >conftest.err 5850 rm -f conftest.er1 5851 cat conftest.err >&5 5852 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5853 (exit $ac_status); } >/dev/null; then 5854 if test -s conftest.err; then 5855 ac_cpp_err=$ac_c_preproc_warn_flag 5856 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 5857 else 5858 ac_cpp_err= 5859 fi 5860 else 5861 ac_cpp_err=yes 5862 fi 5863 if test -z "$ac_cpp_err"; then 5864 ac_header_preproc=yes 5865 else 5866 echo "$as_me: failed program was:" >&5 5867 sed 's/^/| /' conftest.$ac_ext >&5 5868 5869 ac_header_preproc=no 5870 fi 5871 rm -f conftest.err conftest.$ac_ext 5872 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5873 echo "${ECHO_T}$ac_header_preproc" >&6 5874 5875 # So? What about this header? 5876 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5877 yes:no: ) 5878 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5879 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5880 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5881 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5882 ac_header_preproc=yes 5883 ;; 5884 no:yes:* ) 5885 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5886 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5887 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5888 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5889 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5890 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5891 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5892 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5893 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5894 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5895 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5896 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5897 ( 5898 cat <<\_ASBOX 5899 ## ------------------------------------------- ## 5900 ## Report this to orxonox-dev@mail.datacore.ch ## 5901 ## ------------------------------------------- ## 5902 _ASBOX 5903 ) | 5904 sed "s/^/$as_me: WARNING: /" >&2 5905 ;; 5906 esac 5907 echo "$as_me:$LINENO: checking for $ac_header" >&5 5908 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5909 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5910 echo $ECHO_N "(cached) $ECHO_C" >&6 5911 else 5912 eval "$as_ac_Header=\$ac_header_preproc" 5913 fi 5914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5915 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5916 5917 fi 5918 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5919 cat >>confdefs.h <<_ACEOF 5920 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5921 _ACEOF 5922 5923 else 5924 { { echo "$as_me:$LINENO: error: cannot find SDL headers" >&5 5925 echo "$as_me: error: cannot find SDL headers" >&2;} 5926 { (exit 1); exit 1; }; } 5927 fi 5928 5929 done 5930 5931 5932 ## checking for SDL 5933 # SDL_VERSION=1.2.7 5934 # AM_PATH_SDL($SDL_VERSION, 5935 # :, 5936 # AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!]) 5937 # ) 5938 5939 SDL_CFLAGS=`sdl-config --cflags` 5940 SDL_LIBS=`sdl-config --libs` 5941 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS" 5942 LIBS="$LIBS $SDL_LIBS" 5943 ;; 5944 5454 5945 *) 5455 5946 ;; -
orxonox/trunk/configure.ac
r2991 r2995 138 138 exit -1 139 139 fi 140 140 141 # checking for SDL-headers 141 142 AC_CHECK_HEADERS(SDL/SDL.h ,, 142 143 [AC_MSG_ERROR([cannot find SDL headers]) ]) 143 144 145 # checking for SDL-libs 144 146 AC_CHECK_LIB([SDL], [main], FOUND_SDL=yes) 145 147 if test "$FOUND_SDL" = "yes" ; then … … 162 164 # LIBS="$LIBS $SDL_LIBS" 163 165 ;; 166 167 ### OS X ### 168 *darwin*) 169 echo "OS X detected" 170 171 osX="yes" 172 173 # checking gl header 174 AC_CHECK_HEADERS(OpenGL/gl.h ,, 175 [AC_MSG_ERROR([cannot find opengl headers]) ]) 176 # cheking for GLU-header 177 AC_CHECK_HEADERS(OpenGL/glu.h ,, 178 [AC_MSG_ERROR([cannot find opengl headers]) ]) 179 180 LIBS="$LIBS -framework OpenGL" 181 182 # checking for SDL-headers 183 AC_CHECK_HEADERS(SDL/SDL.h ,, 184 [AC_MSG_ERROR([cannot find SDL headers]) ]) 185 186 ## checking for SDL 187 # SDL_VERSION=1.2.7 188 # AM_PATH_SDL($SDL_VERSION, 189 # :, 190 # AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!]) 191 # ) 192 193 SDL_CFLAGS=`sdl-config --cflags` 194 SDL_LIBS=`sdl-config --libs` 195 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS" 196 LIBS="$LIBS $SDL_LIBS" 197 ;; 198 164 199 *) 165 200 ;; -
orxonox/trunk/importer/object.cc
r2988 r2995 341 341 { 342 342 readGroup (Buffer+2); 343 } 344 else if (!strncmp(Buffer, "s", 1)) 345 { 346 if (verbose >= 1) 347 printf("smoothing groups not suportet yet. line: %s\n", Buffer); 343 348 } 344 349 } -
orxonox/trunk/importer/windowHandler.h
r2936 r2995 6 6 #include <GL/gl.h> 7 7 #include <GL/glu.h> 8 9 #ifndef __APPLE__ 8 10 #include <SDL/SDL.h> 11 #else 12 #include <SDL.h> 13 #endif 9 14 10 15 #include <stdarg.h> -
orxonox/trunk/src/keynames.cc
r2551 r2995 13 13 co-programmer: ... 14 14 */ 15 #include <SDL/SDL.h>16 15 17 16 #include "keynames.h" -
orxonox/trunk/src/keynames.h
r2551 r2995 10 10 #endif 11 11 12 #ifndef __APPLE__ 12 13 #include <SDL/SDL.h> 14 #else 15 #include <SDL.h> 16 #endif 13 17 14 18 /** -
orxonox/trunk/src/orxonox.h
r2636 r2995 6 6 #ifndef ORXONOX_H 7 7 #define ORXONOX_H 8 9 #include <SDL/SDL.h>10 8 11 9 #include "stdincl.h" -
orxonox/trunk/src/stdincl.h
r2816 r2995 8 8 #include <windows.h> 9 9 #endif 10 11 #ifndef __APPLE__ 10 12 #include <SDL/SDL.h> 13 #else 14 #include <SDL.h> 15 #endif 16 11 17 #include <GL/gl.h> 12 18 #include <GL/glu.h>
Note: See TracChangeset
for help on using the changeset viewer.