Files
main/multimedia/sound/libsndfile/files/libsndfile-1.0.17-regtests-need-sqlite.patch
2015-07-07 00:45:18 +03:00

26 lines
894 B
Diff

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