package/kernel: add ATH79 symbols for OHCI/EHCI drivers
[openwrt.git] / package / pjsip / patches / 000-aconf.patch
1 --- a/aconfigure.ac
2 +++ b/aconfigure.ac
3 @@ -48,9 +48,9 @@ if test -z "$CROSS_COMPILE"; then
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 +LD="${CROSS_COMPILE}gcc"
12 AC_SUBST(LD)
13 if test "$LDOUT" = ""; then LDOUT="-o"; fi
14 AC_SUBST(LDOUT)
15 @@ -597,6 +597,15 @@ AC_ARG_ENABLE(ext_sound,
16 AC_MSG_RESULT([Checking if external sound is set... yes])
17 fi]
18 )
19 +
20 +AC_ARG_ENABLE(ltq_tapi,
21 + AC_HELP_STRING([--enable-ltq-tapi],
22 + [PJMEDIA will use ltq tapi backend]),
23 + [if test "$enable_ltq_tapi" = "yes"; then
24 + [ac_pjmedia_snd=ltqtapi]
25 + AC_MSG_RESULT([Checking if external sound is set... yes])
26 + fi]
27 + )
28
29 dnl # Include resampling small filter
30 AC_SUBST(ac_no_small_filter)
31 --- a/pjmedia/build/os-auto.mak.in
32 +++ b/pjmedia/build/os-auto.mak.in
33 @@ -118,4 +118,11 @@ ifeq ($(AC_PJMEDIA_SND),external)
34 export CFLAGS += -DPJMEDIA_AUDIO_DEV_HAS_PORTAUDIO=0 -DPJMEDIA_AUDIO_DEV_HAS_WMME=0
35 endif
36
37 -
38 +#
39 +# Lantiq tapi backend
40 +#
41 +ifeq ($(AC_PJMEDIA_SND),ltqtapi)
42 +export CFLAGS += -DPJMEDIA_AUDIO_DEV_HAS_PORTAUDIO=0 -DPJMEDIA_AUDIO_DEV_HAS_WMME=0
43 +export PJMEDIA_AUDIODEV_OBJS += tapi_dev.o
44 +export CFLAGS += -DPJMEDIA_AUDIO_DEV_HAS_TAPI_DEVICE=1
45 +endif
This page took 0.043683 seconds and 5 git commands to generate.