Skip to content

Commit

Permalink
replace: Only warn if rpc/rpc.h haven't been found
Browse files Browse the repository at this point in the history
This is also used by talloc, tevent, etc. Those libs don't need or use
rpc.h

Signed-off-by: Andreas Schneider <[email protected]>
Reviewed-by: Ralph Boehme <[email protected]>

Autobuild-User(master): Ralph Böhme <[email protected]>
Autobuild-Date(master): Tue Feb 27 03:23:37 CET 2018 on sn-devel-144
  • Loading branch information
cryptomilk authored and slowfranklin committed Feb 27, 2018
1 parent 5f4b71d commit 3508268
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/replace/wscript
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 3508268

Please sign in to comment.