From c2a85bc44e4883b6240d0b5debfa6f1ed8bce915 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 7 Dec 2010 19:20:44 -0700 Subject: Add Gnulib to deal with unportability of 'strndup' --- m4/.gitignore | 15 +++++++++++++++ m4/gnulib-cache.m4 | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 m4/.gitignore create mode 100644 m4/gnulib-cache.m4 (limited to 'm4') 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([]) -- cgit v1.2.3