Re: [Gtk-osx-users] pcre.h missing?



thanks.

I'll think how to move to glib for pcre ;-)

Olivier

2010/3/8 John Ralls <jralls ceridwen fremont ca us>:
>
> On Mar 7, 2010, at 1:48 PM, Olivier Sessink wrote:
>
>>>
>>> The best thing to do would be to convince the Bluefish development team that they should be using GRegex, not libpcre directly, because GRegex integrates with the rest of GLib's memory management, and to reduce their external dependencies.
>>
>> I'm the lead developer so I mostly have to convince myself ;-)
>> but we have quite some code that uses pcre, so it's not a small change...
>>
>>> Failing that, you could write a phoney libpcre.pc file (since Bluefish finds libpcre via pkg-config) that points to glib-2.22.2/glib/pcre/pcre.h. If that's to hackey for you, write a module for pcre and just build it. The library is only 532K, it won't add much to your bundle's size.
>>
>> but that will add another 532K of memory usage, while the library
>> exists on OSX .....
>
> Well, you're being the lead dev changes the answer a bit: Just do what GLib does and include the header in your own tree and add a check to your configure.ac for libpcre while including your header if the PKG_CHECK_EXISTS fails.
>
> Regards,
> John Ralls
>
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Gtk-osx-users mailing list
> Gtk-osx-users lists sourceforge net
> https://lists.sourceforge.net/lists/listinfo/gtk-osx-users
>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]