configure problems with libsndfile

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: configure problems with libsndfile
From: Jan Weil (Jan.Weil_AT_web.de)
Date: Sun Dec 07 2003 - 14:47:52 EET


Hi Kai,

building from current cvs failed for me because my libsndfile version
was too old (SF_FORMAT_HTK was not defined).
Unfortunately configure did not complain.

Since libsndfile uses pkg-config I propose to use the PKG_CHECK_MODULES
macro to check for the correct version.

Attached are my patched versions of configure.in and Makefile.am from
the plugins subdirectory of libecasound which make use of the above
macro.

Libaudiofile also uses pkg-config so I'd suggest to do the same for
this library but I'm not sure which version of libaudiofile ecasound
depends on.
Generally speaking I'd say pkg-config is the way to go so use it where
possible.
It's quite straightforward just have a look at the AUTOCONF MACROS
section of pkg-config(1).

Jan




New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Sun Dec 07 2003 - 14:43:19 EET