diff options
Diffstat (limited to 'pjmedia/build/os-auto.mak.in')
-rw-r--r-- | pjmedia/build/os-auto.mak.in | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/pjmedia/build/os-auto.mak.in b/pjmedia/build/os-auto.mak.in index 37e7ffac..63e95a3c 100644 --- a/pjmedia/build/os-auto.mak.in +++ b/pjmedia/build/os-auto.mak.in @@ -28,10 +28,6 @@ DARWIN_CFLAGS = @ac_darwin_cflags@ # Android ANDROID_CFLAGS = @ac_android_cflags@ -# libyuv -LIBYUV_CFLAGS = @ac_libyuv_cflags@ -LIBYUV_LDFLAGS = @ac_libyuv_ldflags@ - # openh264 OPENH264_CFLAGS = @ac_openh264_cflags@ OPENH264_LDFLAGS = @ac_openh264_ldflags@ @@ -44,10 +40,10 @@ WEBRTC_LDFLAGS = @ac_webrtc_ldflags@ # PJMEDIA features exclusion export CFLAGS += @ac_no_small_filter@ @ac_no_large_filter@ @ac_no_speex_aec@ \ $(SDL_CFLAGS) $(FFMPEG_CFLAGS) $(V4L2_CFLAGS) $(QT_CFLAGS) \ - $(DARWIN_CFLAGS) $(ANDROID_CFLAGS) $(LIBYUV_CFLAGS) \ + $(DARWIN_CFLAGS) $(ANDROID_CFLAGS) \ $(OPENH264_CFLAGS) $(WEBRTC_CFLAGS) export LDFLAGS += $(SDL_LDFLAGS) $(FFMPEG_LDFLAGS) $(V4L2_LDFLAGS) \ - $(LIBYUV_LDFLAGS) $(OPENH264_LDFLAGS) $(WEBRTC_LDFLAGS) + $(OPENH264_LDFLAGS) $(WEBRTC_LDFLAGS) # Define the desired sound device backend # Valid values are: @@ -196,6 +192,19 @@ export CFLAGS += -DPJMEDIA_AUDIO_DEV_HAS_PORTAUDIO=1 endif # +# libyuv +# +ifeq (@ac_no_yuv@,1) +export CFLAGS += -DPJMEDIA_HAS_LIBYUV=0 +else +export CFLAGS += -DPJMEDIA_HAS_LIBYUV=1 +ifeq (@ac_external_yuv@,0) +export CFLAGS += -I$(THIRD_PARTY)/yuv/include +endif +endif + + +# # MacOSX specific # ifneq ($(findstring coreaudio,$(AC_PJMEDIA_SND)),) |