155-keep_tirpc_optional.patch 251 B

1234567891011
  1. --- a/configure
  2. +++ b/configure
  3. @@ -355,7 +355,7 @@ check_selinux()
  4. check_tirpc()
  5. {
  6. - if ${PKG_CONFIG} libtirpc --exists; then
  7. + if [ "${HAVE_TIRPC}" = "y" ] && ${PKG_CONFIG} libtirpc --exists; then
  8. echo "HAVE_RPC:=y" >>$CONFIG
  9. echo "yes"