History

configure.ac : Make use of libsndfile optional.

Erik de Castro Lopo committed 18 years ago

Commit 73967ed1 parent ed804732 files · +13 −1Browse files

Unified · Split

2 files
  1. ChangeLog +5 −0
  2. configure.ac +8 −1
ChangeLog+5−0
@@ -1,3 +1,8 @@
12008-05-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2
3 * configure.ac
4 Make use of libsndfile optional. Patch from Samuli Suominen.
5
12008-04-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>62008-04-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2 7
3 * Win32/libsamplerate-0.def8 * Win32/libsamplerate-0.def
configure.ac+8−1
@@ -132,8 +132,15 @@ AC_DEFINE_UNQUOTED(CPU_CLIPS_NEGATIVE, ${ac_cv_c_clip_negative}, · 131 unmodified lines
132 132
133#====================================================================================133#====================================================================================
134# Check for libsndfile which is required for the test and example programs.134# Check for libsndfile which is required for the test and example programs.
135AC_ARG_ENABLE(sndfile,
136 AC_HELP_STRING([--disable-sndfile], [disable support for sndfile (default=autodetect)]),
137 [ enable_sndfile=$enableval ], [ enable_sndfile=yes ])
135 138
136PKG_CHECK_MODULES(SNDFILE, sndfile >= 1.0.6, ac_cv_sndfile=1, ac_cv_sndfile=0)139if test "x$enable_sndfile" = "xyes"; then
140 PKG_CHECK_MODULES(SNDFILE, sndfile >= 1.0.6, ac_cv_sndfile=1, ac_cv_sndfile=0)
141else
142 ac_cv_sndfile=0
143fi
137 144
138AC_DEFINE_UNQUOTED([HAVE_SNDFILE],$ac_cv_sndfile,[Set to 1 if you have libsndfile.])145AC_DEFINE_UNQUOTED([HAVE_SNDFILE],$ac_cv_sndfile,[Set to 1 if you have libsndfile.])
139 146

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t