annotate src/libsndfile-1.0.25/M4/mkoctfile_version.m4 @ 23:619f715526df sv_v2.1

Update Vamp plugin SDK to 2.5
author Chris Cannam
date Thu, 09 May 2013 10:52:46 +0100
parents c7265573341e
children
rev   line source
Chris@0 1 dnl @synopsis OCTAVE_MKOCTFILE_VERSION
Chris@0 2 dnl
Chris@0 3 dnl Find the version of mkoctfile.
Chris@0 4 dnl @version 1.0 Aug 23 2007
Chris@0 5 dnl @author Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6 dnl
Chris@0 7 dnl Permission to use, copy, modify, distribute, and sell this file for any
Chris@0 8 dnl purpose is hereby granted without fee, provided that the above copyright
Chris@0 9 dnl and this permission notice appear in all copies. No representations are
Chris@0 10 dnl made about the suitability of this software for any purpose. It is
Chris@0 11 dnl provided "as is" without express or implied warranty.
Chris@0 12 dnl
Chris@0 13
Chris@0 14 AC_DEFUN([OCTAVE_MKOCTFILE_VERSION],
Chris@0 15 [
Chris@0 16
Chris@0 17
Chris@0 18 AC_ARG_WITH(mkoctfile,
Chris@0 19 AC_HELP_STRING([--with-mkoctfile], [choose the mkoctfile version]),
Chris@0 20 [ with_mkoctfile=$withval ])
Chris@0 21
Chris@0 22 test -z "$with_mkoctfile" && with_mkoctfile=mkoctfile
Chris@0 23
Chris@0 24 AC_CHECK_PROG(HAVE_MKOCTFILE,$with_mkoctfile,yes,no)
Chris@0 25
Chris@0 26 if test "x$ac_cv_prog_HAVE_MKOCTFILE" = "xyes" ; then
Chris@0 27 MKOCTFILE=$with_mkoctfile
Chris@0 28
Chris@0 29 AC_MSG_CHECKING([for version of $MKOCTFILE])
Chris@0 30 MKOCTFILE_VERSION=`$with_mkoctfile --version 2>&1 | sed 's/mkoctfile, version //g'`
Chris@0 31 AC_MSG_RESULT($MKOCTFILE_VERSION)
Chris@0 32 fi
Chris@0 33
Chris@0 34 AC_SUBST(MKOCTFILE)
Chris@0 35 AC_SUBST(MKOCTFILE_VERSION)
Chris@0 36
Chris@0 37 ])# OCTAVE_MKOCTFILE_VERSION
Chris@0 38