havelib: Fix for Solaris 11 OpenIndiana and Solaris 11 OmniOS.
[gnulib.git] / m4 / tzset.m4
bloba504d5e312aa89890a4d1f9179357d964512cb92
1 # serial 15
3 # Copyright (C) 2003, 2007, 2009-2020 Free Software Foundation, Inc.
4 # This file is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
8 # Written by Paul Eggert and Jim Meyering.
10 AC_DEFUN([gl_FUNC_TZSET],
12   AC_REQUIRE([gl_HEADER_TIME_H_DEFAULTS])
13   AC_REQUIRE([AC_CANONICAL_HOST])
14   REPLACE_TZSET=0
15   case "$host_os" in
16     mingw*) REPLACE_TZSET=1 ;;
17   esac