Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4218 in orxonox.OLD


Ignore:
Timestamp:
May 18, 2005, 1:31:59 PM (19 years ago)
Author:
bensch
Message:

orxonox/branches/movie_player: configure checks for libmpeg2

Location:
orxonox/branches/movie_player
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/movie_player/configure

    r4217 r4218  
    67156715      exit -1
    67166716   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
     6726echo $ECHO_N "checking for main in -lmpeg2... $ECHO_C" >&6
     6727if test "${ac_cv_lib_mpeg2_main+set}" = set; then
     6728  echo $ECHO_N "(cached) $ECHO_C" >&6
     6729else
     6730  ac_check_lib_save_LIBS=$LIBS
     6731LIBS="-lmpeg2  $LIBS"
     6732cat >conftest.$ac_ext <<_ACEOF
     6733/* confdefs.h.  */
     6734_ACEOF
     6735cat confdefs.h >>conftest.$ac_ext
     6736cat >>conftest.$ac_ext <<_ACEOF
     6737/* end confdefs.h.  */
     6738
     6739
     6740int
     6741main ()
     6742{
     6743main ();
     6744  ;
     6745  return 0;
     6746}
     6747_ACEOF
     6748rm -f conftest.$ac_objext conftest$ac_exeext
     6749if { (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
     6771else
     6772  echo "$as_me: failed program was:" >&5
     6773sed 's/^/| /' conftest.$ac_ext >&5
     6774
     6775ac_cv_lib_mpeg2_main=no
     6776fi
     6777rm -f conftest.err conftest.$ac_objext \
     6778      conftest$ac_exeext conftest.$ac_ext
     6779LIBS=$ac_check_lib_save_LIBS
     6780fi
     6781echo "$as_me:$LINENO: result: $ac_cv_lib_mpeg2_main" >&5
     6782echo "${ECHO_T}$ac_cv_lib_mpeg2_main" >&6
     6783if test $ac_cv_lib_mpeg2_main = yes; then
     6784  FOUND_mpeg2=yes
     6785fi
     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
    67176796
    67186797#-----#
  • orxonox/branches/movie_player/configure.ac

    r4217 r4218  
    439439   fi
    440440
     441#-------#
     442# mpeg2 #
     443#-------#
     444# checking for mpeg-headers
     445#  AC_CHECK_HEADERS([mpeg2dec/mpeg2.h] ,,
     446#      [AC_MSG_ERROR([cannot find mpeg2 header.])])
     447# checking for mpeg2-library
     448  AC_CHECK_LIB([mpeg2], [main], [FOUND_mpeg2=yes])
     449     if test x$FOUND_mpeg2 = xyes ; then
     450       LIBS="$LIBS -lmpeg2"
     451     else
     452        echo "------------------"
     453        echo "mpeg2 library not found."
     454        echo "please install the mpeg2 library, which can be found at http://libmpeg2.sourceforge.net/"
     455        echo "------------------"
     456        exit -1
     457     fi
     458
    441459#-----#
    442460# GTK #
  • orxonox/branches/movie_player/src/Makefile.in

    r4217 r4218  
    446446          esac; \
    447447        done; \
    448         echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/Makefile'; \
     448        echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/Makefile'; \
    449449        cd $(top_srcdir) && \
    450           $(AUTOMAKE) --gnu  src/Makefile
     450          $(AUTOMAKE) --foreign  src/Makefile
    451451.PRECIOUS: Makefile
    452452Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  • orxonox/branches/movie_player/src/lib/Makefile.in

    r4217 r4218  
    183183          esac; \
    184184        done; \
    185         echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/lib/Makefile'; \
     185        echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/lib/Makefile'; \
    186186        cd $(top_srcdir) && \
    187           $(AUTOMAKE) --gnu  src/lib/Makefile
     187          $(AUTOMAKE) --foreign  src/lib/Makefile
    188188.PRECIOUS: Makefile
    189189Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  • orxonox/branches/movie_player/src/lib/graphics/Makefile.in

    r4217 r4218  
    177177          esac; \
    178178        done; \
    179         echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/lib/graphics/Makefile'; \
     179        echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/lib/graphics/Makefile'; \
    180180        cd $(top_srcdir) && \
    181           $(AUTOMAKE) --gnu  src/lib/graphics/Makefile
     181          $(AUTOMAKE) --foreign  src/lib/graphics/Makefile
    182182.PRECIOUS: Makefile
    183183Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  • orxonox/branches/movie_player/src/lib/graphics/importer/Makefile.in

    r4217 r4218  
    235235          esac; \
    236236        done; \
    237         echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/lib/graphics/importer/Makefile'; \
     237        echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/lib/graphics/importer/Makefile'; \
    238238        cd $(top_srcdir) && \
    239           $(AUTOMAKE) --gnu  src/lib/graphics/importer/Makefile
     239          $(AUTOMAKE) --foreign  src/lib/graphics/importer/Makefile
    240240.PRECIOUS: Makefile
    241241Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  • orxonox/branches/movie_player/src/lib/gui/Makefile.in

    r4217 r4218  
    179179          esac; \
    180180        done; \
    181         echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/lib/gui/Makefile'; \
     181        echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/lib/gui/Makefile'; \
    182182        cd $(top_srcdir) && \
    183           $(AUTOMAKE) --gnu  src/lib/gui/Makefile
     183          $(AUTOMAKE) --foreign  src/lib/gui/Makefile
    184184.PRECIOUS: Makefile
    185185Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  • orxonox/branches/movie_player/src/lib/gui/console/Makefile.in

    r4217 r4218  
    205205          esac; \
    206206        done; \
    207         echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/lib/gui/console/Makefile'; \
     207        echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/lib/gui/console/Makefile'; \
    208208        cd $(top_srcdir) && \
    209           $(AUTOMAKE) --gnu  src/lib/gui/console/Makefile
     209          $(AUTOMAKE) --foreign  src/lib/gui/console/Makefile
    210210.PRECIOUS: Makefile
    211211Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  • orxonox/branches/movie_player/src/lib/gui/gui/Makefile.in

    r4217 r4218  
    265265          esac; \
    266266        done; \
    267         echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/lib/gui/gui/Makefile'; \
     267        echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/lib/gui/gui/Makefile'; \
    268268        cd $(top_srcdir) && \
    269           $(AUTOMAKE) --gnu  src/lib/gui/gui/Makefile
     269          $(AUTOMAKE) --foreign  src/lib/gui/gui/Makefile
    270270.PRECIOUS: Makefile
    271271Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  • orxonox/branches/movie_player/src/subprojects/Makefile.in

    r4217 r4218  
    177177          esac; \
    178178        done; \
    179         echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/subprojects/Makefile'; \
     179        echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/subprojects/Makefile'; \
    180180        cd $(top_srcdir) && \
    181           $(AUTOMAKE) --gnu  src/subprojects/Makefile
     181          $(AUTOMAKE) --foreign  src/subprojects/Makefile
    182182.PRECIOUS: Makefile
    183183Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  • orxonox/branches/movie_player/src/subprojects/testmain/Makefile.in

    r4217 r4218  
    197197          esac; \
    198198        done; \
    199         echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/subprojects/testmain/Makefile'; \
     199        echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/subprojects/testmain/Makefile'; \
    200200        cd $(top_srcdir) && \
    201           $(AUTOMAKE) --gnu  src/subprojects/testmain/Makefile
     201          $(AUTOMAKE) --foreign  src/subprojects/testmain/Makefile
    202202.PRECIOUS: Makefile
    203203Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
Note: See TracChangeset for help on using the changeset viewer.