<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to SyntaxAttrAlternate</title><link>https://sourceforge.net/p/mkconf/wiki/SyntaxAttrAlternate/</link><description>Recent changes to SyntaxAttrAlternate</description><atom:link href="https://sourceforge.net/p/mkconf/wiki/SyntaxAttrAlternate/feed" rel="self"/><language>en</language><lastBuildDate>Mon, 13 Jul 2026 19:31:07 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/mkconf/wiki/SyntaxAttrAlternate/feed" rel="self" type="application/rss+xml"/><item><title>SyntaxAttrAlternate modified by Brad Lanam</title><link>https://sourceforge.net/p/mkconf/wiki/SyntaxAttrAlternate/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -2,7 +2,7 @@

 ### alternate (attribute)

-The __alternate__ attribute allows a check to test with different compiler flags, link flags and headers.
+The __alternate__ attribute allows a [check](SyntaxCheck) to test with different compiler flags, link flags and headers.

     alternate { &amp;lt;attribute-statements&amp;gt; }

&amp;lt;/attribute-statements&amp;gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Brad Lanam</dc:creator><pubDate>Mon, 13 Jul 2026 19:31:07 -0000</pubDate><guid>https://sourceforge.net44e6ea91850e1ad13b989cca0986d6ed42c5b222</guid></item><item><title>SyntaxAttrAlternate modified by Brad Lanam</title><link>https://sourceforge.net/p/mkconf/wiki/SyntaxAttrAlternate/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -1,6 +1,6 @@
 [Wiki Home](Home) &lt;br/&gt;[Syntax](Syntax)

-### Syntax: alternate (attribute)
+### alternate (attribute)

 The __alternate__ attribute allows a check to test with different compiler flags, link flags and headers.

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Brad Lanam</dc:creator><pubDate>Thu, 09 Jul 2026 20:47:25 -0000</pubDate><guid>https://sourceforge.net2bd7594c75a2528b68926465b4f2e2a6e60c0d2d</guid></item><item><title>SyntaxAttrAlternate modified by Brad Lanam</title><link>https://sourceforge.net/p/mkconf/wiki/SyntaxAttrAlternate/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -19,7 +19,7 @@
         header sys/vfs.h;
       }
       alternate {

-        # macos
+        # macos, freebsd
         name _header_sys_mount;
         header sys/mount.h;
       }
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Brad Lanam</dc:creator><pubDate>Sun, 05 Jul 2026 13:54:39 -0000</pubDate><guid>https://sourceforge.net47946d7c646148f3ed0282881d716fef7ec36c26</guid></item><item><title>SyntaxAttrAlternate modified by Brad Lanam</title><link>https://sourceforge.net/p/mkconf/wiki/SyntaxAttrAlternate/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;a href="/p/mkconf/wiki/Home/"&gt;Wiki Home&lt;/a&gt; &lt;br/&gt;&lt;a href="/p/mkconf/wiki/Syntax/"&gt;Syntax&lt;/a&gt;&lt;/p&gt;
&lt;h3 id="h-syntax-alternate-attribute"&gt;Syntax: alternate (attribute)&lt;/h3&gt;
&lt;p&gt;The &lt;strong&gt;alternate&lt;/strong&gt; attribute allows a check to test with different compiler flags, link flags and headers.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;alternate { &amp;lt;attribute-statements&amp;gt; }
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The &lt;strong&gt;alternate&lt;/strong&gt; attribute is used with a &lt;a href="/p/mkconf/wiki/SyntaxCheck/"&gt;check&lt;/a&gt; statement.&lt;/p&gt;
&lt;p&gt;Repeatable: &lt;strong&gt;yes&lt;/strong&gt;&lt;/p&gt;
&lt;h5 id="h-examples"&gt;Examples&lt;/h5&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;check_function statfs {
  alternate {
    # linux
    name _header_sys_vfs;
    header sys/vfs.h;
  }
  alternate {
    # macos
    name _header_sys_mount;
    header sys/mount.h;
  }
}
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;&lt;a href="/p/mkconf/wiki/Home/"&gt;Wiki Home&lt;/a&gt; &lt;br/&gt;&lt;a href="/p/mkconf/wiki/Syntax/"&gt;Syntax&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Brad Lanam</dc:creator><pubDate>Sun, 05 Jul 2026 13:32:13 -0000</pubDate><guid>https://sourceforge.netc8e52c674b5b65e0f82188a64610560bfef669d4</guid></item></channel></rss>