cmake - show command line for a test
Alexander Neundorf
neundorf at kde.org
Mon Feb 13 18:07:29 CET 2006
Hi,
On Sunday 12 February 2006 23:50, Peter Kümmel wrote:
> Christian Ehrlicher wrote:
> > for example getaddrinfo isn't found - don't know why. Simply look into
> > CMakeErro.log and you'll see that some functions aren't found which
> > normally are available on windows.
> >
> > Christian
>
> The function-check does not work because of the principle linker error,
> and the symbol-check didn't work because of a bad #define in sys/socket.h
> and sys/types.h.
>
> We could change the configure process to also find the win symbols, see
> the diff. There are also some small changes which fixes compile errors.
> Feel free to check it in.
Do I understand the patches correctly that you add the winsock2 headers to
win/include/msvc/sys/socket.h ?
Then instead of this check
check_symbol_exists(getaddrinfo "winsock2.h;ws2tcpip.h"
HAVE_GETADDRINFO_SYMBOL)
this one should work for you too:
check_symbol_exists(getaddrinfo "sys/types.h;sys/socket.h" HAVE_GETADDRINFO)
Can you please try ?
If it does, this one should be used instead of check_function_exists()
Bye
Alex
--
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org - http://www.kde.org
alex AT neundorf.net - http://www.neundorf.net
More information about the Kde-buildsystem
mailing list