summaryrefslogtreecommitdiff
path: root/aconfigure.ac
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2012-03-08 06:35:03 +0000
committerBenny Prijono <bennylp@teluu.com>2012-03-08 06:35:03 +0000
commitd2a58207a17c6ab783b9d03261dcb570211a8263 (patch)
treec42139b3d87a868edb36ee3a39b935f5a6ec964b /aconfigure.ac
parent064ca97fad7f636f404d3b1e031fbb7d61b8853c (diff)
Closed #1462: Added support for building libresample as shared library for GNU targets
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3967 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'aconfigure.ac')
-rw-r--r--aconfigure.ac12
1 files changed, 11 insertions, 1 deletions
diff --git a/aconfigure.ac b/aconfigure.ac
index 84295b5b..e4a8b7fd 100644
--- a/aconfigure.ac
+++ b/aconfigure.ac
@@ -731,6 +731,17 @@ AC_ARG_ENABLE(libsamplerate,
AC_MSG_RESULT([Skipping libsamplerate detection])
)
+dnl # Include libsamplerate
+AC_SUBST(ac_resample_dll)
+AC_ARG_ENABLE(resample_dll,
+ AC_HELP_STRING([--enable-resample-dll],
+ [Build libresample as shared library]),
+ [if test "$enable_resample_dll" = "yes"; then
+ [ac_resample_dll=1]
+ AC_MSG_RESULT([Building libresample as shared library... yes])
+ fi],
+ AC_MSG_RESULT([Building libresample as shared library... no])
+ )
dnl ########################################################
dnl # Intel IPP support
@@ -1031,7 +1042,6 @@ AC_ARG_ENABLE(opencore_amrnb,
fi
])
-
dnl ##########################################
dnl #
dnl # MANUAL CONFIG