X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fimaxabs.m4;h=b1051b7e30c5c3b1aa86ba46b424933b78580289;hb=831b84c59ef413c57a36b67344467d66a8a2ba70;hp=62304803d11f3c1052cfb7be89d1636acf635b70;hpb=3030c5b5e0a5199e16b05927da72c43c42f211c3;p=gnulib.git diff --git a/m4/imaxabs.m4 b/m4/imaxabs.m4 index 62304803d..b1051b7e3 100644 --- a/m4/imaxabs.m4 +++ b/m4/imaxabs.m4 @@ -1,15 +1,18 @@ -# imaxabs.m4 serial 1 -dnl Copyright (C) 2006, 2009 Free Software Foundation, Inc. +# imaxabs.m4 serial 4 +dnl Copyright (C) 2006, 2009-2013 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. AC_DEFUN([gl_FUNC_IMAXABS], [ - AC_REQUIRE([gl_INTTYPES_H]) + AC_REQUIRE([gl_INTTYPES_H_DEFAULTS]) + + dnl On OSF/1 5.1 with cc, this function is declared but not defined. + AC_CHECK_FUNCS_ONCE([imaxabs]) + AC_CHECK_DECLS_ONCE([imaxabs]) if test "$ac_cv_have_decl_imaxabs" != yes; then - AC_LIBOBJ([imaxabs]) - gl_PREREQ_IMAXABS + HAVE_DECL_IMAXABS=0 fi ])