Issues w/ timezones on gssftpd

Jeffrey Hutzelman jhutz at cmu.edu
Thu Nov 30 16:10:44 EST 2006



On Wednesday, November 29, 2006 07:17:20 PM -0700 Philip Prindeville 
<philipp at redfish-solutions.com> wrote:

> Russ Allbery wrote:
>
>> Philip Prindeville <philipp at redfish-solutions.com> writes:
>>
>>
>>
>>> Well, __GLIBC__ isn't so much platform-specific as it is compiler and
>>> run-time library specific, but I found a new patch that's simpler and
>>> more portable (it uses __USE_POSIX_ instead, which is portable).
>>>
>>>
>>
>> I believe __USE_POSIX is an internal define used by glibc to selectively
>> enable portions of the header files.
>>
>> The preferred way of handling issues like this is to probe, using
>> Autoconf, for the presence or absence of the specific behavior or bug
>> that one is trying to correct for, let Autoconf define an appropriate
>> macro, and make the code conditional on that macro.
>>
>>
>
> Ok, how about having autoconf test libc for the presence of tzset and
> generate HAVE_TZSET if it's present?
>
> Can someone walk me through hacking up configure.in to do this?

AC_CHECK_FUNCS(tzset)




More information about the krbdev mailing list