- Timestamp:
- Jul 8, 2005, 4:58:11 PM (19 years ago)
- Location:
- orxonox/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/configure
r4789 r4825 1602 1602 fi 1603 1603 1604 if mkdir -p -- version . >/dev/null 2>&1 && test ! -d ./--version; then1604 if mkdir -p -- . 2>/dev/null; then 1605 1605 # Keeping the `.' argument allows $(mkdir_p) to be used without 1606 1606 # argument. Indeed, we sometimes output rules like … … 1615 1615 # directories to create, and then abort because `.' already 1616 1616 # exists. 1617 for d in ./-p ./-- version;1617 for d in ./-p ./--; 1618 1618 do 1619 1619 test -d $d && rmdir $d … … 2521 2521 for i in 1 2 3 4 5 6; do 2522 2522 echo '#include "conftst'$i'.h"' >> sub/conftest.c 2523 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 2524 # Solaris 8's {/usr,}/bin/sh. 2525 touch sub/conftst$i.h 2523 : > sub/conftst$i.h 2526 2524 done 2527 2525 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf … … 2551 2549 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 2552 2550 # icc doesn't choke on unknown options, it will just issue warnings 2553 # or remarks (even with -Werror). So we grep stderr for any message 2554 # that says an option was ignored or not supported. 2555 # When given -MP, icc 7.0 and 7.1 complain thusly: 2556 # icc: Command line warning: ignoring option '-M'; no argument required 2557 # The diagnosis changed in icc 8.0: 2558 # icc: Command line remark: option '-MP' not supported 2559 if (grep 'ignoring option' conftest.err || 2560 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 2551 # (even with -Werror). So we grep stderr for any message 2552 # that says an option was ignored. 2553 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else 2561 2554 am_cv_CXX_dependencies_compiler_type=$depmode 2562 2555 break … … 3439 3432 for i in 1 2 3 4 5 6; do 3440 3433 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3441 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3442 # Solaris 8's {/usr,}/bin/sh. 3443 touch sub/conftst$i.h 3434 : > sub/conftst$i.h 3444 3435 done 3445 3436 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf … … 3469 3460 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3470 3461 # icc doesn't choke on unknown options, it will just issue warnings 3471 # or remarks (even with -Werror). So we grep stderr for any message 3472 # that says an option was ignored or not supported. 3473 # When given -MP, icc 7.0 and 7.1 complain thusly: 3474 # icc: Command line warning: ignoring option '-M'; no argument required 3475 # The diagnosis changed in icc 8.0: 3476 # icc: Command line remark: option '-MP' not supported 3477 if (grep 'ignoring option' conftest.err || 3478 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3462 # (even with -Werror). So we grep stderr for any message 3463 # that says an option was ignored. 3464 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else 3479 3465 am_cv_CC_dependencies_compiler_type=$depmode 3480 3466 break … … 4290 4276 ## checking for openGL-environment and other sys-specific parameters 4291 4277 case "$target" in 4278 4279 ########### 4292 4280 #---------# 4293 4281 # WINDOWS # 4294 4282 #---------# 4283 ########### 4295 4284 *-*-mingw32*) 4296 4285 echo "mingw-WINDOWS detected" … … 5503 5492 fi 5504 5493 ;; 5494 5495 ######### 5505 5496 #-------# 5506 5497 # LINUX # 5507 5498 #-------# 5499 ######### 5508 5500 *-*-linux*) 5509 5501 echo "Linux detected" … … 6529 6521 ;; 6530 6522 6523 ############# 6531 6524 #-----------# 6532 6525 # MAC -OS X # 6533 6526 #-----------# 6527 ############# 6534 6528 *darwin*) 6535 6529 echo "OS X detected" … … 7657 7651 # ogg # 7658 7652 #-----# 7659 ## checking for ogg-headers 7660 # AC_CHECK_HEADERS([ogg/ogg.h] ,, 7661 # [AC_MSG_ERROR([cannot find ogg header.])]) 7662 ## checking for ogg-lib 7663 # AC_CHECK_LIB([ogg], [main], [FOUND_ogg=yes]) 7664 # if test x$FOUND_ogg = xyes ; then 7665 # LIBS="$LIBS -logg" 7666 # else 7667 # echo "------------------" 7668 # echo "ogg library not found." 7669 # echo "please install the ogg library, which can be found at http://www.xiph.org/ogg/vorbis/index.html" 7670 # echo "------------------" 7671 # exit -1 7672 # fi 7653 # checking for ogg-headers 7654 7655 for ac_header in ogg/ogg.h 7656 do 7657 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7658 if eval "test \"\${$as_ac_Header+set}\" = set"; then 7659 echo "$as_me:$LINENO: checking for $ac_header" >&5 7660 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7661 if eval "test \"\${$as_ac_Header+set}\" = set"; then 7662 echo $ECHO_N "(cached) $ECHO_C" >&6 7663 fi 7664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7665 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7666 else 7667 # Is the header compilable? 7668 echo "$as_me:$LINENO: checking $ac_header usability" >&5 7669 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 7670 cat >conftest.$ac_ext <<_ACEOF 7671 /* confdefs.h. */ 7672 _ACEOF 7673 cat confdefs.h >>conftest.$ac_ext 7674 cat >>conftest.$ac_ext <<_ACEOF 7675 /* end confdefs.h. */ 7676 $ac_includes_default 7677 #include <$ac_header> 7678 _ACEOF 7679 rm -f conftest.$ac_objext 7680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7681 (eval $ac_compile) 2>conftest.er1 7682 ac_status=$? 7683 grep -v '^ *+' conftest.er1 >conftest.err 7684 rm -f conftest.er1 7685 cat conftest.err >&5 7686 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7687 (exit $ac_status); } && 7688 { ac_try='test -z "$ac_c_werror_flag" 7689 || test ! -s conftest.err' 7690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7691 (eval $ac_try) 2>&5 7692 ac_status=$? 7693 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7694 (exit $ac_status); }; } && 7695 { ac_try='test -s conftest.$ac_objext' 7696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7697 (eval $ac_try) 2>&5 7698 ac_status=$? 7699 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7700 (exit $ac_status); }; }; then 7701 ac_header_compiler=yes 7702 else 7703 echo "$as_me: failed program was:" >&5 7704 sed 's/^/| /' conftest.$ac_ext >&5 7705 7706 ac_header_compiler=no 7707 fi 7708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7709 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7710 echo "${ECHO_T}$ac_header_compiler" >&6 7711 7712 # Is the header present? 7713 echo "$as_me:$LINENO: checking $ac_header presence" >&5 7714 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 7715 cat >conftest.$ac_ext <<_ACEOF 7716 /* confdefs.h. */ 7717 _ACEOF 7718 cat confdefs.h >>conftest.$ac_ext 7719 cat >>conftest.$ac_ext <<_ACEOF 7720 /* end confdefs.h. */ 7721 #include <$ac_header> 7722 _ACEOF 7723 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 7724 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7725 ac_status=$? 7726 grep -v '^ *+' conftest.er1 >conftest.err 7727 rm -f conftest.er1 7728 cat conftest.err >&5 7729 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7730 (exit $ac_status); } >/dev/null; then 7731 if test -s conftest.err; then 7732 ac_cpp_err=$ac_c_preproc_warn_flag 7733 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 7734 else 7735 ac_cpp_err= 7736 fi 7737 else 7738 ac_cpp_err=yes 7739 fi 7740 if test -z "$ac_cpp_err"; then 7741 ac_header_preproc=yes 7742 else 7743 echo "$as_me: failed program was:" >&5 7744 sed 's/^/| /' conftest.$ac_ext >&5 7745 7746 ac_header_preproc=no 7747 fi 7748 rm -f conftest.err conftest.$ac_ext 7749 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7750 echo "${ECHO_T}$ac_header_preproc" >&6 7751 7752 # So? What about this header? 7753 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7754 yes:no: ) 7755 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7756 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7757 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7758 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7759 ac_header_preproc=yes 7760 ;; 7761 no:yes:* ) 7762 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7763 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7764 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7765 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7766 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7767 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7768 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7769 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7770 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7771 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7772 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7773 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7774 ( 7775 cat <<\_ASBOX 7776 ## ---------------------------------------------- ## 7777 ## Report this to orxonox-dev at mail.datacore.ch ## 7778 ## ---------------------------------------------- ## 7779 _ASBOX 7780 ) | 7781 sed "s/^/$as_me: WARNING: /" >&2 7782 ;; 7783 esac 7784 echo "$as_me:$LINENO: checking for $ac_header" >&5 7785 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7786 if eval "test \"\${$as_ac_Header+set}\" = set"; then 7787 echo $ECHO_N "(cached) $ECHO_C" >&6 7788 else 7789 eval "$as_ac_Header=\$ac_header_preproc" 7790 fi 7791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7792 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7793 7794 fi 7795 if test `eval echo '${'$as_ac_Header'}'` = yes; then 7796 cat >>confdefs.h <<_ACEOF 7797 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7798 _ACEOF 7799 7800 else 7801 { { echo "$as_me:$LINENO: error: cannot find ogg header." >&5 7802 echo "$as_me: error: cannot find ogg header." >&2;} 7803 { (exit 1); exit 1; }; } 7804 fi 7805 7806 done 7807 7808 # checking for ogg-lib 7809 echo "$as_me:$LINENO: checking for main in -logg" >&5 7810 echo $ECHO_N "checking for main in -logg... $ECHO_C" >&6 7811 if test "${ac_cv_lib_ogg_main+set}" = set; then 7812 echo $ECHO_N "(cached) $ECHO_C" >&6 7813 else 7814 ac_check_lib_save_LIBS=$LIBS 7815 LIBS="-logg $LIBS" 7816 cat >conftest.$ac_ext <<_ACEOF 7817 /* confdefs.h. */ 7818 _ACEOF 7819 cat confdefs.h >>conftest.$ac_ext 7820 cat >>conftest.$ac_ext <<_ACEOF 7821 /* end confdefs.h. */ 7822 7823 7824 int 7825 main () 7826 { 7827 main (); 7828 ; 7829 return 0; 7830 } 7831 _ACEOF 7832 rm -f conftest.$ac_objext conftest$ac_exeext 7833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7834 (eval $ac_link) 2>conftest.er1 7835 ac_status=$? 7836 grep -v '^ *+' conftest.er1 >conftest.err 7837 rm -f conftest.er1 7838 cat conftest.err >&5 7839 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7840 (exit $ac_status); } && 7841 { ac_try='test -z "$ac_c_werror_flag" 7842 || test ! -s conftest.err' 7843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7844 (eval $ac_try) 2>&5 7845 ac_status=$? 7846 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7847 (exit $ac_status); }; } && 7848 { ac_try='test -s conftest$ac_exeext' 7849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7850 (eval $ac_try) 2>&5 7851 ac_status=$? 7852 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7853 (exit $ac_status); }; }; then 7854 ac_cv_lib_ogg_main=yes 7855 else 7856 echo "$as_me: failed program was:" >&5 7857 sed 's/^/| /' conftest.$ac_ext >&5 7858 7859 ac_cv_lib_ogg_main=no 7860 fi 7861 rm -f conftest.err conftest.$ac_objext \ 7862 conftest$ac_exeext conftest.$ac_ext 7863 LIBS=$ac_check_lib_save_LIBS 7864 fi 7865 echo "$as_me:$LINENO: result: $ac_cv_lib_ogg_main" >&5 7866 echo "${ECHO_T}$ac_cv_lib_ogg_main" >&6 7867 if test $ac_cv_lib_ogg_main = yes; then 7868 FOUND_ogg=yes 7869 fi 7870 7871 if test x$FOUND_ogg = xyes ; then 7872 LIBS="$LIBS -logg" 7873 else 7874 echo "------------------" 7875 echo "ogg library not found." 7876 echo "please install the ogg library, which can be found at http://www.xiph.org/ogg/vorbis/index.html" 7877 echo "------------------" 7878 exit -1 7879 fi 7673 7880 7674 7881 #--------# 7675 7882 # vorbis # 7676 7883 #--------# 7677 ## checking for vorbis-lib 7678 # AC_CHECK_LIB([vorbis], [main], [FOUND_vorbis=yes]) 7679 # if test x$FOUND_vorbis = xyes ; then 7680 # LIBS="$LIBS -lvorbis" 7681 # else 7682 # echo "------------------" 7683 # echo "vorbis library not found." 7684 # echo "please install the vorbis library, which can be found at http://www.xiph.org/ogg/vorbis/index.html" 7685 # echo "------------------" 7686 # exit -1 7687 # fi 7884 # checking for vorbis-lib 7885 echo "$as_me:$LINENO: checking for main in -lvorbis" >&5 7886 echo $ECHO_N "checking for main in -lvorbis... $ECHO_C" >&6 7887 if test "${ac_cv_lib_vorbis_main+set}" = set; then 7888 echo $ECHO_N "(cached) $ECHO_C" >&6 7889 else 7890 ac_check_lib_save_LIBS=$LIBS 7891 LIBS="-lvorbis $LIBS" 7892 cat >conftest.$ac_ext <<_ACEOF 7893 /* confdefs.h. */ 7894 _ACEOF 7895 cat confdefs.h >>conftest.$ac_ext 7896 cat >>conftest.$ac_ext <<_ACEOF 7897 /* end confdefs.h. */ 7898 7899 7900 int 7901 main () 7902 { 7903 main (); 7904 ; 7905 return 0; 7906 } 7907 _ACEOF 7908 rm -f conftest.$ac_objext conftest$ac_exeext 7909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7910 (eval $ac_link) 2>conftest.er1 7911 ac_status=$? 7912 grep -v '^ *+' conftest.er1 >conftest.err 7913 rm -f conftest.er1 7914 cat conftest.err >&5 7915 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7916 (exit $ac_status); } && 7917 { ac_try='test -z "$ac_c_werror_flag" 7918 || test ! -s conftest.err' 7919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7920 (eval $ac_try) 2>&5 7921 ac_status=$? 7922 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7923 (exit $ac_status); }; } && 7924 { ac_try='test -s conftest$ac_exeext' 7925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7926 (eval $ac_try) 2>&5 7927 ac_status=$? 7928 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7929 (exit $ac_status); }; }; then 7930 ac_cv_lib_vorbis_main=yes 7931 else 7932 echo "$as_me: failed program was:" >&5 7933 sed 's/^/| /' conftest.$ac_ext >&5 7934 7935 ac_cv_lib_vorbis_main=no 7936 fi 7937 rm -f conftest.err conftest.$ac_objext \ 7938 conftest$ac_exeext conftest.$ac_ext 7939 LIBS=$ac_check_lib_save_LIBS 7940 fi 7941 echo "$as_me:$LINENO: result: $ac_cv_lib_vorbis_main" >&5 7942 echo "${ECHO_T}$ac_cv_lib_vorbis_main" >&6 7943 if test $ac_cv_lib_vorbis_main = yes; then 7944 FOUND_vorbis=yes 7945 fi 7946 7947 if test x$FOUND_vorbis = xyes ; then 7948 LIBS="$LIBS -lvorbis" 7949 else 7950 echo "------------------" 7951 echo "vorbis library not found." 7952 echo "please install the vorbis library, which can be found at http://www.xiph.org/ogg/vorbis/index.html" 7953 echo "------------------" 7954 exit -1 7955 fi 7688 7956 7689 7957 #------------# 7690 7958 # vorbisfile # 7691 7959 #------------# 7692 ## checking for vorbis-headers 7693 # AC_CHECK_HEADERS([vorbis/vorbisfile.h] ,, 7694 # [AC_MSG_ERROR([cannot find vorbisfile header.])]) 7695 ## checking for vorbisfile-lib 7696 # AC_CHECK_LIB([vorbisfile], [main], [FOUND_vorbisfile=yes]) 7697 # if test x$FOUND_vorbisfile = xyes ; then 7698 # LIBS="$LIBS -lvorbisfile" 7699 # else 7700 # echo "------------------" 7701 # echo "vorbisfile library not found." 7702 # echo "please install the vorbisfile library, which can be found at http://www.xiph.org/ogg/vorbis/index.html" 7703 # echo "------------------" 7704 # exit -1 7705 # fi 7960 # checking for vorbis-headers 7961 7962 for ac_header in vorbis/vorbisfile.h 7963 do 7964 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7965 if eval "test \"\${$as_ac_Header+set}\" = set"; then 7966 echo "$as_me:$LINENO: checking for $ac_header" >&5 7967 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7968 if eval "test \"\${$as_ac_Header+set}\" = set"; then 7969 echo $ECHO_N "(cached) $ECHO_C" >&6 7970 fi 7971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7972 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7973 else 7974 # Is the header compilable? 7975 echo "$as_me:$LINENO: checking $ac_header usability" >&5 7976 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 7977 cat >conftest.$ac_ext <<_ACEOF 7978 /* confdefs.h. */ 7979 _ACEOF 7980 cat confdefs.h >>conftest.$ac_ext 7981 cat >>conftest.$ac_ext <<_ACEOF 7982 /* end confdefs.h. */ 7983 $ac_includes_default 7984 #include <$ac_header> 7985 _ACEOF 7986 rm -f conftest.$ac_objext 7987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7988 (eval $ac_compile) 2>conftest.er1 7989 ac_status=$? 7990 grep -v '^ *+' conftest.er1 >conftest.err 7991 rm -f conftest.er1 7992 cat conftest.err >&5 7993 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7994 (exit $ac_status); } && 7995 { ac_try='test -z "$ac_c_werror_flag" 7996 || test ! -s conftest.err' 7997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7998 (eval $ac_try) 2>&5 7999 ac_status=$? 8000 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8001 (exit $ac_status); }; } && 8002 { ac_try='test -s conftest.$ac_objext' 8003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8004 (eval $ac_try) 2>&5 8005 ac_status=$? 8006 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8007 (exit $ac_status); }; }; then 8008 ac_header_compiler=yes 8009 else 8010 echo "$as_me: failed program was:" >&5 8011 sed 's/^/| /' conftest.$ac_ext >&5 8012 8013 ac_header_compiler=no 8014 fi 8015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8016 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8017 echo "${ECHO_T}$ac_header_compiler" >&6 8018 8019 # Is the header present? 8020 echo "$as_me:$LINENO: checking $ac_header presence" >&5 8021 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 8022 cat >conftest.$ac_ext <<_ACEOF 8023 /* confdefs.h. */ 8024 _ACEOF 8025 cat confdefs.h >>conftest.$ac_ext 8026 cat >>conftest.$ac_ext <<_ACEOF 8027 /* end confdefs.h. */ 8028 #include <$ac_header> 8029 _ACEOF 8030 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 8031 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8032 ac_status=$? 8033 grep -v '^ *+' conftest.er1 >conftest.err 8034 rm -f conftest.er1 8035 cat conftest.err >&5 8036 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8037 (exit $ac_status); } >/dev/null; then 8038 if test -s conftest.err; then 8039 ac_cpp_err=$ac_c_preproc_warn_flag 8040 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 8041 else 8042 ac_cpp_err= 8043 fi 8044 else 8045 ac_cpp_err=yes 8046 fi 8047 if test -z "$ac_cpp_err"; then 8048 ac_header_preproc=yes 8049 else 8050 echo "$as_me: failed program was:" >&5 8051 sed 's/^/| /' conftest.$ac_ext >&5 8052 8053 ac_header_preproc=no 8054 fi 8055 rm -f conftest.err conftest.$ac_ext 8056 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8057 echo "${ECHO_T}$ac_header_preproc" >&6 8058 8059 # So? What about this header? 8060 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8061 yes:no: ) 8062 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8063 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8064 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8065 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8066 ac_header_preproc=yes 8067 ;; 8068 no:yes:* ) 8069 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8070 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8071 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8072 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8073 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8074 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8075 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8076 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8077 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8078 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8079 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8080 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8081 ( 8082 cat <<\_ASBOX 8083 ## ---------------------------------------------- ## 8084 ## Report this to orxonox-dev at mail.datacore.ch ## 8085 ## ---------------------------------------------- ## 8086 _ASBOX 8087 ) | 8088 sed "s/^/$as_me: WARNING: /" >&2 8089 ;; 8090 esac 8091 echo "$as_me:$LINENO: checking for $ac_header" >&5 8092 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 8093 if eval "test \"\${$as_ac_Header+set}\" = set"; then 8094 echo $ECHO_N "(cached) $ECHO_C" >&6 8095 else 8096 eval "$as_ac_Header=\$ac_header_preproc" 8097 fi 8098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 8099 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 8100 8101 fi 8102 if test `eval echo '${'$as_ac_Header'}'` = yes; then 8103 cat >>confdefs.h <<_ACEOF 8104 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8105 _ACEOF 8106 8107 else 8108 { { echo "$as_me:$LINENO: error: cannot find vorbisfile header." >&5 8109 echo "$as_me: error: cannot find vorbisfile header." >&2;} 8110 { (exit 1); exit 1; }; } 8111 fi 8112 8113 done 8114 8115 # checking for vorbisfile-lib 8116 echo "$as_me:$LINENO: checking for main in -lvorbisfile" >&5 8117 echo $ECHO_N "checking for main in -lvorbisfile... $ECHO_C" >&6 8118 if test "${ac_cv_lib_vorbisfile_main+set}" = set; then 8119 echo $ECHO_N "(cached) $ECHO_C" >&6 8120 else 8121 ac_check_lib_save_LIBS=$LIBS 8122 LIBS="-lvorbisfile $LIBS" 8123 cat >conftest.$ac_ext <<_ACEOF 8124 /* confdefs.h. */ 8125 _ACEOF 8126 cat confdefs.h >>conftest.$ac_ext 8127 cat >>conftest.$ac_ext <<_ACEOF 8128 /* end confdefs.h. */ 8129 8130 8131 int 8132 main () 8133 { 8134 main (); 8135 ; 8136 return 0; 8137 } 8138 _ACEOF 8139 rm -f conftest.$ac_objext conftest$ac_exeext 8140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8141 (eval $ac_link) 2>conftest.er1 8142 ac_status=$? 8143 grep -v '^ *+' conftest.er1 >conftest.err 8144 rm -f conftest.er1 8145 cat conftest.err >&5 8146 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8147 (exit $ac_status); } && 8148 { ac_try='test -z "$ac_c_werror_flag" 8149 || test ! -s conftest.err' 8150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8151 (eval $ac_try) 2>&5 8152 ac_status=$? 8153 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8154 (exit $ac_status); }; } && 8155 { ac_try='test -s conftest$ac_exeext' 8156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8157 (eval $ac_try) 2>&5 8158 ac_status=$? 8159 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8160 (exit $ac_status); }; }; then 8161 ac_cv_lib_vorbisfile_main=yes 8162 else 8163 echo "$as_me: failed program was:" >&5 8164 sed 's/^/| /' conftest.$ac_ext >&5 8165 8166 ac_cv_lib_vorbisfile_main=no 8167 fi 8168 rm -f conftest.err conftest.$ac_objext \ 8169 conftest$ac_exeext conftest.$ac_ext 8170 LIBS=$ac_check_lib_save_LIBS 8171 fi 8172 echo "$as_me:$LINENO: result: $ac_cv_lib_vorbisfile_main" >&5 8173 echo "${ECHO_T}$ac_cv_lib_vorbisfile_main" >&6 8174 if test $ac_cv_lib_vorbisfile_main = yes; then 8175 FOUND_vorbisfile=yes 8176 fi 8177 8178 if test x$FOUND_vorbisfile = xyes ; then 8179 LIBS="$LIBS -lvorbisfile" 8180 else 8181 echo "------------------" 8182 echo "vorbisfile library not found." 8183 echo "please install the vorbisfile library, which can be found at http://www.xiph.org/ogg/vorbis/index.html" 8184 echo "------------------" 8185 exit -1 8186 fi 7706 8187 7707 8188 #-----# … … 10355 10836 # Extract the definition of DEP_FILES from the Makefile without 10356 10837 # running `make'. 10357 DEPDIR=`sed -n 's/^DEPDIR =//p' < "$mf"`10838 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` 10358 10839 test -z "$DEPDIR" && continue 10359 10840 # When using ansi2knr, U may be empty or an underscore; expand it 10360 U=`sed -n 's/^U =//p' < "$mf"`10841 U=`sed -n -e '/^U = / s///p' < "$mf"` 10361 10842 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" 10362 10843 # We invoke sed twice because it is the simplest approach to 10363 10844 # changing $(DEPDIR) to its actual value in the expansion. 10364 for file in `sed -n '10845 for file in `sed -n -e ' 10365 10846 /^DEP_FILES = .*\\\\$/ { 10366 10847 s/^DEP_FILES = // -
orxonox/trunk/configure.ac
r4789 r4825 226 226 ## checking for openGL-environment and other sys-specific parameters 227 227 case "$target" in 228 229 ########### 228 230 #---------# 229 231 # WINDOWS # 230 232 #---------# 233 ########### 231 234 *-*-mingw32*) 232 235 echo "mingw-WINDOWS detected" … … 330 333 fi 331 334 ;; 335 336 ######### 332 337 #-------# 333 338 # LINUX # 334 339 #-------# 340 ######### 335 341 *-*-linux*) 336 342 echo "Linux detected" … … 401 407 ;; 402 408 409 ############# 403 410 #-----------# 404 411 # MAC -OS X # 405 412 #-----------# 413 ############# 406 414 *darwin*) 407 415 echo "OS X detected" … … 491 499 # ogg # 492 500 #-----# 493 # #checking for ogg-headers494 #AC_CHECK_HEADERS([ogg/ogg.h] ,,495 #[AC_MSG_ERROR([cannot find ogg header.])])496 # #checking for ogg-lib497 #AC_CHECK_LIB([ogg], [main], [FOUND_ogg=yes])498 #if test x$FOUND_ogg = xyes ; then499 #LIBS="$LIBS -logg"500 #else501 #echo "------------------"502 #echo "ogg library not found."503 #echo "please install the ogg library, which can be found at http://www.xiph.org/ogg/vorbis/index.html"504 #echo "------------------"505 #exit -1506 #fi501 # checking for ogg-headers 502 AC_CHECK_HEADERS([ogg/ogg.h] ,, 503 [AC_MSG_ERROR([cannot find ogg header.])]) 504 # checking for ogg-lib 505 AC_CHECK_LIB([ogg], [main], [FOUND_ogg=yes]) 506 if test x$FOUND_ogg = xyes ; then 507 LIBS="$LIBS -logg" 508 else 509 echo "------------------" 510 echo "ogg library not found." 511 echo "please install the ogg library, which can be found at http://www.xiph.org/ogg/vorbis/index.html" 512 echo "------------------" 513 exit -1 514 fi 507 515 508 516 #--------# 509 517 # vorbis # 510 518 #--------# 511 # #checking for vorbis-lib512 #AC_CHECK_LIB([vorbis], [main], [FOUND_vorbis=yes])513 #if test x$FOUND_vorbis = xyes ; then514 #LIBS="$LIBS -lvorbis"515 #else516 #echo "------------------"517 #echo "vorbis library not found."518 #echo "please install the vorbis library, which can be found at http://www.xiph.org/ogg/vorbis/index.html"519 #echo "------------------"520 #exit -1521 #fi519 # checking for vorbis-lib 520 AC_CHECK_LIB([vorbis], [main], [FOUND_vorbis=yes]) 521 if test x$FOUND_vorbis = xyes ; then 522 LIBS="$LIBS -lvorbis" 523 else 524 echo "------------------" 525 echo "vorbis library not found." 526 echo "please install the vorbis library, which can be found at http://www.xiph.org/ogg/vorbis/index.html" 527 echo "------------------" 528 exit -1 529 fi 522 530 523 531 #------------# 524 532 # vorbisfile # 525 533 #------------# 526 # #checking for vorbis-headers527 #AC_CHECK_HEADERS([vorbis/vorbisfile.h] ,,528 #[AC_MSG_ERROR([cannot find vorbisfile header.])])529 # #checking for vorbisfile-lib530 #AC_CHECK_LIB([vorbisfile], [main], [FOUND_vorbisfile=yes])531 #if test x$FOUND_vorbisfile = xyes ; then532 #LIBS="$LIBS -lvorbisfile"533 #else534 #echo "------------------"535 #echo "vorbisfile library not found."536 #echo "please install the vorbisfile library, which can be found at http://www.xiph.org/ogg/vorbis/index.html"537 #echo "------------------"538 #exit -1539 #fi534 # checking for vorbis-headers 535 AC_CHECK_HEADERS([vorbis/vorbisfile.h] ,, 536 [AC_MSG_ERROR([cannot find vorbisfile header.])]) 537 # checking for vorbisfile-lib 538 AC_CHECK_LIB([vorbisfile], [main], [FOUND_vorbisfile=yes]) 539 if test x$FOUND_vorbisfile = xyes ; then 540 LIBS="$LIBS -lvorbisfile" 541 else 542 echo "------------------" 543 echo "vorbisfile library not found." 544 echo "please install the vorbisfile library, which can be found at http://www.xiph.org/ogg/vorbis/index.html" 545 echo "------------------" 546 exit -1 547 fi 540 548 541 549 #-----#
Note: See TracChangeset
for help on using the changeset viewer.