]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Compare numeric strings.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 27 May 2005 20:34:48 +0000 (20:34 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 27 May 2005 20:34:48 +0000 (20:34 +0000)
m4/strnumcmp.m4 [new file with mode: 0644]

diff --git a/m4/strnumcmp.m4 b/m4/strnumcmp.m4
new file mode 100644 (file)
index 0000000..a7418c1
--- /dev/null
@@ -0,0 +1,27 @@
+# Compare numeric strings.
+
+dnl Copyright (C) 2005 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])
+])