File: strtoimax.m4

package info (click to toggle)
bash 5.3-2
  • links: PTS
  • area: main
  • in suites: sid
  • size: 44,432 kB
  • sloc: ansic: 134,747; sh: 8,866; yacc: 5,966; makefile: 4,697; perl: 4,105; asm: 48; awk: 23; sed: 16
file content (17 lines) | stat: -rw-r--r-- 555 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
dnl Copyright (C) 2022 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.

dnl Make sure we replace strtoimax if we don't have a declaration
dnl We can use this as a template for future function checks

AC_DEFUN([BASH_FUNC_STRTOIMAX],
[
  AC_CHECK_FUNCS([strtoimax])
  AC_CHECK_DECLS([strtoimax])

  if test "$ac_cv_func_strtoimax" != "yes" ; then
    AC_LIBOBJ(strtoimax)
  fi
])