updating/cleaning freeswitch with some new/old modules
[openwrt/svn-archive/archive.git] / net / freeswitch / patches / 002-Makefile.am.patch
1 --- a/Makefile.am
2 +++ b/Makefile.am
3 @@ -299,7 +299,7 @@ endif
4 ##
5 fs_encode_SOURCES = src/fs_encode.c
6 fs_encode_CFLAGS = $(AM_CFLAGS)
7 -fs_encode_LDFLAGS = $(AM_LDFLAGS) $(CORE_LIBS)
8 +fs_encode_LDFLAGS = $(AM_LDFLAGS) -lpthread $(CORE_LIBS)
9 fs_encode_LDADD = libfreeswitch.la
10
11 ##
12 @@ -307,7 +307,7 @@ fs_encode_LDADD = libfreeswitch.la
13 ##
14 tone2wav_SOURCES = src/tone2wav.c
15 tone2wav_CFLAGS = $(AM_CFLAGS)
16 -tone2wav_LDFLAGS = $(AM_LDFLAGS) $(CORE_LIBS)
17 +tone2wav_LDFLAGS = $(AM_LDFLAGS) -lpthread $(CORE_LIBS)
18 tone2wav_LDADD = libfreeswitch.la
19
20 ##
21 @@ -585,10 +585,13 @@ speex-reconf:
22
23 tiff-reconf:
24 cd libs/tiff-3.8.2 && autoreconf -fi
25 - cd libs/tiff-3.8.2 && sh ./configure.gnu
26 + cd libs/tiff-3.8.2 && sh ./configure.gnu --host=$(HOST) --prefix=$(prefix)
27 cd libs/spandsp && autoreconf -fi
28 - cd libs/spandsp && sh ./configure.gnu
29 - make mod_voipcodecs-clean
30 + cd libs/spandsp && sh ./configure.gnu --host=$(HOST) --prefix=$(prefix)
31 + cd libs/tiff-3.8.2 && $(MAKE)
32 +
33 +spandsp-reconf: tiff-reconf
34 + cd libs/spandsp && $(MAKE)
35
36 python-reconf:
37 rm -f src/mod/languages/mod_python/Makefile
38 @@ -611,12 +614,6 @@ iks-reconf:
39 cd libs/iksemel && sh ./configure.gnu --prefix=$(prefix)
40 $(MAKE) mod_dingaling-clean
41
42 -spandsp-reconf:
43 - cd libs/spandsp && $(MAKE) clean || echo
44 - cd libs/spandsp && autoreconf -fi
45 - cd libs/spandsp && sh ./configure.gnu --prefix=$(prefix)
46 - cd libs/spandsp && $(MAKE)
47 -
48 sofia-reconf:
49 cd libs/sofia-sip && sh ./autogen.sh
50 cd libs/sofia-sip && $(MAKE) clean