summaryrefslogtreecommitdiff
path: root/t/subobj11a.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/subobj11a.sh')
-rw-r--r--t/subobj11a.sh19
1 files changed, 11 insertions, 8 deletions
diff --git a/t/subobj11a.sh b/t/subobj11a.sh
index 6fc9ceea2..0ae65381a 100644
--- a/t/subobj11a.sh
+++ b/t/subobj11a.sh
@@ -14,17 +14,21 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-# Test that automake works around a bug of Solaris Make. The bug is the
-# following. If we have a Makefile containg a file inclusion like this:
+# If we have a Makefile containing a file inclusion like this:
+#
# include .//foo.mk
-# Solaris make fails with a message like:
+#
+# Solaris 10 make fails with a message like:
+#
# make: ... can't find '/foo.mk': No such file or directory
# make: fatal error ... read of include file '/foo.mk' failed
-# (even if the file 'foo.mk' exists). The error disappear by collapsing
-# the repeated slash '/' characters into a single one.
#
-# See also sister "grepping" test 'subobj11b.sh', and related test
-# 'subobj11c.sh'.
+# (even if the file 'foo.mk' exists). Our dependency tracking support
+# code used to generate include directives like that sometimes, thus
+# causing spurious failures.
+#
+# GNU make shouldn't suffer from that Solaris make bug, but we check
+# the problematic setup anyway -- better safe than sorry.
required=cc
. test-init.sh
@@ -35,7 +39,6 @@ AC_OUTPUT
END
cat > Makefile.am << 'END'
-AUTOMAKE_OPTIONS = subdir-objects
bin_PROGRAMS = foo
## The './/' below is meant.
foo_SOURCES = .//src/foo.c