diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2009-08-17 19:17:00 +0200 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2009-08-17 19:17:00 +0200 |
commit | 49d8a0e9c6e32701c7eca91a1204237d3a334e38 (patch) | |
tree | 500e0c09a66970494dffbfe3a36f958762d22f99 /extra/config/zconf.l | |
parent | 7f779e7937cca133ea5f2d18c154c6564516fd9f (diff) |
support building out-of-tree
Handle O=
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'extra/config/zconf.l')
-rw-r--r-- | extra/config/zconf.l | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/extra/config/zconf.l b/extra/config/zconf.l index 5164ef7ce..21ff69c9a 100644 --- a/extra/config/zconf.l +++ b/extra/config/zconf.l @@ -314,11 +314,14 @@ void zconf_nextfile(const char *name) current_buf = buf; if (file->flags & FILE_BUSY) { - printf("recursive scan (%s)?\n", name); + printf("%s:%d: do not source '%s' from itself\n", + zconf_curname(), zconf_lineno(), name); exit(1); } if (file->flags & FILE_SCANNED) { - printf("file %s already scanned?\n", name); + printf("%s:%d: file '%s' is already sourced from '%s'\n", + zconf_curname(), zconf_lineno(), name, + file->parent->name); exit(1); } file->flags |= FILE_BUSY; |