automake-patches
[Top][All Lists]
Advanced

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

Patch: FYI: new auxdir test


From: Tom Tromey
Subject: Patch: FYI: new auxdir test
Date: 22 Jul 2001 19:27:32 -0600

I'm checking this in.  It adds a test to make sure computed auxdirs
work.  This is a weird thing which as far as I know is only done when
building multilibs.  Still, there are several places where this is
done (in the gcc tree), and right now there are explicit hacks in
these configure.in's saying things like `work around automake
lossage'.  I'd like to see if this is fixable before 1.5.

Tom

Index: ChangeLog
from  Tom Tromey  <address@hidden>
        * tests/Makefile.am (TESTS): Added auxdir2.test.
        (XFAIL_TESTS): Likewise.
        * tests/auxdir2.test: New file.

Index: tests/Makefile.am
===================================================================
RCS file: /cvs/automake/automake/tests/Makefile.am,v
retrieving revision 1.331
diff -u -r1.331 Makefile.am
--- tests/Makefile.am 2001/07/23 00:53:50 1.331
+++ tests/Makefile.am 2001/07/23 01:00:10
@@ -1,6 +1,6 @@
 ## Process this file with automake to create Makefile.in
 
-XFAIL_TESTS = subdir5.test
+XFAIL_TESTS = subdir5.test auxdir2.test
 
 TESTS =        \
 acinclude.test \
@@ -25,6 +25,7 @@
 ansi5.test \
 asm.test \
 auxdir.test \
+auxdir2.test \
 backsl.test \
 backsl2.test \
 badline.test \
Index: tests/Makefile.in
===================================================================
RCS file: /cvs/automake/automake/tests/Makefile.in,v
retrieving revision 1.431
diff -u -r1.431 Makefile.in
--- tests/Makefile.in 2001/07/23 00:53:50 1.431
+++ tests/Makefile.in 2001/07/23 01:00:10
@@ -66,7 +66,7 @@
 _am_quote = @_am_quote@
 install_sh = @install_sh@
 
-XFAIL_TESTS = subdir5.test
+XFAIL_TESTS = subdir5.test auxdir2.test
 
 TESTS = \
 acinclude.test \
@@ -91,6 +91,7 @@
 ansi5.test \
 asm.test \
 auxdir.test \
+auxdir2.test \
 backsl.test \
 backsl2.test \
 badline.test \
Index: tests/auxdir2.test
===================================================================
RCS file: auxdir2.test
diff -N auxdir2.test
--- /dev/null   Tue May  5 13:32:27 1998
+++ tests/auxdir2.test Sun Jul 22 18:00:10 2001
@@ -0,0 +1,15 @@
+#! /bin/sh
+
+# It should be possible to use a computed auxdir.  This might seem
+# bizarre, but it is actually used in multilib builds.
+
+. $srcdir/defs || exit 1
+
+# The "./." is here so we don't have to mess with subdirs.
+cat >> configure.in << 'END'
+AC_CONFIG_AUX_DIR($foo)
+END
+
+: > Makefile.am
+
+$AUTOMAKE



reply via email to

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