X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=m4%2Ffpurge.m4;fp=m4%2Ffpurge.m4;h=2049fe4e104a6be5182bd10f80590c7289b33bf7;hb=dc84183747ce1703eb99685b5dbde1f65a143c06;hp=d97e89762e6375c02d9d9793f80dc3208570d16d;hpb=a2016c1de6e4884f6c8ed5cc498f3bf821c25ca4;p=debian%2Fgzip diff --git a/m4/fpurge.m4 b/m4/fpurge.m4 index d97e897..2049fe4 100644 --- a/m4/fpurge.m4 +++ b/m4/fpurge.m4 @@ -1,5 +1,5 @@ -# fpurge.m4 serial 6 -dnl Copyright (C) 2007, 2009, 2010 Free Software Foundation, Inc. +# fpurge.m4 serial 7 +dnl Copyright (C) 2007, 2009-2012 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. @@ -11,6 +11,7 @@ AC_DEFUN([gl_FUNC_FPURGE], AC_CHECK_FUNCS_ONCE([__fpurge]) AC_CHECK_DECLS([fpurge], , , [[#include ]]) if test "x$ac_cv_func_fpurge" = xyes; then + HAVE_FPURGE=1 # Detect BSD bug. Only cygwin 1.7 is known to be immune. AC_CACHE_CHECK([whether fpurge works], [gl_cv_func_fpurge_works], [AC_RUN_IFELSE([AC_LANG_PROGRAM([[#include @@ -34,10 +35,9 @@ AC_DEFUN([gl_FUNC_FPURGE], [gl_cv_func_fpurge_works='guessing no'])]) if test "x$gl_cv_func_fpurge_works" != xyes; then REPLACE_FPURGE=1 - AC_LIBOBJ([fpurge]) fi else - AC_LIBOBJ([fpurge]) + HAVE_FPURGE=0 fi if test "x$ac_cv_have_decl_fpurge" = xno; then HAVE_DECL_FPURGE=0