summaryrefslogtreecommitdiff
path: root/m4/inttostr.m4
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2010-06-09 18:22:25 +0200
committerJim Meyering <meyering@redhat.com>2010-06-10 15:16:51 +0200
commitdb74d417293e937ab171addd937b7b6c00d44444 (patch)
tree0fe8790cef6e3d582bc911ea5bf848427da4c56e /m4/inttostr.m4
parent47e899ad11a04647942b39dd501bfc2381e9b2f0 (diff)
downloadgnulib-db74d417293e937ab171addd937b7b6c00d44444.tar.gz
inttostr: add a new function, inttostr, and tests
The namesake function was not available. The existence of the template file, inttostr.c makes its addition nontrivial. * lib/anytostr.c: Rename from inttostr.c. (anytostr): Rename from inttostr. * lib/inttostr.c: New file. * modules/inttostr (Files): Add anytostr.c. (Makefile.am): Set lib_SOURCES instead of ... * m4/inttostr.m4: Remove uses of AC_LIBOBJ. * lib/imaxtostr.c: Update use. s/inttostr/anytostr/ * lib/offtostr.c: Likewise. * lib/uinttostr.c: Likewise. * lib/umaxtostr.c: Likewise. * modules/inttostr-tests: New file. * tests/test-inttostr.c: New file. Test these functions.
Diffstat (limited to 'm4/inttostr.m4')
-rw-r--r--m4/inttostr.m47
1 files changed, 1 insertions, 6 deletions
diff --git a/m4/inttostr.m4 b/m4/inttostr.m4
index 3e17ed59f1..ff64ddbd3e 100644
--- a/m4/inttostr.m4
+++ b/m4/inttostr.m4
@@ -1,4 +1,4 @@
-#serial 7
+#serial 8
dnl Copyright (C) 2004, 2005, 2006, 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,
@@ -6,11 +6,6 @@ dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_INTTOSTR],
[
- AC_LIBOBJ([imaxtostr])
- AC_LIBOBJ([offtostr])
- AC_LIBOBJ([umaxtostr])
- AC_LIBOBJ([uinttostr])
-
gl_PREREQ_INTTOSTR
gl_PREREQ_IMAXTOSTR
gl_PREREQ_OFFTOSTR