<html lang='en'>
<head>
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
<title>
GitLab
</title>
</meta>
</head>
<style>
  img {
    max-width: 100%;
    height: auto;
  }
  p.details {
    font-style:italic;
    color:#777
  }
  .footer p {
    font-size:small;
    color:#777
  }
  pre.commit-message {
    white-space: pre-wrap;
  }
  .file-stats a {
    text-decoration: none;
  }
  .file-stats .new-file {
    color: #090;
  }
  .file-stats .deleted-file {
    color: #B00;
  }
</style>
<body>
<div class='content'>
<h3>Amar Takhar pushed to branch master at <a href="https://gitlab.com/NTPsec/ntpsec">NTPsec / ntpsec</a></h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://gitlab.com/NTPsec/ntpsec/commit/119443f863f24824abaa51aa099abb1b2051b5fe">119443f8</a></strong>
<div>
<span>by Amar Takhar</span>
<i>at 2015-12-07T18:36:03Z</i>
</div>
<pre class='commit-message'>Fix audio refclocks by moving test block above refclock configuring.</pre>
</li>
</ul>
<h4>1 changed file:</h4>
<ul>
<li class='file-stats'>
<a href='#diff-0'>
pylib/configure.py
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id='diff-0'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/119443f863f24824abaa51aa099abb1b2051b5fe#diff-0'>
<strong>
pylib/configure.py
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/pylib/configure.py
</span><span style="color: #000000;background-color: #ddffdd">+++ b/pylib/configure.py
</span><span style="color: #aaaaaa">@@ -337,6 +337,13 @@ def cmd_configure(ctx):
</span> 
        if ctx.options.refclocks:
                from refclock import refclock_config
<span style="color: #000000;background-color: #ddffdd">+
+               # Enable audio when the right headers exist.
+               if ctx.get_define("HAVE_SYS_AUDIOIO_H") or \
+                               ctx.get_define("HAVE_SYS_SOUNDCARD_H") or \
+                               ctx.get_define("HAVE_MACHINE_SOUNDCARD_H"):
+                       ctx.env.AUDIO_ENABLE = True
+
</span>           refclock_config(ctx)
 
        # FIXME: These other things should be derived,
<span style="color: #aaaaaa">@@ -456,13 +463,6 @@ def cmd_configure(ctx):
</span> 
        ctx.define("DIR_SEP", "'%s'" % sep, quote=False)
 
<span style="color: #000000;background-color: #ffdddd">-        # Enable audio when the right headers exist.
-       if ctx.get_define("HAVE_SYS_AUDIOIO_H") or \
-                       ctx.get_define("HAVE_SYS_SOUNDCARD_H") or \
-                       ctx.get_define("HAVE_MACHINE_SOUNDCARD_H"):
-               ctx.env.AUDIO_ENABLE = True
-
-
</span>   # libisc/
        # XXX: Hack that needs to be fixed properly for all platforms
        ctx.define("ISC_PLATFORM_NORETURN_PRE", "", quote=False)
</code></pre>

<br>
</li>

</div>
<div class='footer' style='margin-top: 10px;'>
<p>

<br>
<a href="https://gitlab.com/NTPsec/ntpsec/commit/119443f863f24824abaa51aa099abb1b2051b5fe">View it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.com.
If you'd like to receive fewer emails, you can adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Commit","url":"https://gitlab.com/NTPsec/ntpsec/commit/119443f863f24824abaa51aa099abb1b2051b5fe"}}</script>
</p>
</div>
</body>
</html>