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 @@
1+2008-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+
16 2008-04-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
27
38 * 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
132132
133133 #====================================================================================
134134 # Check for libsndfile which is required for the test and example programs.
135+AC_ARG_ENABLE(sndfile,
136+ AC_HELP_STRING([--disable-sndfile], [disable support for sndfile (default=autodetect)]),
137+ [ enable_sndfile=$enableval ], [ enable_sndfile=yes ])
135138
136−PKG_CHECK_MODULES(SNDFILE, sndfile >= 1.0.6, ac_cv_sndfile=1, ac_cv_sndfile=0)
139+if test "x$enable_sndfile" = "xyes"; then
140+ PKG_CHECK_MODULES(SNDFILE, sndfile >= 1.0.6, ac_cv_sndfile=1, ac_cv_sndfile=0)
141+else
142+ ac_cv_sndfile=0
143+fi
137144
138145 AC_DEFINE_UNQUOTED([HAVE_SNDFILE],$ac_cv_sndfile,[Set to 1 if you have libsndfile.])
139146

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