X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=m4%2Fcalloc.m4;fp=m4%2Fcalloc.m4;h=be10e211f31c93517f4be446f78751d38c7a8db3;hb=a8a88eddaa90432e6ec1b8d9d5c9842bc91afd1d;hp=3109fb26bfaf9569dea951c0e0bb628f3bbd8846;hpb=20fcfc81ece044b8b0a6768ec6cf47be4e22a2e6;p=debian%2Fgzip diff --git a/m4/calloc.m4 b/m4/calloc.m4 index 3109fb2..be10e21 100644 --- a/m4/calloc.m4 +++ b/m4/calloc.m4 @@ -1,6 +1,6 @@ -# calloc.m4 serial 16 +# calloc.m4 serial 18 -# Copyright (C) 2004-2016 Free Software Foundation, Inc. +# Copyright (C) 2004-2018 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -38,10 +38,12 @@ AC_DEFUN([_AC_FUNC_CALLOC_IF], [ac_cv_func_calloc_0_nonnull=yes], [ac_cv_func_calloc_0_nonnull=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu*) ac_cv_func_calloc_0_nonnull="guessing yes" ;; - # If we don't know, assume the worst. - *) ac_cv_func_calloc_0_nonnull="guessing no" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) ac_cv_func_calloc_0_nonnull="guessing yes" ;; + # Guess yes on native Windows. + mingw*) ac_cv_func_calloc_0_nonnull="guessing yes" ;; + # If we don't know, assume the worst. + *) ac_cv_func_calloc_0_nonnull="guessing no" ;; esac ])]) case "$ac_cv_func_calloc_0_nonnull" in