Mercurial > octave
changeset 22110:d534a3014fd7
build: restore sndfile check for specific features needed to build
* configure.ac: Restore call to OCTAVE_CHECK_LIB_SNDFILE_OK after basic
existence checks done by OCTAVE_CHECK_LIB.
author | Mike Miller <mtmiller@octave.org> |
---|---|
date | Thu, 14 Jul 2016 09:36:50 -0700 |
parents | 57ca47db75ec |
children | ef3e0408097b |
files | configure.ac |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.ac Thu Jul 14 08:14:02 2016 -0700 +++ b/configure.ac Thu Jul 14 09:36:50 2016 -0700 @@ -1074,7 +1074,11 @@ OCTAVE_CHECK_LIB(sndfile, sndfile, [sndfile library not found. The audioinfo, audioread, and audiowrite functions will be disabled.], [sndfile.h], [sf_open], - [], [don't use sndfile library, disable audio file I/O]) + [], [don't use sndfile library, disable audio file I/O], + [warn_sndfile= + OCTAVE_CHECK_LIB_SNDFILE_OK( + [AC_DEFINE(HAVE_SNDFILE, 1, [Define to 1 if sndfile is available.])], + [warn_sndfile="sndfile library found, but does not seem to work properly; disabling audio file I/O functions"])]) ### Check for PortAudio