Avoid nonportable `./FILE' instead of `FILE' in test.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 19 Apr 2009 15:39:03 +0000 (17:39 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 19 Apr 2009 15:39:03 +0000 (17:39 +0200)
* tests/libtool3.test: Do not use `$(top_builddir)/sub/libname.la'
in *_LDADD entry if `$(top_builddir)' is `.'.  Fixes test failure
with parallel NetBSD make.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
tests/libtool3.test

index c715a70..0e7f941 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2009-04-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+       Avoid nonportable `./FILE' instead of `FILE' in test.
+       * tests/libtool3.test: Do not use `$(top_builddir)/sub/libname.la'
+       in *_LDADD entry if `$(top_builddir)' is `.'.  Fixes test failure
+       with parallel NetBSD make.
+
        Detect make `include' style also with parallel non-GNU make.
        Parallel NetBSD make outputs `--- $target ---' messages,
        parallel HP-UX make outputs `Making target"$target"'.  Just
index 674a18c..c89f076 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2002, 2004  Free Software Foundation, Inc.
+# Copyright (C) 2002, 2004, 2009  Free Software Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -35,7 +35,7 @@ liba_liba_la_SOURCES = liba/a.c
 
 bin_PROGRAMS = 1
 1_SOURCES = sub/1.c
-1_LDADD = lib0.la $(top_builddir)/liba/liba.la
+1_LDADD = lib0.la liba/liba.la
 END
 
 mkdir liba sub