Changeset 4218 in orxonox.OLD for orxonox/branches/movie_player/configure
- Timestamp:
- May 18, 2005, 1:31:59 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/movie_player/configure
r4217 r4218 6715 6715 exit -1 6716 6716 fi 6717 6718 #-------# 6719 # mpeg2 # 6720 #-------# 6721 # checking for mpeg-headers 6722 # AC_CHECK_HEADERS([mpeg2dec/mpeg2.h] ,, 6723 # [AC_MSG_ERROR([cannot find mpeg2 header.])]) 6724 # checking for mpeg2-library 6725 echo "$as_me:$LINENO: checking for main in -lmpeg2" >&5 6726 echo $ECHO_N "checking for main in -lmpeg2... $ECHO_C" >&6 6727 if test "${ac_cv_lib_mpeg2_main+set}" = set; then 6728 echo $ECHO_N "(cached) $ECHO_C" >&6 6729 else 6730 ac_check_lib_save_LIBS=$LIBS 6731 LIBS="-lmpeg2 $LIBS" 6732 cat >conftest.$ac_ext <<_ACEOF 6733 /* confdefs.h. */ 6734 _ACEOF 6735 cat confdefs.h >>conftest.$ac_ext 6736 cat >>conftest.$ac_ext <<_ACEOF 6737 /* end confdefs.h. */ 6738 6739 6740 int 6741 main () 6742 { 6743 main (); 6744 ; 6745 return 0; 6746 } 6747 _ACEOF 6748 rm -f conftest.$ac_objext conftest$ac_exeext 6749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6750 (eval $ac_link) 2>conftest.er1 6751 ac_status=$? 6752 grep -v '^ *+' conftest.er1 >conftest.err 6753 rm -f conftest.er1 6754 cat conftest.err >&5 6755 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6756 (exit $ac_status); } && 6757 { ac_try='test -z "$ac_c_werror_flag" 6758 || test ! -s conftest.err' 6759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6760 (eval $ac_try) 2>&5 6761 ac_status=$? 6762 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6763 (exit $ac_status); }; } && 6764 { ac_try='test -s conftest$ac_exeext' 6765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6766 (eval $ac_try) 2>&5 6767 ac_status=$? 6768 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6769 (exit $ac_status); }; }; then 6770 ac_cv_lib_mpeg2_main=yes 6771 else 6772 echo "$as_me: failed program was:" >&5 6773 sed 's/^/| /' conftest.$ac_ext >&5 6774 6775 ac_cv_lib_mpeg2_main=no 6776 fi 6777 rm -f conftest.err conftest.$ac_objext \ 6778 conftest$ac_exeext conftest.$ac_ext 6779 LIBS=$ac_check_lib_save_LIBS 6780 fi 6781 echo "$as_me:$LINENO: result: $ac_cv_lib_mpeg2_main" >&5 6782 echo "${ECHO_T}$ac_cv_lib_mpeg2_main" >&6 6783 if test $ac_cv_lib_mpeg2_main = yes; then 6784 FOUND_mpeg2=yes 6785 fi 6786 6787 if test x$FOUND_mpeg2 = xyes ; then 6788 LIBS="$LIBS -lmpeg2" 6789 else 6790 echo "------------------" 6791 echo "mpeg2 library not found." 6792 echo "please install the mpeg2 library, which can be found at http://libmpeg2.sourceforge.net/" 6793 echo "------------------" 6794 exit -1 6795 fi 6717 6796 6718 6797 #-----#
Note: See TracChangeset
for help on using the changeset viewer.