gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r7318 - Extractor


From: gnunet
Subject: [GNUnet-SVN] r7318 - Extractor
Date: Tue, 24 Jun 2008 02:06:48 -0600 (MDT)

Author: holindho
Date: 2008-06-24 02:06:48 -0600 (Tue, 24 Jun 2008)
New Revision: 7318

Modified:
   Extractor/configure.ac
Log:
cross-compile support for ffmpeg


Modified: Extractor/configure.ac
===================================================================
--- Extractor/configure.ac      2008-06-24 07:15:10 UTC (rev 7317)
+++ Extractor/configure.ac      2008-06-24 08:06:48 UTC (rev 7318)
@@ -494,6 +494,13 @@
         ffmpeg_enabled=0])
 AM_CONDITIONAL(HAVE_FFMPEG, test x$ffmpeg_enabled != x0)
 
+ffmpegarch=""
+AC_ARG_WITH(ffmpeg-arch,
+       AC_HELP_STRING(
+               [--with-ffmpeg-arch],
+               [set FFmpeg --arch setting for cross-compiling.]),
+       [ffmpegarch=$withval])
+
 AC_SUBST(CPPFLAGS)
 AC_SUBST(LDFLAGS)
 AC_SUBST(XTRA_CPPLIBS)
@@ -526,8 +533,15 @@
 if test "x$ffmpeg_enabled" = "x1"
 then
  AC_MSG_NOTICE([configuring FFmpeg])
+ FFMPEGARCH=""
+ if test "x$ffmpegarch" != "x"
+ then
+   FFMPEGARCH="--enable-cross-compile --arch=$ffmpegarch"
+ fi
  cd src/plugins/thumbnailffmpeg/ffmpeg/
  if ! ./configure                      \
+       --cc=$CC                        \
+       $FFMPEGARCH                     \
        --prefix=/tmp                   \
        --disable-mmx                   \
        --disable-altivec               \





reply via email to

[Prev in Thread] Current Thread [Next in Thread]