wide string targets now conditionally compiled

This commit is contained in:
jez 2006-09-19 21:05:25 +00:00
parent dc5070db07
commit 976955cff3
5 changed files with 15 additions and 4 deletions

View file

@ -9,4 +9,5 @@ AC_DEFUN([ARABICA_HAS_STD_WSTRING],
if test $wchar_t_available = no; then
AC_DEFINE(ARABICA_NO_WCHAR_T, ,[disables wchar_t])
fi
AM_CONDITIONAL(HAS_STD_WSTRING, test $wchar_t_available = yes)
])

View file

@ -1,5 +1,8 @@
bin_PROGRAMS = dom_test dom_test_silly dom_test_wide
bin_PROGRAMS = dom_test dom_test_silly
if HAS_STD_WSTRING
bin_PROGRAMS += dom_test_wide
endif
LIBARABICA = $(top_builddir)/src/libarabica.la

View file

@ -24,7 +24,11 @@ cppunit_sources = ../CppUnit/framework/CppUnitException.h \
test_sources = test_SAX.h
sax2dom_test_SOURCES = main.cpp $(cppunit_sources) $(test_sources) ../silly_string/silly_string.cpp ../silly_string/silly_string.hpp
sax2dom_test_SOURCES = main.cpp \
$(cppunit_sources) \
$(test_sources) \
../silly_string/silly_string.cpp \
../silly_string/silly_string.hpp
sax2dom_test_DEPENDENCES = $(LIBARABICA)
sax2dom_test_LDADD = $(LIBARABICA)

View file

@ -1,5 +1,8 @@
bin_PROGRAMS = xpath_test xpath_test_silly xpath_test_wide
bin_PROGRAMS = xpath_test xpath_test_silly
if HAS_STD_WSTRING
bin_PROGRAMS += xpath_test_wide
endif
LIBARABICA = $(top_builddir)/src/libarabica.la