summaryrefslogtreecommitdiff
path: root/gl/m4/00gnulib.m4
diff options
context:
space:
mode:
authorSuchang Woo <suchang.woo@samsung.com>2015-12-02 18:52:27 +0900
committerSuchang Woo <suchang.woo@samsung.com>2015-12-02 18:52:27 +0900
commit40d523a658c1a2e2311f0d588a96cbfb7eded09f (patch)
tree5a0b6e0d46634f5c89eaa79bb8cce3c23c767ea0 /gl/m4/00gnulib.m4
downloadlibidn-40d523a658c1a2e2311f0d588a96cbfb7eded09f.tar.gz
libidn-40d523a658c1a2e2311f0d588a96cbfb7eded09f.tar.bz2
libidn-40d523a658c1a2e2311f0d588a96cbfb7eded09f.zip
Imported Upstream version 1.15upstream/1.15
Diffstat (limited to 'gl/m4/00gnulib.m4')
-rw-r--r--gl/m4/00gnulib.m430
1 files changed, 30 insertions, 0 deletions
diff --git a/gl/m4/00gnulib.m4 b/gl/m4/00gnulib.m4
new file mode 100644
index 0000000..d4d04d1
--- /dev/null
+++ b/gl/m4/00gnulib.m4
@@ -0,0 +1,30 @@
+# 00gnulib.m4 serial 2
+dnl Copyright (C) 2009 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.
+
+dnl This file must be named something that sorts before all other
+dnl gnulib-provided .m4 files. It is needed until such time as we can
+dnl assume Autoconf 2.64, with its improved AC_DEFUN_ONCE semantics.
+
+# AC_DEFUN_ONCE([NAME], VALUE)
+# ----------------------------
+# Define NAME to expand to VALUE on the first use (whether by direct
+# expansion, or by AC_REQUIRE), and to nothing on all subsequent uses.
+# Avoid bugs in AC_REQUIRE in Autoconf 2.63 and earlier. This
+# definition is slower than the version in Autoconf 2.64, because it
+# can only use interfaces that existed since 2.59; but it achieves the
+# same effect. Quoting is necessary to avoid confusing Automake.
+m4_version_prereq([2.63.263], [],
+[m4_define([AC][_DEFUN_ONCE],
+ [AC][_DEFUN([$1],
+ [AC_REQUIRE([_gl_DEFUN_ONCE([$1])],
+ [m4_indir([_gl_DEFUN_ONCE([$1])])])])]dnl
+[AC][_DEFUN([_gl_DEFUN_ONCE([$1])], [$2])])])
+
+# gl_00GNULIB
+# -----------
+# Witness macro that this file has been included. Needed to force
+# Automake to include this file prior to all other gnulib .m4 files.
+AC_DEFUN([gl_00GNULIB])