[mico-devel] [PATCH] fix 'checking for GTK - version >= 0.99.7'

2011-05-27 Thread Michael Haubenwallner
Hello! Having gtk-2.22.1 here, and a wrapper script 'gtk-config' to emulate the gtk-1 script: #!/bin/sh exec pkg-config gtk+-2.0 $(printf "%s" "$*" | sed s:--version:--modversion:) This basically allows to build mico with gtk support even with gtk-2. However, "checking for GTK version >= 0.

[mico-devel] [PATCH] With gcc, use the '-pthread' compiler flag

2011-05-27 Thread Michael Haubenwallner
Hello! To use "pthread", the correct usage with gcc (instead of linking '-lpthread') is via the '-pthread' compiler flag, which is '-pthreads' with older gcc on Solaris. However, this has to be passed for compilation already, not just for linking. Attached is a patch that switches to '-pthread'

[mico-devel] [PATCH] fix warning (treated as error) in check for const overload

2011-05-27 Thread Michael Haubenwallner
Hello! While the check 'for const overload' should give "yes" for recent gcc, it does give "no" due to a warning in the check-code and -Werror being set. Attached is a patch to fix this warning. The lines found in config.log: > configure:12893: checking for const overload > configure:12926: x86

[mico-devel] current darcs does not build with disabled threads any more

2011-05-27 Thread Michael Haubenwallner
Hi Karel (et al), when configuring with --disable-threads, current darcs trunk fails to compile since [1]: > x86_64-pc-linux-gnu-g++ -I../include -Wall -Wwrite-strings -O2 -pipe > -fno-strict-aliasing -DQT_SHARED -DQT3_SUPPORT -I/usr/include/qt4 > -I/usr/include/qt4/Qt3Support -I/usr/include