8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 20:03:02 +01:00

A bit better method to check for _tzname

This commit is contained in:
aafemt 2005-06-08 10:21:21 +00:00
parent 03ac1615ee
commit faa538c74a

View File

@ -539,11 +539,7 @@ if test $ac_cv_var_tzname = yes; then
else
AC_CACHE_CHECK(for _tzname,ac_cv_var__tzname,
[AC_TRY_LINK(
changequote(<<, >>)dnl
<<#include <time.h>
extern char *_tzname[];
>>,
changequote([, ])dnl
[#include <time.h>],
[atoi(*_tzname);], ac_cv_var__tzname=yes, ac_cv_var__tzname=no)])
if test $ac_cv_var__tzname = yes; then
U_TZNAME=_tzname