<p>I see the options:</p>

<ul class="task-list">
<li>if compiled with a flag (e.g., NO_VERSION_DATE), skip adding it completely</li>
<li>if compiled with VERSION_DATE=xyz and VERSION_TIME=abc, then add them instead of predefined macros</li>
<li>if none of above, then compile as it is</li>
</ul>

<p>It should cover all cases one would like to have, I think.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/kamailio/kamailio/issues/60#issuecomment-72198418">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZZ31RnQ4FRXLp288uBK4kmAy3ovCks5nm3qEgaJpZM4DZcu_.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/kamailio/kamailio/issues/60#issuecomment-72198418"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>