|
|
@ -26,11 +26,11 @@ if( WITH_SASL )
|
|
|
|
endif( )
|
|
|
|
endif( )
|
|
|
|
|
|
|
|
|
|
|
|
# rpc/rpc.h, originally was shipped with glibc ...
|
|
|
|
# rpc/rpc.h, originally was shipped with glibc ...
|
|
|
|
check_include_file( rpc/rpc.h HAVE_RPC_H )
|
|
|
|
|
|
|
|
# ... but later might be not present (deprecated from 2.26)
|
|
|
|
# ... but later might be not present (deprecated from 2.26)
|
|
|
|
if( NOT HAVE_RPC_H )
|
|
|
|
pkg_search_module( TIRPC libtirpc )
|
|
|
|
pkg_search_module( TIRPC libtirpc )
|
|
|
|
if( NOT TIRPC_FOUND )
|
|
|
|
if( NOT TIRPC_FOUND )
|
|
|
|
check_include_file( rpc/rpc.h HAVE_RPC_H )
|
|
|
|
|
|
|
|
if( NOT HAVE_RPC_H )
|
|
|
|
tde_message_fatal( "rpc/rpc.h is required, please check your glibc or libtirpc package" )
|
|
|
|
tde_message_fatal( "rpc/rpc.h is required, please check your glibc or libtirpc package" )
|
|
|
|
endif( )
|
|
|
|
endif( )
|
|
|
|
endif( )
|
|
|
|
endif( )
|
|
|
|