diff options
| author | fergus.henderson <fergushenderson@users.noreply.github.com> | 2008-09-08 17:51:40 +0000 |
|---|---|---|
| committer | fergus.henderson <fergushenderson@users.noreply.github.com> | 2008-09-08 17:51:40 +0000 |
| commit | 1dfdc4eee357f25726f2e8176ea258a61cc902c8 (patch) | |
| tree | 898012f25b1fa9657be736977b5809283cf13cec /Makefile.in | |
| parent | 4ea3f5e577bff5484633d5d11e1f805b60b329af (diff) | |
| download | distcc-git-1dfdc4eee357f25726f2e8176ea258a61cc902c8.tar.gz | |
Report a better error message if a host specification contains ",cpp"
but not ",lzo".
Previously, setting ",cpp" without ",lzo" would quietly set the protocol
version to -1, which the server would then quietly reject (logging as
"REJ_BAD_REQ"), and then the client would guess (poorly) at why the
server had dropped the connection.
Reviewed by Craig Silverstein.
Diffstat (limited to 'Makefile.in')
| -rw-r--r-- | Makefile.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in index 34911f3..c271531 100644 --- a/Makefile.in +++ b/Makefile.in @@ -732,7 +732,7 @@ include-server-maintainer-check: include-server # Do distcc-maintainer-check in pump-mode, if possible. pump-maintainer-check: pump include-server check_programs @if [ -d "$(include_server_builddir)" ]; then \ - DISTCC_HOSTS='<invalid>,cpp' \ + DISTCC_HOSTS='<invalid>,cpp,lzo' \ "$(builddir)/pump" \ $(MAKE) \ RESTRICTED_PATH="$(RESTRICTED_PATH)" \ @@ -776,7 +776,7 @@ single-test: check_programs # Run a single test in pump-mode. pump-single-test: pump include-server check_programs - DISTCC_HOSTS='<invalid>,cpp' \ + DISTCC_HOSTS='<invalid>,cpp,lzo' \ "$(builddir)/pump" \ $(MAKE) \ RESTRICTED_PATH="$(RESTRICTED_PATH)" \ @@ -817,7 +817,7 @@ distcc-installcheck: $(check_PROGRAMS) pump-installcheck: which_loc=`which which`; \ pump_loc=`PATH="$(DISTCC_INSTALLATION)" "$$which_loc" pump`; \ - DISTCC_HOSTS='<invalid>,cpp' \ + DISTCC_HOSTS='<invalid>,cpp,lzo' \ "$$pump_loc" \ $(MAKE) DISTCC_INSTALLATION="$(DISTCC_INSTALLATION)" \ RESTRICTED_PATH="$(RESTRICTED_PATH)" \ |
