mirror of
https://github.com/jezhiggins/arabica
synced 2025-01-29 08:36:45 +01:00
wide string targets now conditionally compiled
This commit is contained in:
parent
dc5070db07
commit
976955cff3
5 changed files with 15 additions and 4 deletions
|
@ -9,4 +9,5 @@ AC_DEFUN([ARABICA_HAS_STD_WSTRING],
|
||||||
if test $wchar_t_available = no; then
|
if test $wchar_t_available = no; then
|
||||||
AC_DEFINE(ARABICA_NO_WCHAR_T, ,[disables wchar_t])
|
AC_DEFINE(ARABICA_NO_WCHAR_T, ,[disables wchar_t])
|
||||||
fi
|
fi
|
||||||
|
AM_CONDITIONAL(HAS_STD_WSTRING, test $wchar_t_available = yes)
|
||||||
])
|
])
|
||||||
|
|
|
@ -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
|
LIBARABICA = $(top_builddir)/src/libarabica.la
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,11 @@ cppunit_sources = ../CppUnit/framework/CppUnitException.h \
|
||||||
|
|
||||||
test_sources = test_SAX.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_DEPENDENCES = $(LIBARABICA)
|
||||||
sax2dom_test_LDADD = $(LIBARABICA)
|
sax2dom_test_LDADD = $(LIBARABICA)
|
||||||
|
|
||||||
|
|
|
@ -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
|
LIBARABICA = $(top_builddir)/src/libarabica.la
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue