X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fimaxdiv.m4;h=a8a5802974680b84c539385ceae62ff6479afaa3;hb=1caec4216cb4edce9d6bc330c561d721e84225cc;hp=4939912c5a69d474b174891087efeb3822b929c1;hpb=c140b280d2ce855161817b9a79cfe821b05312b8;p=gnulib.git diff --git a/m4/imaxdiv.m4 b/m4/imaxdiv.m4 index 4939912c5..a8a580297 100644 --- a/m4/imaxdiv.m4 +++ b/m4/imaxdiv.m4 @@ -1,4 +1,4 @@ -# imaxdiv.m4 serial 2 +# imaxdiv.m4 serial 4 dnl Copyright (C) 2006, 2009-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -7,11 +7,12 @@ dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_IMAXDIV], [ 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([imaxdiv]) AC_CHECK_DECLS_ONCE([imaxdiv]) if test "$ac_cv_have_decl_imaxdiv" != yes; then HAVE_DECL_IMAXDIV=0 - AC_LIBOBJ([imaxdiv]) - gl_PREREQ_IMAXDIV fi ])