The tests of cmaths function will be done only on request,
with configure flag --enable-cmathtests
This commit is contained in:
parent
ca27319213
commit
1698004078
|
|
@ -185,6 +185,10 @@ AC_ARG_ENABLE([ndev],
|
|||
AC_ARG_ENABLE([cluster],
|
||||
[AS_HELP_STRING([--enable-cluster], [Enable cluster support, (experimental)])])
|
||||
|
||||
# --enable-cmathtests: run the ancient tests in src/math/cmaths
|
||||
AC_ARG_ENABLE([cmathtests],
|
||||
[AS_HELP_STRING([--enable-cmathtests], [Enable ancient tests in src/math/cmaths])])
|
||||
|
||||
# --enable-help: try to force --ansi option to the compiler
|
||||
AC_ARG_ENABLE([help],
|
||||
[AS_HELP_STRING([--enable-help], [Force building nghelp (deprecated)])])
|
||||
|
|
@ -987,6 +991,8 @@ AX_PROG_BISON_VERSION([2.7], [],
|
|||
AC_MSG_WARN([Bison is older than 2.7])])
|
||||
AC_PROG_LEX
|
||||
|
||||
AM_CONDITIONAL([CMATHTESTS], [test "x$enable_cmathtests" = xyes])
|
||||
|
||||
################# XSPICE ##################################################
|
||||
# Add new code models to the build by pointing to them here.
|
||||
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ libcmaths_la_SOURCES = \
|
|||
cmath4.c \
|
||||
cmath4.h
|
||||
|
||||
if CMATHTESTS
|
||||
if !TCL_MODULE
|
||||
if !WINGUI
|
||||
if !SHARED_MODULE
|
||||
|
|
@ -56,6 +57,7 @@ TESTS = test_cx_mag test_cx_j test_cx_ph test_cx_cph
|
|||
endif !SHARED_MODULE
|
||||
endif !WINGUI
|
||||
endif !TCL_MODULE
|
||||
endif CMATHTESTS
|
||||
|
||||
AM_CPPFLAGS = @AM_CPPFLAGS@ -I$(top_srcdir)/src/include -I$(top_srcdir)/src/maths/poly
|
||||
AM_CFLAGS = $(STATIC)
|
||||
|
|
|
|||
Loading…
Reference in New Issue