Use PTHREAD_CFLAGS for all test sources
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 9 Mar 2010 14:13:48 +0000 (15:13 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 9 Mar 2010 14:13:48 +0000 (15:13 +0100)
At this stage only tst_icu_I18N use threads.

test/Makefile.am

index 08c0eda..8937de7 100644 (file)
@@ -50,6 +50,7 @@ tstodrcodec.c tstodrcodec.h: tstodr.asn $(YAZCOMP)
 
 LDADD = ../src/libyaz.la
 tst_icu_I18N_LDADD = ../src/libyaz_icu.la $(ICU_LIBS)
+AM_CFLAGS = $(PTHREAD_CFLAGS)
 
 
 CONFIG_CLEAN_FILES=*.log
@@ -76,7 +77,6 @@ tst_retrieval_SOURCES = tst_retrieval.c
 tst_tpath_SOURCES = tst_tpath.c
 tst_timing_SOURCES = tst_timing.c
 tst_query_charset_SOURCES = tst_query_charset.c
-tst_icu_I18N_CFLAGS = $(PTHREAD_CFLAGS)
 tst_icu_I18N_SOURCES = tst_icu_I18N.c
 tst_match_glob_SOURCES = tst_match_glob.c
 tst_rpn2cql_SOURCES = tst_rpn2cql.c