Hi
On Thu, 2008-02-21 at 17:26 +0100, Enrico Tröger wrote:
On Thu, 21 Feb 2008 02:29:25 +0200, Yura Siamashka yurand2@gmail.com wrote:
Hi
On Wed, 2008-02-20 at 13:38 +0100, Enrico Tröger wrote:
- Windows doesn't have fnmatch, I replaced it's usage with modified
function I found in one of the files. But this is really smell bad.
I'm not yet sure why this happens but fnmatch is available via liberty, IIRC. At least when I wrote the cross-compiling stuff, it worked. Right now, I have some other problems which prevent me from further testing, e.g. configure doesn't detect the host correctly. And I don't have the time to test further now.
- Since without fnmatch.h we fail to build, I included fnmatch
implementation that come internally with gtk.
I'm still thinking it isn't necessary. I did compile it without any extra fnmatch code. I just have to remember and test how I did it. Give me a little time, please. If I'm wrong, I'll apply your patch.
Well, the current situation is like this:
configure check for useable fnmatch.h, if it is not found. build will fail, unless fnmatch present in one of the dependant libs (I think that is why you are able to build geany on windows). But we don't check it sane way.
So, currently we just say: "nay, fnmatch check can't fail" and hope that fnmatch symbol will be in one of depend libs.