Mercurial > hg > octave-kai > gnulib-hg
changeset 7647:c26d75cebcfa
Fix --create-testdir --with-tests.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Tue, 14 Nov 2006 09:37:20 +0000 |
parents | 33bd42644eec |
children | 982426a871ca |
files | ChangeLog gnulib-tool |
diffstat | 2 files changed, 9 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-11-13 Bruno Haible <bruno@clisp.org> + + * gnulib-tool (func_create_testdir): Set gl_source_base correctly in + the tests directory. + Reported by Ralf Wildenhues. + 2006-11-13 Bruno Haible <bruno@clisp.org> * gnulib-tool (func_emit_initmacro_start): Also override AC_LIBSOURCES.
--- a/gnulib-tool +++ b/gnulib-tool @@ -22,7 +22,7 @@ progname=$0 package=gnulib -cvsdatestamp='$Date: 2006-11-13 19:07:29 $' +cvsdatestamp='$Date: 2006-11-14 09:37:20 $' last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'` version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'` nl=' @@ -2383,7 +2383,6 @@ echo "gl_libdeps=" echo "gl_ltlibdeps=" fi - echo "gl_source_base='$testsbase'" # Wrap the set of autoconf snippets into an autoconf macro that is then # invoked. This is needed because autoconf does not support AC_REQUIRE # at the top level: @@ -2403,6 +2402,7 @@ # We don't have explicit ordering constraints between the various # autoconf snippets. It's cleanest to put those of the library before # those of the tests. + echo "gl_source_base='../$sourcebase'" for module in $modules; do func_verify_nontests_module if test -n "$module"; then @@ -2410,6 +2410,7 @@ | sed -e "$sed_replace_build_aux" fi done + echo "gl_source_base='.'" for module in $modules; do func_verify_tests_module if test -n "$module"; then