<!DOCTYPE html>
<html>
<head>
</head>
<body>
<dl style="line-height: 1.5; margin-left: 2em">
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Author</dt>
<dd style="margin-left: 8.5em">Kouhei Sutou <kou****@clear*****></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
<dd style="margin-left: 8.5em">2011-12-07 10:21:57 +0900 (Wed, 07 Dec 2011)</dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">New Revision</dt>
<dd style="margin-left: 8.5em"><a href="https://github.com/mroonga/mroonga/commit/2b4d0a46fb3c5272498a62bfe2bf0d5e40ab8f2b">2b4d0a46fb3c5272498a62bfe2bf0d5e40ab8f2b</a></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Log</dt>
<dd style="margin-left: 8.5em"><pre style="border: 1px solid #aaa; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; padding: 0.5em">fix -Wno- compiler flag detection.
This change is based on a patch by Arnaud Fontaine.
Reported by Kazuhiko. Thanks!!!</pre></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Modified files</dt>
<dd style="margin-left: 8.5em">
<ul>
<li><a href="https://github.com/mroonga/mroonga/commit/2b4d0a46fb3c5272498a62bfe2bf0d5e40ab8f2b#diff-0">configure.ac</a></li>
</ul>
</dd>
</dl>
<div class="diff-section" style="clear: both">
<table style="border-collapse: collapse; border: 1px solid #aaa">
<thead>
<tr class="diff-header" style="border: 1px solid #aaa">
<td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre"> Modified: configure.ac (+4 -2)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
</td>
</tr>
</thead>
<tbody>
<tr>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/2b4d0a46fb3c5272498a62bfe2bf0d5e40ab8f2b#L0L26">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/2b4d0a46fb3c5272498a62bfe2bf0d5e40ab8f2b#L0L27">27</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/2b4d0a46fb3c5272498a62bfe2bf0d5e40ab8f2b#L0L28">28</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/2b4d0a46fb3c5272498a62bfe2bf0d5e40ab8f2b#L0L29">29</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/2b4d0a46fb3c5272498a62bfe2bf0d5e40ab8f2b#L0L30">30</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/2b4d0a46fb3c5272498a62bfe2bf0d5e40ab8f2b#L0L31">31</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/2b4d0a46fb3c5272498a62bfe2bf0d5e40ab8f2b#L0L32">32</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/2b4d0a46fb3c5272498a62bfe2bf0d5e40ab8f2b#L0L33">33</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/2b4d0a46fb3c5272498a62bfe2bf0d5e40ab8f2b#L0L40">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/2b4d0a46fb3c5272498a62bfe2bf0d5e40ab8f2b#L0L41">41</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/2b4d0a46fb3c5272498a62bfe2bf0d5e40ab8f2b#L0L42">42</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/2b4d0a46fb3c5272498a62bfe2bf0d5e40ab8f2b#L0L43">43</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/2b4d0a46fb3c5272498a62bfe2bf0d5e40ab8f2b#L0L44">44</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/2b4d0a46fb3c5272498a62bfe2bf0d5e40ab8f2b#L0L45">45</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/2b4d0a46fb3c5272498a62bfe2bf0d5e40ab8f2b#L0L46">46</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/2b4d0a46fb3c5272498a62bfe2bf0d5e40ab8f2b#L0L47">47</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/2b4d0a46fb3c5272498a62bfe2bf0d5e40ab8f2b#L0R26">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/2b4d0a46fb3c5272498a62bfe2bf0d5e40ab8f2b#L0R27">27</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/2b4d0a46fb3c5272498a62bfe2bf0d5e40ab8f2b#L0R28">28</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/2b4d0a46fb3c5272498a62bfe2bf0d5e40ab8f2b#L0R29">29</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/2b4d0a46fb3c5272498a62bfe2bf0d5e40ab8f2b#L0R30">30</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/2b4d0a46fb3c5272498a62bfe2bf0d5e40ab8f2b#L0R31">31</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/2b4d0a46fb3c5272498a62bfe2bf0d5e40ab8f2b#L0R32">32</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/2b4d0a46fb3c5272498a62bfe2bf0d5e40ab8f2b#L0R33">33</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/2b4d0a46fb3c5272498a62bfe2bf0d5e40ab8f2b#L0R34">34</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/2b4d0a46fb3c5272498a62bfe2bf0d5e40ab8f2b#L0R41">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/2b4d0a46fb3c5272498a62bfe2bf0d5e40ab8f2b#L0R42">42</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/2b4d0a46fb3c5272498a62bfe2bf0d5e40ab8f2b#L0R43">43</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/2b4d0a46fb3c5272498a62bfe2bf0d5e40ab8f2b#L0R44">44</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/2b4d0a46fb3c5272498a62bfe2bf0d5e40ab8f2b#L0R45">45</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/2b4d0a46fb3c5272498a62bfe2bf0d5e40ab8f2b#L0R46">46</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/2b4d0a46fb3c5272498a62bfe2bf0d5e40ab8f2b#L0R47">47</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/2b4d0a46fb3c5272498a62bfe2bf0d5e40ab8f2b#L0R48">48</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/2b4d0a46fb3c5272498a62bfe2bf0d5e40ab8f2b#L0R49">49</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -27,7 +27,8 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">AC_PROG_LIBTOOL</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> AC_DEFUN([CHECK_CFLAG], [</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> AC_MSG_CHECKING([if gcc supports $1])</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> old_CFLAGS=$CFLAGS</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- CFLAGS="$CFLAGS $1 -Werror"</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ flag=`echo '$1' | sed -e 's,^-Wno-,-W,'`</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ CFLAGS="$CFLAGS $flag -Werror"</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> AC_COMPILE_IFELSE([AC_LANG_PROGRAM([])],</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> [check_cflag=yes],</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> [check_cflag=no])</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -41,7 +42,8 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">AC_DEFUN([CHECK_CFLAG], [</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> AC_DEFUN([CHECK_CXXFLAG], [</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> AC_MSG_CHECKING([if g++ supports $1])</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> old_CXXFLAGS=$CXXFLAGS</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- CXXFLAGS="$CXXFLAGS $1 -Werror"</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ flag=`echo '$1' | sed -e 's,^-Wno-,-W,'`</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ CXXFLAGS="$CXXFLAGS $flag -Werror"</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> AC_LANG_PUSH([C++])</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> AC_COMPILE_IFELSE([AC_LANG_PROGRAM([])],</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> [check_cxxflag=yes],</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>