File: strtol.m4

package info (click to toggle)
bison 1%3A2.3.dfsg-5
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 7,040 kB
  • ctags: 3,864
  • sloc: sh: 53,991; ansic: 20,277; lex: 1,325; cpp: 1,300; yacc: 510; makefile: 230; sed: 111
file content (19 lines) | stat: -rw-r--r-- 531 bytes parent folder | download | duplicates (20)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# strtol.m4 serial 3
dnl Copyright (C) 2002, 2003 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_STRTOL],
[
  AC_REPLACE_FUNCS(strtol)
  if test $ac_cv_func_strtol = no; then
    gl_PREREQ_STRTOL
  fi
])

# Prerequisites of lib/strtol.c.
AC_DEFUN([gl_PREREQ_STRTOL], [
  AC_REQUIRE([AC_HEADER_STDC])
  AC_CHECK_FUNCS_ONCE(isascii)
])