Ignore:
Timestamp:
May 2, 2014 10:15:12 AM (10 years ago)
Author:
ldelgass
Message:

Use avconv instead of ffmpeg if found (Debian uses the libav fork and ffmpeg
is removed in e.g. Ubuntu 14.04).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/nanovis/configure.in

    r4158 r4353  
    4545    [],
    4646    [with_ffmpeg=yes])
     47
     48AC_ARG_WITH(
     49    [avconv],
     50    [AS_HELP_STRING([--with-avconv[=DIR]],
     51      [location of avconv @<:@default=yes@:>@])],
     52    [],
     53    [with_avconv=yes])
    4754
    4855AC_ARG_WITH(
     
    198205
    199206#--------------------------------------------------------------------
     207# search for avconv executable
     208#--------------------------------------------------------------------
     209if test "${with_avconv}" != "no" ; then
     210  if test "${with_avconv}" = "yes" ; then
     211    AC_PATH_PROG(AVCONV, avconv)
     212  else
     213    AC_PATH_PROG(AVCONV, avconv, [], [${with_avconv}/bin:${with_avconv}])
     214  fi
     215  if test "${AVCONV}x" != "x" ; then
     216    AC_DEFINE(HAVE_AVCONV, 1, [nanovis can use avconv to create videos.])
     217  fi
     218fi
     219
     220#--------------------------------------------------------------------
    200221# search for ffmpeg executable
    201222#--------------------------------------------------------------------
     
    258279AC_SUBST(CG_INC_SPEC)
    259280AC_SUBST(CG_LIB_SPEC)
     281AC_SUBST(AVCONV)
    260282AC_SUBST(FFMPEG)
    261283AC_SUBST(LD_RPATH)
Note: See TracChangeset for help on using the changeset viewer.