imaxabs.m4 641 Bytes
Newer Older
1
# imaxabs.m4 serial 4
2
dnl Copyright (C) 2006, 2009-2018 Free Software Foundation, Inc.
Bruno Haible's avatar
Bruno Haible committed
3 4 5 6 7 8
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],
[
9
  AC_REQUIRE([gl_INTTYPES_H_DEFAULTS])
10 11 12

  dnl On OSF/1 5.1 with cc, this function is declared but not defined.
  AC_CHECK_FUNCS_ONCE([imaxabs])
13
  AC_CHECK_DECLS_ONCE([imaxabs])
Bruno Haible's avatar
Bruno Haible committed
14
  if test "$ac_cv_have_decl_imaxabs" != yes; then
15
    HAVE_DECL_IMAXABS=0
Bruno Haible's avatar
Bruno Haible committed
16 17 18 19 20
  fi
])

# Prerequisites of lib/imaxabs.c.
AC_DEFUN([gl_PREREQ_IMAXABS], [:])