changeset 9515:b0f1495adfd8

Fix references to the build-aux directory in the generated tests/Makefile.am.
author Bruno Haible <bruno@clisp.org>
date Mon, 10 Dec 2007 12:06:35 +0100
parents 622ca884ba97
children 020ae1c236a0
files ChangeLog gnulib-tool
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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
--- a/gnulib-tool
+++ b/gnulib-tool
@@ -1883,7 +1883,8 @@
   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"