summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2006-01-20 15:53:13 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2006-01-20 15:53:13 +0000
commit9ffaea716ed9cc5d7745eb149f0b704e6f7e9405 (patch)
tree8dffe3bcafcffa2642dc7ce4dcb191022fbaf07a /m4
parent65b770085aff7b6bba421ae81a0589fe49694f01 (diff)
downloadmailutils-9ffaea716ed9cc5d7745eb149f0b704e6f7e9405.tar.gz
mailutils-9ffaea716ed9cc5d7745eb149f0b704e6f7e9405.tar.bz2
Added to the repository by gnulib-sync
Diffstat (limited to 'm4')
-rw-r--r--m4/inttostr.m441
1 files changed, 41 insertions, 0 deletions
diff --git a/m4/inttostr.m4 b/m4/inttostr.m4
new file mode 100644
index 000000000..4df30f540
--- /dev/null
+++ b/m4/inttostr.m4
@@ -0,0 +1,41 @@
+#serial 5
+dnl Copyright (C) 2004, 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.
+
+AC_DEFUN([gl_INTTOSTR],
+[
+ MU_LIBSOURCES([inttostr.c, inttostr.h, intprops.h])
+
+ dnl We don't technically need to list the following .c files, since their
+ dnl functions are named in the MU_LIBOBJ calls, but this is an unusual
+ dnl module and it seems a little clearer to do so.
+ MU_LIBSOURCES([imaxtostr.c, offtostr.c, umaxtostr.c])
+
+ MU_LIBOBJ([imaxtostr])
+ MU_LIBOBJ([offtostr])
+ MU_LIBOBJ([umaxtostr])
+
+ gl_PREREQ_INTTOSTR
+ gl_PREREQ_IMAXTOSTR
+ gl_PREREQ_OFFTOSTR
+ gl_PREREQ_UMAXTOSTR
+])
+
+# Prerequisites of lib/inttostr.h.
+AC_DEFUN([gl_PREREQ_INTTOSTR], [
+ AC_REQUIRE([gl_AC_TYPE_INTMAX_T])
+ AC_REQUIRE([gl_AC_TYPE_UINTMAX_T])
+ AC_REQUIRE([AC_TYPE_OFF_T])
+ :
+])
+
+# Prerequisites of lib/imaxtostr.c.
+AC_DEFUN([gl_PREREQ_IMAXTOSTR], [:])
+
+# Prerequisites of lib/offtostr.c.
+AC_DEFUN([gl_PREREQ_OFFTOSTR], [:])
+
+# Prerequisites of lib/umaxtostr.c.
+AC_DEFUN([gl_PREREQ_UMAXTOSTR], [:])

Return to:

Send suggestions and report system problems to the System administrator.