[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[FYI] {master} tests: avoid a spurious error on NetBSD
From: |
Stefano Lattarini |
Subject: |
[FYI] {master} tests: avoid a spurious error on NetBSD |
Date: |
Tue, 18 Dec 2012 12:21:47 +0100 |
* t/tags-pr12372.sh (configure.ac): AC_SUBST the LINK variable to a
dummy invocation, to avoid possible errors from make or the linker;
errors we do not care about in the least in this test.
(Makefile.am, sub/Makefile.am): Remove LINK definitions; simply
inherit that in configure.ac.
Signed-off-by: Stefano Lattarini <address@hidden>
---
t/tags-pr12372.sh | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/t/tags-pr12372.sh b/t/tags-pr12372.sh
index e232d5f..2e20322 100755
--- a/t/tags-pr12372.sh
+++ b/t/tags-pr12372.sh
@@ -23,6 +23,9 @@ required='cc etags'
cat >> configure.ac <<'END'
AC_PROG_CC
AC_CONFIG_FILES([sub/Makefile])
+# Fake linking. Help avoid possible spurious errors from make
+# or from the linker; errors that are irrelevant to this test.
+AC_SUBST([LINK], ['echo $(CCLD) $(CFLAGS) $(LDFLAGS) -o $@'])
AC_OUTPUT
END
@@ -33,7 +36,6 @@ all-local: tags
$(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) -c $*.c
rm -f $*.c
-LINK = $(CCLD) $(CFLAGS) $(LDFLAGS) -o $@
noinst_PROGRAMS = foo
foo_SOURCES = foo-main.pc barbar.c
SUBDIRS = sub
@@ -47,7 +49,6 @@ all-local: tags
$(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) -c $*.c
rm -f $*.c
-LINK = $(CCLD) $(CFLAGS) $(LDFLAGS) -o $@
noinst_PROGRAMS = zap
zap_SOURCES = zardoz.pc
END
--
1.8.0.1.347.gf94c325
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [FYI] {master} tests: avoid a spurious error on NetBSD,
Stefano Lattarini <=