From: Andrey Volk Date: Tue, 17 Nov 2020 16:51:05 +0000 (+0400) Subject: Merge branch 'master' into bootstrap X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0eb8db2682f915326ce6c1a17054067d946373d;p=thirdparty%2Ffreeswitch.git Merge branch 'master' into bootstrap --- a0eb8db2682f915326ce6c1a17054067d946373d diff --cc tests/unit/Makefile.am index 16d6e065ee,c795fd7d9f..a1bce908e8 --- a/tests/unit/Makefile.am +++ b/tests/unit/Makefile.am @@@ -1,11 -1,15 +1,16 @@@ include $(top_srcdir)/build/modmake.rulesam +undefine AM_CFLAGS + noinst_PROGRAMS = switch_event switch_hash switch_ivr_originate switch_utils switch_core switch_console switch_vpx switch_core_file \ switch_ivr_play_say switch_core_codec switch_rtp switch_xml - noinst_PROGRAMS+= switch_core_video switch_core_db - AM_LDFLAGS += -avoid-version -no-undefined $(openssl_LIBS) ++ + noinst_PROGRAMS+= switch_core_video switch_core_db switch_vad -AM_LDFLAGS = -avoid-version -no-undefined $(SWITCH_AM_LDFLAGS) $(openssl_LIBS) ++AM_LDFLAGS = -avoid-version -no-undefined $(openssl_LIBS) AM_LDFLAGS += $(FREESWITCH_LIBS) $(switch_builddir)/libfreeswitch.la $(CORE_LIBS) $(APR_LIBS) -AM_CFLAGS = $(SWITCH_AM_CPPFLAGS) -AM_CPPFLAGS = $(SWITCH_AM_CPPFLAGS) + if HAVE_FVAD + AM_CFLAGS += -DSWITCH_HAVE_FVAD + endif + TESTS = $(noinst_PROGRAMS)