summaryrefslogtreecommitdiff
blob: 85d628000f96d07be126bfcbf261bd2c128dbf5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Index: libsndfile-1.0.17/configure.ac
===================================================================
--- libsndfile-1.0.17.orig/configure.ac
+++ libsndfile-1.0.17/configure.ac
@@ -268,6 +268,7 @@ else
 	fi
 
 AC_DEFINE_UNQUOTED([HAVE_SQLITE3],$HAVE_SQLITE3,[Set to 1 if you have libsqlite3.])
+AM_CONDITIONAL(HAVE_SQLITE3, [test "x$ac_cv_sqlite3" = "xyes"])
 
 #====================================================================================
 # Determine if the processor can do clipping on float to int conversions.
Index: libsndfile-1.0.17/regtest/Makefile.am
===================================================================
--- libsndfile-1.0.17.orig/regtest/Makefile.am
+++ libsndfile-1.0.17/regtest/Makefile.am
@@ -1,6 +1,8 @@
 ## Process this file with automake to produce Makefile.in
 
+if HAVE_SQLITE3
 bin_PROGRAMS = sndfile-regtest
+endif
 
 noinst_HEADERS = regtest.h