fix tcl module compilation

test programs don't compile when compiling for TCL_MODULE
due to redefinition of fprintf()
This commit is contained in:
rlar 2012-05-17 20:13:02 +02:00
parent 6ae6223250
commit b1cbebaa99
1 changed files with 2 additions and 4 deletions

View File

@ -13,9 +13,8 @@ libcmaths_la_SOURCES = \
cmath4.c \
cmath4.h
## Test programs fail to build on Windows
if !TCL_MODULE
if !WINDOWS
if !TCLWIN
noinst_PROGRAMS = test_cx_mag test_cx_j test_cx_ph test_cx_cph
@ -53,9 +52,8 @@ test_cx_j_LDADD = \
TESTS = test_cx_mag test_cx_j test_cx_ph test_cx_cph
endif !TCLWIN
endif !WINDOWS
endif !TCL_MODULE
AM_CPPFLAGS = @AM_CPPFLAGS@ -I$(top_srcdir)/src/include -I$(top_srcdir)/src/maths/poly