Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


On Tuesday 24 of April 2012, Tor Lillqvist wrote:

    Hardcode cairo canvas off for Mac OS X and Windows

    Do not depend on a distro-configs file to disable it. It is supposed
    to be optional to pass a --with-distro option. Running a bare
    ./autogen.sh is supposed to produce a working configuration.
...
+if test $_os = Darwin -o $_os = WINNT; then
+    if test "$enable_cairo_canvas" = yes; then
+        AC_MSG_WARN([Overriding with -disable-cairo-canvas for this
platform]) 

 Why is AC_MSG_ERROR not here? If somebody explicitly 
passed --enable-cairo-canvas, they most probably do not want it simply 
switched back. I mean, either the option is a mistake, in which case it 
shouldn't be passed anyway, or they passed it for a reason, in which case 
they should be told it's not making any effect.

+    fi 
+    enable_cairo_canvas=no
+elif test -z "$enable_cairo_canvas"; then
+    enable_cairo_canvas=yes


-- 
 Lubos Lunak
 l.lunak@suse.cz

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.