* Gary V. Vaughan wrote on Wed, Apr 23, 2008 at 12:54:57AM CEST: > 27. static.at:357: testing ... > ../../tests/static.at:373: $CC $CPPFLAGS $CFLAGS -c a.c > stdout: > ../../tests/static.at:375: $LIBTOOL --mode=link --tag=CC ./ccache $CC > $CFLAGS $LDFLAGS -all-static a.$OBJEXT -o a > --- /dev/null 2008-04-22 18:51:28.000000000 -0400 > +++ /Users/gary/Devo/libtool--master--0/+build/tests/testsuite.dir/at- > stderr 2008-04-22 18:51:32.000000000 -0400 > @@ -0,0 +1 @@ > +libtool: link: warning: complete static linking is impossible in this > configuration > stdout: > libtool: link: ./ccache gcc -g -O2 a.o -o a > 27. static.at:357: FAILED (static.at:375)
Thanks. Fixed as below. (We could skip the test if link_static_flag is empty, but we'd have to ignore linker warning output for stupid systems anyway, so might as well just do that.) Sorry for not doing that right away. Cheers, Ralf 2008-04-23 Ralf Wildenhues <[EMAIL PROTECTED]> * tests/static.at (ccache -all-static): Ignore link warnings. Report by Gary V. Vaughan. diff --git a/tests/static.at b/tests/static.at index 1a51d0d..b5e9946 100644 --- a/tests/static.at +++ b/tests/static.at @@ -372,6 +372,6 @@ AT_DATA([a.c], AT_CHECK([$CC $CPPFLAGS $CFLAGS -c a.c], [], [ignore]) AT_CHECK([$LIBTOOL --mode=link --tag=CC ./ccache $CC $CFLAGS $LDFLAGS -all-static a.$OBJEXT -o a], - [], [ignore]) + [], [ignore], [ignore]) AT_CLEANUP