File: strnumcmp.m4

package info (click to toggle)
coreutils 8.5-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 45,268 kB
  • ctags: 12,020
  • sloc: ansic: 84,750; sh: 18,445; perl: 5,824; makefile: 1,685; yacc: 1,219; sed: 16
file content (27 lines) | stat: -rw-r--r-- 683 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Compare numeric strings.

dnl Copyright (C) 2005, 2009-2010 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 Written by Paul Eggert.

AC_DEFUN([gl_STRINTCMP],
[
  AC_LIBSOURCES([strintcmp.c, strnumcmp.h, strnumcmp-in.h])
  AC_LIBOBJ([strintcmp])

  dnl Prerequisites of lib/strintcmp.c.
  AC_REQUIRE([AC_INLINE])
])

AC_DEFUN([gl_STRNUMCMP],
[
  AC_LIBSOURCES([strnumcmp.c, strnumcmp.h, strnumcmp-in.h])
  AC_LIBOBJ([strnumcmp])

  dnl Prerequisites of lib/strnumcmp.c.
  AC_REQUIRE([AC_INLINE])
])