<p>Support here is <em>optional</em>, as in it does <em>not</em> require even the GIR M4 macros to be available -- but then the generated build system can't generate GIR.  This avoids a hard dependency on GIR for the cost of a configure-time conditional with basic fallback definitions.</p>

<p>As stated in the first commit, it's mostly ripped off Peasy, maybe there are additional change required, but it seems to mostly work.  However, I see a lot of scary warnings like these:</p>

<pre><code>…/doc/geany-sciwrappers-gtkdoc-tmp.h:25: syntax error, unexpected '*', expecting ')' or ',' in 'void scintilla_object__GI__MARK_set_text (ScintillaObject *sci, const gchar *text);' at '*'
…/doc/geany-sciwrappers-gtkdoc-tmp.h:25: syntax error, unexpected ')', expecting ',' or ';' in 'void scintilla_object__GI__MARK_set_text (ScintillaObject *sci, const gchar *text);' at ')'
…/doc/geany-sciwrappers-gtkdoc-tmp.h:43: syntax error, unexpected '*', expecting ')' or ',' in 'void scintilla_object__GI__MARK_start_undo_action (ScintillaObject *sci);' at '*'
…/doc/geany-sciwrappers-gtkdoc-tmp.h:64: syntax error, unexpected '*', expecting ')' or ',' in 'void scintilla_object__GI__MARK_end_undo_action (ScintillaObject *sci);' at '*'
…/doc/geany-sciwrappers-gtkdoc-tmp.h:84: syntax error, unexpected '*', expecting ')' or ',' in 'void scintilla_object__GI__MARK_set_marker_at_line (ScintillaObject *sci, gint line_number, gint marker);' at '*'
</code></pre>

<p><a href="https://github.com/codebrainz" class="user-mention">@codebrainz</a> <a href="https://github.com/kugel-" class="user-mention">@kugel-</a> </p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/geany/geany/pull/1112'>https://github.com/geany/geany/pull/1112</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Add support for building GIR</li>
  <li>Force enabling GObject-Introspection for distcheck</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/1112/files#diff-0">Makefile.am</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/1112/files#diff-1">configure.ac</a>
    (12)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/1112/files#diff-2">doc/Makefile.am</a>
    (69)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/geany/geany/pull/1112.patch'>https://github.com/geany/geany/pull/1112.patch</a></li>
  <li><a href='https://github.com/geany/geany/pull/1112.diff'>https://github.com/geany/geany/pull/1112.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/1112">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/ABDrJ4dHfwTnSdz94GS5ZRVt01CUiXhLks5qR-bQgaJpZM4JD5zE">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ8Z2tAtpDZPAcP0woz2SzsgRwAwcks5qR-bQgaJpZM4JD5zE.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/geany/geany/pull/1112"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>