[scripts] env: colorize git output
[openwrt.git] / package / pjsip / patches / 0001-configure-fixup.patch
1 From 01108f66fd20dcdbb9fde0dd00924ee4e8c28a7c Mon Sep 17 00:00:00 2001
2 From: John Crispin <blogic@openwrt.org>
3 Date: Sat, 28 Jan 2012 21:41:18 +0100
4 Subject: [PATCH 1/3] configure fixup
5
6 ---
7 pjproject-1.12/aconfigure.ac | 13 +++++++++++--
8 pjproject-1.12/pjmedia/build/os-auto.mak.in | 9 ++++++++-
9 2 files changed, 19 insertions(+), 3 deletions(-)
10
11 diff --git a/aconfigure.ac b/aconfigure.ac
12 index 84295b5..e34fd32 100644
13 --- a/aconfigure.ac
14 +++ b/aconfigure.ac
15 @@ -48,9 +48,9 @@ if test -z "$CROSS_COMPILE"; then
16 CROSS_COMPILE=`echo ${CC} | sed 's/gcc//'`
17 fi
18
19 -if test "$AR" = ""; then AR="${CROSS_COMPILE}ar rv"; fi
20 +AR="${CROSS_COMPILE}ar rv"
21 AC_SUBST(AR)
22 -if test "$LD" = ""; then LD="$CC"; fi
23 +LD="${CROSS_COMPILE}gcc"
24 AC_SUBST(LD)
25 if test "$LDOUT" = ""; then LDOUT="-o "; fi
26 AC_SUBST(LDOUT)
27 @@ -604,6 +604,15 @@ AC_ARG_ENABLE(ext_sound,
28 fi]
29 )
30
31 +AC_ARG_ENABLE(ltq_tapi,
32 + AC_HELP_STRING([--enable-ltq-tapi],
33 + [PJMEDIA will use ltq tapi backend]),
34 + [if test "$enable_ltq_tapi" = "yes"; then
35 + [ac_pjmedia_snd=ltqtapi]
36 + AC_MSG_RESULT([Checking if external sound is set... yes])
37 + fi]
38 + )
39 +
40 dnl # Include resampling small filter
41 AC_SUBST(ac_no_small_filter)
42 AC_ARG_ENABLE(small-filter,
43 diff --git a/pjmedia/build/os-auto.mak.in b/pjmedia/build/os-auto.mak.in
44 index 145f1d5..be38aeb 100644
45 --- a/pjmedia/build/os-auto.mak.in
46 +++ b/pjmedia/build/os-auto.mak.in
47 @@ -125,4 +125,11 @@ ifeq ($(AC_PJMEDIA_SND),external)
48 export CFLAGS += -DPJMEDIA_AUDIO_DEV_HAS_PORTAUDIO=0 -DPJMEDIA_AUDIO_DEV_HAS_WMME=0
49 endif
50
51 -
52 +#
53 +# Lantiq tapi backend
54 +#
55 +ifeq ($(AC_PJMEDIA_SND),ltqtapi)
56 +export CFLAGS += -DPJMEDIA_AUDIO_DEV_HAS_PORTAUDIO=0 -DPJMEDIA_AUDIO_DEV_HAS_WMME=0
57 +export PJMEDIA_AUDIODEV_OBJS += tapi_dev.o
58 +export CFLAGS += -DPJMEDIA_AUDIO_DEV_HAS_TAPI_DEVICE=1
59 +endif
60 --
61 1.7.7.1
62
This page took 0.047921 seconds and 5 git commands to generate.