Fix references to the build-aux directory in the generated tests/Makefile.am.
authorBruno Haible <bruno@clisp.org>
Mon, 10 Dec 2007 11:06:35 +0000 (12:06 +0100)
committerBruno Haible <bruno@clisp.org>
Mon, 10 Dec 2007 11:06:35 +0000 (12:06 +0100)
ChangeLog
gnulib-tool

index 43f9d503526ad13383899d61209390afd5d5b876..f6366d0f2ad9f6172d25d7954b3655835b3d9cb0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-12-09  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_emit_tests_Makefile_am): Expand references to
+       the build-aux directory.
+
 2007-12-09  Bruno Haible  <bruno@clisp.org>
 
        * gnulib-tool (func_emit_tests_Makefile_am): Remove redundant code
index b33a21a8741e9cd763a511195ee45906bd42856a..a2c38c362e356a1b99b414f07c0f6da131c62186 100755 (executable)
@@ -1883,7 +1883,8 @@ func_emit_tests_Makefile_am ()
   echo
   echo "LDADD = ${testsbase_inverse}/${sourcebase-lib}/${libname}.${libext}"
   echo
-  cat allsnippets.tmp
+  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"