Applied this:
2007-12-09 Bruno Haible <[EMAIL PROTECTED]>
* gnulib-tool (func_emit_tests_Makefile_am): Expand references to
the build-aux directory.
*** gnulib-tool.bak
--- gnulib-tool
***************
*** 1883,1889 ****
echo
echo "LDADD = ${testsbase_inverse}/${sourcebase-lib}/${libname}.${libext}"
echo
! cat allsnippets.tmp
echo "# Clean up after Solaris cc."
echo "clean-local:"
echo " rm -rf SunWS_cache"
--- 1883,1890 ----
echo
echo "LDADD = ${testsbase_inverse}/${sourcebase-lib}/${libname}.${libext}"
echo
! cat allsnippets.tmp \
! | sed -e 's|\$(top_srcdir)/build-aux/|$(top_srcdir)/'"$auxdir"'/|g'
echo "# Clean up after Solaris cc."
echo "clean-local:"
echo " rm -rf SunWS_cache"