<p>As for disable it per default, look at another enable clause. But the quick glance at it tells me the then and else blocks needs to be reversed<br>
if test "z$enable_kde" != "zyes"; then<br>
<orig else block><br>
else<br>
<orig then block><br>
fi</p>
<p>Hope it makes sense<br>
René</p>
<div class="gmail_quote">On Oct 20, 2010 8:00 PM, "Wols Lists" <<a href="mailto:antlists@youngman.org.uk">antlists@youngman.org.uk</a>> wrote:<br type="attribution">> On 20/10/10 14:39, Wols Lists wrote:<br>
>> On 20/10/10 08:28, Sebastian Spaeth wrote:<br>>>> On Tue, 19 Oct 2010 23:45:11 +0200, René Kjellerup <<a href="mailto:rk.katana.steel@gmail.com">rk.katana.steel@gmail.com</a>> wrote:<br>>>><br>
>>>> On the other matter unless you're still running kde 3 then you need<br>>>>> --disable-kde else the config will fail when it can't find Qt 3.x<br>>>> On that matter can, we please --disable-kde by default. I don't know of<br>
>>> recent distros that ship kde3 but not KDE4, and those who do can turn it<br>>>> on in their distro-specific defaults.<br>>> Forgive the newbie question, but while I've got a lot of programming<br>
>> experience large chunks of detail here (gnu tools, frinstance) are new<br>>> to me.<br>>><br>>> I've dug a bit, found <a href="http://configure.in">configure.in</a>, and found<br>>><br>
>> AC_ARG_ENABLE(kde,<br>>> [<br>>> --disable-kde Disables KDE native widgets.],<br>>> ,)<br>>><br>>> Does this switch it on? Will deleting it disable kde by default?<br>>><br>
>> If it will, I'll put a patch in.<br>>>> Even better, our make should detect the lack of qt3 headers and disable<br>>>> it automatically rather than bailing out.<br>>> That's a bit deeper ... won't stop me having a go if someone would care<br>
>> to give me a few guidelines :-)<br>>><br>>>> Sebastian<br>>>><br>>> Cheers,<br>>> Wol<br>>> _______________________________________________<br>>><br>> <br>> Just found a bit more ...<br>
> <br>> if test "$enable_kde" != "no"; then<br>> if test "z$with_win32" = "z" -a "z`uname -s`" != "zDarwin" -a<br>> "z$with_distro" != "zCrossWin32"; then<br>
> OOO_WIDGET_FLAGS="--enable-kde"<br>> widget_sets="kde"<br>> fi<br>> else<br>> OOO_WIDGET_FLAGS="--disable-kde"<br>> fi<br>> <br>> I'm going to try changing != "no" to = "yes" - is that a sensible thing<br>
> to do? I'm sure it'll work for me, but will it make it blow up when<br>> people want kde3 - does enable default to a value of yes?<br>> <br>> Cheers,<br>> Wol<br>> _______________________________________________<br>
> LibreOffice mailing list<br>> <a href="mailto:LibreOffice@lists.freedesktop.org">LibreOffice@lists.freedesktop.org</a><br>> <a href="http://lists.freedesktop.org/mailman/listinfo/libreoffice">http://lists.freedesktop.org/mailman/listinfo/libreoffice</a><br>
</div>