[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A question about scm_{to,from}_locale_string()
From: |
Thien-Thi Nguyen |
Subject: |
Re: A question about scm_{to,from}_locale_string() |
Date: |
Sun, 12 Jun 2011 11:28:11 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
() Peter TB Brett <address@hidden>
() Sun, 12 Jun 2011 08:09:03 +0100
I've added a configure check that defines
scm_{to,from}_utf8_string to scm_{to,from}_locale_string if
the former isn't available in libguile. Seems to work okay.
Obviously there are some cases where we still use the locale
functions explicitly, e.g. parsing command-line arguments.
Probably sooner or later it behooves us (clients of libguile)
to hold a libguile "portability summit", where common bits of
autoconfigury, shimming, etc can be actively pooled, refactored
and (hopefully) incorporated into a time-saving tarball.
In this way, stuff like the autoconf check you mention, and
stuff like Autogen's or Serveez's C shims can be centrally
maintained and not re-invented time and time again.
____________________________________________________________________
[0] or "pit of despair", depending on your mood :-/