diff --git a/configure b/configure index 2e4e13f..fb3def9 100755 --- a/configure +++ b/configure @@ -18705,7 +18705,7 @@ else char buf[100]; time_t t = 0; strftime (buf, sizeof(buf), "%z", gmtime(&t)); - return strcmp(buf, "%z") == 0? 1: 0; + return (strcmp(buf, "%z") == 0 || strcmp(buf, "z") == 0)? 1: 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : diff --git a/configure.ac b/configure.ac index d96ec61..1608a01 100644 --- a/configure.ac +++ b/configure.ac @@ -232,7 +232,7 @@ AC_TRY_RUN( char buf[100]; time_t t = 0; strftime (buf, sizeof(buf), "%z", gmtime(&t)); - return strcmp(buf, "%z") == 0? 1: 0; + return (strcmp(buf, "%z") == 0 || strcmp(buf, "z") == 0)? 1: 0; }], [ AC_MSG_RESULT(yes)