diff options
author | George Joseph <gjoseph@digium.com> | 2016-05-08 19:19:50 -0600 |
---|---|---|
committer | George Joseph <gjoseph@digium.com> | 2016-05-08 19:32:23 -0600 |
commit | 2a7130b8b09358744a7b75f17285b5d4ea01d650 (patch) | |
tree | a61bf285d64bef6fef4c7e1ce6c53e0540bb3847 /configure.ac | |
parent | dd00c71aae12ddfb8af9ca5fab41b1badd50ca5a (diff) |
pjproject_bundled: Check for python-dev and TEST_FRAMEWORK
The pjsua and pjsystest apps are now built only if TEST_FRAMEWORK is set.
The python bindings are now built only if TEST_FRAMEWORK is set and a
python development package is installed.
libresample was also disabled.
ASTERISK-25993 #close
Reported-by: Joshua Colp
Change-Id: If4e91c503a02f113d5b71bc8b972081fa3ff6f03
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 7571f7fd5..822303708 100644 --- a/configure.ac +++ b/configure.ac @@ -2197,6 +2197,10 @@ if test "$USE_PJPROJECT" != "no" ; then fi fi +AC_SUBST([PYTHONDEV_LIB]) +AC_SUBST([PYTHONDEV_INCLUDE]) +AST_PKG_CONFIG_CHECK([PYTHONDEV], [python]) + AST_EXT_LIB_CHECK([POPT], [popt], [poptStrerror], [popt.h]) AST_EXT_LIB_CHECK([PORTAUDIO], [portaudio], [Pa_GetDeviceCount], [portaudio.h]) |