<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Use a portable variable assignment construct in configure.ac"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=59675">59675</a>
          </td>
        </tr>

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

        <tr>
          <th>Summary</th>
          <td>Use a portable variable assignment construct in configure.ac
          </td>
        </tr>

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

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>OpenBSD
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jasper@humppa.nl
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

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

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

        <tr>
          <th>Component</th>
          <td>gtk-client
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Spice
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=73401" name="attach_73401" title="Use portable constructs in configure script.">attachment 73401</a> <a href="attachment.cgi?id=73401&action=edit" title="Use portable constructs in configure script.">[details]</a></span>
Use portable constructs in configure script.

While the following may be a valid construct in bash:

SPICE_GTK_REQUIRES+=" gtk+-$GTK_API_VERSION >= $GTK_REQUIRED"

It is not in every shell. Hence this usage in configure.ac throws warnings like
this when run on systems where bash is not the default shell:

./configure[15815]: SPICE_GTK_REQUIRES+= gtk+-3.0 >= 2.91.3: not foun

The attached patch rewrites these into portable constructs that work on all
systems, regardless of the shell.</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>