]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
gnulib module 'strtoul'.
authorBruno Haible <bruno@clisp.org>
Mon, 14 Feb 2005 11:09:53 +0000 (11:09 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:12:15 +0000 (12:12 +0200)
gettext-tools/m4/strtoul.m4 [new file with mode: 0644]

diff --git a/gettext-tools/m4/strtoul.m4 b/gettext-tools/m4/strtoul.m4
new file mode 100644 (file)
index 0000000..512cd09
--- /dev/null
@@ -0,0 +1,18 @@
+# strtoul.m4 serial 2
+dnl Copyright (C) 2002 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_STRTOUL],
+[
+  AC_REPLACE_FUNCS(strtoul)
+  if test $ac_cv_func_strtoul = no; then
+    gl_PREREQ_STRTOUL
+  fi
+])
+
+# Prerequisites of lib/strtoul.c.
+AC_DEFUN([gl_PREREQ_STRTOUL], [
+  gl_PREREQ_STRTOL
+])