summaryrefslogtreecommitdiff
path: root/read.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>1999-02-19 18:07:49 +0000
committerPaul Smith <psmith@gnu.org>1999-02-19 18:07:49 +0000
commit84f38c9c6f56c7056a1d1a5abf9151bf15760151 (patch)
treee1b51c8fb565ac9c6e098e4d7bc932b43b93925d /read.c
parent58085071441553b34ad1b06cd3f328bc15705383 (diff)
downloadgunmake-84f38c9c6f56c7056a1d1a5abf9151bf15760151.tar.gz
* Updates for automake 1.4 and autoconf 2.13
* Check for a libc version of GNU glob and, if found, don't use the local glob headers. * Fix a bug in OpenVMS archive handling. * Fix a bug in VMS siglist processing.
Diffstat (limited to 'read.c')
-rw-r--r--read.c19
1 files changed, 7 insertions, 12 deletions
diff --git a/read.c b/read.c
index 242f953..b5efca2 100644
--- a/read.c
+++ b/read.c
@@ -1597,16 +1597,13 @@ record_files (filenames, pattern, pattern_percent, deps, cmds_started,
if (f->double_colon)
fatal (flocp,
- "target file `%s' has both : and :: entries",
- f->name);
+ "target file `%s' has both : and :: entries", f->name);
/* If CMDS == F->CMDS, this target was listed in this rule
more than once. Just give a warning since this is harmless. */
if (cmds != 0 && cmds == f->cmds)
- error
- (flocp,
- "target `%s' given more than once in the same rule.",
- f->name);
+ error (flocp, "target `%s' given more than once in the same rule.",
+ f->name);
/* Check for two single-colon entries both with commands.
Check is_target so that we don't lose on files such as .c.o
@@ -1614,11 +1611,10 @@ record_files (filenames, pattern, pattern_percent, deps, cmds_started,
else if (cmds != 0 && f->cmds != 0 && f->is_target)
{
error (&cmds->fileinfo,
- "warning: overriding commands for target `%s'",
- f->name);
+ "warning: overriding commands for target `%s'", f->name);
error (&f->cmds->fileinfo,
- "warning: ignoring old commands for target `%s'",
- f->name);
+ "warning: ignoring old commands for target `%s'",
+ f->name);
}
f->is_target = 1;
@@ -1699,8 +1695,7 @@ record_files (filenames, pattern, pattern_percent, deps, cmds_started,
we don't lose on default suffix rules or makefiles. */
if (f != 0 && f->is_target && !f->double_colon)
fatal (flocp,
- "target file `%s' has both : and :: entries",
- f->name);
+ "target file `%s' has both : and :: entries", f->name);
f = enter_file (name);
/* If there was an existing entry and it was a double-colon
entry, enter_file will have returned a new one, making it the