aboutsummaryrefslogtreecommitdiff
path: root/m4/strtoul.m4
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-03-03 19:29:17 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-03-03 19:29:17 -0800
commitcea198a11f15a2eb071d98491ca9a8bc8cebfbc4 (patch)
treebbb428d958c5d908c53239a56a30f72a519b8471 /m4/strtoul.m4
parent5a23b9fcc3a82c4580e115cb4835d796b7995d0c (diff)
downloadbison-donut-release2.tar.gz
Diffstat (limited to 'm4/strtoul.m4')
-rw-r--r--m4/strtoul.m418
1 files changed, 18 insertions, 0 deletions
diff --git a/m4/strtoul.m4 b/m4/strtoul.m4
new file mode 100644
index 00000000..512cd09a
--- /dev/null
+++ b/m4/strtoul.m4
@@ -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
+])