summaryrefslogtreecommitdiff
path: root/aconfigure.ac
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2007-10-16 08:54:00 +0000
committerBenny Prijono <bennylp@teluu.com>2007-10-16 08:54:00 +0000
commite8cb0501f0c6f32ff49396e1d1b6603860cc0262 (patch)
tree7d6d9692e83cd3660d8e40db9a9ffb6c58cf3d4a /aconfigure.ac
parent5aea96f9de3908f2fc85c16001adc6c3f82d4705 (diff)
Ticket #398: support for libsamplerate in the autoconf+Makefile
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1502 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'aconfigure.ac')
-rw-r--r--aconfigure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/aconfigure.ac b/aconfigure.ac
index 6b79f4d7..4ffd1ae6 100644
--- a/aconfigure.ac
+++ b/aconfigure.ac
@@ -409,6 +409,13 @@ AC_ARG_ENABLE(ilbc-codec,
fi],
AC_MSG_RESULT([Checking if iLBC codec is disabled...no]))
+dnl # Include libsamplerate
+AC_ARG_ENABLE(libsamplerate,
+ AC_HELP_STRING([--enable-libsamplerate],
+ [Link with libsamplerate when available. Note that PJMEDIA_RESAMPLE_IMP must also be configured]),
+ [ AC_CHECK_LIB(samplerate,src_new) ],
+ AC_MSG_RESULT([Skipping libsamplerate detection])
+ )
dnl ##########################################