<p>Speaking as Debian Maintainer, this is something that needs to be handled by packaging system and dependencies/breaks. I see no problem (read: compared to downsides of detecting it at runtime) with specifying a path at compile time at all.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br><a href="https://github.com/monitoring-plugins/monitoring-plugins/issues/1394#issuecomment-184278507">Reply to this email on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFQl2ZcbEoYgJUCL1dnnTIWn-VkvEGILks5pkfIogaJpZM4GmI8l.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/monitoring-plugins/monitoring-plugins/issues/1394#issuecomment-184278507"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>