aboutsummaryrefslogtreecommitdiff
path: root/m4/00gnulib.m4
diff options
context:
space:
mode:
authorNils Durner <durner@gnunet.org>2011-02-21 20:41:06 +0000
committerNils Durner <durner@gnunet.org>2011-02-21 20:41:06 +0000
commit31dbbcdffc2544a63628d357d9e3a2655f6d8f77 (patch)
tree9b703a965ec6d3ccca4bf330b49017b2a414a8e9 /m4/00gnulib.m4
parentb35e4e090c6bfcc6eb5cc5ba4f563b1a91749b65 (diff)
downloadgnunet-31dbbcdffc2544a63628d357d9e3a2655f6d8f77.tar.gz
gnunet-31dbbcdffc2544a63628d357d9e3a2655f6d8f77.zip
strtok_r
Diffstat (limited to 'm4/00gnulib.m4')
-rw-r--r--m4/00gnulib.m430
1 files changed, 30 insertions, 0 deletions
diff --git a/m4/00gnulib.m4 b/m4/00gnulib.m4
new file mode 100644
index 000000000..7feed4669
--- /dev/null
+++ b/m4/00gnulib.m4
@@ -0,0 +1,30 @@
1# 00gnulib.m4 serial 2
2dnl Copyright (C) 2009-2011 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation
4dnl gives unlimited permission to copy and/or distribute it,
5dnl with or without modifications, as long as this notice is preserved.
6
7dnl This file must be named something that sorts before all other
8dnl gnulib-provided .m4 files. It is needed until such time as we can
9dnl assume Autoconf 2.64, with its improved AC_DEFUN_ONCE semantics.
10
11# AC_DEFUN_ONCE([NAME], VALUE)
12# ----------------------------
13# Define NAME to expand to VALUE on the first use (whether by direct
14# expansion, or by AC_REQUIRE), and to nothing on all subsequent uses.
15# Avoid bugs in AC_REQUIRE in Autoconf 2.63 and earlier. This
16# definition is slower than the version in Autoconf 2.64, because it
17# can only use interfaces that existed since 2.59; but it achieves the
18# same effect. Quoting is necessary to avoid confusing Automake.
19m4_version_prereq([2.63.263], [],
20[m4_define([AC][_DEFUN_ONCE],
21 [AC][_DEFUN([$1],
22 [AC_REQUIRE([_gl_DEFUN_ONCE([$1])],
23 [m4_indir([_gl_DEFUN_ONCE([$1])])])])]dnl
24[AC][_DEFUN([_gl_DEFUN_ONCE([$1])], [$2])])])
25
26# gl_00GNULIB
27# -----------
28# Witness macro that this file has been included. Needed to force
29# Automake to include this file prior to all other gnulib .m4 files.
30AC_DEFUN([gl_00GNULIB])