On 24/03/19 23:22, Bruno Haible wrote:
2019-03-24 Bruno Haible <br...@clisp.org>
term-style-control: Add tests.
* tests/test-term-style-control-hello.c: New file.
* tests/test-term-style-control-yes.c: New file.
* modules/term-style-control-tests: New file.
The new tests fail to build on platforms that depend on libintl for
gettext functions.
From Solaris 9/sparc:
/usr/tgcware/gcc49/bin/gcc -std=gnu11 -g -O2 -L/usr/tgcware/lib
-R/usr/tgcware/lib -o test-term-style-control-hello test-term-style-co
ntrol-hello.o ../gllib/libgnu.a -lm -lm -lm -lm -lm -lm
Undefined first referenced
symbol in file
libintl_gettext ../gllib/libgnu.a(xalloc-die.o)
ld: fatal: Symbol referencing errors. No output written to
test-term-style-control-hello
collect2: error: ld returned 1 exit status
make[4]: *** [test-term-style-control-hello] Error 1
depbase=`echo test-term-style-control-yes.o | sed
's|[^/]*$|.deps/&|;s|\.o$||'`;\
/usr/tgcware/gcc49/bin/gcc -std=gnu11 -DHAVE_CONFIG_H -DEXEEXT=\"\" -I.
-DGNULIB_STRICT_CHECKING=1 -I. -I. -I.. -I./.. -I../gllib -I./../gllib
-I/usr/tgcware/include -D_REENTRANT -g -O2 -MT
test-term-style-control-yes.o -MD -MP -MF $depbase.Tpo -c -o
test-term-style-control-yes.o test-term-style-control-yes.c &&\
mv -f $depbase.Tpo $depbase.Po
/usr/tgcware/gcc49/bin/gcc -std=gnu11 -g -O2 -L/usr/tgcware/lib
-R/usr/tgcware/lib -o test-term-style-control-yes
test-term-style-control-yes.o ../gllib/libgnu.a -lm -lm -lm -lm
-lm -lm
Undefined first referenced
symbol in file
libintl_gettext ../gllib/libgnu.a(xalloc-die.o)
ld: fatal: Symbol referencing errors. No output written to
test-term-style-control-yes
collect2: error: ld returned 1 exit status
make[4]: *** [test-term-style-control-yes] Error 1
-tgc