From 2c1dcb78302b250d2063ea213744c2bf15be82e6 Mon Sep 17 00:00:00 2001 From: Francesco Salvestrini Date: Thu, 30 Jul 2009 00:36:35 +0200 Subject: [PATCH 3/4] Renewed version of AC_CHECK_TAGLIB (using AX_PATH_GENERIC) --- ax_lib_taglib.m4 | 32 ++++++++++++++++++++++++++++++++ 1 files changed, 32 insertions(+), 0 deletions(-) create mode 100644 ax_lib_taglib.m4 diff --git a/ax_lib_taglib.m4 b/ax_lib_taglib.m4 new file mode 100644 index 0000000..9cbe5fe --- /dev/null +++ b/ax_lib_taglib.m4 @@ -0,0 +1,32 @@ +# =========================================================================== +# http://www.nongnu.org/autoconf-archive/ax_lib_taglib.html +# =========================================================================== +# +# SYNOPSIS +# +# AX_LIB_TAGLIB([VERSION],[ACTION-IF-SUCCESS],[ACTION-IF-FAILURE]) +# +# DESCRIPTION +# +# Checks for minimum taglib library version VERSION. If successfull executes +# ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE. +# +# Defines TAGLIB_LIBS and TAGLIB_CFLAGS. +# +# A simple example: +# +# AX_LIB_TAGLIB([1.5],,[ +# AC_MSG_ERROR([Your system lacks of taglib >= 1.5]) +# ]) +# +# LICENSE +# +# Copyright (c) 2009 Francesco Salvestrini +# +# Copying and distribution of this file, with or without modification, are +# permitted in any medium without royalty provided the copyright notice +# and this notice are preserved. + +AC_DEFUN([AX_LIB_TAGLIB], [ + AX_PATH_GENERIC([taglib],[$1],,[$2],[$3]) +]) -- 1.6.3.3