summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sf.net>2009-02-04 10:31:21 +0200
committerStefan Kost <ensonic@users.sf.net>2009-02-04 10:31:21 +0200
commitb08c0a9003cd4f826982185e28ddbfbcbec7caf6 (patch)
tree6e638f73a5805519e310b5ae6f05bd7cb09da2f8 /configure.ac
parent080493ccff20b288ab2c9fb399e71d563c2bd621 (diff)
audioresample: Only pull in liboil if its actualy used.
Liboil still has quite significant startup overhead especialy on embedded platforms. In audioresample it was only used for the profiling timer.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 058256a5e..2ab4fa993 100644
--- a/configure.ac
+++ b/configure.ac
@@ -313,6 +313,7 @@ case $ac_cv_audioresample_format in
AC_DEFINE(AUDIORESAMPLE_FORMAT_AUTO,1,[The implementation that should be used for integer audio resampling witll be benchmarked at runtime])
AC_SUBST(AUDIORESAMPLE_FORMAT_AUTO)
esac
+AM_CONDITIONAL(AUDIORESAMPLE_NEEDS_LIBOIL, test "$ac_cv_audioresample_format" = "auto")
dnl *** plug-ins to include ***