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:
parent
03ac1615ee
commit
faa538c74a
6
extern/icu/source/configure.in
vendored
6
extern/icu/source/configure.in
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user