summaryrefslogtreecommitdiff
path: root/modules/filenamecat-lgpl
Commit message (Collapse)AuthorAgeFilesLines
* filenamecat*: Respect rules for use of AC_LIBOBJ.Bruno Haible2011-06-161-0/+1
| | | | | | | * m4/filenamecat.m4 (gl_FILE_NAME_CONCAT, gl_FILE_NAME_CONCAT_LGPL): Remove AC_LIBOBJ invocation. * modules/filenamecat (Makefile.am): Augment lib_SOURCES. * modules/filenamecat-lgpl (Makefile.am): Augment lib_SOURCES.
* filenamecat-lgpl: fix licenceEric Blake2011-04-271-1/+1
| | | | | | | | | | http://lists.gnu.org/archive/html/bug-gnulib/2009-10/msg00299.html talked about splitting out LGPLv2+ portions of existing modules. * modules/filenamecat-lgpl (License): Mark as LGPLv2+, as intended when it was first created. Signed-off-by: Eric Blake <eblake@redhat.com>
* filenamecat: split into filenamecat-lgplEric Blake2009-10-291-0/+24
The concept of filenamecat is simple enough to use in an LGPL manner, even though current clients are GPL for other reasons. At any rate, it is nice to separate mfile_name_concat into its own file so that the linker does not fail without xalloc_die. * modules/filenamecat-lgpl: New module. * modules/filenamecat (Files): Move library-safe files into filenamecat-lgpl. (Depends-on): Add filenamecat-lgpl. (configure.ac): Declare witness. * lib/filenamecat.h (file_name_concat): Only declare when using GPL module. * lib/filenamecat.c (longest_relative_suffix, mfile_name_concat): Move... * lib/filenamecat-lgpl.c: ...into new file. * m4/filenamecat.m4 (gl_FILE_NAME_CONCAT_LGPL): New macro. (gl_FILE_NAME_CONCAT): Use it. * MODULES.html.sh (File system functions): Mention new module. Signed-off-by: Eric Blake <ebb9@byu.net>