This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cannot use --enable-clocale=darwin


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]