automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Avoid nonportable `./FILE' instead of `FILE' in test.


From: Ralf Wildenhues
Subject: Avoid nonportable `./FILE' instead of `FILE' in test.
Date: Sun, 19 Apr 2009 17:43:29 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

This test failure only showed up with parallel NetBSD make: it doesn't
identify `./FILE' and `FILE', and with serial execution, the library in
question is built before the program linking to it anyway.

Pushed to master and branch-1-10.

Cheers,
Ralf

    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.

diff --git a/tests/libtool3.test b/tests/libtool3.test
index 674a18c..c89f076 100755
--- a/tests/libtool3.test
+++ b/tests/libtool3.test
@@ -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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]