Merge "Bundled pjproject: Fix finding SIP transactions."
[asterisk/asterisk.git] / third-party / pjproject / Makefile.rules
1 PJPROJECT_URL = http://www.pjsip.org/release/$(PJPROJECT_VERSION)
2
3 # Even though we're not installing pjproject, we're setting prefix to /opt/pjproject to be safe
4
5 PJPROJECT_CONFIG_OPTS = --prefix=/opt/pjproject \
6         --disable-speex-codec \
7         --disable-speex-aec \
8         --disable-speex-aec \
9         --disable-gsm-codec \
10         --disable-ilbc-codec \
11         --disable-l16-codec \
12         --disable-g722-codec \
13         --disable-g7221-codec \
14         --disable-opencore-amr \
15         --disable-webrtc \
16         --disable-silk \
17         --disable-opus \
18         --disable-video \
19         --disable-v4l2 \
20         --disable-sound \
21         --disable-ext-sound \
22         --disable-oss \
23         --disable-sdl \
24         --disable-libyuv \
25         --disable-ffmpeg \
26         --disable-openh264 \
27         --disable-ipp \
28         --without-external-pa \
29         --without-external-srtp
30
31 ifeq ($(findstring TEST_FRAMEWORK,$(MENUSELECT_CFLAGS)),)
32     PJPROJECT_CONFIG_OPTS += --disable-resample --disable-g711-codec
33 endif
34
35 ifeq ($(shell uname -s),Linux)
36     PJPROJECT_CONFIG_OPTS +=  --enable-epoll
37 endif