ath9k: merge a few bugfixes
[openwrt.git] / package / pjsip / patches / 000-aconf.patch
1 --- a/aconfigure.ac
2 +++ b/aconfigure.ac
3 @@ -48,7 +48,7 @@
4 CROSS_COMPILE=`echo ${CC} | sed 's/gcc//'`
5 fi
6
7 -if test "$AR" = ""; then AR="${CROSS_COMPILE}ar rv"; fi
8 +AR="${CROSS_COMPILE}ar rv"
9 AC_SUBST(AR)
10 if test "$LD" = ""; then LD="$CC"; fi
11 AC_SUBST(LD)
12 @@ -590,6 +590,15 @@
13 AC_MSG_RESULT([Checking if external sound is set... yes])
14 fi]
15 )
16 +
17 +AC_ARG_ENABLE(ltq_tapi,
18 + AC_HELP_STRING([--enable-ltq-tapi],
19 + [PJMEDIA will use ltq tapi backend]),
20 + [if test "$enable_ltq_tapi" = "yes"; then
21 + [ac_pjmedia_snd=ltqtapi]
22 + AC_MSG_RESULT([Checking if external sound is set... yes])
23 + fi]
24 + )
25
26 dnl # Include resampling small filter
27 AC_SUBST(ac_no_small_filter)
28 --- a/pjmedia/build/os-auto.mak.in
29 +++ b/pjmedia/build/os-auto.mak.in
30 @@ -118,4 +118,11 @@
31 export CFLAGS += -DPJMEDIA_AUDIO_DEV_HAS_PORTAUDIO=0 -DPJMEDIA_AUDIO_DEV_HAS_WMME=0
32 endif
33
34 -
35 +#
36 +# Lantiq tapi backend
37 +#
38 +ifeq ($(AC_PJMEDIA_SND),ltqtapi)
39 +export CFLAGS += -DPJMEDIA_AUDIO_DEV_HAS_PORTAUDIO=0 -DPJMEDIA_AUDIO_DEV_HAS_WMME=0
40 +export PJMEDIA_AUDIODEV_OBJS += tapi_dev.o
41 +export CFLAGS += -DPJMEDIA_AUDIO_DEV_HAS_TAPI_DEVICE=1
42 +endif
This page took 0.054904 seconds and 5 git commands to generate.