aboutsummaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2010-12-07 19:20:44 -0700
committerThomas White <taw@physics.org>2012-02-22 15:27:08 +0100
commitc2a85bc44e4883b6240d0b5debfa6f1ed8bce915 (patch)
tree03e00afa820a234e41fd8ede0337d0da4b0f6872 /m4
parent5084f60ed55119d709cfd7f75fcc5823f58bc094 (diff)
Add Gnulib to deal with unportability of 'strndup'
Diffstat (limited to 'm4')
-rw-r--r--m4/.gitignore15
-rw-r--r--m4/gnulib-cache.m434
2 files changed, 49 insertions, 0 deletions
diff --git a/m4/.gitignore b/m4/.gitignore
new file mode 100644
index 00000000..99e48762
--- /dev/null
+++ b/m4/.gitignore
@@ -0,0 +1,15 @@
+/00gnulib.m4
+/extensions.m4
+/gnulib-common.m4
+/gnulib-comp.m4
+/gnulib-tool.m4
+/include_next.m4
+/memchr.m4
+/mmap-anon.m4
+/onceonly.m4
+/stddef_h.m4
+/string_h.m4
+/strndup.m4
+/strnlen.m4
+/warn-on-use.m4
+/wchar_t.m4
diff --git a/m4/gnulib-cache.m4 b/m4/gnulib-cache.m4
new file mode 100644
index 00000000..a24a14e2
--- /dev/null
+++ b/m4/gnulib-cache.m4
@@ -0,0 +1,34 @@
+# Copyright (C) 2002-2010 Free Software Foundation, Inc.
+#
+# This file is free software, distributed under the terms of the GNU
+# General Public License. As a special exception to the GNU General
+# Public License, this file may be distributed as part of a program
+# that contains a configuration script generated by Autoconf, under
+# the same distribution terms as the rest of that program.
+#
+# Generated by gnulib-tool.
+#
+# This file represents the specification of how gnulib-tool is used.
+# It acts as a cache: It is written and read by gnulib-tool.
+# In projects that use version control, this file is meant to be put under
+# version control, like the configure.ac and various Makefile.am files.
+
+
+# Specification in the form of a command-line invocation:
+# gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=. --no-libtool --macro-prefix=gl strndup
+
+# Specification in the form of a few gnulib-tool.m4 macro invocations:
+gl_LOCAL_DIR([])
+gl_MODULES([
+ strndup
+])
+gl_AVOID([])
+gl_SOURCE_BASE([lib])
+gl_M4_BASE([m4])
+gl_PO_BASE([])
+gl_DOC_BASE([doc])
+gl_TESTS_BASE([tests])
+gl_LIB([libgnu])
+gl_MAKEFILE_NAME([])
+gl_MACRO_PREFIX([gl])
+gl_PO_DOMAIN([])