summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2018-02-26 14:07:28 +0100
committerRalph Boehme <slow@samba.org>2018-02-27 03:23:37 +0100
commit350826868dc81846e0b1086ad5f69506ae2a44f6 (patch)
tree2f189c9114bad4a36b1488ba47619095d11a7f69 /lib
parent5f4b71d21d5018fe36150b03bc1a0593d4ead747 (diff)
downloadsamba-350826868dc81846e0b1086ad5f69506ae2a44f6.tar.gz
replace: Only warn if rpc/rpc.h haven't been found
This is also used by talloc, tevent, etc. Those libs don't need or use rpc.h Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org> Autobuild-User(master): Ralph Böhme <slow@samba.org> Autobuild-Date(master): Tue Feb 27 03:23:37 CET 2018 on sn-devel-144
Diffstat (limited to 'lib')
-rw-r--r--lib/replace/wscript3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript
index 2c638b77212..a2e2d118477 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -82,8 +82,7 @@ def configure(conf):
conf.CHECK_HEADERS('rpc/rpc.h rpc/nettype.h', lib='tirpc', together=True)
conf.SET_TARGET_TYPE('tirpc', 'SYSLIB')
if not conf.CONFIG_SET('HAVE_RPC_RPC_H'):
- Logs.error('ERROR: No rpc/rpc.h header found, tirpc or libntirpc missing?')
- sys.exit(1)
+ Logs.warn('No rpc/rpc.h header found, tirpc or libntirpc missing?')
conf.SET_TARGET_TYPE('nsl', 'EMPTY')
conf.CHECK_HEADERS('rpc/rpc.h rpcsvc/yp_prot.h', lib='tirpc')