mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-05-01 14:23:42 +00:00
don't build files that will have no contents due to ifdefs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13672 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
23ad42ec71
commit
346932e31a
@ -1 +1 @@
|
|||||||
Wed Dec 10 12:08:07 CST 2008
|
Mon Jun 8 12:13:41 EDT 2009
|
||||||
|
30125
libs/libg722_1/configure
vendored
30125
libs/libg722_1/configure
vendored
File diff suppressed because it is too large
Load Diff
@ -289,14 +289,20 @@ AM_CONDITIONAL([COND_SSE5], [test "$enable_sse5" = yes])
|
|||||||
if test "$enable_fixed_point" = "yes" ; then
|
if test "$enable_fixed_point" = "yes" ; then
|
||||||
AC_DEFINE([G722_1_USE_FIXED_POINT], [1], [Enable fixed point processing, where possible, instead of floating point])
|
AC_DEFINE([G722_1_USE_FIXED_POINT], [1], [Enable fixed point processing, where possible, instead of floating point])
|
||||||
G722_1_USE_FIXED_POINT="#define G722_1_USE_FIXED_POINT 1"
|
G722_1_USE_FIXED_POINT="#define G722_1_USE_FIXED_POINT 1"
|
||||||
|
fixed = "yes"
|
||||||
G722_1_VECTORS_FOR_TESTS="fixed"
|
G722_1_VECTORS_FOR_TESTS="fixed"
|
||||||
else
|
else
|
||||||
AX_FIXED_POINT_MACHINE([$host],
|
AX_FIXED_POINT_MACHINE([$host],
|
||||||
[AC_DEFINE([G722_1_USE_FIXED_POINT], [1], [Enable fixed point processing, where possible, instead of floating point])
|
[
|
||||||
G722_1_USE_FIXED_POINT="#define G722_1_USE_FIXED_POINT 1"],
|
AC_DEFINE([G722_1_USE_FIXED_POINT], [1], [Enable fixed point processing, where possible, instead of floating point])
|
||||||
|
G722_1_USE_FIXED_POINT="#define G722_1_USE_FIXED_POINT 1"
|
||||||
|
fixed = "yes"
|
||||||
|
],
|
||||||
[G722_1_USE_FIXED_POINT="#undef G722_1_USE_FIXED_POINT"])
|
[G722_1_USE_FIXED_POINT="#undef G722_1_USE_FIXED_POINT"])
|
||||||
G722_1_VECTORS_FOR_TESTS="floating"
|
G722_1_VECTORS_FOR_TESTS="floating"
|
||||||
fi
|
fi
|
||||||
|
AM_CONDITIONAL([COND_FIXED], [test "$fixed" = "yes"])
|
||||||
|
|
||||||
AX_MISALIGNED_ACCESS_FAILS([$host],
|
AX_MISALIGNED_ACCESS_FAILS([$host],
|
||||||
[AC_DEFINE([G722_1_MISALIGNED_ACCESS_FAILS], [1], [Do not expect a misaligned memory access to work correctly])
|
[AC_DEFINE([G722_1_MISALIGNED_ACCESS_FAILS], [1], [Do not expect a misaligned memory access to work correctly])
|
||||||
G722_1_MISALIGNED_ACCESS_FAILS="#define G722_1_MISALIGNED_ACCESS_FAILS 1"],
|
G722_1_MISALIGNED_ACCESS_FAILS="#define G722_1_MISALIGNED_ACCESS_FAILS 1"],
|
||||||
|
@ -42,8 +42,7 @@ INCLUDES = -I$(top_builddir)
|
|||||||
|
|
||||||
lib_LTLIBRARIES = libg722_1.la
|
lib_LTLIBRARIES = libg722_1.la
|
||||||
|
|
||||||
libg722_1_la_SOURCES = basop32.c \
|
libg722_1_la_SOURCES = bitstream.c \
|
||||||
bitstream.c \
|
|
||||||
coef2sam.c \
|
coef2sam.c \
|
||||||
common.c \
|
common.c \
|
||||||
commonf.c \
|
commonf.c \
|
||||||
@ -58,6 +57,9 @@ libg722_1_la_SOURCES = basop32.c \
|
|||||||
sam2coef.c \
|
sam2coef.c \
|
||||||
tables.c
|
tables.c
|
||||||
|
|
||||||
|
if COND_FIXED
|
||||||
|
libg722_1_la_SOURCES += basop32.c
|
||||||
|
endif
|
||||||
libg722_1_la_LDFLAGS = -version-info @G722_1_LT_CURRENT@:@G722_1_LT_REVISION@:@G722_1_LT_AGE@ $(COMP_VENDOR_LDFLAGS)
|
libg722_1_la_LDFLAGS = -version-info @G722_1_LT_CURRENT@:@G722_1_LT_REVISION@:@G722_1_LT_AGE@ $(COMP_VENDOR_LDFLAGS)
|
||||||
|
|
||||||
nobase_include_HEADERS = g722_1/g722_1.h \
|
nobase_include_HEADERS = g722_1/g722_1.h \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user