libc-config: Fix __GNUC_PREREQ macro.
[gnulib.git] / m4 / ctime.m4
blob2d4b3f82ed6df3b0cf46edd6b7ec04762fe747d2
1 # ctime.m4 serial 1
2 dnl Copyright (C) 2017 Free Software Foundation, Inc.
3 dnl This file is free software; the Free Software Foundation
4 dnl gives unlimited permission to copy and/or distribute it,
5 dnl with or without modifications, as long as this notice is preserved.
7 AC_DEFUN([gl_FUNC_CTIME],
9   AC_REQUIRE([gl_HEADER_TIME_H_DEFAULTS])
10   AC_REQUIRE([AC_CANONICAL_HOST])
11   case "$host_os" in
12     mingw*) REPLACE_CTIME=1 ;;
13     *)      REPLACE_CTIME=0 ;;
14   esac