[Bug 59675] New: Use a portable variable assignment construct in configure.ac

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jan 21 10:55:52 PST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=59675

          Priority: medium
            Bug ID: 59675
          Assignee: spice-bugs at lists.freedesktop.org
           Summary: Use a portable variable assignment construct in
                    configure.ac
          Severity: normal
    Classification: Unclassified
                OS: OpenBSD
          Reporter: jasper at humppa.nl
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: gtk-client
           Product: Spice

Created attachment 73401
  --> https://bugs.freedesktop.org/attachment.cgi?id=73401&action=edit
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-bugs/attachments/20130121/dbab93fe/attachment.html>


More information about the spice-bugs mailing list