<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [PATCH] ./configure --disable-fixedpoint actually enables fixedpoint support"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=101818">101818</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[PATCH] ./configure --disable-fixedpoint actually enables fixedpoint support
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>poppler
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>ARM
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>general
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>poppler-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>r.hieber@pengutronix.de
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=132731" name="attach_132731" title="configure.ac: fix --disable-FEATURE actually enabling the feature">attachment 132731</a> <a href="attachment.cgi?id=132731&action=edit" title="configure.ac: fix --disable-FEATURE actually enabling the feature">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=101818&attachment=132731'>[review]</a>
configure.ac: fix --disable-FEATURE actually enabling the feature

I'm currently packaging poppler for PTXdist, and I noticed that configure.ac
suffers from a frequently seen antipattern, which is to use

  AC_ARG_ENABLE(feature, help, action-if-given, action-if-not-given)

as

  AC_ARG_ENABLE(feature, help, action-if-enabled, action-if-disabled).

However, action-if-given is also evaluated for --disable-FEATURE (with
enableval=no), which results in --disable-FEATURE and --enable-FEATURE doing
the same in this case.

This patch rewrites this behaviour for the --disable-single-precision,
--disable-fixedpoint and --disable-cmyk arguments accordingly, so users are not
confused if they want to be explicit about disabling those options.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>