This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Cannot use --enable-clocale=darwin
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Benjamin De Kosnik <bkoz at redhat dot com>
- Cc: "libstdc++" <libstdc++ at gcc dot gnu dot org>, Geoffrey Keating <geoffk at geoffk dot org>
- Date: Tue, 21 May 2013 18:13:42 +0100
- Subject: Re: Cannot use --enable-clocale=darwin
- References: <CAH6eHdRSQUw5rMQsJwx6R0UOb4J8A1P6JoviCOhW620yMHeu2w at mail dot gmail dot com> <20130521100542 dot 07e0cc91 at oakwood>
On 21 May 2013 18:05, Benjamin De Kosnik <bkoz@redhat.com> wrote:
>
>> It's just been pointed out to me that configuring with
>> --enable-clocale=darwin fails:
>>
>> checking for underlying I/O to use... stdio
>> configure: error: Unknown argument to enable/disable clocale
>>
>> because it's not listed in the valid options:
>>
>> AC_DEFUN([GLIBCXX_ENABLE_CLOCALE], [
>> GLIBCXX_ENABLE(clocale,auto,[[[=MODEL]]],
>> [use MODEL for target locale package],
>> [permit generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto])
>>
>> I assume there's no good reason for that and it could be added?
>
> Yes, it should be added. Note, I don't know if configuring this way
> works, clearly it's not been tested...
clocale=darwin is the default on darwin and freebsd when you use
--enable-clocale=auto ... it's just that you can't explicitly say
--enable-clocale=darwin to get the same behaviour.
I'll add it to acinclude.m4, thanks