Re: [PATCH] key.c: Dynamically load XOpenDisplay, XQueryPointer andXCloseDisplay

2003-02-09 Thread Pavel Tsekov
Hello, Ok, here comes the new patch. It is using the gmodule library as Pavel Rosking has suggested. It also includes some changes to the configure stuff. Please, review and tell me what needs to be fixed. Here is a list of changes: * aclocal.m4 (AC_G_MODULE_SUPPORTED): New macro. Tests if

Re: [PATCH] key.c: Dynamically load XOpenDisplay, XQueryPointer andXCloseDisplay

2003-02-09 Thread Pavel Tsekov
On Sun, 9 Feb 2003, Pavel Tsekov wrote: Hello, Ok, here comes the new patch. It is using the gmodule library as Pavel Rosking has suggested. It also includes some changes to the ^^^ Sorry, for this mistake :( Just wanted to tell that I've successfully tested it on RedHat Linux

[PATCH] key.c: Dynamically load XOpenDisplay, XQueryPointer andXCloseDisplay

2003-02-08 Thread Pavel Tsekov
Hello, Attached is a very usefull patch. It removes the runtime dependency on libX11. This way one can build MC with support for X11 events and can distribute it both to users who have X and other which dont. This patch's aim is to make the life of package maintainers easier. This patch is