comparison configure.ac @ 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 cfc260765ddf
children a51d5c5c71e6
comparison
equal deleted inserted replaced
22109:57ca47db75ec 22110:d534a3014fd7
1072 ### Check for sndfile 1072 ### Check for sndfile
1073 1073
1074 OCTAVE_CHECK_LIB(sndfile, sndfile, 1074 OCTAVE_CHECK_LIB(sndfile, sndfile,
1075 [sndfile library not found. The audioinfo, audioread, and audiowrite functions will be disabled.], 1075 [sndfile library not found. The audioinfo, audioread, and audiowrite functions will be disabled.],
1076 [sndfile.h], [sf_open], 1076 [sndfile.h], [sf_open],
1077 [], [don't use sndfile library, disable audio file I/O]) 1077 [], [don't use sndfile library, disable audio file I/O],
1078 [warn_sndfile=
1079 OCTAVE_CHECK_LIB_SNDFILE_OK(
1080 [AC_DEFINE(HAVE_SNDFILE, 1, [Define to 1 if sndfile is available.])],
1081 [warn_sndfile="sndfile library found, but does not seem to work properly; disabling audio file I/O functions"])])
1078 1082
1079 ### Check for PortAudio 1083 ### Check for PortAudio
1080 1084
1081 OCTAVE_CHECK_LIB(portaudio, PortAudio, 1085 OCTAVE_CHECK_LIB(portaudio, PortAudio,
1082 [PortAudio library not found. The audioplayer, audiorecorder, and audiodevinfo functions will be disabled.], 1086 [PortAudio library not found. The audioplayer, audiorecorder, and audiodevinfo functions will be disabled.],