diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2012-01-17 14:43:55 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2012-01-17 14:43:55 +0000 |
commit | 2de9abc5c9d40b3c716307d67d16146f823fd554 (patch) | |
tree | 6979db67934ddc8b564150b465846a383b428ff8 /gnulib/modules | |
parent | 33cc1c6fda6e72a7bae1401e9b2cec495a4d3ff1 (diff) | |
download | patch-2de9abc5c9d40b3c716307d67d16146f823fd554.tar.gz |
add the output of bootstrapbaserock/bootstrap-pass2baserock/bootstrap
Diffstat (limited to 'gnulib/modules')
2414 files changed, 59940 insertions, 0 deletions
diff --git a/gnulib b/gnulib deleted file mode 160000 -Subproject 443bc5ffcf7429e557f4a371b0661abe98ddbc1 diff --git a/gnulib/modules/.gitattributes b/gnulib/modules/.gitattributes new file mode 100644 index 0000000..0d72641 --- /dev/null +++ b/gnulib/modules/.gitattributes @@ -0,0 +1,2 @@ +# "git diff --check" should not reject modules files which end in a blank line. +* whitespace=-trail diff --git a/gnulib/modules/COPYING b/gnulib/modules/COPYING new file mode 100644 index 0000000..e1a01bf --- /dev/null +++ b/gnulib/modules/COPYING @@ -0,0 +1,8 @@ +The files in this directory describe the gnulib modules. +The following copyright notice applies to each of these +description files. + +Copyright (C) 2002-2011 Free Software Foundation, Inc. +This file is free software; the Free Software Foundation +gives unlimited permission to copy and/or distribute it, +with or without modifications, as long as this notice is preserved. diff --git a/gnulib/modules/README b/gnulib/modules/README new file mode 100644 index 0000000..acb4209 --- /dev/null +++ b/gnulib/modules/README @@ -0,0 +1,15 @@ +This directory contains metainformation about the gnulib modules, one or two +files per module. These files are used by gnulib-tool. + +For every module, + - the file <module> is the metainformation about the library code of the + module, + - the file <module>-tests is the metainformation about the unit test of + the module (optional but recommended). + +All the files in this directory are distributed under the following copyright: + + Copyright (C) 2002-2011 Free Software Foundation, Inc. + Copying and distribution of this file, with or without modification, + in any medium, are permitted without royalty provided the copyright + notice and this notice are preserved. diff --git a/gnulib/modules/TEMPLATE b/gnulib/modules/TEMPLATE new file mode 100644 index 0000000..6f8b2c2 --- /dev/null +++ b/gnulib/modules/TEMPLATE @@ -0,0 +1,17 @@ +Description: + +Files: + +Depends-on: + +configure.ac: + +Makefile.am: + +Include: + +License: +GPL + +Maintainer: + diff --git a/gnulib/modules/TEMPLATE-EXTENDED b/gnulib/modules/TEMPLATE-EXTENDED new file mode 100644 index 0000000..c9e9051 --- /dev/null +++ b/gnulib/modules/TEMPLATE-EXTENDED @@ -0,0 +1,29 @@ +Description: + +Comment: + +Status: + +Notice: + +Applicability: + +Files: + +Depends-on: + +configure.ac-early: + +configure.ac: + +Makefile.am: + +Include: + +Link: + +License: +GPL + +Maintainer: + diff --git a/gnulib/modules/TEMPLATE-TESTS b/gnulib/modules/TEMPLATE-TESTS new file mode 100644 index 0000000..30c7c35 --- /dev/null +++ b/gnulib/modules/TEMPLATE-TESTS @@ -0,0 +1,8 @@ +Files: + +Depends-on: + +configure.ac: + +Makefile.am: + diff --git a/gnulib/modules/_Exit b/gnulib/modules/_Exit new file mode 100644 index 0000000..179a02b --- /dev/null +++ b/gnulib/modules/_Exit @@ -0,0 +1,28 @@ +Description: +_Exit() function: terminate current process. + +Files: +lib/_Exit.c +m4/_Exit.m4 + +Depends-on: +stdlib + +configure.ac: +gl_FUNC__EXIT +if test $HAVE__EXIT = 0; then + AC_LIBOBJ([_Exit]) + gl_PREREQ__EXIT +fi +gl_STDLIB_MODULE_INDICATOR([_Exit]) + +Makefile.am: + +Include: +<stdlib.h> + +License: +LGPL + +Maintainer: +all diff --git a/gnulib/modules/_Exit-tests b/gnulib/modules/_Exit-tests new file mode 100644 index 0000000..7d0388b --- /dev/null +++ b/gnulib/modules/_Exit-tests @@ -0,0 +1,11 @@ +Files: +tests/test-_Exit.sh +tests/test-_Exit.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-_Exit.sh +check_PROGRAMS += test-_Exit diff --git a/gnulib/modules/absolute-header b/gnulib/modules/absolute-header new file mode 100644 index 0000000..491d3d2 --- /dev/null +++ b/gnulib/modules/absolute-header @@ -0,0 +1,23 @@ +Description: +Allows wrapping a broken system header in a gnulib replacement. + +Files: +m4/absolute-header.m4 + +Depends-on: + +configure.ac: + +Makefile.am: +# Use this preprocessor expression to decide whether #include_next works. +# Do not rely on a 'configure'-time test for this, since the expression +# might appear in an installed header, which is used by some other compiler. +HAVE_INCLUDE_NEXT = (__GNUC__ || 60000000 <= __DECC_VER) + +Include: + +License: +LGPLv2+ + +Maintainer: +all diff --git a/gnulib/modules/accept b/gnulib/modules/accept new file mode 100644 index 0000000..059a56d --- /dev/null +++ b/gnulib/modules/accept @@ -0,0 +1,33 @@ +Description: +accept() function: accept a connection to a server socket. + +Files: +lib/accept.c +lib/w32sock.h + +Depends-on: +sys_socket +socketlib +errno [test "$ac_cv_header_winsock2_h" = yes] +msvc-nothrow [test "$ac_cv_header_winsock2_h" = yes] + +configure.ac: +AC_REQUIRE([gl_HEADER_SYS_SOCKET]) +if test "$ac_cv_header_winsock2_h" = yes; then + AC_LIBOBJ([accept]) +fi +gl_SYS_SOCKET_MODULE_INDICATOR([accept]) + +Makefile.am: + +Include: +<sys/socket.h> + +Link: +$(LIBSOCKET) + +License: +LGPLv2+ + +Maintainer: +Paolo Bonzini, Simon Josefsson diff --git a/gnulib/modules/accept-tests b/gnulib/modules/accept-tests new file mode 100644 index 0000000..a03be0a --- /dev/null +++ b/gnulib/modules/accept-tests @@ -0,0 +1,15 @@ +Files: +tests/test-accept.c +tests/signature.h +tests/macros.h + +Depends-on: +netinet_in +sockets + +configure.ac: + +Makefile.am: +TESTS += test-accept +check_PROGRAMS += test-accept +test_accept_LDADD = $(LDADD) @LIBSOCKET@ diff --git a/gnulib/modules/accept4 b/gnulib/modules/accept4 new file mode 100644 index 0000000..e931976 --- /dev/null +++ b/gnulib/modules/accept4 @@ -0,0 +1,34 @@ +Description: +accept4() function: accept a connection on a socket, with specific opening +flags. + +Files: +lib/accept4.c +m4/accept4.m4 + +Depends-on: +sys_socket +accept +fcntl-h +binary-io +extensions +msvc-nothrow + +configure.ac: +gl_FUNC_ACCEPT4 +gl_SYS_SOCKET_MODULE_INDICATOR([accept4]) + +Makefile.am: +lib_SOURCES += accept4.c + +Include: +<sys/socket.h> + +Link: +$(LIBSOCKET) + +License: +LGPL + +Maintainer: +Bruno Haible, Simon Josefsson diff --git a/gnulib/modules/accept4-tests b/gnulib/modules/accept4-tests new file mode 100644 index 0000000..ad8f5fc --- /dev/null +++ b/gnulib/modules/accept4-tests @@ -0,0 +1,17 @@ +Files: +tests/test-accept4.c +tests/signature.h +tests/macros.h + +Depends-on: +fcntl-h +netinet_in +binary-io +sockets + +configure.ac: + +Makefile.am: +TESTS += test-accept4 +check_PROGRAMS += test-accept4 +test_accept4_LDADD = $(LDADD) @LIBSOCKET@ diff --git a/gnulib/modules/acl b/gnulib/modules/acl new file mode 100644 index 0000000..434a634 --- /dev/null +++ b/gnulib/modules/acl @@ -0,0 +1,36 @@ +Description: +Access control lists of files. (Unportable.) + +Files: +lib/acl.h +lib/acl-internal.h +lib/acl_entries.c +lib/set-mode-acl.c +lib/copy-acl.c +lib/file-has-acl.c +m4/acl.m4 + +Depends-on: +error +fstat +gettext-h +quote +sys_stat + +configure.ac: +gl_FUNC_ACL + +Makefile.am: +lib_SOURCES += set-mode-acl.c copy-acl.c file-has-acl.c + +Include: +"acl.h" + +Link: +$(LIB_ACL) + +License: +GPL + +Maintainer: +Paul Eggert, Jim Meyering, Bruno Haible diff --git a/gnulib/modules/acl-tests b/gnulib/modules/acl-tests new file mode 100644 index 0000000..36908b3 --- /dev/null +++ b/gnulib/modules/acl-tests @@ -0,0 +1,36 @@ +Files: +tests/test-file-has-acl.sh +tests/test-file-has-acl-1.sh +tests/test-file-has-acl-2.sh +tests/test-set-mode-acl.sh +tests/test-set-mode-acl-1.sh +tests/test-set-mode-acl-2.sh +tests/test-copy-acl.sh +tests/test-copy-acl-1.sh +tests/test-copy-acl-2.sh +tests/test-file-has-acl.c +tests/test-set-mode-acl.c +tests/test-copy-acl.c +tests/test-sameacls.c +tests/macros.h + +Depends-on: +progname +read-file +unistd +xalloc + +configure.ac: +AC_CHECK_DECLS_ONCE([alarm]) + +Makefile.am: +TESTS += \ + test-file-has-acl.sh test-file-has-acl-1.sh test-file-has-acl-2.sh \ + test-set-mode-acl.sh test-set-mode-acl-1.sh test-set-mode-acl-2.sh \ + test-copy-acl.sh test-copy-acl-1.sh test-copy-acl-2.sh +TESTS_ENVIRONMENT += USE_ACL=$(USE_ACL) +check_PROGRAMS += test-file-has-acl test-set-mode-acl test-copy-acl test-sameacls +test_file_has_acl_LDADD = $(LDADD) $(LIB_ACL) +test_set_mode_acl_LDADD = $(LDADD) $(LIB_ACL) @LIBINTL@ +test_copy_acl_LDADD = $(LDADD) $(LIB_ACL) @LIBINTL@ +test_sameacls_LDADD = $(LDADD) $(LIB_ACL) @LIBINTL@ diff --git a/gnulib/modules/acos b/gnulib/modules/acos new file mode 100644 index 0000000..1ddb3fc --- /dev/null +++ b/gnulib/modules/acos @@ -0,0 +1,25 @@ +Description: +acos() function: inverse cosine function. + +Files: +m4/acos.m4 +m4/mathfunc.m4 + +Depends-on: + +configure.ac: +gl_FUNC_ACOS + +Makefile.am: + +Include: +<math.h> + +Link: +$(ACOS_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/acos-tests b/gnulib/modules/acos-tests new file mode 100644 index 0000000..93c19d1 --- /dev/null +++ b/gnulib/modules/acos-tests @@ -0,0 +1,13 @@ +Files: +tests/test-acos.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-acos +check_PROGRAMS += test-acos +test_acos_LDADD = $(LDADD) @ACOS_LIBM@ diff --git a/gnulib/modules/acosf b/gnulib/modules/acosf new file mode 100644 index 0000000..aa61b03 --- /dev/null +++ b/gnulib/modules/acosf @@ -0,0 +1,31 @@ +Description: +acosf() function: inverse cosine function. + +Files: +lib/acosf.c +m4/acosf.m4 + +Depends-on: +math +acos [test $HAVE_ACOSF = 0] + +configure.ac: +gl_FUNC_ACOSF +if test $HAVE_ACOSF = 0; then + AC_LIBOBJ([acosf]) +fi +gl_MATH_MODULE_INDICATOR([acosf]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(ACOSF_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/acosf-tests b/gnulib/modules/acosf-tests new file mode 100644 index 0000000..a151fbd --- /dev/null +++ b/gnulib/modules/acosf-tests @@ -0,0 +1,13 @@ +Files: +tests/test-acosf.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-acosf +check_PROGRAMS += test-acosf +test_acosf_LDADD = $(LDADD) @ACOSF_LIBM@ diff --git a/gnulib/modules/acosl b/gnulib/modules/acosl new file mode 100644 index 0000000..2ca9ebe --- /dev/null +++ b/gnulib/modules/acosl @@ -0,0 +1,34 @@ +Description: +acosl() function: inverse cosine function with long double argument. + +Files: +lib/acosl.c +m4/acosl.m4 + +Depends-on: +math +extensions +acos [test $HAVE_ACOSL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1] +asinl [test $HAVE_ACOSL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] +sqrtl [test $HAVE_ACOSL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] + +configure.ac: +gl_FUNC_ACOSL +if test $HAVE_ACOSL = 0; then + AC_LIBOBJ([acosl]) +fi +gl_MATH_MODULE_INDICATOR([acosl]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(ACOSL_LIBM) + +License: +LGPL + +Maintainer: +Paolo Bonzini diff --git a/gnulib/modules/acosl-tests b/gnulib/modules/acosl-tests new file mode 100644 index 0000000..c0ea5b9 --- /dev/null +++ b/gnulib/modules/acosl-tests @@ -0,0 +1,14 @@ +Files: +tests/test-acosl.c +tests/signature.h +tests/macros.h + +Depends-on: +fpucw + +configure.ac: + +Makefile.am: +TESTS += test-acosl +check_PROGRAMS += test-acosl +test_acosl_LDADD = $(LDADD) @ACOSL_LIBM@ diff --git a/gnulib/modules/agpl-3.0 b/gnulib/modules/agpl-3.0 new file mode 100644 index 0000000..98c3ced --- /dev/null +++ b/gnulib/modules/agpl-3.0 @@ -0,0 +1,19 @@ +Description: +Provide the GNU Affero General Public License version 3.0 in Texinfo format. + +Files: +doc/agpl-3.0.texi + +Depends-on: + +configure.ac: + +Makefile.am: + +Include: + +License: +unmodifiable license text + +Maintainer: +all diff --git a/gnulib/modules/alignof b/gnulib/modules/alignof new file mode 100644 index 0000000..3635baa --- /dev/null +++ b/gnulib/modules/alignof @@ -0,0 +1,20 @@ +Description: +Determine alignment of types. + +Files: +lib/alignof.h + +Depends-on: + +configure.ac: + +Makefile.am: + +Include: +"alignof.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/alignof-tests b/gnulib/modules/alignof-tests new file mode 100644 index 0000000..be4cb94 --- /dev/null +++ b/gnulib/modules/alignof-tests @@ -0,0 +1,13 @@ +Files: +tests/test-alignof.c + +Depends-on: +verify +stdint + +configure.ac: + +Makefile.am: +TESTS += test-alignof +check_PROGRAMS += test-alignof + diff --git a/gnulib/modules/alloca b/gnulib/modules/alloca new file mode 100644 index 0000000..13d80dd --- /dev/null +++ b/gnulib/modules/alloca @@ -0,0 +1,21 @@ +Description: +Memory allocation on the stack. + +Files: +lib/alloca.c + +Depends-on: +alloca-opt + +configure.ac: + +Makefile.am: + +Include: +<alloca.h> + +License: +public domain + +Maintainer: +bug-gnulib@gnu.org diff --git a/gnulib/modules/alloca-opt b/gnulib/modules/alloca-opt new file mode 100644 index 0000000..d4468de --- /dev/null +++ b/gnulib/modules/alloca-opt @@ -0,0 +1,40 @@ +Description: +Memory allocation on the stack, as an optional optimization. +It allows using the alloca() macro if and only if the autoconf tests define +HAVE_ALLOCA. + +Files: +lib/alloca.in.h +m4/alloca.m4 + +Depends-on: + +configure.ac: +gl_FUNC_ALLOCA + +Makefile.am: +BUILT_SOURCES += $(ALLOCA_H) + +# We need the following in order to create <alloca.h> when the system +# doesn't have one that works with the given compiler. +if GL_GENERATE_ALLOCA_H +alloca.h: alloca.in.h $(top_builddir)/config.status + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + cat $(srcdir)/alloca.in.h; \ + } > $@-t && \ + mv -f $@-t $@ +else +alloca.h: $(top_builddir)/config.status + rm -f $@ +endif +MOSTLYCLEANFILES += alloca.h alloca.h-t + +Include: +<alloca.h> + +License: +LGPLv2+ + +Maintainer: +bug-gnulib@gnu.org diff --git a/gnulib/modules/alloca-opt-tests b/gnulib/modules/alloca-opt-tests new file mode 100644 index 0000000..4c7e651 --- /dev/null +++ b/gnulib/modules/alloca-opt-tests @@ -0,0 +1,11 @@ +Files: +tests/test-alloca-opt.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-alloca-opt +check_PROGRAMS += test-alloca-opt + diff --git a/gnulib/modules/allocator b/gnulib/modules/allocator new file mode 100644 index 0000000..6ff5552 --- /dev/null +++ b/gnulib/modules/allocator @@ -0,0 +1,22 @@ +Description: +Storage allocators. + +Files: +lib/allocator.h +lib/allocator.c + +Depends-on: + +configure.ac: + +Makefile.am: +lib_SOURCES += allocator.c + +Include: +"allocator.h" + +License: +LGPLv2+ + +Maintainer: +all diff --git a/gnulib/modules/alphasort b/gnulib/modules/alphasort new file mode 100644 index 0000000..e567057 --- /dev/null +++ b/gnulib/modules/alphasort @@ -0,0 +1,30 @@ +Description: +alphasort() function: compare entries of a directory alphabetically + +Files: +lib/alphasort.c +m4/alphasort.m4 + +Depends-on: +dirent +extensions + +configure.ac: +gl_FUNC_ALPHASORT +if test $HAVE_ALPHASORT = 0; then + AC_LIBOBJ([alphasort]) + gl_PREREQ_ALPHASORT +fi +gl_DIRENT_MODULE_INDICATOR([alphasort]) + +Makefile.am: + +Include: +<dirent.h> + +License: +LGPL + +Maintainer: +all, glibc + diff --git a/gnulib/modules/amemxfrm b/gnulib/modules/amemxfrm new file mode 100644 index 0000000..a5fb244 --- /dev/null +++ b/gnulib/modules/amemxfrm @@ -0,0 +1,22 @@ +Description: +Locale dependent memory area transformation for comparison. + +Files: +lib/amemxfrm.h +lib/amemxfrm.c + +Depends-on: + +configure.ac: + +Makefile.am: +lib_SOURCES += amemxfrm.c + +Include: +"amemxfrm.h" + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/announce-gen b/gnulib/modules/announce-gen new file mode 100644 index 0000000..558c4b3 --- /dev/null +++ b/gnulib/modules/announce-gen @@ -0,0 +1,19 @@ +Description: +Generate a release announcement message. + +Files: +build-aux/announce-gen + +Depends-on: + +configure.ac: + +Makefile.am: + +Include: + +License: +GPLed build tool + +Maintainer: +coreutils diff --git a/gnulib/modules/ansi-c++-opt b/gnulib/modules/ansi-c++-opt new file mode 100644 index 0000000..8e28ff8 --- /dev/null +++ b/gnulib/modules/ansi-c++-opt @@ -0,0 +1,20 @@ +Description: +Optional use of an ANSI C++ compiler. + +Files: +m4/ansi-c++.m4 + +Depends-on: + +configure.ac: +gl_PROG_ANSI_CXX([CXX], [ANSICXX]) + +Makefile.am: + +Include: + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/areadlink b/gnulib/modules/areadlink new file mode 100644 index 0000000..daf0232 --- /dev/null +++ b/gnulib/modules/areadlink @@ -0,0 +1,23 @@ +Description: +Reading symbolic links without size limitation. + +Files: +lib/areadlink.h +lib/areadlink.c + +Depends-on: +careadlinkat + +configure.ac: + +Makefile.am: +lib_SOURCES += areadlink.c + +Include: +"areadlink.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible, Jim Meyering diff --git a/gnulib/modules/areadlink-tests b/gnulib/modules/areadlink-tests new file mode 100644 index 0000000..869be2c --- /dev/null +++ b/gnulib/modules/areadlink-tests @@ -0,0 +1,15 @@ +Files: +tests/test-areadlink.h +tests/test-areadlink.c +tests/macros.h + +Depends-on: +ignore-value +stdbool +symlink + +configure.ac: + +Makefile.am: +TESTS += test-areadlink +check_PROGRAMS += test-areadlink diff --git a/gnulib/modules/areadlink-with-size b/gnulib/modules/areadlink-with-size new file mode 100644 index 0000000..82a9021 --- /dev/null +++ b/gnulib/modules/areadlink-with-size @@ -0,0 +1,26 @@ +Description: +Return the contents of a symbolic link, without size limitations. + +Files: +lib/areadlink.h +lib/areadlink-with-size.c + +Depends-on: +readlink +ssize_t +stdint +unistd + +configure.ac: + +Makefile.am: +lib_SOURCES += areadlink-with-size.c + +Include: +"areadlink.h" + +License: +LGPLv2+ + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/areadlink-with-size-tests b/gnulib/modules/areadlink-with-size-tests new file mode 100644 index 0000000..b9b3ded --- /dev/null +++ b/gnulib/modules/areadlink-with-size-tests @@ -0,0 +1,15 @@ +Files: +tests/test-areadlink.h +tests/test-areadlink-with-size.c +tests/macros.h + +Depends-on: +ignore-value +stdbool +symlink + +configure.ac: + +Makefile.am: +TESTS += test-areadlink-with-size +check_PROGRAMS += test-areadlink-with-size diff --git a/gnulib/modules/areadlinkat b/gnulib/modules/areadlinkat new file mode 100644 index 0000000..a9668cf --- /dev/null +++ b/gnulib/modules/areadlinkat @@ -0,0 +1,36 @@ +Description: +Reading symbolic links without size limitation, relative to fd. + +Files: +lib/areadlink.h +lib/areadlinkat.c +lib/at-func.c + +Depends-on: +areadlink +careadlinkat +readlinkat +at-internal +dosname +errno +extensions +fchdir +fcntl-h +openat-die +openat-h +save-cwd + +configure.ac: +gl_MODULE_INDICATOR([areadlinkat]) + +Makefile.am: +lib_SOURCES += areadlinkat.c + +Include: +"areadlink.h" + +License: +GPL + +Maintainer: +Jim Meyering, Eric Blake diff --git a/gnulib/modules/areadlinkat-tests b/gnulib/modules/areadlinkat-tests new file mode 100644 index 0000000..422ac61 --- /dev/null +++ b/gnulib/modules/areadlinkat-tests @@ -0,0 +1,16 @@ +Files: +tests/test-areadlink.h +tests/test-areadlinkat.c +tests/macros.h + +Depends-on: +ignore-value +stdbool +symlink + +configure.ac: + +Makefile.am: +TESTS += test-areadlinkat +check_PROGRAMS += test-areadlinkat +test_areadlinkat_LDADD = $(LDADD) @LIBINTL@ diff --git a/gnulib/modules/areadlinkat-with-size b/gnulib/modules/areadlinkat-with-size new file mode 100644 index 0000000..2cdd959 --- /dev/null +++ b/gnulib/modules/areadlinkat-with-size @@ -0,0 +1,37 @@ +Description: +Read a symbolic link, without size limitations, relative to fd. + +Files: +lib/areadlink.h +lib/areadlinkat-with-size.c +lib/at-func.c + +Depends-on: +areadlink-with-size +stdint +readlinkat +at-internal +dosname +errno +extensions +fchdir +fcntl-h +openat-die +openat-h +save-cwd +unistd + +configure.ac: +gl_MODULE_INDICATOR([areadlinkat-with-size]) + +Makefile.am: +lib_SOURCES += areadlinkat-with-size.c + +Include: +"areadlink.h" + +License: +GPL + +Maintainer: +Jim Meyering, Eric Blake diff --git a/gnulib/modules/areadlinkat-with-size-tests b/gnulib/modules/areadlinkat-with-size-tests new file mode 100644 index 0000000..b86d6e7 --- /dev/null +++ b/gnulib/modules/areadlinkat-with-size-tests @@ -0,0 +1,15 @@ +Files: +tests/test-areadlink.h +tests/test-areadlinkat-with-size.c +tests/macros.h + +Depends-on: +ignore-value +stdbool + +configure.ac: + +Makefile.am: +TESTS += test-areadlinkat-with-size +check_PROGRAMS += test-areadlinkat-with-size +test_areadlinkat_with_size_LDADD = $(LDADD) @LIBINTL@ diff --git a/gnulib/modules/argmatch b/gnulib/modules/argmatch new file mode 100644 index 0000000..c28ecaf --- /dev/null +++ b/gnulib/modules/argmatch @@ -0,0 +1,31 @@ +Description: +Search for an exact or abbreviated match of a string in an array of strings. + +Files: +lib/argmatch.h +lib/argmatch.c + +Depends-on: +gettext-h +error +quotearg +quote +exitfail +verify +stdbool +stdlib +memcmp + +configure.ac: + +Makefile.am: +lib_SOURCES += argmatch.c + +Include: +"argmatch.h" + +License: +GPL + +Maintainer: +all diff --git a/gnulib/modules/argmatch-tests b/gnulib/modules/argmatch-tests new file mode 100644 index 0000000..85ac3a2 --- /dev/null +++ b/gnulib/modules/argmatch-tests @@ -0,0 +1,14 @@ +Files: +tests/test-argmatch.c +tests/macros.h + +Depends-on: +progname + +configure.ac: + +Makefile.am: +TESTS += test-argmatch +check_PROGRAMS += test-argmatch +test_argmatch_LDADD = $(LDADD) @LIBINTL@ + diff --git a/gnulib/modules/argp b/gnulib/modules/argp new file mode 100644 index 0000000..8d49681 --- /dev/null +++ b/gnulib/modules/argp @@ -0,0 +1,62 @@ +Description: +Hierarchical processing of command line arguments. + +Notice: +If you are using GNU gettext version 0.16.1 or older, add the following options +to XGETTEXT_OPTIONS in your po/Makevars: + --flag=argp_error:2:c-format --flag=argp_failure:4:c-format + +Files: +lib/argp.h +lib/argp-ba.c +lib/argp-eexst.c +lib/argp-fmtstream.c +lib/argp-fmtstream.h +lib/argp-fs-xinl.c +lib/argp-help.c +lib/argp-namefrob.h +lib/argp-parse.c +lib/argp-pin.c +lib/argp-pv.c +lib/argp-pvh.c +lib/argp-xinl.c +m4/argp.m4 + +Depends-on: +alloca +dirname-lgpl +getopt-gnu +strchrnul +sysexits +malloc-gnu +mempcpy +strndup +strcase +extensions +vsnprintf +sleep +stdalign +strerror +memchr +memmove + +configure.ac: +gl_ARGP +m4_ifdef([AM_XGETTEXT_OPTION], + [AM_][XGETTEXT_OPTION([--flag=argp_error:2:c-format]) + AM_][XGETTEXT_OPTION([--flag=argp_failure:4:c-format])]) + +Makefile.am: +lib_SOURCES += argp.h argp-ba.c argp-eexst.c \ + argp-fmtstream.c argp-fmtstream.h argp-fs-xinl.c argp-help.c \ + argp-namefrob.h argp-parse.c argp-pin.c argp-pv.c argp-pvh.c \ + argp-xinl.c + +Include: +"argp.h" + +License: +LGPL + +Maintainer: +Sergey Poznyakoff, glibc diff --git a/gnulib/modules/argp-tests b/gnulib/modules/argp-tests new file mode 100644 index 0000000..8f92a4d --- /dev/null +++ b/gnulib/modules/argp-tests @@ -0,0 +1,11 @@ +Files: +tests/test-argp.c +tests/test-argp-2.sh + +Depends-on: +progname + +Makefile.am: +TESTS += test-argp test-argp-2.sh +check_PROGRAMS += test-argp +test_argp_LDADD = $(LDADD) @LIBINTL@ diff --git a/gnulib/modules/argp-version-etc b/gnulib/modules/argp-version-etc new file mode 100644 index 0000000..20a479c --- /dev/null +++ b/gnulib/modules/argp-version-etc @@ -0,0 +1,22 @@ +Description: +Version-etc hook for Argp. + +Files: +lib/argp-version-etc.c +lib/argp-version-etc.h + +Depends-on: +argp +version-etc + +Makefile.am: +lib_SOURCES += argp-version-etc.h argp-version-etc.c + +Include: +"argp-version-etc.h" + +License: +GPL + +Maintainer: +Sergey Poznyakoff diff --git a/gnulib/modules/argp-version-etc-tests b/gnulib/modules/argp-version-etc-tests new file mode 100644 index 0000000..c4451a2 --- /dev/null +++ b/gnulib/modules/argp-version-etc-tests @@ -0,0 +1,13 @@ +Files: +tests/test-argp-version-etc.c +tests/test-argp-version-etc-1.sh + +Depends-on: +argp +progname +version-etc-fsf + +Makefile.am: +TESTS += test-argp-version-etc test-argp-version-etc-1.sh +check_PROGRAMS += test-argp-version-etc +test_argp_version_etc_LDADD = $(LDADD) @LIBINTL@ diff --git a/gnulib/modules/argv-iter b/gnulib/modules/argv-iter new file mode 100644 index 0000000..f7ecaa3 --- /dev/null +++ b/gnulib/modules/argv-iter @@ -0,0 +1,25 @@ +Description: +iterate through argv or a --files0-from=-specified file + +Files: +lib/argv-iter.c +lib/argv-iter.h + +Depends-on: +getdelim +snippet/arg-nonnull +stdbool + +configure.ac: + +Makefile.am: +lib_SOURCES += argv-iter.c argv-iter.h + +Include: +"argv-iter.h" + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/argv-iter-tests b/gnulib/modules/argv-iter-tests new file mode 100644 index 0000000..92c5c82 --- /dev/null +++ b/gnulib/modules/argv-iter-tests @@ -0,0 +1,11 @@ +Files: +tests/test-argv-iter.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-argv-iter +check_PROGRAMS += test-argv-iter diff --git a/gnulib/modules/argz b/gnulib/modules/argz new file mode 100644 index 0000000..a8eb55e --- /dev/null +++ b/gnulib/modules/argz @@ -0,0 +1,48 @@ +Description: +Argv style string arrays in a single null delimited char*. + +Files: +lib/argz.in.h +lib/argz.c +m4/argz.m4 + +Depends-on: +memmove [test -n "$ARGZ_H"] +mempcpy [test -n "$ARGZ_H"] +stpcpy [test -n "$ARGZ_H"] +strndup [test -n "$ARGZ_H"] +strnlen [test -n "$ARGZ_H"] +strstr [test -n "$ARGZ_H"] + +configure.ac: +gl_FUNC_ARGZ +if test -n "$ARGZ_H"; then + AC_LIBOBJ([argz]) +fi + +Makefile.am: +BUILT_SOURCES += $(ARGZ_H) + +# We need the following in order to create <argz.h> when the system +# doesn't have one that works with the given compiler. +if GL_GENERATE_ARGZ_H +argz.h: argz.in.h $(top_builddir)/config.status + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + cat $(srcdir)/argz.in.h; \ + } > $@-t && \ + mv -f $@-t $@ +else +argz.h: $(top_builddir)/config.status + rm -f $@ +endif +MOSTLYCLEANFILES += argz.h argz.h-t + +Include: +<argz.h> + +License: +LGPLv2+ + +Maintainer: +all diff --git a/gnulib/modules/arpa_inet b/gnulib/modules/arpa_inet new file mode 100644 index 0000000..005690f --- /dev/null +++ b/gnulib/modules/arpa_inet @@ -0,0 +1,57 @@ +Description: +A GNU-like <arpa/inet.h>. + +Files: +lib/arpa_inet.in.h +m4/arpa_inet_h.m4 + +Depends-on: +include_next +snippet/arg-nonnull +snippet/c++defs +snippet/warn-on-use +sys_socket + +configure.ac: +gl_HEADER_ARPA_INET +AC_PROG_MKDIR_P + +Makefile.am: +BUILT_SOURCES += arpa/inet.h + +# We need the following in order to create <arpa/inet.h> when the system +# doesn't have one. +arpa/inet.h: arpa_inet.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H) + $(AM_V_at)$(MKDIR_P) arpa + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \ + -e 's|@''NEXT_ARPA_INET_H''@|$(NEXT_ARPA_INET_H)|g' \ + -e 's|@''HAVE_ARPA_INET_H''@|$(HAVE_ARPA_INET_H)|g' \ + -e 's/@''GNULIB_INET_NTOP''@/$(GNULIB_INET_NTOP)/g' \ + -e 's/@''GNULIB_INET_PTON''@/$(GNULIB_INET_PTON)/g' \ + -e 's|@''HAVE_DECL_INET_NTOP''@|$(HAVE_DECL_INET_NTOP)|g' \ + -e 's|@''HAVE_DECL_INET_PTON''@|$(HAVE_DECL_INET_PTON)|g' \ + -e 's|@''REPLACE_INET_NTOP''@|$(REPLACE_INET_NTOP)|g' \ + -e 's|@''REPLACE_INET_PTON''@|$(REPLACE_INET_PTON)|g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ + -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ + < $(srcdir)/arpa_inet.in.h; \ + } > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t +MOSTLYCLEANDIRS += arpa + +Include: +<arpa/inet.h> + +License: +LGPLv2+ + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/arpa_inet-c++-tests b/gnulib/modules/arpa_inet-c++-tests new file mode 100644 index 0000000..5d20170 --- /dev/null +++ b/gnulib/modules/arpa_inet-c++-tests @@ -0,0 +1,19 @@ +Files: +tests/test-arpa_inet-c++.cc +tests/signature.h + +Status: +c++-test + +Depends-on: +ansi-c++-opt + +configure.ac: + +Makefile.am: +if ANSICXX +TESTS += test-arpa_inet-c++ +check_PROGRAMS += test-arpa_inet-c++ +test_arpa_inet_c___SOURCES = test-arpa_inet-c++.cc +test_arpa_inet_c___LDADD = $(LDADD) $(INET_NTOP_LIB) $(INET_PTON_LIB) $(LIBSOCKET) +endif diff --git a/gnulib/modules/arpa_inet-tests b/gnulib/modules/arpa_inet-tests new file mode 100644 index 0000000..d6706f9 --- /dev/null +++ b/gnulib/modules/arpa_inet-tests @@ -0,0 +1,11 @@ +Files: +tests/test-arpa_inet.c + +Depends-on: +arpa_inet-c++-tests + +configure.ac: + +Makefile.am: +TESTS += test-arpa_inet +check_PROGRAMS += test-arpa_inet diff --git a/gnulib/modules/array-list b/gnulib/modules/array-list new file mode 100644 index 0000000..9d6e2b9 --- /dev/null +++ b/gnulib/modules/array-list @@ -0,0 +1,25 @@ +Description: +Sequential list data type implemented by an array. + +Files: +lib/gl_array_list.h +lib/gl_array_list.c + +Depends-on: +list +xsize + +configure.ac: + +Makefile.am: +lib_SOURCES += gl_array_list.h gl_array_list.c + +Include: +"gl_array_list.h" + +License: +GPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/array-list-tests b/gnulib/modules/array-list-tests new file mode 100644 index 0000000..1e9524d --- /dev/null +++ b/gnulib/modules/array-list-tests @@ -0,0 +1,13 @@ +Files: +tests/test-array_list.c +tests/macros.h + +Depends-on: +progname + +configure.ac: + +Makefile.am: +TESTS += test-array_list +check_PROGRAMS += test-array_list + diff --git a/gnulib/modules/array-mergesort b/gnulib/modules/array-mergesort new file mode 100644 index 0000000..facc605 --- /dev/null +++ b/gnulib/modules/array-mergesort @@ -0,0 +1,21 @@ +Description: +Merge-sort algorithm on arrays. + +Files: +lib/array-mergesort.h + +Depends-on: + +configure.ac: + +Makefile.am: + +Include: +"array-mergesort.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/array-mergesort-tests b/gnulib/modules/array-mergesort-tests new file mode 100644 index 0000000..5bf9b67 --- /dev/null +++ b/gnulib/modules/array-mergesort-tests @@ -0,0 +1,11 @@ +Files: +tests/test-array-mergesort.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-array-mergesort +check_PROGRAMS += test-array-mergesort diff --git a/gnulib/modules/array-oset b/gnulib/modules/array-oset new file mode 100644 index 0000000..2f264ed --- /dev/null +++ b/gnulib/modules/array-oset @@ -0,0 +1,25 @@ +Description: +Ordered set data type implemented by an array. + +Files: +lib/gl_array_oset.h +lib/gl_array_oset.c + +Depends-on: +oset +xsize + +configure.ac: + +Makefile.am: +lib_SOURCES += gl_array_oset.h gl_array_oset.c + +Include: +"gl_array_oset.h" + +License: +GPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/array-oset-tests b/gnulib/modules/array-oset-tests new file mode 100644 index 0000000..5791316 --- /dev/null +++ b/gnulib/modules/array-oset-tests @@ -0,0 +1,16 @@ +Files: +tests/test-array_oset.c +tests/macros.h + +Depends-on: +xlist +array-list +progname + +configure.ac: + +Makefile.am: +TESTS += test-array_oset +check_PROGRAMS += test-array_oset +test_array_oset_LDADD = $(LDADD) @LIBINTL@ + diff --git a/gnulib/modules/asin b/gnulib/modules/asin new file mode 100644 index 0000000..ac11458 --- /dev/null +++ b/gnulib/modules/asin @@ -0,0 +1,25 @@ +Description: +asin() function: inverse sine function. + +Files: +m4/asin.m4 +m4/mathfunc.m4 + +Depends-on: + +configure.ac: +gl_FUNC_ASIN + +Makefile.am: + +Include: +<math.h> + +Link: +$(ASIN_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/asin-tests b/gnulib/modules/asin-tests new file mode 100644 index 0000000..a6ffbe5 --- /dev/null +++ b/gnulib/modules/asin-tests @@ -0,0 +1,13 @@ +Files: +tests/test-asin.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-asin +check_PROGRAMS += test-asin +test_asin_LDADD = $(LDADD) @ASIN_LIBM@ diff --git a/gnulib/modules/asinf b/gnulib/modules/asinf new file mode 100644 index 0000000..395ff2c --- /dev/null +++ b/gnulib/modules/asinf @@ -0,0 +1,31 @@ +Description: +asinf() function: inverse sine function. + +Files: +lib/asinf.c +m4/asinf.m4 + +Depends-on: +math +asin [test $HAVE_ASINF = 0] + +configure.ac: +gl_FUNC_ASINF +if test $HAVE_ASINF = 0; then + AC_LIBOBJ([asinf]) +fi +gl_MATH_MODULE_INDICATOR([asinf]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(ASINF_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/asinf-tests b/gnulib/modules/asinf-tests new file mode 100644 index 0000000..0e234af --- /dev/null +++ b/gnulib/modules/asinf-tests @@ -0,0 +1,13 @@ +Files: +tests/test-asinf.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-asinf +check_PROGRAMS += test-asinf +test_asinf_LDADD = $(LDADD) @ASINF_LIBM@ diff --git a/gnulib/modules/asinl b/gnulib/modules/asinl new file mode 100644 index 0000000..8abb65b --- /dev/null +++ b/gnulib/modules/asinl @@ -0,0 +1,33 @@ +Description: +asinl() function: inverse sine function with long double argument. + +Files: +lib/asinl.c +m4/asinl.m4 + +Depends-on: +math +extensions +asin [test $HAVE_ASINL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1] +sqrtl [test $HAVE_ASINL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] + +configure.ac: +gl_FUNC_ASINL +if test $HAVE_ASINL = 0; then + AC_LIBOBJ([asinl]) +fi +gl_MATH_MODULE_INDICATOR([asinl]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(ASINL_LIBM) + +License: +LGPL + +Maintainer: +Paolo Bonzini diff --git a/gnulib/modules/asinl-tests b/gnulib/modules/asinl-tests new file mode 100644 index 0000000..b111212 --- /dev/null +++ b/gnulib/modules/asinl-tests @@ -0,0 +1,14 @@ +Files: +tests/test-asinl.c +tests/signature.h +tests/macros.h + +Depends-on: +fpucw + +configure.ac: + +Makefile.am: +TESTS += test-asinl +check_PROGRAMS += test-asinl +test_asinl_LDADD = $(LDADD) @ASINL_LIBM@ diff --git a/gnulib/modules/assert b/gnulib/modules/assert new file mode 100644 index 0000000..900a167 --- /dev/null +++ b/gnulib/modules/assert @@ -0,0 +1,22 @@ +Description: +Allow the installer to disable assertions through "configure --disable-assert". + +Files: +m4/assert.m4 + +Depends-on: + +configure.ac: +gl_ASSERT + +Makefile.am: + +Include: +<assert.h> + +License: +GPL + +Maintainer: +Jim Meyering + diff --git a/gnulib/modules/assert-h b/gnulib/modules/assert-h new file mode 100644 index 0000000..85d6fc8 --- /dev/null +++ b/gnulib/modules/assert-h @@ -0,0 +1,49 @@ +Description: +An <assert.h> that conforms to C1X. + +Files: +lib/assert.in.h +lib/verify.h +m4/assert_h.m4 + +Depends-on: +include_next + +configure.ac: +gl_ASSERT_H + +Makefile.am: +BUILT_SOURCES += $(ASSERT_H) + +# We need the following in order to create <assert.h> when the system +# doesn't have one that works with the given compiler. +if GL_GENERATE_ASSERT_H +assert.h: assert.in.h verify.h $(top_builddir)/config.status + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ + sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_ASSERT_H''@|$(NEXT_ASSERT_H)|g' \ + < $(srcdir)/assert.in.h && \ + sed -e '/@assert.h omit start@/,/@assert.h omit end@/d' \ + -e 's|_gl_verify|_gl_static_assert|g' \ + -e 's|_GL_VERIFY|_GL_STATIC_ASSERT|g' \ + -e 's|_GL\(_STATIC_ASSERT_H\)|_${gl_include_guard_prefix}\1|g' \ + < $(srcdir)/verify.h; \ + } > $@-t && \ + mv $@-t $@ +else +assert.h: $(top_builddir)/config.status + rm -f $@ +endif +MOSTLYCLEANFILES += assert.h assert.h-t + +Include: +<assert.h> + +License: +LGPLv2+ + +Maintainer: +Paul Eggert diff --git a/gnulib/modules/astrxfrm b/gnulib/modules/astrxfrm new file mode 100644 index 0000000..ff7cfa5 --- /dev/null +++ b/gnulib/modules/astrxfrm @@ -0,0 +1,22 @@ +Description: +Locale dependent string transformation for comparison. + +Files: +lib/astrxfrm.h +lib/astrxfrm.c + +Depends-on: + +configure.ac: + +Makefile.am: +lib_SOURCES += astrxfrm.c + +Include: +"astrxfrm.h" + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/astrxfrm-tests b/gnulib/modules/astrxfrm-tests new file mode 100644 index 0000000..af8c100 --- /dev/null +++ b/gnulib/modules/astrxfrm-tests @@ -0,0 +1,11 @@ +Files: +tests/test-astrxfrm.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-astrxfrm +check_PROGRAMS += test-astrxfrm diff --git a/gnulib/modules/at-internal b/gnulib/modules/at-internal new file mode 100644 index 0000000..524750b --- /dev/null +++ b/gnulib/modules/at-internal @@ -0,0 +1,28 @@ +Description: +Internal functions for dealing with files relative to a directory. + +Files: +lib/openat-priv.h +lib/openat-proc.c + +Depends-on: +errno +fcntl-h +intprops +open +sys_stat +unistd + +configure.ac: +AC_LIBOBJ([openat-proc]) + +Makefile.am: + +Include: +"openat-priv.h" + +License: +GPL + +Maintainer: +Jim Meyering, Eric Blake diff --git a/gnulib/modules/atan b/gnulib/modules/atan new file mode 100644 index 0000000..5a82663 --- /dev/null +++ b/gnulib/modules/atan @@ -0,0 +1,25 @@ +Description: +atan() function: inverse tangent function. + +Files: +m4/atan.m4 +m4/mathfunc.m4 + +Depends-on: + +configure.ac: +gl_FUNC_ATAN + +Makefile.am: + +Include: +<math.h> + +Link: +$(ATAN_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/atan-tests b/gnulib/modules/atan-tests new file mode 100644 index 0000000..bdd5605 --- /dev/null +++ b/gnulib/modules/atan-tests @@ -0,0 +1,13 @@ +Files: +tests/test-atan.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-atan +check_PROGRAMS += test-atan +test_atan_LDADD = $(LDADD) @ATAN_LIBM@ diff --git a/gnulib/modules/atan2 b/gnulib/modules/atan2 new file mode 100644 index 0000000..9b4bf56 --- /dev/null +++ b/gnulib/modules/atan2 @@ -0,0 +1,25 @@ +Description: +atan2() function: angle of a point in the plane. + +Files: +m4/atan2.m4 +m4/mathfunc.m4 + +Depends-on: + +configure.ac: +gl_FUNC_ATAN2 + +Makefile.am: + +Include: +<math.h> + +Link: +$(ATAN2_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/atan2-tests b/gnulib/modules/atan2-tests new file mode 100644 index 0000000..08ca367 --- /dev/null +++ b/gnulib/modules/atan2-tests @@ -0,0 +1,13 @@ +Files: +tests/test-atan2.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-atan2 +check_PROGRAMS += test-atan2 +test_atan2_LDADD = $(LDADD) @ATAN2_LIBM@ diff --git a/gnulib/modules/atan2f b/gnulib/modules/atan2f new file mode 100644 index 0000000..f2d7dc6 --- /dev/null +++ b/gnulib/modules/atan2f @@ -0,0 +1,31 @@ +Description: +atan2f() function: angle of a point in the plane. + +Files: +lib/atan2f.c +m4/atan2f.m4 + +Depends-on: +math +atan2 [test $HAVE_ATAN2F = 0] + +configure.ac: +gl_FUNC_ATAN2F +if test $HAVE_ATAN2F = 0; then + AC_LIBOBJ([atan2f]) +fi +gl_MATH_MODULE_INDICATOR([atan2f]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(ATAN2F_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/atan2f-tests b/gnulib/modules/atan2f-tests new file mode 100644 index 0000000..6523e8b --- /dev/null +++ b/gnulib/modules/atan2f-tests @@ -0,0 +1,13 @@ +Files: +tests/test-atan2f.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-atan2f +check_PROGRAMS += test-atan2f +test_atan2f_LDADD = $(LDADD) @ATAN2F_LIBM@ diff --git a/gnulib/modules/atanf b/gnulib/modules/atanf new file mode 100644 index 0000000..b17a4e6 --- /dev/null +++ b/gnulib/modules/atanf @@ -0,0 +1,31 @@ +Description: +atanf() function: inverse tangent function. + +Files: +lib/atanf.c +m4/atanf.m4 + +Depends-on: +math +atan [test $HAVE_ATANF = 0] + +configure.ac: +gl_FUNC_ATANF +if test $HAVE_ATANF = 0; then + AC_LIBOBJ([atanf]) +fi +gl_MATH_MODULE_INDICATOR([atanf]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(ATANF_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/atanf-tests b/gnulib/modules/atanf-tests new file mode 100644 index 0000000..265ea21 --- /dev/null +++ b/gnulib/modules/atanf-tests @@ -0,0 +1,13 @@ +Files: +tests/test-atanf.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-atanf +check_PROGRAMS += test-atanf +test_atanf_LDADD = $(LDADD) @ATANF_LIBM@ diff --git a/gnulib/modules/atanl b/gnulib/modules/atanl new file mode 100644 index 0000000..a600846 --- /dev/null +++ b/gnulib/modules/atanl @@ -0,0 +1,33 @@ +Description: +atanl() function: inverse tangent function with long double argument. + +Files: +lib/atanl.c +m4/atanl.m4 + +Depends-on: +math +extensions +atan [test $HAVE_ATANL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1] +isnanl [test $HAVE_ATANL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] + +configure.ac: +gl_FUNC_ATANL +if test $HAVE_ATANL = 0; then + AC_LIBOBJ([atanl]) +fi +gl_MATH_MODULE_INDICATOR([atanl]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(ATANL_LIBM) + +License: +LGPL + +Maintainer: +Paolo Bonzini diff --git a/gnulib/modules/atanl-tests b/gnulib/modules/atanl-tests new file mode 100644 index 0000000..79fe52f --- /dev/null +++ b/gnulib/modules/atanl-tests @@ -0,0 +1,14 @@ +Files: +tests/test-atanl.c +tests/signature.h +tests/macros.h + +Depends-on: +fpucw + +configure.ac: + +Makefile.am: +TESTS += test-atanl +check_PROGRAMS += test-atanl +test_atanl_LDADD = $(LDADD) @ATANL_LIBM@ diff --git a/gnulib/modules/atexit b/gnulib/modules/atexit new file mode 100644 index 0000000..d01895f --- /dev/null +++ b/gnulib/modules/atexit @@ -0,0 +1,32 @@ +Description: +atexit() function: register a function to be called at program termination. + +Status: +obsolete + +Notice: +This module is obsolete. + +Files: +lib/atexit.c +m4/atexit.m4 + +Depends-on: + +configure.ac: +gl_FUNC_ATEXIT +if test $ac_cv_func_atexit = no; then + AC_LIBOBJ([atexit]) + gl_PREREQ_ATEXIT +fi + +Makefile.am: + +Include: +<stdlib.h> + +License: +public domain + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/atexit-tests b/gnulib/modules/atexit-tests new file mode 100644 index 0000000..1d1f0d0 --- /dev/null +++ b/gnulib/modules/atexit-tests @@ -0,0 +1,14 @@ +Files: +tests/init.sh +tests/signature.h +tests/test-atexit.sh +tests/test-atexit.c + +Depends-on: +unistd + +configure.ac: + +Makefile.am: +TESTS += test-atexit.sh +check_PROGRAMS += test-atexit diff --git a/gnulib/modules/atoll b/gnulib/modules/atoll new file mode 100644 index 0000000..d1a5364 --- /dev/null +++ b/gnulib/modules/atoll @@ -0,0 +1,30 @@ +Description: +atoll() function: convert decimal string string to 'long long'. + +Files: +lib/atoll.c +m4/atoll.m4 +m4/longlong.m4 + +Depends-on: +strtoll [test $HAVE_ATOLL = 0] + +configure.ac: +gl_FUNC_ATOLL +if test $HAVE_ATOLL = 0; then + AC_LIBOBJ([atoll]) + gl_PREREQ_ATOLL +fi +gl_STDLIB_MODULE_INDICATOR([atoll]) + +Makefile.am: + +Include: +<stdlib.h> + +License: +LGPL + +Maintainer: +all, glibc + diff --git a/gnulib/modules/autobuild b/gnulib/modules/autobuild new file mode 100644 index 0000000..d294e4f --- /dev/null +++ b/gnulib/modules/autobuild @@ -0,0 +1,22 @@ +Description: +Macros to print information about the build, useful for the autobuild parser. + +Files: +m4/autobuild.m4 + +Depends-on: + +configure.ac-early: +AB_INIT + +configure.ac: + +Makefile.am: + +Include: + +License: +unlimited + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/avltree-list b/gnulib/modules/avltree-list new file mode 100644 index 0000000..90a42fd --- /dev/null +++ b/gnulib/modules/avltree-list @@ -0,0 +1,28 @@ +Description: +Sequential list data type implemented by a binary tree. + +Files: +lib/gl_avltree_list.h +lib/gl_avltree_list.c +lib/gl_anyavltree_list1.h +lib/gl_anyavltree_list2.h +lib/gl_anytree_list1.h +lib/gl_anytree_list2.h + +Depends-on: +list + +configure.ac: + +Makefile.am: +lib_SOURCES += gl_avltree_list.h gl_avltree_list.c gl_anyavltree_list1.h gl_anyavltree_list2.h gl_anytree_list1.h gl_anytree_list2.h + +Include: +"gl_avltree_list.h" + +License: +GPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/avltree-list-tests b/gnulib/modules/avltree-list-tests new file mode 100644 index 0000000..cbd47c7 --- /dev/null +++ b/gnulib/modules/avltree-list-tests @@ -0,0 +1,13 @@ +Files: +tests/test-avltree_list.c +tests/macros.h + +Depends-on: +array-list +progname + +configure.ac: + +Makefile.am: +TESTS += test-avltree_list +check_PROGRAMS += test-avltree_list diff --git a/gnulib/modules/avltree-oset b/gnulib/modules/avltree-oset new file mode 100644 index 0000000..ee16eb5 --- /dev/null +++ b/gnulib/modules/avltree-oset @@ -0,0 +1,25 @@ +Description: +Ordered set data type implemented by a binary tree. + +Files: +lib/gl_avltree_oset.h +lib/gl_avltree_oset.c +lib/gl_anytree_oset.h + +Depends-on: +oset + +configure.ac: + +Makefile.am: +lib_SOURCES += gl_avltree_oset.h gl_avltree_oset.c gl_anytree_oset.h + +Include: +"gl_avltree_oset.h" + +License: +GPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/avltree-oset-tests b/gnulib/modules/avltree-oset-tests new file mode 100644 index 0000000..a29ad58 --- /dev/null +++ b/gnulib/modules/avltree-oset-tests @@ -0,0 +1,13 @@ +Files: +tests/test-avltree_oset.c +tests/macros.h + +Depends-on: +array-oset +progname + +configure.ac: + +Makefile.am: +TESTS += test-avltree_oset +check_PROGRAMS += test-avltree_oset diff --git a/gnulib/modules/avltreehash-list b/gnulib/modules/avltreehash-list new file mode 100644 index 0000000..4c5622c --- /dev/null +++ b/gnulib/modules/avltreehash-list @@ -0,0 +1,35 @@ +Description: +Sequential list data type implemented by a hash table with a binary tree. + +Files: +lib/gl_avltreehash_list.h +lib/gl_avltreehash_list.c +lib/gl_anyhash_list1.h +lib/gl_anyhash_list2.h +lib/gl_anyavltree_list1.h +lib/gl_anyavltree_list2.h +lib/gl_anytree_list1.h +lib/gl_anytree_list2.h +lib/gl_anytreehash_list1.h +lib/gl_anytreehash_list2.h + +Depends-on: +list +avltree-oset +stdint +xsize + +configure.ac: + +Makefile.am: +lib_SOURCES += gl_avltreehash_list.h gl_avltreehash_list.c gl_anyhash_list1.h gl_anyhash_list2.h gl_anyavltree_list1.h gl_anyavltree_list2.h gl_anytree_list1.h gl_anytree_list2.h gl_anytreehash_list1.h gl_anytreehash_list2.h + +Include: +"gl_avltreehash_list.h" + +License: +GPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/avltreehash-list-tests b/gnulib/modules/avltreehash-list-tests new file mode 100644 index 0000000..eae613e --- /dev/null +++ b/gnulib/modules/avltreehash-list-tests @@ -0,0 +1,14 @@ +Files: +tests/test-avltreehash_list.c +tests/macros.h + +Depends-on: +array-list +progname + +configure.ac: + +Makefile.am: +TESTS += test-avltreehash_list +check_PROGRAMS += test-avltreehash_list + diff --git a/gnulib/modules/backupfile b/gnulib/modules/backupfile new file mode 100644 index 0000000..dbd26b6 --- /dev/null +++ b/gnulib/modules/backupfile @@ -0,0 +1,34 @@ +Description: +Determination of the filename of a backup file, according to user environment +variables. + +Files: +lib/backupfile.h +lib/backupfile.c +m4/backupfile.m4 + +Depends-on: +argmatch +closedir +d-ino +dirent-safer +dirname-lgpl +memcmp +opendir +readdir +stdbool + +configure.ac: +gl_BACKUPFILE + +Makefile.am: +lib_SOURCES += backupfile.c + +Include: +"backupfile.h" + +License: +GPL + +Maintainer: +Paul Eggert, Jim Meyering diff --git a/gnulib/modules/base32 b/gnulib/modules/base32 new file mode 100644 index 0000000..20f38cf --- /dev/null +++ b/gnulib/modules/base32 @@ -0,0 +1,26 @@ +Description: +Encode binary data using printable characters (base32). + +Files: +lib/base32.h +lib/base32.c +m4/base32.m4 + +Depends-on: +stdbool +memchr + +configure.ac: +gl_FUNC_BASE32 + +Makefile.am: +lib_SOURCES += base32.h base32.c + +Include: +"base32.h" + +License: +LGPLv2+ + +Maintainer: +TODO diff --git a/gnulib/modules/base32-tests b/gnulib/modules/base32-tests new file mode 100644 index 0000000..1422395 --- /dev/null +++ b/gnulib/modules/base32-tests @@ -0,0 +1,11 @@ +Files: +tests/test-base32.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-base32 +check_PROGRAMS += test-base32 diff --git a/gnulib/modules/base64 b/gnulib/modules/base64 new file mode 100644 index 0000000..b1a3513 --- /dev/null +++ b/gnulib/modules/base64 @@ -0,0 +1,26 @@ +Description: +Encode binary data using printable characters (base64). + +Files: +lib/base64.h +lib/base64.c +m4/base64.m4 + +Depends-on: +stdbool +memchr + +configure.ac: +gl_FUNC_BASE64 + +Makefile.am: +lib_SOURCES += base64.h base64.c + +Include: +"base64.h" + +License: +LGPLv2+ + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/base64-tests b/gnulib/modules/base64-tests new file mode 100644 index 0000000..b8659a8 --- /dev/null +++ b/gnulib/modules/base64-tests @@ -0,0 +1,11 @@ +Files: +tests/test-base64.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-base64 +check_PROGRAMS += test-base64 diff --git a/gnulib/modules/bcopy b/gnulib/modules/bcopy new file mode 100644 index 0000000..d4a2bb9 --- /dev/null +++ b/gnulib/modules/bcopy @@ -0,0 +1,22 @@ +Description: +Old BSD bcopy() function: copy memory area. + +Files: +lib/bcopy.c + +Depends-on: +strings + +configure.ac: +AC_REPLACE_FUNCS(bcopy) + +Makefile.am: + +Include: +<strings.h> + +License: +GPL + +Maintainer: + diff --git a/gnulib/modules/binary-io b/gnulib/modules/binary-io new file mode 100644 index 0000000..4386ec9 --- /dev/null +++ b/gnulib/modules/binary-io @@ -0,0 +1,23 @@ +Description: +Binary mode I/O. + +Files: +lib/binary-io.h + +Depends-on: +fcntl-h + +configure.ac: + +Makefile.am: +lib_SOURCES += binary-io.h + +Include: +"binary-io.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/binary-io-tests b/gnulib/modules/binary-io-tests new file mode 100644 index 0000000..86422e6 --- /dev/null +++ b/gnulib/modules/binary-io-tests @@ -0,0 +1,13 @@ +Files: +tests/test-binary-io.sh +tests/test-binary-io.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-binary-io.sh +check_PROGRAMS += test-binary-io + diff --git a/gnulib/modules/bind b/gnulib/modules/bind new file mode 100644 index 0000000..e46bd26 --- /dev/null +++ b/gnulib/modules/bind @@ -0,0 +1,33 @@ +Description: +bind() function: bind a server socket to a port. + +Files: +lib/bind.c +lib/w32sock.h + +Depends-on: +sys_socket +socketlib +errno [test "$ac_cv_header_winsock2_h" = yes] +msvc-nothrow [test "$ac_cv_header_winsock2_h" = yes] + +configure.ac: +AC_REQUIRE([gl_HEADER_SYS_SOCKET]) +if test "$ac_cv_header_winsock2_h" = yes; then + AC_LIBOBJ([bind]) +fi +gl_SYS_SOCKET_MODULE_INDICATOR([bind]) + +Makefile.am: + +Include: +<sys/socket.h> + +Link: +$(LIBSOCKET) + +License: +LGPLv2+ + +Maintainer: +Paolo Bonzini, Simon Josefsson diff --git a/gnulib/modules/bind-tests b/gnulib/modules/bind-tests new file mode 100644 index 0000000..9ffb71f --- /dev/null +++ b/gnulib/modules/bind-tests @@ -0,0 +1,16 @@ +Files: +tests/test-bind.c +tests/signature.h +tests/macros.h + +Depends-on: +netinet_in +sockets +inet_pton + +configure.ac: + +Makefile.am: +TESTS += test-bind +check_PROGRAMS += test-bind +test_bind_LDADD = $(LDADD) @LIBSOCKET@ $(INET_PTON_LIB) diff --git a/gnulib/modules/bison-i18n b/gnulib/modules/bison-i18n new file mode 100644 index 0000000..d0175ca --- /dev/null +++ b/gnulib/modules/bison-i18n @@ -0,0 +1,22 @@ +Description: +Support for internationalization of bison-generated parsers. + +Files: +m4/bison-i18n.m4 + +Depends-on: +gettext + +configure.ac: +BISON_I18N + +Makefile.am: + +Include: + +License: +GPLed build tool + +Maintainer: +Bruno Haible, Paul Eggert + diff --git a/gnulib/modules/bitrotate b/gnulib/modules/bitrotate new file mode 100644 index 0000000..63124a8 --- /dev/null +++ b/gnulib/modules/bitrotate @@ -0,0 +1,23 @@ +Description: +Rotate bits in unsigned 8, 16, and 32 bit integers. + +Files: +lib/bitrotate.h + +Depends-on: +stdint + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) + +Makefile.am: +lib_SOURCES += bitrotate.h + +Include: +"bitrotate.h" + +License: +LGPLv2+ + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/bitrotate-tests b/gnulib/modules/bitrotate-tests new file mode 100644 index 0000000..c686019 --- /dev/null +++ b/gnulib/modules/bitrotate-tests @@ -0,0 +1,11 @@ +Files: +tests/test-bitrotate.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-bitrotate +check_PROGRAMS += test-bitrotate diff --git a/gnulib/modules/btowc b/gnulib/modules/btowc new file mode 100644 index 0000000..b9572a6 --- /dev/null +++ b/gnulib/modules/btowc @@ -0,0 +1,31 @@ +Description: +btowc() function: convert unibyte character to wide character. + +Files: +lib/btowc.c +m4/btowc.m4 +m4/locale-fr.m4 + +Depends-on: +wchar +mbtowc [test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1] + +configure.ac: +gl_FUNC_BTOWC +if test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1; then + AC_LIBOBJ([btowc]) + gl_PREREQ_BTOWC +fi +gl_WCHAR_MODULE_INDICATOR([btowc]) + +Makefile.am: + +Include: +<wchar.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/btowc-tests b/gnulib/modules/btowc-tests new file mode 100644 index 0000000..66196b1 --- /dev/null +++ b/gnulib/modules/btowc-tests @@ -0,0 +1,21 @@ +Files: +tests/test-btowc1.sh +tests/test-btowc2.sh +tests/test-btowc.c +tests/signature.h +tests/macros.h +m4/locale-fr.m4 +m4/codeset.m4 + +Depends-on: +setlocale + +configure.ac: +gt_LOCALE_FR +gt_LOCALE_FR_UTF8 + +Makefile.am: +TESTS += test-btowc1.sh test-btowc2.sh +TESTS_ENVIRONMENT += LOCALE_FR='@LOCALE_FR@' LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' +check_PROGRAMS += test-btowc + diff --git a/gnulib/modules/byteswap b/gnulib/modules/byteswap new file mode 100644 index 0000000..c1da400 --- /dev/null +++ b/gnulib/modules/byteswap @@ -0,0 +1,38 @@ +Description: +Swap bytes of 16, 32 and 64 bit values. + +Files: +lib/byteswap.in.h +m4/byteswap.m4 + +Depends-on: + +configure.ac: +gl_BYTESWAP + +Makefile.am: +BUILT_SOURCES += $(BYTESWAP_H) + +# We need the following in order to create <byteswap.h> when the system +# doesn't have one. +if GL_GENERATE_BYTESWAP_H +byteswap.h: byteswap.in.h $(top_builddir)/config.status + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + cat $(srcdir)/byteswap.in.h; \ + } > $@-t && \ + mv -f $@-t $@ +else +byteswap.h: $(top_builddir)/config.status + rm -f $@ +endif +MOSTLYCLEANFILES += byteswap.h byteswap.h-t + +Include: +<byteswap.h> + +License: +LGPLv2+ + +Maintainer: +Oskar Liljeblad diff --git a/gnulib/modules/byteswap-tests b/gnulib/modules/byteswap-tests new file mode 100644 index 0000000..be7b659 --- /dev/null +++ b/gnulib/modules/byteswap-tests @@ -0,0 +1,11 @@ +Files: +tests/test-byteswap.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-byteswap +check_PROGRAMS += test-byteswap diff --git a/gnulib/modules/c-ctype b/gnulib/modules/c-ctype new file mode 100644 index 0000000..7013631 --- /dev/null +++ b/gnulib/modules/c-ctype @@ -0,0 +1,24 @@ +Description: +Character handling in C locale. + +Files: +lib/c-ctype.h +lib/c-ctype.c + +Depends-on: +stdbool + +configure.ac: + +Makefile.am: +lib_SOURCES += c-ctype.h c-ctype.c + +Include: +"c-ctype.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/c-ctype-tests b/gnulib/modules/c-ctype-tests new file mode 100644 index 0000000..196f529 --- /dev/null +++ b/gnulib/modules/c-ctype-tests @@ -0,0 +1,12 @@ +Files: +tests/test-c-ctype.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-c-ctype +check_PROGRAMS += test-c-ctype + diff --git a/gnulib/modules/c-stack b/gnulib/modules/c-stack new file mode 100644 index 0000000..83de3f8 --- /dev/null +++ b/gnulib/modules/c-stack @@ -0,0 +1,35 @@ +Description: +Stack overflow handling, causing program exit. + +Files: +lib/c-stack.h +lib/c-stack.c +m4/c-stack.m4 + +Depends-on: +gettext-h +errno +exitfail +ignore-value +unistd +raise +sigaction +libsigsegv + +configure.ac: +gl_C_STACK + +Makefile.am: +lib_SOURCES += c-stack.h c-stack.c + +Include: +"c-stack.h" + +Link: +$(LTLIBCSTACK) when linking with libtool, $(LIBCSTACK) otherwise + +License: +GPL + +Maintainer: +Paul Eggert diff --git a/gnulib/modules/c-stack-tests b/gnulib/modules/c-stack-tests new file mode 100644 index 0000000..8174862 --- /dev/null +++ b/gnulib/modules/c-stack-tests @@ -0,0 +1,17 @@ +Files: +tests/test-c-stack.c +tests/test-c-stack.sh +tests/test-c-stack2.sh +tests/macros.h + +Depends-on: +exitfail + +configure.ac: + +Makefile.am: +TESTS += test-c-stack.sh test-c-stack2.sh +TESTS_ENVIRONMENT += LIBSIGSEGV='@LIBSIGSEGV@' +check_PROGRAMS += test-c-stack +test_c_stack_LDADD = $(LDADD) $(LIBCSTACK) @LIBINTL@ +MOSTLYCLEANFILES += t-c-stack.tmp t-c-stack2.tmp diff --git a/gnulib/modules/c-strcase b/gnulib/modules/c-strcase new file mode 100644 index 0000000..49f391d --- /dev/null +++ b/gnulib/modules/c-strcase @@ -0,0 +1,25 @@ +Description: +Case-insensitive string comparison functions in C locale. + +Files: +lib/c-strcase.h +lib/c-strcasecmp.c +lib/c-strncasecmp.c + +Depends-on: +c-ctype + +configure.ac: + +Makefile.am: +lib_SOURCES += c-strcase.h c-strcasecmp.c c-strncasecmp.c + +Include: +"c-strcase.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/c-strcase-tests b/gnulib/modules/c-strcase-tests new file mode 100644 index 0000000..81d4220 --- /dev/null +++ b/gnulib/modules/c-strcase-tests @@ -0,0 +1,20 @@ +Files: +tests/test-c-strcase.sh +tests/test-c-strcasecmp.c +tests/test-c-strncasecmp.c +tests/macros.h +m4/locale-fr.m4 +m4/locale-tr.m4 +m4/codeset.m4 + +Depends-on: +setlocale + +configure.ac: +gt_LOCALE_FR +gt_LOCALE_TR_UTF8 + +Makefile.am: +TESTS += test-c-strcase.sh +TESTS_ENVIRONMENT += LOCALE_FR='@LOCALE_FR@' LOCALE_TR_UTF8='@LOCALE_TR_UTF8@' +check_PROGRAMS += test-c-strcasecmp test-c-strncasecmp diff --git a/gnulib/modules/c-strcaseeq b/gnulib/modules/c-strcaseeq new file mode 100644 index 0000000..d7f2c02 --- /dev/null +++ b/gnulib/modules/c-strcaseeq @@ -0,0 +1,23 @@ +Description: +Optimized case-insensitive string comparison in C locale. + +Files: +lib/c-strcaseeq.h + +Depends-on: +c-strcase +c-ctype + +configure.ac: + +Makefile.am: + +Include: +"c-strcaseeq.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/c-strcasestr b/gnulib/modules/c-strcasestr new file mode 100644 index 0000000..9e0dc2b --- /dev/null +++ b/gnulib/modules/c-strcasestr @@ -0,0 +1,29 @@ +Description: +Efficient case-insensitive searching in a string in C locale. + +Files: +lib/c-strcasestr.h +lib/c-strcasestr.c +lib/str-two-way.h + +Depends-on: +c-ctype +c-strcase +stdbool +memchr +memcmp + +configure.ac: + +Makefile.am: +lib_SOURCES += c-strcasestr.h c-strcasestr.c + +Include: +"c-strcasestr.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/c-strcasestr-tests b/gnulib/modules/c-strcasestr-tests new file mode 100644 index 0000000..f671086 --- /dev/null +++ b/gnulib/modules/c-strcasestr-tests @@ -0,0 +1,12 @@ +Files: +tests/test-c-strcasestr.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-c-strcasestr +check_PROGRAMS += test-c-strcasestr + diff --git a/gnulib/modules/c-strstr b/gnulib/modules/c-strstr new file mode 100644 index 0000000..6a7e063 --- /dev/null +++ b/gnulib/modules/c-strstr @@ -0,0 +1,24 @@ +Description: +Search for a substring in a string in C locale. + +Files: +lib/c-strstr.h +lib/c-strstr.c + +Depends-on: +strstr + +configure.ac: + +Makefile.am: +lib_SOURCES += c-strstr.h c-strstr.c + +Include: +"c-strstr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/c-strstr-tests b/gnulib/modules/c-strstr-tests new file mode 100644 index 0000000..78565b2 --- /dev/null +++ b/gnulib/modules/c-strstr-tests @@ -0,0 +1,12 @@ +Files: +tests/test-c-strstr.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-c-strstr +check_PROGRAMS += test-c-strstr + diff --git a/gnulib/modules/c-strtod b/gnulib/modules/c-strtod new file mode 100644 index 0000000..7999d45 --- /dev/null +++ b/gnulib/modules/c-strtod @@ -0,0 +1,27 @@ +Description: +Convert string to double in C locale. + +Files: +lib/c-strtod.c +lib/c-strtod.h +m4/c-strtod.m4 + +Depends-on: +extensions +locale +strdup-posix + +configure.ac: +gl_C_STRTOD + +Makefile.am: +lib_SOURCES += c-strtod.c + +Include: +"c-strtod.h" + +License: +GPL + +Maintainer: +Paul Eggert, Jim Meyering diff --git a/gnulib/modules/c-strtold b/gnulib/modules/c-strtold new file mode 100644 index 0000000..72ff21d --- /dev/null +++ b/gnulib/modules/c-strtold @@ -0,0 +1,28 @@ +Description: +Convert string to long double in C locale. + +Files: +lib/c-strtod.h +lib/c-strtod.c +lib/c-strtold.c +m4/c-strtod.m4 + +Depends-on: +extensions +locale +strdup-posix + +configure.ac: +gl_C_STRTOLD + +Makefile.am: +lib_SOURCES += c-strtold.c + +Include: +"c-strtod.h" + +License: +GPL + +Maintainer: +Paul Eggert, Jim Meyering diff --git a/gnulib/modules/calloc b/gnulib/modules/calloc new file mode 100644 index 0000000..8869bb1 --- /dev/null +++ b/gnulib/modules/calloc @@ -0,0 +1,26 @@ +Description: +calloc() function that is glibc compatible. + +Status: +deprecated + +Notice: +This module is deprecated. Use the module 'calloc-gnu' instead. + +Files: + +Depends-on: +calloc-gnu + +configure.ac: + +Makefile.am: + +Include: +<stdlib.h> + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/calloc-gnu b/gnulib/modules/calloc-gnu new file mode 100644 index 0000000..ffc8b50 --- /dev/null +++ b/gnulib/modules/calloc-gnu @@ -0,0 +1,27 @@ +Description: +calloc() function that is glibc compatible. + +Files: +lib/calloc.c +m4/calloc.m4 + +Depends-on: +calloc-posix + +configure.ac: +gl_FUNC_CALLOC_GNU +if test $REPLACE_CALLOC = 1; then + AC_LIBOBJ([calloc]) +fi +gl_MODULE_INDICATOR([calloc-gnu]) + +Makefile.am: + +Include: +<stdlib.h> + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/calloc-gnu-tests b/gnulib/modules/calloc-gnu-tests new file mode 100644 index 0000000..996db23 --- /dev/null +++ b/gnulib/modules/calloc-gnu-tests @@ -0,0 +1,10 @@ +Files: +tests/test-calloc-gnu.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-calloc-gnu +check_PROGRAMS += test-calloc-gnu diff --git a/gnulib/modules/calloc-posix b/gnulib/modules/calloc-posix new file mode 100644 index 0000000..ef274ed --- /dev/null +++ b/gnulib/modules/calloc-posix @@ -0,0 +1,29 @@ +Description: +calloc() function: allocate memory with indefinite extent. + +Files: +lib/calloc.c +m4/calloc.m4 +m4/malloc.m4 + +Depends-on: +stdlib + +configure.ac: +gl_FUNC_CALLOC_POSIX +if test $REPLACE_CALLOC = 1; then + AC_LIBOBJ([calloc]) +fi +gl_STDLIB_MODULE_INDICATOR([calloc-posix]) + +Makefile.am: + +Include: +<stdlib.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/canon-host b/gnulib/modules/canon-host new file mode 100644 index 0000000..c9628da --- /dev/null +++ b/gnulib/modules/canon-host @@ -0,0 +1,30 @@ +Description: +Canonicalize a host name: return a name other hosts can understand, i.e. +usually the host name including FQDN. + +Files: +lib/canon-host.c +lib/canon-host.h +m4/canon-host.m4 + +Depends-on: +getaddrinfo +strdup + +configure.ac: +gl_PREREQ_CANON_HOST + +Makefile.am: +lib_SOURCES += canon-host.c + +Include: +"canon-host.h" + +Link: +$(GETADDRINFO_LIB) + +License: +LGPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/canonicalize b/gnulib/modules/canonicalize new file mode 100644 index 0000000..bf3dc57 --- /dev/null +++ b/gnulib/modules/canonicalize @@ -0,0 +1,40 @@ +Description: +Return the canonical absolute name of a given file. + +Files: +lib/canonicalize.h +lib/canonicalize.c +m4/canonicalize.m4 +m4/double-slash-root.m4 + +Depends-on: +areadlink-with-size +errno +extensions +file-set +hash-triple +lstat +memmove +nocrash +pathmax +sys_stat +xalloc +xgetcwd + +configure.ac: +gl_FUNC_CANONICALIZE_FILENAME_MODE +gl_MODULE_INDICATOR([canonicalize]) +gl_MODULE_INDICATOR_FOR_TESTS([canonicalize]) +gl_STDLIB_MODULE_INDICATOR([canonicalize_file_name]) + +Makefile.am: +lib_SOURCES += canonicalize.c + +Include: +"canonicalize.h" + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/canonicalize-lgpl b/gnulib/modules/canonicalize-lgpl new file mode 100644 index 0000000..7b77ac4 --- /dev/null +++ b/gnulib/modules/canonicalize-lgpl @@ -0,0 +1,40 @@ +Description: +realpath, canonical_file_name: Provide canonical absolute file name + +Files: +lib/canonicalize-lgpl.c +m4/canonicalize.m4 +m4/double-slash-root.m4 + +Depends-on: +extensions +stdlib +nocrash +alloca-opt [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1] +errno [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1] +lstat [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1] +malloca [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1] +memmove [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1] +pathmax [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1] +readlink [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1] +sys_stat [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1] + +configure.ac: +gl_CANONICALIZE_LGPL +if test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1; then + AC_LIBOBJ([canonicalize-lgpl]) +fi +gl_MODULE_INDICATOR([canonicalize-lgpl]) +gl_STDLIB_MODULE_INDICATOR([canonicalize_file_name]) +gl_STDLIB_MODULE_INDICATOR([realpath]) + +Makefile.am: + +Include: +<stdlib.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/canonicalize-lgpl-tests b/gnulib/modules/canonicalize-lgpl-tests new file mode 100644 index 0000000..fd49d69 --- /dev/null +++ b/gnulib/modules/canonicalize-lgpl-tests @@ -0,0 +1,15 @@ +Files: +tests/test-canonicalize-lgpl.c +tests/signature.h +tests/macros.h + +Depends-on: +ignore-value +same-inode +symlink + +configure.ac: + +Makefile.am: +TESTS += test-canonicalize-lgpl +check_PROGRAMS += test-canonicalize-lgpl diff --git a/gnulib/modules/canonicalize-tests b/gnulib/modules/canonicalize-tests new file mode 100644 index 0000000..6019349 --- /dev/null +++ b/gnulib/modules/canonicalize-tests @@ -0,0 +1,15 @@ +Files: +tests/test-canonicalize.c +tests/macros.h + +Depends-on: +ignore-value +same-inode +symlink + +configure.ac: + +Makefile.am: +TESTS += test-canonicalize +check_PROGRAMS += test-canonicalize +test_canonicalize_LDADD = $(LDADD) @LIBINTL@ diff --git a/gnulib/modules/careadlinkat b/gnulib/modules/careadlinkat new file mode 100644 index 0000000..b4bc4a4 --- /dev/null +++ b/gnulib/modules/careadlinkat @@ -0,0 +1,27 @@ +Description: +Read symbolic links into a buffer without size limitation, relative to fd. + +Files: +lib/careadlinkat.c +lib/careadlinkat.h + +Depends-on: +allocator +readlink +ssize_t +unistd + +configure.ac: +AC_CHECK_FUNCS_ONCE([readlinkat]) + +Makefile.am: +lib_SOURCES += careadlinkat.c + +Include: +"careadlinkat.h" + +License: +LGPLv2+ + +Maintainer: +Paul Eggert, Bruno Haible, Jim Meyering diff --git a/gnulib/modules/carray-list b/gnulib/modules/carray-list new file mode 100644 index 0000000..3b88d83 --- /dev/null +++ b/gnulib/modules/carray-list @@ -0,0 +1,25 @@ +Description: +Sequential list data type implemented by a circular array. + +Files: +lib/gl_carray_list.h +lib/gl_carray_list.c + +Depends-on: +list +xsize + +configure.ac: + +Makefile.am: +lib_SOURCES += gl_carray_list.h gl_carray_list.c + +Include: +"gl_carray_list.h" + +License: +GPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/carray-list-tests b/gnulib/modules/carray-list-tests new file mode 100644 index 0000000..4f13705 --- /dev/null +++ b/gnulib/modules/carray-list-tests @@ -0,0 +1,14 @@ +Files: +tests/test-carray_list.c +tests/macros.h + +Depends-on: +array-list +progname + +configure.ac: + +Makefile.am: +TESTS += test-carray_list +check_PROGRAMS += test-carray_list + diff --git a/gnulib/modules/cbrt b/gnulib/modules/cbrt new file mode 100644 index 0000000..fe015ee --- /dev/null +++ b/gnulib/modules/cbrt @@ -0,0 +1,24 @@ +Description: +cbrt() function: cube root. + +Files: +m4/mathfunc.m4 + +Depends-on: + +configure.ac: +gl_COMMON_DOUBLE_MATHFUNC([cbrt]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(CBRT_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/cbrt-tests b/gnulib/modules/cbrt-tests new file mode 100644 index 0000000..47248e0 --- /dev/null +++ b/gnulib/modules/cbrt-tests @@ -0,0 +1,13 @@ +Files: +tests/test-cbrt.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-cbrt +check_PROGRAMS += test-cbrt +test_cbrt_LDADD = $(LDADD) @CBRT_LIBM@ diff --git a/gnulib/modules/ceil b/gnulib/modules/ceil new file mode 100644 index 0000000..05ee345 --- /dev/null +++ b/gnulib/modules/ceil @@ -0,0 +1,32 @@ +Description: +ceil() function: round towards positive infinity. + +Files: +lib/ceil.c +m4/ceil.m4 + +Depends-on: +math +float [test $REPLACE_CEIL = 1] + +configure.ac: +gl_FUNC_CEIL +if test $REPLACE_CEIL = 1; then + AC_LIBOBJ([ceil]) +fi +gl_MATH_MODULE_INDICATOR([ceil]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(CEIL_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/ceil-ieee b/gnulib/modules/ceil-ieee new file mode 100644 index 0000000..7970690 --- /dev/null +++ b/gnulib/modules/ceil-ieee @@ -0,0 +1,27 @@ +Description: +ceil() function according to ISO C 99 with IEC 60559. + +Files: +m4/ceil-ieee.m4 +m4/minus-zero.m4 +m4/signbit.m4 + +Depends-on: +ceil + +configure.ac: +gl_FUNC_CEIL_IEEE + +Makefile.am: + +Include: +<math.h> + +Link: +$(CEIL_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/ceil-ieee-tests b/gnulib/modules/ceil-ieee-tests new file mode 100644 index 0000000..897c247 --- /dev/null +++ b/gnulib/modules/ceil-ieee-tests @@ -0,0 +1,15 @@ +Files: +tests/test-ceil-ieee.c +tests/minus-zero.h +tests/macros.h + +Depends-on: +float +signbit + +configure.ac: + +Makefile.am: +TESTS += test-ceil-ieee +check_PROGRAMS += test-ceil-ieee +test_ceil_ieee_LDADD = $(LDADD) @CEIL_LIBM@ diff --git a/gnulib/modules/ceil-tests b/gnulib/modules/ceil-tests new file mode 100644 index 0000000..4051d1c --- /dev/null +++ b/gnulib/modules/ceil-tests @@ -0,0 +1,22 @@ +Files: +tests/test-ceil1.c +tests/test-ceil2.c +tests/minus-zero.h +tests/infinity.h +tests/nan.h +tests/signature.h +tests/macros.h + +Depends-on: +float +isnand-nolibm +stdbool +stdint + +configure.ac: + +Makefile.am: +TESTS += test-ceil1 test-ceil2 +check_PROGRAMS += test-ceil1 test-ceil2 +test_ceil1_LDADD = $(LDADD) @CEIL_LIBM@ +test_ceil2_LDADD = $(LDADD) @CEIL_LIBM@ diff --git a/gnulib/modules/ceilf b/gnulib/modules/ceilf new file mode 100644 index 0000000..0a01465 --- /dev/null +++ b/gnulib/modules/ceilf @@ -0,0 +1,34 @@ +Description: +ceilf() function: round towards positive infinity. + +Files: +lib/ceilf.c +lib/ceil.c +m4/ceilf.m4 + +Depends-on: +math +extensions +float [test $HAVE_DECL_CEILF = 0 || test $REPLACE_CEILF = 1] + +configure.ac: +gl_FUNC_CEILF +if test $HAVE_DECL_CEILF = 0 || test $REPLACE_CEILF = 1; then + AC_LIBOBJ([ceilf]) +fi +gl_MATH_MODULE_INDICATOR([ceilf]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(CEILF_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/ceilf-ieee b/gnulib/modules/ceilf-ieee new file mode 100644 index 0000000..1991548 --- /dev/null +++ b/gnulib/modules/ceilf-ieee @@ -0,0 +1,27 @@ +Description: +ceilf() function according to ISO C 99 with IEC 60559. + +Files: +m4/ceilf-ieee.m4 +m4/minus-zero.m4 +m4/signbit.m4 + +Depends-on: +ceilf + +configure.ac: +gl_FUNC_CEILF_IEEE + +Makefile.am: + +Include: +<math.h> + +Link: +$(CEILF_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/ceilf-ieee-tests b/gnulib/modules/ceilf-ieee-tests new file mode 100644 index 0000000..4b87667 --- /dev/null +++ b/gnulib/modules/ceilf-ieee-tests @@ -0,0 +1,15 @@ +Files: +tests/test-ceilf-ieee.c +tests/minus-zero.h +tests/macros.h + +Depends-on: +float +signbit + +configure.ac: + +Makefile.am: +TESTS += test-ceilf-ieee +check_PROGRAMS += test-ceilf-ieee +test_ceilf_ieee_LDADD = $(LDADD) @CEILF_LIBM@ diff --git a/gnulib/modules/ceilf-tests b/gnulib/modules/ceilf-tests new file mode 100644 index 0000000..6ead402 --- /dev/null +++ b/gnulib/modules/ceilf-tests @@ -0,0 +1,22 @@ +Files: +tests/test-ceilf1.c +tests/test-ceilf2.c +tests/minus-zero.h +tests/infinity.h +tests/nan.h +tests/signature.h +tests/macros.h + +Depends-on: +float +isnanf-nolibm +stdbool +stdint + +configure.ac: + +Makefile.am: +TESTS += test-ceilf1 test-ceilf2 +check_PROGRAMS += test-ceilf1 test-ceilf2 +test_ceilf1_LDADD = $(LDADD) @CEILF_LIBM@ +test_ceilf2_LDADD = $(LDADD) @CEILF_LIBM@ diff --git a/gnulib/modules/ceill b/gnulib/modules/ceill new file mode 100644 index 0000000..a5d860f --- /dev/null +++ b/gnulib/modules/ceill @@ -0,0 +1,35 @@ +Description: +ceill() function: round towards positive infinity. + +Files: +lib/ceill.c +lib/ceil.c +m4/ceill.m4 + +Depends-on: +math +extensions +ceil [{ test $HAVE_DECL_CEILL = 0 || test $REPLACE_CEILL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1] +float [{ test $HAVE_DECL_CEILL = 0 || test $REPLACE_CEILL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] + +configure.ac: +gl_FUNC_CEILL +if test $HAVE_DECL_CEILL = 0 || test $REPLACE_CEILL = 1; then + AC_LIBOBJ([ceill]) +fi +gl_MATH_MODULE_INDICATOR([ceill]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(CEILL_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/ceill-ieee b/gnulib/modules/ceill-ieee new file mode 100644 index 0000000..b6dded3 --- /dev/null +++ b/gnulib/modules/ceill-ieee @@ -0,0 +1,27 @@ +Description: +ceill() function according to ISO C 99 with IEC 60559. + +Files: +m4/ceill-ieee.m4 +m4/minus-zero.m4 +m4/signbit.m4 + +Depends-on: +ceill + +configure.ac: +gl_FUNC_CEILL_IEEE + +Makefile.am: + +Include: +<math.h> + +Link: +$(CEILL_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/ceill-ieee-tests b/gnulib/modules/ceill-ieee-tests new file mode 100644 index 0000000..9c1efba --- /dev/null +++ b/gnulib/modules/ceill-ieee-tests @@ -0,0 +1,16 @@ +Files: +tests/test-ceill-ieee.c +tests/minus-zero.h +tests/macros.h + +Depends-on: +fpucw +float +signbit + +configure.ac: + +Makefile.am: +TESTS += test-ceill-ieee +check_PROGRAMS += test-ceill-ieee +test_ceill_ieee_LDADD = $(LDADD) @CEILL_LIBM@ diff --git a/gnulib/modules/ceill-tests b/gnulib/modules/ceill-tests new file mode 100644 index 0000000..d6176c8 --- /dev/null +++ b/gnulib/modules/ceill-tests @@ -0,0 +1,19 @@ +Files: +tests/test-ceill.c +tests/minus-zero.h +tests/infinity.h +tests/nan.h +tests/signature.h +tests/macros.h + +Depends-on: +fpucw +isnanl-nolibm +float + +configure.ac: + +Makefile.am: +TESTS += test-ceill +check_PROGRAMS += test-ceill +test_ceill_LDADD = $(LDADD) @CEILL_LIBM@ diff --git a/gnulib/modules/chdir b/gnulib/modules/chdir new file mode 100644 index 0000000..b827339 --- /dev/null +++ b/gnulib/modules/chdir @@ -0,0 +1,21 @@ +Description: +chdir() function: switch to another current directory + +Files: + +Depends-on: +unistd + +configure.ac: +gl_UNISTD_MODULE_INDICATOR([chdir]) + +Makefile.am: + +Include: +<unistd.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/chdir-long b/gnulib/modules/chdir-long new file mode 100644 index 0000000..74d9c33 --- /dev/null +++ b/gnulib/modules/chdir-long @@ -0,0 +1,40 @@ +Description: +chdir-like function that tries not to fail due to ENAMETOOLONG + +Files: +lib/chdir-long.h +lib/chdir-long.c +m4/chdir-long.m4 +m4/pathmax.m4 + +Depends-on: +unistd +pathmax +chdir +atexit [test $gl_cv_have_arbitrary_file_name_length_limit = yes] +fchdir [test $gl_cv_have_arbitrary_file_name_length_limit = yes] +fcntl-h [test $gl_cv_have_arbitrary_file_name_length_limit = yes] +openat [test $gl_cv_have_arbitrary_file_name_length_limit = yes] +memchr [test $gl_cv_have_arbitrary_file_name_length_limit = yes] +mempcpy [test $gl_cv_have_arbitrary_file_name_length_limit = yes] +memrchr [test $gl_cv_have_arbitrary_file_name_length_limit = yes] +stdbool [test $gl_cv_have_arbitrary_file_name_length_limit = yes] +stdlib [test $gl_cv_have_arbitrary_file_name_length_limit = yes] + +configure.ac: +gl_FUNC_CHDIR_LONG +if test $gl_cv_have_arbitrary_file_name_length_limit = yes; then + AC_LIBOBJ([chdir-long]) + gl_PREREQ_CHDIR_LONG +fi + +Makefile.am: + +Include: +"chdir-long.h" + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/chdir-safer b/gnulib/modules/chdir-safer new file mode 100644 index 0000000..7455b32 --- /dev/null +++ b/gnulib/modules/chdir-safer @@ -0,0 +1,31 @@ +Description: +like chdir, but safer + +Files: +lib/chdir-safer.h +lib/chdir-safer.c +m4/chdir-safer.m4 + +Depends-on: +errno +fchdir +fcntl-h +fstat +open +same-inode +stdbool + +configure.ac: +gl_CHDIR_SAFER + +Makefile.am: +lib_SOURCES += chdir-safer.c + +Include: +"chdir-safer.h" + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/chdir-tests b/gnulib/modules/chdir-tests new file mode 100644 index 0000000..5ee0d0c --- /dev/null +++ b/gnulib/modules/chdir-tests @@ -0,0 +1,12 @@ +Files: +tests/test-chdir.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-chdir +check_PROGRAMS += test-chdir diff --git a/gnulib/modules/check-version b/gnulib/modules/check-version new file mode 100644 index 0000000..f6eff0d --- /dev/null +++ b/gnulib/modules/check-version @@ -0,0 +1,23 @@ +Description: +Check version string compatibility. + +Files: +lib/check-version.h +lib/check-version.c + +Depends-on: +strverscmp + +configure.ac: + +Makefile.am: +lib_SOURCES += check-version.c + +Include: +"check-version.h" + +License: +LGPLv2+ + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/chown b/gnulib/modules/chown new file mode 100644 index 0000000..9c7294b --- /dev/null +++ b/gnulib/modules/chown @@ -0,0 +1,36 @@ +Description: +chown() function: change ownership of a file, following symlinks. + +Files: +lib/chown.c +lib/fchown-stub.c +m4/chown.m4 + +Depends-on: +unistd +fstat [test $HAVE_CHOWN = 0 || test $REPLACE_CHOWN = 1] +open [test $HAVE_CHOWN = 0 || test $REPLACE_CHOWN = 1] +stat [test $HAVE_CHOWN = 0 || test $REPLACE_CHOWN = 1] +stdbool [test $HAVE_CHOWN = 0 || test $REPLACE_CHOWN = 1] +sys_stat [test $HAVE_CHOWN = 0 || test $REPLACE_CHOWN = 1] + +configure.ac: +gl_FUNC_CHOWN +if test $HAVE_CHOWN = 0 || test $REPLACE_CHOWN = 1; then + AC_LIBOBJ([chown]) +fi +if test $REPLACE_CHOWN = 1 && test $ac_cv_func_fchown = no; then + AC_LIBOBJ([fchown-stub]) +fi +gl_UNISTD_MODULE_INDICATOR([chown]) + +Makefile.am: + +Include: +<unistd.h> + +License: +LGPLv2+ + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/chown-tests b/gnulib/modules/chown-tests new file mode 100644 index 0000000..467046d --- /dev/null +++ b/gnulib/modules/chown-tests @@ -0,0 +1,22 @@ +Files: +tests/nap.h +tests/test-chown.h +tests/test-chown.c +tests/signature.h +tests/macros.h + +Depends-on: +ignore-value +lstat +mgetgroups +usleep +stat-time +stdbool +symlink + +configure.ac: +AC_CHECK_FUNCS_ONCE([getegid]) + +Makefile.am: +TESTS += test-chown +check_PROGRAMS += test-chown diff --git a/gnulib/modules/classpath b/gnulib/modules/classpath new file mode 100644 index 0000000..c6b8937 --- /dev/null +++ b/gnulib/modules/classpath @@ -0,0 +1,26 @@ +Description: +Java CLASSPATH handling. + +Files: +lib/classpath.h +lib/classpath.c + +Depends-on: +stdbool +xsetenv +xalloc + +configure.ac: + +Makefile.am: +lib_SOURCES += classpath.h classpath.c + +Include: +"classpath.h" + +License: +GPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/clean-temp b/gnulib/modules/clean-temp new file mode 100644 index 0000000..d4afa34 --- /dev/null +++ b/gnulib/modules/clean-temp @@ -0,0 +1,37 @@ +Description: +Temporary directories and temporary files with automatic cleanup. + +Files: +lib/clean-temp.h +lib/clean-temp.c + +Depends-on: +stdbool +unistd +error +fatal-signal +open +pathmax +tmpdir +mkdtemp +rmdir +xalloc +xmalloca +linkedhash-list +xlist +gettext-h + +configure.ac: +AC_DEFINE([SIGNAL_SAFE_LIST], [1], [Define if lists must be signal-safe.]) + +Makefile.am: +lib_SOURCES += clean-temp.h clean-temp.c + +Include: +"clean-temp.h" + +License: +GPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/clock-time b/gnulib/modules/clock-time new file mode 100644 index 0000000..fc867ae --- /dev/null +++ b/gnulib/modules/clock-time @@ -0,0 +1,24 @@ +Description: +Check for clock_gettime and clock_settime. + +Files: +m4/clock_time.m4 + +Depends-on: +extensions + +configure.ac: +gl_CLOCK_TIME + +Makefile.am: + +Include: + +Link: +$(LIB_CLOCK_GETTIME) + +License: +LGPLv2+ + +Maintainer: +Paul Eggert, Jim Meyering diff --git a/gnulib/modules/cloexec b/gnulib/modules/cloexec new file mode 100644 index 0000000..8e458bb --- /dev/null +++ b/gnulib/modules/cloexec @@ -0,0 +1,26 @@ +Description: +Set or clear the close-on-exec descriptor flag. + +Files: +lib/cloexec.c +lib/cloexec.h + +Depends-on: +dup2 +fcntl +stdbool + +configure.ac: +gl_MODULE_INDICATOR_FOR_TESTS([cloexec]) + +Makefile.am: +lib_SOURCES += cloexec.c + +Include: +"cloexec.h" + +License: +LGPLv2+ + +Maintainer: +Jim Meyering, Eric Blake diff --git a/gnulib/modules/cloexec-tests b/gnulib/modules/cloexec-tests new file mode 100644 index 0000000..524716c --- /dev/null +++ b/gnulib/modules/cloexec-tests @@ -0,0 +1,13 @@ +Files: +tests/test-cloexec.c +tests/macros.h + +Depends-on: +binary-io +msvc-nothrow + +configure.ac: + +Makefile.am: +TESTS += test-cloexec +check_PROGRAMS += test-cloexec diff --git a/gnulib/modules/close b/gnulib/modules/close new file mode 100644 index 0000000..6451ce2 --- /dev/null +++ b/gnulib/modules/close @@ -0,0 +1,29 @@ +Description: +close() function: close a file or socket. + +Files: +lib/close.c +m4/close.m4 + +Depends-on: +unistd +fd-hook [test $REPLACE_CLOSE = 1] +msvc-inval [test $REPLACE_CLOSE = 1] + +configure.ac: +gl_FUNC_CLOSE +if test $REPLACE_CLOSE = 1; then + AC_LIBOBJ([close]) +fi +gl_UNISTD_MODULE_INDICATOR([close]) + +Makefile.am: + +Include: +<unistd.h> + +License: +LGPLv2+ + +Maintainer: +Paolo Bonzini, Simon Josefsson, Bruno Haible diff --git a/gnulib/modules/close-stream b/gnulib/modules/close-stream new file mode 100644 index 0000000..dd5522f --- /dev/null +++ b/gnulib/modules/close-stream @@ -0,0 +1,27 @@ +Description: +Close a stream, with nicer error checking than fclose's. + +Files: +lib/close-stream.h +lib/close-stream.c +m4/close-stream.m4 + +Depends-on: +fpending +stdbool + +configure.ac: +gl_CLOSE_STREAM +gl_MODULE_INDICATOR([close-stream]) + +Makefile.am: +lib_SOURCES += close-stream.c + +Include: +"close-stream.h" + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/close-tests b/gnulib/modules/close-tests new file mode 100644 index 0000000..5716319 --- /dev/null +++ b/gnulib/modules/close-tests @@ -0,0 +1,12 @@ +Files: +tests/test-close.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-close +check_PROGRAMS += test-close diff --git a/gnulib/modules/closedir b/gnulib/modules/closedir new file mode 100644 index 0000000..1ebff9c --- /dev/null +++ b/gnulib/modules/closedir @@ -0,0 +1,28 @@ +Description: +closedir() function: stop reading the entries of a directory + +Files: +lib/closedir.c +lib/dirent-private.h +m4/closedir.m4 + +Depends-on: +dirent + +configure.ac: +gl_FUNC_CLOSEDIR +if test $HAVE_CLOSEDIR = 0 || test $REPLACE_CLOSEDIR = 1; then + AC_LIBOBJ([closedir]) +fi +gl_DIRENT_MODULE_INDICATOR([closedir]) + +Makefile.am: + +Include: +<dirent.h> + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/closein b/gnulib/modules/closein new file mode 100644 index 0000000..5f6e7d7 --- /dev/null +++ b/gnulib/modules/closein @@ -0,0 +1,28 @@ +Description: +Close all standard streams, resetting seekable stdin if needed, and exiting with a diagnostic on error. + +Files: +lib/closein.h +lib/closein.c +m4/closein.m4 + +Depends-on: +closeout +freadahead +fflush +stdbool + +configure.ac: +gl_CLOSEIN + +Makefile.am: +lib_SOURCES += closein.c + +Include: +"closein.h" + +License: +GPL + +Maintainer: +Eric Blake diff --git a/gnulib/modules/closein-tests b/gnulib/modules/closein-tests new file mode 100644 index 0000000..8cbf593 --- /dev/null +++ b/gnulib/modules/closein-tests @@ -0,0 +1,15 @@ +Files: +tests/init.sh +tests/test-closein.sh +tests/test-closein.c + +Depends-on: +binary-io +ignore-value + +configure.ac: + +Makefile.am: +TESTS += test-closein.sh +check_PROGRAMS += test-closein +test_closein_LDADD = $(LDADD) @LIBINTL@ diff --git a/gnulib/modules/closeout b/gnulib/modules/closeout new file mode 100644 index 0000000..2987121 --- /dev/null +++ b/gnulib/modules/closeout @@ -0,0 +1,30 @@ +Description: +Close standard output and standard error, exiting with a diagnostic on error. + +Files: +lib/closeout.h +lib/closeout.c +m4/closeout.m4 + +Depends-on: +close-stream +gettext-h +error +quotearg +exitfail +stdbool + +configure.ac: +gl_CLOSEOUT + +Makefile.am: +lib_SOURCES += closeout.c + +Include: +"closeout.h" + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/concat-filename b/gnulib/modules/concat-filename new file mode 100644 index 0000000..70ad9f6 --- /dev/null +++ b/gnulib/modules/concat-filename @@ -0,0 +1,27 @@ +Description: +Construct a full filename by concatenating a directory name, a relative +filename, and a suffix. + +Files: +lib/concat-filename.h +lib/concat-filename.c + +Depends-on: +filename +malloc-posix +stpcpy + +configure.ac: + +Makefile.am: +lib_SOURCES += concat-filename.c + +Include: +"concat-filename.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/cond b/gnulib/modules/cond new file mode 100644 index 0000000..a28ed11 --- /dev/null +++ b/gnulib/modules/cond @@ -0,0 +1,31 @@ +Description: +Condition variables for multithreading. + +Files: +lib/glthread/cond.h +lib/glthread/cond.c +m4/cond.m4 + +Depends-on: +threadlib +lock +errno +stdbool +time +gettimeofday + +configure.ac: +gl_COND + +Makefile.am: +lib_SOURCES += glthread/cond.h glthread/cond.c + +Include: +"glthread/cond.h" + +License: +LGPLv2+ + +Maintainer: +Yoann Vandoorselaere + diff --git a/gnulib/modules/cond-tests b/gnulib/modules/cond-tests new file mode 100644 index 0000000..6b4c45e --- /dev/null +++ b/gnulib/modules/cond-tests @@ -0,0 +1,14 @@ +Files: +tests/test-cond.c + +Depends-on: +lock +thread +yield +gettimeofday +sleep + +Makefile.am: +TESTS += test-cond +check_PROGRAMS += test-cond +test_cond_LDADD = $(LDADD) @LIBMULTITHREAD@ @YIELD_LIB@ diff --git a/gnulib/modules/config-h b/gnulib/modules/config-h new file mode 100644 index 0000000..0af7c3e --- /dev/null +++ b/gnulib/modules/config-h @@ -0,0 +1,20 @@ +Description: +Assume config.h exists, to avoid -DHAVE_CONFIG_H clutter in 'make' output. + +Files: +m4/config-h.m4 + +Depends-on: + +configure.ac: +gl_CONFIG_H + +Makefile.am: + +Include: + +License: +LGPL + +Maintainer: +Paul Eggert, Jim Meyering diff --git a/gnulib/modules/configmake b/gnulib/modules/configmake new file mode 100644 index 0000000..46c0fcc --- /dev/null +++ b/gnulib/modules/configmake @@ -0,0 +1,61 @@ +Description: +Access from source code to variables set by "configure" or "make". + +Files: +m4/configmake.m4 + +Depends-on: + +configure.ac: +gl_CONFIGMAKE_PREP + +Makefile.am: +# Listed in the same order as the GNU makefile conventions, and +# provided by autoconf 2.59c+. +# The Automake-defined pkg* macros are appended, in the order +# listed in the Automake 1.10a+ documentation. +configmake.h: Makefile + $(AM_V_GEN)rm -f $@-t && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + echo '#define PREFIX "$(prefix)"'; \ + echo '#define EXEC_PREFIX "$(exec_prefix)"'; \ + echo '#define BINDIR "$(bindir)"'; \ + echo '#define SBINDIR "$(sbindir)"'; \ + echo '#define LIBEXECDIR "$(libexecdir)"'; \ + echo '#define DATAROOTDIR "$(datarootdir)"'; \ + echo '#define DATADIR "$(datadir)"'; \ + echo '#define SYSCONFDIR "$(sysconfdir)"'; \ + echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \ + echo '#define LOCALSTATEDIR "$(localstatedir)"'; \ + echo '#define INCLUDEDIR "$(includedir)"'; \ + echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \ + echo '#define DOCDIR "$(docdir)"'; \ + echo '#define INFODIR "$(infodir)"'; \ + echo '#define HTMLDIR "$(htmldir)"'; \ + echo '#define DVIDIR "$(dvidir)"'; \ + echo '#define PDFDIR "$(pdfdir)"'; \ + echo '#define PSDIR "$(psdir)"'; \ + echo '#define LIBDIR "$(libdir)"'; \ + echo '#define LISPDIR "$(lispdir)"'; \ + echo '#define LOCALEDIR "$(localedir)"'; \ + echo '#define MANDIR "$(mandir)"'; \ + echo '#define MANEXT "$(manext)"'; \ + echo '#define PKGDATADIR "$(pkgdatadir)"'; \ + echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \ + echo '#define PKGLIBDIR "$(pkglibdir)"'; \ + echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \ + } | sed '/""/d' > $@-t + mv -f $@-t $@ + +BUILT_SOURCES += configmake.h +CLEANFILES += configmake.h configmake.h-t + +Include: +/* Include only after all system include files. */ +"configmake.h" + +License: +LGPLv2+ + +Maintainer: +all diff --git a/gnulib/modules/connect b/gnulib/modules/connect new file mode 100644 index 0000000..c77632c --- /dev/null +++ b/gnulib/modules/connect @@ -0,0 +1,33 @@ +Description: +connect() function: connect a client socket. + +Files: +lib/connect.c +lib/w32sock.h + +Depends-on: +sys_socket +socketlib +errno [test "$ac_cv_header_winsock2_h" = yes] +msvc-nothrow [test "$ac_cv_header_winsock2_h" = yes] + +configure.ac: +AC_REQUIRE([gl_HEADER_SYS_SOCKET]) +if test "$ac_cv_header_winsock2_h" = yes; then + AC_LIBOBJ([connect]) +fi +gl_SYS_SOCKET_MODULE_INDICATOR([connect]) + +Makefile.am: + +Include: +<sys/socket.h> + +Link: +$(LIBSOCKET) + +License: +LGPLv2+ + +Maintainer: +Paolo Bonzini, Simon Josefsson diff --git a/gnulib/modules/connect-tests b/gnulib/modules/connect-tests new file mode 100644 index 0000000..8b3c710 --- /dev/null +++ b/gnulib/modules/connect-tests @@ -0,0 +1,16 @@ +Files: +tests/test-connect.c +tests/signature.h +tests/macros.h + +Depends-on: +netinet_in +sockets +inet_pton + +configure.ac: + +Makefile.am: +TESTS += test-connect +check_PROGRAMS += test-connect +test_connect_LDADD = $(LDADD) @LIBSOCKET@ $(INET_PTON_LIB) diff --git a/gnulib/modules/copy-file b/gnulib/modules/copy-file new file mode 100644 index 0000000..6a35db2 --- /dev/null +++ b/gnulib/modules/copy-file @@ -0,0 +1,35 @@ +Description: +Copying of files. + +Files: +lib/copy-file.h +lib/copy-file.c +m4/copy-file.m4 + +Depends-on: +acl +binary-io +error +fstat +full-write +gettext-h +open +safe-read +stdlib +unistd +xalloc + +configure.ac: +gl_COPY_FILE + +Makefile.am: +lib_SOURCES += copy-file.h copy-file.c + +Include: +"copy-file.h" + +License: +GPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/copy-file-tests b/gnulib/modules/copy-file-tests new file mode 100644 index 0000000..cc06a0b --- /dev/null +++ b/gnulib/modules/copy-file-tests @@ -0,0 +1,21 @@ +Files: +tests/test-copy-file.sh +tests/test-copy-file-1.sh +tests/test-copy-file-2.sh +tests/test-copy-file.c +tests/macros.h + +Depends-on: +acl +acl-tests +progname +read-file +xalloc + +configure.ac: + +Makefile.am: +TESTS += test-copy-file.sh test-copy-file-1.sh test-copy-file-2.sh +TESTS_ENVIRONMENT += USE_ACL=$(USE_ACL) +check_PROGRAMS += test-copy-file +test_copy_file_LDADD = $(LDADD) $(LIB_ACL) @LIBINTL@ diff --git a/gnulib/modules/copysign b/gnulib/modules/copysign new file mode 100644 index 0000000..656aa50 --- /dev/null +++ b/gnulib/modules/copysign @@ -0,0 +1,32 @@ +Description: +copysign() function: copy sign into another 'double' number. + +Files: +lib/copysign.c +m4/copysign.m4 +m4/mathfunc.m4 + +Depends-on: +math +signbit [test $HAVE_COPYSIGN = 0] + +configure.ac: +gl_FUNC_COPYSIGN +if test $HAVE_COPYSIGN = 0; then + AC_LIBOBJ([copysign]) +fi +gl_MATH_MODULE_INDICATOR([copysign]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(COPYSIGN_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/copysign-tests b/gnulib/modules/copysign-tests new file mode 100644 index 0000000..5a07220 --- /dev/null +++ b/gnulib/modules/copysign-tests @@ -0,0 +1,14 @@ +Files: +tests/test-copysign.c +tests/signature.h +tests/minus-zero.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-copysign +check_PROGRAMS += test-copysign +test_copysign_LDADD = $(LDADD) @COPYSIGN_LIBM@ diff --git a/gnulib/modules/copysignf b/gnulib/modules/copysignf new file mode 100644 index 0000000..a446046 --- /dev/null +++ b/gnulib/modules/copysignf @@ -0,0 +1,32 @@ +Description: +copysignf() function: copy sign into another 'float' number. + +Files: +lib/copysignf.c +m4/copysignf.m4 +m4/mathfunc.m4 + +Depends-on: +math +signbit [test $HAVE_COPYSIGNF = 0] + +configure.ac: +gl_FUNC_COPYSIGNF +if test $HAVE_COPYSIGNF = 0; then + AC_LIBOBJ([copysignf]) +fi +gl_MATH_MODULE_INDICATOR([copysignf]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(COPYSIGNF_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/copysignf-tests b/gnulib/modules/copysignf-tests new file mode 100644 index 0000000..78b042c --- /dev/null +++ b/gnulib/modules/copysignf-tests @@ -0,0 +1,14 @@ +Files: +tests/test-copysignf.c +tests/signature.h +tests/minus-zero.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-copysignf +check_PROGRAMS += test-copysignf +test_copysignf_LDADD = $(LDADD) @COPYSIGNF_LIBM@ diff --git a/gnulib/modules/copysignl b/gnulib/modules/copysignl new file mode 100644 index 0000000..f3d1fd3 --- /dev/null +++ b/gnulib/modules/copysignl @@ -0,0 +1,33 @@ +Description: +copysignl() function: copy sign into another 'long double' number. + +Files: +lib/copysignl.c +m4/copysignl.m4 +m4/mathfunc.m4 + +Depends-on: +math +copysign [test $HAVE_COPYSIGNL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1] +signbit [test $HAVE_COPYSIGNL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] + +configure.ac: +gl_FUNC_COPYSIGNL +if test $HAVE_COPYSIGNL = 0; then + AC_LIBOBJ([copysignl]) +fi +gl_MATH_MODULE_INDICATOR([copysignl]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(COPYSIGNL_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/copysignl-tests b/gnulib/modules/copysignl-tests new file mode 100644 index 0000000..1cb5f82 --- /dev/null +++ b/gnulib/modules/copysignl-tests @@ -0,0 +1,14 @@ +Files: +tests/test-copysignl.c +tests/signature.h +tests/minus-zero.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-copysignl +check_PROGRAMS += test-copysignl +test_copysignl_LDADD = $(LDADD) @COPYSIGNL_LIBM@ diff --git a/gnulib/modules/cos b/gnulib/modules/cos new file mode 100644 index 0000000..8337275 --- /dev/null +++ b/gnulib/modules/cos @@ -0,0 +1,25 @@ +Description: +cos() function: cosine function. + +Files: +m4/cos.m4 +m4/mathfunc.m4 + +Depends-on: + +configure.ac: +gl_FUNC_COS + +Makefile.am: + +Include: +<math.h> + +Link: +$(COS_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/cos-tests b/gnulib/modules/cos-tests new file mode 100644 index 0000000..ab46a25 --- /dev/null +++ b/gnulib/modules/cos-tests @@ -0,0 +1,13 @@ +Files: +tests/test-cos.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-cos +check_PROGRAMS += test-cos +test_cos_LDADD = $(LDADD) @COS_LIBM@ diff --git a/gnulib/modules/cosf b/gnulib/modules/cosf new file mode 100644 index 0000000..b9b9860 --- /dev/null +++ b/gnulib/modules/cosf @@ -0,0 +1,31 @@ +Description: +cosf() function: cosine function. + +Files: +lib/cosf.c +m4/cosf.m4 + +Depends-on: +math +cos [test $HAVE_COSF = 0] + +configure.ac: +gl_FUNC_COSF +if test $HAVE_COSF = 0; then + AC_LIBOBJ([cosf]) +fi +gl_MATH_MODULE_INDICATOR([cosf]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(COSF_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/cosf-tests b/gnulib/modules/cosf-tests new file mode 100644 index 0000000..b8c6b33 --- /dev/null +++ b/gnulib/modules/cosf-tests @@ -0,0 +1,13 @@ +Files: +tests/test-cosf.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-cosf +check_PROGRAMS += test-cosf +test_cosf_LDADD = $(LDADD) @COSF_LIBM@ diff --git a/gnulib/modules/cosh b/gnulib/modules/cosh new file mode 100644 index 0000000..ec4e049 --- /dev/null +++ b/gnulib/modules/cosh @@ -0,0 +1,25 @@ +Description: +cosh() function: hyperbolic cosine function. + +Files: +m4/cosh.m4 +m4/mathfunc.m4 + +Depends-on: + +configure.ac: +gl_FUNC_COSH + +Makefile.am: + +Include: +<math.h> + +Link: +$(COSH_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/cosh-tests b/gnulib/modules/cosh-tests new file mode 100644 index 0000000..88af9d7 --- /dev/null +++ b/gnulib/modules/cosh-tests @@ -0,0 +1,13 @@ +Files: +tests/test-cosh.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-cosh +check_PROGRAMS += test-cosh +test_cosh_LDADD = $(LDADD) @COSH_LIBM@ diff --git a/gnulib/modules/coshf b/gnulib/modules/coshf new file mode 100644 index 0000000..d8a1e4b --- /dev/null +++ b/gnulib/modules/coshf @@ -0,0 +1,31 @@ +Description: +coshf() function: hyperbolic cosine function. + +Files: +lib/coshf.c +m4/coshf.m4 + +Depends-on: +math +cosh [test $HAVE_COSHF = 0] + +configure.ac: +gl_FUNC_COSHF +if test $HAVE_COSHF = 0; then + AC_LIBOBJ([coshf]) +fi +gl_MATH_MODULE_INDICATOR([coshf]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(COSHF_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/coshf-tests b/gnulib/modules/coshf-tests new file mode 100644 index 0000000..ae9327e --- /dev/null +++ b/gnulib/modules/coshf-tests @@ -0,0 +1,13 @@ +Files: +tests/test-coshf.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-coshf +check_PROGRAMS += test-coshf +test_coshf_LDADD = $(LDADD) @COSHF_LIBM@ diff --git a/gnulib/modules/cosl b/gnulib/modules/cosl new file mode 100644 index 0000000..2b7aaea --- /dev/null +++ b/gnulib/modules/cosl @@ -0,0 +1,43 @@ +Description: +cosl() function: cosine function with long double argument. + +Files: +lib/cosl.c +lib/trigl.h +lib/sincosl.c +lib/trigl.c +m4/cosl.m4 + +Depends-on: +math +extensions +cos [test $HAVE_COSL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1] +float [test $HAVE_COSL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] +isnanl [test $HAVE_COSL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] +floor [test $HAVE_COSL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] +floorl [test $HAVE_COSL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] + +configure.ac: +gl_FUNC_COSL +if test $HAVE_COSL = 0; then + AC_LIBOBJ([cosl]) + if test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0; then + AC_LIBOBJ([sincosl]) + AC_LIBOBJ([trigl]) + fi +fi +gl_MATH_MODULE_INDICATOR([cosl]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(ACOSL_LIBM) + +License: +LGPL + +Maintainer: +Paolo Bonzini diff --git a/gnulib/modules/cosl-tests b/gnulib/modules/cosl-tests new file mode 100644 index 0000000..846f330 --- /dev/null +++ b/gnulib/modules/cosl-tests @@ -0,0 +1,14 @@ +Files: +tests/test-cosl.c +tests/signature.h +tests/macros.h + +Depends-on: +fpucw + +configure.ac: + +Makefile.am: +TESTS += test-cosl +check_PROGRAMS += test-cosl +test_cosl_LDADD = $(LDADD) @COSL_LIBM@ diff --git a/gnulib/modules/count-one-bits b/gnulib/modules/count-one-bits new file mode 100644 index 0000000..b836bfa --- /dev/null +++ b/gnulib/modules/count-one-bits @@ -0,0 +1,23 @@ +Description: +Counts the number of 1-bits in a word. + +Files: +lib/count-one-bits.h +m4/count-one-bits.m4 + +Depends-on: +verify + +configure.ac: +gl_COUNT_ONE_BITS + +Makefile.am: + +Include: +"count-one-bits.h" + +License: +LGPLv2+ + +Maintainer: +Ben Pfaff diff --git a/gnulib/modules/count-one-bits-tests b/gnulib/modules/count-one-bits-tests new file mode 100644 index 0000000..bf0a543 --- /dev/null +++ b/gnulib/modules/count-one-bits-tests @@ -0,0 +1,11 @@ +Files: +tests/test-count-one-bits.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-count-one-bits +check_PROGRAMS += test-count-one-bits diff --git a/gnulib/modules/crc b/gnulib/modules/crc new file mode 100644 index 0000000..bd7fe29 --- /dev/null +++ b/gnulib/modules/crc @@ -0,0 +1,23 @@ +Description: +Compute cyclic redundancy codes. + +Files: +lib/crc.h +lib/crc.c + +Depends-on: +stdint + +configure.ac: + +Makefile.am: +lib_SOURCES += crc.c + +Include: +"crc.h" + +License: +LGPL + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/crc-tests b/gnulib/modules/crc-tests new file mode 100644 index 0000000..0d35256 --- /dev/null +++ b/gnulib/modules/crc-tests @@ -0,0 +1,10 @@ +Files: +tests/test-crc.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-crc +check_PROGRAMS += test-crc diff --git a/gnulib/modules/crypto/arcfour b/gnulib/modules/crypto/arcfour new file mode 100644 index 0000000..43d1345 --- /dev/null +++ b/gnulib/modules/crypto/arcfour @@ -0,0 +1,23 @@ +Description: +ARCFOUR stream cipher implementation + +Files: +lib/arcfour.h +lib/arcfour.c + +Depends-on: +stdint + +configure.ac: + +Makefile.am: +lib_SOURCES += arcfour.c + +Include: +"arcfour.h" + +License: +LGPLv2+ + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/crypto/arcfour-tests b/gnulib/modules/crypto/arcfour-tests new file mode 100644 index 0000000..f02b0a6 --- /dev/null +++ b/gnulib/modules/crypto/arcfour-tests @@ -0,0 +1,10 @@ +Files: +tests/test-arcfour.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-arcfour +check_PROGRAMS += test-arcfour diff --git a/gnulib/modules/crypto/arctwo b/gnulib/modules/crypto/arctwo new file mode 100644 index 0000000..e0bbb90 --- /dev/null +++ b/gnulib/modules/crypto/arctwo @@ -0,0 +1,26 @@ +Description: +ARCTWO block cipher implementation + +Files: +lib/arctwo.h +lib/arctwo.c +m4/arctwo.m4 + +Depends-on: +stdint +bitrotate + +configure.ac: +gl_ARCTWO + +Makefile.am: +lib_SOURCES += arctwo.c + +Include: +"arctwo.h" + +License: +LGPLv2+ + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/crypto/arctwo-tests b/gnulib/modules/crypto/arctwo-tests new file mode 100644 index 0000000..a0b01da --- /dev/null +++ b/gnulib/modules/crypto/arctwo-tests @@ -0,0 +1,10 @@ +Files: +tests/test-arctwo.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-arctwo +check_PROGRAMS += test-arctwo diff --git a/gnulib/modules/crypto/des b/gnulib/modules/crypto/des new file mode 100644 index 0000000..4147cbd --- /dev/null +++ b/gnulib/modules/crypto/des @@ -0,0 +1,25 @@ +Description: +DES block cipher. + +Files: +lib/des.c +lib/des.h + +Depends-on: +stdint +stdbool +memcmp + +configure.ac: + +Makefile.am: +lib_SOURCES += des.c + +Include: +"des.h" + +License: +LGPLv2+ + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/crypto/des-tests b/gnulib/modules/crypto/des-tests new file mode 100644 index 0000000..a5850a4 --- /dev/null +++ b/gnulib/modules/crypto/des-tests @@ -0,0 +1,10 @@ +Files: +tests/test-des.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-des +check_PROGRAMS += test-des diff --git a/gnulib/modules/crypto/gc b/gnulib/modules/crypto/gc new file mode 100644 index 0000000..339cb81 --- /dev/null +++ b/gnulib/modules/crypto/gc @@ -0,0 +1,37 @@ +Description: +Core files for generic crypto package + +Files: +lib/gc.h +lib/gc-libgcrypt.c +lib/gc-gnulib.c +m4/gc.m4 + +Depends-on: +havelib + +configure.ac: +gl_GC +if test "$ac_cv_libgcrypt" = yes; then + AC_LIBOBJ([gc-libgcrypt]) +else + AC_LIBOBJ([gc-gnulib]) +fi +if test $gl_cond_libtool = false; then + gl_ltlibdeps="$gl_ltlibdeps $LTLIBGCRYPT" + gl_libdeps="$gl_libdeps $LIBGCRYPT" +fi + +Makefile.am: +if GL_COND_LIBTOOL +lib_LDFLAGS += $(LTLIBGCRYPT) +endif + +Include: +"gc.h" + +License: +LGPLv2+ + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/crypto/gc-arcfour b/gnulib/modules/crypto/gc-arcfour new file mode 100644 index 0000000..7df6b95 --- /dev/null +++ b/gnulib/modules/crypto/gc-arcfour @@ -0,0 +1,24 @@ +Description: +Generic crypto wrappers for ARCFOUR stream cipher. + +Files: +m4/gc-arcfour.m4 + +Depends-on: +crypto/gc +crypto/arcfour [test "$ac_cv_libgcrypt" != yes] + +configure.ac: +gl_GC_ARCFOUR +gl_MODULE_INDICATOR([gc-arcfour]) + +Makefile.am: + +Include: +"gc.h" + +License: +LGPLv2+ + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/crypto/gc-arcfour-tests b/gnulib/modules/crypto/gc-arcfour-tests new file mode 100644 index 0000000..b0ed0bd --- /dev/null +++ b/gnulib/modules/crypto/gc-arcfour-tests @@ -0,0 +1,10 @@ +Files: +tests/test-gc-arcfour.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-gc-arcfour +check_PROGRAMS += test-gc-arcfour diff --git a/gnulib/modules/crypto/gc-arctwo b/gnulib/modules/crypto/gc-arctwo new file mode 100644 index 0000000..bbd9ba9 --- /dev/null +++ b/gnulib/modules/crypto/gc-arctwo @@ -0,0 +1,24 @@ +Description: +Generic crypto wrappers for ARCTWO block cipher. + +Files: +m4/gc-arctwo.m4 + +Depends-on: +crypto/gc +crypto/arctwo [test "$ac_cv_libgcrypt" != yes] + +configure.ac: +gl_GC_ARCTWO +gl_MODULE_INDICATOR([gc-arctwo]) + +Makefile.am: + +Include: +"gc.h" + +License: +LGPLv2+ + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/crypto/gc-arctwo-tests b/gnulib/modules/crypto/gc-arctwo-tests new file mode 100644 index 0000000..d1cdaff --- /dev/null +++ b/gnulib/modules/crypto/gc-arctwo-tests @@ -0,0 +1,10 @@ +Files: +tests/test-gc-arctwo.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-gc-arctwo +check_PROGRAMS += test-gc-arctwo diff --git a/gnulib/modules/crypto/gc-camellia b/gnulib/modules/crypto/gc-camellia new file mode 100644 index 0000000..413bba9 --- /dev/null +++ b/gnulib/modules/crypto/gc-camellia @@ -0,0 +1,22 @@ +Description: +Generic crypto wrappers for Camellia block cipher. + +Files: +m4/gc-camellia.m4 + +Depends-on: +crypto/gc + +configure.ac: +gl_GC_CAMELLIA + +Makefile.am: + +Include: +"gc.h" + +License: +LGPLv2+ + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/crypto/gc-des b/gnulib/modules/crypto/gc-des new file mode 100644 index 0000000..685899d --- /dev/null +++ b/gnulib/modules/crypto/gc-des @@ -0,0 +1,24 @@ +Description: +Generic crypto wrappers for DES block cipher. + +Files: +m4/gc-des.m4 + +Depends-on: +crypto/gc +crypto/des [test "$ac_cv_libgcrypt" != yes] + +configure.ac: +gl_GC_DES +gl_MODULE_INDICATOR([gc-des]) + +Makefile.am: + +Include: +"gc.h" + +License: +LGPLv2+ + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/crypto/gc-des-tests b/gnulib/modules/crypto/gc-des-tests new file mode 100644 index 0000000..e9851db --- /dev/null +++ b/gnulib/modules/crypto/gc-des-tests @@ -0,0 +1,10 @@ +Files: +tests/test-gc-des.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-gc-des +check_PROGRAMS += test-gc-des diff --git a/gnulib/modules/crypto/gc-hmac-md5 b/gnulib/modules/crypto/gc-hmac-md5 new file mode 100644 index 0000000..109ec5e --- /dev/null +++ b/gnulib/modules/crypto/gc-hmac-md5 @@ -0,0 +1,24 @@ +Description: +Generic crypto wrappers for HMAC-MD5 functions. + +Files: +m4/gc-hmac-md5.m4 + +Depends-on: +crypto/gc +crypto/hmac-md5 [test "$ac_cv_libgcrypt" != yes] + +configure.ac: +gl_GC_HMAC_MD5 +gl_MODULE_INDICATOR([gc-hmac-md5]) + +Makefile.am: + +Include: +"gc.h" + +License: +LGPLv2+ + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/crypto/gc-hmac-md5-tests b/gnulib/modules/crypto/gc-hmac-md5-tests new file mode 100644 index 0000000..699ccf9 --- /dev/null +++ b/gnulib/modules/crypto/gc-hmac-md5-tests @@ -0,0 +1,10 @@ +Files: +tests/test-gc-hmac-md5.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-gc-hmac-md5 +check_PROGRAMS += test-gc-hmac-md5 diff --git a/gnulib/modules/crypto/gc-hmac-sha1 b/gnulib/modules/crypto/gc-hmac-sha1 new file mode 100644 index 0000000..6235125 --- /dev/null +++ b/gnulib/modules/crypto/gc-hmac-sha1 @@ -0,0 +1,24 @@ +Description: +Generic crypto wrappers for HMAC-SHA1 functions. + +Files: +m4/gc-hmac-sha1.m4 + +Depends-on: +crypto/gc +crypto/hmac-sha1 [test "$ac_cv_libgcrypt" != yes] + +configure.ac: +gl_GC_HMAC_SHA1 +gl_MODULE_INDICATOR([gc-hmac-sha1]) + +Makefile.am: + +Include: +"gc.h" + +License: +LGPLv2+ + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/crypto/gc-hmac-sha1-tests b/gnulib/modules/crypto/gc-hmac-sha1-tests new file mode 100644 index 0000000..2795ee9 --- /dev/null +++ b/gnulib/modules/crypto/gc-hmac-sha1-tests @@ -0,0 +1,10 @@ +Files: +tests/test-gc-hmac-sha1.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-gc-hmac-sha1 +check_PROGRAMS += test-gc-hmac-sha1 diff --git a/gnulib/modules/crypto/gc-md2 b/gnulib/modules/crypto/gc-md2 new file mode 100644 index 0000000..5e5beaa --- /dev/null +++ b/gnulib/modules/crypto/gc-md2 @@ -0,0 +1,24 @@ +Description: +Generic crypto wrappers for MD2 functions. + +Files: +m4/gc-md2.m4 + +Depends-on: +crypto/gc +crypto/md2 + +configure.ac: +gl_GC_MD2 +gl_MODULE_INDICATOR([gc-md2]) + +Makefile.am: + +Include: +"gc.h" + +License: +LGPLv2+ + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/crypto/gc-md2-tests b/gnulib/modules/crypto/gc-md2-tests new file mode 100644 index 0000000..759d3d5 --- /dev/null +++ b/gnulib/modules/crypto/gc-md2-tests @@ -0,0 +1,10 @@ +Files: +tests/test-gc-md2.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-gc-md2 +check_PROGRAMS += test-gc-md2 diff --git a/gnulib/modules/crypto/gc-md4 b/gnulib/modules/crypto/gc-md4 new file mode 100644 index 0000000..e46589b --- /dev/null +++ b/gnulib/modules/crypto/gc-md4 @@ -0,0 +1,24 @@ +Description: +Generic crypto wrappers for MD4 functions. + +Files: +m4/gc-md4.m4 + +Depends-on: +crypto/gc +crypto/md4 [test "$ac_cv_libgcrypt" != yes] + +configure.ac: +gl_GC_MD4 +gl_MODULE_INDICATOR([gc-md4]) + +Makefile.am: + +Include: +"gc.h" + +License: +LGPLv2+ + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/crypto/gc-md4-tests b/gnulib/modules/crypto/gc-md4-tests new file mode 100644 index 0000000..c6bd64a --- /dev/null +++ b/gnulib/modules/crypto/gc-md4-tests @@ -0,0 +1,10 @@ +Files: +tests/test-gc-md4.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-gc-md4 +check_PROGRAMS += test-gc-md4 diff --git a/gnulib/modules/crypto/gc-md5 b/gnulib/modules/crypto/gc-md5 new file mode 100644 index 0000000..0d6b272 --- /dev/null +++ b/gnulib/modules/crypto/gc-md5 @@ -0,0 +1,25 @@ +Description: +Generic crypto wrappers for MD5 functions. + +Files: +m4/gc-md5.m4 + +Depends-on: +crypto/gc +crypto/md5 [test "$ac_cv_libgcrypt" != yes] + +configure.ac: +gl_GC_MD5 +gl_MODULE_INDICATOR([gc-md5]) + +Makefile.am: +lib_SOURCES += md5.h + +Include: +"gc.h" + +License: +LGPLv2+ + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/crypto/gc-md5-tests b/gnulib/modules/crypto/gc-md5-tests new file mode 100644 index 0000000..a271971 --- /dev/null +++ b/gnulib/modules/crypto/gc-md5-tests @@ -0,0 +1,10 @@ +Files: +tests/test-gc-md5.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-gc-md5 +check_PROGRAMS += test-gc-md5 diff --git a/gnulib/modules/crypto/gc-pbkdf2-sha1 b/gnulib/modules/crypto/gc-pbkdf2-sha1 new file mode 100644 index 0000000..b0cec61 --- /dev/null +++ b/gnulib/modules/crypto/gc-pbkdf2-sha1 @@ -0,0 +1,23 @@ +Description: +Password-Based Key Derivation Function according to PKCS#5/RFC2898 + +Files: +lib/gc-pbkdf2-sha1.c + +Depends-on: +crypto/gc +crypto/gc-hmac-sha1 + +configure.ac: + +Makefile.am: +lib_SOURCES += gc-pbkdf2-sha1.c + +Include: +"gc.h" + +License: +LGPLv2+ + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/crypto/gc-pbkdf2-sha1-tests b/gnulib/modules/crypto/gc-pbkdf2-sha1-tests new file mode 100644 index 0000000..d0f79ba --- /dev/null +++ b/gnulib/modules/crypto/gc-pbkdf2-sha1-tests @@ -0,0 +1,10 @@ +Files: +tests/test-gc-pbkdf2-sha1.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-gc-pbkdf2-sha1 +check_PROGRAMS += test-gc-pbkdf2-sha1 diff --git a/gnulib/modules/crypto/gc-random b/gnulib/modules/crypto/gc-random new file mode 100644 index 0000000..2f17871 --- /dev/null +++ b/gnulib/modules/crypto/gc-random @@ -0,0 +1,23 @@ +Description: +Generic crypto random number functions. + +Files: +m4/gc-random.m4 + +Depends-on: +crypto/gc + +configure.ac: +gl_GC_RANDOM +gl_MODULE_INDICATOR([gc-random]) + +Makefile.am: + +Include: +"gc.h" + +License: +LGPLv2+ + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/crypto/gc-rijndael b/gnulib/modules/crypto/gc-rijndael new file mode 100644 index 0000000..249f47d --- /dev/null +++ b/gnulib/modules/crypto/gc-rijndael @@ -0,0 +1,24 @@ +Description: +Generic crypto wrappers for rijndael block cipher. + +Files: +m4/gc-rijndael.m4 + +Depends-on: +crypto/gc +crypto/rijndael [test "$ac_cv_libgcrypt" != yes] + +configure.ac: +gl_GC_RIJNDAEL +gl_MODULE_INDICATOR([gc-rijndael]) + +Makefile.am: + +Include: +"gc.h" + +License: +LGPLv2+ + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/crypto/gc-rijndael-tests b/gnulib/modules/crypto/gc-rijndael-tests new file mode 100644 index 0000000..1bf2433 --- /dev/null +++ b/gnulib/modules/crypto/gc-rijndael-tests @@ -0,0 +1,10 @@ +Files: +tests/test-gc-rijndael.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-gc-rijndael +check_PROGRAMS += test-gc-rijndael diff --git a/gnulib/modules/crypto/gc-sha1 b/gnulib/modules/crypto/gc-sha1 new file mode 100644 index 0000000..f959005 --- /dev/null +++ b/gnulib/modules/crypto/gc-sha1 @@ -0,0 +1,24 @@ +Description: +Generic crypto wrappers for SHA-1 functions. + +Files: +m4/gc-sha1.m4 + +Depends-on: +crypto/gc +crypto/sha1 [test "$ac_cv_libgcrypt" != yes] + +configure.ac: +gl_GC_SHA1 +gl_MODULE_INDICATOR([gc-sha1]) + +Makefile.am: + +Include: +"gc.h" + +License: +LGPLv2+ + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/crypto/gc-sha1-tests b/gnulib/modules/crypto/gc-sha1-tests new file mode 100644 index 0000000..e438aa2 --- /dev/null +++ b/gnulib/modules/crypto/gc-sha1-tests @@ -0,0 +1,10 @@ +Files: +tests/test-gc-sha1.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-gc-sha1 +check_PROGRAMS += test-gc-sha1 diff --git a/gnulib/modules/crypto/gc-tests b/gnulib/modules/crypto/gc-tests new file mode 100644 index 0000000..6ce252f --- /dev/null +++ b/gnulib/modules/crypto/gc-tests @@ -0,0 +1,10 @@ +Files: +tests/test-gc.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-gc +check_PROGRAMS += test-gc diff --git a/gnulib/modules/crypto/hmac-md5 b/gnulib/modules/crypto/hmac-md5 new file mode 100644 index 0000000..68ca375 --- /dev/null +++ b/gnulib/modules/crypto/hmac-md5 @@ -0,0 +1,24 @@ +Description: +Compute hashed message authentication codes with MD5. + +Files: +lib/hmac.h +lib/hmac-md5.c + +Depends-on: +memxor +crypto/md5 + +configure.ac: + +Makefile.am: +lib_SOURCES += hmac-md5.c + +Include: +"hmac.h" + +License: +LGPLv2+ + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/crypto/hmac-md5-tests b/gnulib/modules/crypto/hmac-md5-tests new file mode 100644 index 0000000..738ee51 --- /dev/null +++ b/gnulib/modules/crypto/hmac-md5-tests @@ -0,0 +1,10 @@ +Files: +tests/test-hmac-md5.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-hmac-md5 +check_PROGRAMS += test-hmac-md5 diff --git a/gnulib/modules/crypto/hmac-sha1 b/gnulib/modules/crypto/hmac-sha1 new file mode 100644 index 0000000..32ea359 --- /dev/null +++ b/gnulib/modules/crypto/hmac-sha1 @@ -0,0 +1,24 @@ +Description: +Compute hashed message authentication codes with SHA1. + +Files: +lib/hmac.h +lib/hmac-sha1.c + +Depends-on: +memxor +crypto/sha1 + +configure.ac: + +Makefile.am: +lib_SOURCES += hmac-sha1.c + +Include: +"hmac.h" + +License: +LGPLv2+ + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/crypto/hmac-sha1-tests b/gnulib/modules/crypto/hmac-sha1-tests new file mode 100644 index 0000000..ddebc58 --- /dev/null +++ b/gnulib/modules/crypto/hmac-sha1-tests @@ -0,0 +1,10 @@ +Files: +tests/test-hmac-sha1.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-hmac-sha1 +check_PROGRAMS += test-hmac-sha1 diff --git a/gnulib/modules/crypto/md2 b/gnulib/modules/crypto/md2 new file mode 100644 index 0000000..0cc8499 --- /dev/null +++ b/gnulib/modules/crypto/md2 @@ -0,0 +1,23 @@ +Description: +Compute MD2 checksum. + +Files: +lib/md2.h +lib/md2.c + +Depends-on: +minmax + +configure.ac: + +Makefile.am: +lib_SOURCES += md2.c + +Include: +"md2.h" + +License: +LGPLv2+ + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/crypto/md2-tests b/gnulib/modules/crypto/md2-tests new file mode 100644 index 0000000..2beed87 --- /dev/null +++ b/gnulib/modules/crypto/md2-tests @@ -0,0 +1,10 @@ +Files: +tests/test-md2.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-md2 +check_PROGRAMS += test-md2 diff --git a/gnulib/modules/crypto/md4 b/gnulib/modules/crypto/md4 new file mode 100644 index 0000000..e0b2b04 --- /dev/null +++ b/gnulib/modules/crypto/md4 @@ -0,0 +1,26 @@ +Description: +Compute MD4 checksum. + +Files: +lib/md4.h +lib/md4.c +m4/md4.m4 + +Depends-on: +stdalign +stdint + +configure.ac: +gl_MD4 + +Makefile.am: +lib_SOURCES += md4.c + +Include: +"md4.h" + +License: +LGPLv2+ + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/crypto/md4-tests b/gnulib/modules/crypto/md4-tests new file mode 100644 index 0000000..b4b851e --- /dev/null +++ b/gnulib/modules/crypto/md4-tests @@ -0,0 +1,10 @@ +Files: +tests/test-md4.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-md4 +check_PROGRAMS += test-md4 diff --git a/gnulib/modules/crypto/md5 b/gnulib/modules/crypto/md5 new file mode 100644 index 0000000..4ae0c57 --- /dev/null +++ b/gnulib/modules/crypto/md5 @@ -0,0 +1,26 @@ +Description: +Compute MD5 checksum. + +Files: +lib/md5.h +lib/md5.c +m4/md5.m4 + +Depends-on: +stdalign +stdint + +configure.ac: +gl_MD5 + +Makefile.am: +lib_SOURCES += md5.c + +Include: +"md5.h" + +License: +LGPLv2+ + +Maintainer: +Jim Meyering, glibc diff --git a/gnulib/modules/crypto/md5-tests b/gnulib/modules/crypto/md5-tests new file mode 100644 index 0000000..94bc3e4 --- /dev/null +++ b/gnulib/modules/crypto/md5-tests @@ -0,0 +1,10 @@ +Files: +tests/test-md5.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-md5 +check_PROGRAMS += test-md5 diff --git a/gnulib/modules/crypto/rijndael b/gnulib/modules/crypto/rijndael new file mode 100644 index 0000000..c5feae6 --- /dev/null +++ b/gnulib/modules/crypto/rijndael @@ -0,0 +1,26 @@ +Description: +Rijndael block cipher. + +Files: +lib/rijndael-alg-fst.c +lib/rijndael-alg-fst.h +lib/rijndael-api-fst.c +lib/rijndael-api-fst.h + +Depends-on: +stdint + +configure.ac: + +Makefile.am: +lib_SOURCES += rijndael-alg-fst.c rijndael-api-fst.c + +Include: +"rijndael-alg-fst.h" +"rijndael-api-fst.h" + +License: +LGPLv2+ + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/crypto/rijndael-tests b/gnulib/modules/crypto/rijndael-tests new file mode 100644 index 0000000..cbf861f --- /dev/null +++ b/gnulib/modules/crypto/rijndael-tests @@ -0,0 +1,10 @@ +Files: +tests/test-rijndael.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-rijndael +check_PROGRAMS += test-rijndael diff --git a/gnulib/modules/crypto/sha1 b/gnulib/modules/crypto/sha1 new file mode 100644 index 0000000..8d00f31 --- /dev/null +++ b/gnulib/modules/crypto/sha1 @@ -0,0 +1,26 @@ +Description: +Compute SHA1 checksum. + +Files: +lib/sha1.h +lib/sha1.c +m4/sha1.m4 + +Depends-on: +stdalign +stdint + +configure.ac: +gl_SHA1 + +Makefile.am: +lib_SOURCES += sha1.c + +Include: +"sha1.h" + +License: +LGPLv2+ + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/crypto/sha1-tests b/gnulib/modules/crypto/sha1-tests new file mode 100644 index 0000000..6da04d6 --- /dev/null +++ b/gnulib/modules/crypto/sha1-tests @@ -0,0 +1,10 @@ +Files: +tests/test-sha1.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-sha1 +check_PROGRAMS += test-sha1 diff --git a/gnulib/modules/crypto/sha256 b/gnulib/modules/crypto/sha256 new file mode 100644 index 0000000..f3f1d64 --- /dev/null +++ b/gnulib/modules/crypto/sha256 @@ -0,0 +1,26 @@ +Description: +Compute SHA224 and SHA256 checksums. + +Files: +lib/sha256.h +lib/sha256.c +m4/sha256.m4 + +Depends-on: +stdalign +stdint + +configure.ac: +gl_SHA256 + +Makefile.am: +lib_SOURCES += sha256.c + +Include: +"sha256.h" + +License: +LGPLv2+ + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/crypto/sha512 b/gnulib/modules/crypto/sha512 new file mode 100644 index 0000000..a5065c4 --- /dev/null +++ b/gnulib/modules/crypto/sha512 @@ -0,0 +1,27 @@ +Description: +Compute SHA384 and SHA512 checksums. + +Files: +lib/sha512.h +lib/sha512.c +m4/sha512.m4 + +Depends-on: +stdalign +stdint +u64 + +configure.ac: +gl_SHA512 + +Makefile.am: +lib_SOURCES += sha512.c + +Include: +"sha512.h" + +License: +LGPLv2+ + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/csharpcomp b/gnulib/modules/csharpcomp new file mode 100644 index 0000000..853ad84 --- /dev/null +++ b/gnulib/modules/csharpcomp @@ -0,0 +1,34 @@ +Description: +Compile a C# program. + +Files: +lib/csharpcomp.h +lib/csharpcomp.c + +Depends-on: +stdbool +xmalloca +execute +spawn-pipe +wait-process +getline +sh-quote +safe-read +error +gettext-h +memcmp +csharpcomp-script + +configure.ac: + +Makefile.am: +lib_SOURCES += csharpcomp.h csharpcomp.c + +Include: +"csharpcomp.h" + +License: +GPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/csharpcomp-script b/gnulib/modules/csharpcomp-script new file mode 100644 index 0000000..ae804fe --- /dev/null +++ b/gnulib/modules/csharpcomp-script @@ -0,0 +1,21 @@ +Description: +Script to compile a C# program. + +Files: +build-aux/csharpcomp.sh.in +m4/csharpcomp.m4 +m4/csharp.m4 + +Depends-on: + +configure.ac: +AC_REQUIRE([gt_CSHARPCOMP]) +AC_CONFIG_FILES([csharpcomp.sh:build-aux/csharpcomp.sh.in]) + +Makefile.am: + +License: +GPLed build tool + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/csharpexec b/gnulib/modules/csharpexec new file mode 100644 index 0000000..69e0c70 --- /dev/null +++ b/gnulib/modules/csharpexec @@ -0,0 +1,34 @@ +Description: +Execute a C# program. + +Files: +lib/csharpexec.h +lib/csharpexec.c +lib/classpath.h +lib/classpath.c + +Depends-on: +stdbool +execute +xsetenv +sh-quote +xalloc +xmalloca +error +gettext-h +csharpexec-script + +configure.ac: + +Makefile.am: +DEFS += -DEXEEXT=\"@EXEEXT@\" +lib_SOURCES += csharpexec.h csharpexec.c + +Include: +"csharpexec.h" + +License: +GPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/csharpexec-script b/gnulib/modules/csharpexec-script new file mode 100644 index 0000000..f34e8b3 --- /dev/null +++ b/gnulib/modules/csharpexec-script @@ -0,0 +1,23 @@ +Description: +Script to execute a C# program. + +Files: +build-aux/csharpexec.sh.in +m4/csharpexec.m4 +m4/csharp.m4 + +Depends-on: + +configure.ac: +# You need to invoke gt_CSHARPEXEC yourself, possibly with arguments. +AC_CONFIG_FILES([csharpexec.sh:build-aux/csharpexec.sh.in]) + +Makefile.am: + +Include: + +License: +GPLed build tool + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/ctype b/gnulib/modules/ctype new file mode 100644 index 0000000..ec000dc --- /dev/null +++ b/gnulib/modules/ctype @@ -0,0 +1,45 @@ +Description: +A <ctype.h> that conforms to C99. + +Files: +lib/ctype.in.h +m4/ctype.m4 + +Depends-on: +include_next +snippet/c++defs +snippet/warn-on-use + +configure.ac: +gl_CTYPE_H + +Makefile.am: +BUILT_SOURCES += ctype.h + +# We need the following in order to create <ctype.h> when the system +# doesn't have one that works with the given compiler. +ctype.h: ctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_CTYPE_H''@|$(NEXT_CTYPE_H)|g' \ + -e 's/@''GNULIB_ISBLANK''@/$(GNULIB_ISBLANK)/g' \ + -e 's/@''HAVE_ISBLANK''@/$(HAVE_ISBLANK)/g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ + < $(srcdir)/ctype.in.h; \ + } > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += ctype.h ctype.h-t + +Include: +<ctype.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/ctype-tests b/gnulib/modules/ctype-tests new file mode 100644 index 0000000..4b9f4af --- /dev/null +++ b/gnulib/modules/ctype-tests @@ -0,0 +1,10 @@ +Files: +tests/test-ctype.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-ctype +check_PROGRAMS += test-ctype diff --git a/gnulib/modules/cycle-check b/gnulib/modules/cycle-check new file mode 100644 index 0000000..6a8618a --- /dev/null +++ b/gnulib/modules/cycle-check @@ -0,0 +1,28 @@ +Description: +help detect directory cycles efficiently + +Files: +lib/cycle-check.c +lib/cycle-check.h +m4/cycle-check.m4 + +Depends-on: +dev-ino +same-inode +stdbool +stdint + +configure.ac: +gl_CYCLE_CHECK + +Makefile.am: +lib_SOURCES += cycle-check.c + +Include: +"cycle-check.h" + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/d-ino b/gnulib/modules/d-ino new file mode 100644 index 0000000..a83f3d9 --- /dev/null +++ b/gnulib/modules/d-ino @@ -0,0 +1,20 @@ +Description: +Check whether struct dirent has a member named d_ino. + +Files: +m4/d-ino.m4 + +Depends-on: + +configure.ac: +gl_CHECK_TYPE_STRUCT_DIRENT_D_INO + +Makefile.am: + +Include: + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/d-type b/gnulib/modules/d-type new file mode 100644 index 0000000..c60c2f8 --- /dev/null +++ b/gnulib/modules/d-type @@ -0,0 +1,20 @@ +Description: +Check whether struct dirent has a member named d_type. + +Files: +m4/d-type.m4 + +Depends-on: + +configure.ac: +gl_CHECK_TYPE_STRUCT_DIRENT_D_TYPE + +Makefile.am: + +Include: + +License: +LGPLv2+ + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/dev-ino b/gnulib/modules/dev-ino new file mode 100644 index 0000000..517a5a4 --- /dev/null +++ b/gnulib/modules/dev-ino @@ -0,0 +1,20 @@ +Description: +declare a simple (device, inode) struct + +Files: +lib/dev-ino.h + +Depends-on: + +configure.ac: + +Makefile.am: + +Include: +"dev-ino.h" + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/di-set b/gnulib/modules/di-set new file mode 100644 index 0000000..ef151c4 --- /dev/null +++ b/gnulib/modules/di-set @@ -0,0 +1,24 @@ +Description: +manipulate sets of device-inode pairs efficiently + +Files: +lib/di-set.c +lib/di-set.h + +Depends-on: +ino-map +hash + +configure.ac: + +Makefile.am: +lib_SOURCES += di-set.c di-set.h + +Include: +"di-set.h" + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/di-set-tests b/gnulib/modules/di-set-tests new file mode 100644 index 0000000..22bd7c1 --- /dev/null +++ b/gnulib/modules/di-set-tests @@ -0,0 +1,11 @@ +Files: +tests/test-di-set.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-di-set +check_PROGRAMS += test-di-set diff --git a/gnulib/modules/diacrit b/gnulib/modules/diacrit new file mode 100644 index 0000000..725d683 --- /dev/null +++ b/gnulib/modules/diacrit @@ -0,0 +1,23 @@ +Description: +Decomposition of composed ISO-8859-1 characters. + +Files: +lib/diacrit.h +lib/diacrit.c + +Depends-on: + +configure.ac: + +Makefile.am: +lib_SOURCES += diacrit.h diacrit.c + +Include: +"diacrit.h" + +License: +GPL + +Maintainer: +Jim Meyering + diff --git a/gnulib/modules/diffseq b/gnulib/modules/diffseq new file mode 100644 index 0000000..ce16bdf --- /dev/null +++ b/gnulib/modules/diffseq @@ -0,0 +1,21 @@ +Description: +Compute the difference between two sequences. + +Files: +lib/diffseq.h + +Depends-on: + +configure.ac: + +Makefile.am: +lib_SOURCES += diffseq.h + +Include: +"diffseq.h" + +License: +GPL + +Maintainer: +Paul Eggert, Bruno Haible diff --git a/gnulib/modules/dirent b/gnulib/modules/dirent new file mode 100644 index 0000000..6f615b4 --- /dev/null +++ b/gnulib/modules/dirent @@ -0,0 +1,68 @@ +Description: +A GNU-like <dirent.h>. + +Files: +lib/dirent.in.h +m4/dirent_h.m4 +m4/unistd_h.m4 + +Depends-on: +include_next +snippet/arg-nonnull +snippet/c++defs +snippet/warn-on-use + +configure.ac: +gl_DIRENT_H + +Makefile.am: +BUILT_SOURCES += dirent.h + +# We need the following in order to create <dirent.h> when the system +# doesn't have one that works with the given compiler. +dirent.h: dirent.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ + -e 's|@''HAVE_DIRENT_H''@|$(HAVE_DIRENT_H)|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_DIRENT_H''@|$(NEXT_DIRENT_H)|g' \ + -e 's/@''GNULIB_OPENDIR''@/$(GNULIB_OPENDIR)/g' \ + -e 's/@''GNULIB_READDIR''@/$(GNULIB_READDIR)/g' \ + -e 's/@''GNULIB_REWINDDIR''@/$(GNULIB_REWINDDIR)/g' \ + -e 's/@''GNULIB_CLOSEDIR''@/$(GNULIB_CLOSEDIR)/g' \ + -e 's/@''GNULIB_DIRFD''@/$(GNULIB_DIRFD)/g' \ + -e 's/@''GNULIB_FDOPENDIR''@/$(GNULIB_FDOPENDIR)/g' \ + -e 's/@''GNULIB_SCANDIR''@/$(GNULIB_SCANDIR)/g' \ + -e 's/@''GNULIB_ALPHASORT''@/$(GNULIB_ALPHASORT)/g' \ + -e 's/@''HAVE_OPENDIR''@/$(HAVE_OPENDIR)/g' \ + -e 's/@''HAVE_READDIR''@/$(HAVE_READDIR)/g' \ + -e 's/@''HAVE_REWINDDIR''@/$(HAVE_REWINDDIR)/g' \ + -e 's/@''HAVE_CLOSEDIR''@/$(HAVE_CLOSEDIR)/g' \ + -e 's|@''HAVE_DECL_DIRFD''@|$(HAVE_DECL_DIRFD)|g' \ + -e 's|@''HAVE_DECL_FDOPENDIR''@|$(HAVE_DECL_FDOPENDIR)|g' \ + -e 's|@''HAVE_FDOPENDIR''@|$(HAVE_FDOPENDIR)|g' \ + -e 's|@''HAVE_SCANDIR''@|$(HAVE_SCANDIR)|g' \ + -e 's|@''HAVE_ALPHASORT''@|$(HAVE_ALPHASORT)|g' \ + -e 's|@''REPLACE_OPENDIR''@|$(REPLACE_OPENDIR)|g' \ + -e 's|@''REPLACE_CLOSEDIR''@|$(REPLACE_CLOSEDIR)|g' \ + -e 's|@''REPLACE_DIRFD''@|$(REPLACE_DIRFD)|g' \ + -e 's|@''REPLACE_FDOPENDIR''@|$(REPLACE_FDOPENDIR)|g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ + -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ + < $(srcdir)/dirent.in.h; \ + } > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += dirent.h dirent.h-t + +Include: +<dirent.h> + +License: +LGPLv2+ + +Maintainer: +all diff --git a/gnulib/modules/dirent-c++-tests b/gnulib/modules/dirent-c++-tests new file mode 100644 index 0000000..8b60ee9 --- /dev/null +++ b/gnulib/modules/dirent-c++-tests @@ -0,0 +1,19 @@ +Files: +tests/test-dirent-c++.cc +tests/signature.h + +Status: +c++-test + +Depends-on: +ansi-c++-opt + +configure.ac: + +Makefile.am: +if ANSICXX +TESTS += test-dirent-c++ +check_PROGRAMS += test-dirent-c++ +test_dirent_c___SOURCES = test-dirent-c++.cc +test_dirent_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP) +endif diff --git a/gnulib/modules/dirent-safer b/gnulib/modules/dirent-safer new file mode 100644 index 0000000..b38c58e --- /dev/null +++ b/gnulib/modules/dirent-safer @@ -0,0 +1,31 @@ +Description: +Directory functions that avoid clobbering STD{IN,OUT,ERR}_FILENO. + +Files: +lib/dirent--.h +lib/dirent-safer.h +lib/opendir-safer.c +m4/dirent-safer.m4 + +Depends-on: +dirent +closedir +dirfd +opendir +unistd-safer + +configure.ac: +gl_DIRENT_SAFER +gl_MODULE_INDICATOR([dirent-safer]) + +Makefile.am: +lib_SOURCES += opendir-safer.c + +Include: +"dirent-safer.h" + +License: +GPL + +Maintainer: +Eric Blake diff --git a/gnulib/modules/dirent-safer-tests b/gnulib/modules/dirent-safer-tests new file mode 100644 index 0000000..4ae8965 --- /dev/null +++ b/gnulib/modules/dirent-safer-tests @@ -0,0 +1,17 @@ +Files: +tests/test-dirent-safer.c +tests/macros.h + +Depends-on: +dup2 +opendir +closedir + +configure.ac: + +Makefile.am: +TESTS += test-dirent-safer +check_PROGRAMS += test-dirent-safer +# Link with libintl when needed. dirent-safer uses fdopendir if it is present, +# and fdopendir indirectly depends on openat-die -> gettext-h. +test_dirent_safer_LDADD = $(LDADD) $(LIBINTL) diff --git a/gnulib/modules/dirent-tests b/gnulib/modules/dirent-tests new file mode 100644 index 0000000..9e6f9a4 --- /dev/null +++ b/gnulib/modules/dirent-tests @@ -0,0 +1,11 @@ +Files: +tests/test-dirent.c + +Depends-on: +dirent-c++-tests + +configure.ac: + +Makefile.am: +TESTS += test-dirent +check_PROGRAMS += test-dirent diff --git a/gnulib/modules/dirfd b/gnulib/modules/dirfd new file mode 100644 index 0000000..1c6d26f --- /dev/null +++ b/gnulib/modules/dirfd @@ -0,0 +1,30 @@ +Description: +Retrieving the file descriptor of an open directory stream. (Unportable.) + +Files: +lib/dirfd.c +m4/dirfd.m4 + +Depends-on: +dirent +extensions +errno [test $ac_cv_func_dirfd = no && test $gl_cv_func_dirfd_macro = no] + +configure.ac: +gl_FUNC_DIRFD +if test $ac_cv_func_dirfd = no && test $gl_cv_func_dirfd_macro = no; then + AC_LIBOBJ([dirfd]) + gl_PREREQ_DIRFD +fi +gl_DIRENT_MODULE_INDICATOR([dirfd]) + +Makefile.am: + +Include: +<dirent.h> + +License: +LGPLv2+ + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/dirname b/gnulib/modules/dirname new file mode 100644 index 0000000..dce323a --- /dev/null +++ b/gnulib/modules/dirname @@ -0,0 +1,28 @@ +Description: +Extract specific portions of filenames. + +Files: +lib/dirname.c +lib/basename.c +lib/stripslash.c + +Depends-on: +dirname-lgpl +xalloc +xstrndup + +configure.ac: +gl_DIRNAME +gl_MODULE_INDICATOR([dirname]) + +Makefile.am: +lib_SOURCES += dirname.c basename.c + +Include: +"dirname.h" + +License: +GPL + +Maintainer: +Jim Meyering, Eric Blake diff --git a/gnulib/modules/dirname-lgpl b/gnulib/modules/dirname-lgpl new file mode 100644 index 0000000..4b48a3e --- /dev/null +++ b/gnulib/modules/dirname-lgpl @@ -0,0 +1,30 @@ +Description: +Extract specific portions of filenames. + +Files: +lib/dirname.h +lib/dirname-lgpl.c +lib/basename-lgpl.c +lib/stripslash.c +m4/dirname.m4 + +Depends-on: +dosname +double-slash-root +malloc-posix +stdbool + +configure.ac: +gl_DIRNAME_LGPL + +Makefile.am: +lib_SOURCES += dirname-lgpl.c basename-lgpl.c stripslash.c + +Include: +"dirname.h" + +License: +LGPLv2+ + +Maintainer: +Jim Meyering, Eric Blake diff --git a/gnulib/modules/dirname-tests b/gnulib/modules/dirname-tests new file mode 100644 index 0000000..e2e86e6 --- /dev/null +++ b/gnulib/modules/dirname-tests @@ -0,0 +1,12 @@ +Files: +tests/test-dirname.c + +Depends-on: +strdup + +configure.ac: + +Makefile.am: +TESTS += test-dirname +check_PROGRAMS += test-dirname +test_dirname_LDADD = $(LDADD) @LIBINTL@ diff --git a/gnulib/modules/do-release-commit-and-tag b/gnulib/modules/do-release-commit-and-tag new file mode 100644 index 0000000..e2f80a5 --- /dev/null +++ b/gnulib/modules/do-release-commit-and-tag @@ -0,0 +1,19 @@ +Description: +Automate the release-commit and tag process. + +Files: +build-aux/do-release-commit-and-tag + +Depends-on: + +configure.ac: + +Makefile.am: + +Include: + +License: +GPLed build tool + +Maintainer: +coreutils diff --git a/gnulib/modules/dosname b/gnulib/modules/dosname new file mode 100644 index 0000000..0e8703c --- /dev/null +++ b/gnulib/modules/dosname @@ -0,0 +1,20 @@ +Description: +Macros for porting to systems with DOS-style file names. + +Files: +lib/dosname.h + +Depends-on: + +configure.ac: + +Makefile.am: + +Include: +"dosname.h" + +License: +LGPLv2+ + +Maintainer: +Eric Blake, Paul Eggert, Jim Meyering diff --git a/gnulib/modules/double-slash-root b/gnulib/modules/double-slash-root new file mode 100644 index 0000000..af78f26 --- /dev/null +++ b/gnulib/modules/double-slash-root @@ -0,0 +1,20 @@ +Description: +Check whether // is distinct from /. + +Files: +m4/double-slash-root.m4 + +Depends-on: + +configure.ac: +gl_DOUBLE_SLASH_ROOT + +Makefile.am: + +Include: + +License: +LGPLv2+ + +Maintainer: +Eric Blake, Paul Eggert, Jim Meyering diff --git a/gnulib/modules/dprintf b/gnulib/modules/dprintf new file mode 100644 index 0000000..8c08def --- /dev/null +++ b/gnulib/modules/dprintf @@ -0,0 +1,28 @@ +Description: +dprintf() function: print formatted output to a file descriptor + +Files: +lib/dprintf.c +m4/dprintf.m4 + +Depends-on: +stdio +vasnprintf [test $ac_cv_func_dprintf = no || test $REPLACE_DPRINTF = 1] +full-write [test $ac_cv_func_dprintf = no || test $REPLACE_DPRINTF = 1] +errno [test $ac_cv_func_dprintf = no || test $REPLACE_DPRINTF = 1] + +configure.ac: +gl_FUNC_DPRINTF +gl_STDIO_MODULE_INDICATOR([dprintf]) + +Makefile.am: + +Include: +<stdio.h> + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/dprintf-posix b/gnulib/modules/dprintf-posix new file mode 100644 index 0000000..c3b257b --- /dev/null +++ b/gnulib/modules/dprintf-posix @@ -0,0 +1,44 @@ +Description: +POSIX compatible dprintf() function: print formatted output to a file +descriptor + +Comment: +This module should not be used as a dependency from a test module, +otherwise when this module occurs as a tests-related module, it will +have side effects on the compilation of the 'vasnprintf' module, if +that module occurs among the main modules in lib/. + +Files: +m4/dprintf-posix.m4 +m4/printf.m4 +m4/math_h.m4 + +Depends-on: +dprintf +nocrash +printf-safe +multiarch +vasnprintf [test $ac_cv_func_dprintf = no || test $REPLACE_DPRINTF = 1] +isnand-nolibm [test $ac_cv_func_dprintf = no || test $REPLACE_DPRINTF = 1] +isnanl-nolibm [test $ac_cv_func_dprintf = no || test $REPLACE_DPRINTF = 1] +frexp-nolibm [test $ac_cv_func_dprintf = no || test $REPLACE_DPRINTF = 1] +frexpl-nolibm [test $ac_cv_func_dprintf = no || test $REPLACE_DPRINTF = 1] +printf-frexp [test $ac_cv_func_dprintf = no || test $REPLACE_DPRINTF = 1] +printf-frexpl [test $ac_cv_func_dprintf = no || test $REPLACE_DPRINTF = 1] +signbit [test $ac_cv_func_dprintf = no || test $REPLACE_DPRINTF = 1] +fpucw [test $ac_cv_func_dprintf = no || test $REPLACE_DPRINTF = 1] + +configure.ac: +gl_FUNC_DPRINTF_POSIX + +Makefile.am: + +Include: +<stdio.h> + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/dprintf-posix-tests b/gnulib/modules/dprintf-posix-tests new file mode 100644 index 0000000..0c5a6e8 --- /dev/null +++ b/gnulib/modules/dprintf-posix-tests @@ -0,0 +1,20 @@ +Files: +tests/test-dprintf-posix.sh +tests/test-dprintf-posix.c +tests/test-printf-posix.output +tests/test-dprintf-posix2.sh +tests/test-dprintf-posix2.c +tests/infinity.h +tests/signature.h +tests/macros.h + +Depends-on: +stdint +get-rusage-as + +configure.ac: +AC_CHECK_FUNCS_ONCE([getrlimit setrlimit]) + +Makefile.am: +TESTS += test-dprintf-posix.sh test-dprintf-posix2.sh +check_PROGRAMS += test-dprintf-posix test-dprintf-posix2 diff --git a/gnulib/modules/dprintf-tests b/gnulib/modules/dprintf-tests new file mode 100644 index 0000000..1a46c83 --- /dev/null +++ b/gnulib/modules/dprintf-tests @@ -0,0 +1,12 @@ +Files: +tests/test-dprintf.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-dprintf +check_PROGRAMS += test-dprintf diff --git a/gnulib/modules/dtoastr b/gnulib/modules/dtoastr new file mode 100644 index 0000000..60b09b4 --- /dev/null +++ b/gnulib/modules/dtoastr @@ -0,0 +1,26 @@ +Description: +Convert double to accurate string. + +Files: +lib/ftoastr.h +lib/ftoastr.c +lib/dtoastr.c +m4/c-strtod.m4 + +Depends-on: +intprops + +configure.ac: +AC_REQUIRE([gl_C99_STRTOLD]) + +Makefile.am: +lib_SOURCES += dtoastr.c + +Include: +"ftoastr.h" + +License: +GPL + +Maintainer: +Paul Eggert diff --git a/gnulib/modules/dtotimespec b/gnulib/modules/dtotimespec new file mode 100644 index 0000000..d570591 --- /dev/null +++ b/gnulib/modules/dtotimespec @@ -0,0 +1,25 @@ +Description: +Convert double to timespec. + +Files: +lib/dtotimespec.c + +Depends-on: +intprops +timespec + +configure.ac: + +Makefile.am: +lib_SOURCES += dtotimespec.c + +Include: +"timespec.h" + +Link: + +License: +GPL + +Maintainer: +Paul Eggert, Jim Meyering diff --git a/gnulib/modules/dummy b/gnulib/modules/dummy new file mode 100644 index 0000000..14e8748 --- /dev/null +++ b/gnulib/modules/dummy @@ -0,0 +1,20 @@ +Description: +A dummy file, to make sure the library is non-empty. + +Files: +lib/dummy.c + +Depends-on: + +configure.ac: + +Makefile.am: +lib_SOURCES += dummy.c + +Include: + +License: +LGPLv2+ + +Maintainer: +all diff --git a/gnulib/modules/dup b/gnulib/modules/dup new file mode 100644 index 0000000..85f295d --- /dev/null +++ b/gnulib/modules/dup @@ -0,0 +1,29 @@ +Description: +dup() function: duplicate an open file descriptor. + +Files: +lib/dup.c +m4/dup.m4 + +Depends-on: +unistd +msvc-inval [test $REPLACE_DUP = 1] + +configure.ac: +gl_FUNC_DUP +if test $REPLACE_DUP = 1; then + AC_LIBOBJ([dup]) + gl_PREREQ_DUP +fi +gl_UNISTD_MODULE_INDICATOR([dup]) + +Makefile.am: + +Include: +<unistd.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/dup-tests b/gnulib/modules/dup-tests new file mode 100644 index 0000000..36d9f5b --- /dev/null +++ b/gnulib/modules/dup-tests @@ -0,0 +1,12 @@ +Files: +tests/test-dup.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-dup +check_PROGRAMS += test-dup diff --git a/gnulib/modules/dup2 b/gnulib/modules/dup2 new file mode 100644 index 0000000..2ad65d1 --- /dev/null +++ b/gnulib/modules/dup2 @@ -0,0 +1,31 @@ +Description: +dup2() function: duplicate an open file descriptor. + +Files: +lib/dup2.c +m4/dup2.m4 + +Depends-on: +unistd +dup2-obsolete +msvc-inval [test $HAVE_DUP2 = 0 || test $REPLACE_DUP2 = 1] +msvc-nothrow [test $HAVE_DUP2 = 0 || test $REPLACE_DUP2 = 1] + +configure.ac: +gl_FUNC_DUP2 +if test $HAVE_DUP2 = 0 || test $REPLACE_DUP2 = 1; then + AC_LIBOBJ([dup2]) + gl_PREREQ_DUP2 +fi +gl_UNISTD_MODULE_INDICATOR([dup2]) + +Makefile.am: + +Include: +<unistd.h> + +License: +LGPLv2+ + +Maintainer: +Paul Eggert, Jim Meyering diff --git a/gnulib/modules/dup2-obsolete b/gnulib/modules/dup2-obsolete new file mode 100644 index 0000000..ba71bb9 --- /dev/null +++ b/gnulib/modules/dup2-obsolete @@ -0,0 +1,28 @@ +Description: +dup2() function for old platforms. + +Status: +obsolete + +Notice: +This module is obsolete. + +Files: +m4/dup2-obsolete.m4 + +Depends-on: +dup2 + +configure.ac: +gl_FUNC_DUP2_OBSOLETE + +Makefile.am: + +Include: +<unistd.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/dup2-tests b/gnulib/modules/dup2-tests new file mode 100644 index 0000000..7893b85 --- /dev/null +++ b/gnulib/modules/dup2-tests @@ -0,0 +1,17 @@ +Files: +tests/test-dup2.c +tests/signature.h +tests/macros.h + +Depends-on: +binary-io +close +fcntl-h +msvc-nothrow +open + +configure.ac: + +Makefile.am: +TESTS += test-dup2 +check_PROGRAMS += test-dup2 diff --git a/gnulib/modules/dup3 b/gnulib/modules/dup3 new file mode 100644 index 0000000..4454a3a --- /dev/null +++ b/gnulib/modules/dup3 @@ -0,0 +1,29 @@ +Description: +dup3() function: copy a file descriptor, applying specific flags. + +Files: +lib/dup3.c +m4/dup3.m4 + +Depends-on: +unistd +fcntl +binary-io +getdtablesize +extensions + +configure.ac: +gl_FUNC_DUP3 +gl_UNISTD_MODULE_INDICATOR([dup3]) + +Makefile.am: +lib_SOURCES += dup3.c + +Include: +<unistd.h> + +License: +LGPL + +Maintainer: +Bruno Haible, Jim Meyering diff --git a/gnulib/modules/dup3-tests b/gnulib/modules/dup3-tests new file mode 100644 index 0000000..03f1cad --- /dev/null +++ b/gnulib/modules/dup3-tests @@ -0,0 +1,15 @@ +Files: +tests/test-dup3.c +tests/signature.h +tests/macros.h + +Depends-on: +msvc-nothrow +open +close + +configure.ac: + +Makefile.am: +TESTS += test-dup3 +check_PROGRAMS += test-dup3 diff --git a/gnulib/modules/duplocale b/gnulib/modules/duplocale new file mode 100644 index 0000000..aaa681f --- /dev/null +++ b/gnulib/modules/duplocale @@ -0,0 +1,28 @@ +Description: +duplocale() function: duplicate a locale object. + +Files: +lib/duplocale.c +m4/duplocale.m4 + +Depends-on: +locale + +configure.ac: +gl_FUNC_DUPLOCALE +if test $REPLACE_DUPLOCALE = 1; then + AC_LIBOBJ([duplocale]) + gl_PREREQ_DUPLOCALE +fi +gl_LOCALE_MODULE_INDICATOR([duplocale]) + +Makefile.am: + +Include: +<locale.h> + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/duplocale-tests b/gnulib/modules/duplocale-tests new file mode 100644 index 0000000..af9dc98 --- /dev/null +++ b/gnulib/modules/duplocale-tests @@ -0,0 +1,13 @@ +Files: +tests/test-duplocale.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: +AC_CHECK_FUNCS_ONCE([duplocale]) + +Makefile.am: +TESTS += test-duplocale +check_PROGRAMS += test-duplocale diff --git a/gnulib/modules/eealloc b/gnulib/modules/eealloc new file mode 100644 index 0000000..437cb4d --- /dev/null +++ b/gnulib/modules/eealloc @@ -0,0 +1,22 @@ +Description: +Memory allocation with expensive empty allocations (glibc compatible). + +Files: +lib/eealloc.h +m4/eealloc.m4 + +Depends-on: + +configure.ac: +gl_EEALLOC + +Makefile.am: + +Include: +<eealloc.h> + +License: +GPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/elisp-comp b/gnulib/modules/elisp-comp new file mode 100644 index 0000000..4713e8d --- /dev/null +++ b/gnulib/modules/elisp-comp @@ -0,0 +1,19 @@ +Description: +Compile Emacs Lisp files. + +Files: +build-aux/elisp-comp + +Depends-on: + +configure.ac: + +Makefile.am: + +Include: + +License: +GPLed build tool + +Maintainer: +Alexandre Duret-Lutz diff --git a/gnulib/modules/environ b/gnulib/modules/environ new file mode 100644 index 0000000..6bd5e97 --- /dev/null +++ b/gnulib/modules/environ @@ -0,0 +1,25 @@ +Description: +environ variable: storage of environment variables. + +Files: +m4/environ.m4 + +Depends-on: +unistd +extensions + +configure.ac: +gl_ENVIRON +gl_UNISTD_MODULE_INDICATOR([environ]) + +Makefile.am: + +Include: +<unistd.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/environ-tests b/gnulib/modules/environ-tests new file mode 100644 index 0000000..c4fe0fd --- /dev/null +++ b/gnulib/modules/environ-tests @@ -0,0 +1,11 @@ +Files: +tests/test-environ.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-environ +check_PROGRAMS += test-environ + diff --git a/gnulib/modules/erf b/gnulib/modules/erf new file mode 100644 index 0000000..551dddb --- /dev/null +++ b/gnulib/modules/erf @@ -0,0 +1,24 @@ +Description: +erf() function: error function. + +Files: +m4/mathfunc.m4 + +Depends-on: + +configure.ac: +gl_COMMON_DOUBLE_MATHFUNC([erf]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(ERF_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/erf-tests b/gnulib/modules/erf-tests new file mode 100644 index 0000000..9881649 --- /dev/null +++ b/gnulib/modules/erf-tests @@ -0,0 +1,13 @@ +Files: +tests/test-erf.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-erf +check_PROGRAMS += test-erf +test_erf_LDADD = $(LDADD) @ERF_LIBM@ diff --git a/gnulib/modules/erfc b/gnulib/modules/erfc new file mode 100644 index 0000000..d891e92 --- /dev/null +++ b/gnulib/modules/erfc @@ -0,0 +1,24 @@ +Description: +erfc() function: complementary error function. + +Files: +m4/mathfunc.m4 + +Depends-on: + +configure.ac: +gl_COMMON_DOUBLE_MATHFUNC([erfc]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(ERFC_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/erfc-tests b/gnulib/modules/erfc-tests new file mode 100644 index 0000000..08baf53 --- /dev/null +++ b/gnulib/modules/erfc-tests @@ -0,0 +1,13 @@ +Files: +tests/test-erfc.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-erfc +check_PROGRAMS += test-erfc +test_erfc_LDADD = $(LDADD) @ERFC_LIBM@ diff --git a/gnulib/modules/errno b/gnulib/modules/errno new file mode 100644 index 0000000..2fee35d --- /dev/null +++ b/gnulib/modules/errno @@ -0,0 +1,51 @@ +Description: +A POSIX-like <errno.h>. + +Files: +lib/errno.in.h +m4/errno_h.m4 + +Depends-on: +include_next + +configure.ac: +gl_HEADER_ERRNO_H + +Makefile.am: +BUILT_SOURCES += $(ERRNO_H) + +# We need the following in order to create <errno.h> when the system +# doesn't have one that is POSIX compliant. +if GL_GENERATE_ERRNO_H +errno.h: errno.in.h $(top_builddir)/config.status + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ + sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \ + -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \ + -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \ + -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \ + -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \ + -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \ + -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \ + < $(srcdir)/errno.in.h; \ + } > $@-t && \ + mv $@-t $@ +else +errno.h: $(top_builddir)/config.status + rm -f $@ +endif +MOSTLYCLEANFILES += errno.h errno.h-t + +Include: +<errno.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/errno-tests b/gnulib/modules/errno-tests new file mode 100644 index 0000000..00ec12b --- /dev/null +++ b/gnulib/modules/errno-tests @@ -0,0 +1,11 @@ +Files: +tests/test-errno.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-errno +check_PROGRAMS += test-errno + diff --git a/gnulib/modules/error b/gnulib/modules/error new file mode 100644 index 0000000..f867617 --- /dev/null +++ b/gnulib/modules/error @@ -0,0 +1,38 @@ +Description: +error and error_at_line functions: Error reporting. + +Notice: +If you are using GNU gettext version 0.16.1 or older, add the following options +to XGETTEXT_OPTIONS in your po/Makevars: + --flag=error:3:c-format --flag=error_at_line:5:c-format + +Files: +lib/error.h +lib/error.c +m4/error.m4 + +Depends-on: +strerror [test $ac_cv_lib_error_at_line = no] +unistd [test $ac_cv_lib_error_at_line = no] +msvc-nothrow [test $ac_cv_lib_error_at_line = no] + +configure.ac: +gl_ERROR +if test $ac_cv_lib_error_at_line = no; then + AC_LIBOBJ([error]) + gl_PREREQ_ERROR +fi +m4_ifdef([AM_XGETTEXT_OPTION], + [AM_][XGETTEXT_OPTION([--flag=error:3:c-format]) + AM_][XGETTEXT_OPTION([--flag=error_at_line:5:c-format])]) + +Makefile.am: + +Include: +"error.h" + +License: +LGPL + +Maintainer: +all, glibc diff --git a/gnulib/modules/euidaccess b/gnulib/modules/euidaccess new file mode 100644 index 0000000..a339e45 --- /dev/null +++ b/gnulib/modules/euidaccess @@ -0,0 +1,35 @@ +Description: +euidaccess() function: check effective user's permissions for a file. + +Files: +lib/euidaccess.c +m4/euidaccess.m4 + +Depends-on: +unistd +extensions +group-member [test $HAVE_EUIDACCESS = 0] +stat [test $HAVE_EUIDACCESS = 0] +sys_stat [test $HAVE_EUIDACCESS = 0] + +configure.ac: +gl_FUNC_EUIDACCESS +if test $HAVE_EUIDACCESS = 0; then + AC_LIBOBJ([euidaccess]) + gl_PREREQ_EUIDACCESS +fi +gl_UNISTD_MODULE_INDICATOR([euidaccess]) + +Makefile.am: + +Include: +<unistd.h> + +Link: +$(LIB_EACCESS) + +License: +LGPLv2+ + +Maintainer: +Jim Meyering, glibc diff --git a/gnulib/modules/exclude b/gnulib/modules/exclude new file mode 100644 index 0000000..b1f8399 --- /dev/null +++ b/gnulib/modules/exclude @@ -0,0 +1,29 @@ +Description: +Manage list of filenames or wildcard patterns for --exclude option processing. + +Files: +lib/exclude.h +lib/exclude.c + +Depends-on: +fnmatch +hash +mbscasecmp +mbuiter +stdbool +verify +xalloc + +configure.ac: + +Makefile.am: +lib_SOURCES += exclude.c + +Include: +"exclude.h" + +License: +GPL + +Maintainer: +Paul Eggert diff --git a/gnulib/modules/exclude-tests b/gnulib/modules/exclude-tests new file mode 100644 index 0000000..072a4e6 --- /dev/null +++ b/gnulib/modules/exclude-tests @@ -0,0 +1,30 @@ +Files: +tests/init.sh +tests/test-exclude.c +tests/test-exclude1.sh +tests/test-exclude2.sh +tests/test-exclude3.sh +tests/test-exclude4.sh +tests/test-exclude5.sh +tests/test-exclude6.sh +tests/test-exclude7.sh +tests/test-exclude8.sh + +Depends-on: +progname +error +argmatch + +Makefile.am: +TESTS += \ + test-exclude1.sh\ + test-exclude2.sh\ + test-exclude3.sh\ + test-exclude4.sh\ + test-exclude5.sh\ + test-exclude6.sh\ + test-exclude7.sh\ + test-exclude8.sh + +check_PROGRAMS += test-exclude +test_exclude_LDADD = $(LDADD) @LIBINTL@ diff --git a/gnulib/modules/execute b/gnulib/modules/execute new file mode 100644 index 0000000..f4584ab --- /dev/null +++ b/gnulib/modules/execute @@ -0,0 +1,46 @@ +Description: +Creation of autonomous subprocesses. + +Files: +lib/execute.h +lib/execute.c +lib/w32spawn.h +m4/execute.m4 + +Depends-on: +cloexec +dup2 +error +fatal-signal +wait-process +gettext-h +msvc-nothrow +spawn +posix_spawnp +posix_spawn_file_actions_init +posix_spawn_file_actions_addopen +posix_spawn_file_actions_destroy +posix_spawnattr_init +posix_spawnattr_setsigmask +posix_spawnattr_setflags +posix_spawnattr_destroy +stdbool +stdlib +strpbrk +unistd +environ + +configure.ac: +gl_EXECUTE + +Makefile.am: +lib_SOURCES += execute.h execute.c w32spawn.h + +Include: +"execute.h" + +License: +GPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/exitfail b/gnulib/modules/exitfail new file mode 100644 index 0000000..0dd3ec6 --- /dev/null +++ b/gnulib/modules/exitfail @@ -0,0 +1,23 @@ +Description: +Set exit status for fatal signal. + +Files: +lib/exitfail.h +lib/exitfail.c + +Depends-on: +stdlib + +configure.ac: + +Makefile.am: +lib_SOURCES += exitfail.c + +Include: +"exitfail.h" + +License: +LGPLv2+ + +Maintainer: +Paul Eggert diff --git a/gnulib/modules/exp b/gnulib/modules/exp new file mode 100644 index 0000000..b8110da --- /dev/null +++ b/gnulib/modules/exp @@ -0,0 +1,25 @@ +Description: +exp() function: exponential function. + +Files: +m4/exp.m4 +m4/mathfunc.m4 + +Depends-on: + +configure.ac: +gl_FUNC_EXP + +Makefile.am: + +Include: +<math.h> + +Link: +$(EXP_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/exp-tests b/gnulib/modules/exp-tests new file mode 100644 index 0000000..1338861 --- /dev/null +++ b/gnulib/modules/exp-tests @@ -0,0 +1,13 @@ +Files: +tests/test-exp.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-exp +check_PROGRAMS += test-exp +test_exp_LDADD = $(LDADD) @EXP_LIBM@ diff --git a/gnulib/modules/expf b/gnulib/modules/expf new file mode 100644 index 0000000..857fa25 --- /dev/null +++ b/gnulib/modules/expf @@ -0,0 +1,31 @@ +Description: +expf() function: exponential function. + +Files: +lib/expf.c +m4/expf.m4 + +Depends-on: +math +exp [test $HAVE_EXPF = 0] + +configure.ac: +gl_FUNC_EXPF +if test $HAVE_EXPF = 0; then + AC_LIBOBJ([expf]) +fi +gl_MATH_MODULE_INDICATOR([expf]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(EXPF_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/expf-tests b/gnulib/modules/expf-tests new file mode 100644 index 0000000..ec6d582 --- /dev/null +++ b/gnulib/modules/expf-tests @@ -0,0 +1,13 @@ +Files: +tests/test-expf.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-expf +check_PROGRAMS += test-expf +test_expf_LDADD = $(LDADD) @EXPF_LIBM@ diff --git a/gnulib/modules/expl b/gnulib/modules/expl new file mode 100644 index 0000000..7df4fb6 --- /dev/null +++ b/gnulib/modules/expl @@ -0,0 +1,34 @@ +Description: +expl() function: exponential function with long double argument. + +Files: +lib/expl.c +m4/expl.m4 + +Depends-on: +math +extensions +exp [test $HAVE_EXPL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1] +float [test $HAVE_EXPL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] +floorl [test $HAVE_EXPL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] + +configure.ac: +gl_FUNC_EXPL +if test $HAVE_EXPL = 0; then + AC_LIBOBJ([expl]) +fi +gl_MATH_MODULE_INDICATOR([expl]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(EXPL_LIBM) + +License: +LGPL + +Maintainer: +Paolo Bonzini diff --git a/gnulib/modules/expl-tests b/gnulib/modules/expl-tests new file mode 100644 index 0000000..bc7b28a --- /dev/null +++ b/gnulib/modules/expl-tests @@ -0,0 +1,14 @@ +Files: +tests/test-expl.c +tests/signature.h +tests/macros.h + +Depends-on: +fpucw + +configure.ac: + +Makefile.am: +TESTS += test-expl +check_PROGRAMS += test-expl +test_expl_LDADD = $(LDADD) @EXPL_LIBM@ diff --git a/gnulib/modules/extensions b/gnulib/modules/extensions new file mode 100644 index 0000000..76e5a96 --- /dev/null +++ b/gnulib/modules/extensions @@ -0,0 +1,22 @@ +Description: +Enable extensions in standard headers + +Files: +m4/extensions.m4 + +Depends-on: + +configure.ac-early: +AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) + +configure.ac: + +Makefile.am: + +Include: + +License: +LGPLv2+ + +Maintainer: +Paul Eggert and Jim Meyering diff --git a/gnulib/modules/fabs b/gnulib/modules/fabs new file mode 100644 index 0000000..15a1355 --- /dev/null +++ b/gnulib/modules/fabs @@ -0,0 +1,25 @@ +Description: +fabs() function: absolute value. + +Files: +m4/fabs.m4 +m4/mathfunc.m4 + +Depends-on: + +configure.ac: +gl_FUNC_FABS + +Makefile.am: + +Include: +<math.h> + +Link: +$(FABS_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/fabs-tests b/gnulib/modules/fabs-tests new file mode 100644 index 0000000..b716159 --- /dev/null +++ b/gnulib/modules/fabs-tests @@ -0,0 +1,13 @@ +Files: +tests/test-fabs.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-fabs +check_PROGRAMS += test-fabs +test_fabs_LDADD = $(LDADD) @FABS_LIBM@ diff --git a/gnulib/modules/fabsf b/gnulib/modules/fabsf new file mode 100644 index 0000000..2b203d1 --- /dev/null +++ b/gnulib/modules/fabsf @@ -0,0 +1,32 @@ +Description: +fabsf() function: absolute value. + +Files: +lib/fabsf.c +m4/fabsf.m4 +m4/mathfunc.m4 + +Depends-on: +math +fabs [test $HAVE_FABSF = 0] + +configure.ac: +gl_FUNC_FABSF +if test $HAVE_FABSF = 0; then + AC_LIBOBJ([fabsf]) +fi +gl_MATH_MODULE_INDICATOR([fabsf]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(FABSF_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/fabsf-tests b/gnulib/modules/fabsf-tests new file mode 100644 index 0000000..2b8a10d --- /dev/null +++ b/gnulib/modules/fabsf-tests @@ -0,0 +1,13 @@ +Files: +tests/test-fabsf.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-fabsf +check_PROGRAMS += test-fabsf +test_fabsf_LDADD = $(LDADD) @FABSF_LIBM@ diff --git a/gnulib/modules/faccessat b/gnulib/modules/faccessat new file mode 100644 index 0000000..768ec13 --- /dev/null +++ b/gnulib/modules/faccessat @@ -0,0 +1,45 @@ +Description: +faccessat() function: check user's permissions for a file. + +Files: +lib/faccessat.c +lib/at-func.c +lib/openat-priv.h +m4/faccessat.m4 + +Depends-on: +unistd +extensions +at-internal [test $HAVE_FACCESSAT = 0] +dosname [test $HAVE_FACCESSAT = 0] +errno [test $HAVE_FACCESSAT = 0] +fchdir [test $HAVE_FACCESSAT = 0] +fcntl-h [test $HAVE_FACCESSAT = 0] +openat-die [test $HAVE_FACCESSAT = 0] +openat-h [test $HAVE_FACCESSAT = 0] +save-cwd [test $HAVE_FACCESSAT = 0] +euidaccess [test $HAVE_FACCESSAT = 0] + +configure.ac: +gl_FUNC_FACCESSAT +if test $HAVE_FACCESSAT = 0; then + AC_LIBOBJ([faccessat]) + gl_PREREQ_FACCESSAT +fi +gl_MODULE_INDICATOR([faccessat]) +gl_UNISTD_MODULE_INDICATOR([faccessat]) + +Makefile.am: + +Include: +<fcntl.h> +<unistd.h> + +Link: +$(LIB_EACCESS) + +License: +GPL + +Maintainer: +Jim Meyering, Eric Blake diff --git a/gnulib/modules/faccessat-tests b/gnulib/modules/faccessat-tests new file mode 100644 index 0000000..144e096 --- /dev/null +++ b/gnulib/modules/faccessat-tests @@ -0,0 +1,14 @@ +Files: +tests/test-faccessat.c +tests/signature.h +tests/macros.h + +Depends-on: +fcntl-h + +configure.ac: + +Makefile.am: +TESTS += test-faccessat +check_PROGRAMS += test-faccessat +test_faccessat_LDADD = $(LDADD) $(LIB_EACCESS) @LIBINTL@ diff --git a/gnulib/modules/fatal-signal b/gnulib/modules/fatal-signal new file mode 100644 index 0000000..296fbd3 --- /dev/null +++ b/gnulib/modules/fatal-signal @@ -0,0 +1,32 @@ +Description: +Emergency actions in case of a fatal signal. + +Files: +lib/fatal-signal.h +lib/fatal-signal.c +m4/fatal-signal.m4 +m4/sig_atomic_t.m4 + +Depends-on: +xalloc +stdbool +unistd +sigaction +sigprocmask +raise + +configure.ac: +gl_FATAL_SIGNAL + +Makefile.am: +lib_SOURCES += fatal-signal.h fatal-signal.c + +Include: +"fatal-signal.h" + +License: +GPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/fbufmode b/gnulib/modules/fbufmode new file mode 100644 index 0000000..8fdb7a0 --- /dev/null +++ b/gnulib/modules/fbufmode @@ -0,0 +1,26 @@ +Description: +fbufmode() function: Determine the buffering mode of a FILE stream. + +Files: +lib/fbufmode.h +lib/fbufmode.c +lib/stdio-impl.h +m4/fbufmode.m4 + +Depends-on: + +configure.ac: +gl_FUNC_FBUFMODE + +Makefile.am: +lib_SOURCES += fbufmode.c + +Include: +"fbufmode.h" + +License: +LGPL + +Maintainer: +Bruno Haible, Eric Blake + diff --git a/gnulib/modules/fbufmode-tests b/gnulib/modules/fbufmode-tests new file mode 100644 index 0000000..fa36a61 --- /dev/null +++ b/gnulib/modules/fbufmode-tests @@ -0,0 +1,12 @@ +Files: +tests/test-fbufmode.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-fbufmode +check_PROGRAMS += test-fbufmode +MOSTLYCLEANFILES += t-fbufmode.tmp diff --git a/gnulib/modules/fchdir b/gnulib/modules/fchdir new file mode 100644 index 0000000..39a62e5 --- /dev/null +++ b/gnulib/modules/fchdir @@ -0,0 +1,42 @@ +Description: +fchdir() function: change current directory, given an open file descriptor. + +Files: +lib/fchdir.c +m4/fchdir.m4 + +Depends-on: +unistd +chdir [test $HAVE_FCHDIR = 0] +close [test $HAVE_FCHDIR = 0] +dirent [test $HAVE_FCHDIR = 0] +dirfd [test $HAVE_FCHDIR = 0] +dosname [test $HAVE_FCHDIR = 0] +dup2 [test $HAVE_FCHDIR = 0] +fcntl [test $HAVE_FCHDIR = 0] +fcntl-h [test $HAVE_FCHDIR = 0] +filenamecat-lgpl [test $HAVE_FCHDIR = 0] +fstat [test $HAVE_FCHDIR = 0] +getcwd-lgpl [test $HAVE_FCHDIR = 0] +malloc-posix [test $HAVE_FCHDIR = 0] +open [test $HAVE_FCHDIR = 0] +realloc-posix [test $HAVE_FCHDIR = 0] +stat [test $HAVE_FCHDIR = 0] +stdbool [test $HAVE_FCHDIR = 0] +strdup-posix [test $HAVE_FCHDIR = 0] +sys_stat [test $HAVE_FCHDIR = 0] + +configure.ac: +gl_FUNC_FCHDIR +gl_UNISTD_MODULE_INDICATOR([fchdir]) + +Makefile.am: + +Include: +<unistd.h> + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/fchdir-tests b/gnulib/modules/fchdir-tests new file mode 100644 index 0000000..89ddf71 --- /dev/null +++ b/gnulib/modules/fchdir-tests @@ -0,0 +1,15 @@ +Files: +tests/test-fchdir.c +tests/signature.h +tests/macros.h + +Depends-on: +cloexec +getcwd-lgpl + +configure.ac: + +Makefile.am: +TESTS += test-fchdir +check_PROGRAMS += test-fchdir +test_fchdir_LDADD = $(LDADD) $(LIBINTL) diff --git a/gnulib/modules/fchmod-tests b/gnulib/modules/fchmod-tests new file mode 100644 index 0000000..e86678c --- /dev/null +++ b/gnulib/modules/fchmod-tests @@ -0,0 +1,12 @@ +Files: +tests/test-fchmod.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-fchmod +check_PROGRAMS += test-fchmod diff --git a/gnulib/modules/fchmodat b/gnulib/modules/fchmodat new file mode 100644 index 0000000..f81dd81 --- /dev/null +++ b/gnulib/modules/fchmodat @@ -0,0 +1,40 @@ +Description: +fchmodat() function: Change access permissions of a file at a directory. + +Files: +lib/fchmodat.c +lib/at-func.c +lib/openat-priv.h +m4/fchmodat.m4 + +Depends-on: +sys_stat +extensions +at-internal [test $HAVE_FCHMODAT = 0] +dosname [test $HAVE_FCHMODAT = 0] +errno [test $HAVE_FCHMODAT = 0] +fchdir [test $HAVE_FCHMODAT = 0] +fcntl-h [test $HAVE_FCHMODAT = 0] +openat-die [test $HAVE_FCHMODAT = 0] +openat-h [test $HAVE_FCHMODAT = 0] +save-cwd [test $HAVE_FCHMODAT = 0] + +configure.ac: +gl_FUNC_FCHMODAT +if test $HAVE_FCHMODAT = 0; then + AC_LIBOBJ([fchmodat]) +fi +AC_REQUIRE([AC_C_INLINE]) dnl because 'inline' is used in lib/openat.h +gl_MODULE_INDICATOR([fchmodat]) dnl for lib/openat.h +gl_SYS_STAT_MODULE_INDICATOR([fchmodat]) + +Makefile.am: + +Include: +<sys/stat.h> + +License: +GPL + +Maintainer: +Jim Meyering, Eric Blake diff --git a/gnulib/modules/fchmodat-tests b/gnulib/modules/fchmodat-tests new file mode 100644 index 0000000..a240129 --- /dev/null +++ b/gnulib/modules/fchmodat-tests @@ -0,0 +1,13 @@ +Files: +tests/test-fchmodat.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-fchmodat +check_PROGRAMS += test-fchmodat +test_fchmodat_LDADD = $(LDADD) @LIBINTL@ diff --git a/gnulib/modules/fchown-tests b/gnulib/modules/fchown-tests new file mode 100644 index 0000000..a57db94 --- /dev/null +++ b/gnulib/modules/fchown-tests @@ -0,0 +1,12 @@ +Files: +tests/test-fchown.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-fchown +check_PROGRAMS += test-fchown diff --git a/gnulib/modules/fchownat b/gnulib/modules/fchownat new file mode 100644 index 0000000..886b6b3 --- /dev/null +++ b/gnulib/modules/fchownat @@ -0,0 +1,42 @@ +Description: +fchownat() function: Change the owner of a file at a directory. + +Files: +lib/fchownat.c +lib/at-func.c +lib/openat-priv.h +m4/fchownat.m4 + +Depends-on: +unistd +extensions +at-internal [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1] +dosname [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1] +errno [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1] +fchdir [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1] +fcntl-h [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1] +lchown [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1] +openat-die [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1] +openat-h [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1] +save-cwd [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1] +fstatat [test $REPLACE_FCHOWNAT = 1] + +configure.ac: +gl_FUNC_FCHOWNAT +if test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1; then + AC_LIBOBJ([fchownat]) +fi +AC_REQUIRE([AC_C_INLINE]) dnl because 'inline' is used in lib/openat.h +gl_MODULE_INDICATOR([fchownat]) dnl for lib/openat.h +gl_UNISTD_MODULE_INDICATOR([fchownat]) + +Makefile.am: + +Include: +<unistd.h> + +License: +GPL + +Maintainer: +Jim Meyering, Eric Blake diff --git a/gnulib/modules/fchownat-tests b/gnulib/modules/fchownat-tests new file mode 100644 index 0000000..1b79d47 --- /dev/null +++ b/gnulib/modules/fchownat-tests @@ -0,0 +1,24 @@ +Files: +tests/nap.h +tests/test-chown.h +tests/test-lchown.h +tests/test-fchownat.c +tests/signature.h +tests/macros.h + +Depends-on: +ignore-value +mgetgroups +openat-h +progname +usleep +stat-time +symlink + +configure.ac: +AC_CHECK_FUNCS_ONCE([getegid]) + +Makefile.am: +TESTS += test-fchownat +check_PROGRAMS += test-fchownat +test_fchownat_LDADD = $(LDADD) @LIBINTL@ diff --git a/gnulib/modules/fclose b/gnulib/modules/fclose new file mode 100644 index 0000000..3ceba90 --- /dev/null +++ b/gnulib/modules/fclose @@ -0,0 +1,32 @@ +Description: +fclose() function: close a stream. + +Files: +lib/fclose.c +m4/fclose.m4 + +Depends-on: +stdio +close [test $REPLACE_FCLOSE = 1] +fflush [test $REPLACE_FCLOSE = 1] +freading [test $REPLACE_FCLOSE = 1] +lseek [test $REPLACE_FCLOSE = 1] +msvc-inval [test $REPLACE_FCLOSE = 1] + +configure.ac: +gl_FUNC_FCLOSE +if test $REPLACE_FCLOSE = 1; then + AC_LIBOBJ([fclose]) +fi +gl_STDIO_MODULE_INDICATOR([fclose]) + +Makefile.am: + +Include: +<stdio.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/fclose-tests b/gnulib/modules/fclose-tests new file mode 100644 index 0000000..0f36e0d --- /dev/null +++ b/gnulib/modules/fclose-tests @@ -0,0 +1,11 @@ +Files: +tests/test-fclose.c + +Depends-on: +fdopen + +configure.ac: + +Makefile.am: +TESTS += test-fclose +check_PROGRAMS += test-fclose diff --git a/gnulib/modules/fcntl b/gnulib/modules/fcntl new file mode 100644 index 0000000..ab7c8ad --- /dev/null +++ b/gnulib/modules/fcntl @@ -0,0 +1,31 @@ +Description: +Support for fcntl() action F_DUPFD, F_DUPFD_CLOEXEC, F_GETFD. + +Files: +m4/fcntl.m4 +lib/fcntl.c + +Depends-on: +fcntl-h +extensions +dup2 [test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1] +getdtablesize [test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1] +msvc-nothrow [test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1] + +configure.ac: +gl_FUNC_FCNTL +if test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1; then + AC_LIBOBJ([fcntl]) +fi +gl_FCNTL_MODULE_INDICATOR([fcntl]) + +Makefile.am: + +Include: +<fcntl.h> + +License: +LGPLv2+ + +Maintainer: +Eric Blake diff --git a/gnulib/modules/fcntl-h b/gnulib/modules/fcntl-h new file mode 100644 index 0000000..a687eeb --- /dev/null +++ b/gnulib/modules/fcntl-h @@ -0,0 +1,57 @@ +Description: +Like <fcntl.h>, but with non-working flags defined to 0. + +Files: +lib/fcntl.in.h +m4/fcntl_h.m4 +m4/fcntl-o.m4 + +Depends-on: +extensions +include_next +snippet/arg-nonnull +snippet/c++defs +snippet/warn-on-use +unistd + +configure.ac: +gl_FCNTL_H + +Makefile.am: +BUILT_SOURCES += fcntl.h + +# We need the following in order to create <fcntl.h> when the system +# doesn't have one that works with the given compiler. +fcntl.h: fcntl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \ + -e 's/@''GNULIB_FCNTL''@/$(GNULIB_FCNTL)/g' \ + -e 's/@''GNULIB_NONBLOCKING''@/$(GNULIB_NONBLOCKING)/g' \ + -e 's/@''GNULIB_OPEN''@/$(GNULIB_OPEN)/g' \ + -e 's/@''GNULIB_OPENAT''@/$(GNULIB_OPENAT)/g' \ + -e 's|@''HAVE_FCNTL''@|$(HAVE_FCNTL)|g' \ + -e 's|@''HAVE_OPENAT''@|$(HAVE_OPENAT)|g' \ + -e 's|@''REPLACE_FCNTL''@|$(REPLACE_FCNTL)|g' \ + -e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \ + -e 's|@''REPLACE_OPENAT''@|$(REPLACE_OPENAT)|g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ + -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ + < $(srcdir)/fcntl.in.h; \ + } > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += fcntl.h fcntl.h-t + +Include: +<fcntl.h> + +License: +LGPLv2+ + +Maintainer: +all diff --git a/gnulib/modules/fcntl-h-c++-tests b/gnulib/modules/fcntl-h-c++-tests new file mode 100644 index 0000000..a3182a5 --- /dev/null +++ b/gnulib/modules/fcntl-h-c++-tests @@ -0,0 +1,19 @@ +Files: +tests/test-fcntl-h-c++.cc +tests/signature.h + +Status: +c++-test + +Depends-on: +ansi-c++-opt + +configure.ac: + +Makefile.am: +if ANSICXX +TESTS += test-fcntl-h-c++ +check_PROGRAMS += test-fcntl-h-c++ +test_fcntl_h_c___SOURCES = test-fcntl-h-c++.cc +test_fcntl_h_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_CLOCK_GETTIME) $(LIB_EACCESS) $(LIBSOCKET) +endif diff --git a/gnulib/modules/fcntl-h-tests b/gnulib/modules/fcntl-h-tests new file mode 100644 index 0000000..5238922 --- /dev/null +++ b/gnulib/modules/fcntl-h-tests @@ -0,0 +1,11 @@ +Files: +tests/test-fcntl-h.c + +Depends-on: +fcntl-h-c++-tests + +configure.ac: + +Makefile.am: +TESTS += test-fcntl-h +check_PROGRAMS += test-fcntl-h diff --git a/gnulib/modules/fcntl-safer b/gnulib/modules/fcntl-safer new file mode 100644 index 0000000..176c871 --- /dev/null +++ b/gnulib/modules/fcntl-safer @@ -0,0 +1,31 @@ +Description: +File descriptor functions that avoid clobbering STD{IN,OUT,ERR}_FILENO. + +Files: +lib/fcntl--.h +lib/creat-safer.c +lib/fcntl-safer.h +lib/open-safer.c +m4/fcntl-safer.m4 +m4/mode_t.m4 + +Depends-on: +fcntl-h +open +unistd-safer + +configure.ac: +gl_FCNTL_SAFER +gl_MODULE_INDICATOR([fcntl-safer]) + +Makefile.am: +lib_SOURCES += creat-safer.c open-safer.c + +Include: +"fcntl-safer.h" + +License: +GPL + +Maintainer: +Paul Eggert, Jim Meyering diff --git a/gnulib/modules/fcntl-safer-tests b/gnulib/modules/fcntl-safer-tests new file mode 100644 index 0000000..cb35aed --- /dev/null +++ b/gnulib/modules/fcntl-safer-tests @@ -0,0 +1,14 @@ +Files: +tests/test-open.h +tests/test-fcntl-safer.c +tests/macros.h + +Depends-on: +stdbool +symlink + +configure.ac: + +Makefile.am: +TESTS += test-fcntl-safer +check_PROGRAMS += test-fcntl-safer diff --git a/gnulib/modules/fcntl-tests b/gnulib/modules/fcntl-tests new file mode 100644 index 0000000..5e34440 --- /dev/null +++ b/gnulib/modules/fcntl-tests @@ -0,0 +1,17 @@ +Files: +tests/test-fcntl.c +tests/signature.h +tests/macros.h + +Depends-on: +binary-io +close +getdtablesize +msvc-nothrow +stdbool + +configure.ac: + +Makefile.am: +TESTS += test-fcntl +check_PROGRAMS += test-fcntl diff --git a/gnulib/modules/fd-hook b/gnulib/modules/fd-hook new file mode 100644 index 0000000..7127083 --- /dev/null +++ b/gnulib/modules/fd-hook @@ -0,0 +1,23 @@ +Description: +Hook for making file descriptor functions (close(), ioctl()) extensible. + +Files: +lib/fd-hook.h +lib/fd-hook.c + +Depends-on: +unistd + +configure.ac: + +Makefile.am: +lib_SOURCES += fd-hook.c + +Include: +"fd-hook.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/fd-safer-flag b/gnulib/modules/fd-safer-flag new file mode 100644 index 0000000..0a2df83 --- /dev/null +++ b/gnulib/modules/fd-safer-flag @@ -0,0 +1,27 @@ +Description: +fd_safer_flag() function: adjust a file descriptor result so that it avoids +clobbering STD{IN,OUT,ERR}_FILENO, with specific flags. + +Files: +lib/fd-safer-flag.c +lib/dup-safer-flag.c + +Depends-on: +cloexec +fcntl +unistd-safer + +configure.ac: +gl_MODULE_INDICATOR([fd-safer-flag]) + +Makefile.am: +lib_SOURCES += fd-safer-flag.c dup-safer-flag.c + +Include: +"unistd-safer.h" + +License: +GPL + +Maintainer: +Eric Blake diff --git a/gnulib/modules/fdatasync b/gnulib/modules/fdatasync new file mode 100644 index 0000000..62f710d --- /dev/null +++ b/gnulib/modules/fdatasync @@ -0,0 +1,31 @@ +Description: +fdatasync(2) function: synchronize writes to a file. + +Files: +lib/fdatasync.c +m4/fdatasync.m4 + +Depends-on: +fsync [test $HAVE_FDATASYNC = 0] +unistd + +configure.ac: +gl_FUNC_FDATASYNC +if test $HAVE_FDATASYNC = 0; then + AC_LIBOBJ([fdatasync]) +fi +gl_UNISTD_MODULE_INDICATOR([fdatasync]) + +Makefile.am: + +Include: +<unistd.h> + +Link: +$(LIB_FDATASYNC) + +License: +LGPLv2+ + +Maintainer: +Eric Blake diff --git a/gnulib/modules/fdatasync-tests b/gnulib/modules/fdatasync-tests new file mode 100644 index 0000000..cacfb8a --- /dev/null +++ b/gnulib/modules/fdatasync-tests @@ -0,0 +1,14 @@ +Files: +tests/test-fdatasync.c +tests/signature.h +tests/macros.h + +Depends-on: +errno + +configure.ac: + +Makefile.am: +TESTS += test-fdatasync +check_PROGRAMS += test-fdatasync +test_fdatasync_LDADD = $(LDADD) $(LIB_FDATASYNC) diff --git a/gnulib/modules/fdl b/gnulib/modules/fdl new file mode 100644 index 0000000..6d6f859 --- /dev/null +++ b/gnulib/modules/fdl @@ -0,0 +1,19 @@ +Description: +Provide the GNU Free Documentation License in Texinfo format. + +Files: +doc/fdl.texi + +Depends-on: + +configure.ac: + +Makefile.am: + +Include: + +License: +unmodifiable license text + +Maintainer: +all diff --git a/gnulib/modules/fdl-1.3 b/gnulib/modules/fdl-1.3 new file mode 100644 index 0000000..c4d1dd6 --- /dev/null +++ b/gnulib/modules/fdl-1.3 @@ -0,0 +1,19 @@ +Description: +Provide the GNU Free Documentation License version 1.3 in Texinfo format. + +Files: +doc/fdl-1.3.texi + +Depends-on: + +configure.ac: + +Makefile.am: + +Include: + +License: +unmodifiable license text + +Maintainer: +all diff --git a/gnulib/modules/fdopen b/gnulib/modules/fdopen new file mode 100644 index 0000000..45f47fd --- /dev/null +++ b/gnulib/modules/fdopen @@ -0,0 +1,29 @@ +Description: +fdopen() function: open a stream with a given file descriptor. + +Files: +lib/fdopen.c +m4/fdopen.m4 + +Depends-on: +stdio +msvc-inval [test $REPLACE_FDOPEN = 1] + +configure.ac: +gl_FUNC_FDOPEN +if test $REPLACE_FDOPEN = 1; then + AC_LIBOBJ([fdopen]) + gl_PREREQ_FDOPEN +fi +gl_STDIO_MODULE_INDICATOR([fdopen]) + +Makefile.am: + +Include: +<stdio.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/fdopen-tests b/gnulib/modules/fdopen-tests new file mode 100644 index 0000000..043c5da --- /dev/null +++ b/gnulib/modules/fdopen-tests @@ -0,0 +1,12 @@ +Files: +tests/test-fdopen.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-fdopen +check_PROGRAMS += test-fdopen diff --git a/gnulib/modules/fdopendir b/gnulib/modules/fdopendir new file mode 100644 index 0000000..ee9a875 --- /dev/null +++ b/gnulib/modules/fdopendir @@ -0,0 +1,37 @@ +Description: +Open a directory stream from a file descriptor. + +Files: +lib/fdopendir.c +m4/fdopendir.m4 + +Depends-on: +dirent +extensions +at-internal [test $HAVE_FDOPENDIR = 0] +dup [test $HAVE_FDOPENDIR = 0] +errno [test $HAVE_FDOPENDIR = 0] +fchdir [test $HAVE_FDOPENDIR = 0] +fstat [test $HAVE_FDOPENDIR = 0] +openat-die [test $HAVE_FDOPENDIR = 0] +opendir [test $HAVE_FDOPENDIR = 0] +save-cwd [test $HAVE_FDOPENDIR = 0] + +configure.ac: +gl_FUNC_FDOPENDIR +if test $HAVE_FDOPENDIR = 0 || test $REPLACE_FDOPENDIR = 1; then + AC_LIBOBJ([fdopendir]) +fi +gl_DIRENT_MODULE_INDICATOR([fdopendir]) +gl_MODULE_INDICATOR([fdopendir]) + +Makefile.am: + +Include: +<dirent.h> + +License: +GPL + +Maintainer: +Jim Meyering, Eric Blake diff --git a/gnulib/modules/fdopendir-tests b/gnulib/modules/fdopendir-tests new file mode 100644 index 0000000..9dd53cc --- /dev/null +++ b/gnulib/modules/fdopendir-tests @@ -0,0 +1,17 @@ +Files: +tests/test-fdopendir.c +tests/signature.h +tests/macros.h + +Depends-on: +open +opendir +closedir +progname + +configure.ac: + +Makefile.am: +TESTS += test-fdopendir +check_PROGRAMS += test-fdopendir +test_fdopendir_LDADD = $(LDADD) @LIBINTL@ diff --git a/gnulib/modules/fdutimensat b/gnulib/modules/fdutimensat new file mode 100644 index 0000000..66d5b4b --- /dev/null +++ b/gnulib/modules/fdutimensat @@ -0,0 +1,30 @@ +Description: +Set file access and modification times, relative to a directory. + +Files: +lib/fdutimensat.c +lib/utimens.h + +Depends-on: +futimens +utimensat + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) dnl because 'inline' is used in lib/utimens.h +gl_MODULE_INDICATOR([fdutimensat]) + +Makefile.am: +lib_SOURCES += fdutimensat.c + +Include: +<fcntl.h> +"utimens.h" + +Link: +$(LIB_CLOCK_GETTIME) + +License: +GPL + +Maintainer: +Paul Eggert, Jim Meyering, Eric Blake diff --git a/gnulib/modules/fdutimensat-tests b/gnulib/modules/fdutimensat-tests new file mode 100644 index 0000000..c4dc5af --- /dev/null +++ b/gnulib/modules/fdutimensat-tests @@ -0,0 +1,25 @@ +Files: +tests/nap.h +tests/test-futimens.h +tests/test-lutimens.h +tests/test-utimens.h +tests/test-utimens-common.h +tests/test-fdutimensat.c +tests/macros.h + +Depends-on: +fcntl-h +ignore-value +openat +timespec +dup +usleep +utimecmp + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) + +Makefile.am: +TESTS += test-fdutimensat +check_PROGRAMS += test-fdutimensat +test_fdutimensat_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME) @LIBINTL@ diff --git a/gnulib/modules/fflush b/gnulib/modules/fflush new file mode 100644 index 0000000..16bdbb5 --- /dev/null +++ b/gnulib/modules/fflush @@ -0,0 +1,39 @@ +Description: +Discard pending data on both input and output streams. + +Files: +lib/fflush.c +lib/stdio-impl.h +m4/fflush.m4 + +Depends-on: +stdio +fpurge [test $REPLACE_FFLUSH = 1] +ftello [test $REPLACE_FFLUSH = 1] +freading [test $REPLACE_FFLUSH = 1] +lseek [test $REPLACE_FFLUSH = 1] +unistd [test $REPLACE_FFLUSH = 1] +fseeko [test $REPLACE_FFLUSH = 1] + +configure.ac-early: +AC_REQUIRE([AC_FUNC_FSEEKO]) + +configure.ac: +gl_FUNC_FFLUSH +if test $REPLACE_FFLUSH = 1; then + AC_LIBOBJ([fflush]) + gl_PREREQ_FFLUSH +fi +gl_MODULE_INDICATOR([fflush]) +gl_STDIO_MODULE_INDICATOR([fflush]) + +Makefile.am: + +Include: +<stdio.h> + +License: +LGPLv2+ + +Maintainer: +Eric Blake diff --git a/gnulib/modules/fflush-tests b/gnulib/modules/fflush-tests new file mode 100644 index 0000000..33c47c4 --- /dev/null +++ b/gnulib/modules/fflush-tests @@ -0,0 +1,18 @@ +Files: +tests/test-fflush.c +tests/test-fflush2.sh +tests/test-fflush2.c +tests/signature.h +tests/macros.h + +Depends-on: +binary-io +fdopen +fseeko + +configure.ac: + +Makefile.am: +TESTS += test-fflush test-fflush2.sh +check_PROGRAMS += test-fflush test-fflush2 +MOSTLYCLEANFILES += test-fflush.txt diff --git a/gnulib/modules/ffs b/gnulib/modules/ffs new file mode 100644 index 0000000..7d032b0 --- /dev/null +++ b/gnulib/modules/ffs @@ -0,0 +1,27 @@ +Description: +Finds the index of the least-significant set bit. + +Files: +lib/ffs.c +m4/ffs.m4 + +Depends-on: +strings + +configure.ac: +gl_FUNC_FFS +if test $HAVE_FFS = 0; then + AC_LIBOBJ([ffs]) +fi +gl_STRINGS_MODULE_INDICATOR([ffs]) + +Makefile.am: + +Include: +<strings.h> + +License: +LGPLv2+ + +Maintainer: +Eric Blake diff --git a/gnulib/modules/ffs-tests b/gnulib/modules/ffs-tests new file mode 100644 index 0000000..78a3973 --- /dev/null +++ b/gnulib/modules/ffs-tests @@ -0,0 +1,12 @@ +Files: +tests/test-ffs.c +tests/macros.h +tests/signature.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-ffs +check_PROGRAMS += test-ffs diff --git a/gnulib/modules/ffsl b/gnulib/modules/ffsl new file mode 100644 index 0000000..a3217ec --- /dev/null +++ b/gnulib/modules/ffsl @@ -0,0 +1,30 @@ +Description: +Finds the index of the least-significant set bit. + +Files: +lib/ffsl.h +lib/ffsl.c +m4/ffsl.m4 + +Depends-on: +extensions +string +ffs [test $HAVE_FFSL = 0] + +configure.ac: +gl_FUNC_FFSL +if test $HAVE_FFSL = 0; then + AC_LIBOBJ([ffsl]) +fi +gl_STRING_MODULE_INDICATOR([ffsl]) + +Makefile.am: + +Include: +<string.h> + +License: +LGPLv2+ + +Maintainer: +Eric Blake diff --git a/gnulib/modules/ffsl-tests b/gnulib/modules/ffsl-tests new file mode 100644 index 0000000..25154af --- /dev/null +++ b/gnulib/modules/ffsl-tests @@ -0,0 +1,12 @@ +Files: +tests/test-ffsl.c +tests/macros.h +tests/signature.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-ffsl +check_PROGRAMS += test-ffsl diff --git a/gnulib/modules/ffsll b/gnulib/modules/ffsll new file mode 100644 index 0000000..d1f78fb --- /dev/null +++ b/gnulib/modules/ffsll @@ -0,0 +1,30 @@ +Description: +Finds the index of the least-significant set bit. + +Files: +lib/ffsl.h +lib/ffsll.c +m4/ffsll.m4 + +Depends-on: +extensions +string +ffs [test $HAVE_FFSLL = 0] + +configure.ac: +gl_FUNC_FFSLL +if test $HAVE_FFSLL = 0; then + AC_LIBOBJ([ffsll]) +fi +gl_STRING_MODULE_INDICATOR([ffsll]) + +Makefile.am: + +Include: +<string.h> + +License: +LGPLv2+ + +Maintainer: +Eric Blake diff --git a/gnulib/modules/ffsll-tests b/gnulib/modules/ffsll-tests new file mode 100644 index 0000000..759f382 --- /dev/null +++ b/gnulib/modules/ffsll-tests @@ -0,0 +1,12 @@ +Files: +tests/test-ffsll.c +tests/macros.h +tests/signature.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-ffsll +check_PROGRAMS += test-ffsll diff --git a/gnulib/modules/fgetc-tests b/gnulib/modules/fgetc-tests new file mode 100644 index 0000000..9e2934d --- /dev/null +++ b/gnulib/modules/fgetc-tests @@ -0,0 +1,15 @@ +Files: +tests/test-fgetc.c +tests/signature.h +tests/macros.h + +Depends-on: +unistd +fdopen +msvc-inval + +configure.ac: + +Makefile.am: +TESTS += test-fgetc +check_PROGRAMS += test-fgetc diff --git a/gnulib/modules/file-set b/gnulib/modules/file-set new file mode 100644 index 0000000..7895cda --- /dev/null +++ b/gnulib/modules/file-set @@ -0,0 +1,27 @@ +Description: +Very specialized set-of-files code. + +Files: +lib/file-set.c +lib/file-set.h + +Depends-on: +hash +hash-triple +stdbool +xalloc +xalloc-die + +configure.ac: + +Makefile.am: +lib_SOURCES += file-set.c + +Include: +"file-set.h" + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/file-type b/gnulib/modules/file-type new file mode 100644 index 0000000..47150ae --- /dev/null +++ b/gnulib/modules/file-type @@ -0,0 +1,24 @@ +Description: +Return a string describing the type of a file. + +Files: +lib/file-type.h +lib/file-type.c + +Depends-on: +gettext-h +sys_stat + +configure.ac: + +Makefile.am: +lib_SOURCES += file-type.c + +Include: +"file-type.h" + +License: +GPL + +Maintainer: +Paul Eggert, Jim Meyering diff --git a/gnulib/modules/fileblocks b/gnulib/modules/fileblocks new file mode 100644 index 0000000..2deff81 --- /dev/null +++ b/gnulib/modules/fileblocks @@ -0,0 +1,26 @@ +Description: +Estimate number of blocks of a file, if 'struct stat' doesn't have st_blocks. + +Files: +lib/fileblocks.c +m4/fileblocks.m4 + +Depends-on: + +configure.ac: +gl_FILEBLOCKS +if test $ac_cv_member_struct_stat_st_blocks = no; then + AC_LIBOBJ([fileblocks]) + gl_PREREQ_FILEBLOCKS +fi + +Makefile.am: + +Include: + +License: +GPL + +Maintainer: +Jim Meyering + diff --git a/gnulib/modules/filemode b/gnulib/modules/filemode new file mode 100644 index 0000000..be442ba --- /dev/null +++ b/gnulib/modules/filemode @@ -0,0 +1,27 @@ +Description: +Return a string (?rwxrwxrwx format) describing the type and permissions of a +file. + +Files: +lib/filemode.h +lib/filemode.c +m4/filemode.m4 +m4/st_dm_mode.m4 + +Depends-on: +sys_stat + +configure.ac: +gl_FILEMODE + +Makefile.am: +lib_SOURCES += filemode.c + +Include: +"filemode.h" + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/filename b/gnulib/modules/filename new file mode 100644 index 0000000..0f7607f --- /dev/null +++ b/gnulib/modules/filename @@ -0,0 +1,21 @@ +Description: +Basic filename support macros. + +Files: +lib/filename.h + +Depends-on: + +configure.ac: + +Makefile.am: + +Include: +"filename.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/filenamecat b/gnulib/modules/filenamecat new file mode 100644 index 0000000..6339d9d --- /dev/null +++ b/gnulib/modules/filenamecat @@ -0,0 +1,26 @@ +Description: +Concatenate two arbitrary file names. + +Files: +lib/filenamecat.c +m4/filenamecat.m4 + +Depends-on: +filenamecat-lgpl +xalloc + +configure.ac: +gl_FILE_NAME_CONCAT +gl_MODULE_INDICATOR([filenamecat]) + +Makefile.am: +lib_SOURCES += filenamecat.c + +Include: +"filenamecat.h" + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/filenamecat-lgpl b/gnulib/modules/filenamecat-lgpl new file mode 100644 index 0000000..a641501 --- /dev/null +++ b/gnulib/modules/filenamecat-lgpl @@ -0,0 +1,25 @@ +Description: +Concatenate two arbitrary file names. + +Files: +lib/filenamecat.h +lib/filenamecat-lgpl.c +m4/filenamecat.m4 + +Depends-on: +dirname-lgpl + +configure.ac: +gl_FILE_NAME_CONCAT_LGPL + +Makefile.am: +lib_SOURCES += filenamecat-lgpl.c + +Include: +"filenamecat.h" + +License: +LGPLv2+ + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/filenamecat-tests b/gnulib/modules/filenamecat-tests new file mode 100644 index 0000000..93ccac1 --- /dev/null +++ b/gnulib/modules/filenamecat-tests @@ -0,0 +1,13 @@ +Files: +tests/test-filenamecat.c + +Depends-on: +stdbool +progname + +configure.ac: + +Makefile.am: +TESTS += test-filenamecat +check_PROGRAMS += test-filenamecat +test_filenamecat_LDADD = $(LDADD) @LIBINTL@ diff --git a/gnulib/modules/filevercmp b/gnulib/modules/filevercmp new file mode 100644 index 0000000..dd6b0a6 --- /dev/null +++ b/gnulib/modules/filevercmp @@ -0,0 +1,26 @@ +Description: +compare version strings and version-containing file names + +Files: +lib/filevercmp.h +lib/filevercmp.c + +Depends-on: +c-ctype +stdbool +string + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) + +Makefile.am: +lib_SOURCES += filevercmp.c + +Include: +"filevercmp.h" + +License: +LGPL + +Maintainer: +all diff --git a/gnulib/modules/filevercmp-tests b/gnulib/modules/filevercmp-tests new file mode 100644 index 0000000..46cf401 --- /dev/null +++ b/gnulib/modules/filevercmp-tests @@ -0,0 +1,11 @@ +Files: +tests/test-filevercmp.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-filevercmp +check_PROGRAMS += test-filevercmp diff --git a/gnulib/modules/findprog b/gnulib/modules/findprog new file mode 100644 index 0000000..537d687 --- /dev/null +++ b/gnulib/modules/findprog @@ -0,0 +1,31 @@ +Description: +Locating a program in PATH. + +Files: +lib/findprog.h +lib/findprog.c +m4/findprog.m4 +m4/eaccess.m4 + +Depends-on: +stdbool +xalloc +xconcat-filename +unistd +strdup + +configure.ac: +gl_FINDPROG + +Makefile.am: +lib_SOURCES += findprog.h findprog.c + +Include: +"findprog.h" + +License: +GPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/findprog-lgpl b/gnulib/modules/findprog-lgpl new file mode 100644 index 0000000..a4dc64b --- /dev/null +++ b/gnulib/modules/findprog-lgpl @@ -0,0 +1,32 @@ +Description: +Locating a program in PATH (LGPLed version). + +Files: +lib/findprog.h +lib/findprog.c +lib/findprog-lgpl.c +m4/findprog.m4 +m4/eaccess.m4 + +Depends-on: +stdbool +strdup +concat-filename +unistd + +configure.ac: +gl_FINDPROG +gl_MODULE_INDICATOR([findprog-lgpl]) + +Makefile.am: +lib_SOURCES += findprog.h findprog.c + +Include: +"findprog.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/flexmember b/gnulib/modules/flexmember new file mode 100644 index 0000000..6d39e14 --- /dev/null +++ b/gnulib/modules/flexmember @@ -0,0 +1,20 @@ +Description: +Flexible array member support + +Files: +m4/flexmember.m4 + +Depends-on: + +configure.ac: +AC_C_FLEXIBLE_ARRAY_MEMBER + +Makefile.am: + +Include: + +License: +GPL + +Maintainer: +Paul Eggert, Jim Meyering diff --git a/gnulib/modules/float b/gnulib/modules/float new file mode 100644 index 0000000..a24e80d --- /dev/null +++ b/gnulib/modules/float @@ -0,0 +1,53 @@ +Description: +A correct <float.h>. + +Files: +lib/float.in.h +lib/float.c +lib/itold.c +m4/float_h.m4 + +Depends-on: +include_next + +configure.ac: +gl_FLOAT_H +if test $REPLACE_FLOAT_LDBL = 1; then + AC_LIBOBJ([float]) +fi +if test $REPLACE_ITOLD = 1; then + AC_LIBOBJ([itold]) +fi + +Makefile.am: +BUILT_SOURCES += $(FLOAT_H) + +# We need the following in order to create <float.h> when the system +# doesn't have one that works with the given compiler. +if GL_GENERATE_FLOAT_H +float.h: float.in.h $(top_builddir)/config.status + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ + sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \ + -e 's|@''REPLACE_ITOLD''@|$(REPLACE_ITOLD)|g' \ + < $(srcdir)/float.in.h; \ + } > $@-t && \ + mv $@-t $@ +else +float.h: $(top_builddir)/config.status + rm -f $@ +endif +MOSTLYCLEANFILES += float.h float.h-t + +Include: +<float.h> + +License: +LGPLv2+ + +Maintainer: +all diff --git a/gnulib/modules/float-tests b/gnulib/modules/float-tests new file mode 100644 index 0000000..7d61f8e --- /dev/null +++ b/gnulib/modules/float-tests @@ -0,0 +1,13 @@ +Files: +tests/test-float.c +tests/macros.h + +Depends-on: +fpieee +fpucw + +configure.ac: + +Makefile.am: +TESTS += test-float +check_PROGRAMS += test-float diff --git a/gnulib/modules/flock b/gnulib/modules/flock new file mode 100644 index 0000000..73d27c6 --- /dev/null +++ b/gnulib/modules/flock @@ -0,0 +1,29 @@ +Description: +flock(2) function: advisory file locks. + +Files: +lib/flock.c +m4/flock.m4 + +Depends-on: +sys_file +msvc-nothrow [test $HAVE_FLOCK = 0] + +configure.ac: +gl_FUNC_FLOCK +if test $HAVE_FLOCK = 0; then + AC_LIBOBJ([flock]) + gl_PREREQ_FLOCK +fi +gl_HEADER_SYS_FILE_MODULE_INDICATOR([flock]) + +Makefile.am: + +Include: +<sys/file.h> + +License: +LGPLv2+ + +Maintainer: +Richard W.M. Jones, Jim Meyering diff --git a/gnulib/modules/flock-tests b/gnulib/modules/flock-tests new file mode 100644 index 0000000..ece4b48 --- /dev/null +++ b/gnulib/modules/flock-tests @@ -0,0 +1,13 @@ +Files: +tests/test-flock.c +tests/signature.h +tests/macros.h + +Depends-on: +unistd + +configure.ac: + +Makefile.am: +TESTS += test-flock +check_PROGRAMS += test-flock diff --git a/gnulib/modules/floor b/gnulib/modules/floor new file mode 100644 index 0000000..c4c71e9 --- /dev/null +++ b/gnulib/modules/floor @@ -0,0 +1,32 @@ +Description: +floor() function: round towards negative infinity. + +Files: +lib/floor.c +m4/floor.m4 + +Depends-on: +math +float [test $REPLACE_FLOOR = 1] + +configure.ac: +gl_FUNC_FLOOR +if test $REPLACE_FLOOR = 1; then + AC_LIBOBJ([floor]) +fi +gl_MATH_MODULE_INDICATOR([floor]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(FLOOR_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/floor-ieee b/gnulib/modules/floor-ieee new file mode 100644 index 0000000..670de32 --- /dev/null +++ b/gnulib/modules/floor-ieee @@ -0,0 +1,27 @@ +Description: +floor() function according to ISO C 99 with IEC 60559. + +Files: +m4/floor-ieee.m4 +m4/minus-zero.m4 +m4/signbit.m4 + +Depends-on: +floor + +configure.ac: +gl_FUNC_FLOOR_IEEE + +Makefile.am: + +Include: +<math.h> + +Link: +$(FLOOR_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/floor-ieee-tests b/gnulib/modules/floor-ieee-tests new file mode 100644 index 0000000..e71dead --- /dev/null +++ b/gnulib/modules/floor-ieee-tests @@ -0,0 +1,15 @@ +Files: +tests/test-floor-ieee.c +tests/minus-zero.h +tests/macros.h + +Depends-on: +float +signbit + +configure.ac: + +Makefile.am: +TESTS += test-floor-ieee +check_PROGRAMS += test-floor-ieee +test_floor_ieee_LDADD = $(LDADD) @FLOOR_LIBM@ diff --git a/gnulib/modules/floor-tests b/gnulib/modules/floor-tests new file mode 100644 index 0000000..c57c3c9 --- /dev/null +++ b/gnulib/modules/floor-tests @@ -0,0 +1,22 @@ +Files: +tests/test-floor1.c +tests/test-floor2.c +tests/minus-zero.h +tests/infinity.h +tests/nan.h +tests/signature.h +tests/macros.h + +Depends-on: +float +isnand-nolibm +stdbool +stdint + +configure.ac: + +Makefile.am: +TESTS += test-floor1 test-floor2 +check_PROGRAMS += test-floor1 test-floor2 +test_floor1_LDADD = $(LDADD) @FLOOR_LIBM@ +test_floor2_LDADD = $(LDADD) @FLOOR_LIBM@ diff --git a/gnulib/modules/floorf b/gnulib/modules/floorf new file mode 100644 index 0000000..7357649 --- /dev/null +++ b/gnulib/modules/floorf @@ -0,0 +1,34 @@ +Description: +floorf() function: round towards negative infinity. + +Files: +lib/floorf.c +lib/floor.c +m4/floorf.m4 + +Depends-on: +math +extensions +float [test $HAVE_DECL_FLOORF = 0 || test $REPLACE_FLOORF = 1] + +configure.ac: +gl_FUNC_FLOORF +if test $HAVE_DECL_FLOORF = 0 || test $REPLACE_FLOORF = 1; then + AC_LIBOBJ([floorf]) +fi +gl_MATH_MODULE_INDICATOR([floorf]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(FLOORF_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/floorf-ieee b/gnulib/modules/floorf-ieee new file mode 100644 index 0000000..da16c17 --- /dev/null +++ b/gnulib/modules/floorf-ieee @@ -0,0 +1,27 @@ +Description: +floorf() function according to ISO C 99 with IEC 60559. + +Files: +m4/floorf-ieee.m4 +m4/minus-zero.m4 +m4/signbit.m4 + +Depends-on: +floorf + +configure.ac: +gl_FUNC_FLOORF_IEEE + +Makefile.am: + +Include: +<math.h> + +Link: +$(FLOORF_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/floorf-ieee-tests b/gnulib/modules/floorf-ieee-tests new file mode 100644 index 0000000..def6891 --- /dev/null +++ b/gnulib/modules/floorf-ieee-tests @@ -0,0 +1,15 @@ +Files: +tests/test-floorf-ieee.c +tests/minus-zero.h +tests/macros.h + +Depends-on: +float +signbit + +configure.ac: + +Makefile.am: +TESTS += test-floorf-ieee +check_PROGRAMS += test-floorf-ieee +test_floorf_ieee_LDADD = $(LDADD) @FLOORF_LIBM@ diff --git a/gnulib/modules/floorf-tests b/gnulib/modules/floorf-tests new file mode 100644 index 0000000..8e70043 --- /dev/null +++ b/gnulib/modules/floorf-tests @@ -0,0 +1,22 @@ +Files: +tests/test-floorf1.c +tests/test-floorf2.c +tests/minus-zero.h +tests/infinity.h +tests/nan.h +tests/signature.h +tests/macros.h + +Depends-on: +float +isnanf-nolibm +stdbool +stdint + +configure.ac: + +Makefile.am: +TESTS += test-floorf1 test-floorf2 +check_PROGRAMS += test-floorf1 test-floorf2 +test_floorf1_LDADD = $(LDADD) @FLOORF_LIBM@ +test_floorf2_LDADD = $(LDADD) @FLOORF_LIBM@ diff --git a/gnulib/modules/floorl b/gnulib/modules/floorl new file mode 100644 index 0000000..fe6fdb6 --- /dev/null +++ b/gnulib/modules/floorl @@ -0,0 +1,35 @@ +Description: +floorl() function: round towards negative infinity. + +Files: +lib/floorl.c +lib/floor.c +m4/floorl.m4 + +Depends-on: +math +extensions +floor [{ test $HAVE_DECL_FLOORL = 0 || test $REPLACE_FLOORL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1] +float [{ test $HAVE_DECL_FLOORL = 0 || test $REPLACE_FLOORL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] + +configure.ac: +gl_FUNC_FLOORL +if test $HAVE_DECL_FLOORL = 0 || test $REPLACE_FLOORL = 1; then + AC_LIBOBJ([floorl]) +fi +gl_MATH_MODULE_INDICATOR([floorl]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(FLOORL_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/floorl-ieee b/gnulib/modules/floorl-ieee new file mode 100644 index 0000000..372fee4 --- /dev/null +++ b/gnulib/modules/floorl-ieee @@ -0,0 +1,23 @@ +Description: +floorl() function according to ISO C 99 with IEC 60559. + +Files: + +Depends-on: +floorl + +configure.ac: + +Makefile.am: + +Include: +<math.h> + +Link: +$(FLOORL_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/floorl-ieee-tests b/gnulib/modules/floorl-ieee-tests new file mode 100644 index 0000000..f60bbe6 --- /dev/null +++ b/gnulib/modules/floorl-ieee-tests @@ -0,0 +1,16 @@ +Files: +tests/test-floorl-ieee.c +tests/minus-zero.h +tests/macros.h + +Depends-on: +fpucw +float +signbit + +configure.ac: + +Makefile.am: +TESTS += test-floorl-ieee +check_PROGRAMS += test-floorl-ieee +test_floorl_ieee_LDADD = $(LDADD) @FLOORL_LIBM@ diff --git a/gnulib/modules/floorl-tests b/gnulib/modules/floorl-tests new file mode 100644 index 0000000..68ef0f5 --- /dev/null +++ b/gnulib/modules/floorl-tests @@ -0,0 +1,19 @@ +Files: +tests/test-floorl.c +tests/minus-zero.h +tests/infinity.h +tests/nan.h +tests/signature.h +tests/macros.h + +Depends-on: +fpucw +isnanl-nolibm +float + +configure.ac: + +Makefile.am: +TESTS += test-floorl +check_PROGRAMS += test-floorl +test_floorl_LDADD = $(LDADD) @FLOORL_LIBM@ diff --git a/gnulib/modules/fma b/gnulib/modules/fma new file mode 100644 index 0000000..8c8057a --- /dev/null +++ b/gnulib/modules/fma @@ -0,0 +1,41 @@ +Description: +fma() function: fused multiply-add. + +Files: +lib/fma.c +lib/float+.h +m4/fma.m4 +m4/fegetround.m4 +m4/mathfunc.m4 + +Depends-on: +math +float [test $HAVE_FMA = 0 || test $REPLACE_FMA = 1] +stdbool [test $HAVE_FMA = 0 || test $REPLACE_FMA = 1] +verify [test $HAVE_FMA = 0 || test $REPLACE_FMA = 1] +isfinite [test $HAVE_FMA = 0 || test $REPLACE_FMA = 1] +integer_length [test $HAVE_FMA = 0 || test $REPLACE_FMA = 1] +frexp [test $HAVE_FMA = 0 || test $REPLACE_FMA = 1] +ldexp [test $HAVE_FMA = 0 || test $REPLACE_FMA = 1] + +configure.ac: +gl_FUNC_FMA +if test $HAVE_FMA = 0 || test $REPLACE_FMA = 1; then + AC_LIBOBJ([fma]) + gl_PREREQ_FMA +fi +gl_MATH_MODULE_INDICATOR([fma]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(FMA_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/fma-tests b/gnulib/modules/fma-tests new file mode 100644 index 0000000..b1fbc7e --- /dev/null +++ b/gnulib/modules/fma-tests @@ -0,0 +1,23 @@ +Files: +tests/test-fma1.c +tests/test-fma1.h +tests/test-fma2.c +tests/test-fma2.h +tests/infinity.h +tests/nan.h +tests/signature.h +tests/macros.h +lib/float+.h + +Depends-on: +float +isnand-nolibm +ldexp + +configure.ac: + +Makefile.am: +TESTS += test-fma1 test-fma2 +check_PROGRAMS += test-fma1 test-fma2 +test_fma1_LDADD = $(LDADD) @FMA_LIBM@ +test_fma2_LDADD = $(LDADD) @FMA_LIBM@ @LDEXP_LIBM@ diff --git a/gnulib/modules/fmaf b/gnulib/modules/fmaf new file mode 100644 index 0000000..fe80913 --- /dev/null +++ b/gnulib/modules/fmaf @@ -0,0 +1,42 @@ +Description: +fmaf() function: fused multiply-add. + +Files: +lib/fmaf.c +lib/fma.c +lib/float+.h +m4/fmaf.m4 +m4/fegetround.m4 +m4/mathfunc.m4 + +Depends-on: +math +float [test $HAVE_FMAF = 0 || test $REPLACE_FMAF = 1] +stdbool [test $HAVE_FMAF = 0 || test $REPLACE_FMAF = 1] +verify [test $HAVE_FMAF = 0 || test $REPLACE_FMAF = 1] +isfinite [test $HAVE_FMAF = 0 || test $REPLACE_FMAF = 1] +integer_length [test $HAVE_FMAF = 0 || test $REPLACE_FMAF = 1] +frexpf [test $HAVE_FMAF = 0 || test $REPLACE_FMAF = 1] +ldexpf [test $HAVE_FMAF = 0 || test $REPLACE_FMAF = 1] + +configure.ac: +gl_FUNC_FMAF +if test $HAVE_FMAF = 0 || test $REPLACE_FMAF = 1; then + AC_LIBOBJ([fmaf]) + gl_PREREQ_FMAF +fi +gl_MATH_MODULE_INDICATOR([fmaf]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(FMAF_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/fmaf-tests b/gnulib/modules/fmaf-tests new file mode 100644 index 0000000..aa7fd8d --- /dev/null +++ b/gnulib/modules/fmaf-tests @@ -0,0 +1,23 @@ +Files: +tests/test-fmaf1.c +tests/test-fma1.h +tests/test-fmaf2.c +tests/test-fma2.h +tests/infinity.h +tests/nan.h +tests/signature.h +tests/macros.h +lib/float+.h + +Depends-on: +float +isnanf-nolibm +ldexpf + +configure.ac: + +Makefile.am: +TESTS += test-fmaf1 test-fmaf2 +check_PROGRAMS += test-fmaf1 test-fmaf2 +test_fmaf1_LDADD = $(LDADD) @FMAF_LIBM@ +test_fmaf2_LDADD = $(LDADD) @FMAF_LIBM@ @LDEXPF_LIBM@ diff --git a/gnulib/modules/fmal b/gnulib/modules/fmal new file mode 100644 index 0000000..962632b --- /dev/null +++ b/gnulib/modules/fmal @@ -0,0 +1,43 @@ +Description: +fmal() function: fused multiply-add. + +Files: +lib/fmal.c +lib/fma.c +lib/float+.h +m4/fmal.m4 +m4/fegetround.m4 +m4/mathfunc.m4 + +Depends-on: +math +fma [{ test $HAVE_FMAL = 0 || test $REPLACE_FMAL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1] +float [{ test $HAVE_FMAL = 0 || test $REPLACE_FMAL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] +stdbool [{ test $HAVE_FMAL = 0 || test $REPLACE_FMAL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] +verify [{ test $HAVE_FMAL = 0 || test $REPLACE_FMAL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] +isfinite [{ test $HAVE_FMAL = 0 || test $REPLACE_FMAL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] +integer_length [{ test $HAVE_FMAL = 0 || test $REPLACE_FMAL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] +frexpl [{ test $HAVE_FMAL = 0 || test $REPLACE_FMAL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] +ldexpl [{ test $HAVE_FMAL = 0 || test $REPLACE_FMAL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] + +configure.ac: +gl_FUNC_FMAL +if test $HAVE_FMAL = 0 || test $REPLACE_FMAL = 1; then + AC_LIBOBJ([fmal]) + gl_PREREQ_FMAL +fi +gl_MATH_MODULE_INDICATOR([fmal]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(FMAL_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/fmal-tests b/gnulib/modules/fmal-tests new file mode 100644 index 0000000..5f04dc4 --- /dev/null +++ b/gnulib/modules/fmal-tests @@ -0,0 +1,24 @@ +Files: +tests/test-fmal1.c +tests/test-fma1.h +tests/test-fmal2.c +tests/test-fma2.h +tests/infinity.h +tests/nan.h +tests/signature.h +tests/macros.h +lib/float+.h + +Depends-on: +float +fpucw +isnanl-nolibm +ldexpl + +configure.ac: + +Makefile.am: +TESTS += test-fmal1 test-fmal2 +check_PROGRAMS += test-fmal1 test-fmal2 +test_fmal1_LDADD = $(LDADD) @FMAL_LIBM@ +test_fmal2_LDADD = $(LDADD) @FMAL_LIBM@ @LDEXPL_LIBM@ diff --git a/gnulib/modules/fmod b/gnulib/modules/fmod new file mode 100644 index 0000000..a8659c8 --- /dev/null +++ b/gnulib/modules/fmod @@ -0,0 +1,25 @@ +Description: +fmod() function: floating-point remainder function. + +Files: +m4/fmod.m4 +m4/mathfunc.m4 + +Depends-on: + +configure.ac: +gl_FUNC_FMOD + +Makefile.am: + +Include: +<math.h> + +Link: +$(FMOD_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/fmod-tests b/gnulib/modules/fmod-tests new file mode 100644 index 0000000..7d9c7f3 --- /dev/null +++ b/gnulib/modules/fmod-tests @@ -0,0 +1,13 @@ +Files: +tests/test-fmod.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-fmod +check_PROGRAMS += test-fmod +test_fmod_LDADD = $(LDADD) @FMOD_LIBM@ diff --git a/gnulib/modules/fmodf b/gnulib/modules/fmodf new file mode 100644 index 0000000..705ce3b --- /dev/null +++ b/gnulib/modules/fmodf @@ -0,0 +1,31 @@ +Description: +fmodf() function: floating-point remainder function. + +Files: +lib/fmodf.c +m4/fmodf.m4 + +Depends-on: +math +fmod [test $HAVE_FMODF = 0] + +configure.ac: +gl_FUNC_FMODF +if test $HAVE_FMODF = 0; then + AC_LIBOBJ([fmodf]) +fi +gl_MATH_MODULE_INDICATOR([fmodf]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(FMODF_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/fmodf-tests b/gnulib/modules/fmodf-tests new file mode 100644 index 0000000..5f9ca38 --- /dev/null +++ b/gnulib/modules/fmodf-tests @@ -0,0 +1,13 @@ +Files: +tests/test-fmodf.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-fmodf +check_PROGRAMS += test-fmodf +test_fmodf_LDADD = $(LDADD) @FMODF_LIBM@ diff --git a/gnulib/modules/fnmatch b/gnulib/modules/fnmatch new file mode 100644 index 0000000..a5a49f9 --- /dev/null +++ b/gnulib/modules/fnmatch @@ -0,0 +1,56 @@ +Description: +fnmatch() function: wildcard matching. + +Files: +lib/fnmatch.in.h +lib/fnmatch.c +lib/fnmatch_loop.c +m4/mbstate_t.m4 +m4/fnmatch.m4 + +Depends-on: +extensions +snippet/arg-nonnull +alloca [test -n "$FNMATCH_H"] +stdbool [test -n "$FNMATCH_H"] +wchar [test -n "$FNMATCH_H"] +wctype-h [test -n "$FNMATCH_H"] +memchr [test -n "$FNMATCH_H"] +memcmp [test -n "$FNMATCH_H"] +mbsrtowcs [test -n "$FNMATCH_H"] +mbsinit [test -n "$FNMATCH_H"] + +configure.ac: +gl_FUNC_FNMATCH_POSIX +if test -n "$FNMATCH_H"; then + AC_LIBOBJ([fnmatch]) + gl_PREREQ_FNMATCH +fi + +Makefile.am: +BUILT_SOURCES += $(FNMATCH_H) + +# We need the following in order to create <fnmatch.h> when the system +# doesn't have one that supports the required API. +if GL_GENERATE_FNMATCH_H +fnmatch.h: fnmatch.in.h $(top_builddir)/config.status $(ARG_NONNULL_H) + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ + < $(srcdir)/fnmatch.in.h; \ + } > $@-t && \ + mv -f $@-t $@ +else +fnmatch.h: $(top_builddir)/config.status + rm -f $@ +endif +MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t + +Include: +<fnmatch.h> + +License: +LGPLv2+ + +Maintainer: +all, glibc diff --git a/gnulib/modules/fnmatch-gnu b/gnulib/modules/fnmatch-gnu new file mode 100644 index 0000000..cf2fe1f --- /dev/null +++ b/gnulib/modules/fnmatch-gnu @@ -0,0 +1,26 @@ +Description: +fnmatch() function: wildcard matching, with GNU extensions. + +Files: + +Depends-on: +fnmatch + +configure.ac: +gl_FUNC_FNMATCH_GNU +if test -n "$FNMATCH_H"; then + AC_LIBOBJ([fnmatch]) + gl_PREREQ_FNMATCH +fi + +Makefile.am: + +Include: +"fnmatch.h" + +License: +LGPLv2+ + +Maintainer: +all + diff --git a/gnulib/modules/fnmatch-posix b/gnulib/modules/fnmatch-posix new file mode 100644 index 0000000..1676a76 --- /dev/null +++ b/gnulib/modules/fnmatch-posix @@ -0,0 +1,27 @@ +Description: +fnmatch() function: wildcard matching. + +Status: +deprecated + +Notice: +This module is deprecated. Use the module 'fnmatch' instead. + +Files: + +Depends-on: +fnmatch + +configure.ac: + +Makefile.am: + +Include: +"fnmatch.h" + +License: +LGPLv2+ + +Maintainer: +all + diff --git a/gnulib/modules/fnmatch-tests b/gnulib/modules/fnmatch-tests new file mode 100644 index 0000000..cb16de4 --- /dev/null +++ b/gnulib/modules/fnmatch-tests @@ -0,0 +1,8 @@ +Files: +tests/test-fnmatch.c +tests/signature.h +tests/macros.h + +Makefile.am: +TESTS += test-fnmatch +check_PROGRAMS += test-fnmatch diff --git a/gnulib/modules/fopen b/gnulib/modules/fopen new file mode 100644 index 0000000..b975faa --- /dev/null +++ b/gnulib/modules/fopen @@ -0,0 +1,32 @@ +Description: +fopen() function: open a stream to a file. + +Files: +lib/fopen.c +m4/fopen.m4 + +Depends-on: +stdio +largefile +unistd [test $REPLACE_FOPEN = 1] +fstat [test $REPLACE_FOPEN = 1] + +configure.ac: +gl_FUNC_FOPEN +if test $REPLACE_FOPEN = 1; then + AC_LIBOBJ([fopen]) + gl_PREREQ_FOPEN +fi +gl_STDIO_MODULE_INDICATOR([fopen]) + +Makefile.am: + +Include: +<stdio.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/fopen-safer b/gnulib/modules/fopen-safer new file mode 100644 index 0000000..ac4ce89 --- /dev/null +++ b/gnulib/modules/fopen-safer @@ -0,0 +1,26 @@ +Description: +fopen function that avoids clobbering std{in,out,err}. + +Files: +lib/stdio--.h +lib/stdio-safer.h +lib/fopen-safer.c + +Depends-on: +fopen +unistd-safer + +configure.ac: +gl_MODULE_INDICATOR([fopen-safer]) + +Makefile.am: +lib_SOURCES += fopen-safer.c + +Include: +"stdio-safer.h" + +License: +GPL + +Maintainer: +Paul Eggert, Jim Meyering diff --git a/gnulib/modules/fopen-safer-tests b/gnulib/modules/fopen-safer-tests new file mode 100644 index 0000000..256c54c --- /dev/null +++ b/gnulib/modules/fopen-safer-tests @@ -0,0 +1,12 @@ +Files: +tests/test-fopen.h +tests/test-fopen-safer.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-fopen-safer +check_PROGRAMS += test-fopen-safer diff --git a/gnulib/modules/fopen-tests b/gnulib/modules/fopen-tests new file mode 100644 index 0000000..69ff6ac --- /dev/null +++ b/gnulib/modules/fopen-tests @@ -0,0 +1,14 @@ +Files: +tests/test-fopen.h +tests/test-fopen.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-fopen +check_PROGRAMS += test-fopen + diff --git a/gnulib/modules/forkpty b/gnulib/modules/forkpty new file mode 100644 index 0000000..b04a4da --- /dev/null +++ b/gnulib/modules/forkpty @@ -0,0 +1,33 @@ +Description: +forkpty() function: Open a pseudo-terminal, fork, and connect the child process +to the pseudo-terminal's slave. + +Files: +lib/forkpty.c +m4/pty.m4 + +Depends-on: +pty +openpty +login_tty + +configure.ac: +gl_FUNC_FORKPTY +if test $HAVE_FORKPTY = 0 || test $REPLACE_FORKPTY = 1; then + AC_LIBOBJ([forkpty]) +fi +gl_PTY_MODULE_INDICATOR([forkpty]) + +Makefile.am: + +Include: +<pty.h> + +Link: +$(PTY_LIB) + +License: +LGPL + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/forkpty-tests b/gnulib/modules/forkpty-tests new file mode 100644 index 0000000..e969fc6 --- /dev/null +++ b/gnulib/modules/forkpty-tests @@ -0,0 +1,12 @@ +Files: +tests/test-forkpty.c +tests/signature.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-forkpty +check_PROGRAMS += test-forkpty +test_forkpty_LDADD = $(LDADD) @PTY_LIB@ diff --git a/gnulib/modules/fpending b/gnulib/modules/fpending new file mode 100644 index 0000000..0b14898 --- /dev/null +++ b/gnulib/modules/fpending @@ -0,0 +1,27 @@ +Description: +Determine the number of bytes waiting in the output buffer of a stream. + +Files: +lib/fpending.h +lib/fpending.c +m4/fpending.m4 + +Depends-on: + +configure.ac: +gl_FUNC_FPENDING +if test $ac_cv_func___fpending = no; then + AC_LIBOBJ([fpending]) + gl_PREREQ_FPENDING +fi + +Makefile.am: + +Include: +"fpending.h" + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/fpending-tests b/gnulib/modules/fpending-tests new file mode 100644 index 0000000..31568e2 --- /dev/null +++ b/gnulib/modules/fpending-tests @@ -0,0 +1,13 @@ +Files: +tests/test-fpending.c +tests/test-fpending.sh +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-fpending.sh +check_PROGRAMS += test-fpending +MOSTLYCLEANFILES += test-fpending.t diff --git a/gnulib/modules/fpieee b/gnulib/modules/fpieee new file mode 100644 index 0000000..174627a --- /dev/null +++ b/gnulib/modules/fpieee @@ -0,0 +1,23 @@ +Description: +Ensure IEEE compliant floating-point operations (overflow and division by zero). + +Files: +m4/fpieee.m4 + +Depends-on: + +configure.ac-early: +AC_REQUIRE([gl_FP_IEEE]) + +configure.ac: + +Makefile.am: + +Include: + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/fprintf-posix b/gnulib/modules/fprintf-posix new file mode 100644 index 0000000..e7bb211 --- /dev/null +++ b/gnulib/modules/fprintf-posix @@ -0,0 +1,47 @@ +Description: +POSIX compatible fprintf() function: print formatted output to a stream + +Comment: +This module should not be used as a dependency from a test module, +otherwise when this module occurs as a tests-related module, it will +have side effects on the compilation of the 'vasnprintf' module, if +that module occurs among the main modules in lib/. + +Files: +lib/fprintf.c +m4/fprintf-posix.m4 +m4/printf.m4 +m4/math_h.m4 + +Depends-on: +stdio +nocrash +printf-safe +errno +multiarch +fseterr [test $REPLACE_FPRINTF = 1] +vasnprintf [test $REPLACE_FPRINTF = 1] +isnand-nolibm [test $REPLACE_FPRINTF = 1] +isnanl-nolibm [test $REPLACE_FPRINTF = 1] +frexp-nolibm [test $REPLACE_FPRINTF = 1] +frexpl-nolibm [test $REPLACE_FPRINTF = 1] +printf-frexp [test $REPLACE_FPRINTF = 1] +printf-frexpl [test $REPLACE_FPRINTF = 1] +signbit [test $REPLACE_FPRINTF = 1] +fpucw [test $REPLACE_FPRINTF = 1] + +configure.ac: +gl_FUNC_FPRINTF_POSIX +gl_STDIO_MODULE_INDICATOR([fprintf-posix]) + +Makefile.am: + +Include: +<stdio.h> + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/fprintf-posix-tests b/gnulib/modules/fprintf-posix-tests new file mode 100644 index 0000000..258e3bf --- /dev/null +++ b/gnulib/modules/fprintf-posix-tests @@ -0,0 +1,23 @@ +Files: +tests/test-fprintf-posix.sh +tests/test-fprintf-posix.c +tests/test-fprintf-posix.h +tests/test-printf-posix.output +tests/test-fprintf-posix2.sh +tests/test-fprintf-posix2.c +tests/test-fprintf-posix3.sh +tests/test-fprintf-posix3.c +tests/infinity.h +tests/signature.h +tests/macros.h + +Depends-on: +stdint +get-rusage-as + +configure.ac: +AC_CHECK_FUNCS_ONCE([getrlimit setrlimit]) + +Makefile.am: +TESTS += test-fprintf-posix.sh test-fprintf-posix2.sh test-fprintf-posix3.sh +check_PROGRAMS += test-fprintf-posix test-fprintf-posix2 test-fprintf-posix3 diff --git a/gnulib/modules/fprintftime b/gnulib/modules/fprintftime new file mode 100644 index 0000000..54bba63 --- /dev/null +++ b/gnulib/modules/fprintftime @@ -0,0 +1,24 @@ +Description: +like nstrftime, but output the formatted date to a FILE* stream + +Files: +lib/fprintftime.h +lib/fprintftime.c + +Depends-on: +ignore-value +strftime + +configure.ac: + +Makefile.am: +lib_SOURCES += fprintftime.c + +Include: +"fprintftime.h" + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/fpucw b/gnulib/modules/fpucw new file mode 100644 index 0000000..d03bad3 --- /dev/null +++ b/gnulib/modules/fpucw @@ -0,0 +1,21 @@ +Description: +Set the FPU control word, so as to allow correct 'long double' computations. + +Files: +lib/fpucw.h + +Depends-on: + +configure.ac: + +Makefile.am: + +Include: +"fpucw.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/fpurge b/gnulib/modules/fpurge new file mode 100644 index 0000000..241abeb --- /dev/null +++ b/gnulib/modules/fpurge @@ -0,0 +1,29 @@ +Description: +fpurge() function: Flush buffers. + +Files: +lib/fpurge.c +lib/stdio-impl.h +m4/fpurge.m4 + +Depends-on: +stdio + +configure.ac: +gl_FUNC_FPURGE +if test $HAVE_FPURGE = 0 || test $REPLACE_FPURGE = 1; then + AC_LIBOBJ([fpurge]) +fi +gl_STDIO_MODULE_INDICATOR([fpurge]) + +Makefile.am: + +Include: +<stdio.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible, Eric Blake + diff --git a/gnulib/modules/fpurge-tests b/gnulib/modules/fpurge-tests new file mode 100644 index 0000000..59c6e7d --- /dev/null +++ b/gnulib/modules/fpurge-tests @@ -0,0 +1,14 @@ +Files: +tests/test-fpurge.c +tests/macros.h + +Depends-on: +fflush +ftell + +configure.ac: + +Makefile.am: +TESTS += test-fpurge +check_PROGRAMS += test-fpurge +MOSTLYCLEANFILES += t-fpurge.tmp diff --git a/gnulib/modules/fputc-tests b/gnulib/modules/fputc-tests new file mode 100644 index 0000000..6d99adf --- /dev/null +++ b/gnulib/modules/fputc-tests @@ -0,0 +1,15 @@ +Files: +tests/test-fputc.c +tests/signature.h +tests/macros.h + +Depends-on: +unistd +fdopen +msvc-inval + +configure.ac: + +Makefile.am: +TESTS += test-fputc +check_PROGRAMS += test-fputc diff --git a/gnulib/modules/fread-tests b/gnulib/modules/fread-tests new file mode 100644 index 0000000..0423ffc --- /dev/null +++ b/gnulib/modules/fread-tests @@ -0,0 +1,15 @@ +Files: +tests/test-fread.c +tests/signature.h +tests/macros.h + +Depends-on: +unistd +fdopen +msvc-inval + +configure.ac: + +Makefile.am: +TESTS += test-fread +check_PROGRAMS += test-fread diff --git a/gnulib/modules/freadable b/gnulib/modules/freadable new file mode 100644 index 0000000..5da0aeb --- /dev/null +++ b/gnulib/modules/freadable @@ -0,0 +1,29 @@ +Description: +freadable() function: Determine whether a FILE stream supports reading. + +Files: +lib/freadable.h +lib/freadable.c +lib/stdio-impl.h +m4/freadable.m4 + +Depends-on: +stdbool + +configure.ac: +gl_FUNC_FREADABLE +if test $ac_cv_func___freadable = no; then + AC_LIBOBJ([freadable]) +fi + +Makefile.am: + +Include: +"freadable.h" + +License: +LGPL + +Maintainer: +Bruno Haible, Eric Blake + diff --git a/gnulib/modules/freadable-tests b/gnulib/modules/freadable-tests new file mode 100644 index 0000000..9e6f415 --- /dev/null +++ b/gnulib/modules/freadable-tests @@ -0,0 +1,13 @@ +Files: +tests/test-freadable.c +tests/macros.h + +Depends-on: +fflush + +configure.ac: + +Makefile.am: +TESTS += test-freadable +check_PROGRAMS += test-freadable +MOSTLYCLEANFILES += t-freadable.tmp diff --git a/gnulib/modules/freadahead b/gnulib/modules/freadahead new file mode 100644 index 0000000..96ef2e8 --- /dev/null +++ b/gnulib/modules/freadahead @@ -0,0 +1,25 @@ +Description: +freadahead() function: Determine the number of bytes waiting in the input +buffer of a stream. + +Files: +lib/freadahead.h +lib/freadahead.c +lib/stdio-impl.h + +Depends-on: + +configure.ac: + +Makefile.am: +lib_SOURCES += freadahead.c + +Include: +"freadahead.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/freadahead-tests b/gnulib/modules/freadahead-tests new file mode 100644 index 0000000..1b53268 --- /dev/null +++ b/gnulib/modules/freadahead-tests @@ -0,0 +1,14 @@ +Files: +tests/test-freadahead.c +tests/test-freadahead.sh +tests/macros.h + +Depends-on: +lseek +unistd + +configure.ac: + +Makefile.am: +TESTS += test-freadahead.sh +check_PROGRAMS += test-freadahead diff --git a/gnulib/modules/freading b/gnulib/modules/freading new file mode 100644 index 0000000..b5c00c6 --- /dev/null +++ b/gnulib/modules/freading @@ -0,0 +1,26 @@ +Description: +freading() function: Determine whether a FILE stream is currently doing reading. + +Files: +lib/freading.h +lib/freading.c +lib/stdio-impl.h +m4/freading.m4 + +Depends-on: +stdbool + +configure.ac: +gl_FUNC_FREADING + +Makefile.am: +lib_SOURCES += freading.c + +Include: +"freading.h" + +License: +LGPLv2+ + +Maintainer: +Eric Blake diff --git a/gnulib/modules/freading-tests b/gnulib/modules/freading-tests new file mode 100644 index 0000000..10c2311 --- /dev/null +++ b/gnulib/modules/freading-tests @@ -0,0 +1,13 @@ +Files: +tests/test-freading.c +tests/macros.h + +Depends-on: +fflush + +configure.ac: + +Makefile.am: +TESTS += test-freading +check_PROGRAMS += test-freading +MOSTLYCLEANFILES += t-freading.tmp diff --git a/gnulib/modules/freadptr b/gnulib/modules/freadptr new file mode 100644 index 0000000..5ae340e --- /dev/null +++ b/gnulib/modules/freadptr @@ -0,0 +1,24 @@ +Description: +freadptr() function: Pointer to the input buffer of a stream. + +Files: +lib/freadptr.h +lib/freadptr.c +lib/stdio-impl.h + +Depends-on: + +configure.ac: + +Makefile.am: +lib_SOURCES += freadptr.c + +Include: +"freadptr.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/freadptr-tests b/gnulib/modules/freadptr-tests new file mode 100644 index 0000000..f8bf1bc --- /dev/null +++ b/gnulib/modules/freadptr-tests @@ -0,0 +1,16 @@ +Files: +tests/test-freadptr.c +tests/test-freadptr.sh +tests/test-freadptr2.c +tests/test-freadptr2.sh +tests/macros.h + +Depends-on: +lseek +unistd + +configure.ac: + +Makefile.am: +TESTS += test-freadptr.sh test-freadptr2.sh +check_PROGRAMS += test-freadptr test-freadptr2 diff --git a/gnulib/modules/freadseek b/gnulib/modules/freadseek new file mode 100644 index 0000000..e1ad31c --- /dev/null +++ b/gnulib/modules/freadseek @@ -0,0 +1,29 @@ +Description: +freadseek() function: Read and discard input from a stream. + +Files: +lib/freadseek.h +lib/freadseek.c +lib/stdio-impl.h + +Depends-on: +freadahead +freadptr +fseeko +lseek + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) + +Makefile.am: +lib_SOURCES += freadseek.c + +Include: +"freadseek.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/freadseek-tests b/gnulib/modules/freadseek-tests new file mode 100644 index 0000000..d101582 --- /dev/null +++ b/gnulib/modules/freadseek-tests @@ -0,0 +1,13 @@ +Files: +tests/test-freadseek.c +tests/test-freadseek.sh +tests/macros.h + +Depends-on: +unistd + +configure.ac: + +Makefile.am: +TESTS += test-freadseek.sh +check_PROGRAMS += test-freadseek diff --git a/gnulib/modules/free b/gnulib/modules/free new file mode 100644 index 0000000..ec91f88 --- /dev/null +++ b/gnulib/modules/free @@ -0,0 +1,29 @@ +Description: +Work around incompatibility on older systems where free (NULL) fails. + +Notice: +This module is obsolete. + +Files: +lib/free.c +m4/free.m4 + +Depends-on: + +configure.ac: +gl_FUNC_FREE +if test $gl_cv_func_free = no; then + AC_LIBOBJ([free]) + gl_PREREQ_FREE +fi + +Makefile.am: + +Include: +<stdlib.h> + +License: +GPL + +Maintainer: +Paul Eggert diff --git a/gnulib/modules/freopen b/gnulib/modules/freopen new file mode 100644 index 0000000..4a355b0 --- /dev/null +++ b/gnulib/modules/freopen @@ -0,0 +1,30 @@ +Description: +freopen() function: open a stream to a file. + +Files: +lib/freopen.c +m4/freopen.m4 + +Depends-on: +stdio +largefile + +configure.ac: +gl_FUNC_FREOPEN +if test $REPLACE_FREOPEN = 1; then + AC_LIBOBJ([freopen]) + gl_PREREQ_FREOPEN +fi +gl_STDIO_MODULE_INDICATOR([freopen]) + +Makefile.am: + +Include: +<stdio.h> + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/freopen-safer b/gnulib/modules/freopen-safer new file mode 100644 index 0000000..bfeb0ce --- /dev/null +++ b/gnulib/modules/freopen-safer @@ -0,0 +1,28 @@ +Description: +freopen function that avoids clobbering std{in,out,err}. + +Files: +lib/stdio--.h +lib/stdio-safer.h +lib/freopen-safer.c + +Depends-on: +dup2 +freopen +open +stdbool + +configure.ac: +gl_MODULE_INDICATOR([freopen-safer]) + +Makefile.am: +lib_SOURCES += freopen-safer.c + +Include: +"stdio-safer.h" + +License: +GPL + +Maintainer: +Eric Blake diff --git a/gnulib/modules/freopen-safer-tests b/gnulib/modules/freopen-safer-tests new file mode 100644 index 0000000..048d8a2 --- /dev/null +++ b/gnulib/modules/freopen-safer-tests @@ -0,0 +1,11 @@ +Files: +tests/test-freopen-safer.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-freopen-safer +check_PROGRAMS += test-freopen-safer diff --git a/gnulib/modules/freopen-tests b/gnulib/modules/freopen-tests new file mode 100644 index 0000000..55e9d71 --- /dev/null +++ b/gnulib/modules/freopen-tests @@ -0,0 +1,14 @@ +Files: +tests/test-freopen.c +tests/signature.h +tests/macros.h + +Depends-on: +fdopen + +configure.ac: + +Makefile.am: +TESTS += test-freopen +check_PROGRAMS += test-freopen + diff --git a/gnulib/modules/frexp b/gnulib/modules/frexp new file mode 100644 index 0000000..2e89699 --- /dev/null +++ b/gnulib/modules/frexp @@ -0,0 +1,32 @@ +Description: +frexp() function: split a double into its constituents. + +Files: +lib/frexp.c +m4/frexp.m4 + +Depends-on: +math +isnand-nolibm [test $gl_func_frexp != yes] + +configure.ac: +gl_FUNC_FREXP +if test $gl_func_frexp != yes; then + AC_LIBOBJ([frexp]) +fi +gl_MATH_MODULE_INDICATOR([frexp]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(FREXP_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible, Paolo Bonzini + diff --git a/gnulib/modules/frexp-nolibm b/gnulib/modules/frexp-nolibm new file mode 100644 index 0000000..6791fe1 --- /dev/null +++ b/gnulib/modules/frexp-nolibm @@ -0,0 +1,29 @@ +Description: +frexp() function: split a double into its constituents, without requiring libm. + +Files: +lib/frexp.c +m4/frexp.m4 + +Depends-on: +math +isnand-nolibm [test $gl_func_frexp_no_libm != yes] + +configure.ac: +gl_FUNC_FREXP_NO_LIBM +if test $gl_func_frexp_no_libm != yes; then + AC_LIBOBJ([frexp]) +fi +gl_MATH_MODULE_INDICATOR([frexp]) + +Makefile.am: + +Include: +<math.h> + +License: +LGPL + +Maintainer: +Bruno Haible, Paolo Bonzini + diff --git a/gnulib/modules/frexp-nolibm-tests b/gnulib/modules/frexp-nolibm-tests new file mode 100644 index 0000000..963a52e --- /dev/null +++ b/gnulib/modules/frexp-nolibm-tests @@ -0,0 +1,18 @@ +Files: +tests/test-frexp.c +tests/minus-zero.h +tests/infinity.h +tests/nan.h +tests/signature.h +tests/macros.h + +Depends-on: +isnand-nolibm +signbit + +configure.ac: + +Makefile.am: +TESTS += test-frexp-nolibm +check_PROGRAMS += test-frexp-nolibm +test_frexp_nolibm_SOURCES = test-frexp.c diff --git a/gnulib/modules/frexp-tests b/gnulib/modules/frexp-tests new file mode 100644 index 0000000..55ddaa4 --- /dev/null +++ b/gnulib/modules/frexp-tests @@ -0,0 +1,18 @@ +Files: +tests/test-frexp.c +tests/minus-zero.h +tests/infinity.h +tests/nan.h +tests/signature.h +tests/macros.h + +Depends-on: +isnand-nolibm +signbit + +configure.ac: + +Makefile.am: +TESTS += test-frexp +check_PROGRAMS += test-frexp +test_frexp_LDADD = $(LDADD) @FREXP_LIBM@ diff --git a/gnulib/modules/frexpf b/gnulib/modules/frexpf new file mode 100644 index 0000000..efb2db7 --- /dev/null +++ b/gnulib/modules/frexpf @@ -0,0 +1,32 @@ +Description: +frexpf() function: split a float into its constituents. + +Files: +lib/frexpf.c +m4/frexpf.m4 +m4/mathfunc.m4 + +Depends-on: +math +frexp [test $HAVE_FREXPF = 0 || test $REPLACE_FREXPF = 1] + +configure.ac: +gl_FUNC_FREXPF +if test $HAVE_FREXPF = 0 || test $REPLACE_FREXPF = 1; then + AC_LIBOBJ([frexpf]) +fi +gl_MATH_MODULE_INDICATOR([frexpf]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(FREXPF_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/frexpf-tests b/gnulib/modules/frexpf-tests new file mode 100644 index 0000000..34252a8 --- /dev/null +++ b/gnulib/modules/frexpf-tests @@ -0,0 +1,18 @@ +Files: +tests/test-frexpf.c +tests/minus-zero.h +tests/infinity.h +tests/nan.h +tests/signature.h +tests/macros.h + +Depends-on: +isnanf-nolibm +signbit + +configure.ac: + +Makefile.am: +TESTS += test-frexpf +check_PROGRAMS += test-frexpf +test_frexpf_LDADD = $(LDADD) @FREXPF_LIBM@ diff --git a/gnulib/modules/frexpl b/gnulib/modules/frexpl new file mode 100644 index 0000000..a06edc5 --- /dev/null +++ b/gnulib/modules/frexpl @@ -0,0 +1,35 @@ +Description: +frexpl() function: split a 'long double' into its constituents. + +Files: +lib/frexpl.c +lib/frexp.c +m4/frexpl.m4 + +Depends-on: +math +frexp [{ test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl = no; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1] +isnanl-nolibm [{ test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl = no; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] +fpucw [{ test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl = no; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] + +configure.ac: +gl_FUNC_FREXPL +if test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl = no; then + AC_LIBOBJ([frexpl]) +fi +gl_MATH_MODULE_INDICATOR([frexpl]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(FREXPL_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible, Paolo Bonzini + diff --git a/gnulib/modules/frexpl-nolibm b/gnulib/modules/frexpl-nolibm new file mode 100644 index 0000000..a9614bb --- /dev/null +++ b/gnulib/modules/frexpl-nolibm @@ -0,0 +1,33 @@ +Description: +frexpl() function: split a 'long double' into its constituents, without +requiring libm. + +Files: +lib/frexpl.c +lib/frexp.c +m4/frexpl.m4 + +Depends-on: +math +frexp-nolibm [{ test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl_no_libm = no; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1] +isnanl-nolibm [{ test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl_no_libm = no; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] +fpucw [{ test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl_no_libm = no; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] + +configure.ac: +gl_FUNC_FREXPL_NO_LIBM +if test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl_no_libm = no; then + AC_LIBOBJ([frexpl]) +fi +gl_MATH_MODULE_INDICATOR([frexpl]) + +Makefile.am: + +Include: +<math.h> + +License: +LGPL + +Maintainer: +Bruno Haible, Paolo Bonzini + diff --git a/gnulib/modules/frexpl-nolibm-tests b/gnulib/modules/frexpl-nolibm-tests new file mode 100644 index 0000000..ffc6892 --- /dev/null +++ b/gnulib/modules/frexpl-nolibm-tests @@ -0,0 +1,19 @@ +Files: +tests/test-frexpl.c +tests/minus-zero.h +tests/infinity.h +tests/nan.h +tests/signature.h +tests/macros.h + +Depends-on: +fpucw +isnanl-nolibm +signbit + +configure.ac: + +Makefile.am: +TESTS += test-frexpl-nolibm +check_PROGRAMS += test-frexpl-nolibm +test_frexpl_nolibm_SOURCES = test-frexpl.c diff --git a/gnulib/modules/frexpl-tests b/gnulib/modules/frexpl-tests new file mode 100644 index 0000000..0987955 --- /dev/null +++ b/gnulib/modules/frexpl-tests @@ -0,0 +1,20 @@ +Files: +tests/test-frexpl.c +tests/minus-zero.h +tests/infinity.h +tests/nan.h +tests/signature.h +tests/macros.h + +Depends-on: +fpucw +isnanl-nolibm +signbit +float + +configure.ac: + +Makefile.am: +TESTS += test-frexpl +check_PROGRAMS += test-frexpl +test_frexpl_LDADD = $(LDADD) @FREXPL_LIBM@ diff --git a/gnulib/modules/fseek b/gnulib/modules/fseek new file mode 100644 index 0000000..87ab89e --- /dev/null +++ b/gnulib/modules/fseek @@ -0,0 +1,29 @@ +Description: +fseek() function: Reposition a FILE stream. + +Files: +lib/fseek.c +m4/fseek.m4 + +Depends-on: +stdio +fseeko [test $REPLACE_FSEEK = 1] + +configure.ac: +gl_FUNC_FSEEK +if test $REPLACE_FSEEK = 1; then + AC_LIBOBJ([fseek]) +fi +gl_STDIO_MODULE_INDICATOR([fseek]) + +Makefile.am: + +Include: +<stdio.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/fseek-tests b/gnulib/modules/fseek-tests new file mode 100644 index 0000000..45fe959 --- /dev/null +++ b/gnulib/modules/fseek-tests @@ -0,0 +1,16 @@ +Files: +tests/test-fseek.c +tests/test-fseek.sh +tests/test-fseek2.sh +tests/signature.h +tests/macros.h +m4/ungetc.m4 + +Depends-on: + +configure.ac: +gl_FUNC_UNGETC_WORKS + +Makefile.am: +TESTS += test-fseek.sh test-fseek2.sh +check_PROGRAMS += test-fseek diff --git a/gnulib/modules/fseeko b/gnulib/modules/fseeko new file mode 100644 index 0000000..75b129c --- /dev/null +++ b/gnulib/modules/fseeko @@ -0,0 +1,37 @@ +Description: +fseeko() function: Reposition a FILE stream. + +Files: +lib/fseeko.c +lib/stdio-impl.h +m4/fseeko.m4 + +Depends-on: +extensions +largefile +lseek +stdio +# Just to guarantee consistency between fseek() and fseeko(). +fseek + +configure.ac-early: +AC_REQUIRE([AC_FUNC_FSEEKO]) + +configure.ac: +gl_FUNC_FSEEKO +if test $HAVE_FSEEKO = 0 || test $REPLACE_FSEEKO = 1; then + AC_LIBOBJ([fseeko]) +fi +gl_STDIO_MODULE_INDICATOR([fseeko]) + +Makefile.am: + +Include: +<stdio.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/fseeko-tests b/gnulib/modules/fseeko-tests new file mode 100644 index 0000000..22e1e2b --- /dev/null +++ b/gnulib/modules/fseeko-tests @@ -0,0 +1,21 @@ +Files: +tests/test-fseeko.c +tests/test-fseeko.sh +tests/test-fseeko2.sh +tests/test-fseeko3.c +tests/test-fseeko3.sh +tests/test-fseeko4.c +tests/test-fseeko4.sh +tests/signature.h +tests/macros.h +m4/ungetc.m4 + +Depends-on: +fdopen + +configure.ac: +gl_FUNC_UNGETC_WORKS + +Makefile.am: +TESTS += test-fseeko.sh test-fseeko2.sh test-fseeko3.sh test-fseeko4.sh +check_PROGRAMS += test-fseeko test-fseeko3 test-fseeko4 diff --git a/gnulib/modules/fseterr b/gnulib/modules/fseterr new file mode 100644 index 0000000..190cbd2 --- /dev/null +++ b/gnulib/modules/fseterr @@ -0,0 +1,24 @@ +Description: +Set the error indicator of a stream. + +Files: +lib/fseterr.h +lib/fseterr.c +lib/stdio-impl.h + +Depends-on: + +configure.ac: + +Makefile.am: +lib_SOURCES += fseterr.c + +Include: +"fseterr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/fseterr-tests b/gnulib/modules/fseterr-tests new file mode 100644 index 0000000..ce2332f --- /dev/null +++ b/gnulib/modules/fseterr-tests @@ -0,0 +1,11 @@ +Files: +tests/test-fseterr.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-fseterr +check_PROGRAMS += test-fseterr + diff --git a/gnulib/modules/fstat b/gnulib/modules/fstat new file mode 100644 index 0000000..5948bad --- /dev/null +++ b/gnulib/modules/fstat @@ -0,0 +1,31 @@ +Description: +fstat() function: return information about an open file. + +Files: +lib/fstat.c +m4/fstat.m4 + +Depends-on: +sys_stat +largefile +unistd [test $REPLACE_STAT = 1] +msvc-inval [test $REPLACE_STAT = 1] + +configure.ac: +gl_FUNC_FSTAT +if test $REPLACE_FSTAT = 1; then + AC_LIBOBJ([fstat]) + gl_PREREQ_FSTAT +fi +gl_SYS_STAT_MODULE_INDICATOR([fstat]) + +Makefile.am: + +Include: +<sys/stat.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/fstat-tests b/gnulib/modules/fstat-tests new file mode 100644 index 0000000..27ebb38 --- /dev/null +++ b/gnulib/modules/fstat-tests @@ -0,0 +1,12 @@ +Files: +tests/test-fstat.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-fstat +check_PROGRAMS += test-fstat diff --git a/gnulib/modules/fstatat b/gnulib/modules/fstatat new file mode 100644 index 0000000..fa78faf --- /dev/null +++ b/gnulib/modules/fstatat @@ -0,0 +1,42 @@ +Description: +fstatat() function: Return information about a file at a directory. + +Files: +lib/fstatat.c +lib/at-func.c +lib/openat-priv.h +m4/fstatat.m4 +m4/lstat.m4 + +Depends-on: +sys_stat +extensions +at-internal [test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1] +dosname [test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1] +errno [test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1] +fchdir [test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1] +fcntl-h [test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1] +lstat [test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1] +openat-die [test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1] +openat-h [test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1] +save-cwd [test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1] + +configure.ac: +gl_FUNC_FSTATAT +if test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1; then + AC_LIBOBJ([fstatat]) +fi +AC_REQUIRE([AC_C_INLINE]) dnl because 'inline' is used in lib/openat.h +gl_MODULE_INDICATOR([fstatat]) dnl for lib/openat.h +gl_SYS_STAT_MODULE_INDICATOR([fstatat]) + +Makefile.am: + +Include: +<sys/stat.h> + +License: +GPL + +Maintainer: +Jim Meyering, Eric Blake diff --git a/gnulib/modules/fstatat-tests b/gnulib/modules/fstatat-tests new file mode 100644 index 0000000..25dc559 --- /dev/null +++ b/gnulib/modules/fstatat-tests @@ -0,0 +1,20 @@ +Files: +tests/test-fstatat.c +tests/test-lstat.h +tests/test-stat.h +tests/signature.h +tests/macros.h + +Depends-on: +getcwd-lgpl +ignore-value +openat-h +progname +symlink + +configure.ac: + +Makefile.am: +TESTS += test-fstatat +check_PROGRAMS += test-fstatat +test_fstatat_LDADD = $(LDADD) @LIBINTL@ diff --git a/gnulib/modules/fstrcmp b/gnulib/modules/fstrcmp new file mode 100644 index 0000000..a77a913 --- /dev/null +++ b/gnulib/modules/fstrcmp @@ -0,0 +1,28 @@ +Description: +Fuzzy string comparison. + +Files: +lib/fstrcmp.h +lib/fstrcmp.c + +Depends-on: +diffseq +lock +tls +minmax +xalloc + +configure.ac: + +Makefile.am: +lib_SOURCES += fstrcmp.h fstrcmp.c + +Include: +"fstrcmp.h" + +License: +GPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/fstrcmp-tests b/gnulib/modules/fstrcmp-tests new file mode 100644 index 0000000..b82f414 --- /dev/null +++ b/gnulib/modules/fstrcmp-tests @@ -0,0 +1,14 @@ +Files: +tests/test-fstrcmp.c +tests/macros.h + +Depends-on: +stdbool +progname + +configure.ac: + +Makefile.am: +TESTS += test-fstrcmp +check_PROGRAMS += test-fstrcmp +test_fstrcmp_LDADD = $(LDADD) @LIBINTL@ $(LIBTHREAD) diff --git a/gnulib/modules/fsusage b/gnulib/modules/fsusage new file mode 100644 index 0000000..b447525 --- /dev/null +++ b/gnulib/modules/fsusage @@ -0,0 +1,31 @@ +Description: +Return file system space usage info. + +Files: +lib/fsusage.h +lib/fsusage.c +m4/fsusage.m4 + +Depends-on: +largefile +stdbool +stdint +full-read [test $gl_cv_fs_space = yes] + +configure.ac: +gl_FSUSAGE +if test $gl_cv_fs_space = yes; then + AC_LIBOBJ([fsusage]) + gl_PREREQ_FSUSAGE_EXTRA +fi + +Makefile.am: + +Include: +"fsusage.h" + +License: +LGPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/fsync b/gnulib/modules/fsync new file mode 100644 index 0000000..660eb59 --- /dev/null +++ b/gnulib/modules/fsync @@ -0,0 +1,29 @@ +Description: +fsync(2) function: synchronize writes, including metadata, to a file. + +Files: +lib/fsync.c +m4/fsync.m4 + +Depends-on: +unistd +msvc-nothrow [test $HAVE_FSYNC = 0] + +configure.ac: +gl_FUNC_FSYNC +if test $HAVE_FSYNC = 0; then + AC_LIBOBJ([fsync]) + gl_PREREQ_FSYNC +fi +gl_UNISTD_MODULE_INDICATOR([fsync]) + +Makefile.am: + +Include: +<unistd.h> + +License: +LGPLv2+ + +Maintainer: +Richard W.M. Jones, Jim Meyering diff --git a/gnulib/modules/fsync-tests b/gnulib/modules/fsync-tests new file mode 100644 index 0000000..3db181b --- /dev/null +++ b/gnulib/modules/fsync-tests @@ -0,0 +1,13 @@ +Files: +tests/test-fsync.c +tests/signature.h +tests/macros.h + +Depends-on: +errno + +configure.ac: + +Makefile.am: +TESTS += test-fsync +check_PROGRAMS += test-fsync diff --git a/gnulib/modules/ftell b/gnulib/modules/ftell new file mode 100644 index 0000000..891fa72 --- /dev/null +++ b/gnulib/modules/ftell @@ -0,0 +1,30 @@ +Description: +ftell() function: Retrieve the position of a FILE stream. + +Files: +lib/ftell.c +m4/ftell.m4 + +Depends-on: +stdio +errno +ftello [test $REPLACE_FTELL = 1] + +configure.ac: +gl_FUNC_FTELL +if test $REPLACE_FTELL = 1; then + AC_LIBOBJ([ftell]) +fi +gl_STDIO_MODULE_INDICATOR([ftell]) + +Makefile.am: + +Include: +<stdio.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/ftell-tests b/gnulib/modules/ftell-tests new file mode 100644 index 0000000..4143138 --- /dev/null +++ b/gnulib/modules/ftell-tests @@ -0,0 +1,19 @@ +Files: +tests/test-ftell.c +tests/test-ftell.sh +tests/test-ftell2.sh +tests/test-ftell3.c +tests/signature.h +tests/macros.h +m4/ungetc.m4 + +Depends-on: +binary-io + +configure.ac: +gl_FUNC_UNGETC_WORKS + +Makefile.am: +TESTS += test-ftell.sh test-ftell2.sh test-ftell3 +check_PROGRAMS += test-ftell test-ftell3 +MOSTLYCLEANFILES += t-ftell3.tmp diff --git a/gnulib/modules/ftello b/gnulib/modules/ftello new file mode 100644 index 0000000..b64d80e --- /dev/null +++ b/gnulib/modules/ftello @@ -0,0 +1,38 @@ +Description: +ftello() function: Retrieve the position of a FILE stream. + +Files: +lib/ftello.c +lib/stdio-impl.h +m4/fseeko.m4 +m4/ftello.m4 + +Depends-on: +stdio +extensions +largefile +lseek [test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1] +# Just to guarantee consistency between ftell() and ftello(). +ftell + +configure.ac-early: +AC_REQUIRE([AC_FUNC_FSEEKO]) + +configure.ac: +gl_FUNC_FTELLO +if test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1; then + AC_LIBOBJ([ftello]) +fi +gl_STDIO_MODULE_INDICATOR([ftello]) + +Makefile.am: + +Include: +<stdio.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/ftello-tests b/gnulib/modules/ftello-tests new file mode 100644 index 0000000..90d269e --- /dev/null +++ b/gnulib/modules/ftello-tests @@ -0,0 +1,22 @@ +Files: +tests/test-ftello.c +tests/test-ftello.sh +tests/test-ftello2.sh +tests/test-ftello3.c +tests/test-ftello4.c +tests/test-ftello4.sh +tests/signature.h +tests/macros.h +m4/ungetc.m4 + +Depends-on: +binary-io +fdopen + +configure.ac: +gl_FUNC_UNGETC_WORKS + +Makefile.am: +TESTS += test-ftello.sh test-ftello2.sh test-ftello3 test-ftello4.sh +check_PROGRAMS += test-ftello test-ftello3 test-ftello4 +MOSTLYCLEANFILES += t-ftello3.tmp diff --git a/gnulib/modules/ftoastr b/gnulib/modules/ftoastr new file mode 100644 index 0000000..b52ce26 --- /dev/null +++ b/gnulib/modules/ftoastr @@ -0,0 +1,26 @@ +Description: +Convert float to accurate string. + +Files: +lib/ftoastr.h +lib/ftoastr.c +m4/c-strtod.m4 + +Depends-on: +intprops + +configure.ac: +AC_CHECK_FUNCS_ONCE([strtof]) +AC_REQUIRE([gl_C99_STRTOLD]) + +Makefile.am: +lib_SOURCES += ftoastr.c + +Include: +"ftoastr.h" + +License: +GPL + +Maintainer: +Paul Eggert diff --git a/gnulib/modules/ftruncate b/gnulib/modules/ftruncate new file mode 100644 index 0000000..097ed9c --- /dev/null +++ b/gnulib/modules/ftruncate @@ -0,0 +1,30 @@ +Description: +ftruncate() function: truncate an open file to a specified length. + +Files: +lib/ftruncate.c +m4/ftruncate.m4 + +Depends-on: +unistd +largefile +msvc-inval [test $HAVE_FTRUNCATE = 0] + +configure.ac: +gl_FUNC_FTRUNCATE +if test $HAVE_FTRUNCATE = 0; then + AC_LIBOBJ([ftruncate]) + gl_PREREQ_FTRUNCATE +fi +gl_UNISTD_MODULE_INDICATOR([ftruncate]) + +Makefile.am: + +Include: +<unistd.h> + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/ftruncate-tests b/gnulib/modules/ftruncate-tests new file mode 100644 index 0000000..1423c30 --- /dev/null +++ b/gnulib/modules/ftruncate-tests @@ -0,0 +1,13 @@ +Files: +tests/test-ftruncate.c +tests/test-ftruncate.sh +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-ftruncate.sh +check_PROGRAMS += test-ftruncate diff --git a/gnulib/modules/fts b/gnulib/modules/fts new file mode 100644 index 0000000..62c329b --- /dev/null +++ b/gnulib/modules/fts @@ -0,0 +1,48 @@ +Description: +Traverse a file hierarchy. + +Files: +lib/fts_.h +lib/fts.c +lib/fts-cycle.c +m4/fts.m4 + +Depends-on: +cloexec +closedir +cycle-check +d-ino +d-type +dirent-safer +dup +fchdir +fcntl-h +fcntl-safer +fstat +hash +i-ring +lstat +memmove +openat-h +openat-safer +opendir +readdir +stdbool +unistd-safer + +configure.ac: +gl_FUNC_FTS +dnl Use this version of fts unconditionally, since the GNU libc and +dnl NetBSD versions have bugs and/or unnecessary limitations. +AC_LIBOBJ([fts]) + +Makefile.am: + +Include: +"fts_.h" + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/full-read b/gnulib/modules/full-read new file mode 100644 index 0000000..5bae3ae --- /dev/null +++ b/gnulib/modules/full-read @@ -0,0 +1,24 @@ +Description: +An interface to the read() function that reads all it is asked to read. + +Files: +lib/full-read.h +lib/full-read.c +lib/full-write.c + +Depends-on: +safe-read + +configure.ac: + +Makefile.am: +lib_SOURCES += full-read.h full-read.c + +Include: +"full-read.h" + +License: +LGPLv2+ + +Maintainer: +Jim Meyering, Bruno Haible diff --git a/gnulib/modules/full-write b/gnulib/modules/full-write new file mode 100644 index 0000000..dc07a3b --- /dev/null +++ b/gnulib/modules/full-write @@ -0,0 +1,23 @@ +Description: +An interface to the write() function that writes all it is asked to write. + +Files: +lib/full-write.h +lib/full-write.c + +Depends-on: +safe-write + +configure.ac: + +Makefile.am: +lib_SOURCES += full-write.h full-write.c + +Include: +"full-write.h" + +License: +LGPLv2+ + +Maintainer: +Jim Meyering, Bruno Haible diff --git a/gnulib/modules/func b/gnulib/modules/func new file mode 100644 index 0000000..48e979d --- /dev/null +++ b/gnulib/modules/func @@ -0,0 +1,20 @@ +Description: +Make sure __func__ is usable even on non-C99 platforms. + +Files: +m4/func.m4 + +Depends-on: + +configure.ac: +gl_FUNC + +Makefile.am: + +Include: + +License: +unlimited + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/func-tests b/gnulib/modules/func-tests new file mode 100644 index 0000000..cb53b6d --- /dev/null +++ b/gnulib/modules/func-tests @@ -0,0 +1,9 @@ +Files: +tests/test-func.c +tests/macros.h + +configure.ac: + +Makefile.am: +TESTS += test-func +check_PROGRAMS += test-func diff --git a/gnulib/modules/futimens b/gnulib/modules/futimens new file mode 100644 index 0000000..ab1c62d --- /dev/null +++ b/gnulib/modules/futimens @@ -0,0 +1,32 @@ +Description: +Set file access and modification times of a file descriptor. + +Files: +lib/futimens.c +m4/futimens.m4 + +Depends-on: +sys_stat +extensions +utimens [test $HAVE_FUTIMENS = 0 || test $REPLACE_FUTIMENS = 1] + +configure.ac: +gl_FUNC_FUTIMENS +if test $HAVE_FUTIMENS = 0 || test $REPLACE_FUTIMENS = 1; then + AC_LIBOBJ([futimens]) +fi +gl_SYS_STAT_MODULE_INDICATOR([futimens]) + +Makefile.am: + +Include: +<sys/stat.h> + +Link: +$(LIB_CLOCK_GETTIME) + +License: +LGPL + +Maintainer: +Eric Blake diff --git a/gnulib/modules/futimens-tests b/gnulib/modules/futimens-tests new file mode 100644 index 0000000..1b72de5 --- /dev/null +++ b/gnulib/modules/futimens-tests @@ -0,0 +1,23 @@ +Files: +tests/nap.h +tests/test-futimens.h +tests/test-utimens-common.h +tests/test-futimens.c +tests/signature.h +tests/macros.h + +Depends-on: +fcntl-h +ignore-value +timespec +dup +usleep +utimecmp + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) + +Makefile.am: +TESTS += test-futimens +check_PROGRAMS += test-futimens +test_futimens_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME) diff --git a/gnulib/modules/fwritable b/gnulib/modules/fwritable new file mode 100644 index 0000000..935bb4f --- /dev/null +++ b/gnulib/modules/fwritable @@ -0,0 +1,29 @@ +Description: +fwritable() function: Determine whether a FILE stream supports writing. + +Files: +lib/fwritable.h +lib/fwritable.c +lib/stdio-impl.h +m4/fwritable.m4 + +Depends-on: +stdbool + +configure.ac: +gl_FUNC_FWRITABLE +if test $ac_cv_func___fwritable = no; then + AC_LIBOBJ([fwritable]) +fi + +Makefile.am: + +Include: +"fwritable.h" + +License: +LGPL + +Maintainer: +Bruno Haible, Eric Blake + diff --git a/gnulib/modules/fwritable-tests b/gnulib/modules/fwritable-tests new file mode 100644 index 0000000..803a331 --- /dev/null +++ b/gnulib/modules/fwritable-tests @@ -0,0 +1,13 @@ +Files: +tests/test-fwritable.c +tests/macros.h + +Depends-on: +fflush + +configure.ac: + +Makefile.am: +TESTS += test-fwritable +check_PROGRAMS += test-fwritable +MOSTLYCLEANFILES += t-fwritable.tmp diff --git a/gnulib/modules/fwrite-tests b/gnulib/modules/fwrite-tests new file mode 100644 index 0000000..1b7bf2f --- /dev/null +++ b/gnulib/modules/fwrite-tests @@ -0,0 +1,15 @@ +Files: +tests/test-fwrite.c +tests/signature.h +tests/macros.h + +Depends-on: +unistd +fdopen +msvc-inval + +configure.ac: + +Makefile.am: +TESTS += test-fwrite +check_PROGRAMS += test-fwrite diff --git a/gnulib/modules/fwriteerror b/gnulib/modules/fwriteerror new file mode 100644 index 0000000..93b0533 --- /dev/null +++ b/gnulib/modules/fwriteerror @@ -0,0 +1,25 @@ +Description: +Detect write error on a stream. + +Files: +lib/fwriteerror.h +lib/fwriteerror.c + +Depends-on: +errno +stdbool + +configure.ac: +gl_MODULE_INDICATOR([fwriteerror]) + +Makefile.am: +lib_SOURCES += fwriteerror.h fwriteerror.c + +Include: +"fwriteerror.h" + +License: +GPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/fwriting b/gnulib/modules/fwriting new file mode 100644 index 0000000..522bdb3 --- /dev/null +++ b/gnulib/modules/fwriting @@ -0,0 +1,29 @@ +Description: +fwriting() function: Determine whether a FILE stream is currently doing writing. + +Files: +lib/fwriting.h +lib/fwriting.c +lib/stdio-impl.h +m4/fwriting.m4 + +Depends-on: +stdbool + +configure.ac: +gl_FUNC_FWRITING +if test $ac_cv_func___fwriting = no; then + AC_LIBOBJ([fwriting]) +fi + +Makefile.am: + +Include: +"fwriting.h" + +License: +LGPL + +Maintainer: +Eric Blake + diff --git a/gnulib/modules/fwriting-tests b/gnulib/modules/fwriting-tests new file mode 100644 index 0000000..2b74b64 --- /dev/null +++ b/gnulib/modules/fwriting-tests @@ -0,0 +1,13 @@ +Files: +tests/test-fwriting.c +tests/macros.h + +Depends-on: +fflush + +configure.ac: + +Makefile.am: +TESTS += test-fwriting +check_PROGRAMS += test-fwriting +MOSTLYCLEANFILES += t-fwriting.tmp diff --git a/gnulib/modules/gcd b/gnulib/modules/gcd new file mode 100644 index 0000000..bba1cfd --- /dev/null +++ b/gnulib/modules/gcd @@ -0,0 +1,23 @@ +Description: +Greatest common divisor. + +Files: +lib/gcd.h +lib/gcd.c + +Depends-on: + +configure.ac: + +Makefile.am: +lib_SOURCES += gcd.h gcd.c + +Include: +"gcd.h" + +License: +GPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/gen-uni-tables b/gnulib/modules/gen-uni-tables new file mode 100644 index 0000000..115853a --- /dev/null +++ b/gnulib/modules/gen-uni-tables @@ -0,0 +1,26 @@ +Description: +Generates the tables in lib/unictype/* and lib/unilbrk/* and lib/uniwbrk/* and +lib/unicase/*. + +Files: +lib/gen-uni-tables.c +lib/unictype/3level.h +lib/unictype/3levelbit.h + +Depends-on: +memcmp +strdup +strstr-simple + +configure.ac: + +Makefile.am: + +Include: + +License: +GPLed build tool + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/gendocs b/gnulib/modules/gendocs new file mode 100644 index 0000000..d70449d --- /dev/null +++ b/gnulib/modules/gendocs @@ -0,0 +1,21 @@ +Description: +Generate manuals in several formats from Texinfo sources. +Can be used for http://www.gnu.org/software/PKG/manual/ directories. + +Files: +build-aux/gendocs.sh +doc/gendocs_template + +Depends-on: + +configure.ac: + +Makefile.am: + +Include: + +License: +GPLed build tool + +Maintainer: +Karl Berry diff --git a/gnulib/modules/get-rusage-as b/gnulib/modules/get-rusage-as new file mode 100644 index 0000000..b415d5c --- /dev/null +++ b/gnulib/modules/get-rusage-as @@ -0,0 +1,33 @@ +Description: +Getter for RLIMIT_AS: Returns the current address space size. + +Files: +lib/resource-ext.h +lib/get-rusage-as.c +m4/mmap-anon.m4 + +Depends-on: +stdint +unistd +extensions +getpagesize +vma-iter + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +AC_CHECK_FUNCS_ONCE([setrlimit]) +gl_FUNC_MMAP_ANON +AC_CHECK_HEADERS_ONCE([sys/mman.h]) +AC_CHECK_FUNCS_ONCE([mprotect]) + +Makefile.am: +lib_SOURCES += get-rusage-as.c + +Include: +"resource-ext.h" + +License: +GPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/get-rusage-as-tests b/gnulib/modules/get-rusage-as-tests new file mode 100644 index 0000000..9941009 --- /dev/null +++ b/gnulib/modules/get-rusage-as-tests @@ -0,0 +1,11 @@ +Files: +tests/test-get-rusage-as.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-get-rusage-as +check_PROGRAMS += test-get-rusage-as diff --git a/gnulib/modules/get-rusage-data b/gnulib/modules/get-rusage-data new file mode 100644 index 0000000..2d8d378 --- /dev/null +++ b/gnulib/modules/get-rusage-data @@ -0,0 +1,31 @@ +Description: +Getter for RLIMIT_DATA: Returns the data segment size. + +Files: +lib/resource-ext.h +lib/get-rusage-data.c +m4/mmap-anon.m4 + +Depends-on: +stdint +unistd +extensions +getpagesize +vma-iter + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +AC_CHECK_FUNCS_ONCE([setrlimit]) +gl_FUNC_MMAP_ANON + +Makefile.am: +lib_SOURCES += get-rusage-data.c + +Include: +"resource-ext.h" + +License: +GPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/get-rusage-data-tests b/gnulib/modules/get-rusage-data-tests new file mode 100644 index 0000000..0b55794 --- /dev/null +++ b/gnulib/modules/get-rusage-data-tests @@ -0,0 +1,11 @@ +Files: +tests/test-get-rusage-data.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-get-rusage-data +check_PROGRAMS += test-get-rusage-data diff --git a/gnulib/modules/getaddrinfo b/gnulib/modules/getaddrinfo new file mode 100644 index 0000000..8de2955 --- /dev/null +++ b/gnulib/modules/getaddrinfo @@ -0,0 +1,44 @@ +Description: +getaddrinfo() function: Get address information. + +Files: +lib/getaddrinfo.c +lib/gai_strerror.c +m4/getaddrinfo.m4 + +Depends-on: +netdb +sys_socket +extensions +gettext-h [test $HAVE_GETADDRINFO = 0 || test $HAVE_DECL_GAI_STRERROR = 0 || test $REPLACE_GAI_STRERROR = 1] +inet_ntop [test $HAVE_GETADDRINFO = 0] +snprintf [test $HAVE_GETADDRINFO = 0] +stdbool [test $HAVE_GETADDRINFO = 0] +strdup [test $HAVE_GETADDRINFO = 0] +servent [test $HAVE_GETADDRINFO = 0] +hostent [test $HAVE_GETADDRINFO = 0] +sockets [test $HAVE_GETADDRINFO = 0] + +configure.ac: +gl_GETADDRINFO +if test $HAVE_GETADDRINFO = 0; then + AC_LIBOBJ([getaddrinfo]) +fi +if test $HAVE_DECL_GAI_STRERROR = 0 || test $REPLACE_GAI_STRERROR = 1; then + AC_LIBOBJ([gai_strerror]) +fi +gl_NETDB_MODULE_INDICATOR([getaddrinfo]) + +Makefile.am: + +Include: +<netdb.h> + +Link: +$(GETADDRINFO_LIB) + +License: +LGPLv2+ + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/getaddrinfo-tests b/gnulib/modules/getaddrinfo-tests new file mode 100644 index 0000000..521cf68 --- /dev/null +++ b/gnulib/modules/getaddrinfo-tests @@ -0,0 +1,14 @@ +Files: +tests/signature.h +tests/test-getaddrinfo.c + +Depends-on: +inet_ntop +strerror + +configure.ac: + +Makefile.am: +TESTS += test-getaddrinfo +check_PROGRAMS += test-getaddrinfo +test_getaddrinfo_LDADD = $(LDADD) @GETADDRINFO_LIB@ @LIBINTL@ diff --git a/gnulib/modules/getcwd b/gnulib/modules/getcwd new file mode 100644 index 0000000..77ad097 --- /dev/null +++ b/gnulib/modules/getcwd @@ -0,0 +1,49 @@ +Description: +Return the current working directory. + +Files: +lib/getcwd.c +m4/getcwd-abort-bug.m4 +m4/getcwd-path-max.m4 +m4/getcwd.m4 +m4/pathmax.m4 + +Depends-on: +unistd +extensions +pathmax [test $REPLACE_GETCWD = 1] +mempcpy [test $REPLACE_GETCWD = 1] +d-ino [test $REPLACE_GETCWD = 1] +memmove [test $REPLACE_GETCWD = 1] +openat [test $REPLACE_GETCWD = 1] +fcntl-h [test $REPLACE_GETCWD = 1] +fdopendir [test $REPLACE_GETCWD = 1] +fstat [test $REPLACE_GETCWD = 1] +fstatat [test $REPLACE_GETCWD = 1] +opendir [test $REPLACE_GETCWD = 1] +readdir [test $REPLACE_GETCWD = 1] +rewinddir [test $REPLACE_GETCWD = 1] +closedir [test $REPLACE_GETCWD = 1] +stdbool [test $REPLACE_GETCWD = 1] +malloc-posix [test $REPLACE_GETCWD = 1] +strdup-posix [test $REPLACE_GETCWD = 1] + +configure.ac: +gl_FUNC_GETCWD +if test $REPLACE_GETCWD = 1; then + AC_LIBOBJ([getcwd]) + gl_PREREQ_GETCWD +fi +gl_MODULE_INDICATOR([getcwd]) +gl_UNISTD_MODULE_INDICATOR([getcwd]) + +Makefile.am: + +Include: +<unistd.h> + +License: +GPL + +Maintainer: +all, glibc diff --git a/gnulib/modules/getcwd-lgpl b/gnulib/modules/getcwd-lgpl new file mode 100644 index 0000000..6a780ad --- /dev/null +++ b/gnulib/modules/getcwd-lgpl @@ -0,0 +1,28 @@ +Description: +Ensure getcwd(NULL, 0) returns a buffer allocated by malloc(). + +Files: +lib/getcwd-lgpl.c +m4/getcwd.m4 + +Depends-on: +unistd +strdup [test $REPLACE_GETCWD = 1] + +configure.ac: +gl_FUNC_GETCWD_LGPL +if test $REPLACE_GETCWD = 1; then + AC_LIBOBJ([getcwd-lgpl]) +fi +gl_UNISTD_MODULE_INDICATOR([getcwd]) + +Makefile.am: + +Include: +<unistd.h> + +License: +LGPLv2+ + +Maintainer: +Eric Blake diff --git a/gnulib/modules/getcwd-lgpl-tests b/gnulib/modules/getcwd-lgpl-tests new file mode 100644 index 0000000..3fc4898 --- /dev/null +++ b/gnulib/modules/getcwd-lgpl-tests @@ -0,0 +1,13 @@ +Files: +tests/test-getcwd-lgpl.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-getcwd-lgpl +check_PROGRAMS += test-getcwd-lgpl +test_getcwd_lgpl_LDADD = $(LDADD) $(LIBINTL) diff --git a/gnulib/modules/getcwd-tests b/gnulib/modules/getcwd-tests new file mode 100644 index 0000000..1cbf0fb --- /dev/null +++ b/gnulib/modules/getcwd-tests @@ -0,0 +1,18 @@ +Files: +tests/test-getcwd.c +tests/test-getcwd.sh +tests/init.sh + +Depends-on: +errno +fcntl-h +getcwd-lgpl +pathmax +sys_stat + +configure.ac: + +Makefile.am: +TESTS += test-getcwd.sh +check_PROGRAMS += test-getcwd +test_getcwd_LDADD = $(LDADD) @LIBINTL@ diff --git a/gnulib/modules/getdate b/gnulib/modules/getdate new file mode 100644 index 0000000..37c37f9 --- /dev/null +++ b/gnulib/modules/getdate @@ -0,0 +1,27 @@ +Description: +Convert a date/time string to linear time. + +Status: +deprecated + +Notice: +This module is deprecated. Use the module 'parse-datetime' instead. + +Files: +doc/getdate.texi +lib/getdate.h + +Depends-on: +parse-datetime + +configure.ac: + +Makefile.am: + +Include: + +License: +GPL + +Maintainer: +Paul Eggert diff --git a/gnulib/modules/getdelim b/gnulib/modules/getdelim new file mode 100644 index 0000000..e84558c --- /dev/null +++ b/gnulib/modules/getdelim @@ -0,0 +1,32 @@ +Description: +Read character delimited data from a stream. + +Files: +lib/getdelim.c +m4/getdelim.m4 + +Depends-on: +stdio +extensions +stdint [test $HAVE_GETDELIM = 0 || test $REPLACE_GETDELIM = 1] +realloc-posix [test $HAVE_GETDELIM = 0 || test $REPLACE_GETDELIM = 1] +errno [test $HAVE_GETDELIM = 0 || test $REPLACE_GETDELIM = 1] + +configure.ac: +gl_FUNC_GETDELIM +if test $HAVE_GETDELIM = 0 || test $REPLACE_GETDELIM = 1; then + AC_LIBOBJ([getdelim]) + gl_PREREQ_GETDELIM +fi +gl_STDIO_MODULE_INDICATOR([getdelim]) + +Makefile.am: + +Include: +<stdio.h> + +License: +LGPLv2+ + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/getdelim-tests b/gnulib/modules/getdelim-tests new file mode 100644 index 0000000..a2f2aa0 --- /dev/null +++ b/gnulib/modules/getdelim-tests @@ -0,0 +1,13 @@ +Files: +tests/test-getdelim.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-getdelim +check_PROGRAMS += test-getdelim +MOSTLYCLEANFILES += test-getdelim.txt diff --git a/gnulib/modules/getdomainname b/gnulib/modules/getdomainname new file mode 100644 index 0000000..457de31 --- /dev/null +++ b/gnulib/modules/getdomainname @@ -0,0 +1,31 @@ +Description: +getdomainname() function: Return machine's NIS domain name. + +Files: +lib/getdomainname.c +m4/getdomainname.m4 + +Depends-on: +unistd +extensions +netdb [test $HAVE_DECL_GETDOMAINNAME = 0 || test $REPLACE_GETDOMAINNAME = 1] +sys_socket [test $HAVE_DECL_GETDOMAINNAME = 0 || test $REPLACE_GETDOMAINNAME = 1] + +configure.ac: +gl_FUNC_GETDOMAINNAME +if test $HAVE_DECL_GETDOMAINNAME = 0 || test $REPLACE_GETDOMAINNAME = 1; then + AC_LIBOBJ([getdomainname]) + gl_PREREQ_GETDOMAINNAME +fi +gl_UNISTD_MODULE_INDICATOR([getdomainname]) + +Makefile.am: + +Include: +<unistd.h> + +License: +GPL + +Maintainer: +all diff --git a/gnulib/modules/getdomainname-tests b/gnulib/modules/getdomainname-tests new file mode 100644 index 0000000..b175aa3 --- /dev/null +++ b/gnulib/modules/getdomainname-tests @@ -0,0 +1,11 @@ +Files: +tests/signature.h +tests/test-getdomainname.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-getdomainname +check_PROGRAMS += test-getdomainname diff --git a/gnulib/modules/getdtablesize b/gnulib/modules/getdtablesize new file mode 100644 index 0000000..109be1f --- /dev/null +++ b/gnulib/modules/getdtablesize @@ -0,0 +1,30 @@ +Description: +getdtablesize() function: return maximum number of file descriptors. + +Files: +lib/getdtablesize.c +m4/getdtablesize.m4 + +Depends-on: +unistd +msvc-inval [test $HAVE_GETDTABLESIZE = 0] + +configure.ac: +gl_FUNC_GETDTABLESIZE +if test $HAVE_GETDTABLESIZE = 0; then + AC_LIBOBJ([getdtablesize]) + gl_PREREQ_GETDTABLESIZE +fi +gl_UNISTD_MODULE_INDICATOR([getdtablesize]) + +Makefile.am: + +Include: +<unistd.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/getdtablesize-tests b/gnulib/modules/getdtablesize-tests new file mode 100644 index 0000000..5f78c5f --- /dev/null +++ b/gnulib/modules/getdtablesize-tests @@ -0,0 +1,12 @@ +Files: +tests/test-getdtablesize.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-getdtablesize +check_PROGRAMS += test-getdtablesize diff --git a/gnulib/modules/getgroups b/gnulib/modules/getgroups new file mode 100644 index 0000000..66ff12f --- /dev/null +++ b/gnulib/modules/getgroups @@ -0,0 +1,29 @@ +Description: +getgroups() function: return the supplementary group IDs of the current process. + +Files: +lib/getgroups.c +m4/getgroups.m4 + +Depends-on: +unistd +malloc-posix [test $HAVE_GETGROUPS = 0 || test $REPLACE_GETGROUPS = 1] +stdint [test $HAVE_GETGROUPS = 0 || test $REPLACE_GETGROUPS = 1] + +configure.ac: +gl_FUNC_GETGROUPS +if test $HAVE_GETGROUPS = 0 || test $REPLACE_GETGROUPS = 1; then + AC_LIBOBJ([getgroups]) +fi +gl_UNISTD_MODULE_INDICATOR([getgroups]) + +Makefile.am: + +Include: +<unistd.h> + +License: +LGPL + +Maintainer: +Jim Meyering, Eric Blake diff --git a/gnulib/modules/getgroups-tests b/gnulib/modules/getgroups-tests new file mode 100644 index 0000000..3db9224 --- /dev/null +++ b/gnulib/modules/getgroups-tests @@ -0,0 +1,12 @@ +Files: +tests/test-getgroups.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-getgroups +check_PROGRAMS += test-getgroups diff --git a/gnulib/modules/gethostname b/gnulib/modules/gethostname new file mode 100644 index 0000000..b41dfad --- /dev/null +++ b/gnulib/modules/gethostname @@ -0,0 +1,36 @@ +Description: +gethostname() function: Return machine's hostname. + +Files: +lib/gethostname.c +m4/gethostname.m4 +lib/w32sock.h + +Depends-on: +unistd +sys_socket [test $HAVE_GETHOSTNAME = 0] +errno [test $HAVE_GETHOSTNAME = 0] +sockets [test $HAVE_GETHOSTNAME = 0] +msvc-nothrow [test $HAVE_GETHOSTNAME = 0] + +configure.ac: +gl_FUNC_GETHOSTNAME +if test $HAVE_GETHOSTNAME = 0; then + AC_LIBOBJ([gethostname]) + gl_PREREQ_GETHOSTNAME +fi +gl_UNISTD_MODULE_INDICATOR([gethostname]) + +Makefile.am: + +Include: +<unistd.h> + +Link: +$(GETHOSTNAME_LIB) + +License: +LGPLv2+ + +Maintainer: +all diff --git a/gnulib/modules/gethostname-tests b/gnulib/modules/gethostname-tests new file mode 100644 index 0000000..2d2d537 --- /dev/null +++ b/gnulib/modules/gethostname-tests @@ -0,0 +1,12 @@ +Files: +tests/signature.h +tests/test-gethostname.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-gethostname +check_PROGRAMS += test-gethostname +test_gethostname_LDADD = $(LDADD) @GETHOSTNAME_LIB@ diff --git a/gnulib/modules/gethrxtime b/gnulib/modules/gethrxtime new file mode 100644 index 0000000..916bab1 --- /dev/null +++ b/gnulib/modules/gethrxtime @@ -0,0 +1,36 @@ +Description: +Get high resolution real time. + +Files: +lib/xtime.h +lib/gethrxtime.c +lib/gethrxtime.h +m4/gethrxtime.m4 +m4/longlong.m4 + +Depends-on: +clock-time +extensions +gettime +sys_time + +configure.ac: +gl_GETHRXTIME +if test $ac_cv_have_decl_gethrtime = no || test $gl_cv_arithmetic_hrtime_t = no; then + AC_LIBOBJ([gethrxtime]) + gl_PREREQ_GETHRXTIME +fi + +Makefile.am: + +Include: +"xtime.h" + +Link: +$(LIB_GETHRXTIME) + +License: +GPL + +Maintainer: +Paul Eggert diff --git a/gnulib/modules/getline b/gnulib/modules/getline new file mode 100644 index 0000000..72e77ab --- /dev/null +++ b/gnulib/modules/getline @@ -0,0 +1,30 @@ +Description: +Read a line from a stream. + +Files: +lib/getline.c +m4/getline.m4 + +Depends-on: +stdio +extensions +getdelim [test $REPLACE_GETLINE = 1] + +configure.ac: +gl_FUNC_GETLINE +if test $REPLACE_GETLINE = 1; then + AC_LIBOBJ([getline]) + gl_PREREQ_GETLINE +fi +gl_STDIO_MODULE_INDICATOR([getline]) + +Makefile.am: + +Include: +<stdio.h> + +License: +LGPLv2+ + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/getline-tests b/gnulib/modules/getline-tests new file mode 100644 index 0000000..33eb2b7 --- /dev/null +++ b/gnulib/modules/getline-tests @@ -0,0 +1,13 @@ +Files: +tests/test-getline.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-getline +check_PROGRAMS += test-getline +MOSTLYCLEANFILES += test-getline.txt diff --git a/gnulib/modules/getloadavg b/gnulib/modules/getloadavg new file mode 100644 index 0000000..1b0f581 --- /dev/null +++ b/gnulib/modules/getloadavg @@ -0,0 +1,34 @@ +Description: +Return the current system load averages. + +Files: +lib/getloadavg.c +m4/getloadavg.m4 + +Depends-on: +extensions +intprops +stdbool +stdlib + +configure.ac: +gl_GETLOADAVG +if test $HAVE_GETLOADAVG = 0; then + AC_LIBOBJ([getloadavg]) + gl_PREREQ_GETLOADAVG +fi +gl_STDLIB_MODULE_INDICATOR([getloadavg]) + +Makefile.am: + +Include: +<stdlib.h> + +Link: +$(GETLOADAVG_LIBS) + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/getloadavg-tests b/gnulib/modules/getloadavg-tests new file mode 100644 index 0000000..c653ae9 --- /dev/null +++ b/gnulib/modules/getloadavg-tests @@ -0,0 +1,12 @@ +Files: +tests/test-getloadavg.c +tests/signature.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-getloadavg +check_PROGRAMS += test-getloadavg +test_getloadavg_LDADD = $(LDADD) @GETLOADAVG_LIBS@ diff --git a/gnulib/modules/getlogin b/gnulib/modules/getlogin new file mode 100644 index 0000000..379052a --- /dev/null +++ b/gnulib/modules/getlogin @@ -0,0 +1,27 @@ +Description: +getlogin() function: Get user name. + +Files: +lib/getlogin.c +m4/getlogin.m4 + +Depends-on: +unistd + +configure.ac: +gl_FUNC_GETLOGIN +if test $HAVE_GETLOGIN = 0; then + AC_LIBOBJ([getlogin]) +fi +gl_UNISTD_MODULE_INDICATOR([getlogin]) + +Makefile.am: + +Include: +<unistd.h> + +License: +LGPLv2+ + +Maintainer: +all diff --git a/gnulib/modules/getlogin-tests b/gnulib/modules/getlogin-tests new file mode 100644 index 0000000..795fba7 --- /dev/null +++ b/gnulib/modules/getlogin-tests @@ -0,0 +1,12 @@ +Files: +tests/test-getlogin.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-getlogin +check_PROGRAMS += test-getlogin diff --git a/gnulib/modules/getlogin_r b/gnulib/modules/getlogin_r new file mode 100644 index 0000000..5406d94 --- /dev/null +++ b/gnulib/modules/getlogin_r @@ -0,0 +1,30 @@ +Description: +getlogin_r() function: Get user name to a buffer allocated by the caller. + +Files: +lib/getlogin_r.c +m4/getlogin_r.m4 + +Depends-on: +unistd +extensions +memchr [test $HAVE_GETLOGIN_R = 0 || test $REPLACE_GETLOGIN_R = 1] + +configure.ac: +gl_FUNC_GETLOGIN_R +if test $HAVE_GETLOGIN_R = 0 || test $REPLACE_GETLOGIN_R = 1; then + AC_LIBOBJ([getlogin_r]) + gl_PREREQ_GETLOGIN_R +fi +gl_UNISTD_MODULE_INDICATOR([getlogin_r]) + +Makefile.am: + +Include: +<unistd.h> + +License: +LGPLv2+ + +Maintainer: +all diff --git a/gnulib/modules/getlogin_r-tests b/gnulib/modules/getlogin_r-tests new file mode 100644 index 0000000..22dfba5 --- /dev/null +++ b/gnulib/modules/getlogin_r-tests @@ -0,0 +1,12 @@ +Files: +tests/test-getlogin_r.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-getlogin_r +check_PROGRAMS += test-getlogin_r diff --git a/gnulib/modules/getndelim2 b/gnulib/modules/getndelim2 new file mode 100644 index 0000000..dec82e4 --- /dev/null +++ b/gnulib/modules/getndelim2 @@ -0,0 +1,31 @@ +Description: +Read a line from a stream, stopping at one of 2 delimiters, with bounded +memory allocation. + +Files: +lib/getndelim2.h +lib/getndelim2.c +m4/getndelim2.m4 + +Depends-on: +ssize_t +stdbool +stdint +freadptr +freadseek +memchr2 + +configure.ac: +gl_GETNDELIM2 + +Makefile.am: +lib_SOURCES += getndelim2.c + +Include: +"getndelim2.h" + +License: +LGPLv2+ + +Maintainer: +all diff --git a/gnulib/modules/getndelim2-tests b/gnulib/modules/getndelim2-tests new file mode 100644 index 0000000..d7e4dfc --- /dev/null +++ b/gnulib/modules/getndelim2-tests @@ -0,0 +1,12 @@ +Files: +tests/test-getndelim2.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-getndelim2 +check_PROGRAMS += test-getndelim2 +MOSTLYCLEANFILES += test-getndelim2.txt diff --git a/gnulib/modules/getnline b/gnulib/modules/getnline new file mode 100644 index 0000000..4f449db --- /dev/null +++ b/gnulib/modules/getnline @@ -0,0 +1,26 @@ +Description: +Read a line from a stream, with bounded memory allocation. + +Files: +lib/getnline.h +lib/getnline.c +m4/getnline.m4 + +Depends-on: +getndelim2 +ssize_t + +configure.ac: +gl_GETNLINE + +Makefile.am: +lib_SOURCES += getnline.h getnline.c + +Include: +"getnline.h" + +License: +GPL + +Maintainer: +all diff --git a/gnulib/modules/getopt b/gnulib/modules/getopt new file mode 100644 index 0000000..5d4f3c4 --- /dev/null +++ b/gnulib/modules/getopt @@ -0,0 +1,26 @@ +Description: +Process command line arguments. + +Status: +deprecated + +Notice: +This module is deprecated. Use the module 'getopt-posix' or 'getopt-gnu' instead. + +Files: + +Depends-on: +getopt-gnu + +configure.ac: + +Makefile.am: + +Include: +<getopt.h> + +License: +LGPL + +Maintainer: +all, glibc diff --git a/gnulib/modules/getopt-gnu b/gnulib/modules/getopt-gnu new file mode 100644 index 0000000..69fc7de --- /dev/null +++ b/gnulib/modules/getopt-gnu @@ -0,0 +1,32 @@ +Description: +GNU-like getopt() function, getopt_long() function, getopt_long_only() function: +process command line arguments. + +Files: + +Depends-on: +nocrash +getopt-posix + +configure.ac: +gl_FUNC_GETOPT_GNU +if test $REPLACE_GETOPT = 1; then + AC_LIBOBJ([getopt]) + AC_LIBOBJ([getopt1]) + gl_PREREQ_GETOPT + dnl Arrange for unistd.h to include getopt.h. + GNULIB_${gl_include_guard_prefix}_UNISTD_H_GETOPT=1 +fi +AC_SUBST([GNULIB_${gl_include_guard_prefix}_UNISTD_H_GETOPT]) +gl_MODULE_INDICATOR_FOR_TESTS([getopt-gnu]) + +Makefile.am: + +Include: +<getopt.h> + +License: +LGPLv2+ + +Maintainer: +all, glibc diff --git a/gnulib/modules/getopt-posix b/gnulib/modules/getopt-posix new file mode 100644 index 0000000..b82d6b2 --- /dev/null +++ b/gnulib/modules/getopt-posix @@ -0,0 +1,56 @@ +Description: +getopt() function: process command line arguments. + +Files: +lib/getopt.in.h +lib/getopt.c +lib/getopt1.c +lib/getopt_int.h +m4/getopt.m4 + +Depends-on: +unistd +extensions +include_next +snippet/arg-nonnull +gettext-h [test $REPLACE_GETOPT = 1] + +configure.ac: +gl_FUNC_GETOPT_POSIX +if test $REPLACE_GETOPT = 1; then + AC_LIBOBJ([getopt]) + AC_LIBOBJ([getopt1]) + gl_PREREQ_GETOPT + dnl Arrange for unistd.h to include getopt.h. + GNULIB_${gl_include_guard_prefix}_UNISTD_H_GETOPT=1 +fi +AC_SUBST([GNULIB_${gl_include_guard_prefix}_UNISTD_H_GETOPT]) + +Makefile.am: +BUILT_SOURCES += $(GETOPT_H) + +# We need the following in order to create <getopt.h> when the system +# doesn't have one that works with the given compiler. +getopt.h: getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H) + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ + -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \ + -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ + < $(srcdir)/getopt.in.h; \ + } > $@-t && \ + mv -f $@-t $@ +MOSTLYCLEANFILES += getopt.h getopt.h-t + +Include: +<unistd.h> + +License: +LGPLv2+ + +Maintainer: +all, glibc diff --git a/gnulib/modules/getopt-posix-tests b/gnulib/modules/getopt-posix-tests new file mode 100644 index 0000000..9c73d08 --- /dev/null +++ b/gnulib/modules/getopt-posix-tests @@ -0,0 +1,20 @@ +Files: +tests/macros.h +tests/signature.h +tests/test-getopt.c +tests/test-getopt.h +tests/test-getopt_long.h + +Depends-on: +dup2 +setenv +stdbool +unistd +unsetenv + +configure.ac: + +Makefile.am: +TESTS += test-getopt +check_PROGRAMS += test-getopt +test_getopt_LDADD = $(LDADD) $(LIBINTL) diff --git a/gnulib/modules/getpagesize b/gnulib/modules/getpagesize new file mode 100644 index 0000000..015fbe6 --- /dev/null +++ b/gnulib/modules/getpagesize @@ -0,0 +1,27 @@ +Description: +getpagesize() function: Return memory page size. + +Files: +lib/getpagesize.c +m4/getpagesize.m4 + +Depends-on: +unistd + +configure.ac: +gl_FUNC_GETPAGESIZE +if test $REPLACE_GETPAGESIZE = 1; then + AC_LIBOBJ([getpagesize]) +fi +gl_UNISTD_MODULE_INDICATOR([getpagesize]) + +Makefile.am: + +Include: +<unistd.h> + +License: +LGPLv2+ + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/getpass b/gnulib/modules/getpass new file mode 100644 index 0000000..c1cbc25 --- /dev/null +++ b/gnulib/modules/getpass @@ -0,0 +1,32 @@ +Description: +getpass() function: read a password from /dev/tty. + +Files: +lib/getpass.h +lib/getpass.c +m4/getpass.m4 + +Depends-on: +extensions +fseeko +getline +stdbool +strdup-posix + +configure.ac: +gl_FUNC_GETPASS +if test $HAVE_GETPASS = 0; then + AC_LIBOBJ([getpass]) + gl_PREREQ_GETPASS +fi + +Makefile.am: + +Include: +"getpass.h" + +License: +LGPLv2+ + +Maintainer: +Jim Meyering, glibc diff --git a/gnulib/modules/getpass-gnu b/gnulib/modules/getpass-gnu new file mode 100644 index 0000000..cd83015 --- /dev/null +++ b/gnulib/modules/getpass-gnu @@ -0,0 +1,30 @@ +Description: +getpass() function: read a password of arbitrary length from /dev/tty. + +Files: +lib/getpass.h +lib/getpass.c +m4/getpass.m4 + +Depends-on: +fseeko +getline +stdbool + +configure.ac: +gl_FUNC_GETPASS_GNU +if test $REPLACE_GETPASS = 1; then + AC_LIBOBJ([getpass]) + gl_PREREQ_GETPASS +fi + +Makefile.am: + +Include: +"getpass.h" + +License: +LGPL + +Maintainer: +Jim Meyering, glibc diff --git a/gnulib/modules/getpeername b/gnulib/modules/getpeername new file mode 100644 index 0000000..d1ef822 --- /dev/null +++ b/gnulib/modules/getpeername @@ -0,0 +1,34 @@ +Description: +getpeername() function: return information about the remote end of a connected +socket. + +Files: +lib/getpeername.c +lib/w32sock.h + +Depends-on: +sys_socket +socketlib +errno [test "$ac_cv_header_winsock2_h" = yes] +msvc-nothrow [test "$ac_cv_header_winsock2_h" = yes] + +configure.ac: +AC_REQUIRE([gl_HEADER_SYS_SOCKET]) +if test "$ac_cv_header_winsock2_h" = yes; then + AC_LIBOBJ([getpeername]) +fi +gl_SYS_SOCKET_MODULE_INDICATOR([getpeername]) + +Makefile.am: + +Include: +<sys/socket.h> + +Link: +$(LIBSOCKET) + +License: +LGPLv2+ + +Maintainer: +Paolo Bonzini, Simon Josefsson diff --git a/gnulib/modules/getpeername-tests b/gnulib/modules/getpeername-tests new file mode 100644 index 0000000..b77f58a --- /dev/null +++ b/gnulib/modules/getpeername-tests @@ -0,0 +1,15 @@ +Files: +tests/test-getpeername.c +tests/signature.h +tests/macros.h + +Depends-on: +netinet_in +sockets + +configure.ac: + +Makefile.am: +TESTS += test-getpeername +check_PROGRAMS += test-getpeername +test_getpeername_LDADD = $(LDADD) @LIBSOCKET@ diff --git a/gnulib/modules/getsockname b/gnulib/modules/getsockname new file mode 100644 index 0000000..15cf490 --- /dev/null +++ b/gnulib/modules/getsockname @@ -0,0 +1,34 @@ +Description: +getsockname() function: return information about the local end of a connected +socket. + +Files: +lib/getsockname.c +lib/w32sock.h + +Depends-on: +sys_socket +socketlib +errno [test "$ac_cv_header_winsock2_h" = yes] +msvc-nothrow [test "$ac_cv_header_winsock2_h" = yes] + +configure.ac: +AC_REQUIRE([gl_HEADER_SYS_SOCKET]) +if test "$ac_cv_header_winsock2_h" = yes; then + AC_LIBOBJ([getsockname]) +fi +gl_SYS_SOCKET_MODULE_INDICATOR([getsockname]) + +Makefile.am: + +Include: +<sys/socket.h> + +Link: +$(LIBSOCKET) + +License: +LGPLv2+ + +Maintainer: +Paolo Bonzini, Simon Josefsson diff --git a/gnulib/modules/getsockname-tests b/gnulib/modules/getsockname-tests new file mode 100644 index 0000000..0134e4c --- /dev/null +++ b/gnulib/modules/getsockname-tests @@ -0,0 +1,15 @@ +Files: +tests/test-getsockname.c +tests/signature.h +tests/macros.h + +Depends-on: +netinet_in +sockets + +configure.ac: + +Makefile.am: +TESTS += test-getsockname +check_PROGRAMS += test-getsockname +test_getsockname_LDADD = $(LDADD) @LIBSOCKET@ diff --git a/gnulib/modules/getsockopt b/gnulib/modules/getsockopt new file mode 100644 index 0000000..1cd1f2e --- /dev/null +++ b/gnulib/modules/getsockopt @@ -0,0 +1,34 @@ +Description: +getsockopt() function: retrieve optional settings on a socket. + +Files: +lib/getsockopt.c +lib/w32sock.h + +Depends-on: +sys_socket +socketlib +sys_time [test "$ac_cv_header_winsock2_h" = yes] +errno [test "$ac_cv_header_winsock2_h" = yes] +msvc-nothrow [test "$ac_cv_header_winsock2_h" = yes] + +configure.ac: +AC_REQUIRE([gl_HEADER_SYS_SOCKET]) +if test "$ac_cv_header_winsock2_h" = yes; then + AC_LIBOBJ([getsockopt]) +fi +gl_SYS_SOCKET_MODULE_INDICATOR([getsockopt]) + +Makefile.am: + +Include: +<sys/socket.h> + +Link: +$(LIBSOCKET) + +License: +LGPLv2+ + +Maintainer: +Paolo Bonzini, Simon Josefsson diff --git a/gnulib/modules/getsockopt-tests b/gnulib/modules/getsockopt-tests new file mode 100644 index 0000000..c6e5c16 --- /dev/null +++ b/gnulib/modules/getsockopt-tests @@ -0,0 +1,15 @@ +Files: +tests/test-getsockopt.c +tests/signature.h +tests/macros.h + +Depends-on: +netinet_in +sockets + +configure.ac: + +Makefile.am: +TESTS += test-getsockopt +check_PROGRAMS += test-getsockopt +test_getsockopt_LDADD = $(LDADD) @LIBSOCKET@ diff --git a/gnulib/modules/getsubopt b/gnulib/modules/getsubopt new file mode 100644 index 0000000..a544ca3 --- /dev/null +++ b/gnulib/modules/getsubopt @@ -0,0 +1,31 @@ +Description: +getsubopt: Parse comma separated list into words. + +Files: +lib/getsubopt.c +m4/getsubopt.m4 + +Depends-on: +stdlib +extensions +strchrnul [test $HAVE_GETSUBOPT = 0] +memchr [test $HAVE_GETSUBOPT = 0] + +configure.ac: +gl_FUNC_GETSUBOPT +if test $HAVE_GETSUBOPT = 0; then + AC_LIBOBJ([getsubopt]) + gl_PREREQ_GETSUBOPT +fi +gl_STDLIB_MODULE_INDICATOR([getsubopt]) + +Makefile.am: + +Include: +<stdlib.h> + +License: +LGPL + +Maintainer: +all, glibc diff --git a/gnulib/modules/gettext b/gnulib/modules/gettext new file mode 100644 index 0000000..ca0b684 --- /dev/null +++ b/gnulib/modules/gettext @@ -0,0 +1,68 @@ +Description: +Translate messages to user's native language. + +Notice: +You must add an invocation of AM_GNU_GETTEXT([external]) to configure.ac. + +Files: +m4/codeset.m4 +m4/fcntl-o.m4 +m4/gettext.m4 +m4/glibc2.m4 +m4/glibc21.m4 +m4/iconv.m4 +m4/intdiv0.m4 +m4/intl.m4 +m4/intldir.m4 +m4/intlmacosx.m4 +m4/intmax.m4 +m4/inttypes_h.m4 +m4/inttypes-pri.m4 +m4/lcmessage.m4 +m4/lock.m4 +m4/longlong.m4 +m4/nls.m4 +m4/po.m4 +m4/printf-posix.m4 +m4/progtest.m4 +m4/size_max.m4 +m4/stdint_h.m4 +m4/threadlib.m4 +m4/uintmax_t.m4 +m4/visibility.m4 +m4/wchar_t.m4 +m4/wint_t.m4 +m4/xsize.m4 +build-aux/config.rpath + +Depends-on: +extensions +gettext-h +havelib + +configure.ac: +AM_GNU_GETTEXT([external]) +AM_GNU_GETTEXT_VERSION([0.18.1]) + +Makefile.am: +# This is for those projects which use "gettextize --intl" to put a source-code +# copy of libintl into their package. In such projects, every Makefile.am needs +# -I$(top_builddir)/intl, so that <libintl.h> can be found in this directory. +# For the Makefile.ams in other directories it is the maintainer's +# responsibility; for the one from gnulib we do it here. +# This option has no effect when the user disables NLS (because then the intl +# directory contains no libintl.h file) or when the project does not use +# "gettextize --intl". +AM_CPPFLAGS += -I$(top_builddir)/intl + +Include: +"gettext.h" + +Link: +$(LTLIBINTL) when linking with libtool, $(LIBINTL) otherwise + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/gettext-h b/gnulib/modules/gettext-h new file mode 100644 index 0000000..a3dd23f --- /dev/null +++ b/gnulib/modules/gettext-h @@ -0,0 +1,26 @@ +Description: +Translate messages to user's native language if the gettext module is also used. + +Files: +lib/gettext.h + +Depends-on: + +configure.ac: +AC_SUBST([LIBINTL]) +AC_SUBST([LTLIBINTL]) + +Makefile.am: +lib_SOURCES += gettext.h + +Include: +"gettext.h" + +Link: +$(LTLIBINTL) when linking with libtool, $(LIBINTL) otherwise + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/gettime b/gnulib/modules/gettime new file mode 100644 index 0000000..e1efe76 --- /dev/null +++ b/gnulib/modules/gettime @@ -0,0 +1,31 @@ +Description: +Return current time, with nanosecond resolution. + +Files: +lib/gettime.c +m4/gettime.m4 + +Depends-on: +clock-time +gettimeofday +sys_time +timespec +extensions + +configure.ac: +gl_GETTIME + +Makefile.am: +lib_SOURCES += gettime.c + +Include: +"timespec.h" + +Link: +$(LIB_CLOCK_GETTIME) + +License: +GPL + +Maintainer: +Paul Eggert, Jim Meyering diff --git a/gnulib/modules/gettimeofday b/gnulib/modules/gettimeofday new file mode 100644 index 0000000..b4bdcc3 --- /dev/null +++ b/gnulib/modules/gettimeofday @@ -0,0 +1,28 @@ +Description: +gettimeofday() function: return current time. + +Files: +lib/gettimeofday.c +m4/gettimeofday.m4 + +Depends-on: +sys_time + +configure.ac: +gl_FUNC_GETTIMEOFDAY +if test $HAVE_GETTIMEOFDAY = 0 || test $REPLACE_GETTIMEOFDAY = 1; then + AC_LIBOBJ([gettimeofday]) + gl_PREREQ_GETTIMEOFDAY +fi +gl_SYS_TIME_MODULE_INDICATOR([gettimeofday]) + +Makefile.am: + +Include: +<sys/time.h> + +License: +LGPLv2+ + +Maintainer: +Paul Eggert, Jim Meyering diff --git a/gnulib/modules/gettimeofday-tests b/gnulib/modules/gettimeofday-tests new file mode 100644 index 0000000..996df8e --- /dev/null +++ b/gnulib/modules/gettimeofday-tests @@ -0,0 +1,12 @@ +Files: +tests/signature.h +tests/test-gettimeofday.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-gettimeofday +check_PROGRAMS += test-gettimeofday + diff --git a/gnulib/modules/getugroups b/gnulib/modules/getugroups new file mode 100644 index 0000000..c79c74b --- /dev/null +++ b/gnulib/modules/getugroups @@ -0,0 +1,25 @@ +Description: +Return the group IDs of a user. + +Files: +lib/getugroups.c +lib/getugroups.h +m4/getugroups.m4 + +Depends-on: +errno + +configure.ac: +gl_GETUGROUPS + +Makefile.am: +lib_SOURCES += getugroups.c + +Include: +"getugroups.h" + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/getusershell b/gnulib/modules/getusershell new file mode 100644 index 0000000..26f99e5 --- /dev/null +++ b/gnulib/modules/getusershell @@ -0,0 +1,30 @@ +Description: +Return names of valid user shells. + +Files: +lib/getusershell.c +m4/getusershell.m4 + +Depends-on: +unistd +extensions +fopen-safer [test $HAVE_GETUSERSHELL = 0] +xalloc [test $HAVE_GETUSERSHELL = 0] + +configure.ac: +gl_FUNC_GETUSERSHELL +if test $HAVE_GETUSERSHELL = 0; then + AC_LIBOBJ([getusershell]) +fi +gl_UNISTD_MODULE_INDICATOR([getusershell]) + +Makefile.am: + +Include: +<unistd.h> + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/git-merge-changelog b/gnulib/modules/git-merge-changelog new file mode 100644 index 0000000..857a8bc --- /dev/null +++ b/gnulib/modules/git-merge-changelog @@ -0,0 +1,41 @@ +Description: +git "merge" driver for GNU style ChangeLog files + +Files: +lib/git-merge-changelog.c + +Depends-on: +getopt-gnu +stdbool +stdlib +progname +error +read-file +xlist +array-list +linkedhash-list +linked-list +rbtreehash-list +xalloc +xmalloca +fstrcmp +minmax +c-strstr +fwriteerror +memchr +memcmp + +configure.ac: + +Makefile.am: +bin_PROGRAMS = git-merge-changelog +git_merge_changelog_LDADD = libgnu.a @LIBINTL@ $(LIBTHREAD) + +Include: + +License: +GPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/git-version-gen b/gnulib/modules/git-version-gen new file mode 100644 index 0000000..a783ac5 --- /dev/null +++ b/gnulib/modules/git-version-gen @@ -0,0 +1,19 @@ +Description: +Compute a version string from a git repository. + +Files: +build-aux/git-version-gen + +Depends-on: + +configure.ac: + +Makefile.am: + +Include: + +License: +GPLed build tool + +Maintainer: +coreutils diff --git a/gnulib/modules/gitlog-to-changelog b/gnulib/modules/gitlog-to-changelog new file mode 100644 index 0000000..4b40334 --- /dev/null +++ b/gnulib/modules/gitlog-to-changelog @@ -0,0 +1,19 @@ +Description: +Convert git log to ChangeLog + +Files: +build-aux/gitlog-to-changelog + +Depends-on: + +configure.ac: + +Makefile.am: + +Include: + +License: +GPLed build tool + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/glob b/gnulib/modules/glob new file mode 100644 index 0000000..cef81cc --- /dev/null +++ b/gnulib/modules/glob @@ -0,0 +1,69 @@ +Description: +glob() function: Search for files and directories with paths matching a +pattern, with GNU extensions. + +Files: +lib/glob.in.h +lib/glob-libc.h +lib/glob.c +m4/glob.m4 + +Depends-on: +extensions +largefile +snippet/arg-nonnull +snippet/c++defs +snippet/warn-on-use +alloca [test -n "$GLOB_H"] +closedir [test -n "$GLOB_H"] +d-type [test -n "$GLOB_H"] +dirfd [test -n "$GLOB_H"] +fnmatch [test -n "$GLOB_H"] +getlogin_r [test -n "$GLOB_H"] +memchr [test -n "$GLOB_H"] +mempcpy [test -n "$GLOB_H"] +opendir [test -n "$GLOB_H"] +readdir [test -n "$GLOB_H"] +stdbool [test -n "$GLOB_H"] +strdup [test -n "$GLOB_H"] +sys_stat [test -n "$GLOB_H"] +unistd [test -n "$GLOB_H"] +malloc-posix [test -n "$GLOB_H"] + +configure.ac: +gl_GLOB +if test -n "$GLOB_H"; then + AC_LIBOBJ([glob]) + gl_PREREQ_GLOB +fi + +Makefile.am: +BUILT_SOURCES += $(GLOB_H) + +# We need the following in order to create <glob.h> when the system +# doesn't have one that works with the given compiler. +if GL_GENERATE_GLOB_H +glob.h: glob.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's|@''HAVE_SYS_CDEFS_H''@|$(HAVE_SYS_CDEFS_H)|g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ + -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ + < $(srcdir)/glob.in.h; \ + } > $@-t && \ + mv -f $@-t $@ +else +glob.h: $(top_builddir)/config.status + rm -f $@ +endif +MOSTLYCLEANFILES += glob.h glob.h-t + +Include: +<glob.h> + +License: +LGPLv2+ + +Maintainer: +all, glibc diff --git a/gnulib/modules/glob-c++-tests b/gnulib/modules/glob-c++-tests new file mode 100644 index 0000000..daa3ec7 --- /dev/null +++ b/gnulib/modules/glob-c++-tests @@ -0,0 +1,19 @@ +Files: +tests/test-glob-c++.cc +tests/signature.h + +Status: +c++-test + +Depends-on: +ansi-c++-opt + +configure.ac: + +Makefile.am: +if ANSICXX +TESTS += test-glob-c++ +check_PROGRAMS += test-glob-c++ +test_glob_c___SOURCES = test-glob-c++.cc +test_glob_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_CLOCK_GETTIME) +endif diff --git a/gnulib/modules/glob-tests b/gnulib/modules/glob-tests new file mode 100644 index 0000000..151bc06 --- /dev/null +++ b/gnulib/modules/glob-tests @@ -0,0 +1,13 @@ +Files: +tests/test-glob.c +tests/signature.h +tests/macros.h + +Depends-on: +glob-c++-tests + +configure.ac: + +Makefile.am: +TESTS += test-glob +check_PROGRAMS += test-glob diff --git a/gnulib/modules/gnu-make b/gnulib/modules/gnu-make new file mode 100644 index 0000000..6d1c63a --- /dev/null +++ b/gnulib/modules/gnu-make @@ -0,0 +1,28 @@ +Description: +Determine whether recent-enough GNU Make is being used. + +Files: +m4/gnu-make.m4 + +Depends-on: + +configure.ac: +gl_GNU_MAKE + +Makefile.am: +##Sample usage of gnu-make module: +#if GNU_MAKE +# [nicer features that work only with GNU Make] +#else +# [fallback features that work in any 'make' implementation; see +# http://www.opengroup.org/susv3/utilities/make.html +# for the 2004 POSIX specification] +#endif + +Include: + +License: +GPLed build tool + +Maintainer: +Paul Eggert diff --git a/gnulib/modules/gnu-web-doc-update b/gnulib/modules/gnu-web-doc-update new file mode 100644 index 0000000..5b3e8ac --- /dev/null +++ b/gnulib/modules/gnu-web-doc-update @@ -0,0 +1,20 @@ +Description: +update the official GNU web documentation for your project + +Files: +build-aux/gnu-web-doc-update + +Depends-on: +gendocs + +configure.ac: + +Makefile.am: + +Include: + +License: +GPLed build tool + +Maintainer: +coreutils diff --git a/gnulib/modules/gnumakefile b/gnulib/modules/gnumakefile new file mode 100644 index 0000000..a86475a --- /dev/null +++ b/gnulib/modules/gnumakefile @@ -0,0 +1,32 @@ +Description: +Add GNU-make specific rules for maintainer use. + +Files: +top/GNUmakefile + +Depends-on: + +configure.ac: +# Autoconf 2.61a.99 and earlier don't support linking a file only +# in VPATH builds. But since GNUmakefile is for maintainer use +# only, it does not matter if we skip the link with older autoconf. +# Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH +# builds, so use a shell variable to bypass this. +GNUmakefile=GNUmakefile +m4_if(m4_version_compare([2.61a.100], + m4_defn([m4_PACKAGE_VERSION])), [1], [], + [AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile], [], + [GNUmakefile=$GNUmakefile])]) + +Makefile.am: +distclean-local: clean-GNUmakefile +clean-GNUmakefile: + test x'$(VPATH)' != x && rm -f $(top_builddir)/GNUmakefile || : + +Include: + +License: +GPLed build tool + +Maintainer: +coreutils diff --git a/gnulib/modules/gnupload b/gnulib/modules/gnupload new file mode 100644 index 0000000..6db4455 --- /dev/null +++ b/gnulib/modules/gnupload @@ -0,0 +1,21 @@ +Description: +Upload PGP signed files to gnu.org. +See http://www.gnu.org/prep/maintain/html_node/Automated-FTP-Uploads.html +for more information. + +Files: +build-aux/gnupload + +Depends-on: + +configure.ac: + +Makefile.am: + +Include: + +License: +GPLed build tool + +Maintainer: +coreutils diff --git a/gnulib/modules/gperf b/gnulib/modules/gperf new file mode 100644 index 0000000..4bc48b5 --- /dev/null +++ b/gnulib/modules/gperf @@ -0,0 +1,20 @@ +Description: +Provides the GNU gperf build tool. + +Files: + +Depends-on: + +configure.ac: + +Makefile.am: +GPERF = gperf + +Include: + +License: +unlimited + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/gpl-2.0 b/gnulib/modules/gpl-2.0 new file mode 100644 index 0000000..8633a5c --- /dev/null +++ b/gnulib/modules/gpl-2.0 @@ -0,0 +1,19 @@ +Description: +Provide the GNU General Public License version 2.0 in Texinfo format. + +Files: +doc/gpl-2.0.texi + +Depends-on: + +configure.ac: + +Makefile.am: + +Include: + +License: +unmodifiable license text + +Maintainer: +all diff --git a/gnulib/modules/gpl-3.0 b/gnulib/modules/gpl-3.0 new file mode 100644 index 0000000..95deef8 --- /dev/null +++ b/gnulib/modules/gpl-3.0 @@ -0,0 +1,19 @@ +Description: +Provide the GNU General Public License version 3.0 in Texinfo format. + +Files: +doc/gpl-3.0.texi + +Depends-on: + +configure.ac: + +Makefile.am: + +Include: + +License: +unmodifiable license text + +Maintainer: +all diff --git a/gnulib/modules/grantpt b/gnulib/modules/grantpt new file mode 100644 index 0000000..77c7bc3 --- /dev/null +++ b/gnulib/modules/grantpt @@ -0,0 +1,34 @@ +Description: +grantpt() function: Acquire ownership of the slave side of a pseudo-terminal. + +Files: +lib/grantpt.c +lib/pty-private.h +m4/grantpt.m4 + +Depends-on: +stdlib +extensions +fcntl-h [test $HAVE_GRANTPT = 0] +pt_chown [test $HAVE_GRANTPT = 0] +waitpid [test $HAVE_GRANTPT = 0] +configmake [test $HAVE_GRANTPT = 0] + +configure.ac: +gl_FUNC_GRANTPT +if test $HAVE_GRANTPT = 0; then + AC_LIBOBJ([grantpt]) + gl_PREREQ_GRANTPT +fi +gl_STDLIB_MODULE_INDICATOR([grantpt]) + +Makefile.am: + +Include: +<stdlib.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/grantpt-tests b/gnulib/modules/grantpt-tests new file mode 100644 index 0000000..b1fdae2 --- /dev/null +++ b/gnulib/modules/grantpt-tests @@ -0,0 +1,12 @@ +Files: +tests/test-grantpt.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-grantpt +check_PROGRAMS += test-grantpt diff --git a/gnulib/modules/group-member b/gnulib/modules/group-member new file mode 100644 index 0000000..6c5051d --- /dev/null +++ b/gnulib/modules/group-member @@ -0,0 +1,32 @@ +Description: +Determine whether the current process has the permissions of a given group ID. + +Files: +lib/group-member.c +m4/group-member.m4 + +Depends-on: +unistd +extensions +getgroups [test $HAVE_GROUP_MEMBER = 0] +xalloc [test $HAVE_GROUP_MEMBER = 0] +stdbool [test $HAVE_GROUP_MEMBER = 0] + +configure.ac: +gl_FUNC_GROUP_MEMBER +if test $HAVE_GROUP_MEMBER = 0; then + AC_LIBOBJ([group-member]) + gl_PREREQ_GROUP_MEMBER +fi +gl_UNISTD_MODULE_INDICATOR([group-member]) + +Makefile.am: + +Include: +<unistd.h> + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/hard-locale b/gnulib/modules/hard-locale new file mode 100644 index 0000000..88dff8e --- /dev/null +++ b/gnulib/modules/hard-locale @@ -0,0 +1,26 @@ +Description: +Determine whether the current locale is different from the "C" locale. + +Files: +lib/hard-locale.h +lib/hard-locale.c +m4/hard-locale.m4 + +Depends-on: +stdbool +strdup + +configure.ac: +gl_HARD_LOCALE + +Makefile.am: +lib_SOURCES += hard-locale.c + +Include: +"hard-locale.h" + +License: +GPL + +Maintainer: +Paul Eggert diff --git a/gnulib/modules/hash b/gnulib/modules/hash new file mode 100644 index 0000000..57585e1 --- /dev/null +++ b/gnulib/modules/hash @@ -0,0 +1,26 @@ +Description: +Parameterizable hash table. + +Files: +lib/hash.c +lib/hash.h + +Depends-on: +bitrotate +stdbool +stdint +xalloc-oversized + +configure.ac: + +Makefile.am: +lib_SOURCES += hash.c + +Include: +"hash.h" + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/hash-pjw b/gnulib/modules/hash-pjw new file mode 100644 index 0000000..2fa6edb --- /dev/null +++ b/gnulib/modules/hash-pjw @@ -0,0 +1,23 @@ +Description: +Compute a hash value for a NUL-terminated string. + +Files: +lib/hash-pjw.h +lib/hash-pjw.c + +Depends-on: + +configure.ac: + +Makefile.am: +lib_SOURCES += hash-pjw.h hash-pjw.c + +Include: +"hash-pjw.h" + +License: +GPL + +Maintainer: +Jim Meyering + diff --git a/gnulib/modules/hash-tests b/gnulib/modules/hash-tests new file mode 100644 index 0000000..72a6ae6 --- /dev/null +++ b/gnulib/modules/hash-tests @@ -0,0 +1,14 @@ +Files: +tests/test-hash.c +tests/macros.h + +Depends-on: +hash-pjw +inttostr +stdbool + +configure.ac: + +Makefile.am: +TESTS += test-hash +check_PROGRAMS += test-hash diff --git a/gnulib/modules/hash-triple b/gnulib/modules/hash-triple new file mode 100644 index 0000000..b746d47 --- /dev/null +++ b/gnulib/modules/hash-triple @@ -0,0 +1,25 @@ +Description: +Hash functions for file-related triples: name, device, inode. + +Files: +lib/hash-triple.c +lib/hash-triple.h + +Depends-on: +hash-pjw +same +same-inode + +configure.ac: + +Makefile.am: +lib_SOURCES += hash-triple.c + +Include: +"hash-triple.h" + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/havelib b/gnulib/modules/havelib new file mode 100644 index 0000000..fb274f9 --- /dev/null +++ b/gnulib/modules/havelib @@ -0,0 +1,22 @@ +Description: +Macros to search for libraries. + +Files: +m4/lib-ld.m4 +m4/lib-link.m4 +m4/lib-prefix.m4 +build-aux/config.rpath + +Depends-on: + +configure.ac: + +Makefile.am: + +Include: + +License: +unlimited + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/havelib-tests b/gnulib/modules/havelib-tests new file mode 100644 index 0000000..6a60b56 --- /dev/null +++ b/gnulib/modules/havelib-tests @@ -0,0 +1,297 @@ +Status: +longrunning-test +unportable-test + +Files: +tests/havelib/README +tests/havelib/Makefile.am +tests/havelib/rpath-1 +tests/havelib/rpath-1a +tests/havelib/rpath-1b +tests/havelib/rpath-2_a +tests/havelib/rpath-2_b +tests/havelib/rpath-2aaa +tests/havelib/rpath-2aab +tests/havelib/rpath-2aac +tests/havelib/rpath-2aad +tests/havelib/rpath-2aba +tests/havelib/rpath-2abb +tests/havelib/rpath-2abc +tests/havelib/rpath-2abd +tests/havelib/rpath-2baa +tests/havelib/rpath-2bab +tests/havelib/rpath-2bac +tests/havelib/rpath-2bad +tests/havelib/rpath-2bba +tests/havelib/rpath-2bbb +tests/havelib/rpath-2bbc +tests/havelib/rpath-2bbd +tests/havelib/rpath-3_a +tests/havelib/rpath-3_b +tests/havelib/rpath-3aaa +tests/havelib/rpath-3aab +tests/havelib/rpath-3aac +tests/havelib/rpath-3aad +tests/havelib/rpath-3aae +tests/havelib/rpath-3aaf +tests/havelib/rpath-3aag +tests/havelib/rpath-3aah +tests/havelib/rpath-3aba +tests/havelib/rpath-3abb +tests/havelib/rpath-3abc +tests/havelib/rpath-3abd +tests/havelib/rpath-3abe +tests/havelib/rpath-3abf +tests/havelib/rpath-3abg +tests/havelib/rpath-3abh +tests/havelib/rpath-3baa +tests/havelib/rpath-3bab +tests/havelib/rpath-3bac +tests/havelib/rpath-3bad +tests/havelib/rpath-3bae +tests/havelib/rpath-3baf +tests/havelib/rpath-3bag +tests/havelib/rpath-3bah +tests/havelib/rpath-3bba +tests/havelib/rpath-3bbb +tests/havelib/rpath-3bbc +tests/havelib/rpath-3bbd +tests/havelib/rpath-3bbe +tests/havelib/rpath-3bbf +tests/havelib/rpath-3bbg +tests/havelib/rpath-3bbh +tests/havelib/rpathx/rpathx.c +tests/havelib/rpathx/Makefile.am +tests/havelib/rpathx/configure.ac +tests/havelib/rpathy/rpathy.c +tests/havelib/rpathy/Makefile.am +tests/havelib/rpathy/configure.ac +tests/havelib/rpathz/rpathz.c +tests/havelib/rpathz/Makefile.am +tests/havelib/rpathz/configure.ac +tests/havelib/rpathlx/usex.c +tests/havelib/rpathlx/Makefile.am +tests/havelib/rpathlx/configure.ac +tests/havelib/rpathly/usey.c +tests/havelib/rpathly/Makefile.am +tests/havelib/rpathly/configure.ac +tests/havelib/rpathlz/usez.c +tests/havelib/rpathlz/Makefile.am +tests/havelib/rpathlz/configure.ac +tests/havelib/rpathlyx/usey.c +tests/havelib/rpathlyx/Makefile.am +tests/havelib/rpathlyx/configure.ac +tests/havelib/rpathlzyx/usez.c +tests/havelib/rpathlzyx/Makefile.am +tests/havelib/rpathlzyx/configure.ac +tests/havelib/rpathcfg.sh + +Depends-on: + +configure.ac: +HAVELIB_M4_BASE="${gl_m4_base}" +AC_SUBST([HAVELIB_M4_BASE]) + +AC_LIB_PREPARE_MULTILIB +LIBDIRSTEM=$acl_libdirstem +AC_SUBST([LIBDIRSTEM]) + +dnl Checks for tests/rpathcfg. +AC_SUBST([GCC]) +AC_SUBST([LD]) +AC_SUBST([with_gnu_ld]) + +AC_CONFIG_FILES([havelib/Makefile]) + +Makefile.am: +SUBDIRS += havelib + + +# These variables can be overridden on the 'make' command line. +ACLOCAL = aclocal +AUTOCONF = autoconf +AUTOMAKE = automake +LIBTOOLIZE = libtoolize + +HAVELIB_GENERATED_FILES = \ + havelib/Makefile.in \ + havelib/rpathx/Makefile.in \ + havelib/rpathx/aclocal.m4 \ + havelib/rpathx/configure \ + havelib/rpathy/Makefile.in \ + havelib/rpathy/aclocal.m4 \ + havelib/rpathy/configure \ + havelib/rpathz/Makefile.in \ + havelib/rpathz/aclocal.m4 \ + havelib/rpathz/configure \ + havelib/rpathlx/Makefile.in \ + havelib/rpathlx/aclocal.m4 \ + havelib/rpathlx/configure \ + havelib/rpathly/Makefile.in \ + havelib/rpathly/aclocal.m4 \ + havelib/rpathly/configure \ + havelib/rpathlz/Makefile.in \ + havelib/rpathlz/aclocal.m4 \ + havelib/rpathlz/configure \ + havelib/rpathlyx/Makefile.in \ + havelib/rpathlyx/aclocal.m4 \ + havelib/rpathlyx/configure \ + havelib/rpathlzyx/Makefile.in \ + havelib/rpathlzyx/aclocal.m4 \ + havelib/rpathlzyx/configure + +BUILT_SOURCES += \ + havelib/Makefile.in \ + havelib/rpathx/Makefile.in \ + havelib/rpathx/aclocal.m4 \ + havelib/rpathx/configure \ + havelib/rpathy/Makefile.in \ + havelib/rpathy/aclocal.m4 \ + havelib/rpathy/configure \ + havelib/rpathz/Makefile.in \ + havelib/rpathz/aclocal.m4 \ + havelib/rpathz/configure \ + havelib/rpathlx/Makefile.in \ + havelib/rpathlx/aclocal.m4 \ + havelib/rpathlx/configure \ + havelib/rpathly/Makefile.in \ + havelib/rpathly/aclocal.m4 \ + havelib/rpathly/configure \ + havelib/rpathlz/Makefile.in \ + havelib/rpathlz/aclocal.m4 \ + havelib/rpathlz/configure \ + havelib/rpathlyx/Makefile.in \ + havelib/rpathlyx/aclocal.m4 \ + havelib/rpathlyx/configure \ + havelib/rpathlzyx/Makefile.in \ + havelib/rpathlzyx/aclocal.m4 \ + havelib/rpathlzyx/configure + +$(srcdir)/havelib/Makefile.in: $(srcdir)/havelib/Makefile.am + cd $(srcdir) && $(AUTOMAKE) havelib/Makefile + +# Subdirectories with separate autoconfiguration. + +$(srcdir)/havelib/rpathx/Makefile.in: $(srcdir)/havelib/rpathx/Makefile.am $(srcdir)/havelib/rpathx/configure.ac $(srcdir)/havelib/rpathx/aclocal.m4 + cd $(srcdir)/havelib/rpathx && $(AUTOMAKE) Makefile +$(srcdir)/havelib/rpathx/aclocal.m4: $(srcdir)/havelib/rpathx/configure.ac + cd $(srcdir)/havelib/rpathx && $(LIBTOOLIZE) --copy + abs_m4_dir=`cd $(top_srcdir)/@HAVELIB_M4_BASE@ && pwd`; cd $(srcdir)/havelib/rpathx && $(ACLOCAL) -I "$$abs_m4_dir" -I `cd ../ltm4 && pwd` +$(srcdir)/havelib/rpathx/configure: $(srcdir)/havelib/rpathx/configure.ac $(srcdir)/havelib/rpathx/aclocal.m4 + cd $(srcdir)/havelib/rpathx && $(AUTOCONF) + +$(srcdir)/havelib/rpathy/Makefile.in: $(srcdir)/havelib/rpathy/Makefile.am $(srcdir)/havelib/rpathy/configure.ac $(srcdir)/havelib/rpathy/aclocal.m4 + cd $(srcdir)/havelib/rpathy && $(AUTOMAKE) Makefile +$(srcdir)/havelib/rpathy/aclocal.m4: $(srcdir)/havelib/rpathy/configure.ac $(top_srcdir)/@HAVELIB_M4_BASE@/lib-link.m4 $(top_srcdir)/@HAVELIB_M4_BASE@/lib-prefix.m4 $(top_srcdir)/@HAVELIB_M4_BASE@/lib-ld.m4 + cd $(srcdir)/havelib/rpathy && $(LIBTOOLIZE) --copy + abs_m4_dir=`cd $(top_srcdir)/@HAVELIB_M4_BASE@ && pwd`; cd $(srcdir)/havelib/rpathy && $(ACLOCAL) -I "$$abs_m4_dir" -I `cd ../ltm4 && pwd` +$(srcdir)/havelib/rpathy/configure: $(srcdir)/havelib/rpathy/configure.ac $(srcdir)/havelib/rpathy/aclocal.m4 + cd $(srcdir)/havelib/rpathy && $(AUTOCONF) + +$(srcdir)/havelib/rpathz/Makefile.in: $(srcdir)/havelib/rpathz/Makefile.am $(srcdir)/havelib/rpathz/configure.ac $(srcdir)/havelib/rpathz/aclocal.m4 + cd $(srcdir)/havelib/rpathz && $(AUTOMAKE) Makefile +$(srcdir)/havelib/rpathz/aclocal.m4: $(srcdir)/havelib/rpathz/configure.ac $(top_srcdir)/@HAVELIB_M4_BASE@/lib-link.m4 $(top_srcdir)/@HAVELIB_M4_BASE@/lib-prefix.m4 $(top_srcdir)/@HAVELIB_M4_BASE@/lib-ld.m4 + cd $(srcdir)/havelib/rpathz && $(LIBTOOLIZE) --copy + abs_m4_dir=`cd $(top_srcdir)/@HAVELIB_M4_BASE@ && pwd`; cd $(srcdir)/havelib/rpathz && $(ACLOCAL) -I "$$abs_m4_dir" -I `cd ../ltm4 && pwd` +$(srcdir)/havelib/rpathz/configure: $(srcdir)/havelib/rpathz/configure.ac $(srcdir)/havelib/rpathz/aclocal.m4 + cd $(srcdir)/havelib/rpathz && $(AUTOCONF) + +$(srcdir)/havelib/rpathlx/Makefile.in: $(srcdir)/havelib/rpathlx/Makefile.am $(srcdir)/havelib/rpathlx/configure.ac $(srcdir)/havelib/rpathlx/aclocal.m4 + cd $(srcdir)/havelib/rpathlx && $(AUTOMAKE) Makefile +$(srcdir)/havelib/rpathlx/aclocal.m4: $(srcdir)/havelib/rpathlx/configure.ac $(top_srcdir)/@HAVELIB_M4_BASE@/lib-link.m4 $(top_srcdir)/@HAVELIB_M4_BASE@/lib-prefix.m4 $(top_srcdir)/@HAVELIB_M4_BASE@/lib-ld.m4 + abs_m4_dir=`cd $(top_srcdir)/@HAVELIB_M4_BASE@ && pwd`; cd $(srcdir)/havelib/rpathlx && $(ACLOCAL) -I "$$abs_m4_dir" +$(srcdir)/havelib/rpathlx/configure: $(srcdir)/havelib/rpathlx/configure.ac $(srcdir)/havelib/rpathlx/aclocal.m4 + cd $(srcdir)/havelib/rpathlx && $(AUTOCONF) + +$(srcdir)/havelib/rpathly/Makefile.in: $(srcdir)/havelib/rpathly/Makefile.am $(srcdir)/havelib/rpathly/configure.ac $(srcdir)/havelib/rpathly/aclocal.m4 + cd $(srcdir)/havelib/rpathly && $(AUTOMAKE) Makefile +$(srcdir)/havelib/rpathly/aclocal.m4: $(srcdir)/havelib/rpathly/configure.ac $(top_srcdir)/@HAVELIB_M4_BASE@/lib-link.m4 $(top_srcdir)/@HAVELIB_M4_BASE@/lib-prefix.m4 $(top_srcdir)/@HAVELIB_M4_BASE@/lib-ld.m4 + abs_m4_dir=`cd $(top_srcdir)/@HAVELIB_M4_BASE@ && pwd`; cd $(srcdir)/havelib/rpathly && $(ACLOCAL) -I "$$abs_m4_dir" +$(srcdir)/havelib/rpathly/configure: $(srcdir)/havelib/rpathly/configure.ac $(srcdir)/havelib/rpathly/aclocal.m4 + cd $(srcdir)/havelib/rpathly && $(AUTOCONF) + +$(srcdir)/havelib/rpathlyx/Makefile.in: $(srcdir)/havelib/rpathlyx/Makefile.am $(srcdir)/havelib/rpathlyx/configure.ac $(srcdir)/havelib/rpathlyx/aclocal.m4 + cd $(srcdir)/havelib/rpathlyx && $(AUTOMAKE) Makefile +$(srcdir)/havelib/rpathlyx/aclocal.m4: $(srcdir)/havelib/rpathlyx/configure.ac $(top_srcdir)/@HAVELIB_M4_BASE@/lib-link.m4 $(top_srcdir)/@HAVELIB_M4_BASE@/lib-prefix.m4 $(top_srcdir)/@HAVELIB_M4_BASE@/lib-ld.m4 + abs_m4_dir=`cd $(top_srcdir)/@HAVELIB_M4_BASE@ && pwd`; cd $(srcdir)/havelib/rpathlyx && $(ACLOCAL) -I "$$abs_m4_dir" +$(srcdir)/havelib/rpathlyx/configure: $(srcdir)/havelib/rpathlyx/configure.ac $(srcdir)/havelib/rpathlyx/aclocal.m4 + cd $(srcdir)/havelib/rpathlyx && $(AUTOCONF) + +$(srcdir)/havelib/rpathlz/Makefile.in: $(srcdir)/havelib/rpathlz/Makefile.am $(srcdir)/havelib/rpathlz/configure.ac $(srcdir)/havelib/rpathlz/aclocal.m4 + cd $(srcdir)/havelib/rpathlz && $(AUTOMAKE) Makefile +$(srcdir)/havelib/rpathlz/aclocal.m4: $(srcdir)/havelib/rpathlz/configure.ac $(top_srcdir)/@HAVELIB_M4_BASE@/lib-link.m4 $(top_srcdir)/@HAVELIB_M4_BASE@/lib-prefix.m4 $(top_srcdir)/@HAVELIB_M4_BASE@/lib-ld.m4 + abs_m4_dir=`cd $(top_srcdir)/@HAVELIB_M4_BASE@ && pwd`; cd $(srcdir)/havelib/rpathlz && $(ACLOCAL) -I "$$abs_m4_dir" +$(srcdir)/havelib/rpathlz/configure: $(srcdir)/havelib/rpathlz/configure.ac $(srcdir)/havelib/rpathlz/aclocal.m4 + cd $(srcdir)/havelib/rpathlz && $(AUTOCONF) + +$(srcdir)/havelib/rpathlzyx/Makefile.in: $(srcdir)/havelib/rpathlzyx/Makefile.am $(srcdir)/havelib/rpathlzyx/configure.ac $(srcdir)/havelib/rpathlzyx/aclocal.m4 + cd $(srcdir)/havelib/rpathlzyx && $(AUTOMAKE) Makefile +$(srcdir)/havelib/rpathlzyx/aclocal.m4: $(srcdir)/havelib/rpathlzyx/configure.ac $(top_srcdir)/@HAVELIB_M4_BASE@/lib-link.m4 $(top_srcdir)/@HAVELIB_M4_BASE@/lib-prefix.m4 $(top_srcdir)/@HAVELIB_M4_BASE@/lib-ld.m4 + abs_m4_dir=`cd $(top_srcdir)/@HAVELIB_M4_BASE@ && pwd`; cd $(srcdir)/havelib/rpathlzyx && $(ACLOCAL) -I "$$abs_m4_dir" +$(srcdir)/havelib/rpathlzyx/configure: $(srcdir)/havelib/rpathlzyx/configure.ac $(srcdir)/havelib/rpathlzyx/aclocal.m4 + cd $(srcdir)/havelib/rpathlzyx && $(AUTOCONF) + +MAINTAINERCLEANFILES += $(HAVELIB_GENERATED_FILES) +EXTRA_DIST += $(HAVELIB_GENERATED_FILES) + +# Libtool's infrastructure is installed in +# - $(top_srcdir)/build-aux/ltmain.sh, which gets distributed, +# - $(srcdir)/havelib/ltm4/*.m4, which don't need to be distributed, because +# they are included in each havelib/rpath*/aclocal.m4 file. + +EXTRA_DIST += $(top_srcdir)/build-aux/ltmain.sh + +mostlyclean-local: mostlyclean-local-havelib + +mostlyclean-local-havelib: + rm -rf $(srcdir)/havelib/ltm4 + + +# The AC_CONFIG_AUX_DIR argument in the havelib/rpath*/configure.ac files is +# interpreted in two different contexts: +# 1. at "make distrib" time, when we call automake, relative to +# SRCDIR/havelib/rpath*/, +# 2. at "make check" time, when the directory is copied and configured, +# relative to BUILDDIR/havelib/tst/dir/rp-*/. +# We choose this argument to be '../../../build-aux', for case 1, and therefore +# we need to make a local copy of the build-aux directory, for case 2. + +HAVELIB_COPIED_FILES = \ + havelib/build-aux/config.guess \ + havelib/build-aux/config.sub \ + havelib/build-aux/install-sh \ + havelib/build-aux/ltmain.sh \ + havelib/build-aux/missing \ + havelib/build-aux/config.rpath + +all-local: $(HAVELIB_COPIED_FILES) + +havelib/build-aux-dir: + test -d havelib/build-aux || mkdir havelib/build-aux + touch havelib/build-aux-dir + +havelib/build-aux/config.guess: $(top_srcdir)/build-aux/config.guess havelib/build-aux-dir + cp $(top_srcdir)/build-aux/config.guess havelib/build-aux/config.guess + +havelib/build-aux/config.sub: $(top_srcdir)/build-aux/config.sub havelib/build-aux-dir + cp $(top_srcdir)/build-aux/config.sub havelib/build-aux/config.sub + +havelib/build-aux/install-sh: $(top_srcdir)/build-aux/install-sh havelib/build-aux-dir + cp $(top_srcdir)/build-aux/install-sh havelib/build-aux/install-sh + +havelib/build-aux/ltmain.sh: $(top_srcdir)/build-aux/ltmain.sh havelib/build-aux-dir + cp $(top_srcdir)/build-aux/ltmain.sh havelib/build-aux/ltmain.sh + +havelib/build-aux/missing: $(top_srcdir)/build-aux/missing havelib/build-aux-dir + cp $(top_srcdir)/build-aux/missing havelib/build-aux/missing + +havelib/build-aux/config.rpath: $(top_srcdir)/build-aux/config.rpath havelib/build-aux-dir + cp $(top_srcdir)/build-aux/config.rpath havelib/build-aux/config.rpath + +DISTCLEANFILES += $(HAVELIB_COPIED_FILES) + +distclean-local: distclean-local-havelib + +distclean-local-havelib: + rm -rf havelib/build-aux havelib/build-aux-dir +.PHONY: distclean-local-havelib diff --git a/gnulib/modules/host-cpu-c-abi b/gnulib/modules/host-cpu-c-abi new file mode 100644 index 0000000..2064d2f --- /dev/null +++ b/gnulib/modules/host-cpu-c-abi @@ -0,0 +1,20 @@ +Description: +Determine canonical name of CPU and C ABI. + +Files: +m4/host-cpu-c-abi.m4 + +Depends-on: + +configure.ac: +gl_HOST_CPU_C_ABI + +Makefile.am: + +Include: + +License: +unlimited + +Maintainer: +Bruno Haible, Sam Steingold diff --git a/gnulib/modules/host-os b/gnulib/modules/host-os new file mode 100644 index 0000000..12692db --- /dev/null +++ b/gnulib/modules/host-os @@ -0,0 +1,20 @@ +Description: +Define HOST_OPERATING_SYSTEM to a name for the host operating system. + +Files: +m4/host-os.m4 + +Depends-on: + +configure.ac: +gl_HOST_OS + +Makefile.am: + +Include: + +License: +GPL + +Maintainer: +Paul Eggert, Jim Meyering diff --git a/gnulib/modules/hostent b/gnulib/modules/hostent new file mode 100644 index 0000000..029b457 --- /dev/null +++ b/gnulib/modules/hostent @@ -0,0 +1,27 @@ +Description: +Library containing gethostent(), sethostent(), endhostent(), gethostbyname(), +gethostbyaddr(). + +Files: +m4/hostent.m4 + +Depends-on: +sys_socket + +configure.ac: +gl_HOSTENT + +Makefile.am: + +Include: +<netdb.h> + +Link: +$(HOSTENT_LIB) + +License: +LGPLv2+ + +Maintainer: +Bruno Haible, Simon Josefsson + diff --git a/gnulib/modules/human b/gnulib/modules/human new file mode 100644 index 0000000..a88b15e --- /dev/null +++ b/gnulib/modules/human @@ -0,0 +1,32 @@ +Description: +Convert a number (usually a file size) to a human readable string, possibly +with K/M/G suffix. + +Files: +lib/human.h +lib/human.c +m4/human.m4 + +Depends-on: +argmatch +error +intprops +memmove +xstrtoumax +stdbool +stdint + +configure.ac: +gl_HUMAN + +Makefile.am: +lib_SOURCES += human.c + +Include: +"human.h" + +License: +GPL + +Maintainer: +Paul Eggert diff --git a/gnulib/modules/hypot b/gnulib/modules/hypot new file mode 100644 index 0000000..fc13752 --- /dev/null +++ b/gnulib/modules/hypot @@ -0,0 +1,24 @@ +Description: +hypot() function: length of a vector in the plane. + +Files: +m4/mathfunc.m4 + +Depends-on: + +configure.ac: +gl_COMMON_DOUBLE_MATHFUNC([hypot]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(HYPOT_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/hypot-tests b/gnulib/modules/hypot-tests new file mode 100644 index 0000000..f4b65d0 --- /dev/null +++ b/gnulib/modules/hypot-tests @@ -0,0 +1,13 @@ +Files: +tests/test-hypot.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-hypot +check_PROGRAMS += test-hypot +test_hypot_LDADD = $(LDADD) @HYPOT_LIBM@ diff --git a/gnulib/modules/i-ring b/gnulib/modules/i-ring new file mode 100644 index 0000000..3749706 --- /dev/null +++ b/gnulib/modules/i-ring @@ -0,0 +1,26 @@ +Description: +a simple ring buffer + +Files: +lib/i-ring.h +lib/i-ring.c +m4/i-ring.m4 + +Depends-on: +stdbool +verify + +configure.ac: +gl_I_RING + +Makefile.am: +lib_SOURCES += i-ring.c + +Include: +"i-ring.h" + +License: +LGPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/i-ring-tests b/gnulib/modules/i-ring-tests new file mode 100644 index 0000000..96361c9 --- /dev/null +++ b/gnulib/modules/i-ring-tests @@ -0,0 +1,11 @@ +Files: +tests/test-i-ring.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-i-ring +check_PROGRAMS += test-i-ring diff --git a/gnulib/modules/iconv b/gnulib/modules/iconv new file mode 100644 index 0000000..105b166 --- /dev/null +++ b/gnulib/modules/iconv @@ -0,0 +1,30 @@ +Description: +Character set conversion. + +Files: +m4/iconv.m4 + +Depends-on: +havelib + +configure.ac: +AM_ICONV +m4_ifdef([gl_ICONV_MODULE_INDICATOR], + [gl_ICONV_MODULE_INDICATOR([iconv])]) + +Makefile.am: + +Include: +#if HAVE_ICONV +# include <iconv.h> +#endif + +Link: +$(LTLIBICONV) when linking with libtool, $(LIBICONV) otherwise + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/iconv-h b/gnulib/modules/iconv-h new file mode 100644 index 0000000..e20b073 --- /dev/null +++ b/gnulib/modules/iconv-h @@ -0,0 +1,55 @@ +Description: +A GNU-like <iconv.h>. + +Files: +lib/iconv.in.h +m4/iconv_h.m4 + +Depends-on: +include_next +snippet/arg-nonnull +snippet/c++defs +snippet/warn-on-use + +configure.ac: +gl_ICONV_H + +Makefile.am: +BUILT_SOURCES += $(ICONV_H) + +# We need the following in order to create <iconv.h> when the system +# doesn't have one that works with the given compiler. +if GL_GENERATE_ICONV_H +iconv.h: iconv.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ + sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_ICONV_H''@|$(NEXT_ICONV_H)|g' \ + -e 's/@''GNULIB_ICONV''@/$(GNULIB_ICONV)/g' \ + -e 's|@''ICONV_CONST''@|$(ICONV_CONST)|g' \ + -e 's|@''REPLACE_ICONV''@|$(REPLACE_ICONV)|g' \ + -e 's|@''REPLACE_ICONV_OPEN''@|$(REPLACE_ICONV_OPEN)|g' \ + -e 's|@''REPLACE_ICONV_UTF''@|$(REPLACE_ICONV_UTF)|g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ + -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ + < $(srcdir)/iconv.in.h; \ + } > $@-t && \ + mv $@-t $@ +else +iconv.h: $(top_builddir)/config.status + rm -f $@ +endif +MOSTLYCLEANFILES += iconv.h iconv.h-t + +Include: +<iconv.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/iconv-h-c++-tests b/gnulib/modules/iconv-h-c++-tests new file mode 100644 index 0000000..cc41b11 --- /dev/null +++ b/gnulib/modules/iconv-h-c++-tests @@ -0,0 +1,19 @@ +Files: +tests/test-iconv-h-c++.cc +tests/signature.h + +Status: +c++-test + +Depends-on: +ansi-c++-opt + +configure.ac: + +Makefile.am: +if ANSICXX +TESTS += test-iconv-h-c++ +check_PROGRAMS += test-iconv-h-c++ +test_iconv_h_c___SOURCES = test-iconv-h-c++.cc +test_iconv_h_c___LDADD = $(LDADD) $(LIBINTL) $(LIBICONV) $(LIB_NANOSLEEP) +endif diff --git a/gnulib/modules/iconv-h-tests b/gnulib/modules/iconv-h-tests new file mode 100644 index 0000000..de2401f --- /dev/null +++ b/gnulib/modules/iconv-h-tests @@ -0,0 +1,11 @@ +Files: +tests/test-iconv-h.c + +Depends-on: +iconv-h-c++-tests + +configure.ac: + +Makefile.am: +TESTS += test-iconv-h +check_PROGRAMS += test-iconv-h diff --git a/gnulib/modules/iconv-tests b/gnulib/modules/iconv-tests new file mode 100644 index 0000000..91e17f0 --- /dev/null +++ b/gnulib/modules/iconv-tests @@ -0,0 +1,14 @@ +Files: +tests/test-iconv.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-iconv +check_PROGRAMS += test-iconv +test_iconv_LDADD = $(LDADD) @LIBICONV@ + diff --git a/gnulib/modules/iconv_open b/gnulib/modules/iconv_open new file mode 100644 index 0000000..c965b8f --- /dev/null +++ b/gnulib/modules/iconv_open @@ -0,0 +1,66 @@ +Description: +Character set conversion. + +Files: +lib/iconv_open.c +lib/iconv_open-aix.gperf +lib/iconv_open-hpux.gperf +lib/iconv_open-irix.gperf +lib/iconv_open-osf.gperf +lib/iconv_open-solaris.gperf +lib/iconv.c +lib/iconv_close.c +m4/iconv_open.m4 + +Depends-on: +gperf +iconv-h +iconv +c-ctype [test $REPLACE_ICONV_OPEN = 1] +c-strcase [test $REPLACE_ICONV_OPEN = 1] +stdint [test $REPLACE_ICONV_UTF = 1] +unistr/u8-mbtoucr [test $REPLACE_ICONV_UTF = 1] +unistr/u8-uctomb [test $REPLACE_ICONV_UTF = 1] + +configure.ac: +gl_FUNC_ICONV_OPEN +if test $REPLACE_ICONV_OPEN = 1; then + AC_LIBOBJ([iconv_open]) +fi +if test $REPLACE_ICONV = 1; then + AC_LIBOBJ([iconv]) + AC_LIBOBJ([iconv_close]) +fi + +Makefile.am: +iconv_open-aix.h: iconv_open-aix.gperf + $(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > $(srcdir)/iconv_open-aix.h-t + mv $(srcdir)/iconv_open-aix.h-t $(srcdir)/iconv_open-aix.h +iconv_open-hpux.h: iconv_open-hpux.gperf + $(GPERF) -m 10 $(srcdir)/iconv_open-hpux.gperf > $(srcdir)/iconv_open-hpux.h-t + mv $(srcdir)/iconv_open-hpux.h-t $(srcdir)/iconv_open-hpux.h +iconv_open-irix.h: iconv_open-irix.gperf + $(GPERF) -m 10 $(srcdir)/iconv_open-irix.gperf > $(srcdir)/iconv_open-irix.h-t + mv $(srcdir)/iconv_open-irix.h-t $(srcdir)/iconv_open-irix.h +iconv_open-osf.h: iconv_open-osf.gperf + $(GPERF) -m 10 $(srcdir)/iconv_open-osf.gperf > $(srcdir)/iconv_open-osf.h-t + mv $(srcdir)/iconv_open-osf.h-t $(srcdir)/iconv_open-osf.h +iconv_open-solaris.h: iconv_open-solaris.gperf + $(GPERF) -m 10 $(srcdir)/iconv_open-solaris.gperf > $(srcdir)/iconv_open-solaris.h-t + mv $(srcdir)/iconv_open-solaris.h-t $(srcdir)/iconv_open-solaris.h +BUILT_SOURCES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h +MOSTLYCLEANFILES += iconv_open-aix.h-t iconv_open-hpux.h-t iconv_open-irix.h-t iconv_open-osf.h-t iconv_open-solaris.h-t +MAINTAINERCLEANFILES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h +EXTRA_DIST += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h + +Include: +<iconv.h> + +Link: +$(LTLIBICONV) when linking with libtool, $(LIBICONV) otherwise + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/iconv_open-utf b/gnulib/modules/iconv_open-utf new file mode 100644 index 0000000..7f3eae7 --- /dev/null +++ b/gnulib/modules/iconv_open-utf @@ -0,0 +1,24 @@ +Description: +Character set conversion support for UTF-{16,32}{BE,LE} encodings. + +Files: +m4/iconv_open-utf.m4 + +Depends-on: +iconv_open + +configure.ac: +gl_FUNC_ICONV_OPEN_UTF + +Makefile.am: + +Include: + +Link: + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/iconv_open-utf-tests b/gnulib/modules/iconv_open-utf-tests new file mode 100644 index 0000000..3e3c988 --- /dev/null +++ b/gnulib/modules/iconv_open-utf-tests @@ -0,0 +1,13 @@ +Files: +tests/test-iconv-utf.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-iconv-utf +check_PROGRAMS += test-iconv-utf +test_iconv_utf_LDADD = $(LDADD) @LIBICONV@ + diff --git a/gnulib/modules/idcache b/gnulib/modules/idcache new file mode 100644 index 0000000..72b7b91 --- /dev/null +++ b/gnulib/modules/idcache @@ -0,0 +1,26 @@ +Description: +Username <--> uid and groupname <--> gid conversions, with cache for speed. + +Files: +lib/idcache.c +lib/idcache.h +m4/idcache.m4 + +Depends-on: +flexmember +xalloc + +configure.ac: +gl_IDCACHE + +Makefile.am: +lib_SOURCES += idcache.c + +Include: +"idcache.h" + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/idpriv-drop b/gnulib/modules/idpriv-drop new file mode 100644 index 0000000..19472fa --- /dev/null +++ b/gnulib/modules/idpriv-drop @@ -0,0 +1,27 @@ +Description: +Drop uid/gid privileges of the current process. + +Files: +lib/idpriv.h +lib/idpriv-drop.c +m4/idpriv.m4 + +Depends-on: +unistd +extensions + +configure.ac: +gl_IDPRIV + +Makefile.am: +lib_SOURCES += idpriv-drop.c + +Include: +"idpriv.h" + +License: +GPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/idpriv-drop-tests b/gnulib/modules/idpriv-drop-tests new file mode 100644 index 0000000..17c3863 --- /dev/null +++ b/gnulib/modules/idpriv-drop-tests @@ -0,0 +1,22 @@ +Status: +privileged-test + +Notice: +The 'idpriv-drop-tests' module asks the user for the root password. It is +therefore not suitable for all environments. To disable it, pass option +'--avoid=idpriv-drop-tests' to gnulib-tool. + +Files: +tests/test-idpriv-drop.sh +tests/test-idpriv-drop.su.sh +tests/test-idpriv-drop.c +tests/macros.h + +Depends-on: +stdbool + +configure.ac: + +Makefile.am: +TESTS += test-idpriv-drop.sh +check_PROGRAMS += test-idpriv-drop diff --git a/gnulib/modules/idpriv-droptemp b/gnulib/modules/idpriv-droptemp new file mode 100644 index 0000000..97b59c4 --- /dev/null +++ b/gnulib/modules/idpriv-droptemp @@ -0,0 +1,27 @@ +Description: +Drop uid/gid privileges of the current process temporarily. + +Files: +lib/idpriv.h +lib/idpriv-droptemp.c +m4/idpriv.m4 + +Depends-on: +unistd +extensions + +configure.ac: +gl_IDPRIV + +Makefile.am: +lib_SOURCES += idpriv-droptemp.c + +Include: +"idpriv.h" + +License: +GPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/idpriv-droptemp-tests b/gnulib/modules/idpriv-droptemp-tests new file mode 100644 index 0000000..254fd3a --- /dev/null +++ b/gnulib/modules/idpriv-droptemp-tests @@ -0,0 +1,22 @@ +Status: +privileged-test + +Notice: +The 'idpriv-droptemp-tests' module asks the user for the root password. It is +therefore not suitable for all environments. To disable it, pass option +'--avoid=idpriv-droptemp-tests' to gnulib-tool. + +Files: +tests/test-idpriv-droptemp.sh +tests/test-idpriv-droptemp.su.sh +tests/test-idpriv-droptemp.c +tests/macros.h + +Depends-on: +stdbool + +configure.ac: + +Makefile.am: +TESTS += test-idpriv-droptemp.sh +check_PROGRAMS += test-idpriv-droptemp diff --git a/gnulib/modules/ignore-value b/gnulib/modules/ignore-value new file mode 100644 index 0000000..9d00c1f --- /dev/null +++ b/gnulib/modules/ignore-value @@ -0,0 +1,21 @@ +Description: +ignore a value to quiet a compiler warning + +Files: +lib/ignore-value.h + +Depends-on: + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) + +Makefile.am: + +Include: +"ignore-value.h" + +License: +LGPLv2+ + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/ignore-value-tests b/gnulib/modules/ignore-value-tests new file mode 100644 index 0000000..9c8c6d6 --- /dev/null +++ b/gnulib/modules/ignore-value-tests @@ -0,0 +1,11 @@ +Files: +tests/test-ignore-value.c + +Depends-on: +stdio + +configure.ac: + +Makefile.am: +TESTS += test-ignore-value +check_PROGRAMS += test-ignore-value diff --git a/gnulib/modules/imaxabs b/gnulib/modules/imaxabs new file mode 100644 index 0000000..630c00d --- /dev/null +++ b/gnulib/modules/imaxabs @@ -0,0 +1,28 @@ +Description: +imaxabs() function: absolute value of 'intmax_t'. + +Files: +lib/imaxabs.c +m4/imaxabs.m4 + +Depends-on: +inttypes-incomplete + +configure.ac: +gl_FUNC_IMAXABS +if test $ac_cv_func_imaxabs = no; then + AC_LIBOBJ([imaxabs]) + gl_PREREQ_IMAXABS +fi +gl_INTTYPES_MODULE_INDICATOR([imaxabs]) + +Makefile.am: + +Include: +<inttypes.h> + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/imaxabs-tests b/gnulib/modules/imaxabs-tests new file mode 100644 index 0000000..5f54654 --- /dev/null +++ b/gnulib/modules/imaxabs-tests @@ -0,0 +1,12 @@ +Files: +tests/test-imaxabs.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-imaxabs +check_PROGRAMS += test-imaxabs diff --git a/gnulib/modules/imaxdiv b/gnulib/modules/imaxdiv new file mode 100644 index 0000000..6ac081e --- /dev/null +++ b/gnulib/modules/imaxdiv @@ -0,0 +1,28 @@ +Description: +imaxdiv() function: division of 'intmax_t'. + +Files: +lib/imaxdiv.c +m4/imaxdiv.m4 + +Depends-on: +inttypes-incomplete + +configure.ac: +gl_FUNC_IMAXDIV +if test $ac_cv_func_imaxdiv = no; then + AC_LIBOBJ([imaxdiv]) + gl_PREREQ_IMAXDIV +fi +gl_INTTYPES_MODULE_INDICATOR([imaxdiv]) + +Makefile.am: + +Include: +<inttypes.h> + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/imaxdiv-tests b/gnulib/modules/imaxdiv-tests new file mode 100644 index 0000000..aa2cc40 --- /dev/null +++ b/gnulib/modules/imaxdiv-tests @@ -0,0 +1,12 @@ +Files: +tests/test-imaxdiv.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-imaxdiv +check_PROGRAMS += test-imaxdiv diff --git a/gnulib/modules/include_next b/gnulib/modules/include_next new file mode 100644 index 0000000..3d01928 --- /dev/null +++ b/gnulib/modules/include_next @@ -0,0 +1,19 @@ +Description: +Allows wrapping a broken system header in a gnulib replacement. + +Files: +m4/include_next.m4 + +Depends-on: + +configure.ac: + +Makefile.am: + +Include: + +License: +LGPLv2+ + +Maintainer: +all diff --git a/gnulib/modules/inet_ntop b/gnulib/modules/inet_ntop new file mode 100644 index 0000000..275aa3c --- /dev/null +++ b/gnulib/modules/inet_ntop @@ -0,0 +1,36 @@ +Description: +Convert internet address from internal to printable, presentable format. + +Files: +lib/inet_ntop.c +m4/inet_ntop.m4 +m4/sys_socket_h.m4 + +Depends-on: +arpa_inet +extensions +sys_socket [test $HAVE_INET_NTOP = 0 || test $REPLACE_INET_NTOP = 1] +errno [test $HAVE_INET_NTOP = 0 || test $REPLACE_INET_NTOP = 1] +netinet_in [test $HAVE_INET_NTOP = 0 || test $REPLACE_INET_NTOP = 1] + +configure.ac: +gl_FUNC_INET_NTOP +if test $HAVE_INET_NTOP = 0 || test $REPLACE_INET_NTOP = 1; then + AC_LIBOBJ([inet_ntop]) + gl_PREREQ_INET_NTOP +fi +gl_ARPA_INET_MODULE_INDICATOR([inet_ntop]) + +Makefile.am: + +License: +LGPLv2+ + +Include: +<arpa/inet.h> + +Link: +$(INET_NTOP_LIB) + +Maintainer: +Yoann Vandoorselaere, glibc diff --git a/gnulib/modules/inet_ntop-tests b/gnulib/modules/inet_ntop-tests new file mode 100644 index 0000000..cab3d51 --- /dev/null +++ b/gnulib/modules/inet_ntop-tests @@ -0,0 +1,16 @@ +Files: +tests/test-inet_ntop.c +tests/signature.h +tests/macros.h + +Depends-on: +netinet_in +sys_socket + +configure.ac: +AC_C_BIGENDIAN + +Makefile.am: +TESTS += test-inet_ntop +check_PROGRAMS += test-inet_ntop +test_inet_ntop_LDADD = $(LDADD) @INET_NTOP_LIB@ diff --git a/gnulib/modules/inet_pton b/gnulib/modules/inet_pton new file mode 100644 index 0000000..43cde40 --- /dev/null +++ b/gnulib/modules/inet_pton @@ -0,0 +1,36 @@ +Description: +Convert internet address from presentation to internal, binary, format. + +Files: +lib/inet_pton.c +m4/inet_pton.m4 + +Depends-on: +arpa_inet +extensions +c-ctype [test $HAVE_INET_PTON = 0 || test $REPLACE_INET_NTOP = 1] +sys_socket [test $HAVE_INET_PTON = 0 || test $REPLACE_INET_NTOP = 1] +errno [test $HAVE_INET_PTON = 0 || test $REPLACE_INET_NTOP = 1] +netinet_in [test $HAVE_INET_PTON = 0 || test $REPLACE_INET_NTOP = 1] + +configure.ac: +gl_FUNC_INET_PTON +if test $HAVE_INET_PTON = 0 || test $REPLACE_INET_NTOP = 1; then + AC_LIBOBJ([inet_pton]) + gl_PREREQ_INET_PTON +fi +gl_ARPA_INET_MODULE_INDICATOR([inet_pton]) + +Makefile.am: + +License: +LGPLv2+ + +Include: +<arpa/inet.h> + +Link: +$(INET_PTON_LIB) + +Maintainer: +Simon Josefsson, glibc diff --git a/gnulib/modules/inet_pton-tests b/gnulib/modules/inet_pton-tests new file mode 100644 index 0000000..cc7408a --- /dev/null +++ b/gnulib/modules/inet_pton-tests @@ -0,0 +1,16 @@ +Files: +tests/test-inet_pton.c +tests/signature.h +tests/macros.h + +Depends-on: +netinet_in +sys_socket + +configure.ac: +AC_C_BIGENDIAN + +Makefile.am: +TESTS += test-inet_pton +check_PROGRAMS += test-inet_pton +test_inet_pton_LDADD = $(LDADD) @INET_PTON_LIB@ diff --git a/gnulib/modules/inline b/gnulib/modules/inline new file mode 100644 index 0000000..484703b --- /dev/null +++ b/gnulib/modules/inline @@ -0,0 +1,21 @@ +Description: +Test for the 'inline' keyword or equivalent and whether it is actually +effective. + +Files: +m4/inline.m4 + +Depends-on: + +configure.ac: +gl_INLINE + +Makefile.am: + +Include: + +License: +unlimited + +Maintainer: +all diff --git a/gnulib/modules/ino-map b/gnulib/modules/ino-map new file mode 100644 index 0000000..c340d1e --- /dev/null +++ b/gnulib/modules/ino-map @@ -0,0 +1,24 @@ +Description: +maintain a mapping of ino_t numbers to small integers + +Files: +lib/ino-map.c +lib/ino-map.h + +Depends-on: +hash +verify + +configure.ac: + +Makefile.am: +lib_SOURCES += ino-map.c ino-map.h + +Include: +"ino-map.h" + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/ino-map-tests b/gnulib/modules/ino-map-tests new file mode 100644 index 0000000..349b994 --- /dev/null +++ b/gnulib/modules/ino-map-tests @@ -0,0 +1,11 @@ +Files: +tests/test-ino-map.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-ino-map +check_PROGRAMS += test-ino-map diff --git a/gnulib/modules/integer_length b/gnulib/modules/integer_length new file mode 100644 index 0000000..e757772 --- /dev/null +++ b/gnulib/modules/integer_length @@ -0,0 +1,28 @@ +Description: +Finds the most significant bit in an 'unsigned int'. + +Files: +lib/integer_length.h +lib/integer_length.c +lib/float+.h +m4/longlong.m4 +m4/exponentd.m4 + +Depends-on: +float + +configure.ac: +AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT]) +AC_REQUIRE([gl_DOUBLE_EXPONENT_LOCATION]) + +Makefile.am: +lib_SOURCES += integer_length.c + +Include: +"integer_length.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/integer_length-tests b/gnulib/modules/integer_length-tests new file mode 100644 index 0000000..e03ef57 --- /dev/null +++ b/gnulib/modules/integer_length-tests @@ -0,0 +1,11 @@ +Files: +tests/test-integer_length.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-integer_length +check_PROGRAMS += test-integer_length diff --git a/gnulib/modules/integer_length_l b/gnulib/modules/integer_length_l new file mode 100644 index 0000000..93a423c --- /dev/null +++ b/gnulib/modules/integer_length_l @@ -0,0 +1,25 @@ +Description: +Finds the most significant bit in an 'unsigned long'. + +Files: +lib/integer_length.h +lib/integer_length_l.c +m4/longlong.m4 + +Depends-on: +integer_length + +configure.ac: +AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT]) + +Makefile.am: +lib_SOURCES += integer_length_l.c + +Include: +"integer_length.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/integer_length_l-tests b/gnulib/modules/integer_length_l-tests new file mode 100644 index 0000000..8c3e9cb --- /dev/null +++ b/gnulib/modules/integer_length_l-tests @@ -0,0 +1,11 @@ +Files: +tests/test-integer_length_l.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-integer_length_l +check_PROGRAMS += test-integer_length_l diff --git a/gnulib/modules/integer_length_ll b/gnulib/modules/integer_length_ll new file mode 100644 index 0000000..9cacf82 --- /dev/null +++ b/gnulib/modules/integer_length_ll @@ -0,0 +1,26 @@ +Description: +Finds the most significant bit in an 'unsigned long long'. + +Files: +lib/integer_length.h +lib/integer_length_ll.c +lib/integer_length_l.c +m4/longlong.m4 + +Depends-on: +integer_length + +configure.ac: +AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT]) + +Makefile.am: +lib_SOURCES += integer_length_ll.c + +Include: +"integer_length.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/integer_length_ll-tests b/gnulib/modules/integer_length_ll-tests new file mode 100644 index 0000000..be6aaae --- /dev/null +++ b/gnulib/modules/integer_length_ll-tests @@ -0,0 +1,11 @@ +Files: +tests/test-integer_length_ll.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-integer_length_ll +check_PROGRAMS += test-integer_length_ll diff --git a/gnulib/modules/intprops b/gnulib/modules/intprops new file mode 100644 index 0000000..0680adf --- /dev/null +++ b/gnulib/modules/intprops @@ -0,0 +1,20 @@ +Description: +Properties of integer types + +Files: +lib/intprops.h + +Depends-on: + +configure.ac: + +Makefile.am: + +Include: +"intprops.h" + +License: +LGPLv2+ + +Maintainer: +Paul Eggert diff --git a/gnulib/modules/intprops-tests b/gnulib/modules/intprops-tests new file mode 100644 index 0000000..f02b357 --- /dev/null +++ b/gnulib/modules/intprops-tests @@ -0,0 +1,14 @@ +Files: +tests/test-intprops.c +tests/macros.h + +Depends-on: +inttypes +stdbool +verify + +configure.ac: + +Makefile.am: +TESTS += test-intprops +check_PROGRAMS += test-intprops diff --git a/gnulib/modules/inttostr b/gnulib/modules/inttostr new file mode 100644 index 0000000..6bbec28 --- /dev/null +++ b/gnulib/modules/inttostr @@ -0,0 +1,36 @@ +Description: +Convert integers to printable strings. + +Files: +lib/anytostr.c +lib/imaxtostr.c +lib/inttostr.c +lib/inttostr.h +lib/offtostr.c +lib/umaxtostr.c +lib/uinttostr.c +m4/inttostr.m4 + +Depends-on: +intprops +stdint + +configure.ac: +gl_INTTOSTR + +Makefile.am: +lib_SOURCES += \ + imaxtostr.c \ + inttostr.c \ + offtostr.c \ + uinttostr.c \ + umaxtostr.c + +Include: +"inttostr.h" + +License: +LGPL + +Maintainer: +Paul Eggert diff --git a/gnulib/modules/inttostr-tests b/gnulib/modules/inttostr-tests new file mode 100644 index 0000000..48dbe50 --- /dev/null +++ b/gnulib/modules/inttostr-tests @@ -0,0 +1,14 @@ +Files: +tests/macros.h +tests/test-inttostr.c + +Depends-on: +intprops +inttypes +snprintf + +configure.ac: + +Makefile.am: +TESTS += test-inttostr +check_PROGRAMS += test-inttostr diff --git a/gnulib/modules/inttypes b/gnulib/modules/inttypes new file mode 100644 index 0000000..157b597 --- /dev/null +++ b/gnulib/modules/inttypes @@ -0,0 +1,22 @@ +Description: +An <inttypes.h> that nearly conforms to C99. + +Files: +m4/inttypes-pri.m4 + +Depends-on: +inttypes-incomplete + +configure.ac: +gl_INTTYPES_H + +Makefile.am: + +Include: +<inttypes.h> + +License: +LGPLv2+ + +Maintainer: +all diff --git a/gnulib/modules/inttypes-incomplete b/gnulib/modules/inttypes-incomplete new file mode 100644 index 0000000..d9d53ac --- /dev/null +++ b/gnulib/modules/inttypes-incomplete @@ -0,0 +1,62 @@ +Description: +An <inttypes.h> that conforms to C99 except for PRI* and SCN* macros. + +Files: +lib/inttypes.in.h +m4/inttypes.m4 + +Depends-on: +include_next +multiarch +snippet/arg-nonnull +snippet/warn-on-use +stdint + +configure.ac: +gl_INTTYPES_INCOMPLETE + +Makefile.am: +BUILT_SOURCES += inttypes.h + +# We need the following in order to create <inttypes.h> when the system +# doesn't have one that works with the given compiler. +inttypes.h: inttypes.in.h $(top_builddir)/config.status $(WARN_ON_USE_H) $(ARG_NONNULL_H) + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_INTTYPES_H''@|$(NEXT_INTTYPES_H)|g' \ + -e 's/@''PRI_MACROS_BROKEN''@/$(PRI_MACROS_BROKEN)/g' \ + -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \ + -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \ + -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \ + -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \ + -e 's/@''GNULIB_IMAXABS''@/$(GNULIB_IMAXABS)/g' \ + -e 's/@''GNULIB_IMAXDIV''@/$(GNULIB_IMAXDIV)/g' \ + -e 's/@''GNULIB_STRTOIMAX''@/$(GNULIB_STRTOIMAX)/g' \ + -e 's/@''GNULIB_STRTOUMAX''@/$(GNULIB_STRTOUMAX)/g' \ + -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \ + -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \ + -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \ + -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \ + -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/$(INT32_MAX_LT_INTMAX_MAX)/g' \ + -e 's/@''INT64_MAX_EQ_LONG_MAX''@/$(INT64_MAX_EQ_LONG_MAX)/g' \ + -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/$(UINT32_MAX_LT_UINTMAX_MAX)/g' \ + -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/$(UINT64_MAX_EQ_ULONG_MAX)/g' \ + -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ + < $(srcdir)/inttypes.in.h; \ + } > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += inttypes.h inttypes.h-t + +Include: +<inttypes.h> + +License: +LGPLv2+ + +Maintainer: +all diff --git a/gnulib/modules/inttypes-tests b/gnulib/modules/inttypes-tests new file mode 100644 index 0000000..0f0727e --- /dev/null +++ b/gnulib/modules/inttypes-tests @@ -0,0 +1,10 @@ +Files: +tests/test-inttypes.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-inttypes +check_PROGRAMS += test-inttypes diff --git a/gnulib/modules/ioctl b/gnulib/modules/ioctl new file mode 100644 index 0000000..ba4a85a --- /dev/null +++ b/gnulib/modules/ioctl @@ -0,0 +1,32 @@ +Description: +ioctl() function: issue device specific requests on files, devices, or sockets. + +Files: +lib/ioctl.c +lib/w32sock.h +m4/ioctl.m4 + +Depends-on: +sys_ioctl +sys_socket [test $HAVE_IOCTL = 0 || test $REPLACE_IOCTL = 1] +errno [test $HAVE_IOCTL = 0 || test $REPLACE_IOCTL = 1] +fd-hook [test $HAVE_IOCTL = 0 || test $REPLACE_IOCTL = 1] +msvc-nothrow [test $HAVE_IOCTL = 0 || test $REPLACE_IOCTL = 1] + +configure.ac: +gl_FUNC_IOCTL +if test $HAVE_IOCTL = 0 || test $REPLACE_IOCTL = 1; then + AC_LIBOBJ([ioctl]) +fi +gl_SYS_IOCTL_MODULE_INDICATOR([ioctl]) + +Makefile.am: + +Include: +<sys/ioctl.h> + +License: +LGPLv2+ + +Maintainer: +Paolo Bonzini, Simon Josefsson, Bruno Haible diff --git a/gnulib/modules/ioctl-tests b/gnulib/modules/ioctl-tests new file mode 100644 index 0000000..4662956 --- /dev/null +++ b/gnulib/modules/ioctl-tests @@ -0,0 +1,12 @@ +Files: +tests/test-ioctl.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-ioctl +check_PROGRAMS += test-ioctl diff --git a/gnulib/modules/isapipe b/gnulib/modules/isapipe new file mode 100644 index 0000000..25a87b1 --- /dev/null +++ b/gnulib/modules/isapipe @@ -0,0 +1,32 @@ +Description: +Test whether a file descriptor is a pipe. + +Files: +lib/isapipe.c +lib/isapipe.h +m4/isapipe.m4 + +Depends-on: +stdbool [test $HAVE_ISAPIPE = 0] +sys_stat [test $HAVE_ISAPIPE = 0] +unistd [test $HAVE_ISAPIPE = 0] +msvc-nothrow [test $HAVE_ISAPIPE = 0] +fstat [test $HAVE_ISAPIPE = 0] + +configure.ac: +gl_ISAPIPE +if test $HAVE_ISAPIPE = 0; then + AC_LIBOBJ([isapipe]) + gl_PREREQ_ISAPIPE +fi + +Makefile.am: + +Include: +"isapipe.h" + +License: +LGPL + +Maintainer: +Paul Eggert, Jim Meyering diff --git a/gnulib/modules/isatty-tests b/gnulib/modules/isatty-tests new file mode 100644 index 0000000..ce699e3 --- /dev/null +++ b/gnulib/modules/isatty-tests @@ -0,0 +1,13 @@ +Files: +tests/test-isatty.c +tests/signature.h +tests/macros.h + +Depends-on: +unistd + +configure.ac: + +Makefile.am: +TESTS += test-isatty +check_PROGRAMS += test-isatty diff --git a/gnulib/modules/isblank b/gnulib/modules/isblank new file mode 100644 index 0000000..acafdc3 --- /dev/null +++ b/gnulib/modules/isblank @@ -0,0 +1,28 @@ +Description: +isblank() function: test whether a single-byte character is a blank. + +Files: +lib/isblank.c +m4/isblank.m4 + +Depends-on: +extensions +ctype + +configure.ac: +gl_FUNC_ISBLANK +if test $HAVE_ISBLANK = 0; then + AC_LIBOBJ([isblank]) +fi +gl_CTYPE_MODULE_INDICATOR([isblank]) + +Makefile.am: + +Include: +<ctype.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/isblank-tests b/gnulib/modules/isblank-tests new file mode 100644 index 0000000..43d29ad --- /dev/null +++ b/gnulib/modules/isblank-tests @@ -0,0 +1,12 @@ +Files: +tests/test-isblank.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-isblank +check_PROGRAMS += test-isblank diff --git a/gnulib/modules/isdir b/gnulib/modules/isdir new file mode 100644 index 0000000..aab5f84 --- /dev/null +++ b/gnulib/modules/isdir @@ -0,0 +1,22 @@ +Description: +Determine whether a directory exists. + +Files: +lib/isdir.c +lib/isdir.h + +Depends-on: +stat + +configure.ac: + +Makefile.am: +lib_SOURCES += isdir.c + +Include: + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/isfinite b/gnulib/modules/isfinite new file mode 100644 index 0000000..3ef5609 --- /dev/null +++ b/gnulib/modules/isfinite @@ -0,0 +1,32 @@ +Description: +isfinite macro: test for finite value (zero, subnormal, or normal, and not infinite or NaN). + +Files: +lib/isfinite.c +m4/isfinite.m4 +m4/check-math-lib.m4 + +Depends-on: +math +extensions +isnanf-nolibm [test $REPLACE_ISFINITE = 1] +isnand-nolibm [test $REPLACE_ISFINITE = 1] +isnanl-nolibm [test $REPLACE_ISFINITE = 1] + +configure.ac: +gl_ISFINITE +if test $REPLACE_ISFINITE = 1; then + AC_LIBOBJ([isfinite]) +fi +gl_MATH_MODULE_INDICATOR([isfinite]) + +Makefile.am: + +Include: +<math.h> + +License: +LGPL + +Maintainer: +Ben Pfaff diff --git a/gnulib/modules/isfinite-tests b/gnulib/modules/isfinite-tests new file mode 100644 index 0000000..6e65027 --- /dev/null +++ b/gnulib/modules/isfinite-tests @@ -0,0 +1,18 @@ +Files: +tests/test-isfinite.c +tests/infinity.h +tests/macros.h + +Depends-on: +float + +configure.ac: +gl_FLOAT_EXPONENT_LOCATION +gl_DOUBLE_EXPONENT_LOCATION +gl_LONG_DOUBLE_EXPONENT_LOCATION +AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE]) + +Makefile.am: +TESTS += test-isfinite +check_PROGRAMS += test-isfinite +test_isfinite_LDADD = $(LDADD) @ISFINITE_LIBM@ diff --git a/gnulib/modules/isinf b/gnulib/modules/isinf new file mode 100644 index 0000000..e7f0bf9 --- /dev/null +++ b/gnulib/modules/isinf @@ -0,0 +1,30 @@ +Description: +isinf macro: test for positive or negative infinity + +Files: +lib/isinf.c +m4/isinf.m4 +m4/check-math-lib.m4 + +Depends-on: +math +extensions +float [test $REPLACE_ISINF = 1] + +configure.ac: +gl_ISINF +if test $REPLACE_ISINF = 1; then + AC_LIBOBJ([isinf]) +fi +gl_MATH_MODULE_INDICATOR([isinf]) + +Makefile.am: + +Include: +<math.h> + +License: +LGPL + +Maintainer: +Ben Pfaff diff --git a/gnulib/modules/isinf-tests b/gnulib/modules/isinf-tests new file mode 100644 index 0000000..53e9c31 --- /dev/null +++ b/gnulib/modules/isinf-tests @@ -0,0 +1,21 @@ +Files: +m4/exponentf.m4 +m4/exponentd.m4 +m4/exponentl.m4 +tests/test-isinf.c +tests/infinity.h +tests/macros.h + +Depends-on: +float + +configure.ac: +gl_FLOAT_EXPONENT_LOCATION +gl_DOUBLE_EXPONENT_LOCATION +gl_LONG_DOUBLE_EXPONENT_LOCATION +AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE]) + +Makefile.am: +TESTS += test-isinf +check_PROGRAMS += test-isinf +test_isinf_LDADD = $(LDADD) @ISINF_LIBM@ diff --git a/gnulib/modules/isnan b/gnulib/modules/isnan new file mode 100644 index 0000000..5357f48 --- /dev/null +++ b/gnulib/modules/isnan @@ -0,0 +1,27 @@ +Description: +isnan macro: test for NaN value. + +Files: +m4/isnan.m4 + +Depends-on: +isnanf +isnand +isnanl +math +extensions + +configure.ac: +gl_ISNAN +gl_MATH_MODULE_INDICATOR([isnan]) + +Makefile.am: + +Include: +<math.h> + +License: +LGPL + +Maintainer: +Ben Pfaff diff --git a/gnulib/modules/isnan-tests b/gnulib/modules/isnan-tests new file mode 100644 index 0000000..417e559 --- /dev/null +++ b/gnulib/modules/isnan-tests @@ -0,0 +1,21 @@ +Files: +tests/test-isnan.c +tests/minus-zero.h +tests/infinity.h +tests/nan.h +tests/macros.h + +Depends-on: +float + +configure.ac: +gl_FLOAT_EXPONENT_LOCATION +gl_DOUBLE_EXPONENT_LOCATION +gl_LONG_DOUBLE_EXPONENT_LOCATION +AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE]) + +Makefile.am: +TESTS += test-isnan +check_PROGRAMS += test-isnan +test_isnan_LDADD = $(LDADD) @ISNAN_LIBM@ + diff --git a/gnulib/modules/isnand b/gnulib/modules/isnand new file mode 100644 index 0000000..1ac796d --- /dev/null +++ b/gnulib/modules/isnand @@ -0,0 +1,40 @@ +Description: +isnand() function: test for NaN. + +Files: +lib/isnand.c +lib/isnan.c +lib/float+.h +m4/exponentd.m4 +m4/isnand.m4 + +Depends-on: +math +fpieee +memcmp + +configure.ac: +gl_FUNC_ISNAND +m4_ifdef([gl_ISNAN], [ + AC_REQUIRE([gl_ISNAN]) +]) +if test $HAVE_ISNAND = 0 || test $REPLACE_ISNAN = 1; then + AC_LIBOBJ([isnand]) + gl_PREREQ_ISNAND +fi +gl_MATH_MODULE_INDICATOR([isnand]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(ISNAND_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/isnand-nolibm b/gnulib/modules/isnand-nolibm new file mode 100644 index 0000000..dfd5873 --- /dev/null +++ b/gnulib/modules/isnand-nolibm @@ -0,0 +1,33 @@ +Description: +isnand() function: test for NaN, without requiring libm. + +Files: +lib/isnand-nolibm.h +lib/isnand.c +lib/isnan.c +lib/float+.h +m4/exponentd.m4 +m4/isnand.m4 + +Depends-on: +fpieee +memcmp + +configure.ac: +gl_FUNC_ISNAND_NO_LIBM +if test $gl_func_isnand_no_libm != yes; then + AC_LIBOBJ([isnand]) + gl_PREREQ_ISNAND +fi + +Makefile.am: + +Include: +"isnand-nolibm.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/isnand-nolibm-tests b/gnulib/modules/isnand-nolibm-tests new file mode 100644 index 0000000..d2cbc79 --- /dev/null +++ b/gnulib/modules/isnand-nolibm-tests @@ -0,0 +1,17 @@ +Files: +tests/test-isnand-nolibm.c +tests/test-isnand.h +tests/minus-zero.h +tests/infinity.h +tests/nan.h +tests/macros.h + +Depends-on: + +configure.ac: +gl_DOUBLE_EXPONENT_LOCATION + +Makefile.am: +TESTS += test-isnand-nolibm +check_PROGRAMS += test-isnand-nolibm + diff --git a/gnulib/modules/isnand-tests b/gnulib/modules/isnand-tests new file mode 100644 index 0000000..89d2ae0 --- /dev/null +++ b/gnulib/modules/isnand-tests @@ -0,0 +1,18 @@ +Files: +tests/test-isnand.c +tests/test-isnand.h +tests/minus-zero.h +tests/infinity.h +tests/nan.h +tests/macros.h + +Depends-on: + +configure.ac: +gl_DOUBLE_EXPONENT_LOCATION + +Makefile.am: +TESTS += test-isnand +check_PROGRAMS += test-isnand +test_isnand_LDADD = $(LDADD) @ISNAND_LIBM@ + diff --git a/gnulib/modules/isnanf b/gnulib/modules/isnanf new file mode 100644 index 0000000..8b9e3a1 --- /dev/null +++ b/gnulib/modules/isnanf @@ -0,0 +1,40 @@ +Description: +isnanf() function: test for NaN. + +Files: +lib/isnanf.c +lib/isnan.c +lib/float+.h +m4/exponentf.m4 +m4/isnanf.m4 + +Depends-on: +math +fpieee +memcmp + +configure.ac: +gl_FUNC_ISNANF +m4_ifdef([gl_ISNAN], [ + AC_REQUIRE([gl_ISNAN]) +]) +if test $HAVE_ISNANF = 0 || test $REPLACE_ISNAN = 1; then + AC_LIBOBJ([isnanf]) + gl_PREREQ_ISNANF +fi +gl_MATH_MODULE_INDICATOR([isnanf]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(ISNANF_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/isnanf-nolibm b/gnulib/modules/isnanf-nolibm new file mode 100644 index 0000000..dba0878 --- /dev/null +++ b/gnulib/modules/isnanf-nolibm @@ -0,0 +1,33 @@ +Description: +isnanf() function: test for NaN, without requiring libm. + +Files: +lib/isnanf-nolibm.h +lib/isnanf.c +lib/isnan.c +lib/float+.h +m4/exponentf.m4 +m4/isnanf.m4 + +Depends-on: +fpieee +memcmp + +configure.ac: +gl_FUNC_ISNANF_NO_LIBM +if test $gl_func_isnanf_no_libm != yes; then + AC_LIBOBJ([isnanf]) + gl_PREREQ_ISNANF +fi + +Makefile.am: + +Include: +"isnanf-nolibm.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/isnanf-nolibm-tests b/gnulib/modules/isnanf-nolibm-tests new file mode 100644 index 0000000..88c15d0 --- /dev/null +++ b/gnulib/modules/isnanf-nolibm-tests @@ -0,0 +1,17 @@ +Files: +tests/test-isnanf-nolibm.c +tests/test-isnanf.h +tests/minus-zero.h +tests/infinity.h +tests/nan.h +tests/macros.h + +Depends-on: + +configure.ac: +gl_FLOAT_EXPONENT_LOCATION + +Makefile.am: +TESTS += test-isnanf-nolibm +check_PROGRAMS += test-isnanf-nolibm + diff --git a/gnulib/modules/isnanf-tests b/gnulib/modules/isnanf-tests new file mode 100644 index 0000000..86caabe --- /dev/null +++ b/gnulib/modules/isnanf-tests @@ -0,0 +1,18 @@ +Files: +tests/test-isnanf.c +tests/test-isnanf.h +tests/minus-zero.h +tests/infinity.h +tests/nan.h +tests/macros.h + +Depends-on: + +configure.ac: +gl_FLOAT_EXPONENT_LOCATION + +Makefile.am: +TESTS += test-isnanf +check_PROGRAMS += test-isnanf +test_isnanf_LDADD = $(LDADD) @ISNANF_LIBM@ + diff --git a/gnulib/modules/isnanl b/gnulib/modules/isnanl new file mode 100644 index 0000000..c44b2c9 --- /dev/null +++ b/gnulib/modules/isnanl @@ -0,0 +1,41 @@ +Description: +isnanl() function: test for NaN. + +Files: +lib/isnanl.c +lib/isnan.c +lib/float+.h +m4/exponentl.m4 +m4/isnanl.m4 + +Depends-on: +math +float +fpieee +memcmp + +configure.ac: +gl_FUNC_ISNANL +m4_ifdef([gl_ISNAN], [ + AC_REQUIRE([gl_ISNAN]) +]) +if test $HAVE_ISNANL = 0 || test $REPLACE_ISNAN = 1; then + AC_LIBOBJ([isnanl]) + gl_PREREQ_ISNANL +fi +gl_MATH_MODULE_INDICATOR([isnanl]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(ISNANL_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/isnanl-nolibm b/gnulib/modules/isnanl-nolibm new file mode 100644 index 0000000..b3884fc --- /dev/null +++ b/gnulib/modules/isnanl-nolibm @@ -0,0 +1,35 @@ +Description: +isnanl() function: test for NaN, without requiring libm. + +Files: +lib/isnanl-nolibm.h +lib/isnanl.c +lib/isnan.c +lib/float+.h +m4/exponentl.m4 +m4/isnanl.m4 +m4/math_h.m4 + +Depends-on: +float +fpieee +memcmp + +configure.ac: +gl_FUNC_ISNANL_NO_LIBM +if test $gl_func_isnanl_no_libm != yes; then + AC_LIBOBJ([isnanl]) + gl_PREREQ_ISNANL +fi + +Makefile.am: + +Include: +"isnanl-nolibm.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/isnanl-nolibm-tests b/gnulib/modules/isnanl-nolibm-tests new file mode 100644 index 0000000..ddc3c94 --- /dev/null +++ b/gnulib/modules/isnanl-nolibm-tests @@ -0,0 +1,19 @@ +Files: +tests/test-isnanl-nolibm.c +tests/test-isnanl.h +tests/minus-zero.h +tests/infinity.h +tests/nan.h +tests/macros.h + +Depends-on: +float + +configure.ac: +gl_LONG_DOUBLE_EXPONENT_LOCATION +AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE]) + +Makefile.am: +TESTS += test-isnanl-nolibm +check_PROGRAMS += test-isnanl-nolibm + diff --git a/gnulib/modules/isnanl-tests b/gnulib/modules/isnanl-tests new file mode 100644 index 0000000..82a41e9 --- /dev/null +++ b/gnulib/modules/isnanl-tests @@ -0,0 +1,20 @@ +Files: +tests/test-isnanl.c +tests/test-isnanl.h +tests/minus-zero.h +tests/infinity.h +tests/nan.h +tests/macros.h + +Depends-on: +float + +configure.ac: +gl_LONG_DOUBLE_EXPONENT_LOCATION +AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE]) + +Makefile.am: +TESTS += test-isnanl +check_PROGRAMS += test-isnanl +test_isnanl_LDADD = $(LDADD) @ISNANL_LIBM@ + diff --git a/gnulib/modules/iswblank b/gnulib/modules/iswblank new file mode 100644 index 0000000..211405d --- /dev/null +++ b/gnulib/modules/iswblank @@ -0,0 +1,32 @@ +Description: +iswblank() function: test wide character for being blank. + +Files: +lib/iswblank.c +m4/iswblank.m4 + +Depends-on: +wctype-h +extensions + +configure.ac: +gl_FUNC_ISWBLANK +if test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; then + : +else + if test $HAVE_ISWBLANK = 0 || test $REPLACE_ISWBLANK = 1; then + AC_LIBOBJ([iswblank]) + fi +fi +gl_WCTYPE_MODULE_INDICATOR([iswblank]) + +Makefile.am: + +Include: +<wctype.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/iswblank-tests b/gnulib/modules/iswblank-tests new file mode 100644 index 0000000..cf2b5b6 --- /dev/null +++ b/gnulib/modules/iswblank-tests @@ -0,0 +1,12 @@ +Files: +tests/test-iswblank.c +tests/macros.h + +Depends-on: +wctype-h-c++-tests + +configure.ac: + +Makefile.am: +TESTS += test-iswblank +check_PROGRAMS += test-iswblank diff --git a/gnulib/modules/iswctype b/gnulib/modules/iswctype new file mode 100644 index 0000000..283c6e0 --- /dev/null +++ b/gnulib/modules/iswctype @@ -0,0 +1,34 @@ +Description: +iswctype() function: test whether a wide character has a given property. + +Status: +obsolete + +Notice: +This module is obsolete. + +Files: +lib/iswctype.c +lib/iswctype-impl.h +m4/iswctype.m4 + +Depends-on: +wctype-h + +configure.ac: +gl_FUNC_ISWCTYPE +if test $HAVE_WCTYPE_T = 0; then + AC_LIBOBJ([iswctype]) +fi +gl_WCTYPE_MODULE_INDICATOR([iswctype]) + +Makefile.am: + +Include: +<wctype.h> + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/j0 b/gnulib/modules/j0 new file mode 100644 index 0000000..b06d76d --- /dev/null +++ b/gnulib/modules/j0 @@ -0,0 +1,24 @@ +Description: +j0() function: Bessel function of the first kind of order 0. + +Files: +m4/mathfunc.m4 + +Depends-on: + +configure.ac: +gl_COMMON_DOUBLE_MATHFUNC([j0]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(J0_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/j0-tests b/gnulib/modules/j0-tests new file mode 100644 index 0000000..eec1438 --- /dev/null +++ b/gnulib/modules/j0-tests @@ -0,0 +1,13 @@ +Files: +tests/test-j0.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-j0 +check_PROGRAMS += test-j0 +test_j0_LDADD = $(LDADD) @J0_LIBM@ diff --git a/gnulib/modules/j1 b/gnulib/modules/j1 new file mode 100644 index 0000000..9c18914 --- /dev/null +++ b/gnulib/modules/j1 @@ -0,0 +1,24 @@ +Description: +j1() function: Bessel function of the first kind of order 1. + +Files: +m4/mathfunc.m4 + +Depends-on: + +configure.ac: +gl_COMMON_DOUBLE_MATHFUNC([j1]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(J1_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/j1-tests b/gnulib/modules/j1-tests new file mode 100644 index 0000000..ad94ecd --- /dev/null +++ b/gnulib/modules/j1-tests @@ -0,0 +1,13 @@ +Files: +tests/test-j1.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-j1 +check_PROGRAMS += test-j1 +test_j1_LDADD = $(LDADD) @J1_LIBM@ diff --git a/gnulib/modules/javacomp b/gnulib/modules/javacomp new file mode 100644 index 0000000..6cb6845 --- /dev/null +++ b/gnulib/modules/javacomp @@ -0,0 +1,45 @@ +Description: +Compile a Java program. + +Files: +lib/javacomp.h +lib/javacomp.c + +Depends-on: +stdbool +unistd +javaversion +execute +spawn-pipe +wait-process +classpath +xsetenv +sh-quote +binary-io +safe-read +xalloc +xmalloca +getline +xconcat-filename +fwriteerror +clean-temp +error +xvasprintf +c-strstr +gettext-h +javacomp-script + +configure.ac: + +Makefile.am: +lib_SOURCES += javacomp.h javacomp.c + +Include: +"javacomp.h" + +License: +GPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/javacomp-script b/gnulib/modules/javacomp-script new file mode 100644 index 0000000..eef87bf --- /dev/null +++ b/gnulib/modules/javacomp-script @@ -0,0 +1,21 @@ +Description: +Script to compile a Java program. + +Files: +build-aux/javacomp.sh.in +m4/javacomp.m4 + +Depends-on: + +configure.ac: +# You need to invoke gt_JAVACOMP yourself, possibly with arguments. +AC_CONFIG_FILES([javacomp.sh:build-aux/javacomp.sh.in]) + +Makefile.am: + +License: +GPLed build tool + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/javaexec b/gnulib/modules/javaexec new file mode 100644 index 0000000..1e397a0 --- /dev/null +++ b/gnulib/modules/javaexec @@ -0,0 +1,35 @@ +Description: +Execute a Java program. + +Files: +lib/javaexec.h +lib/javaexec.c + +Depends-on: +stdbool +execute +classpath +xsetenv +sh-quote +xconcat-filename +xalloc +xmalloca +error +gettext-h +javaexec-script + +configure.ac: + +Makefile.am: +DEFS += -DEXEEXT=\"@EXEEXT@\" +lib_SOURCES += javaexec.h javaexec.c + +Include: +"javaexec.h" + +License: +GPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/javaexec-script b/gnulib/modules/javaexec-script new file mode 100644 index 0000000..46492b4 --- /dev/null +++ b/gnulib/modules/javaexec-script @@ -0,0 +1,23 @@ +Description: +Execute a Java program. + +Files: +build-aux/javaexec.sh.in +m4/javaexec.m4 + +Depends-on: + +configure.ac: +# You need to invoke gt_JAVAEXEC yourself, possibly with arguments. +AC_CONFIG_FILES([javaexec.sh:build-aux/javaexec.sh.in]) + +Makefile.am: + +Include: + +License: +GPLed build tool + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/javaversion b/gnulib/modules/javaversion new file mode 100644 index 0000000..bf1a47b --- /dev/null +++ b/gnulib/modules/javaversion @@ -0,0 +1,33 @@ +Description: +Determine the Java version supported by javaexec. + +Files: +lib/javaversion.h +lib/javaversion.c +lib/javaversion.java +lib/javaversion.class + +Depends-on: +javaexec +stdbool +spawn-pipe +wait-process +getline +gettext-h +configmake + +configure.ac: + +Makefile.am: +lib_SOURCES += javaversion.h javaversion.c +pkgdata_DATA += javaversion.class + +Include: +"javaversion.h" + +License: +GPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/jn b/gnulib/modules/jn new file mode 100644 index 0000000..adcc9b1 --- /dev/null +++ b/gnulib/modules/jn @@ -0,0 +1,24 @@ +Description: +jn() function: Bessel function of the first kind of order n. + +Files: +m4/mathfunc.m4 + +Depends-on: + +configure.ac: +gl_COMMON_DOUBLE_MATHFUNC([jn]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(JN_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/jn-tests b/gnulib/modules/jn-tests new file mode 100644 index 0000000..b5bb49d --- /dev/null +++ b/gnulib/modules/jn-tests @@ -0,0 +1,13 @@ +Files: +tests/test-jn.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-jn +check_PROGRAMS += test-jn +test_jn_LDADD = $(LDADD) @JN_LIBM@ diff --git a/gnulib/modules/langinfo b/gnulib/modules/langinfo new file mode 100644 index 0000000..2519fc5 --- /dev/null +++ b/gnulib/modules/langinfo @@ -0,0 +1,52 @@ +Description: +A GNU-like <langinfo.h>. + +Files: +lib/langinfo.in.h +m4/langinfo_h.m4 + +Depends-on: +extensions +include_next +snippet/c++defs +snippet/warn-on-use + +configure.ac: +gl_LANGINFO_H + +Makefile.am: +BUILT_SOURCES += langinfo.h + +# We need the following in order to create an empty placeholder for +# <langinfo.h> when the system doesn't have one. +langinfo.h: langinfo.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ + -e 's|@''HAVE_LANGINFO_H''@|$(HAVE_LANGINFO_H)|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_LANGINFO_H''@|$(NEXT_LANGINFO_H)|g' \ + -e 's/@''GNULIB_NL_LANGINFO''@/$(GNULIB_NL_LANGINFO)/g' \ + -e 's|@''HAVE_LANGINFO_CODESET''@|$(HAVE_LANGINFO_CODESET)|g' \ + -e 's|@''HAVE_LANGINFO_T_FMT_AMPM''@|$(HAVE_LANGINFO_T_FMT_AMPM)|g' \ + -e 's|@''HAVE_LANGINFO_ERA''@|$(HAVE_LANGINFO_ERA)|g' \ + -e 's|@''HAVE_LANGINFO_YESEXPR''@|$(HAVE_LANGINFO_YESEXPR)|g' \ + -e 's|@''HAVE_NL_LANGINFO''@|$(HAVE_NL_LANGINFO)|g' \ + -e 's|@''REPLACE_NL_LANGINFO''@|$(REPLACE_NL_LANGINFO)|g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ + < $(srcdir)/langinfo.in.h; \ + } > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += langinfo.h langinfo.h-t + +Include: +<langinfo.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/langinfo-c++-tests b/gnulib/modules/langinfo-c++-tests new file mode 100644 index 0000000..653637f --- /dev/null +++ b/gnulib/modules/langinfo-c++-tests @@ -0,0 +1,18 @@ +Files: +tests/test-langinfo-c++.cc +tests/signature.h + +Status: +c++-test + +Depends-on: +ansi-c++-opt + +configure.ac: + +Makefile.am: +if ANSICXX +TESTS += test-langinfo-c++ +check_PROGRAMS += test-langinfo-c++ +test_langinfo_c___SOURCES = test-langinfo-c++.cc +endif diff --git a/gnulib/modules/langinfo-tests b/gnulib/modules/langinfo-tests new file mode 100644 index 0000000..ef94dfc --- /dev/null +++ b/gnulib/modules/langinfo-tests @@ -0,0 +1,11 @@ +Files: +tests/test-langinfo.c + +Depends-on: +langinfo-c++-tests + +configure.ac: + +Makefile.am: +TESTS += test-langinfo +check_PROGRAMS += test-langinfo diff --git a/gnulib/modules/largefile b/gnulib/modules/largefile new file mode 100644 index 0000000..ca10d48 --- /dev/null +++ b/gnulib/modules/largefile @@ -0,0 +1,22 @@ +Description: +Use large files. + +Files: +m4/largefile.m4 + +Depends-on: + +configure.ac-early: +AC_REQUIRE([AC_SYS_LARGEFILE]) + +configure.ac: + +Makefile.am: + +Include: + +License: +LGPLv2+ + +Maintainer: +all diff --git a/gnulib/modules/lchmod b/gnulib/modules/lchmod new file mode 100644 index 0000000..a0ac7a5 --- /dev/null +++ b/gnulib/modules/lchmod @@ -0,0 +1,24 @@ +Description: +lchmod that is actually chmod (!) on hosts lacking lchmod + +Files: +m4/lchmod.m4 + +Depends-on: +sys_stat +extensions + +configure.ac: +gl_FUNC_LCHMOD +gl_SYS_STAT_MODULE_INDICATOR([lchmod]) + +Makefile.am: + +Include: +<sys/stat.h> + +License: +GPL + +Maintainer: +Paul Eggert, Jim Meyering diff --git a/gnulib/modules/lchown b/gnulib/modules/lchown new file mode 100644 index 0000000..1ddecca --- /dev/null +++ b/gnulib/modules/lchown @@ -0,0 +1,32 @@ +Description: +lchown() function: change ownership of a file, without following symlinks. + +Files: +lib/lchown.c +m4/lchown.m4 + +Depends-on: +unistd +chown [test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1] +errno [test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1] +lstat [test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1] +stdbool [test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1] +sys_stat [test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1] + +configure.ac: +gl_FUNC_LCHOWN +if test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1; then + AC_LIBOBJ([lchown]) +fi +gl_UNISTD_MODULE_INDICATOR([lchown]) + +Makefile.am: + +Include: +<unistd.h> + +License: +LGPLv2+ + +Maintainer: +Jim Meyering, Eric Blake diff --git a/gnulib/modules/lchown-tests b/gnulib/modules/lchown-tests new file mode 100644 index 0000000..47aec96 --- /dev/null +++ b/gnulib/modules/lchown-tests @@ -0,0 +1,21 @@ +Files: +tests/nap.h +tests/test-lchown.h +tests/test-lchown.c +tests/signature.h +tests/macros.h + +Depends-on: +ignore-value +mgetgroups +usleep +stat-time +stdbool +symlink + +configure.ac: +AC_CHECK_FUNCS_ONCE([getegid]) + +Makefile.am: +TESTS += test-lchown +check_PROGRAMS += test-lchown diff --git a/gnulib/modules/ldd b/gnulib/modules/ldd new file mode 100644 index 0000000..da38d32 --- /dev/null +++ b/gnulib/modules/ldd @@ -0,0 +1,23 @@ +Description: +Command to determine the dynamically linked dependencies of a program. + +Files: +build-aux/ldd.sh.in +m4/ldd.m4 + +Depends-on: + +configure.ac: +gl_LDD +AC_CONFIG_FILES([ldd.sh:build-aux/ldd.sh.in]) + +Makefile.am: + +Include: + +License: +GPLed build tool + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/ldexp b/gnulib/modules/ldexp new file mode 100644 index 0000000..025d981 --- /dev/null +++ b/gnulib/modules/ldexp @@ -0,0 +1,24 @@ +Description: +ldexp() function: multiply a 'double' by a power of 2. + +Files: +m4/ldexp.m4 + +Depends-on: + +configure.ac: +gl_FUNC_LDEXP + +Makefile.am: + +Include: +<math.h> + +Link: +$(LDEXP_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/ldexp-tests b/gnulib/modules/ldexp-tests new file mode 100644 index 0000000..bd252cf --- /dev/null +++ b/gnulib/modules/ldexp-tests @@ -0,0 +1,20 @@ +Files: +tests/test-ldexp.c +tests/test-ldexp.h +tests/minus-zero.h +tests/infinity.h +tests/nan.h +tests/signature.h +tests/macros.h + +Depends-on: +isnand-nolibm +signbit +float + +configure.ac: + +Makefile.am: +TESTS += test-ldexp +check_PROGRAMS += test-ldexp +test_ldexp_LDADD = $(LDADD) @LDEXP_LIBM@ diff --git a/gnulib/modules/ldexpf b/gnulib/modules/ldexpf new file mode 100644 index 0000000..3c1f15c --- /dev/null +++ b/gnulib/modules/ldexpf @@ -0,0 +1,32 @@ +Description: +ldexpf() function: multiply a 'float' by a power of 2. + +Files: +lib/ldexpf.c +m4/ldexpf.m4 +m4/mathfunc.m4 + +Depends-on: +math +ldexp [test $HAVE_LDEXPF = 0] + +configure.ac: +gl_FUNC_LDEXPF +if test $HAVE_LDEXPF = 0; then + AC_LIBOBJ([ldexpf]) +fi +gl_MATH_MODULE_INDICATOR([ldexpf]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(LDEXPF_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/ldexpf-tests b/gnulib/modules/ldexpf-tests new file mode 100644 index 0000000..5de3203 --- /dev/null +++ b/gnulib/modules/ldexpf-tests @@ -0,0 +1,20 @@ +Files: +tests/test-ldexpf.c +tests/test-ldexp.h +tests/minus-zero.h +tests/infinity.h +tests/nan.h +tests/signature.h +tests/macros.h + +Depends-on: +isnanf-nolibm +signbit +float + +configure.ac: + +Makefile.am: +TESTS += test-ldexpf +check_PROGRAMS += test-ldexpf +test_ldexpf_LDADD = $(LDADD) @LDEXPF_LIBM@ diff --git a/gnulib/modules/ldexpl b/gnulib/modules/ldexpl new file mode 100644 index 0000000..35e52ab --- /dev/null +++ b/gnulib/modules/ldexpl @@ -0,0 +1,34 @@ +Description: +ldexpl() function: multiply a 'long double' by a power of 2. + +Files: +lib/ldexpl.c +m4/ldexpl.m4 + +Depends-on: +math +ldexp [{ test $HAVE_DECL_LDEXPL = 0 || test $gl_func_ldexpl = no; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1] +isnanl [{ test $HAVE_DECL_LDEXPL = 0 || test $gl_func_ldexpl = no; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] +fpucw [{ test $HAVE_DECL_LDEXPL = 0 || test $gl_func_ldexpl = no; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] + +configure.ac: +gl_FUNC_LDEXPL +if test $HAVE_DECL_LDEXPL = 0 || test $gl_func_ldexpl = no; then + AC_LIBOBJ([ldexpl]) +fi +gl_MATH_MODULE_INDICATOR([ldexpl]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(LDEXPL_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible, Paolo Bonzini + diff --git a/gnulib/modules/ldexpl-tests b/gnulib/modules/ldexpl-tests new file mode 100644 index 0000000..828143e --- /dev/null +++ b/gnulib/modules/ldexpl-tests @@ -0,0 +1,21 @@ +Files: +tests/test-ldexpl.c +tests/test-ldexp.h +tests/minus-zero.h +tests/infinity.h +tests/nan.h +tests/signature.h +tests/macros.h + +Depends-on: +fpucw +isnanl-nolibm +signbit +float + +configure.ac: + +Makefile.am: +TESTS += test-ldexpl +check_PROGRAMS += test-ldexpl +test_ldexpl_LDADD = $(LDADD) @LDEXPL_LIBM@ diff --git a/gnulib/modules/ldtoastr b/gnulib/modules/ldtoastr new file mode 100644 index 0000000..50731a5 --- /dev/null +++ b/gnulib/modules/ldtoastr @@ -0,0 +1,26 @@ +Description: +Convert long double to accurate string. + +Files: +lib/ftoastr.h +lib/ftoastr.c +lib/ldtoastr.c +m4/c-strtod.m4 + +Depends-on: +intprops + +configure.ac: +AC_REQUIRE([gl_C99_STRTOLD]) + +Makefile.am: +lib_SOURCES += ldtoastr.c + +Include: +"ftoastr.h" + +License: +GPL + +Maintainer: +Paul Eggert diff --git a/gnulib/modules/lgamma b/gnulib/modules/lgamma new file mode 100644 index 0000000..81d1704 --- /dev/null +++ b/gnulib/modules/lgamma @@ -0,0 +1,24 @@ +Description: +lgamma() function: log of gamma function. + +Files: +m4/mathfunc.m4 + +Depends-on: + +configure.ac: +gl_COMMON_DOUBLE_MATHFUNC([lgamma]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(LGAMMA_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/lgamma-tests b/gnulib/modules/lgamma-tests new file mode 100644 index 0000000..b5e91bb --- /dev/null +++ b/gnulib/modules/lgamma-tests @@ -0,0 +1,13 @@ +Files: +tests/test-lgamma.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-lgamma +check_PROGRAMS += test-lgamma +test_lgamma_LDADD = $(LDADD) @LGAMMA_LIBM@ diff --git a/gnulib/modules/lgpl-2.1 b/gnulib/modules/lgpl-2.1 new file mode 100644 index 0000000..5e08920 --- /dev/null +++ b/gnulib/modules/lgpl-2.1 @@ -0,0 +1,19 @@ +Description: +Provide the GNU Lesser General Public License version 2.1 in Texinfo format. + +Files: +doc/lgpl-2.1.texi + +Depends-on: + +configure.ac: + +Makefile.am: + +Include: + +License: +unmodifiable license text + +Maintainer: +all diff --git a/gnulib/modules/lib-ignore b/gnulib/modules/lib-ignore new file mode 100644 index 0000000..8fe1c32 --- /dev/null +++ b/gnulib/modules/lib-ignore @@ -0,0 +1,20 @@ +Description: +If possible, ignore libraries that are not depended on. + +Files: +m4/lib-ignore.m4 + +Depends-on: + +configure.ac: +gl_IGNORE_UNUSED_LIBRARIES + +Makefile.am: + +Include: + +License: +unlimited + +Maintainer: +Paul Eggert and Jim Meyering diff --git a/gnulib/modules/lib-msvc-compat b/gnulib/modules/lib-msvc-compat new file mode 100644 index 0000000..344b501 --- /dev/null +++ b/gnulib/modules/lib-msvc-compat @@ -0,0 +1,14 @@ +Description: +Macros to test whether LD support --output-def. + +Files: +m4/ld-output-def.m4 + +configure.ac: +gl_LD_OUTPUT_DEF + +License: +unlimited + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/lib-symbol-versions b/gnulib/modules/lib-symbol-versions new file mode 100644 index 0000000..6b0d990 --- /dev/null +++ b/gnulib/modules/lib-symbol-versions @@ -0,0 +1,14 @@ +Description: +Macros to test whether LD support --linker-script. + +Files: +m4/ld-version-script.m4 + +configure.ac: +gl_LD_VERSION_SCRIPT + +License: +unlimited + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/lib-symbol-visibility b/gnulib/modules/lib-symbol-visibility new file mode 100644 index 0000000..fc8984d --- /dev/null +++ b/gnulib/modules/lib-symbol-visibility @@ -0,0 +1,30 @@ +Description: +Control of symbols exported by shared libraries. + +Notice: +The value of $(CFLAG_VISIBILITY) needs to be added to the CFLAGS for the +compilation of all sources that make up the library. + +Files: +m4/visibility.m4 + +Depends-on: + +configure.ac: +gl_VISIBILITY + +Makefile.am: +# The value of $(CFLAG_VISIBILITY) needs to be added to the CFLAGS for the +# compilation of all sources that make up the library. This line here does it +# only for the gnulib part of it. The developer is responsible for adding +# $(CFLAG_VISIBILITY) to the Makefile.ams of the other portions of the library. +AM_CFLAGS += $(CFLAG_VISIBILITY) + +Include: + +License: +unlimited + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/libsigsegv b/gnulib/modules/libsigsegv new file mode 100644 index 0000000..7b34045 --- /dev/null +++ b/gnulib/modules/libsigsegv @@ -0,0 +1,27 @@ +Description: +Handle page faults in user mode. + +Files: +m4/libsigsegv.m4 + +Depends-on: +havelib + +configure.ac: +gl_LIBSIGSEGV + +Makefile.am: + +Include: +#if HAVE_LIBSIGSEGV +# include <sigsegv.h> +#endif + +Link: +$(LTLIBSIGSEGV) when linking with libtool, $(LIBSIGSEGV) otherwise + +License: +GPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/libunistring b/gnulib/modules/libunistring new file mode 100644 index 0000000..5073584 --- /dev/null +++ b/gnulib/modules/libunistring @@ -0,0 +1,42 @@ +Description: +Unicode string functions. + +Files: +m4/libunistring.m4 +m4/absolute-header.m4 +lib/libunistring.valgrind + +Depends-on: +havelib +iconv + +configure.ac: +gl_LIBUNISTRING + +Makefile.am: + +Include: +#if HAVE_LIBUNISTRING +# include <unitypes.h> +# include <unistr.h> +# include <uniconv.h> +# include <unistdio.h> +# include <uniname.h> +# include <unictype.h> +# include <uniwidth.h> +# include <uniwbrk.h> +# include <unilbrk.h> +# include <uninorm.h> +# include <unicase.h> +# include <uniregex.h> +# include <unistring/version.h> +#endif + +Link: +$(LTLIBUNISTRING) when linking with libtool, $(LIBUNISTRING) otherwise + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/libunistring-optional b/gnulib/modules/libunistring-optional new file mode 100644 index 0000000..212842a --- /dev/null +++ b/gnulib/modules/libunistring-optional @@ -0,0 +1,28 @@ +Description: +Try to use system libunistring for Unicode string functions. + +Files: +m4/libunistring-optional.m4 +m4/libunistring.m4 +m4/absolute-header.m4 +lib/libunistring.valgrind + +Depends-on: +havelib +iconv + +configure.ac: +gl_LIBUNISTRING_OPTIONAL + +Makefile.am: + +Include: + +Link: +$(LTLIBUNISTRING) when linking with libtool, $(LIBUNISTRING) otherwise + +License: +LGPL + +Maintainer: +Paolo Bonzini, Bruno Haible diff --git a/gnulib/modules/linebuffer b/gnulib/modules/linebuffer new file mode 100644 index 0000000..1444ff0 --- /dev/null +++ b/gnulib/modules/linebuffer @@ -0,0 +1,24 @@ +Description: +Read a line from a stream. + +Files: +lib/linebuffer.h +lib/linebuffer.c + +Depends-on: +xalloc + +configure.ac: + +Makefile.am: +lib_SOURCES += linebuffer.h linebuffer.c + +Include: +"linebuffer.h" + +License: +GPL + +Maintainer: +Jim Meyering + diff --git a/gnulib/modules/link b/gnulib/modules/link new file mode 100644 index 0000000..5ea0ac2 --- /dev/null +++ b/gnulib/modules/link @@ -0,0 +1,30 @@ +Description: +link() function: create a new link for an existing file + +Files: +lib/link.c +m4/link.m4 + +Depends-on: +unistd +stat [test $HAVE_LINK = 0 || test $REPLACE_LINK = 1] +strdup-posix [test $HAVE_LINK = 0 || test $REPLACE_LINK = 1] +sys_stat [test $HAVE_LINK = 0 || test $REPLACE_LINK = 1] + +configure.ac: +gl_FUNC_LINK +if test $HAVE_LINK = 0 || test $REPLACE_LINK = 1; then + AC_LIBOBJ([link]) +fi +gl_UNISTD_MODULE_INDICATOR([link]) + +Makefile.am: + +Include: +<unistd.h> + +License: +LGPLv2+ + +Maintainer: +Martin Lambers, Eric Blake diff --git a/gnulib/modules/link-follow b/gnulib/modules/link-follow new file mode 100644 index 0000000..c7fd48a --- /dev/null +++ b/gnulib/modules/link-follow @@ -0,0 +1,20 @@ +Description: +Determine whether link("symlink", "foo") follows the symlink. + +Files: +m4/link-follow.m4 + +Depends-on: + +configure.ac: +gl_FUNC_LINK_FOLLOWS_SYMLINK + +Makefile.am: + +Include: + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/link-tests b/gnulib/modules/link-tests new file mode 100644 index 0000000..5b1978e --- /dev/null +++ b/gnulib/modules/link-tests @@ -0,0 +1,17 @@ +Files: +tests/test-link.h +tests/test-link.c +tests/signature.h +tests/macros.h + +Depends-on: +ignore-value +errno +stdbool +sys_stat + +configure.ac: + +Makefile.am: +TESTS += test-link +check_PROGRAMS += test-link diff --git a/gnulib/modules/linkat b/gnulib/modules/linkat new file mode 100644 index 0000000..f31dcf7 --- /dev/null +++ b/gnulib/modules/linkat @@ -0,0 +1,52 @@ +Description: +linkat() function: create a hard link, relative to two directories + +Files: +lib/at-func2.c +lib/linkat.c +m4/linkat.m4 + +Depends-on: +unistd +extensions +dirname-lgpl [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1] +errno [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1] +fcntl-h [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1] +filenamecat-lgpl [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1] +link-follow [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1] +areadlink [test $HAVE_LINKAT = 0] +at-internal [test $HAVE_LINKAT = 0] +dosname [test $HAVE_LINKAT = 0] +fstat [test $HAVE_LINKAT = 0] +getcwd-lgpl [test $HAVE_LINKAT = 0] +openat-h [test $HAVE_LINKAT = 0] +openat-die [test $HAVE_LINKAT = 0] +link [test $HAVE_LINKAT = 0] +lstat [test $HAVE_LINKAT = 0] +same-inode [test $HAVE_LINKAT = 0] +save-cwd [test $HAVE_LINKAT = 0] +symlink [test $HAVE_LINKAT = 0] +areadlinkat [test $REPLACE_LINKAT = 1] +fstatat [test $REPLACE_LINKAT = 1] + +configure.ac: +gl_FUNC_LINKAT +if test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1; then + AC_LIBOBJ([linkat]) +fi +if test $HAVE_LINKAT = 0; then + AC_LIBOBJ([at-func2]) +fi +gl_UNISTD_MODULE_INDICATOR([linkat]) + +Makefile.am: + +Include: +<fcntl.h> +<unistd.h> + +License: +GPL + +Maintainer: +Jim Meyering, Eric Blake diff --git a/gnulib/modules/linkat-tests b/gnulib/modules/linkat-tests new file mode 100644 index 0000000..92cb43f --- /dev/null +++ b/gnulib/modules/linkat-tests @@ -0,0 +1,20 @@ +Files: +tests/test-link.h +tests/test-linkat.c +tests/signature.h +tests/macros.h + +Depends-on: +ignore-value +areadlink-with-size +filenamecat-lgpl +getcwd-lgpl +same-inode +unlinkat + +configure.ac: + +Makefile.am: +TESTS += test-linkat +check_PROGRAMS += test-linkat +test_linkat_LDADD = $(LDADD) @LIBINTL@ diff --git a/gnulib/modules/linked-list b/gnulib/modules/linked-list new file mode 100644 index 0000000..1c66585 --- /dev/null +++ b/gnulib/modules/linked-list @@ -0,0 +1,26 @@ +Description: +Sequential list data type implemented by a linked list. + +Files: +lib/gl_linked_list.h +lib/gl_linked_list.c +lib/gl_anylinked_list1.h +lib/gl_anylinked_list2.h + +Depends-on: +list + +configure.ac: + +Makefile.am: +lib_SOURCES += gl_linked_list.h gl_linked_list.c gl_anylinked_list1.h gl_anylinked_list2.h + +Include: +"gl_linked_list.h" + +License: +GPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/linked-list-tests b/gnulib/modules/linked-list-tests new file mode 100644 index 0000000..d6fd5aa --- /dev/null +++ b/gnulib/modules/linked-list-tests @@ -0,0 +1,13 @@ +Files: +tests/test-linked_list.c +tests/macros.h + +Depends-on: +array-list +progname + +configure.ac: + +Makefile.am: +TESTS += test-linked_list +check_PROGRAMS += test-linked_list diff --git a/gnulib/modules/linkedhash-list b/gnulib/modules/linkedhash-list new file mode 100644 index 0000000..16bc79f --- /dev/null +++ b/gnulib/modules/linkedhash-list @@ -0,0 +1,30 @@ +Description: +Sequential list data type implemented by a hash table with a linked list. + +Files: +lib/gl_linkedhash_list.h +lib/gl_linkedhash_list.c +lib/gl_anyhash_list1.h +lib/gl_anyhash_list2.h +lib/gl_anylinked_list1.h +lib/gl_anylinked_list2.h + +Depends-on: +list +stdint +xsize + +configure.ac: + +Makefile.am: +lib_SOURCES += gl_linkedhash_list.h gl_linkedhash_list.c gl_anyhash_list1.h gl_anyhash_list2.h gl_anylinked_list1.h gl_anylinked_list2.h + +Include: +"gl_linkedhash_list.h" + +License: +GPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/linkedhash-list-tests b/gnulib/modules/linkedhash-list-tests new file mode 100644 index 0000000..5109149 --- /dev/null +++ b/gnulib/modules/linkedhash-list-tests @@ -0,0 +1,13 @@ +Files: +tests/test-linkedhash_list.c +tests/macros.h + +Depends-on: +array-list +progname + +configure.ac: + +Makefile.am: +TESTS += test-linkedhash_list +check_PROGRAMS += test-linkedhash_list diff --git a/gnulib/modules/list b/gnulib/modules/list new file mode 100644 index 0000000..202e9ce --- /dev/null +++ b/gnulib/modules/list @@ -0,0 +1,26 @@ +Description: +Abstract sequential list data type. + +Files: +lib/gl_list.h +lib/gl_list.c +m4/gl_list.m4 + +Depends-on: +inline +stdbool + +configure.ac: +gl_LIST + +Makefile.am: +lib_SOURCES += gl_list.h gl_list.c + +Include: +"gl_list.h" + +License: +GPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/listen b/gnulib/modules/listen new file mode 100644 index 0000000..baaadc2 --- /dev/null +++ b/gnulib/modules/listen @@ -0,0 +1,33 @@ +Description: +listen() function: make a server socket ready for accepting connections. + +Files: +lib/listen.c +lib/w32sock.h + +Depends-on: +sys_socket +socketlib +errno [test "$ac_cv_header_winsock2_h" = yes] +msvc-nothrow [test "$ac_cv_header_winsock2_h" = yes] + +configure.ac: +AC_REQUIRE([gl_HEADER_SYS_SOCKET]) +if test "$ac_cv_header_winsock2_h" = yes; then + AC_LIBOBJ([listen]) +fi +gl_SYS_SOCKET_MODULE_INDICATOR([listen]) + +Makefile.am: + +Include: +<sys/socket.h> + +Link: +$(LIBSOCKET) + +License: +LGPLv2+ + +Maintainer: +Paolo Bonzini, Simon Josefsson diff --git a/gnulib/modules/listen-tests b/gnulib/modules/listen-tests new file mode 100644 index 0000000..1c0fca4 --- /dev/null +++ b/gnulib/modules/listen-tests @@ -0,0 +1,14 @@ +Files: +tests/test-listen.c +tests/signature.h +tests/macros.h + +Depends-on: +sockets + +configure.ac: + +Makefile.am: +TESTS += test-listen +check_PROGRAMS += test-listen +test_listen_LDADD = $(LDADD) @LIBSOCKET@ diff --git a/gnulib/modules/localcharset b/gnulib/modules/localcharset new file mode 100644 index 0000000..e07061a --- /dev/null +++ b/gnulib/modules/localcharset @@ -0,0 +1,106 @@ +Description: +Return current locale's character encoding. + +Notice: +If your package's tests make use of the locale_charset() function directly or +indirectly, you may need to define the CHARSETALIASDIR environment variable, +so that "make check" works before "make install". In Makefile.am syntax: +TESTS_ENVIRONMENT += @LOCALCHARSET_TESTS_ENVIRONMENT@ + +Files: +lib/localcharset.h +lib/localcharset.c +lib/config.charset +lib/ref-add.sin +lib/ref-del.sin +m4/codeset.m4 +m4/fcntl-o.m4 +m4/glibc21.m4 +m4/localcharset.m4 + +Depends-on: +configmake +extensions + +configure.ac: +gl_LOCALCHARSET +LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(top_builddir)/$gl_source_base\"" +AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT]) + +Makefile.am: +lib_SOURCES += localcharset.h localcharset.c + +# We need the following in order to install a simple file in $(libdir) +# which is shared with other installed packages. We use a list of referencing +# packages so that "make uninstall" will remove the file if and only if it +# is not used by another installed package. +# On systems with glibc-2.1 or newer, the file is redundant, therefore we +# avoid installing it. + +all-local: charset.alias ref-add.sed ref-del.sed + +charset_alias = $(DESTDIR)$(libdir)/charset.alias +charset_tmp = $(DESTDIR)$(libdir)/charset.tmp +install-exec-local: install-exec-localcharset +install-exec-localcharset: all-local + if test $(GLIBC21) = no; then \ + case '$(host_os)' in \ + darwin[56]*) \ + need_charset_alias=true ;; \ + darwin* | cygwin* | mingw* | pw32* | cegcc*) \ + need_charset_alias=false ;; \ + *) \ + need_charset_alias=true ;; \ + esac ; \ + else \ + need_charset_alias=false ; \ + fi ; \ + if $$need_charset_alias; then \ + $(mkinstalldirs) $(DESTDIR)$(libdir) ; \ + fi ; \ + if test -f $(charset_alias); then \ + sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \ + $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \ + rm -f $(charset_tmp) ; \ + else \ + if $$need_charset_alias; then \ + sed -f ref-add.sed charset.alias > $(charset_tmp) ; \ + $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \ + rm -f $(charset_tmp) ; \ + fi ; \ + fi + +uninstall-local: uninstall-localcharset +uninstall-localcharset: all-local + if test -f $(charset_alias); then \ + sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \ + if grep '^# Packages using this file: $$' $(charset_tmp) \ + > /dev/null; then \ + rm -f $(charset_alias); \ + else \ + $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \ + fi; \ + rm -f $(charset_tmp); \ + fi + +charset.alias: config.charset + $(AM_V_GEN)rm -f t-$@ $@ && \ + $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@ && \ + mv t-$@ $@ + +SUFFIXES += .sed .sin +.sin.sed: + $(AM_V_GEN)rm -f t-$@ $@ && \ + sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ && \ + mv t-$@ $@ + +CLEANFILES += charset.alias ref-add.sed ref-del.sed + +Include: +"localcharset.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/locale b/gnulib/modules/locale new file mode 100644 index 0000000..4c66c84 --- /dev/null +++ b/gnulib/modules/locale @@ -0,0 +1,53 @@ +Description: +A <locale.h> that conforms to POSIX. + +Files: +lib/locale.in.h +m4/locale_h.m4 + +Depends-on: +extensions +include_next +snippet/arg-nonnull +snippet/c++defs +snippet/warn-on-use +stddef + +configure.ac: +gl_LOCALE_H + +Makefile.am: +BUILT_SOURCES += locale.h + +# We need the following in order to create <locale.h> when the system +# doesn't have one that provides all definitions. +locale.h: locale.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ + sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_LOCALE_H''@|$(NEXT_LOCALE_H)|g' \ + -e 's/@''GNULIB_SETLOCALE''@/$(GNULIB_SETLOCALE)/g' \ + -e 's/@''GNULIB_DUPLOCALE''@/$(GNULIB_DUPLOCALE)/g' \ + -e 's|@''HAVE_DUPLOCALE''@|$(HAVE_DUPLOCALE)|g' \ + -e 's|@''HAVE_XLOCALE_H''@|$(HAVE_XLOCALE_H)|g' \ + -e 's|@''REPLACE_SETLOCALE''@|$(REPLACE_SETLOCALE)|g' \ + -e 's|@''REPLACE_DUPLOCALE''@|$(REPLACE_DUPLOCALE)|g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ + -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ + < $(srcdir)/locale.in.h; \ + } > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += locale.h locale.h-t + +Include: +<locale.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/locale-c++-tests b/gnulib/modules/locale-c++-tests new file mode 100644 index 0000000..684402d --- /dev/null +++ b/gnulib/modules/locale-c++-tests @@ -0,0 +1,19 @@ +Files: +tests/test-locale-c++.cc +tests/test-locale-c++2.cc +tests/signature.h + +Status: +c++-test + +Depends-on: +ansi-c++-opt + +configure.ac: + +Makefile.am: +if ANSICXX +TESTS += test-locale-c++ +check_PROGRAMS += test-locale-c++ +test_locale_c___SOURCES = test-locale-c++.cc test-locale-c++2.cc +endif diff --git a/gnulib/modules/locale-tests b/gnulib/modules/locale-tests new file mode 100644 index 0000000..2e661f7 --- /dev/null +++ b/gnulib/modules/locale-tests @@ -0,0 +1,13 @@ +Files: +tests/test-locale.c + +Depends-on: +verify +locale-c++-tests + +configure.ac: +AC_CHECK_FUNCS_ONCE([newlocale]) + +Makefile.am: +TESTS += test-locale +check_PROGRAMS += test-locale diff --git a/gnulib/modules/localename b/gnulib/modules/localename new file mode 100644 index 0000000..b6b62e7 --- /dev/null +++ b/gnulib/modules/localename @@ -0,0 +1,33 @@ +Description: +Return current locale's name, according to glibc naming conventions. + +Files: +lib/localename.h +lib/localename.c +m4/localename.m4 +m4/intlmacosx.m4 +m4/lcmessage.m4 + +Depends-on: +strdup +lock + +configure.ac: +gl_LOCALENAME + +Makefile.am: +lib_SOURCES += localename.c + +Include: +"localename.h" + +Link: +@INTL_MACOSX_LIBS@ +$(LTLIBTHREAD) when linking with libtool, $(LIBTHREAD) otherwise + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/localename-tests b/gnulib/modules/localename-tests new file mode 100644 index 0000000..f7633f0 --- /dev/null +++ b/gnulib/modules/localename-tests @@ -0,0 +1,18 @@ +Files: +tests/test-localename.c +tests/macros.h + +Depends-on: +locale +setenv +unsetenv +strdup + +configure.ac: +AC_CHECK_FUNCS_ONCE([newlocale]) + +Makefile.am: +TESTS += test-localename +check_PROGRAMS += test-localename +test_localename_LDADD = $(LDADD) @INTL_MACOSX_LIBS@ $(LIBTHREAD) + diff --git a/gnulib/modules/lock b/gnulib/modules/lock new file mode 100644 index 0000000..f7e4c9a --- /dev/null +++ b/gnulib/modules/lock @@ -0,0 +1,29 @@ +Description: +Locking in multithreaded situations. + +Files: +lib/glthread/lock.h +lib/glthread/lock.c +m4/lock.m4 + +Depends-on: +threadlib + +configure.ac: +gl_LOCK + +Makefile.am: +lib_SOURCES += glthread/lock.h glthread/lock.c + +Include: +"glthread/lock.h" + +Link: +$(LTLIBTHREAD) when linking with libtool, $(LIBTHREAD) otherwise + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/lock-tests b/gnulib/modules/lock-tests new file mode 100644 index 0000000..d0e5010 --- /dev/null +++ b/gnulib/modules/lock-tests @@ -0,0 +1,13 @@ +Files: +tests/test-lock.c + +Depends-on: +thread +yield + +configure.ac: + +Makefile.am: +TESTS += test-lock +check_PROGRAMS += test-lock +test_lock_LDADD = $(LDADD) @LIBMULTITHREAD@ @YIELD_LIB@ diff --git a/gnulib/modules/log b/gnulib/modules/log new file mode 100644 index 0000000..9f320a3 --- /dev/null +++ b/gnulib/modules/log @@ -0,0 +1,25 @@ +Description: +log() function: natural logarithmic function. + +Files: +m4/log.m4 +m4/mathfunc.m4 + +Depends-on: + +configure.ac: +gl_FUNC_LOG + +Makefile.am: + +Include: +<math.h> + +Link: +$(LOG_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/log-tests b/gnulib/modules/log-tests new file mode 100644 index 0000000..d3f5adb --- /dev/null +++ b/gnulib/modules/log-tests @@ -0,0 +1,13 @@ +Files: +tests/test-log.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-log +check_PROGRAMS += test-log +test_log_LDADD = $(LDADD) @LOG_LIBM@ diff --git a/gnulib/modules/log10 b/gnulib/modules/log10 new file mode 100644 index 0000000..4385288 --- /dev/null +++ b/gnulib/modules/log10 @@ -0,0 +1,25 @@ +Description: +log10() function: base 10 logarithmic function. + +Files: +m4/log10.m4 +m4/mathfunc.m4 + +Depends-on: + +configure.ac: +gl_FUNC_LOG10 + +Makefile.am: + +Include: +<math.h> + +Link: +$(LOG10_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/log10-tests b/gnulib/modules/log10-tests new file mode 100644 index 0000000..5fc6e6b --- /dev/null +++ b/gnulib/modules/log10-tests @@ -0,0 +1,13 @@ +Files: +tests/test-log10.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-log10 +check_PROGRAMS += test-log10 +test_log10_LDADD = $(LDADD) @LOG10_LIBM@ diff --git a/gnulib/modules/log10f b/gnulib/modules/log10f new file mode 100644 index 0000000..d6c5b8b --- /dev/null +++ b/gnulib/modules/log10f @@ -0,0 +1,31 @@ +Description: +log10f() function: base 10 logarithmic function. + +Files: +lib/log10f.c +m4/log10f.m4 + +Depends-on: +math +log10 [test $HAVE_LOG10F = 0] + +configure.ac: +gl_FUNC_LOG10F +if test $HAVE_LOG10F = 0; then + AC_LIBOBJ([log10f]) +fi +gl_MATH_MODULE_INDICATOR([log10f]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(LOG10F_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/log10f-tests b/gnulib/modules/log10f-tests new file mode 100644 index 0000000..1cd295c --- /dev/null +++ b/gnulib/modules/log10f-tests @@ -0,0 +1,13 @@ +Files: +tests/test-log10f.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-log10f +check_PROGRAMS += test-log10f +test_log10f_LDADD = $(LDADD) @LOG10F_LIBM@ diff --git a/gnulib/modules/log1p b/gnulib/modules/log1p new file mode 100644 index 0000000..955893b --- /dev/null +++ b/gnulib/modules/log1p @@ -0,0 +1,24 @@ +Description: +log1p() function: natural logarithm of 1 plus argument. + +Files: +m4/mathfunc.m4 + +Depends-on: + +configure.ac: +gl_COMMON_DOUBLE_MATHFUNC([log1p]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(LOG1P_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/log1p-tests b/gnulib/modules/log1p-tests new file mode 100644 index 0000000..f0fff09 --- /dev/null +++ b/gnulib/modules/log1p-tests @@ -0,0 +1,13 @@ +Files: +tests/test-log1p.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-log1p +check_PROGRAMS += test-log1p +test_log1p_LDADD = $(LDADD) @LOG1P_LIBM@ diff --git a/gnulib/modules/logb b/gnulib/modules/logb new file mode 100644 index 0000000..7c93afb --- /dev/null +++ b/gnulib/modules/logb @@ -0,0 +1,27 @@ +Description: +logb() function: get exponent. + +Files: +m4/logb.m4 +m4/mathfunc.m4 + +Depends-on: +math + +configure.ac: +gl_FUNC_LOGB +gl_MATH_MODULE_INDICATOR([logb]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(LOGB_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/logb-tests b/gnulib/modules/logb-tests new file mode 100644 index 0000000..f949070 --- /dev/null +++ b/gnulib/modules/logb-tests @@ -0,0 +1,13 @@ +Files: +tests/test-logb.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-logb +check_PROGRAMS += test-logb +test_logb_LDADD = $(LDADD) @LOGB_LIBM@ diff --git a/gnulib/modules/logf b/gnulib/modules/logf new file mode 100644 index 0000000..a2e3f25 --- /dev/null +++ b/gnulib/modules/logf @@ -0,0 +1,31 @@ +Description: +logf() function: natural logarithmic function. + +Files: +lib/logf.c +m4/logf.m4 + +Depends-on: +math +log [test $HAVE_LOGF = 0] + +configure.ac: +gl_FUNC_LOGF +if test $HAVE_LOGF = 0; then + AC_LIBOBJ([logf]) +fi +gl_MATH_MODULE_INDICATOR([logf]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(LOGF_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/logf-tests b/gnulib/modules/logf-tests new file mode 100644 index 0000000..d56c49e --- /dev/null +++ b/gnulib/modules/logf-tests @@ -0,0 +1,13 @@ +Files: +tests/test-logf.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-logf +check_PROGRAMS += test-logf +test_logf_LDADD = $(LDADD) @LOGF_LIBM@ diff --git a/gnulib/modules/login_tty b/gnulib/modules/login_tty new file mode 100644 index 0000000..abf7482 --- /dev/null +++ b/gnulib/modules/login_tty @@ -0,0 +1,32 @@ +Description: +login_tty() function: Assign a given terminal as controlling terminal and as +standard input, standard output, standard error of the current process. + +Files: +lib/login_tty.c +m4/pty.m4 + +Depends-on: +pty +sys_ioctl + +configure.ac: +gl_FUNC_LOGIN_TTY +if test $ac_cv_func_login_tty = no; then + AC_LIBOBJ([login_tty]) +fi +gl_PTY_MODULE_INDICATOR([login_tty]) + +Makefile.am: + +Include: +extern int login_tty (int); + +Link: +$(PTY_LIB) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/login_tty-tests b/gnulib/modules/login_tty-tests new file mode 100644 index 0000000..306b0eb --- /dev/null +++ b/gnulib/modules/login_tty-tests @@ -0,0 +1,13 @@ +Files: +tests/test-login_tty.c + +Depends-on: +openpty +tcgetsid + +configure.ac: + +Makefile.am: +TESTS += test-login_tty +check_PROGRAMS += test-login_tty +test_login_tty_LDADD = $(LDADD) @PTY_LIB@ diff --git a/gnulib/modules/logl b/gnulib/modules/logl new file mode 100644 index 0000000..1f0a956 --- /dev/null +++ b/gnulib/modules/logl @@ -0,0 +1,35 @@ +Description: +logl() function: logarithm with long double argument. + +Files: +lib/logl.c +m4/logl.m4 + +Depends-on: +math +extensions +log [test $HAVE_LOGL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1] +frexpl [test $HAVE_LOGL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] +isnanl [test $HAVE_LOGL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] +floorl [test $HAVE_LOGL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] + +configure.ac: +gl_FUNC_LOGL +if test $HAVE_LOGL = 0; then + AC_LIBOBJ([logl]) +fi +gl_MATH_MODULE_INDICATOR([logl]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(LOGL_LIBM) + +License: +LGPL + +Maintainer: +Paolo Bonzini diff --git a/gnulib/modules/logl-tests b/gnulib/modules/logl-tests new file mode 100644 index 0000000..805a3c4 --- /dev/null +++ b/gnulib/modules/logl-tests @@ -0,0 +1,14 @@ +Files: +tests/test-logl.c +tests/signature.h +tests/macros.h + +Depends-on: +fpucw + +configure.ac: + +Makefile.am: +TESTS += test-logl +check_PROGRAMS += test-logl +test_logl_LDADD = $(LDADD) @LOGL_LIBM@ diff --git a/gnulib/modules/long-options b/gnulib/modules/long-options new file mode 100644 index 0000000..f1106c3 --- /dev/null +++ b/gnulib/modules/long-options @@ -0,0 +1,25 @@ +Description: +Handle --help and --version options. + +Files: +lib/long-options.h +lib/long-options.c + +Depends-on: +getopt-gnu +stdlib +version-etc + +configure.ac: + +Makefile.am: +lib_SOURCES += long-options.c + +Include: +"long-options.h" + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/longlong b/gnulib/modules/longlong new file mode 100644 index 0000000..5b73e93 --- /dev/null +++ b/gnulib/modules/longlong @@ -0,0 +1,15 @@ +Description: +Define HAVE_LONG_LONG_INT if 'long long int' works. + +Files: +m4/longlong.m4 + +configure.ac: +AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) +AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT]) + +License: +GPL + +Maintainer: +Ben Pfaff diff --git a/gnulib/modules/lseek b/gnulib/modules/lseek new file mode 100644 index 0000000..1ec6e2a --- /dev/null +++ b/gnulib/modules/lseek @@ -0,0 +1,30 @@ +Description: +lseek() function: Reposition a file descriptor. + +Files: +lib/lseek.c +m4/lseek.m4 + +Depends-on: +unistd +largefile +msvc-nothrow [test $REPLACE_LSEEK = 1] +fstat [test $REPLACE_LSEEK = 1] + +configure.ac: +gl_FUNC_LSEEK +if test $REPLACE_LSEEK = 1; then + AC_LIBOBJ([lseek]) +fi +gl_UNISTD_MODULE_INDICATOR([lseek]) + +Makefile.am: + +Include: +<unistd.h> + +License: +LGPLv2+ + +Maintainer: +Eric Blake diff --git a/gnulib/modules/lseek-tests b/gnulib/modules/lseek-tests new file mode 100644 index 0000000..890a87f --- /dev/null +++ b/gnulib/modules/lseek-tests @@ -0,0 +1,13 @@ +Files: +tests/test-lseek.c +tests/test-lseek.sh +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-lseek.sh +check_PROGRAMS += test-lseek diff --git a/gnulib/modules/lstat b/gnulib/modules/lstat new file mode 100644 index 0000000..7fe97ca --- /dev/null +++ b/gnulib/modules/lstat @@ -0,0 +1,31 @@ +Description: +lstat() function: return information about a file or symbolic link. + +Files: +lib/lstat.c +m4/lstat.m4 + +Depends-on: +sys_stat +largefile +dosname [test $REPLACE_LSTAT = 1] +stat [test $REPLACE_LSTAT = 1] + +configure.ac: +gl_FUNC_LSTAT +if test $REPLACE_LSTAT = 1; then + AC_LIBOBJ([lstat]) + gl_PREREQ_LSTAT +fi +gl_SYS_STAT_MODULE_INDICATOR([lstat]) + +Makefile.am: + +Include: +<sys/stat.h> + +License: +LGPLv2+ + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/lstat-tests b/gnulib/modules/lstat-tests new file mode 100644 index 0000000..911a7ff --- /dev/null +++ b/gnulib/modules/lstat-tests @@ -0,0 +1,18 @@ +Files: +tests/test-lstat.h +tests/test-lstat.c +tests/signature.h +tests/macros.h + +Depends-on: +ignore-value +errno +same-inode +stdbool +symlink + +configure.ac: + +Makefile.am: +TESTS += test-lstat +check_PROGRAMS += test-lstat diff --git a/gnulib/modules/maintainer-makefile b/gnulib/modules/maintainer-makefile new file mode 100644 index 0000000..ed43e87 --- /dev/null +++ b/gnulib/modules/maintainer-makefile @@ -0,0 +1,20 @@ +Description: +Helper GNUmakefile with syntax checks, build improvements, etc. + +Files: +top/maint.mk + +Depends-on: +gnumakefile +useless-if-before-free +vc-list-files + +configure.ac: +AC_CONFIG_COMMANDS_PRE([m4_ifdef([AH_HEADER], + [AC_SUBST([CONFIG_INCLUDE], m4_defn([AH_HEADER]))])]) + +License: +GPLed build tool + +Maintainer: +all diff --git a/gnulib/modules/malloc b/gnulib/modules/malloc new file mode 100644 index 0000000..366408a --- /dev/null +++ b/gnulib/modules/malloc @@ -0,0 +1,31 @@ +Description: +malloc() function that is glibc compatible. + +Comment: +This module should not be used as a dependency from a test module, +otherwise when this module occurs as a tests-related module, it will +have side effects on the compilation of the main modules in lib/. + +Status: +deprecated + +Notice: +This module is deprecated. Use the module 'malloc-gnu' instead. + +Files: + +Depends-on: +malloc-gnu + +configure.ac: + +Makefile.am: + +Include: +<stdlib.h> + +License: +LGPLv2+ + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/malloc-gnu b/gnulib/modules/malloc-gnu new file mode 100644 index 0000000..0bfa92d --- /dev/null +++ b/gnulib/modules/malloc-gnu @@ -0,0 +1,31 @@ +Description: +malloc() function that is glibc compatible. + +Comment: +This module should not be used as a dependency from a test module, +otherwise when this module occurs as a tests-related module, it will +have side effects on the compilation of the main modules in lib/. + +Files: +lib/malloc.c + +Depends-on: +malloc-posix + +configure.ac: +gl_FUNC_MALLOC_GNU +if test $REPLACE_MALLOC = 1; then + AC_LIBOBJ([malloc]) +fi +gl_MODULE_INDICATOR([malloc-gnu]) + +Makefile.am: + +Include: +<stdlib.h> + +License: +LGPLv2+ + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/malloc-gnu-tests b/gnulib/modules/malloc-gnu-tests new file mode 100644 index 0000000..75f7e4f --- /dev/null +++ b/gnulib/modules/malloc-gnu-tests @@ -0,0 +1,10 @@ +Files: +tests/test-malloc-gnu.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-malloc-gnu +check_PROGRAMS += test-malloc-gnu diff --git a/gnulib/modules/malloc-posix b/gnulib/modules/malloc-posix new file mode 100644 index 0000000..b4b0bc0 --- /dev/null +++ b/gnulib/modules/malloc-posix @@ -0,0 +1,28 @@ +Description: +malloc() function: allocate memory with indefinite extent. + +Files: +lib/malloc.c +m4/malloc.m4 + +Depends-on: +stdlib + +configure.ac: +gl_FUNC_MALLOC_POSIX +if test $REPLACE_MALLOC = 1; then + AC_LIBOBJ([malloc]) +fi +gl_STDLIB_MODULE_INDICATOR([malloc-posix]) + +Makefile.am: + +Include: +<stdlib.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/malloca b/gnulib/modules/malloca new file mode 100644 index 0000000..57cbe32 --- /dev/null +++ b/gnulib/modules/malloca @@ -0,0 +1,29 @@ +Description: +Safe automatic memory allocation. + +Files: +lib/malloca.h +lib/malloca.c +lib/malloca.valgrind +m4/malloca.m4 +m4/eealloc.m4 +m4/longlong.m4 + +Depends-on: +alloca-opt +verify + +configure.ac: +gl_MALLOCA + +Makefile.am: +lib_SOURCES += malloca.c + +Include: +"malloca.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/malloca-tests b/gnulib/modules/malloca-tests new file mode 100644 index 0000000..57cd1bc --- /dev/null +++ b/gnulib/modules/malloca-tests @@ -0,0 +1,12 @@ +Files: +tests/test-malloca.c + +Depends-on: +unsetenv + +configure.ac: + +Makefile.am: +TESTS += test-malloca +check_PROGRAMS += test-malloca + diff --git a/gnulib/modules/manywarnings b/gnulib/modules/manywarnings new file mode 100644 index 0000000..f557ef0 --- /dev/null +++ b/gnulib/modules/manywarnings @@ -0,0 +1,16 @@ +Description: +Helper M4 functions to help work out a set of warning parameters to use. + +Files: +m4/manywarnings.m4 + +Depends-on: +warnings + +configure.ac: + +License: +unlimited + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/math b/gnulib/modules/math new file mode 100644 index 0000000..5bca0e1 --- /dev/null +++ b/gnulib/modules/math @@ -0,0 +1,198 @@ +Description: +A GNU-like <math.h>. + +Files: +lib/math.in.h +m4/math_h.m4 + +Depends-on: +include_next +snippet/arg-nonnull +snippet/c++defs +snippet/warn-on-use +float + +configure.ac: +gl_MATH_H + +Makefile.am: +BUILT_SOURCES += math.h + +# We need the following in order to create <math.h> when the system +# doesn't have one that works with the given compiler. +math.h: math.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ + sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ + -e 's|@''INCLUDE_NEXT_AS_FIRST_DIRECTIVE''@|$(INCLUDE_NEXT_AS_FIRST_DIRECTIVE)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_AS_FIRST_DIRECTIVE_MATH_H''@|$(NEXT_AS_FIRST_DIRECTIVE_MATH_H)|g' \ + -e 's/@''GNULIB_ACOSF''@/$(GNULIB_ACOSF)/g' \ + -e 's/@''GNULIB_ACOSL''@/$(GNULIB_ACOSL)/g' \ + -e 's/@''GNULIB_ASINF''@/$(GNULIB_ASINF)/g' \ + -e 's/@''GNULIB_ASINL''@/$(GNULIB_ASINL)/g' \ + -e 's/@''GNULIB_ATANF''@/$(GNULIB_ATANF)/g' \ + -e 's/@''GNULIB_ATANL''@/$(GNULIB_ATANL)/g' \ + -e 's/@''GNULIB_ATAN2F''@/$(GNULIB_ATAN2F)/g' \ + -e 's/@''GNULIB_CEIL''@/$(GNULIB_CEIL)/g' \ + -e 's/@''GNULIB_CEILF''@/$(GNULIB_CEILF)/g' \ + -e 's/@''GNULIB_CEILL''@/$(GNULIB_CEILL)/g' \ + -e 's/@''GNULIB_COPYSIGN''@/$(GNULIB_COPYSIGN)/g' \ + -e 's/@''GNULIB_COPYSIGNF''@/$(GNULIB_COPYSIGNF)/g' \ + -e 's/@''GNULIB_COPYSIGNL''@/$(GNULIB_COPYSIGNL)/g' \ + -e 's/@''GNULIB_COSF''@/$(GNULIB_COSF)/g' \ + -e 's/@''GNULIB_COSL''@/$(GNULIB_COSL)/g' \ + -e 's/@''GNULIB_COSHF''@/$(GNULIB_COSHF)/g' \ + -e 's/@''GNULIB_EXPF''@/$(GNULIB_EXPF)/g' \ + -e 's/@''GNULIB_EXPL''@/$(GNULIB_EXPL)/g' \ + -e 's/@''GNULIB_FABSF''@/$(GNULIB_FABSF)/g' \ + -e 's/@''GNULIB_FLOOR''@/$(GNULIB_FLOOR)/g' \ + -e 's/@''GNULIB_FLOORF''@/$(GNULIB_FLOORF)/g' \ + -e 's/@''GNULIB_FLOORL''@/$(GNULIB_FLOORL)/g' \ + -e 's/@''GNULIB_FMA''@/$(GNULIB_FMA)/g' \ + -e 's/@''GNULIB_FMAF''@/$(GNULIB_FMAF)/g' \ + -e 's/@''GNULIB_FMAL''@/$(GNULIB_FMAL)/g' \ + -e 's/@''GNULIB_FMODF''@/$(GNULIB_FMODF)/g' \ + -e 's/@''GNULIB_FREXPF''@/$(GNULIB_FREXPF)/g' \ + -e 's/@''GNULIB_FREXP''@/$(GNULIB_FREXP)/g' \ + -e 's/@''GNULIB_FREXPL''@/$(GNULIB_FREXPL)/g' \ + -e 's/@''GNULIB_ISFINITE''@/$(GNULIB_ISFINITE)/g' \ + -e 's/@''GNULIB_ISINF''@/$(GNULIB_ISINF)/g' \ + -e 's/@''GNULIB_ISNAN''@/$(GNULIB_ISNAN)/g' \ + -e 's/@''GNULIB_ISNANF''@/$(GNULIB_ISNANF)/g' \ + -e 's/@''GNULIB_ISNAND''@/$(GNULIB_ISNAND)/g' \ + -e 's/@''GNULIB_ISNANL''@/$(GNULIB_ISNANL)/g' \ + -e 's/@''GNULIB_LDEXPF''@/$(GNULIB_LDEXPF)/g' \ + -e 's/@''GNULIB_LDEXPL''@/$(GNULIB_LDEXPL)/g' \ + -e 's/@''GNULIB_LOGB''@/$(GNULIB_LOGB)/g' \ + -e 's/@''GNULIB_LOGF''@/$(GNULIB_LOGF)/g' \ + -e 's/@''GNULIB_LOGL''@/$(GNULIB_LOGL)/g' \ + -e 's/@''GNULIB_LOG10F''@/$(GNULIB_LOG10F)/g' \ + -e 's/@''GNULIB_MODFF''@/$(GNULIB_MODFF)/g' \ + -e 's/@''GNULIB_POWF''@/$(GNULIB_POWF)/g' \ + -e 's/@''GNULIB_RINT''@/$(GNULIB_RINT)/g' \ + -e 's/@''GNULIB_RINTF''@/$(GNULIB_RINTF)/g' \ + -e 's/@''GNULIB_RINTL''@/$(GNULIB_RINTL)/g' \ + -e 's/@''GNULIB_ROUND''@/$(GNULIB_ROUND)/g' \ + -e 's/@''GNULIB_ROUNDF''@/$(GNULIB_ROUNDF)/g' \ + -e 's/@''GNULIB_ROUNDL''@/$(GNULIB_ROUNDL)/g' \ + -e 's/@''GNULIB_SIGNBIT''@/$(GNULIB_SIGNBIT)/g' \ + -e 's/@''GNULIB_SINF''@/$(GNULIB_SINF)/g' \ + -e 's/@''GNULIB_SINL''@/$(GNULIB_SINL)/g' \ + -e 's/@''GNULIB_SINHF''@/$(GNULIB_SINHF)/g' \ + -e 's/@''GNULIB_SQRTF''@/$(GNULIB_SQRTF)/g' \ + -e 's/@''GNULIB_SQRTL''@/$(GNULIB_SQRTL)/g' \ + -e 's/@''GNULIB_TANF''@/$(GNULIB_TANF)/g' \ + -e 's/@''GNULIB_TANL''@/$(GNULIB_TANL)/g' \ + -e 's/@''GNULIB_TANHF''@/$(GNULIB_TANHF)/g' \ + -e 's/@''GNULIB_TRUNC''@/$(GNULIB_TRUNC)/g' \ + -e 's/@''GNULIB_TRUNCF''@/$(GNULIB_TRUNCF)/g' \ + -e 's/@''GNULIB_TRUNCL''@/$(GNULIB_TRUNCL)/g' \ + < $(srcdir)/math.in.h | \ + sed -e 's|@''HAVE_ACOSF''@|$(HAVE_ACOSF)|g' \ + -e 's|@''HAVE_ACOSL''@|$(HAVE_ACOSL)|g' \ + -e 's|@''HAVE_ASINF''@|$(HAVE_ASINF)|g' \ + -e 's|@''HAVE_ASINL''@|$(HAVE_ASINL)|g' \ + -e 's|@''HAVE_ATANF''@|$(HAVE_ATANF)|g' \ + -e 's|@''HAVE_ATANL''@|$(HAVE_ATANL)|g' \ + -e 's|@''HAVE_ATAN2F''@|$(HAVE_ATAN2F)|g' \ + -e 's|@''HAVE_COPYSIGN''@|$(HAVE_COPYSIGN)|g' \ + -e 's|@''HAVE_COPYSIGNF''@|$(HAVE_COPYSIGNF)|g' \ + -e 's|@''HAVE_COPYSIGNL''@|$(HAVE_COPYSIGNL)|g' \ + -e 's|@''HAVE_COSF''@|$(HAVE_COSF)|g' \ + -e 's|@''HAVE_COSL''@|$(HAVE_COSL)|g' \ + -e 's|@''HAVE_COSHF''@|$(HAVE_COSHF)|g' \ + -e 's|@''HAVE_EXPF''@|$(HAVE_EXPF)|g' \ + -e 's|@''HAVE_EXPL''@|$(HAVE_EXPL)|g' \ + -e 's|@''HAVE_FABSF''@|$(HAVE_FABSF)|g' \ + -e 's|@''HAVE_FMA''@|$(HAVE_FMA)|g' \ + -e 's|@''HAVE_FMAF''@|$(HAVE_FMAF)|g' \ + -e 's|@''HAVE_FMAL''@|$(HAVE_FMAL)|g' \ + -e 's|@''HAVE_FMODF''@|$(HAVE_FMODF)|g' \ + -e 's|@''HAVE_FREXPF''@|$(HAVE_FREXPF)|g' \ + -e 's|@''HAVE_ISNANF''@|$(HAVE_ISNANF)|g' \ + -e 's|@''HAVE_ISNAND''@|$(HAVE_ISNAND)|g' \ + -e 's|@''HAVE_ISNANL''@|$(HAVE_ISNANL)|g' \ + -e 's|@''HAVE_LDEXPF''@|$(HAVE_LDEXPF)|g' \ + -e 's|@''HAVE_LOGF''@|$(HAVE_LOGF)|g' \ + -e 's|@''HAVE_LOGL''@|$(HAVE_LOGL)|g' \ + -e 's|@''HAVE_LOG10F''@|$(HAVE_LOG10F)|g' \ + -e 's|@''HAVE_MODFF''@|$(HAVE_MODFF)|g' \ + -e 's|@''HAVE_POWF''@|$(HAVE_POWF)|g' \ + -e 's|@''HAVE_RINT''@|$(HAVE_RINT)|g' \ + -e 's|@''HAVE_RINTF''@|$(HAVE_RINTF)|g' \ + -e 's|@''HAVE_RINTL''@|$(HAVE_RINTL)|g' \ + -e 's|@''HAVE_SINF''@|$(HAVE_SINF)|g' \ + -e 's|@''HAVE_SINL''@|$(HAVE_SINL)|g' \ + -e 's|@''HAVE_SINHF''@|$(HAVE_SINHF)|g' \ + -e 's|@''HAVE_SQRTF''@|$(HAVE_SQRTF)|g' \ + -e 's|@''HAVE_SQRTL''@|$(HAVE_SQRTL)|g' \ + -e 's|@''HAVE_TANF''@|$(HAVE_TANF)|g' \ + -e 's|@''HAVE_TANL''@|$(HAVE_TANL)|g' \ + -e 's|@''HAVE_TANHF''@|$(HAVE_TANHF)|g' \ + -e 's|@''HAVE_DECL_ACOSL''@|$(HAVE_DECL_ACOSL)|g' \ + -e 's|@''HAVE_DECL_ASINL''@|$(HAVE_DECL_ASINL)|g' \ + -e 's|@''HAVE_DECL_ATANL''@|$(HAVE_DECL_ATANL)|g' \ + -e 's|@''HAVE_DECL_CEILF''@|$(HAVE_DECL_CEILF)|g' \ + -e 's|@''HAVE_DECL_CEILL''@|$(HAVE_DECL_CEILL)|g' \ + -e 's|@''HAVE_DECL_COSL''@|$(HAVE_DECL_COSL)|g' \ + -e 's|@''HAVE_DECL_EXPL''@|$(HAVE_DECL_EXPL)|g' \ + -e 's|@''HAVE_DECL_FLOORF''@|$(HAVE_DECL_FLOORF)|g' \ + -e 's|@''HAVE_DECL_FLOORL''@|$(HAVE_DECL_FLOORL)|g' \ + -e 's|@''HAVE_DECL_FREXPL''@|$(HAVE_DECL_FREXPL)|g' \ + -e 's|@''HAVE_DECL_LDEXPL''@|$(HAVE_DECL_LDEXPL)|g' \ + -e 's|@''HAVE_DECL_LOGB''@|$(HAVE_DECL_LOGB)|g' \ + -e 's|@''HAVE_DECL_LOGL''@|$(HAVE_DECL_LOGL)|g' \ + -e 's|@''HAVE_DECL_ROUND''@|$(HAVE_DECL_ROUND)|g' \ + -e 's|@''HAVE_DECL_ROUNDF''@|$(HAVE_DECL_ROUNDF)|g' \ + -e 's|@''HAVE_DECL_ROUNDL''@|$(HAVE_DECL_ROUNDL)|g' \ + -e 's|@''HAVE_DECL_SINL''@|$(HAVE_DECL_SINL)|g' \ + -e 's|@''HAVE_DECL_SQRTL''@|$(HAVE_DECL_SQRTL)|g' \ + -e 's|@''HAVE_DECL_TANL''@|$(HAVE_DECL_TANL)|g' \ + -e 's|@''HAVE_DECL_TRUNC''@|$(HAVE_DECL_TRUNC)|g' \ + -e 's|@''HAVE_DECL_TRUNCF''@|$(HAVE_DECL_TRUNCF)|g' \ + -e 's|@''HAVE_DECL_TRUNCL''@|$(HAVE_DECL_TRUNCL)|g' \ + | \ + sed -e 's|@''REPLACE_CEIL''@|$(REPLACE_CEIL)|g' \ + -e 's|@''REPLACE_CEILF''@|$(REPLACE_CEILF)|g' \ + -e 's|@''REPLACE_CEILL''@|$(REPLACE_CEILL)|g' \ + -e 's|@''REPLACE_FLOOR''@|$(REPLACE_FLOOR)|g' \ + -e 's|@''REPLACE_FLOORF''@|$(REPLACE_FLOORF)|g' \ + -e 's|@''REPLACE_FLOORL''@|$(REPLACE_FLOORL)|g' \ + -e 's|@''REPLACE_FMA''@|$(REPLACE_FMA)|g' \ + -e 's|@''REPLACE_FMAF''@|$(REPLACE_FMAF)|g' \ + -e 's|@''REPLACE_FMAL''@|$(REPLACE_FMAL)|g' \ + -e 's|@''REPLACE_FREXPF''@|$(REPLACE_FREXPF)|g' \ + -e 's|@''REPLACE_FREXP''@|$(REPLACE_FREXP)|g' \ + -e 's|@''REPLACE_FREXPL''@|$(REPLACE_FREXPL)|g' \ + -e 's|@''REPLACE_HUGE_VAL''@|$(REPLACE_HUGE_VAL)|g' \ + -e 's|@''REPLACE_ISFINITE''@|$(REPLACE_ISFINITE)|g' \ + -e 's|@''REPLACE_ISINF''@|$(REPLACE_ISINF)|g' \ + -e 's|@''REPLACE_ISNAN''@|$(REPLACE_ISNAN)|g' \ + -e 's|@''REPLACE_ITOLD''@|$(REPLACE_ITOLD)|g' \ + -e 's|@''REPLACE_LDEXPL''@|$(REPLACE_LDEXPL)|g' \ + -e 's|@''REPLACE_NAN''@|$(REPLACE_NAN)|g' \ + -e 's|@''REPLACE_ROUND''@|$(REPLACE_ROUND)|g' \ + -e 's|@''REPLACE_ROUNDF''@|$(REPLACE_ROUNDF)|g' \ + -e 's|@''REPLACE_ROUNDL''@|$(REPLACE_ROUNDL)|g' \ + -e 's|@''REPLACE_SIGNBIT''@|$(REPLACE_SIGNBIT)|g' \ + -e 's|@''REPLACE_SIGNBIT_USING_GCC''@|$(REPLACE_SIGNBIT_USING_GCC)|g' \ + -e 's|@''REPLACE_TRUNC''@|$(REPLACE_TRUNC)|g' \ + -e 's|@''REPLACE_TRUNCF''@|$(REPLACE_TRUNCF)|g' \ + -e 's|@''REPLACE_TRUNCL''@|$(REPLACE_TRUNCL)|g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ + -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ + } > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += math.h math.h-t + +Include: +<math.h> + +License: +LGPLv2+ + +Maintainer: +all diff --git a/gnulib/modules/math-c++-tests b/gnulib/modules/math-c++-tests new file mode 100644 index 0000000..796e3d1 --- /dev/null +++ b/gnulib/modules/math-c++-tests @@ -0,0 +1,21 @@ +Files: +tests/test-math-c++.cc +tests/test-math-c++2.cc +tests/signature.h + +Status: +c++-test + +Depends-on: +ansi-c++-opt + +configure.ac: + +Makefile.am: +if ANSICXX +TESTS += test-math-c++ +check_PROGRAMS += test-math-c++ +test_math_c___SOURCES = test-math-c++.cc test-math-c++2.cc +# These link dependencies are needed on IRIX 6.5 with cc. +test_math_c___LDADD = $(LDADD) $(COPYSIGNL_LIBM) $(RINT_LIBM) $(RINTL_LIBM) +endif diff --git a/gnulib/modules/math-tests b/gnulib/modules/math-tests new file mode 100644 index 0000000..84c9141 --- /dev/null +++ b/gnulib/modules/math-tests @@ -0,0 +1,11 @@ +Files: +tests/test-math.c + +Depends-on: +math-c++-tests + +configure.ac: + +Makefile.am: +TESTS += test-math +check_PROGRAMS += test-math diff --git a/gnulib/modules/mathl b/gnulib/modules/mathl new file mode 100644 index 0000000..ac0a27e --- /dev/null +++ b/gnulib/modules/mathl @@ -0,0 +1,43 @@ +Description: +C99 functions for transcendental functions with long double arguments. + +Files: + +Depends-on: +floorl +ceill +acosl +asinl +atanl +cosl +expl +logl +sinl +sqrtl +tanl + +configure.ac: +AC_REQUIRE([gl_FUNC_FLOORL]) +AC_REQUIRE([gl_FUNC_CEILL]) +AC_REQUIRE([gl_FUNC_ACOSL]) +AC_REQUIRE([gl_FUNC_ASINL]) +AC_REQUIRE([gl_FUNC_ATANL]) +AC_REQUIRE([gl_FUNC_COSL]) +AC_REQUIRE([gl_FUNC_EXPL]) +AC_REQUIRE([gl_FUNC_LOGL]) +AC_REQUIRE([gl_FUNC_SINL]) +AC_REQUIRE([gl_FUNC_SQRTL]) +AC_REQUIRE([gl_FUNC_TANL]) +LIBS="$LIBS $FLOORL_LIBM $CEILL_LIBM $ACOSL_LIBM $ASINL_LIBM $ATANL_LIBM $ACOSL_LIBM $EXPL_LIBM $LOGL_LIBM $SINL_LIBM $SQRTL_LIBM $TANL_LIBM" + +Makefile.am: + +Include: +<math.h> + +License: +GPL + +Maintainer: +Paolo Bonzini <bonzini@gnu.org> + diff --git a/gnulib/modules/mbchar b/gnulib/modules/mbchar new file mode 100644 index 0000000..2ff5907 --- /dev/null +++ b/gnulib/modules/mbchar @@ -0,0 +1,31 @@ +Description: +Multibyte character data type. + +Files: +lib/mbchar.h +lib/mbchar.c +m4/mbchar.m4 + +Depends-on: +extensions +stdbool +wchar +wctype-h +iswblank +wcwidth +memcmp + +configure.ac: +gl_MBCHAR + +Makefile.am: +lib_SOURCES += mbchar.c + +Include: +"mbchar.h" + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/mbfile b/gnulib/modules/mbfile new file mode 100644 index 0000000..0bbd032 --- /dev/null +++ b/gnulib/modules/mbfile @@ -0,0 +1,30 @@ +Description: +Multibyte character I/O. + +Files: +lib/mbfile.h +m4/mbfile.m4 +m4/mbrtowc.m4 + +Depends-on: +mbchar +mbrtowc +mbsinit +wchar +stdbool + +configure.ac: +gl_MBFILE + +Makefile.am: +lib_SOURCES += mbfile.h + +Include: +"mbfile.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/mbiter b/gnulib/modules/mbiter new file mode 100644 index 0000000..5e51723 --- /dev/null +++ b/gnulib/modules/mbiter @@ -0,0 +1,30 @@ +Description: +Iterating through multibyte strings. + +Files: +lib/mbiter.h +m4/mbiter.m4 +m4/mbrtowc.m4 + +Depends-on: +mbchar +mbrtowc +mbsinit +wchar +stdbool + +configure.ac: +gl_MBITER + +Makefile.am: +lib_SOURCES += mbiter.h + +Include: +"mbiter.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/mbmemcasecmp b/gnulib/modules/mbmemcasecmp new file mode 100644 index 0000000..0ff071d --- /dev/null +++ b/gnulib/modules/mbmemcasecmp @@ -0,0 +1,24 @@ +Description: +mbmemcasecmp() function: case-insensitive memory area comparison. + +Files: +lib/mbmemcasecmp.h +lib/mbmemcasecmp.c + +Depends-on: +mbiter + +configure.ac: + +Makefile.am: +lib_SOURCES += mbmemcasecmp.c + +Include: +"mbmemcasecmp.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/mbmemcasecmp-tests b/gnulib/modules/mbmemcasecmp-tests new file mode 100644 index 0000000..e863f6d --- /dev/null +++ b/gnulib/modules/mbmemcasecmp-tests @@ -0,0 +1,28 @@ +Files: +tests/test-mbmemcasecmp1.sh +tests/test-mbmemcasecmp2.sh +tests/test-mbmemcasecmp3.sh +tests/test-mbmemcasecmp.c +tests/test-mbmemcasecmp.h +tests/macros.h +m4/locale-fr.m4 +m4/locale-tr.m4 +m4/codeset.m4 + +Depends-on: +stdbool +setlocale + +configure.ac: +gt_LOCALE_FR +gt_LOCALE_FR_UTF8 +gt_LOCALE_TR_UTF8 + +Makefile.am: +TESTS += test-mbmemcasecmp1.sh test-mbmemcasecmp2.sh test-mbmemcasecmp3.sh +TESTS_ENVIRONMENT += \ + LOCALE_FR='@LOCALE_FR@' \ + LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \ + LOCALE_TR_UTF8='@LOCALE_TR_UTF8@' +check_PROGRAMS += test-mbmemcasecmp + diff --git a/gnulib/modules/mbmemcasecoll b/gnulib/modules/mbmemcasecoll new file mode 100644 index 0000000..941b646 --- /dev/null +++ b/gnulib/modules/mbmemcasecoll @@ -0,0 +1,31 @@ +Description: +mbmemcasecoll() function: locale dependent case-insensitive memory area +comparison. + +Files: +lib/mbmemcasecoll.h +lib/mbmemcasecoll.c + +Depends-on: +stdbool +malloca +mbrtowc +wcrtomb +memcmp2 +memcoll +wchar + +configure.ac: + +Makefile.am: +lib_SOURCES += mbmemcasecoll.c + +Include: +"mbmemcasecoll.h" + +License: +GPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/mbmemcasecoll-tests b/gnulib/modules/mbmemcasecoll-tests new file mode 100644 index 0000000..8c834d7 --- /dev/null +++ b/gnulib/modules/mbmemcasecoll-tests @@ -0,0 +1,28 @@ +Files: +tests/test-mbmemcasecoll1.sh +tests/test-mbmemcasecoll2.sh +tests/test-mbmemcasecoll3.sh +tests/test-mbmemcasecoll.c +tests/test-mbmemcasecmp.h +tests/macros.h +m4/locale-fr.m4 +m4/locale-tr.m4 +m4/codeset.m4 + +Depends-on: +stdbool +setlocale + +configure.ac: +gt_LOCALE_FR +gt_LOCALE_FR_UTF8 +gt_LOCALE_TR_UTF8 + +Makefile.am: +TESTS += test-mbmemcasecoll1.sh test-mbmemcasecoll2.sh test-mbmemcasecoll3.sh +TESTS_ENVIRONMENT += \ + LOCALE_FR='@LOCALE_FR@' \ + LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \ + LOCALE_TR_UTF8='@LOCALE_TR_UTF8@' +check_PROGRAMS += test-mbmemcasecoll + diff --git a/gnulib/modules/mbrlen b/gnulib/modules/mbrlen new file mode 100644 index 0000000..2c589e9 --- /dev/null +++ b/gnulib/modules/mbrlen @@ -0,0 +1,32 @@ +Description: +mbrlen() function: recognize multibyte character. + +Files: +lib/mbrlen.c +m4/mbrlen.m4 +m4/mbstate_t.m4 + +Depends-on: +wchar +extensions +mbrtowc [test $HAVE_MBRLEN = 0 || test $REPLACE_MBRLEN = 1] + +configure.ac: +gl_FUNC_MBRLEN +if test $HAVE_MBRLEN = 0 || test $REPLACE_MBRLEN = 1; then + AC_LIBOBJ([mbrlen]) + gl_PREREQ_MBRLEN +fi +gl_WCHAR_MODULE_INDICATOR([mbrlen]) + +Makefile.am: + +Include: +<wchar.h> + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/mbrtowc b/gnulib/modules/mbrtowc new file mode 100644 index 0000000..42e8de4 --- /dev/null +++ b/gnulib/modules/mbrtowc @@ -0,0 +1,39 @@ +Description: +mbrtowc() function: convert multibyte character to wide character. + +Files: +lib/mbrtowc.c +m4/mbrtowc.m4 +m4/mbstate_t.m4 +m4/locale-fr.m4 +m4/locale-ja.m4 +m4/locale-zh.m4 +m4/codeset.m4 + +Depends-on: +wchar +extensions +mbsinit [test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1] +localcharset [test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1] +streq [test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1] +verify [test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1] + +configure.ac: +gl_FUNC_MBRTOWC +if test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1; then + AC_LIBOBJ([mbrtowc]) + gl_PREREQ_MBRTOWC +fi +gl_WCHAR_MODULE_INDICATOR([mbrtowc]) + +Makefile.am: + +Include: +<wchar.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/mbrtowc-tests b/gnulib/modules/mbrtowc-tests new file mode 100644 index 0000000..bbd2213 --- /dev/null +++ b/gnulib/modules/mbrtowc-tests @@ -0,0 +1,42 @@ +Files: +tests/test-mbrtowc1.sh +tests/test-mbrtowc2.sh +tests/test-mbrtowc3.sh +tests/test-mbrtowc4.sh +tests/test-mbrtowc.c +tests/test-mbrtowc-w32-1.sh +tests/test-mbrtowc-w32-2.sh +tests/test-mbrtowc-w32-3.sh +tests/test-mbrtowc-w32-4.sh +tests/test-mbrtowc-w32-5.sh +tests/test-mbrtowc-w32.c +tests/signature.h +tests/macros.h +m4/locale-fr.m4 +m4/locale-ja.m4 +m4/locale-zh.m4 +m4/codeset.m4 + +Depends-on: +mbsinit +wctob +setlocale + +configure.ac: +gt_LOCALE_FR +gt_LOCALE_FR_UTF8 +gt_LOCALE_JA +gt_LOCALE_ZH_CN + +Makefile.am: +TESTS += \ + test-mbrtowc1.sh test-mbrtowc2.sh test-mbrtowc3.sh test-mbrtowc4.sh \ + test-mbrtowc-w32-1.sh test-mbrtowc-w32-2.sh test-mbrtowc-w32-3.sh \ + test-mbrtowc-w32-4.sh test-mbrtowc-w32-5.sh +TESTS_ENVIRONMENT += \ + LOCALE_FR='@LOCALE_FR@' \ + LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \ + LOCALE_JA='@LOCALE_JA@' \ + LOCALE_ZH_CN='@LOCALE_ZH_CN@' +check_PROGRAMS += test-mbrtowc test-mbrtowc-w32 + diff --git a/gnulib/modules/mbscasecmp b/gnulib/modules/mbscasecmp new file mode 100644 index 0000000..7318152 --- /dev/null +++ b/gnulib/modules/mbscasecmp @@ -0,0 +1,25 @@ +Description: +mbscasecmp() function: case-insensitive string comparison. + +Files: +lib/mbscasecmp.c + +Depends-on: +mbuiter +string + +configure.ac: +gl_STRING_MODULE_INDICATOR([mbscasecmp]) + +Makefile.am: +lib_SOURCES += mbscasecmp.c + +Include: +<string.h> + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/mbscasecmp-tests b/gnulib/modules/mbscasecmp-tests new file mode 100644 index 0000000..460e998 --- /dev/null +++ b/gnulib/modules/mbscasecmp-tests @@ -0,0 +1,18 @@ +Files: +tests/test-mbscasecmp.sh +tests/test-mbscasecmp.c +tests/macros.h +m4/locale-tr.m4 +m4/codeset.m4 + +Depends-on: +setlocale + +configure.ac: +gt_LOCALE_TR_UTF8 + +Makefile.am: +TESTS += test-mbscasecmp.sh +TESTS_ENVIRONMENT += LOCALE_TR_UTF8='@LOCALE_TR_UTF8@' +check_PROGRAMS += test-mbscasecmp + diff --git a/gnulib/modules/mbscasestr b/gnulib/modules/mbscasestr new file mode 100644 index 0000000..7d4a614 --- /dev/null +++ b/gnulib/modules/mbscasestr @@ -0,0 +1,30 @@ +Description: +mbscasestr() function: case-insensitive search for a substring in a string. + +Files: +lib/mbscasestr.c +lib/str-kmp.h + +Depends-on: +mbuiter +stdbool +string +mbslen +malloca +strnlen + +configure.ac: +gl_STRING_MODULE_INDICATOR([mbscasestr]) + +Makefile.am: +lib_SOURCES += mbscasestr.c + +Include: +<string.h> + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/mbscasestr-tests b/gnulib/modules/mbscasestr-tests new file mode 100644 index 0000000..15d5c97 --- /dev/null +++ b/gnulib/modules/mbscasestr-tests @@ -0,0 +1,27 @@ +Files: +tests/test-mbscasestr1.c +tests/test-mbscasestr2.sh +tests/test-mbscasestr2.c +tests/test-mbscasestr3.sh +tests/test-mbscasestr3.c +tests/test-mbscasestr4.sh +tests/test-mbscasestr4.c +tests/macros.h +m4/locale-fr.m4 +m4/locale-tr.m4 +m4/locale-zh.m4 +m4/codeset.m4 + +Depends-on: +setlocale + +configure.ac: +gt_LOCALE_FR_UTF8 +gt_LOCALE_TR_UTF8 +gt_LOCALE_ZH_CN + +Makefile.am: +TESTS += test-mbscasestr1 test-mbscasestr2.sh test-mbscasestr3.sh test-mbscasestr4.sh +TESTS_ENVIRONMENT += LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' LOCALE_TR_UTF8='@LOCALE_TR_UTF8@' LOCALE_ZH_CN='@LOCALE_ZH_CN@' +check_PROGRAMS += test-mbscasestr1 test-mbscasestr2 test-mbscasestr3 test-mbscasestr4 + diff --git a/gnulib/modules/mbschr b/gnulib/modules/mbschr new file mode 100644 index 0000000..8bd2b29 --- /dev/null +++ b/gnulib/modules/mbschr @@ -0,0 +1,25 @@ +Description: +mbschr() function: search a string for a character. + +Files: +lib/mbschr.c + +Depends-on: +mbuiter +string + +configure.ac: +gl_STRING_MODULE_INDICATOR([mbschr]) + +Makefile.am: +lib_SOURCES += mbschr.c + +Include: +<string.h> + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/mbschr-tests b/gnulib/modules/mbschr-tests new file mode 100644 index 0000000..773eb00 --- /dev/null +++ b/gnulib/modules/mbschr-tests @@ -0,0 +1,18 @@ +Files: +tests/test-mbschr.sh +tests/test-mbschr.c +tests/macros.h +m4/locale-zh.m4 +m4/codeset.m4 + +Depends-on: +setlocale + +configure.ac: +gt_LOCALE_ZH_CN + +Makefile.am: +TESTS += test-mbschr.sh +TESTS_ENVIRONMENT += LOCALE_ZH_CN='@LOCALE_ZH_CN@' +check_PROGRAMS += test-mbschr + diff --git a/gnulib/modules/mbscspn b/gnulib/modules/mbscspn new file mode 100644 index 0000000..ecea4a8 --- /dev/null +++ b/gnulib/modules/mbscspn @@ -0,0 +1,27 @@ +Description: +mbscspn() function: search a string for any of a set of characters. + +Files: +lib/mbscspn.c + +Depends-on: +mbuiter +string +mbschr +strcspn + +configure.ac: +gl_STRING_MODULE_INDICATOR([mbscspn]) + +Makefile.am: +lib_SOURCES += mbscspn.c + +Include: +<string.h> + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/mbscspn-tests b/gnulib/modules/mbscspn-tests new file mode 100644 index 0000000..3052a3b --- /dev/null +++ b/gnulib/modules/mbscspn-tests @@ -0,0 +1,18 @@ +Files: +tests/test-mbscspn.sh +tests/test-mbscspn.c +tests/macros.h +m4/locale-fr.m4 +m4/codeset.m4 + +Depends-on: +setlocale + +configure.ac: +gt_LOCALE_FR_UTF8 + +Makefile.am: +TESTS += test-mbscspn.sh +TESTS_ENVIRONMENT += LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' +check_PROGRAMS += test-mbscspn + diff --git a/gnulib/modules/mbsinit b/gnulib/modules/mbsinit new file mode 100644 index 0000000..3a0cebf --- /dev/null +++ b/gnulib/modules/mbsinit @@ -0,0 +1,33 @@ +Description: +mbsinit() function: test for initial conversion state. + +Files: +lib/mbsinit.c +m4/mbsinit.m4 +m4/mbstate_t.m4 + +Depends-on: +wchar +extensions +mbrtowc [test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1] +verify [test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1] + +configure.ac: +gl_FUNC_MBSINIT +if test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1; then + AC_LIBOBJ([mbsinit]) + gl_PREREQ_MBSINIT +fi +gl_WCHAR_MODULE_INDICATOR([mbsinit]) + +Makefile.am: + +Include: +<wchar.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/mbsinit-tests b/gnulib/modules/mbsinit-tests new file mode 100644 index 0000000..5225c36 --- /dev/null +++ b/gnulib/modules/mbsinit-tests @@ -0,0 +1,20 @@ +Files: +tests/test-mbsinit.sh +tests/test-mbsinit.c +tests/signature.h +tests/macros.h +m4/locale-fr.m4 +m4/codeset.m4 + +Depends-on: +mbrtowc +setlocale + +configure.ac: +gt_LOCALE_FR_UTF8 + +Makefile.am: +TESTS += test-mbsinit.sh +TESTS_ENVIRONMENT += LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' +check_PROGRAMS += test-mbsinit + diff --git a/gnulib/modules/mbslen b/gnulib/modules/mbslen new file mode 100644 index 0000000..830a21e --- /dev/null +++ b/gnulib/modules/mbslen @@ -0,0 +1,27 @@ +Description: +mbslen() function: Determine the number of multibyte characters in a string. + +Files: +lib/mbslen.c +m4/mbslen.m4 + +Depends-on: +mbuiter +string + +configure.ac: +gl_FUNC_MBSLEN +gl_STRING_MODULE_INDICATOR([mbslen]) + +Makefile.am: +lib_SOURCES += mbslen.c + +Include: +<string.h> + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/mbsncasecmp b/gnulib/modules/mbsncasecmp new file mode 100644 index 0000000..34cb053 --- /dev/null +++ b/gnulib/modules/mbsncasecmp @@ -0,0 +1,25 @@ +Description: +mbsncasecmp() function: case-insensitive string prefix comparison. + +Files: +lib/mbsncasecmp.c + +Depends-on: +mbuiter +string + +configure.ac: +gl_STRING_MODULE_INDICATOR([mbsncasecmp]) + +Makefile.am: +lib_SOURCES += mbsncasecmp.c + +Include: +<string.h> + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/mbsncasecmp-tests b/gnulib/modules/mbsncasecmp-tests new file mode 100644 index 0000000..1844904 --- /dev/null +++ b/gnulib/modules/mbsncasecmp-tests @@ -0,0 +1,18 @@ +Files: +tests/test-mbsncasecmp.sh +tests/test-mbsncasecmp.c +tests/macros.h +m4/locale-tr.m4 +m4/codeset.m4 + +Depends-on: +setlocale + +configure.ac: +gt_LOCALE_TR_UTF8 + +Makefile.am: +TESTS += test-mbsncasecmp.sh +TESTS_ENVIRONMENT += LOCALE_TR_UTF8='@LOCALE_TR_UTF8@' +check_PROGRAMS += test-mbsncasecmp + diff --git a/gnulib/modules/mbsnlen b/gnulib/modules/mbsnlen new file mode 100644 index 0000000..568d485 --- /dev/null +++ b/gnulib/modules/mbsnlen @@ -0,0 +1,25 @@ +Description: +mbsnlen() function: Determine the number of multibyte characters in a string. + +Files: +lib/mbsnlen.c + +Depends-on: +mbiter +string + +configure.ac: +gl_STRING_MODULE_INDICATOR([mbsnlen]) + +Makefile.am: +lib_SOURCES += mbsnlen.c + +Include: +<string.h> + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/mbsnrtowcs b/gnulib/modules/mbsnrtowcs new file mode 100644 index 0000000..35ff363 --- /dev/null +++ b/gnulib/modules/mbsnrtowcs @@ -0,0 +1,37 @@ +Description: +mbsnrtowcs() function: convert string to wide string. + +Files: +lib/mbsnrtowcs.c +lib/mbsnrtowcs-impl.h +lib/mbsrtowcs-state.c +m4/mbsnrtowcs.m4 +m4/mbstate_t.m4 + +Depends-on: +wchar +extensions +mbrtowc [test $HAVE_MBSNRTOWCS = 0 || test $REPLACE_MBSNRTOWCS = 1] +minmax [test $HAVE_MBSNRTOWCS = 0 || test $REPLACE_MBSNRTOWCS = 1] +strnlen1 [test $HAVE_MBSNRTOWCS = 0 || test $REPLACE_MBSNRTOWCS = 1] + +configure.ac: +gl_FUNC_MBSNRTOWCS +if test $HAVE_MBSNRTOWCS = 0 || test $REPLACE_MBSNRTOWCS = 1; then + AC_LIBOBJ([mbsnrtowcs]) + AC_LIBOBJ([mbsrtowcs-state]) + gl_PREREQ_MBSNRTOWCS +fi +gl_WCHAR_MODULE_INDICATOR([mbsnrtowcs]) + +Makefile.am: + +Include: +<wchar.h> + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/mbsnrtowcs-tests b/gnulib/modules/mbsnrtowcs-tests new file mode 100644 index 0000000..1a53405 --- /dev/null +++ b/gnulib/modules/mbsnrtowcs-tests @@ -0,0 +1,34 @@ +Files: +tests/test-mbsnrtowcs1.sh +tests/test-mbsnrtowcs2.sh +tests/test-mbsnrtowcs3.sh +tests/test-mbsnrtowcs4.sh +tests/test-mbsnrtowcs.c +tests/signature.h +tests/macros.h +m4/locale-fr.m4 +m4/locale-ja.m4 +m4/locale-zh.m4 +m4/codeset.m4 + +Depends-on: +mbrtowc +mbsinit +wctob +setlocale + +configure.ac: +gt_LOCALE_FR +gt_LOCALE_FR_UTF8 +gt_LOCALE_JA +gt_LOCALE_ZH_CN + +Makefile.am: +TESTS += test-mbsnrtowcs1.sh test-mbsnrtowcs2.sh test-mbsnrtowcs3.sh test-mbsnrtowcs4.sh +TESTS_ENVIRONMENT += \ + LOCALE_FR='@LOCALE_FR@' \ + LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \ + LOCALE_JA='@LOCALE_JA@' \ + LOCALE_ZH_CN='@LOCALE_ZH_CN@' +check_PROGRAMS += test-mbsnrtowcs + diff --git a/gnulib/modules/mbspbrk b/gnulib/modules/mbspbrk new file mode 100644 index 0000000..80d5133 --- /dev/null +++ b/gnulib/modules/mbspbrk @@ -0,0 +1,27 @@ +Description: +mbspbrk() function: search a string for any of a set of characters. + +Files: +lib/mbspbrk.c + +Depends-on: +mbuiter +string +mbschr +strpbrk + +configure.ac: +gl_STRING_MODULE_INDICATOR([mbspbrk]) + +Makefile.am: +lib_SOURCES += mbspbrk.c + +Include: +<string.h> + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/mbspbrk-tests b/gnulib/modules/mbspbrk-tests new file mode 100644 index 0000000..77a305a --- /dev/null +++ b/gnulib/modules/mbspbrk-tests @@ -0,0 +1,18 @@ +Files: +tests/test-mbspbrk.sh +tests/test-mbspbrk.c +tests/macros.h +m4/locale-fr.m4 +m4/codeset.m4 + +Depends-on: +setlocale + +configure.ac: +gt_LOCALE_FR_UTF8 + +Makefile.am: +TESTS += test-mbspbrk.sh +TESTS_ENVIRONMENT += LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' +check_PROGRAMS += test-mbspbrk + diff --git a/gnulib/modules/mbspcasecmp b/gnulib/modules/mbspcasecmp new file mode 100644 index 0000000..c3e59c0 --- /dev/null +++ b/gnulib/modules/mbspcasecmp @@ -0,0 +1,25 @@ +Description: +mbspcasecmp() function: case-insensitive string prefix comparison. + +Files: +lib/mbspcasecmp.c + +Depends-on: +mbuiter +string + +configure.ac: +gl_STRING_MODULE_INDICATOR([mbspcasecmp]) + +Makefile.am: +lib_SOURCES += mbspcasecmp.c + +Include: +<string.h> + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/mbspcasecmp-tests b/gnulib/modules/mbspcasecmp-tests new file mode 100644 index 0000000..5f38e22 --- /dev/null +++ b/gnulib/modules/mbspcasecmp-tests @@ -0,0 +1,18 @@ +Files: +tests/test-mbspcasecmp.sh +tests/test-mbspcasecmp.c +tests/macros.h +m4/locale-tr.m4 +m4/codeset.m4 + +Depends-on: +setlocale + +configure.ac: +gt_LOCALE_TR_UTF8 + +Makefile.am: +TESTS += test-mbspcasecmp.sh +TESTS_ENVIRONMENT += LOCALE_TR_UTF8='@LOCALE_TR_UTF8@' +check_PROGRAMS += test-mbspcasecmp + diff --git a/gnulib/modules/mbsrchr b/gnulib/modules/mbsrchr new file mode 100644 index 0000000..7d4f247 --- /dev/null +++ b/gnulib/modules/mbsrchr @@ -0,0 +1,25 @@ +Description: +mbsrchr() function: search a string for a character, from the end. + +Files: +lib/mbsrchr.c + +Depends-on: +mbuiter +string + +configure.ac: +gl_STRING_MODULE_INDICATOR([mbsrchr]) + +Makefile.am: +lib_SOURCES += mbsrchr.c + +Include: +<string.h> + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/mbsrchr-tests b/gnulib/modules/mbsrchr-tests new file mode 100644 index 0000000..d848037 --- /dev/null +++ b/gnulib/modules/mbsrchr-tests @@ -0,0 +1,18 @@ +Files: +tests/test-mbsrchr.sh +tests/test-mbsrchr.c +tests/macros.h +m4/locale-zh.m4 +m4/codeset.m4 + +Depends-on: +setlocale + +configure.ac: +gt_LOCALE_ZH_CN + +Makefile.am: +TESTS += test-mbsrchr.sh +TESTS_ENVIRONMENT += LOCALE_ZH_CN='@LOCALE_ZH_CN@' +check_PROGRAMS += test-mbsrchr + diff --git a/gnulib/modules/mbsrtowcs b/gnulib/modules/mbsrtowcs new file mode 100644 index 0000000..da5f016 --- /dev/null +++ b/gnulib/modules/mbsrtowcs @@ -0,0 +1,40 @@ +Description: +mbsrtowcs() function: convert string to wide string. + +Files: +lib/mbsrtowcs.c +lib/mbsrtowcs-impl.h +lib/mbsrtowcs-state.c +m4/mbsrtowcs.m4 +m4/mbstate_t.m4 +m4/locale-fr.m4 +m4/locale-ja.m4 +m4/locale-zh.m4 +m4/codeset.m4 + +Depends-on: +wchar +extensions +mbrtowc [test $HAVE_MBSRTOWCS = 0 || test $REPLACE_MBSRTOWCS = 1] +strnlen1 [test $HAVE_MBSRTOWCS = 0 || test $REPLACE_MBSRTOWCS = 1] + +configure.ac: +gl_FUNC_MBSRTOWCS +if test $HAVE_MBSRTOWCS = 0 || test $REPLACE_MBSRTOWCS = 1; then + AC_LIBOBJ([mbsrtowcs]) + AC_LIBOBJ([mbsrtowcs-state]) + gl_PREREQ_MBSRTOWCS +fi +gl_WCHAR_MODULE_INDICATOR([mbsrtowcs]) + +Makefile.am: + +Include: +<wchar.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/mbsrtowcs-tests b/gnulib/modules/mbsrtowcs-tests new file mode 100644 index 0000000..74dcd63 --- /dev/null +++ b/gnulib/modules/mbsrtowcs-tests @@ -0,0 +1,34 @@ +Files: +tests/test-mbsrtowcs1.sh +tests/test-mbsrtowcs2.sh +tests/test-mbsrtowcs3.sh +tests/test-mbsrtowcs4.sh +tests/test-mbsrtowcs.c +tests/signature.h +tests/macros.h +m4/locale-fr.m4 +m4/locale-ja.m4 +m4/locale-zh.m4 +m4/codeset.m4 + +Depends-on: +mbrtowc +mbsinit +wctob +setlocale + +configure.ac: +gt_LOCALE_FR +gt_LOCALE_FR_UTF8 +gt_LOCALE_JA +gt_LOCALE_ZH_CN + +Makefile.am: +TESTS += test-mbsrtowcs1.sh test-mbsrtowcs2.sh test-mbsrtowcs3.sh test-mbsrtowcs4.sh +TESTS_ENVIRONMENT += \ + LOCALE_FR='@LOCALE_FR@' \ + LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \ + LOCALE_JA='@LOCALE_JA@' \ + LOCALE_ZH_CN='@LOCALE_ZH_CN@' +check_PROGRAMS += test-mbsrtowcs + diff --git a/gnulib/modules/mbssep b/gnulib/modules/mbssep new file mode 100644 index 0000000..2e30c5c --- /dev/null +++ b/gnulib/modules/mbssep @@ -0,0 +1,27 @@ +Description: +mbssep() function: split string into tokens, thread safe. + +Files: +lib/mbssep.c + +Depends-on: +mbuiter +string +mbspbrk +strsep + +configure.ac: +gl_STRING_MODULE_INDICATOR([mbssep]) + +Makefile.am: +lib_SOURCES += mbssep.c + +Include: +<string.h> + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/mbsspn b/gnulib/modules/mbsspn new file mode 100644 index 0000000..f0bc950 --- /dev/null +++ b/gnulib/modules/mbsspn @@ -0,0 +1,26 @@ +Description: +mbsspn() function: search a string for any outside a set of characters. + +Files: +lib/mbsspn.c + +Depends-on: +mbuiter +string +mbschr + +configure.ac: +gl_STRING_MODULE_INDICATOR([mbsspn]) + +Makefile.am: +lib_SOURCES += mbsspn.c + +Include: +<string.h> + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/mbsspn-tests b/gnulib/modules/mbsspn-tests new file mode 100644 index 0000000..ed7e47a --- /dev/null +++ b/gnulib/modules/mbsspn-tests @@ -0,0 +1,18 @@ +Files: +tests/test-mbsspn.sh +tests/test-mbsspn.c +tests/macros.h +m4/locale-fr.m4 +m4/codeset.m4 + +Depends-on: +setlocale + +configure.ac: +gt_LOCALE_FR_UTF8 + +Makefile.am: +TESTS += test-mbsspn.sh +TESTS_ENVIRONMENT += LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' +check_PROGRAMS += test-mbsspn + diff --git a/gnulib/modules/mbsstr b/gnulib/modules/mbsstr new file mode 100644 index 0000000..7a68edc --- /dev/null +++ b/gnulib/modules/mbsstr @@ -0,0 +1,30 @@ +Description: +mbsstr() function: search for a substring in a string. + +Files: +lib/mbsstr.c +lib/str-kmp.h + +Depends-on: +mbuiter +stdbool +string +mbslen +malloca +strnlen + +configure.ac: +gl_STRING_MODULE_INDICATOR([mbsstr]) + +Makefile.am: +lib_SOURCES += mbsstr.c + +Include: +<string.h> + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/mbsstr-tests b/gnulib/modules/mbsstr-tests new file mode 100644 index 0000000..01e605d --- /dev/null +++ b/gnulib/modules/mbsstr-tests @@ -0,0 +1,23 @@ +Files: +tests/test-mbsstr1.c +tests/test-mbsstr2.sh +tests/test-mbsstr2.c +tests/test-mbsstr3.sh +tests/test-mbsstr3.c +tests/macros.h +m4/locale-fr.m4 +m4/locale-zh.m4 +m4/codeset.m4 + +Depends-on: +setlocale + +configure.ac: +gt_LOCALE_FR_UTF8 +gt_LOCALE_ZH_CN + +Makefile.am: +TESTS += test-mbsstr1 test-mbsstr2.sh test-mbsstr3.sh +TESTS_ENVIRONMENT += LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' LOCALE_ZH_CN='@LOCALE_ZH_CN@' +check_PROGRAMS += test-mbsstr1 test-mbsstr2 test-mbsstr3 + diff --git a/gnulib/modules/mbstok_r b/gnulib/modules/mbstok_r new file mode 100644 index 0000000..c51be54 --- /dev/null +++ b/gnulib/modules/mbstok_r @@ -0,0 +1,28 @@ +Description: +mbstok_r() function: split string into tokens, thread safe. + +Files: +lib/mbstok_r.c + +Depends-on: +mbuiter +string +mbsspn +mbspbrk +strtok_r + +configure.ac: +gl_STRING_MODULE_INDICATOR([mbstok_r]) + +Makefile.am: +lib_SOURCES += mbstok_r.c + +Include: +<string.h> + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/mbswidth b/gnulib/modules/mbswidth new file mode 100644 index 0000000..a7301ab --- /dev/null +++ b/gnulib/modules/mbswidth @@ -0,0 +1,32 @@ +Description: +Determine the number of screen columns needed for a string. + +Files: +lib/mbswidth.h +lib/mbswidth.c +m4/mbstate_t.m4 +m4/mbrtowc.m4 +m4/mbswidth.m4 + +Depends-on: +wchar +wctype-h +mbrtowc +mbsinit +wcwidth +extensions + +configure.ac: +gl_MBSWIDTH + +Makefile.am: +lib_SOURCES += mbswidth.h mbswidth.c + +Include: +"mbswidth.h" + +License: +GPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/mbtowc b/gnulib/modules/mbtowc new file mode 100644 index 0000000..c23323b --- /dev/null +++ b/gnulib/modules/mbtowc @@ -0,0 +1,31 @@ +Description: +mbtowc() function: convert multibyte character to wide character. + +Files: +lib/mbtowc.c +lib/mbtowc-impl.h +m4/mbtowc.m4 + +Depends-on: +stdlib +mbrtowc [test $REPLACE_MBTOWC = 1] +wchar [test $REPLACE_MBTOWC = 1] + +configure.ac: +gl_FUNC_MBTOWC +if test $REPLACE_MBTOWC = 1; then + AC_LIBOBJ([mbtowc]) + gl_PREREQ_MBTOWC +fi +gl_STDLIB_MODULE_INDICATOR([mbtowc]) + +Makefile.am: + +Include: +<stdlib.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/mbuiter b/gnulib/modules/mbuiter new file mode 100644 index 0000000..c729b09 --- /dev/null +++ b/gnulib/modules/mbuiter @@ -0,0 +1,31 @@ +Description: +Iterating through multibyte strings. + +Files: +lib/mbuiter.h +m4/mbiter.m4 +m4/mbrtowc.m4 + +Depends-on: +mbchar +mbrtowc +mbsinit +wchar +stdbool +strnlen1 + +configure.ac: +gl_MBITER + +Makefile.am: +lib_SOURCES += mbuiter.h + +Include: +"mbuiter.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/memcasecmp b/gnulib/modules/memcasecmp new file mode 100644 index 0000000..a165794 --- /dev/null +++ b/gnulib/modules/memcasecmp @@ -0,0 +1,24 @@ +Description: +Case-insensitive memory area comparison. + +Files: +lib/memcasecmp.h +lib/memcasecmp.c +m4/memcasecmp.m4 + +Depends-on: + +configure.ac: +gl_MEMCASECMP + +Makefile.am: +lib_SOURCES += memcasecmp.c + +Include: +"memcasecmp.h" + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/memcasecmp-tests b/gnulib/modules/memcasecmp-tests new file mode 100644 index 0000000..ecdf5d1 --- /dev/null +++ b/gnulib/modules/memcasecmp-tests @@ -0,0 +1,18 @@ +Files: +tests/test-memcasecmp.c +tests/zerosize-ptr.h +tests/macros.h +m4/mmap-anon.m4 + +Depends-on: +extensions +getpagesize + +configure.ac: +gl_FUNC_MMAP_ANON +AC_CHECK_HEADERS_ONCE([sys/mman.h]) +AC_CHECK_FUNCS_ONCE([mprotect]) + +Makefile.am: +TESTS += test-memcasecmp +check_PROGRAMS += test-memcasecmp diff --git a/gnulib/modules/memchr b/gnulib/modules/memchr new file mode 100644 index 0000000..ed80e0c --- /dev/null +++ b/gnulib/modules/memchr @@ -0,0 +1,32 @@ +Description: +memchr() function: scan memory for a byte. + +Files: +lib/memchr.c +lib/memchr.valgrind +m4/memchr.m4 +m4/mmap-anon.m4 + +Depends-on: +extensions +string +memchr-obsolete + +configure.ac: +gl_FUNC_MEMCHR +if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then + AC_LIBOBJ([memchr]) + gl_PREREQ_MEMCHR +fi +gl_STRING_MODULE_INDICATOR([memchr]) + +Makefile.am: + +Include: +<string.h> + +License: +LGPLv2+ + +Maintainer: +Jim Meyering, glibc diff --git a/gnulib/modules/memchr-obsolete b/gnulib/modules/memchr-obsolete new file mode 100644 index 0000000..c1033b6 --- /dev/null +++ b/gnulib/modules/memchr-obsolete @@ -0,0 +1,28 @@ +Description: +memchr() function for old platforms. + +Status: +obsolete + +Notice: +This module is obsolete. + +Files: +m4/memchr-obsolete.m4 + +Depends-on: +memchr + +configure.ac: +gl_FUNC_MEMCHR_OBSOLETE + +Makefile.am: + +Include: +<string.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/memchr-tests b/gnulib/modules/memchr-tests new file mode 100644 index 0000000..3022471 --- /dev/null +++ b/gnulib/modules/memchr-tests @@ -0,0 +1,20 @@ +Files: +tests/test-memchr.c +tests/zerosize-ptr.h +tests/signature.h +tests/macros.h +m4/mmap-anon.m4 + +Depends-on: +extensions +getpagesize + +configure.ac: +dnl Check for prerequisites for memory fence checks. +gl_FUNC_MMAP_ANON +AC_CHECK_HEADERS_ONCE([sys/mman.h]) +AC_CHECK_FUNCS_ONCE([mprotect]) + +Makefile.am: +TESTS += test-memchr +check_PROGRAMS += test-memchr diff --git a/gnulib/modules/memchr2 b/gnulib/modules/memchr2 new file mode 100644 index 0000000..99e4b85 --- /dev/null +++ b/gnulib/modules/memchr2 @@ -0,0 +1,25 @@ +Description: +memchr2() function: scan memory for the first of two bytes. + +Files: +lib/memchr2.h +lib/memchr2.c +lib/memchr2.valgrind + +Depends-on: +stdint +memchr + +configure.ac: + +Makefile.am: +lib_SOURCES += memchr2.h memchr2.c + +Include: +"memchr2.h" + +License: +LGPLv2+ + +Maintainer: +Eric Blake diff --git a/gnulib/modules/memchr2-tests b/gnulib/modules/memchr2-tests new file mode 100644 index 0000000..66901ae --- /dev/null +++ b/gnulib/modules/memchr2-tests @@ -0,0 +1,18 @@ +Files: +tests/test-memchr2.c +tests/zerosize-ptr.h +tests/macros.h +m4/mmap-anon.m4 + +Depends-on: +extensions +getpagesize + +configure.ac: +gl_FUNC_MMAP_ANON +AC_CHECK_HEADERS_ONCE([sys/mman.h]) +AC_CHECK_FUNCS_ONCE([mprotect]) + +Makefile.am: +TESTS += test-memchr2 +check_PROGRAMS += test-memchr2 diff --git a/gnulib/modules/memcmp b/gnulib/modules/memcmp new file mode 100644 index 0000000..5b35a75 --- /dev/null +++ b/gnulib/modules/memcmp @@ -0,0 +1,34 @@ +Description: +memcmp() function: compare memory areas. + +Status: +obsolete + +Notice: +This module is obsolete. + +Files: +lib/memcmp.c +m4/memcmp.m4 + +Depends-on: +stdint [test $gl_func_memcmp = no] + +configure.ac: +gl_FUNC_MEMCMP +if test $gl_func_memcmp = no; then + AC_LIBOBJ([memcmp]) + gl_PREREQ_MEMCMP +fi + +Makefile.am: + +Include: +<string.h> + +License: +LGPLv2+ + +Maintainer: +Jim Meyering, glibc + diff --git a/gnulib/modules/memcmp-tests b/gnulib/modules/memcmp-tests new file mode 100644 index 0000000..15f099c --- /dev/null +++ b/gnulib/modules/memcmp-tests @@ -0,0 +1,19 @@ +Files: +tests/test-memcmp.c +tests/zerosize-ptr.h +tests/signature.h +tests/macros.h +m4/mmap-anon.m4 + +Depends-on: +extensions +getpagesize + +configure.ac: +gl_FUNC_MMAP_ANON +AC_CHECK_HEADERS_ONCE([sys/mman.h]) +AC_CHECK_FUNCS_ONCE([mprotect]) + +Makefile.am: +TESTS += test-memcmp +check_PROGRAMS += test-memcmp diff --git a/gnulib/modules/memcmp2 b/gnulib/modules/memcmp2 new file mode 100644 index 0000000..355f7eb --- /dev/null +++ b/gnulib/modules/memcmp2 @@ -0,0 +1,22 @@ +Description: +Compare two memory areas with possibly different lengths. + +Files: +lib/memcmp2.h +lib/memcmp2.c + +Depends-on: + +configure.ac: + +Makefile.am: +lib_SOURCES += memcmp2.c + +Include: +"memcmp2.h" + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/memcoll b/gnulib/modules/memcoll new file mode 100644 index 0000000..886e818 --- /dev/null +++ b/gnulib/modules/memcoll @@ -0,0 +1,25 @@ +Description: +Locale dependent memory area comparison. + +Files: +lib/memcoll.h +lib/memcoll.c +m4/memcoll.m4 + +Depends-on: +memcmp + +configure.ac: +gl_MEMCOLL + +Makefile.am: +lib_SOURCES += memcoll.c + +Include: +"memcoll.h" + +License: +GPL + +Maintainer: +Paul Eggert, Jim Meyering diff --git a/gnulib/modules/memcoll-tests b/gnulib/modules/memcoll-tests new file mode 100644 index 0000000..c3867f3 --- /dev/null +++ b/gnulib/modules/memcoll-tests @@ -0,0 +1,11 @@ +Files: +tests/test-memcoll.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-memcoll +check_PROGRAMS += test-memcoll diff --git a/gnulib/modules/memcpy b/gnulib/modules/memcpy new file mode 100644 index 0000000..92f528f --- /dev/null +++ b/gnulib/modules/memcpy @@ -0,0 +1,33 @@ +Description: +memcpy() function: copy memory area. + +Status: +obsolete + +Notice: +This module is obsolete. + +Files: +lib/memcpy.c +m4/memcpy.m4 + +Depends-on: + +configure.ac: +gl_FUNC_MEMCPY +if test $ac_cv_func_memcpy = no; then + AC_LIBOBJ([memcpy]) + gl_PREREQ_MEMCPY +fi + +Makefile.am: + +Include: +<string.h> + +License: +GPL + +Maintainer: +Jim Meyering + diff --git a/gnulib/modules/memmem b/gnulib/modules/memmem new file mode 100644 index 0000000..63bd3ef --- /dev/null +++ b/gnulib/modules/memmem @@ -0,0 +1,24 @@ +Description: +memmem() function: efficiently locate first substring in a buffer. + +Files: + +Depends-on: +memmem-simple + +configure.ac: +gl_FUNC_MEMMEM +if test $HAVE_MEMMEM = 0 || test $REPLACE_MEMMEM = 1; then + AC_LIBOBJ([memmem]) +fi + +Makefile.am: + +Include: +<string.h> + +License: +LGPLv2+ + +Maintainer: +libc, Eric Blake diff --git a/gnulib/modules/memmem-simple b/gnulib/modules/memmem-simple new file mode 100644 index 0000000..d4ae332 --- /dev/null +++ b/gnulib/modules/memmem-simple @@ -0,0 +1,32 @@ +Description: +memmem() function: locate first substring in a buffer. + +Files: +lib/str-two-way.h +lib/memmem.c +m4/memmem.m4 + +Depends-on: +extensions +string +stdint +memchr +memcmp + +configure.ac: +gl_FUNC_MEMMEM_SIMPLE +if test $HAVE_MEMMEM = 0 || test $REPLACE_MEMMEM = 1; then + AC_LIBOBJ([memmem]) +fi +gl_STRING_MODULE_INDICATOR([memmem]) + +Makefile.am: + +Include: +<string.h> + +License: +LGPLv2+ + +Maintainer: +libc, Eric Blake, Simon Josefsson diff --git a/gnulib/modules/memmem-tests b/gnulib/modules/memmem-tests new file mode 100644 index 0000000..4738d5c --- /dev/null +++ b/gnulib/modules/memmem-tests @@ -0,0 +1,21 @@ +Files: +tests/test-memmem.c +tests/zerosize-ptr.h +tests/signature.h +tests/macros.h +m4/mmap-anon.m4 + +Depends-on: +extensions +getpagesize + +configure.ac: +gl_FUNC_MMAP_ANON +AC_CHECK_HEADERS_ONCE([sys/mman.h]) +AC_CHECK_FUNCS_ONCE([mprotect]) +AC_CHECK_DECLS_ONCE([alarm]) + +Makefile.am: +TESTS += test-memmem +check_PROGRAMS += test-memmem + diff --git a/gnulib/modules/memmove b/gnulib/modules/memmove new file mode 100644 index 0000000..a6fdff4 --- /dev/null +++ b/gnulib/modules/memmove @@ -0,0 +1,32 @@ +Description: +memmove() function: copy memory area. + +Status: +obsolete + +Notice: +This module is obsolete. + +Files: +lib/memmove.c +m4/memmove.m4 + +Depends-on: + +configure.ac: +gl_FUNC_MEMMOVE +if test $ac_cv_func_memmove = no; then + AC_LIBOBJ([memmove]) + gl_PREREQ_MEMMOVE +fi + +Makefile.am: + +Include: +<string.h> + +License: +public domain + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/mempcpy b/gnulib/modules/mempcpy new file mode 100644 index 0000000..9af4654 --- /dev/null +++ b/gnulib/modules/mempcpy @@ -0,0 +1,29 @@ +Description: +mempcpy() function: copy memory area, return point after last written byte. + +Files: +lib/mempcpy.c +m4/mempcpy.m4 + +Depends-on: +extensions +string + +configure.ac: +gl_FUNC_MEMPCPY +if test $HAVE_MEMPCPY = 0; then + AC_LIBOBJ([mempcpy]) + gl_PREREQ_MEMPCPY +fi +gl_STRING_MODULE_INDICATOR([mempcpy]) + +Makefile.am: + +Include: +<string.h> + +License: +LGPLv2+ + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/memrchr b/gnulib/modules/memrchr new file mode 100644 index 0000000..62f7c34 --- /dev/null +++ b/gnulib/modules/memrchr @@ -0,0 +1,29 @@ +Description: +memrchr() function: scan memory for a byte, from the right end. + +Files: +lib/memrchr.c +m4/memrchr.m4 + +Depends-on: +extensions +string + +configure.ac: +gl_FUNC_MEMRCHR +if test $ac_cv_func_memrchr = no; then + AC_LIBOBJ([memrchr]) + gl_PREREQ_MEMRCHR +fi +gl_STRING_MODULE_INDICATOR([memrchr]) + +Makefile.am: + +Include: +<string.h> + +License: +LGPL + +Maintainer: +Jim Meyering, glibc diff --git a/gnulib/modules/memrchr-tests b/gnulib/modules/memrchr-tests new file mode 100644 index 0000000..e3af277 --- /dev/null +++ b/gnulib/modules/memrchr-tests @@ -0,0 +1,19 @@ +Files: +tests/test-memrchr.c +tests/zerosize-ptr.h +tests/signature.h +tests/macros.h +m4/mmap-anon.m4 + +Depends-on: +extensions +getpagesize + +configure.ac: +gl_FUNC_MMAP_ANON +AC_CHECK_HEADERS_ONCE([sys/mman.h]) +AC_CHECK_FUNCS_ONCE([mprotect]) + +Makefile.am: +TESTS += test-memrchr +check_PROGRAMS += test-memrchr diff --git a/gnulib/modules/memset b/gnulib/modules/memset new file mode 100644 index 0000000..9fb1a5d --- /dev/null +++ b/gnulib/modules/memset @@ -0,0 +1,32 @@ +Description: +memset() function: fill memory with a constant byte. + +Status: +obsolete + +Notice: +This module is obsolete. + +Files: +lib/memset.c +m4/memset.m4 + +Depends-on: + +configure.ac: +gl_FUNC_MEMSET +if test $ac_cv_func_memset = no; then + AC_LIBOBJ([memset]) + gl_PREREQ_MEMSET +fi + +Makefile.am: + +Include: +<string.h> + +License: +LGPLv2+ + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/memxor b/gnulib/modules/memxor new file mode 100644 index 0000000..3cc95a3 --- /dev/null +++ b/gnulib/modules/memxor @@ -0,0 +1,24 @@ +Description: +memxor() function: binary exclusive or operation on two memory blocks + +Files: +lib/memxor.h +lib/memxor.c +m4/memxor.m4 + +Depends-on: + +configure.ac: +gl_MEMXOR + +Makefile.am: +lib_SOURCES += memxor.c + +Include: +"memxor.h" + +License: +LGPLv2+ + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/mgetgroups b/gnulib/modules/mgetgroups new file mode 100644 index 0000000..cdfa570 --- /dev/null +++ b/gnulib/modules/mgetgroups @@ -0,0 +1,28 @@ +Description: +Return the group IDs of a user or current process in malloc'd storage. + +Files: +lib/mgetgroups.c +lib/mgetgroups.h +m4/mgetgroups.m4 + +Depends-on: +getgroups +getugroups +realloc-gnu +xalloc-oversized + +configure.ac: +gl_MGETGROUPS + +Makefile.am: +lib_SOURCES += mgetgroups.c + +Include: +"mgetgroups.h" + +License: +GPL + +Maintainer: +Jim Meyering, Eric Blake diff --git a/gnulib/modules/minmax b/gnulib/modules/minmax new file mode 100644 index 0000000..19ea433 --- /dev/null +++ b/gnulib/modules/minmax @@ -0,0 +1,24 @@ +Description: +MIN, MAX macros. + +Files: +lib/minmax.h +m4/minmax.m4 + +Depends-on: + +configure.ac: +gl_MINMAX + +Makefile.am: +lib_SOURCES += minmax.h + +Include: +"minmax.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/mkancesdirs b/gnulib/modules/mkancesdirs new file mode 100644 index 0000000..7ae1a48 --- /dev/null +++ b/gnulib/modules/mkancesdirs @@ -0,0 +1,29 @@ +Description: +Ensure the existence of the ancestor directories of a file. + +Files: +lib/mkancesdirs.c +lib/mkancesdirs.h +m4/mkancesdirs.m4 + +Depends-on: +dirname-lgpl +fcntl-h +savewd +stat-macros +sys_stat + +configure.ac: +gl_MKANCESDIRS + +Makefile.am: +lib_SOURCES += mkancesdirs.c + +Include: +"mkancesdirs.h" + +License: +GPL + +Maintainer: +Paul Eggert, Jim Meyering diff --git a/gnulib/modules/mkdir b/gnulib/modules/mkdir new file mode 100644 index 0000000..032f1c5 --- /dev/null +++ b/gnulib/modules/mkdir @@ -0,0 +1,27 @@ +Description: +mkdir() function: create a directory. + +Files: +lib/mkdir.c +m4/mkdir.m4 + +Depends-on: +sys_stat +dirname-lgpl [test $REPLACE_MKDIR = 1] + +configure.ac: +gl_FUNC_MKDIR +if test $REPLACE_MKDIR = 1; then + AC_LIBOBJ([mkdir]) +fi + +Makefile.am: + +Include: +<sys/stat.h> + +License: +LGPLv2+ + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/mkdir-p b/gnulib/modules/mkdir-p new file mode 100644 index 0000000..fed3490 --- /dev/null +++ b/gnulib/modules/mkdir-p @@ -0,0 +1,39 @@ +Description: +Ensure that a directory and its parents exist. + +Files: +lib/dirchownmod.c +lib/dirchownmod.h +lib/mkdir-p.c +lib/mkdir-p.h +m4/mkdir-p.m4 + +Depends-on: +error +fcntl-h +fstat +gettext-h +lchmod +lchown +mkancesdirs +quote +savewd +stat +stat-macros +stdbool +sys_stat + +configure.ac: +gl_MKDIR_PARENTS + +Makefile.am: +lib_SOURCES += dirchownmod.c mkdir-p.c + +Include: +"mkdir-p.h" + +License: +GPL + +Maintainer: +Paul Eggert, Jim Meyering diff --git a/gnulib/modules/mkdir-tests b/gnulib/modules/mkdir-tests new file mode 100644 index 0000000..fea1b63 --- /dev/null +++ b/gnulib/modules/mkdir-tests @@ -0,0 +1,16 @@ +Files: +tests/test-mkdir.h +tests/test-mkdir.c +tests/signature.h +tests/macros.h + +Depends-on: +ignore-value +stdbool +symlink + +configure.ac: + +Makefile.am: +TESTS += test-mkdir +check_PROGRAMS += test-mkdir diff --git a/gnulib/modules/mkdirat b/gnulib/modules/mkdirat new file mode 100644 index 0000000..0108920 --- /dev/null +++ b/gnulib/modules/mkdirat @@ -0,0 +1,41 @@ +Description: +mkdirat() function: Create a directory relative to a given directory. + +Files: +lib/mkdirat.c +lib/at-func.c +lib/openat-priv.h +m4/mkdirat.m4 + +Depends-on: +sys_stat +extensions +at-internal [test $HAVE_MKDIRAT = 0] +dosname [test $HAVE_MKDIRAT = 0] +errno [test $HAVE_MKDIRAT = 0] +fchdir [test $HAVE_MKDIRAT = 0] +fcntl-h [test $HAVE_MKDIRAT = 0] +mkdir [test $HAVE_MKDIRAT = 0] +openat-die [test $HAVE_MKDIRAT = 0] +openat-h [test $HAVE_MKDIRAT = 0] +save-cwd [test $HAVE_MKDIRAT = 0] +unistd [test $HAVE_MKDIRAT = 0] + +configure.ac: +gl_FUNC_MKDIRAT +if test $HAVE_MKDIRAT = 0; then + AC_LIBOBJ([mkdirat]) + gl_PREREQ_MKDIRAT +fi +gl_SYS_STAT_MODULE_INDICATOR([mkdirat]) + +Makefile.am: + +Include: +<sys/stat.h> + +License: +GPL + +Maintainer: +Jim Meyering, Eric Blake diff --git a/gnulib/modules/mkdirat-tests b/gnulib/modules/mkdirat-tests new file mode 100644 index 0000000..103a5ac --- /dev/null +++ b/gnulib/modules/mkdirat-tests @@ -0,0 +1,17 @@ +Files: +tests/test-mkdirat.c +tests/test-mkdir.h +tests/signature.h +tests/macros.h + +Depends-on: +ignore-value +progname +symlink + +configure.ac: + +Makefile.am: +TESTS += test-mkdirat +check_PROGRAMS += test-mkdirat +test_mkdirat_LDADD = $(LDADD) @LIBINTL@ diff --git a/gnulib/modules/mkdtemp b/gnulib/modules/mkdtemp new file mode 100644 index 0000000..87718a1 --- /dev/null +++ b/gnulib/modules/mkdtemp @@ -0,0 +1,31 @@ +Description: +mkdtemp() function: create a private temporary directory. + +Files: +lib/mkdtemp.c +m4/mkdtemp.m4 + +Depends-on: +stdlib +stdint [test $HAVE_MKDTEMP = 0] +tempname [test $HAVE_MKDTEMP = 0] + +configure.ac: +gl_FUNC_MKDTEMP +if test $HAVE_MKDTEMP = 0; then + AC_LIBOBJ([mkdtemp]) + gl_PREREQ_MKDTEMP +fi +gl_STDLIB_MODULE_INDICATOR([mkdtemp]) + +Makefile.am: + +Include: +<stdlib.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/mkfifo b/gnulib/modules/mkfifo new file mode 100644 index 0000000..7bf43b4 --- /dev/null +++ b/gnulib/modules/mkfifo @@ -0,0 +1,28 @@ +Description: +mkfifo() function: create named FIFO + +Files: +lib/mkfifo.c +m4/mkfifo.m4 + +Depends-on: +sys_stat +stat [test $HAVE_MKFIFO = 0 || test $REPLACE_MKFIFO = 1] + +configure.ac: +gl_FUNC_MKFIFO +if test $HAVE_MKFIFO = 0 || test $REPLACE_MKFIFO = 1; then + AC_LIBOBJ([mkfifo]) +fi +gl_UNISTD_MODULE_INDICATOR([mkfifo]) + +Makefile.am: + +Include: +<sys/stat.h> + +License: +LGPL + +Maintainer: +Eric Blake diff --git a/gnulib/modules/mkfifo-tests b/gnulib/modules/mkfifo-tests new file mode 100644 index 0000000..00ca98f --- /dev/null +++ b/gnulib/modules/mkfifo-tests @@ -0,0 +1,16 @@ +Files: +tests/test-mkfifo.h +tests/test-mkfifo.c +tests/signature.h +tests/macros.h + +Depends-on: +ignore-value +stdbool +symlink + +configure.ac: + +Makefile.am: +TESTS += test-mkfifo +check_PROGRAMS += test-mkfifo diff --git a/gnulib/modules/mkfifoat b/gnulib/modules/mkfifoat new file mode 100644 index 0000000..bc0c8e3 --- /dev/null +++ b/gnulib/modules/mkfifoat @@ -0,0 +1,46 @@ +Description: +mkfifoat() function and mknodat() function: create named FIFOs relative to a +directory + +Files: +lib/mkfifoat.c +lib/mknodat.c +lib/at-func.c +m4/mkfifoat.m4 + +Depends-on: +sys_stat +extensions +at-internal [test $HAVE_MKFIFOAT = 0 || test $HAVE_MKNODAT = 0] +dosname [test $HAVE_MKFIFOAT = 0 || test $HAVE_MKNODAT = 0] +errno [test $HAVE_MKFIFOAT = 0 || test $HAVE_MKNODAT = 0] +fchdir [test $HAVE_MKFIFOAT = 0 || test $HAVE_MKNODAT = 0] +fcntl-h [test $HAVE_MKFIFOAT = 0 || test $HAVE_MKNODAT = 0] +openat-die [test $HAVE_MKFIFOAT = 0 || test $HAVE_MKNODAT = 0] +openat-h [test $HAVE_MKFIFOAT = 0 || test $HAVE_MKNODAT = 0] +save-cwd [test $HAVE_MKFIFOAT = 0 || test $HAVE_MKNODAT = 0] +mkfifo [test $HAVE_MKFIFOAT = 0] +mknod [test $HAVE_MKNODAT = 0] + +configure.ac: +gl_FUNC_MKFIFOAT +if test $HAVE_MKFIFOAT = 0; then + AC_LIBOBJ([mkfifoat]) +fi +if test $HAVE_MKNODAT = 0; then + AC_LIBOBJ([mknodat]) +fi +gl_SYS_STAT_MODULE_INDICATOR([mkfifoat]) +gl_SYS_STAT_MODULE_INDICATOR([mknodat]) + +Makefile.am: + +Include: +<fcntl.h> +<sys/stat.h> + +License: +GPL + +Maintainer: +Jim Meyering, Eric Blake diff --git a/gnulib/modules/mkfifoat-tests b/gnulib/modules/mkfifoat-tests new file mode 100644 index 0000000..4c0e23f --- /dev/null +++ b/gnulib/modules/mkfifoat-tests @@ -0,0 +1,18 @@ +Files: +tests/test-mkfifo.h +tests/test-mkfifoat.c +tests/signature.h +tests/macros.h + +Depends-on: +fstatat +ignore-value +symlink +unlinkat + +configure.ac: + +Makefile.am: +TESTS += test-mkfifoat +check_PROGRAMS += test-mkfifoat +test_mkfifoat_LDADD = $(LDADD) @LIBINTL@ diff --git a/gnulib/modules/mknod b/gnulib/modules/mknod new file mode 100644 index 0000000..1f647ef --- /dev/null +++ b/gnulib/modules/mknod @@ -0,0 +1,30 @@ +Description: +mknod() function: create various special devices + +Files: +lib/mknod.c +m4/mknod.m4 + +Depends-on: +sys_stat +extensions +mkfifo [test $HAVE_MKNOD = 0 || test $REPLACE_MKNOD = 1] +stat [test $HAVE_MKNOD = 0 || test $REPLACE_MKNOD = 1] + +configure.ac: +gl_FUNC_MKNOD +if test $HAVE_MKNOD = 0 || test $REPLACE_MKNOD = 1; then + AC_LIBOBJ([mknod]) +fi +gl_UNISTD_MODULE_INDICATOR([mknod]) + +Makefile.am: + +Include: +<sys/stat.h> + +License: +LGPL + +Maintainer: +Eric Blake diff --git a/gnulib/modules/mknod-tests b/gnulib/modules/mknod-tests new file mode 100644 index 0000000..e35ffec --- /dev/null +++ b/gnulib/modules/mknod-tests @@ -0,0 +1,16 @@ +Files: +tests/test-mkfifo.h +tests/test-mknod.c +tests/signature.h +tests/macros.h + +Depends-on: +ignore-value +stdbool +symlink + +configure.ac: + +Makefile.am: +TESTS += test-mknod +check_PROGRAMS += test-mknod diff --git a/gnulib/modules/mkostemp b/gnulib/modules/mkostemp new file mode 100644 index 0000000..ee0ae4a --- /dev/null +++ b/gnulib/modules/mkostemp @@ -0,0 +1,33 @@ +Description: +mkostemp() function: create a private temporary file, with specific opening +flags. + +Files: +lib/mkostemp.c +m4/mkostemp.m4 + +Depends-on: +stdlib +extensions +largefile +tempname [test $HAVE_MKOSTEMP = 0] + +configure.ac: +gl_FUNC_MKOSTEMP +if test $HAVE_MKOSTEMP = 0; then + AC_LIBOBJ([mkostemp]) + gl_PREREQ_MKOSTEMP +fi +gl_MODULE_INDICATOR([mkostemp]) +gl_STDLIB_MODULE_INDICATOR([mkostemp]) + +Makefile.am: + +Include: +<stdlib.h> + +License: +LGPLv2+ + +Maintainer: +Jim Meyering, Bruno Haible diff --git a/gnulib/modules/mkostemps b/gnulib/modules/mkostemps new file mode 100644 index 0000000..fb956f9 --- /dev/null +++ b/gnulib/modules/mkostemps @@ -0,0 +1,32 @@ +Description: +mkostemps() function: create a private temporary file, with specific opening +flags, and with suffix. + +Files: +lib/mkostemps.c +m4/mkostemps.m4 + +Depends-on: +stdlib +extensions +largefile +tempname [test $HAVE_MKOSTEMPS = 0] + +configure.ac: +gl_FUNC_MKOSTEMPS +if test $HAVE_MKOSTEMPS = 0; then + AC_LIBOBJ([mkostemps]) +fi +gl_MODULE_INDICATOR([mkostemps]) +gl_STDLIB_MODULE_INDICATOR([mkostemps]) + +Makefile.am: + +Include: +<stdlib.h> + +License: +LGPLv2+ + +Maintainer: +Eric Blake diff --git a/gnulib/modules/mkstemp b/gnulib/modules/mkstemp new file mode 100644 index 0000000..780908f --- /dev/null +++ b/gnulib/modules/mkstemp @@ -0,0 +1,31 @@ +Description: +mkstemp() function: create a private temporary file. + +Files: +lib/mkstemp.c +m4/mkstemp.m4 + +Depends-on: +stdlib +extensions +largefile +tempname [test $HAVE_MKSTEMP = 0 || test $REPLACE_MKSTEMP = 1] + +configure.ac: +gl_FUNC_MKSTEMP +if test $HAVE_MKSTEMP = 0 || test $REPLACE_MKSTEMP = 1; then + AC_LIBOBJ([mkstemp]) + gl_PREREQ_MKSTEMP +fi +gl_STDLIB_MODULE_INDICATOR([mkstemp]) + +Makefile.am: + +Include: +<stdlib.h> + +License: +LGPLv2+ + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/mkstemps b/gnulib/modules/mkstemps new file mode 100644 index 0000000..61af8d5 --- /dev/null +++ b/gnulib/modules/mkstemps @@ -0,0 +1,31 @@ +Description: +mkstemps() function: create a private temporary file, with suffix + +Files: +lib/mkstemps.c +m4/mkstemps.m4 + +Depends-on: +stdlib +extensions +largefile +tempname [test $HAVE_MKSTEMPS = 0] + +configure.ac: +gl_FUNC_MKSTEMPS +if test $HAVE_MKSTEMPS = 0; then + AC_LIBOBJ([mkstemps]) +fi +gl_MODULE_INDICATOR([mkstemps]) +gl_STDLIB_MODULE_INDICATOR([mkstemps]) + +Makefile.am: + +Include: +<stdlib.h> + +License: +LGPLv2+ + +Maintainer: +Eric Blake diff --git a/gnulib/modules/mktempd b/gnulib/modules/mktempd new file mode 100644 index 0000000..aa6fe82 --- /dev/null +++ b/gnulib/modules/mktempd @@ -0,0 +1,19 @@ +Description: +Create a temporary directory, much like mktemp -d does. + +Files: +build-aux/mktempd + +Depends-on: + +configure.ac: + +Makefile.am: + +Include: + +License: +GPLed build tool + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/mktime b/gnulib/modules/mktime new file mode 100644 index 0000000..9653e90 --- /dev/null +++ b/gnulib/modules/mktime @@ -0,0 +1,30 @@ +Description: +mktime() function: convert broken-down time to linear time. + +Files: +lib/mktime-internal.h +lib/mktime.c +m4/mktime.m4 + +Depends-on: +multiarch +time_r [test $REPLACE_MKTIME = 1] + +configure.ac: +gl_FUNC_MKTIME +if test $REPLACE_MKTIME = 1; then + AC_LIBOBJ([mktime]) + gl_PREREQ_MKTIME +fi +gl_TIME_MODULE_INDICATOR([mktime]) + +Makefile.am: + +Include: +<time.h> + +License: +LGPLv2+ + +Maintainer: +Paul Eggert, Jim Meyering, glibc diff --git a/gnulib/modules/mktime-internal b/gnulib/modules/mktime-internal new file mode 100644 index 0000000..90c8cbb --- /dev/null +++ b/gnulib/modules/mktime-internal @@ -0,0 +1,27 @@ +Description: +mktime_internal() function: convert broken-down time to linear time. + +Files: +lib/mktime-internal.h +lib/mktime.c + +Depends-on: +mktime + +configure.ac: +gl_FUNC_MKTIME_INTERNAL +if test $REPLACE_MKTIME = 1; then + AC_LIBOBJ([mktime]) + gl_PREREQ_MKTIME +fi + +Makefile.am: + +Include: +"mktime-internal.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible, Paul Eggert diff --git a/gnulib/modules/modechange b/gnulib/modules/modechange new file mode 100644 index 0000000..b5b86a4 --- /dev/null +++ b/gnulib/modules/modechange @@ -0,0 +1,30 @@ +Description: +Manipulation of mode changes specified by strings (e.g. as first argument of +chmod utility). + +Files: +lib/modechange.h +lib/modechange.c +m4/modechange.m4 + +Depends-on: +stat +stat-macros +stdbool +sys_stat +xalloc + +configure.ac: +gl_MODECHANGE + +Makefile.am: +lib_SOURCES += modechange.c + +Include: +"modechange.h" + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/modf b/gnulib/modules/modf new file mode 100644 index 0000000..c0dffeb --- /dev/null +++ b/gnulib/modules/modf @@ -0,0 +1,25 @@ +Description: +modf() function: get signed integer and fractional parts. + +Files: +m4/modf.m4 +m4/mathfunc.m4 + +Depends-on: + +configure.ac: +gl_FUNC_MODF + +Makefile.am: + +Include: +<math.h> + +Link: +$(MODF_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/modf-tests b/gnulib/modules/modf-tests new file mode 100644 index 0000000..24e483d --- /dev/null +++ b/gnulib/modules/modf-tests @@ -0,0 +1,13 @@ +Files: +tests/test-modf.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-modf +check_PROGRAMS += test-modf +test_modf_LDADD = $(LDADD) @MODF_LIBM@ diff --git a/gnulib/modules/modff b/gnulib/modules/modff new file mode 100644 index 0000000..1551213 --- /dev/null +++ b/gnulib/modules/modff @@ -0,0 +1,32 @@ +Description: +modff() function: get signed integer and fractional parts. + +Files: +lib/modff.c +m4/modff.m4 +m4/mathfunc.m4 + +Depends-on: +math +modf [test $HAVE_MODFF = 0] + +configure.ac: +gl_FUNC_MODFF +if test $HAVE_MODFF = 0; then + AC_LIBOBJ([modff]) +fi +gl_MATH_MODULE_INDICATOR([modff]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(MODFF_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/modff-tests b/gnulib/modules/modff-tests new file mode 100644 index 0000000..9d35b73 --- /dev/null +++ b/gnulib/modules/modff-tests @@ -0,0 +1,13 @@ +Files: +tests/test-modff.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-modff +check_PROGRAMS += test-modff +test_modff_LDADD = $(LDADD) @MODFF_LIBM@ diff --git a/gnulib/modules/mountlist b/gnulib/modules/mountlist new file mode 100644 index 0000000..1e7d22a --- /dev/null +++ b/gnulib/modules/mountlist @@ -0,0 +1,33 @@ +Description: +Return list of mounted file systems. + +Files: +lib/mountlist.h +lib/mountlist.c +m4/ls-mntd-fs.m4 +m4/fstypename.m4 +m4/mountlist.m4 + +Depends-on: +stdbool +stdint +strstr-simple +xalloc + +configure.ac: +gl_MOUNTLIST +if test $gl_cv_list_mounted_fs = yes; then + AC_LIBOBJ([mountlist]) + gl_PREREQ_MOUNTLIST_EXTRA +fi + +Makefile.am: + +Include: +"mountlist.h" + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/mpsort b/gnulib/modules/mpsort new file mode 100644 index 0000000..054e979 --- /dev/null +++ b/gnulib/modules/mpsort @@ -0,0 +1,24 @@ +Description: +Sort a vector of pointers to data. + +Files: +lib/mpsort.h +lib/mpsort.c +m4/mpsort.m4 + +Depends-on: + +configure.ac: +gl_MPSORT + +Makefile.am: +lib_SOURCES += mpsort.c + +Include: +"mpsort.h" + +License: +GPL + +Maintainer: +Paul Eggert diff --git a/gnulib/modules/msvc-inval b/gnulib/modules/msvc-inval new file mode 100644 index 0000000..bb86633 --- /dev/null +++ b/gnulib/modules/msvc-inval @@ -0,0 +1,26 @@ +Description: +invalid parameter handler for MSVC runtime libraries + +Files: +lib/msvc-inval.h +lib/msvc-inval.c +m4/msvc-inval.m4 + +Depends-on: + +configure.ac: +gl_MSVC_INVAL +if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then + AC_LIBOBJ([msvc-inval]) +fi + +Makefile.am: + +Include: +"msvc-inval.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/msvc-nothrow b/gnulib/modules/msvc-nothrow new file mode 100644 index 0000000..46d71aa --- /dev/null +++ b/gnulib/modules/msvc-nothrow @@ -0,0 +1,28 @@ +Description: +wrappers that don't throw invalid parameter notifications with MSVC runtime +libraries + +Files: +lib/msvc-nothrow.h +lib/msvc-nothrow.c +m4/msvc-nothrow.m4 + +Depends-on: +msvc-inval + +configure.ac: +gl_MSVC_NOTHROW +if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then + AC_LIBOBJ([msvc-nothrow]) +fi + +Makefile.am: + +Include: +"msvc-nothrow.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/multiarch b/gnulib/modules/multiarch new file mode 100644 index 0000000..24b14d5 --- /dev/null +++ b/gnulib/modules/multiarch @@ -0,0 +1,21 @@ +Description: +Detection of multi-architecture ("universal binary") builds. + +Files: +m4/multiarch.m4 + +Depends-on: + +configure.ac: +gl_MULTIARCH + +Makefile.am: + +Include: + +License: +unlimited + +Maintainer: +Bruno Haible, autoconf + diff --git a/gnulib/modules/nanosleep b/gnulib/modules/nanosleep new file mode 100644 index 0000000..61c9b96 --- /dev/null +++ b/gnulib/modules/nanosleep @@ -0,0 +1,40 @@ +Description: +nanosleep() function: pause execution for a specified time. + +Files: +lib/nanosleep.c +m4/nanosleep.m4 + +Depends-on: +time +extensions +multiarch +intprops [test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1] +select [test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1] +sigaction [test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1] +stdbool [test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1] +sys_select [test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1] +sys_time [test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1] +verify [test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1] + +configure.ac: +gl_FUNC_NANOSLEEP +if test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1; then + AC_LIBOBJ([nanosleep]) + gl_PREREQ_NANOSLEEP +fi +gl_TIME_MODULE_INDICATOR([nanosleep]) + +Makefile.am: + +Include: +<time.h> + +Link: +$(LIB_NANOSLEEP) + +License: +LGPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/nanosleep-tests b/gnulib/modules/nanosleep-tests new file mode 100644 index 0000000..c3b5f2f --- /dev/null +++ b/gnulib/modules/nanosleep-tests @@ -0,0 +1,14 @@ +Files: +tests/test-nanosleep.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: +AC_CHECK_DECLS_ONCE([alarm]) + +Makefile.am: +TESTS += test-nanosleep +check_PROGRAMS += test-nanosleep +test_nanosleep_LDADD = $(LDADD) $(LIB_NANOSLEEP) diff --git a/gnulib/modules/net_if-tests b/gnulib/modules/net_if-tests new file mode 100644 index 0000000..ace657d --- /dev/null +++ b/gnulib/modules/net_if-tests @@ -0,0 +1,11 @@ +Files: +tests/test-net_if.c +tests/signature.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-net_if +check_PROGRAMS += test-net_if diff --git a/gnulib/modules/netdb b/gnulib/modules/netdb new file mode 100644 index 0000000..b324866 --- /dev/null +++ b/gnulib/modules/netdb @@ -0,0 +1,54 @@ +Description: +A <netdb.h> for systems lacking it. + +Files: +lib/netdb.in.h +m4/netdb_h.m4 + +Depends-on: +include_next +snippet/arg-nonnull +snippet/c++defs +snippet/warn-on-use +sys_socket + +configure.ac: +gl_HEADER_NETDB + +Makefile.am: +BUILT_SOURCES += netdb.h + +# We need the following in order to create <netdb.h> when the system +# doesn't have one that works with the given compiler. +netdb.h: netdb.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_NETDB_H''@|$(NEXT_NETDB_H)|g' \ + -e 's|@''HAVE_NETDB_H''@|$(HAVE_NETDB_H)|g' \ + -e 's/@''GNULIB_GETADDRINFO''@/$(GNULIB_GETADDRINFO)/g' \ + -e 's|@''HAVE_STRUCT_ADDRINFO''@|$(HAVE_STRUCT_ADDRINFO)|g' \ + -e 's|@''HAVE_DECL_FREEADDRINFO''@|$(HAVE_DECL_FREEADDRINFO)|g' \ + -e 's|@''HAVE_DECL_GAI_STRERROR''@|$(HAVE_DECL_GAI_STRERROR)|g' \ + -e 's|@''HAVE_DECL_GETADDRINFO''@|$(HAVE_DECL_GETADDRINFO)|g' \ + -e 's|@''HAVE_DECL_GETNAMEINFO''@|$(HAVE_DECL_GETNAMEINFO)|g' \ + -e 's|@''REPLACE_GAI_STRERROR''@|$(REPLACE_GAI_STRERROR)|g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ + -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ + < $(srcdir)/netdb.in.h; \ + } > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += netdb.h netdb.h-t + +Include: +<netdb.h> + +License: +LGPLv2+ + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/netdb-c++-tests b/gnulib/modules/netdb-c++-tests new file mode 100644 index 0000000..af07dee --- /dev/null +++ b/gnulib/modules/netdb-c++-tests @@ -0,0 +1,19 @@ +Files: +tests/test-netdb-c++.cc +tests/signature.h + +Status: +c++-test + +Depends-on: +ansi-c++-opt + +configure.ac: + +Makefile.am: +if ANSICXX +TESTS += test-netdb-c++ +check_PROGRAMS += test-netdb-c++ +test_netdb_c___SOURCES = test-netdb-c++.cc +test_netdb_c___LDADD = $(LDADD) $(GETADDRINFO_LIB) +endif diff --git a/gnulib/modules/netdb-tests b/gnulib/modules/netdb-tests new file mode 100644 index 0000000..3590c94 --- /dev/null +++ b/gnulib/modules/netdb-tests @@ -0,0 +1,11 @@ +Files: +tests/test-netdb.c + +Depends-on: +netdb-c++-tests + +configure.ac: + +Makefile.am: +TESTS += test-netdb +check_PROGRAMS += test-netdb diff --git a/gnulib/modules/netinet_in b/gnulib/modules/netinet_in new file mode 100644 index 0000000..7d09a37 --- /dev/null +++ b/gnulib/modules/netinet_in @@ -0,0 +1,49 @@ +Description: +A <netinet/in.h> for systems lacking it. + +Files: +lib/netinet_in.in.h +m4/netinet_in_h.m4 + +Depends-on: +include_next +sys_socket + +configure.ac: +gl_HEADER_NETINET_IN +AC_PROG_MKDIR_P + +Makefile.am: +BUILT_SOURCES += $(NETINET_IN_H) + +# We need the following in order to create <netinet/in.h> when the system +# doesn't have one. +if GL_GENERATE_NETINET_IN_H +netinet/in.h: netinet_in.in.h $(top_builddir)/config.status + $(AM_V_at)$(MKDIR_P) netinet + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \ + -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \ + < $(srcdir)/netinet_in.in.h; \ + } > $@-t && \ + mv $@-t $@ +else +netinet/in.h: $(top_builddir)/config.status + rm -f $@ +endif +MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t +MOSTLYCLEANDIRS += netinet + +Include: +<netinet/in.h> + +License: +LGPLv2+ + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/netinet_in-tests b/gnulib/modules/netinet_in-tests new file mode 100644 index 0000000..08d1a28 --- /dev/null +++ b/gnulib/modules/netinet_in-tests @@ -0,0 +1,10 @@ +Files: +tests/test-netinet_in.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-netinet_in +check_PROGRAMS += test-netinet_in diff --git a/gnulib/modules/nextafter b/gnulib/modules/nextafter new file mode 100644 index 0000000..1152d20 --- /dev/null +++ b/gnulib/modules/nextafter @@ -0,0 +1,24 @@ +Description: +nextafter() function: next representable 'double' number. + +Files: +m4/mathfunc.m4 + +Depends-on: + +configure.ac: +gl_MATHFUNC([nextafter], [double], [(double, double)]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(NEXTAFTER_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/nextafter-tests b/gnulib/modules/nextafter-tests new file mode 100644 index 0000000..1bb372a --- /dev/null +++ b/gnulib/modules/nextafter-tests @@ -0,0 +1,13 @@ +Files: +tests/test-nextafter.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-nextafter +check_PROGRAMS += test-nextafter +test_nextafter_LDADD = $(LDADD) @NEXTAFTER_LIBM@ diff --git a/gnulib/modules/nl_langinfo b/gnulib/modules/nl_langinfo new file mode 100644 index 0000000..e749cbd --- /dev/null +++ b/gnulib/modules/nl_langinfo @@ -0,0 +1,27 @@ +Description: +nl_langinfo() function: query locale dependent information. + +Files: +lib/nl_langinfo.c +m4/nl_langinfo.m4 + +Depends-on: +langinfo + +configure.ac: +gl_FUNC_NL_LANGINFO +if test $HAVE_NL_LANGINFO = 0 || test $REPLACE_NL_LANGINFO = 1; then + AC_LIBOBJ([nl_langinfo]) +fi +gl_LANGINFO_MODULE_INDICATOR([nl_langinfo]) + +Makefile.am: + +Include: +<langinfo.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/nl_langinfo-tests b/gnulib/modules/nl_langinfo-tests new file mode 100644 index 0000000..2d3fda0 --- /dev/null +++ b/gnulib/modules/nl_langinfo-tests @@ -0,0 +1,19 @@ +Files: +tests/test-nl_langinfo.sh +tests/test-nl_langinfo.c +tests/signature.h +tests/macros.h +m4/locale-fr.m4 + +Depends-on: +c-strcase +setlocale + +configure.ac: +gt_LOCALE_FR +gt_LOCALE_FR_UTF8 + +Makefile.am: +TESTS += test-nl_langinfo.sh +TESTS_ENVIRONMENT += LOCALE_FR='@LOCALE_FR@' LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' +check_PROGRAMS += test-nl_langinfo diff --git a/gnulib/modules/no-c++ b/gnulib/modules/no-c++ new file mode 100644 index 0000000..2f9e7c1 --- /dev/null +++ b/gnulib/modules/no-c++ @@ -0,0 +1,21 @@ +Description: +Support for compiling in C mode when CC is set to a C++ compiler. + +Files: +m4/no-c++.m4 + +Depends-on: + +configure.ac: +gt_NO_CXX + +Makefile.am: + +Include: + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/nocrash b/gnulib/modules/nocrash new file mode 100644 index 0000000..607c394 --- /dev/null +++ b/gnulib/modules/nocrash @@ -0,0 +1,20 @@ +Description: +Macro that avoids crashes in configure tests. + +Files: +m4/nocrash.m4 + +Depends-on: + +configure.ac: + +Makefile.am: + +Include: + +License: +unlimited + +Maintainer: +Bruno Haible, Paolo Bonzini + diff --git a/gnulib/modules/nonblocking b/gnulib/modules/nonblocking new file mode 100644 index 0000000..96881f5 --- /dev/null +++ b/gnulib/modules/nonblocking @@ -0,0 +1,44 @@ +Description: +Read, set or clear the non-blocking file descriptor flag. + +Files: +lib/nonblocking.h +lib/nonblocking.c +m4/nonblocking.m4 +lib/stdio-read.c +lib/stdio-write.c +m4/asm-underscore.m4 + +Depends-on: +fcntl-h +ioctl +msvc-nothrow +stdbool +stdio +sys_socket +unistd + +configure.ac: +gl_NONBLOCKING_IO +gl_FCNTL_MODULE_INDICATOR([nonblocking]) +dnl Define the C macro GNULIB_NONBLOCKING to 1. +gl_MODULE_INDICATOR([nonblocking]) +dnl Define the substituted variable GNULIB_STDIO_H_NONBLOCKING to 1. +AC_REQUIRE([gl_STDIO_H_DEFAULTS]) +AC_REQUIRE([gl_ASM_SYMBOL_PREFIX]) +GNULIB_STDIO_H_NONBLOCKING=1 +dnl Define the substituted variable GNULIB_UNISTD_H_NONBLOCKING to 1. +AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) +GNULIB_UNISTD_H_NONBLOCKING=1 + +Makefile.am: +lib_SOURCES += nonblocking.c + +Include: +"nonblocking.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible, Eric Blake diff --git a/gnulib/modules/nonblocking-pipe-tests b/gnulib/modules/nonblocking-pipe-tests new file mode 100644 index 0000000..fa3b771 --- /dev/null +++ b/gnulib/modules/nonblocking-pipe-tests @@ -0,0 +1,35 @@ +Files: +tests/test-nonblocking-pipe.sh +tests/test-nonblocking-pipe-main.c +tests/test-nonblocking-pipe-child.c +tests/test-nonblocking-pipe.h +tests/test-nonblocking-writer.h +tests/test-nonblocking-reader.h +tests/test-nonblocking-misc.h +tests/macros.h + +Depends-on: +stdbool +unistd +nonblocking +wait-process +pipe-posix +dup2 +environ +posix_spawnp +binary-io +gettimeofday +snprintf +vsnprintf +strerror +ssize_t +usleep +read +write + +configure.ac: + +Makefile.am: +TESTS += test-nonblocking-pipe.sh +check_PROGRAMS += test-nonblocking-pipe-main test-nonblocking-pipe-child +test_nonblocking_pipe_main_LDADD = $(LDADD) @LIBINTL@ diff --git a/gnulib/modules/nonblocking-socket-tests b/gnulib/modules/nonblocking-socket-tests new file mode 100644 index 0000000..2eb883e --- /dev/null +++ b/gnulib/modules/nonblocking-socket-tests @@ -0,0 +1,46 @@ +Files: +tests/test-nonblocking-socket.sh +tests/test-nonblocking-socket-main.c +tests/test-nonblocking-socket-child.c +tests/test-nonblocking-socket.h +tests/test-nonblocking-writer.h +tests/test-nonblocking-reader.h +tests/test-nonblocking-misc.h +tests/socket-server.h +tests/socket-client.h +tests/macros.h + +Depends-on: +stdbool +unistd +sys_socket +nonblocking +wait-process +environ +posix_spawnp +netinet_in +arpa_inet +socket +setsockopt +bind +getsockname +listen +accept +getsockopt +connect +gettimeofday +snprintf +vsnprintf +strerror +ssize_t +usleep +read +write + +configure.ac: + +Makefile.am: +TESTS += test-nonblocking-socket.sh +check_PROGRAMS += test-nonblocking-socket-main test-nonblocking-socket-child +test_nonblocking_socket_main_LDADD = $(LDADD) $(LIBSOCKET) @LIBINTL@ +test_nonblocking_socket_child_LDADD = $(LDADD) $(LIBSOCKET) diff --git a/gnulib/modules/nonblocking-tests b/gnulib/modules/nonblocking-tests new file mode 100644 index 0000000..b84a327 --- /dev/null +++ b/gnulib/modules/nonblocking-tests @@ -0,0 +1,16 @@ +Files: +tests/test-nonblocking.c +tests/macros.h + +Depends-on: +close +pipe-posix +nonblocking-pipe-tests +nonblocking-socket-tests + +configure.ac: + +Makefile.am: +TESTS += test-nonblocking +check_PROGRAMS += test-nonblocking +test_nonblocking_LDADD = $(LDADD) $(LIBSOCKET) diff --git a/gnulib/modules/nproc b/gnulib/modules/nproc new file mode 100644 index 0000000..8c0e7f2 --- /dev/null +++ b/gnulib/modules/nproc @@ -0,0 +1,27 @@ +Description: +Detect the number of processors + +Files: +lib/nproc.h +lib/nproc.c +m4/nproc.m4 + +Depends-on: +c-ctype +extensions +unistd + +configure.ac: +gl_NPROC + +Makefile.am: +lib_SOURCES += nproc.c + +Include: +"nproc.h" + +License: +LGPL + +Maintainer: +Glen Lenker and Paul Eggert diff --git a/gnulib/modules/obstack b/gnulib/modules/obstack new file mode 100644 index 0000000..bceecdc --- /dev/null +++ b/gnulib/modules/obstack @@ -0,0 +1,27 @@ +Description: +Memory allocation, optimized for stack-like allocation patterns. + +Files: +lib/obstack.h +lib/obstack.c + +Depends-on: +gettext-h +exitfail +stdint +stdlib + +configure.ac: +AC_FUNC_OBSTACK +dnl Note: AC_FUNC_OBSTACK does AC_LIBSOURCES([obstack.h, obstack.c]). + +Makefile.am: + +Include: +"obstack.h" + +License: +LGPL + +Maintainer: +all, glibc diff --git a/gnulib/modules/obstack-printf b/gnulib/modules/obstack-printf new file mode 100644 index 0000000..324dde6 --- /dev/null +++ b/gnulib/modules/obstack-printf @@ -0,0 +1,30 @@ +Description: +Formatted printing into an obstack. + +Files: +m4/obstack-printf.m4 +lib/obstack_printf.c + +Depends-on: +obstack +stdio +vasnprintf +extensions + +configure.ac: +gl_FUNC_OBSTACK_PRINTF +if test $ac_cv_func_obstack_printf = no || test $REPLACE_OBSTACK_PRINTF = 1; then + AC_LIBOBJ([obstack_printf]) +fi +gl_STDIO_MODULE_INDICATOR([obstack-printf]) + +Makefile.am: + +Include: +<stdio.h> + +License: +GPL + +Maintainer: +Eric Blake diff --git a/gnulib/modules/obstack-printf-posix b/gnulib/modules/obstack-printf-posix new file mode 100644 index 0000000..c2036a8 --- /dev/null +++ b/gnulib/modules/obstack-printf-posix @@ -0,0 +1,38 @@ +Description: +POSIX formatted printing into an obstack. + +Comment: +This module should not be used as a dependency from a test module, +otherwise when this module occurs as a tests-related module, it will +have side effects on the compilation of the 'vasnprintf' module, if +that module occurs among the main modules in lib/. + +Files: +m4/obstack-printf.m4 +m4/obstack-printf-posix.m4 +m4/math_h.m4 +lib/obstack_printf.c + +Depends-on: +obstack +stdio +vasnprintf-posix +extensions + +configure.ac: +gl_FUNC_OBSTACK_PRINTF_POSIX +if test $ac_cv_func_obstack_printf = no || test $REPLACE_OBSTACK_PRINTF = 1; then + AC_LIBOBJ([obstack_printf]) +fi +gl_STDIO_MODULE_INDICATOR([obstack-printf-posix]) + +Makefile.am: + +Include: +<stdio.h> + +License: +GPL + +Maintainer: +Eric Blake diff --git a/gnulib/modules/obstack-printf-posix-tests b/gnulib/modules/obstack-printf-posix-tests new file mode 100644 index 0000000..a5b1bc1 --- /dev/null +++ b/gnulib/modules/obstack-printf-posix-tests @@ -0,0 +1,8 @@ +Files: + +Depends-on: +obstack-printf-tests + +configure.ac: + +Makefile.am: diff --git a/gnulib/modules/obstack-printf-tests b/gnulib/modules/obstack-printf-tests new file mode 100644 index 0000000..f1c99ca --- /dev/null +++ b/gnulib/modules/obstack-printf-tests @@ -0,0 +1,15 @@ +Files: +tests/test-obstack-printf.c +tests/signature.h +tests/macros.h + +Depends-on: +progname +xalloc + +configure.ac: + +Makefile.am: +TESTS += test-obstack-printf +check_PROGRAMS += test-obstack-printf +test_obstack_printf_LDADD = $(LDADD) @LIBINTL@ diff --git a/gnulib/modules/open b/gnulib/modules/open new file mode 100644 index 0000000..398efe4 --- /dev/null +++ b/gnulib/modules/open @@ -0,0 +1,33 @@ +Description: +open() function: open a descriptor to a file. + +Files: +lib/open.c +m4/open.m4 +m4/mode_t.m4 + +Depends-on: +fcntl-h +largefile +fstat [test $REPLACE_OPEN = 1] +stat [test $REPLACE_OPEN = 1] + +configure.ac: +gl_FUNC_OPEN +if test $REPLACE_OPEN = 1; then + AC_LIBOBJ([open]) + gl_PREREQ_OPEN +fi +gl_FCNTL_MODULE_INDICATOR([open]) + +Makefile.am: + +Include: +<fcntl.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/open-tests b/gnulib/modules/open-tests new file mode 100644 index 0000000..5bc4e0f --- /dev/null +++ b/gnulib/modules/open-tests @@ -0,0 +1,15 @@ +Files: +tests/test-open.h +tests/test-open.c +tests/signature.h +tests/macros.h + +Depends-on: +stdbool +symlink + +configure.ac: + +Makefile.am: +TESTS += test-open +check_PROGRAMS += test-open diff --git a/gnulib/modules/openat b/gnulib/modules/openat new file mode 100644 index 0000000..7846401 --- /dev/null +++ b/gnulib/modules/openat @@ -0,0 +1,45 @@ +Description: +openat() function: Open a file at a directory. + +Files: +lib/openat.c +lib/openat-priv.h +m4/openat.m4 +m4/lstat.m4 +m4/mode_t.m4 + +Depends-on: +fcntl-h +extensions +largefile +openat-h [test $HAVE_OPENAT = 0 || test $REPLACE_OPENAT = 1] +stdbool [test $HAVE_OPENAT = 0 || test $REPLACE_OPENAT = 1] +sys_stat [test $HAVE_OPENAT = 0 || test $REPLACE_OPENAT = 1] +fstat [test $REPLACE_OPENAT = 1] +at-internal [test $HAVE_OPENAT = 0] +dosname [test $HAVE_OPENAT = 0] +errno [test $HAVE_OPENAT = 0] +fchdir [test $HAVE_OPENAT = 0] +open [test $HAVE_OPENAT = 0] +openat-die [test $HAVE_OPENAT = 0] +save-cwd [test $HAVE_OPENAT = 0] + +configure.ac: +gl_FUNC_OPENAT +if test $HAVE_OPENAT = 0 || test $REPLACE_OPENAT = 1; then + AC_LIBOBJ([openat]) + gl_PREREQ_OPENAT +fi +gl_MODULE_INDICATOR([openat]) dnl for lib/getcwd.c +gl_FCNTL_MODULE_INDICATOR([openat]) + +Makefile.am: + +Include: +<fcntl.h> + +License: +GPL + +Maintainer: +Jim Meyering, Eric Blake diff --git a/gnulib/modules/openat-die b/gnulib/modules/openat-die new file mode 100644 index 0000000..08bef77 --- /dev/null +++ b/gnulib/modules/openat-die @@ -0,0 +1,25 @@ +Description: +Report a save- or restore-cwd failure in our openat replacement and then exit. + +Files: +lib/openat-die.c + +Depends-on: +openat-h +error +exitfail +gettext-h + +configure.ac: + +Makefile.am: +lib_SOURCES += openat-die.c + +Include: +"openat.h" + +License: +GPL + +Maintainer: +all diff --git a/gnulib/modules/openat-h b/gnulib/modules/openat-h new file mode 100644 index 0000000..2af3b88 --- /dev/null +++ b/gnulib/modules/openat-h @@ -0,0 +1,24 @@ +Description: +Declarations of functions related to accessing files relative to a directory. + +Files: +lib/openat.h + +Depends-on: +fcntl-h +stdbool +sys_stat +unistd + +configure.ac: + +Makefile.am: + +Include: +"openat.h" + +License: +GPL + +Maintainer: +Jim Meyering, Eric Blake diff --git a/gnulib/modules/openat-safer b/gnulib/modules/openat-safer new file mode 100644 index 0000000..f8194e4 --- /dev/null +++ b/gnulib/modules/openat-safer @@ -0,0 +1,29 @@ +Description: +openat function that avoids clobbering std{in,out,err}. + +Files: +lib/fcntl--.h +lib/fcntl-safer.h +lib/openat-safer.c +m4/fcntl-safer.m4 + +Depends-on: +fcntl-safer +openat +unistd-safer + +configure.ac: +gl_OPENAT_SAFER +gl_MODULE_INDICATOR([openat-safer]) + +Makefile.am: +lib_SOURCES += openat-safer.c + +Include: +"fcntl-safer.h" + +License: +GPL + +Maintainer: +Eric Blake diff --git a/gnulib/modules/openat-safer-tests b/gnulib/modules/openat-safer-tests new file mode 100644 index 0000000..1f0b158 --- /dev/null +++ b/gnulib/modules/openat-safer-tests @@ -0,0 +1,12 @@ +Files: +tests/test-openat-safer.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-openat-safer +check_PROGRAMS += test-openat-safer +test_openat_safer_LDADD = $(LDADD) @LIBINTL@ diff --git a/gnulib/modules/openat-tests b/gnulib/modules/openat-tests new file mode 100644 index 0000000..c42d843 --- /dev/null +++ b/gnulib/modules/openat-tests @@ -0,0 +1,16 @@ +Files: +tests/test-openat.c +tests/test-open.h +tests/signature.h +tests/macros.h + +Depends-on: +progname +symlink + +configure.ac: + +Makefile.am: +TESTS += test-openat +check_PROGRAMS += test-openat +test_openat_LDADD = $(LDADD) @LIBINTL@ diff --git a/gnulib/modules/opendir b/gnulib/modules/opendir new file mode 100644 index 0000000..04a3359 --- /dev/null +++ b/gnulib/modules/opendir @@ -0,0 +1,32 @@ +Description: +opendir() function: start reading the entries of a directory + +Files: +lib/opendir.c +lib/dirent-private.h +m4/opendir.m4 + +Depends-on: +dirent +largefile +filename [test $HAVE_OPENDIR = 0 || test $REPLACE_OPENDIR = 1] +unistd [test $HAVE_OPENDIR = 0 || test $REPLACE_OPENDIR = 1] +closedir [test $HAVE_OPENDIR = 0 || test $REPLACE_OPENDIR = 1] + +configure.ac: +gl_FUNC_OPENDIR +if test $HAVE_OPENDIR = 0 || test $REPLACE_OPENDIR = 1; then + AC_LIBOBJ([opendir]) +fi +gl_DIRENT_MODULE_INDICATOR([opendir]) + +Makefile.am: + +Include: +<dirent.h> + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/openmp b/gnulib/modules/openmp new file mode 100644 index 0000000..de3b352 --- /dev/null +++ b/gnulib/modules/openmp @@ -0,0 +1,24 @@ +Description: +Detection of OpenMP support. + +Files: +m4/openmp.m4 + +Depends-on: + +configure.ac: +AC_OPENMP + +Makefile.am: + +Include: + +Link: +$(OPENMP_CFLAGS) + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/openpty b/gnulib/modules/openpty new file mode 100644 index 0000000..8d174da --- /dev/null +++ b/gnulib/modules/openpty @@ -0,0 +1,34 @@ +Description: +openpty() function: Open a pseudo-terminal. + +Files: +lib/openpty.c +m4/pty.m4 + +Depends-on: +pty +extensions +fcntl-h [test $HAVE_OPENPTY = 0 || test $REPLACE_OPENPTY = 1] +posix_openpt [test $HAVE_OPENPTY = 0 || test $REPLACE_OPENPTY = 1] +ioctl [test $HAVE_OPENPTY = 0 || test $REPLACE_OPENPTY = 1] + +configure.ac: +gl_FUNC_OPENPTY +if test $HAVE_OPENPTY = 0 || test $REPLACE_OPENPTY = 1; then + AC_LIBOBJ([openpty]) +fi +gl_PTY_MODULE_INDICATOR([openpty]) + +Makefile.am: + +Include: +<pty.h> + +Link: +$(PTY_LIB) + +License: +LGPLv2+ + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/openpty-tests b/gnulib/modules/openpty-tests new file mode 100644 index 0000000..afe410a --- /dev/null +++ b/gnulib/modules/openpty-tests @@ -0,0 +1,12 @@ +Files: +tests/test-openpty.c +tests/signature.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-openpty +check_PROGRAMS += test-openpty +test_openpty_LDADD = $(LDADD) @PTY_LIB@ diff --git a/gnulib/modules/oset b/gnulib/modules/oset new file mode 100644 index 0000000..669af0a --- /dev/null +++ b/gnulib/modules/oset @@ -0,0 +1,26 @@ +Description: +Abstract ordered set data type. + +Files: +lib/gl_oset.h +lib/gl_oset.c +m4/gl_list.m4 + +Depends-on: +inline +stdbool + +configure.ac: +gl_LIST + +Makefile.am: +lib_SOURCES += gl_oset.h gl_oset.c + +Include: +"gl_oset.h" + +License: +GPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/pagealign_alloc b/gnulib/modules/pagealign_alloc new file mode 100644 index 0000000..5209b64 --- /dev/null +++ b/gnulib/modules/pagealign_alloc @@ -0,0 +1,32 @@ +Description: +Memory allocation aligned on page boundaries. + +Files: +lib/pagealign_alloc.h +lib/pagealign_alloc.c +m4/mmap-anon.m4 +m4/pagealign_alloc.m4 + +Depends-on: +error +extensions +getpagesize +gettext-h +stdlib +xalloc +unistd + +configure.ac: +gl_PAGEALIGN_ALLOC + +Makefile.am: +lib_SOURCES += pagealign_alloc.c + +Include: +"pagealign_alloc.h" + +License: +GPL + +Maintainer: +bug-gnulib@gnu.org diff --git a/gnulib/modules/parse-datetime b/gnulib/modules/parse-datetime new file mode 100644 index 0000000..4842706 --- /dev/null +++ b/gnulib/modules/parse-datetime @@ -0,0 +1,52 @@ +Description: +Convert a date/time string to linear time. + +Files: +doc/parse-datetime.texi +lib/parse-datetime.h +lib/parse-datetime.y +m4/bison.m4 +m4/tm_gmtoff.m4 +m4/parse-datetime.m4 + +Depends-on: +c-ctype +stdbool +gettime +intprops +mktime +setenv +unsetenv +time +verify +xalloc + +configure.ac: +gl_PARSE_DATETIME + +Makefile.am: +# This rule overrides the Automake generated .y.c rule, to ensure that the +# parse-datetime.c file gets generated in the source directory, not in the +# build directory. +parse-datetime.c: parse-datetime.y + $(AM_V_GEN)$(SHELL) $(YLWRAP) $(srcdir)/parse-datetime.y \ + y.tab.c parse-datetime.c \ + y.tab.h parse-datetime.h \ + y.output parse-datetime.output \ + -- $(YACC) $(YFLAGS) $(AM_YFLAGS) && \ + mv parse-datetime.c parse-datetime.c-t && \ + mv parse-datetime.c-t $(srcdir)/parse-datetime.c +lib_SOURCES += parse-datetime.y +BUILT_SOURCES += parse-datetime.c +MOSTLYCLEANFILES += parse-datetime.c-t +MAINTAINERCLEANFILES += parse-datetime.c +EXTRA_DIST += parse-datetime.c + +Include: +"parse-datetime.h" + +License: +GPL + +Maintainer: +Paul Eggert diff --git a/gnulib/modules/parse-datetime-tests b/gnulib/modules/parse-datetime-tests new file mode 100644 index 0000000..04feed2 --- /dev/null +++ b/gnulib/modules/parse-datetime-tests @@ -0,0 +1,14 @@ +Files: +tests/test-parse-datetime.c +tests/macros.h + +Depends-on: +progname +setenv + +configure.ac: + +Makefile.am: +TESTS += test-parse-datetime +check_PROGRAMS += test-parse-datetime +test_parse_datetime_LDADD = $(LDADD) @LIBINTL@ $(LIB_CLOCK_GETTIME) diff --git a/gnulib/modules/parse-duration b/gnulib/modules/parse-duration new file mode 100644 index 0000000..e36c917 --- /dev/null +++ b/gnulib/modules/parse-duration @@ -0,0 +1,24 @@ +Description: +Parse a duration given as string. + +Files: +lib/parse-duration.h +lib/parse-duration.c + +Depends-on: + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) + +Makefile.am: +lib_SOURCES += parse-duration.c + +Include: +"parse-duration.h" + +License: +GPL + +Maintainer: +Bruce Korb + diff --git a/gnulib/modules/parse-duration-tests b/gnulib/modules/parse-duration-tests new file mode 100644 index 0000000..b561a38 --- /dev/null +++ b/gnulib/modules/parse-duration-tests @@ -0,0 +1,14 @@ +Files: +tests/test-parse-duration.sh +tests/test-parse-duration.c + +Depends-on: +strdup +strerror + +configure.ac: + +Makefile.am: +TESTS += test-parse-duration.sh +check_PROGRAMS += test-parse-duration +test_parse_duration_LDADD = $(LDADD) @LIBINTL@ diff --git a/gnulib/modules/passfd b/gnulib/modules/passfd new file mode 100644 index 0000000..b3d8a3c --- /dev/null +++ b/gnulib/modules/passfd @@ -0,0 +1,30 @@ +Description: +Pass file descriptors along Unix domain sockets + +Files: +lib/passfd.h +lib/passfd.c +m4/passfd.m4 + +Depends-on: +cloexec +sys_socket +socketlib + +configure.ac: +gl_PASSFD + +Makefile.am: +lib_SOURCES += passfd.c + +Include: +"passfd.h" + +Link: +$(LIBSOCKET) + +License: +LGPLv2+ + +Maintainer: +Bastien ROUCARIÈS diff --git a/gnulib/modules/passfd-tests b/gnulib/modules/passfd-tests new file mode 100644 index 0000000..9bb1c5c --- /dev/null +++ b/gnulib/modules/passfd-tests @@ -0,0 +1,15 @@ +Files: +tests/test-passfd.c +tests/macros.h + +Depends-on: +sys_wait + +configure.ac: +AC_CHECK_DECLS_ONCE([alarm]) +AC_CHECK_FUNCS_ONCE([socketpair]) + +Makefile.am: +TESTS += test-passfd +check_PROGRAMS += test-passfd +test_passfd_LDADD = $(LDADD) @LIBSOCKET@ diff --git a/gnulib/modules/pathmax b/gnulib/modules/pathmax new file mode 100644 index 0000000..df9b56c --- /dev/null +++ b/gnulib/modules/pathmax @@ -0,0 +1,22 @@ +Description: +Return maximum size of reasonable pathnames. (Unportable: Hurd has no limit.) + +Files: +lib/pathmax.h +m4/pathmax.m4 + +Depends-on: + +configure.ac: +gl_PATHMAX + +Makefile.am: + +Include: +"pathmax.h" + +License: +LGPLv2+ + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/pathmax-tests b/gnulib/modules/pathmax-tests new file mode 100644 index 0000000..e8f838c --- /dev/null +++ b/gnulib/modules/pathmax-tests @@ -0,0 +1,10 @@ +Files: +tests/test-pathmax.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pathmax +check_PROGRAMS += test-pathmax diff --git a/gnulib/modules/pclose b/gnulib/modules/pclose new file mode 100644 index 0000000..833186f --- /dev/null +++ b/gnulib/modules/pclose @@ -0,0 +1,28 @@ +Description: +pclose() function: close a stream to a shell command. + +Files: +lib/pclose.c +m4/pclose.m4 + +Depends-on: +stdio + +configure.ac: +gl_FUNC_PCLOSE +if test $HAVE_PCLOSE = 0; then + AC_LIBOBJ([pclose]) + gl_PREREQ_PCLOSE +fi +gl_STDIO_MODULE_INDICATOR([pclose]) + +Makefile.am: + +Include: +<stdio.h> + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/pclose-tests b/gnulib/modules/pclose-tests new file mode 100644 index 0000000..6173820 --- /dev/null +++ b/gnulib/modules/pclose-tests @@ -0,0 +1,8 @@ +Files: + +Depends-on: +popen-tests + +configure.ac: + +Makefile.am: diff --git a/gnulib/modules/perl b/gnulib/modules/perl new file mode 100644 index 0000000..017ba57 --- /dev/null +++ b/gnulib/modules/perl @@ -0,0 +1,20 @@ +Description: +Find a new-enough version of Perl. + +Files: +m4/perl.m4 + +Depends-on: + +configure.ac: +gl_PERL + +Makefile.am: + +Include: + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/perror b/gnulib/modules/perror new file mode 100644 index 0000000..8bc9d46 --- /dev/null +++ b/gnulib/modules/perror @@ -0,0 +1,30 @@ +Description: +perror() function: print a message describing error code. + +Files: +lib/perror.c +m4/perror.m4 + +Depends-on: +stdio +errno [test $REPLACE_PERROR = 1] +strerror-override [test $REPLACE_PERROR = 1] +strerror_r-posix [test $REPLACE_PERROR = 1] + +configure.ac: +gl_FUNC_PERROR +if test $REPLACE_PERROR = 1; then + AC_LIBOBJ([perror]) +fi +gl_STRING_MODULE_INDICATOR([perror]) + +Makefile.am: + +Include: +<stdio.h> + +License: +LGPLv2+ + +Maintainer: +all diff --git a/gnulib/modules/perror-tests b/gnulib/modules/perror-tests new file mode 100644 index 0000000..5e41800 --- /dev/null +++ b/gnulib/modules/perror-tests @@ -0,0 +1,18 @@ +Files: +tests/init.sh +tests/macros.h +tests/signature.h +tests/test-perror.c +tests/test-perror2.c +tests/test-perror.sh + +Depends-on: +dup2 +ftruncate +strerror + +configure.ac: + +Makefile.am: +TESTS += test-perror.sh test-perror2 +check_PROGRAMS += test-perror test-perror2 diff --git a/gnulib/modules/physmem b/gnulib/modules/physmem new file mode 100644 index 0000000..9644522 --- /dev/null +++ b/gnulib/modules/physmem @@ -0,0 +1,24 @@ +Description: +Return amount of total/available physical memory. + +Files: +lib/physmem.h +lib/physmem.c +m4/physmem.m4 + +Depends-on: + +configure.ac: +gl_PHYSMEM + +Makefile.am: +lib_SOURCES += physmem.c + +Include: +"physmem.h" + +License: +LGPLv2+ + +Maintainer: +Paul Eggert, Jim Meyering diff --git a/gnulib/modules/pipe b/gnulib/modules/pipe new file mode 100644 index 0000000..cfc008d --- /dev/null +++ b/gnulib/modules/pipe @@ -0,0 +1,26 @@ +Description: +Creation of subprocesses, communicating via pipes. + +Status: +deprecated + +Notice: +This module is deprecated. Use the module 'spawn-pipe' instead. + +Files: +lib/pipe.h + +Depends-on: +spawn-pipe + +configure.ac: + +Makefile.am: + +Include: + +License: +GPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/pipe-filter-gi b/gnulib/modules/pipe-filter-gi new file mode 100644 index 0000000..ac56c60 --- /dev/null +++ b/gnulib/modules/pipe-filter-gi @@ -0,0 +1,35 @@ +Description: +Filtering of data through a subprocess. + +Files: +lib/pipe-filter.h +lib/pipe-filter-gi.c +lib/pipe-filter-aux.h + +Depends-on: +spawn-pipe +wait-process +error +fcntl-h +gettext-h +stdbool +stdint +stdlib +sys_select +unistd + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +AC_CHECK_FUNCS_ONCE([select]) + +Makefile.am: +lib_SOURCES += pipe-filter-gi.c + +Include: +"pipe-filter.h" + +License: +GPL + +Maintainer: +Paolo Bonzini, Bruno Haible diff --git a/gnulib/modules/pipe-filter-gi-tests b/gnulib/modules/pipe-filter-gi-tests new file mode 100644 index 0000000..e5da562 --- /dev/null +++ b/gnulib/modules/pipe-filter-gi-tests @@ -0,0 +1,24 @@ +Files: +tests/test-pipe-filter-gi1.sh +tests/test-pipe-filter-gi1.c +tests/test-vasnprintf-posix.c +tests/test-pipe-filter-gi2.sh +tests/test-pipe-filter-gi2-main.c +tests/test-pipe-filter-gi2-child.c +tests/macros.h + +Depends-on: +binary-io +c-ctype +read-file +full-write +usleep +progname + +configure.ac: + +Makefile.am: +TESTS += test-pipe-filter-gi1.sh test-pipe-filter-gi2.sh +check_PROGRAMS += test-pipe-filter-gi1 test-pipe-filter-gi2-main test-pipe-filter-gi2-child +test_pipe_filter_gi1_LDADD = $(LDADD) @LIBINTL@ +test_pipe_filter_gi2_main_LDADD = $(LDADD) @LIBINTL@ diff --git a/gnulib/modules/pipe-filter-ii b/gnulib/modules/pipe-filter-ii new file mode 100644 index 0000000..faa4e1a --- /dev/null +++ b/gnulib/modules/pipe-filter-ii @@ -0,0 +1,35 @@ +Description: +Filtering of data through a subprocess. + +Files: +lib/pipe-filter.h +lib/pipe-filter-ii.c +lib/pipe-filter-aux.h + +Depends-on: +spawn-pipe +wait-process +error +fcntl-h +gettext-h +stdbool +stdint +stdlib +sys_select +unistd + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +AC_CHECK_FUNCS_ONCE([select]) + +Makefile.am: +lib_SOURCES += pipe-filter-ii.c + +Include: +"pipe-filter.h" + +License: +GPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/pipe-filter-ii-tests b/gnulib/modules/pipe-filter-ii-tests new file mode 100644 index 0000000..236de13 --- /dev/null +++ b/gnulib/modules/pipe-filter-ii-tests @@ -0,0 +1,23 @@ +Files: +tests/test-pipe-filter-ii1.sh +tests/test-pipe-filter-ii1.c +tests/test-vasnprintf-posix.c +tests/test-pipe-filter-ii2.sh +tests/test-pipe-filter-ii2-main.c +tests/test-pipe-filter-ii2-child.c +tests/macros.h + +Depends-on: +binary-io +c-ctype +read-file +full-write +progname + +configure.ac: + +Makefile.am: +TESTS += test-pipe-filter-ii1.sh test-pipe-filter-ii2.sh +check_PROGRAMS += test-pipe-filter-ii1 test-pipe-filter-ii2-main test-pipe-filter-ii2-child +test_pipe_filter_ii1_LDADD = $(LDADD) @LIBINTL@ +test_pipe_filter_ii2_main_LDADD = $(LDADD) @LIBINTL@ diff --git a/gnulib/modules/pipe-posix b/gnulib/modules/pipe-posix new file mode 100644 index 0000000..e8520d0 --- /dev/null +++ b/gnulib/modules/pipe-posix @@ -0,0 +1,27 @@ +Description: +pipe() function: Creation of a pipe. + +Files: +lib/pipe.c +m4/pipe.m4 + +Depends-on: +unistd + +configure.ac: +gl_FUNC_PIPE +if test $HAVE_PIPE = 0; then + AC_LIBOBJ([pipe]) +fi +gl_UNISTD_MODULE_INDICATOR([pipe]) + +Makefile.am: + +Include: +<unistd.h> + +License: +LGPLv2+ + +Maintainer: +Eric Blake diff --git a/gnulib/modules/pipe-posix-tests b/gnulib/modules/pipe-posix-tests new file mode 100644 index 0000000..3f428a0 --- /dev/null +++ b/gnulib/modules/pipe-posix-tests @@ -0,0 +1,15 @@ +Files: +tests/test-pipe.c +tests/signature.h +tests/macros.h + +Depends-on: +stdbool +binary-io +msvc-nothrow + +configure.ac: + +Makefile.am: +TESTS += test-pipe +check_PROGRAMS += test-pipe diff --git a/gnulib/modules/pipe2 b/gnulib/modules/pipe2 new file mode 100644 index 0000000..62872a2 --- /dev/null +++ b/gnulib/modules/pipe2 @@ -0,0 +1,29 @@ +Description: +pipe2() function: create a pipe, with specific opening flags. + +Files: +lib/pipe2.c +m4/pipe2.m4 + +Depends-on: +unistd +fcntl-h +binary-io +extensions +verify + +configure.ac: +gl_FUNC_PIPE2 +gl_UNISTD_MODULE_INDICATOR([pipe2]) + +Makefile.am: +lib_SOURCES += pipe2.c + +Include: +<unistd.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible, Eric Blake diff --git a/gnulib/modules/pipe2-safer b/gnulib/modules/pipe2-safer new file mode 100644 index 0000000..e01a932 --- /dev/null +++ b/gnulib/modules/pipe2-safer @@ -0,0 +1,26 @@ +Description: +pipe2_safer() function: create a pipe, with specific opening flags, +without clobbering std{in,out,err}. + +Files: +lib/pipe2-safer.c + +Depends-on: +fd-safer-flag +pipe2 +unistd-safer + +configure.ac: +gl_MODULE_INDICATOR([pipe2-safer]) + +Makefile.am: +lib_SOURCES += pipe2-safer.c + +Include: +"unistd-safer.h" + +License: +GPL + +Maintainer: +Eric Blake diff --git a/gnulib/modules/pipe2-tests b/gnulib/modules/pipe2-tests new file mode 100644 index 0000000..74f9d5f --- /dev/null +++ b/gnulib/modules/pipe2-tests @@ -0,0 +1,15 @@ +Files: +tests/test-pipe2.c +tests/signature.h +tests/macros.h + +Depends-on: +stdbool +msvc-nothrow + +configure.ac: + +Makefile.am: +TESTS += test-pipe2 +check_PROGRAMS += test-pipe2 +test_pipe2_LDADD = $(LDADD) $(LIBSOCKET) diff --git a/gnulib/modules/pmccabe2html b/gnulib/modules/pmccabe2html new file mode 100644 index 0000000..1ff19f7 --- /dev/null +++ b/gnulib/modules/pmccabe2html @@ -0,0 +1,22 @@ +Description: +Produce fancy cyclomatic code complexity charts, using pmccabe. +See <http://www.parisc-linux.org/~bame/pmccabe/>. + +Files: +build-aux/pmccabe2html +build-aux/pmccabe.css + +Depends-on: + +configure.ac: +AC_PATH_PROG([PMCCABE], [pmccabe], [false]) + +Makefile.am: + +Include: + +License: +GPLed build tool + +Maintainer: +gnupdf and Simon Josefsson diff --git a/gnulib/modules/poll b/gnulib/modules/poll new file mode 100644 index 0000000..8fa88fd --- /dev/null +++ b/gnulib/modules/poll @@ -0,0 +1,38 @@ +Description: +poll() function: wait for some event on a set of file descriptors. + +Files: +lib/poll.c +m4/poll.m4 + +Depends-on: +poll-h +alloca [test $HAVE_POLL = 0 || test $REPLACE_POLL = 1] +select [test $HAVE_POLL = 0 || test $REPLACE_POLL = 1] +sockets [test $HAVE_POLL = 0 || test $REPLACE_POLL = 1] +sys_select [test $HAVE_POLL = 0 || test $REPLACE_POLL = 1] +sys_time [test $HAVE_POLL = 0 || test $REPLACE_POLL = 1] +errno [test $HAVE_POLL = 0 || test $REPLACE_POLL = 1] +msvc-nothrow [test $HAVE_POLL = 0 || test $REPLACE_POLL = 1] + +configure.ac: +gl_FUNC_POLL +if test $HAVE_POLL = 0 || test $REPLACE_POLL = 1; then + AC_LIBOBJ([poll]) + gl_PREREQ_POLL +fi +gl_POLL_MODULE_INDICATOR([poll]) + +Makefile.am: + +Include: +<poll.h> + +Link: +$(LIB_POLL) + +License: +LGPLv2+ + +Maintainer: +Paolo Bonzini <bonzini@gnu.org> diff --git a/gnulib/modules/poll-h b/gnulib/modules/poll-h new file mode 100644 index 0000000..7c03786 --- /dev/null +++ b/gnulib/modules/poll-h @@ -0,0 +1,48 @@ +Description: +A POSIX-like <poll.h>. + +Files: +lib/poll.in.h +m4/poll_h.m4 + +Depends-on: +extensions +include_next +snippet/c++defs +snippet/warn-on-use + +configure.ac: +gl_POLL_H + +Makefile.am: +BUILT_SOURCES += poll.h + +# We need the following in order to create <poll.h> when the system +# doesn't have one. +poll.h: poll.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ + -e 's|@''HAVE_POLL_H''@|$(HAVE_POLL_H)|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_POLL_H''@|$(NEXT_POLL_H)|g' \ + -e 's/@''GNULIB_POLL''@/$(GNULIB_POLL)/g' \ + -e 's|@''HAVE_POLL''@|$(HAVE_POLL)|g' \ + -e 's|@''REPLACE_POLL''@|$(REPLACE_POLL)|g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ + < $(srcdir)/poll.in.h; \ + } > $@-t && \ + mv -f $@-t $@ +MOSTLYCLEANFILES += poll.h poll.h-t + +Include: +<poll.h> + +License: +LGPLv2+ + +Maintainer: +Paolo Bonzini, Bruno Haible diff --git a/gnulib/modules/poll-h-c++-tests b/gnulib/modules/poll-h-c++-tests new file mode 100644 index 0000000..8dd6262 --- /dev/null +++ b/gnulib/modules/poll-h-c++-tests @@ -0,0 +1,19 @@ +Files: +tests/test-poll-h-c++.cc +tests/signature.h + +Status: +c++-test + +Depends-on: +ansi-c++-opt + +configure.ac: + +Makefile.am: +if ANSICXX +TESTS += test-poll-h-c++ +check_PROGRAMS += test-poll-h-c++ +test_poll_h_c___SOURCES = test-poll-h-c++.cc +test_poll_h_c___LDADD = $(LDADD) $(LIB_POLL) +endif diff --git a/gnulib/modules/poll-h-tests b/gnulib/modules/poll-h-tests new file mode 100644 index 0000000..6c5f094 --- /dev/null +++ b/gnulib/modules/poll-h-tests @@ -0,0 +1,11 @@ +Files: +tests/test-poll-h.c + +Depends-on: +poll-h-c++-tests + +configure.ac: + +Makefile.am: +TESTS += test-poll-h +check_PROGRAMS += test-poll-h diff --git a/gnulib/modules/poll-tests b/gnulib/modules/poll-tests new file mode 100644 index 0000000..ab291a0 --- /dev/null +++ b/gnulib/modules/poll-tests @@ -0,0 +1,31 @@ +Files: +tests/signature.h +tests/test-poll.c + +Depends-on: +stdbool +sys_socket +netinet_in +arpa_inet +sys_ioctl +extensions +inet_pton +errno +perror +sockets +socket +bind +setsockopt +listen +connect +accept +ioctl +close + +configure.ac: +AC_CHECK_HEADERS_ONCE([unistd.h sys/wait.h]) + +Makefile.am: +TESTS += test-poll +check_PROGRAMS += test-poll +test_poll_LDADD = $(LDADD) $(LIB_POLL) @LIBSOCKET@ $(INET_PTON_LIB) diff --git a/gnulib/modules/popen b/gnulib/modules/popen new file mode 100644 index 0000000..eb41029 --- /dev/null +++ b/gnulib/modules/popen @@ -0,0 +1,29 @@ +Description: +popen() function: open a stream to a shell command. + +Files: +lib/popen.c +m4/popen.m4 + +Depends-on: +stdio +open [test $HAVE_POPEN = 0 || test $REPLACE_POPEN = 1] + +configure.ac: +gl_FUNC_POPEN +if test $HAVE_POPEN = 0 || test $REPLACE_POPEN = 1; then + AC_LIBOBJ([popen]) + gl_PREREQ_POPEN +fi +gl_STDIO_MODULE_INDICATOR([popen]) + +Makefile.am: + +Include: +<stdio.h> + +License: +LGPL + +Maintainer: +Eric Blake diff --git a/gnulib/modules/popen-safer b/gnulib/modules/popen-safer new file mode 100644 index 0000000..3793976 --- /dev/null +++ b/gnulib/modules/popen-safer @@ -0,0 +1,28 @@ +Description: +popen function that avoids clobbering std{in,out,err}. + +Files: +lib/stdio--.h +lib/stdio-safer.h +lib/popen-safer.c + +Depends-on: +cloexec +open +popen +unistd-safer + +configure.ac: +gl_MODULE_INDICATOR([popen-safer]) + +Makefile.am: +lib_SOURCES += popen-safer.c + +Include: +"stdio-safer.h" + +License: +GPL + +Maintainer: +Eric Blake diff --git a/gnulib/modules/popen-safer-tests b/gnulib/modules/popen-safer-tests new file mode 100644 index 0000000..2fa7b2d --- /dev/null +++ b/gnulib/modules/popen-safer-tests @@ -0,0 +1,16 @@ +Files: +tests/test-popen.h +tests/test-popen-safer.c +tests/test-popen-safer2.c +tests/macros.h + +Depends-on: +dup2 +pclose +sys_wait + +configure.ac: + +Makefile.am: +TESTS += test-popen-safer test-popen-safer2 +check_PROGRAMS += test-popen-safer test-popen-safer2 diff --git a/gnulib/modules/popen-tests b/gnulib/modules/popen-tests new file mode 100644 index 0000000..25a0e91 --- /dev/null +++ b/gnulib/modules/popen-tests @@ -0,0 +1,16 @@ +Files: +tests/test-popen.h +tests/test-popen.c +tests/signature.h +tests/macros.h + +Depends-on: +dup2 +pclose +sys_wait + +configure.ac: + +Makefile.am: +TESTS += test-popen +check_PROGRAMS += test-popen diff --git a/gnulib/modules/posix-shell b/gnulib/modules/posix-shell new file mode 100644 index 0000000..8f7b864 --- /dev/null +++ b/gnulib/modules/posix-shell @@ -0,0 +1,30 @@ +Description: +Find a POSIX-conforming shell. + +Files: +m4/posix-shell.m4 + +Depends-on: + +configure.ac: +gl_POSIX_SHELL + +Makefile.am: +##Sample usage of posix-shell module: +#script: script.in +# rm -f $@-t $@ +# sed -e 's#@''PREFERABLY_POSIX_SHELL''@#$(PREFERABLY_POSIX_SHELL)#g' \ +# -e 's#@''POSIX_SHELL''@#$(POSIX_SHELL)#g' \ +# -e $(srcdir)/$@.in >$@-t +# chmod a+x $@-t +# mv $@-t $@ +#EXTRA_DIST += script.in +#MOSTLYCLEANFILES += script script-t + +Include: + +License: +GPLed build tool + +Maintainer: +Paul Eggert diff --git a/gnulib/modules/posix_openpt b/gnulib/modules/posix_openpt new file mode 100644 index 0000000..5bef9e2 --- /dev/null +++ b/gnulib/modules/posix_openpt @@ -0,0 +1,28 @@ +Description: +posix_openpt() function: Open the master side of a pseudo-terminal. + +Files: +lib/posix_openpt.c +m4/posix_openpt.m4 + +Depends-on: +extensions +stdlib + +configure.ac: +gl_FUNC_POSIX_OPENPT +if test $HAVE_POSIX_OPENPT = 0; then + AC_LIBOBJ([posix_openpt]) +fi +gl_STDLIB_MODULE_INDICATOR([posix_openpt]) + +Makefile.am: + +Include: +<stdlib.h> + +License: +LGPLv2+ + +Maintainer: +Eric Blake diff --git a/gnulib/modules/posix_openpt-tests b/gnulib/modules/posix_openpt-tests new file mode 100644 index 0000000..9ebf805 --- /dev/null +++ b/gnulib/modules/posix_openpt-tests @@ -0,0 +1,15 @@ +Files: +tests/test-posix_openpt.c +tests/signature.h +tests/macros.h + +Depends-on: +grantpt +ptsname +unlockpt + +configure.ac: + +Makefile.am: +TESTS += test-posix_openpt +check_PROGRAMS += test-posix_openpt diff --git a/gnulib/modules/posix_spawn b/gnulib/modules/posix_spawn new file mode 100644 index 0000000..ec8eac1 --- /dev/null +++ b/gnulib/modules/posix_spawn @@ -0,0 +1,31 @@ +Description: +posix_spawn() function: create a child process. + +Files: +lib/spawn.c +m4/posix_spawn.m4 + +Depends-on: +spawn +posix_spawn-internal [test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1] + +configure.ac: +gl_POSIX_SPAWN +if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then + AC_LIBOBJ([spawn]) + AC_LIBOBJ([spawni]) + gl_PREREQ_POSIX_SPAWN_INTERNAL +fi +gl_SPAWN_MODULE_INDICATOR([posix_spawn]) + +Makefile.am: + +Include: +<spawn.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible, glibc + diff --git a/gnulib/modules/posix_spawn-internal b/gnulib/modules/posix_spawn-internal new file mode 100644 index 0000000..a4c00c1 --- /dev/null +++ b/gnulib/modules/posix_spawn-internal @@ -0,0 +1,28 @@ +Description: +posix_spawn internals. + +Files: +lib/spawni.c +lib/spawn_int.h +m4/posix_spawn.m4 + +Depends-on: +spawn +alloca-opt +dup2 +errno +open +strchrnul + +configure.ac: + +Makefile.am: + +Include: + +License: +LGPLv2+ + +Maintainer: +Bruno Haible, glibc + diff --git a/gnulib/modules/posix_spawn-tests b/gnulib/modules/posix_spawn-tests new file mode 100644 index 0000000..8795206 --- /dev/null +++ b/gnulib/modules/posix_spawn-tests @@ -0,0 +1,27 @@ +Files: +tests/test-posix_spawn3.c +tests/signature.h + +Depends-on: +posix_spawn_file_actions_init +posix_spawn_file_actions_addopen +posix_spawn_file_actions_destroy +stdbool +unistd +sys_wait + +configure.ac: +AC_EGREP_CPP([notposix], [[ +#if defined _MSC_VER || defined __MINGW32__ + notposix +#endif + ]], + [posix_spawn_ported=no], + [posix_spawn_ported=yes]) +AM_CONDITIONAL([POSIX_SPAWN_PORTED], [test $posix_spawn_ported = yes]) + +Makefile.am: +if POSIX_SPAWN_PORTED +TESTS += test-posix_spawn3 +check_PROGRAMS += test-posix_spawn3 +endif diff --git a/gnulib/modules/posix_spawn_file_actions_addclose b/gnulib/modules/posix_spawn_file_actions_addclose new file mode 100644 index 0000000..b106e65 --- /dev/null +++ b/gnulib/modules/posix_spawn_file_actions_addclose @@ -0,0 +1,32 @@ +Description: +posix_spawn_file_actions_addclose() function: augment a child process actions +specification. + +Files: +lib/spawn_faction_addclose.c +lib/spawn_int.h +m4/posix_spawn.m4 + +Depends-on: +spawn +getdtablesize [test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1] +posix_spawn_file_actions_init [test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1] + +configure.ac: +gl_POSIX_SPAWN +if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then + AC_LIBOBJ([spawn_faction_addclose]) +fi +gl_SPAWN_MODULE_INDICATOR([posix_spawn_file_actions_addclose]) + +Makefile.am: + +Include: +<spawn.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible, glibc + diff --git a/gnulib/modules/posix_spawn_file_actions_addclose-tests b/gnulib/modules/posix_spawn_file_actions_addclose-tests new file mode 100644 index 0000000..716ddb2 --- /dev/null +++ b/gnulib/modules/posix_spawn_file_actions_addclose-tests @@ -0,0 +1,13 @@ +Files: +tests/test-posix_spawn_file_actions_addclose.c +tests/signature.h +tests/macros.h + +Depends-on: +posix_spawn_file_actions_init + +configure.ac: + +Makefile.am: +TESTS += test-posix_spawn_file_actions_addclose +check_PROGRAMS += test-posix_spawn_file_actions_addclose diff --git a/gnulib/modules/posix_spawn_file_actions_adddup2 b/gnulib/modules/posix_spawn_file_actions_adddup2 new file mode 100644 index 0000000..b7a6188 --- /dev/null +++ b/gnulib/modules/posix_spawn_file_actions_adddup2 @@ -0,0 +1,32 @@ +Description: +posix_spawn_file_actions_adddup2() function: augment a child process actions +specification. + +Files: +lib/spawn_faction_adddup2.c +lib/spawn_int.h +m4/posix_spawn.m4 + +Depends-on: +spawn +getdtablesize [test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1] +posix_spawn_file_actions_init [test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1] + +configure.ac: +gl_POSIX_SPAWN +if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then + AC_LIBOBJ([spawn_faction_adddup2]) +fi +gl_SPAWN_MODULE_INDICATOR([posix_spawn_file_actions_adddup2]) + +Makefile.am: + +Include: +<spawn.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible, glibc + diff --git a/gnulib/modules/posix_spawn_file_actions_adddup2-tests b/gnulib/modules/posix_spawn_file_actions_adddup2-tests new file mode 100644 index 0000000..32e0fe5 --- /dev/null +++ b/gnulib/modules/posix_spawn_file_actions_adddup2-tests @@ -0,0 +1,13 @@ +Files: +tests/test-posix_spawn_file_actions_adddup2.c +tests/signature.h +tests/macros.h + +Depends-on: +posix_spawn_file_actions_init + +configure.ac: + +Makefile.am: +TESTS += test-posix_spawn_file_actions_adddup2 +check_PROGRAMS += test-posix_spawn_file_actions_adddup2 diff --git a/gnulib/modules/posix_spawn_file_actions_addopen b/gnulib/modules/posix_spawn_file_actions_addopen new file mode 100644 index 0000000..0af2497 --- /dev/null +++ b/gnulib/modules/posix_spawn_file_actions_addopen @@ -0,0 +1,32 @@ +Description: +posix_spawn_file_actions_addopen() function: augment a child process actions +specification. + +Files: +lib/spawn_faction_addopen.c +lib/spawn_int.h +m4/posix_spawn.m4 + +Depends-on: +spawn +getdtablesize [test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1] +posix_spawn_file_actions_init [test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1] + +configure.ac: +gl_POSIX_SPAWN +if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then + AC_LIBOBJ([spawn_faction_addopen]) +fi +gl_SPAWN_MODULE_INDICATOR([posix_spawn_file_actions_addopen]) + +Makefile.am: + +Include: +<spawn.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible, glibc + diff --git a/gnulib/modules/posix_spawn_file_actions_addopen-tests b/gnulib/modules/posix_spawn_file_actions_addopen-tests new file mode 100644 index 0000000..d866c02 --- /dev/null +++ b/gnulib/modules/posix_spawn_file_actions_addopen-tests @@ -0,0 +1,13 @@ +Files: +tests/test-posix_spawn_file_actions_addopen.c +tests/signature.h +tests/macros.h + +Depends-on: +posix_spawn_file_actions_init + +configure.ac: + +Makefile.am: +TESTS += test-posix_spawn_file_actions_addopen +check_PROGRAMS += test-posix_spawn_file_actions_addopen diff --git a/gnulib/modules/posix_spawn_file_actions_destroy b/gnulib/modules/posix_spawn_file_actions_destroy new file mode 100644 index 0000000..ae1ea0d --- /dev/null +++ b/gnulib/modules/posix_spawn_file_actions_destroy @@ -0,0 +1,29 @@ +Description: +posix_spawn_file_actions_destroy() function: free a child process actions +specification. + +Files: +lib/spawn_faction_destroy.c +m4/posix_spawn.m4 + +Depends-on: +spawn + +configure.ac: +gl_POSIX_SPAWN +if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then + AC_LIBOBJ([spawn_faction_destroy]) +fi +gl_SPAWN_MODULE_INDICATOR([posix_spawn_file_actions_destroy]) + +Makefile.am: + +Include: +<spawn.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible, glibc + diff --git a/gnulib/modules/posix_spawn_file_actions_init b/gnulib/modules/posix_spawn_file_actions_init new file mode 100644 index 0000000..7afc5be --- /dev/null +++ b/gnulib/modules/posix_spawn_file_actions_init @@ -0,0 +1,30 @@ +Description: +posix_spawn_file_actions_init() function: initialize child process actions +specification. + +Files: +lib/spawn_faction_init.c +lib/spawn_int.h +m4/posix_spawn.m4 + +Depends-on: +spawn + +configure.ac: +gl_POSIX_SPAWN +if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then + AC_LIBOBJ([spawn_faction_init]) +fi +gl_SPAWN_MODULE_INDICATOR([posix_spawn_file_actions_init]) + +Makefile.am: + +Include: +<spawn.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible, glibc + diff --git a/gnulib/modules/posix_spawnattr_destroy b/gnulib/modules/posix_spawnattr_destroy new file mode 100644 index 0000000..59fd22b --- /dev/null +++ b/gnulib/modules/posix_spawnattr_destroy @@ -0,0 +1,29 @@ +Description: +posix_spawnattr_destroy() function: free a child process attributes +specification. + +Files: +lib/spawnattr_destroy.c +m4/posix_spawn.m4 + +Depends-on: +spawn + +configure.ac: +gl_POSIX_SPAWN +if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then + AC_LIBOBJ([spawnattr_destroy]) +fi +gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_destroy]) + +Makefile.am: + +Include: +<spawn.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible, glibc + diff --git a/gnulib/modules/posix_spawnattr_getflags b/gnulib/modules/posix_spawnattr_getflags new file mode 100644 index 0000000..ffade0c --- /dev/null +++ b/gnulib/modules/posix_spawnattr_getflags @@ -0,0 +1,29 @@ +Description: +posix_spawnattr_getflags() function: get bitmask of attributes specified for +child process. + +Files: +lib/spawnattr_getflags.c +m4/posix_spawn.m4 + +Depends-on: +spawn + +configure.ac: +gl_POSIX_SPAWN +if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then + AC_LIBOBJ([spawnattr_getflags]) +fi +gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_getflags]) + +Makefile.am: + +Include: +<spawn.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible, glibc + diff --git a/gnulib/modules/posix_spawnattr_getpgroup b/gnulib/modules/posix_spawnattr_getpgroup new file mode 100644 index 0000000..58e59d3 --- /dev/null +++ b/gnulib/modules/posix_spawnattr_getpgroup @@ -0,0 +1,29 @@ +Description: +posix_spawnattr_getpgroup() function: get process group specified for child +process. + +Files: +lib/spawnattr_getpgroup.c +m4/posix_spawn.m4 + +Depends-on: +spawn + +configure.ac: +gl_POSIX_SPAWN +if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then + AC_LIBOBJ([spawnattr_getpgroup]) +fi +gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_getpgroup]) + +Makefile.am: + +Include: +<spawn.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible, glibc + diff --git a/gnulib/modules/posix_spawnattr_getschedparam b/gnulib/modules/posix_spawnattr_getschedparam new file mode 100644 index 0000000..6767db6 --- /dev/null +++ b/gnulib/modules/posix_spawnattr_getschedparam @@ -0,0 +1,31 @@ +Description: +posix_spawnattr_getschedparam() function: get the scheduling parameters +specified for child process. + +Files: +lib/spawnattr_getschedparam.c +m4/posix_spawn.m4 + +Depends-on: +spawn + +configure.ac: +gl_POSIX_SPAWN +if test $HAVE_POSIX_SPAWN = 0 \ + || test $REPLACE_POSIX_SPAWN = 1 \ + || test $gl_cv_func_spawnattr_setschedparam = no; then + AC_LIBOBJ([spawnattr_getschedparam]) +fi +gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_getschedparam]) + +Makefile.am: + +Include: +<spawn.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible, glibc + diff --git a/gnulib/modules/posix_spawnattr_getschedpolicy b/gnulib/modules/posix_spawnattr_getschedpolicy new file mode 100644 index 0000000..19188c9 --- /dev/null +++ b/gnulib/modules/posix_spawnattr_getschedpolicy @@ -0,0 +1,31 @@ +Description: +posix_spawnattr_getschedpolicy() function: get the scheduling policy specified +for child process. + +Files: +lib/spawnattr_getschedpolicy.c +m4/posix_spawn.m4 + +Depends-on: +spawn + +configure.ac: +gl_POSIX_SPAWN +if test $HAVE_POSIX_SPAWN = 0 \ + || test $REPLACE_POSIX_SPAWN = 1 \ + || test $gl_cv_func_spawnattr_setschedpolicy = no; then + AC_LIBOBJ([spawnattr_getschedpolicy]) +fi +gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_getschedpolicy]) + +Makefile.am: + +Include: +<spawn.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible, glibc + diff --git a/gnulib/modules/posix_spawnattr_getsigdefault b/gnulib/modules/posix_spawnattr_getsigdefault new file mode 100644 index 0000000..980a59a --- /dev/null +++ b/gnulib/modules/posix_spawnattr_getsigdefault @@ -0,0 +1,29 @@ +Description: +posix_spawnattr_getsigdefault() function: get the set of signals with initially +the default handler specified for child process. + +Files: +lib/spawnattr_getdefault.c +m4/posix_spawn.m4 + +Depends-on: +spawn + +configure.ac: +gl_POSIX_SPAWN +if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then + AC_LIBOBJ([spawnattr_getdefault]) +fi +gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_getsigdefault]) + +Makefile.am: + +Include: +<spawn.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible, glibc + diff --git a/gnulib/modules/posix_spawnattr_getsigmask b/gnulib/modules/posix_spawnattr_getsigmask new file mode 100644 index 0000000..3435de2 --- /dev/null +++ b/gnulib/modules/posix_spawnattr_getsigmask @@ -0,0 +1,29 @@ +Description: +posix_spawnattr_getsigmask() function: get the set of initially blocked signals +specified for child process. + +Files: +lib/spawnattr_getsigmask.c +m4/posix_spawn.m4 + +Depends-on: +spawn + +configure.ac: +gl_POSIX_SPAWN +if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then + AC_LIBOBJ([spawnattr_getsigmask]) +fi +gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_getsigmask]) + +Makefile.am: + +Include: +<spawn.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible, glibc + diff --git a/gnulib/modules/posix_spawnattr_init b/gnulib/modules/posix_spawnattr_init new file mode 100644 index 0000000..fd8a116 --- /dev/null +++ b/gnulib/modules/posix_spawnattr_init @@ -0,0 +1,29 @@ +Description: +posix_spawnattr_init() function: initialize child process attributes +specification. + +Files: +lib/spawnattr_init.c +m4/posix_spawn.m4 + +Depends-on: +spawn + +configure.ac: +gl_POSIX_SPAWN +if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then + AC_LIBOBJ([spawnattr_init]) +fi +gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_init]) + +Makefile.am: + +Include: +<spawn.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible, glibc + diff --git a/gnulib/modules/posix_spawnattr_setflags b/gnulib/modules/posix_spawnattr_setflags new file mode 100644 index 0000000..2fad145 --- /dev/null +++ b/gnulib/modules/posix_spawnattr_setflags @@ -0,0 +1,29 @@ +Description: +posix_spawnattr_setflags() function: specify bitmask of attributes for child +process. + +Files: +lib/spawnattr_setflags.c +m4/posix_spawn.m4 + +Depends-on: +spawn + +configure.ac: +gl_POSIX_SPAWN +if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then + AC_LIBOBJ([spawnattr_setflags]) +fi +gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_setflags]) + +Makefile.am: + +Include: +<spawn.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible, glibc + diff --git a/gnulib/modules/posix_spawnattr_setpgroup b/gnulib/modules/posix_spawnattr_setpgroup new file mode 100644 index 0000000..4f00f63 --- /dev/null +++ b/gnulib/modules/posix_spawnattr_setpgroup @@ -0,0 +1,28 @@ +Description: +posix_spawnattr_setpgroup() function: specify process group for child process. + +Files: +lib/spawnattr_setpgroup.c +m4/posix_spawn.m4 + +Depends-on: +spawn + +configure.ac: +gl_POSIX_SPAWN +if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then + AC_LIBOBJ([spawnattr_setpgroup]) +fi +gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_setpgroup]) + +Makefile.am: + +Include: +<spawn.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible, glibc + diff --git a/gnulib/modules/posix_spawnattr_setschedparam b/gnulib/modules/posix_spawnattr_setschedparam new file mode 100644 index 0000000..6827501 --- /dev/null +++ b/gnulib/modules/posix_spawnattr_setschedparam @@ -0,0 +1,31 @@ +Description: +posix_spawnattr_setschedparam() function: specify the scheduling parameters for +child process. + +Files: +lib/spawnattr_setschedparam.c +m4/posix_spawn.m4 + +Depends-on: +spawn + +configure.ac: +gl_POSIX_SPAWN +if test $HAVE_POSIX_SPAWN = 0 \ + || test $REPLACE_POSIX_SPAWN = 1 \ + || test $gl_cv_func_spawnattr_setschedparam = no; then + AC_LIBOBJ([spawnattr_setschedparam]) +fi +gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_setschedparam]) + +Makefile.am: + +Include: +<spawn.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible, glibc + diff --git a/gnulib/modules/posix_spawnattr_setschedpolicy b/gnulib/modules/posix_spawnattr_setschedpolicy new file mode 100644 index 0000000..2de648d --- /dev/null +++ b/gnulib/modules/posix_spawnattr_setschedpolicy @@ -0,0 +1,31 @@ +Description: +posix_spawnattr_setschedpolicy() function: specify the scheduling policy for +child process. + +Files: +lib/spawnattr_setschedpolicy.c +m4/posix_spawn.m4 + +Depends-on: +spawn + +configure.ac: +gl_POSIX_SPAWN +if test $HAVE_POSIX_SPAWN = 0 \ + || test $REPLACE_POSIX_SPAWN = 1 \ + || test $gl_cv_func_spawnattr_setschedpolicy = no; then + AC_LIBOBJ([spawnattr_setschedpolicy]) +fi +gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_setschedpolicy]) + +Makefile.am: + +Include: +<spawn.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible, glibc + diff --git a/gnulib/modules/posix_spawnattr_setsigdefault b/gnulib/modules/posix_spawnattr_setsigdefault new file mode 100644 index 0000000..3d8ec56 --- /dev/null +++ b/gnulib/modules/posix_spawnattr_setsigdefault @@ -0,0 +1,29 @@ +Description: +posix_spawnattr_setsigdefault() function:get the specify of signals with +initially the default handler for child process. + +Files: +lib/spawnattr_setdefault.c +m4/posix_spawn.m4 + +Depends-on: +spawn + +configure.ac: +gl_POSIX_SPAWN +if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then + AC_LIBOBJ([spawnattr_setdefault]) +fi +gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_setsigdefault]) + +Makefile.am: + +Include: +<spawn.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible, glibc + diff --git a/gnulib/modules/posix_spawnattr_setsigmask b/gnulib/modules/posix_spawnattr_setsigmask new file mode 100644 index 0000000..5e2bf44 --- /dev/null +++ b/gnulib/modules/posix_spawnattr_setsigmask @@ -0,0 +1,29 @@ +Description: +posix_spawnattr_setsigmask() function: specify the set of initially blocked +signals for child process. + +Files: +lib/spawnattr_setsigmask.c +m4/posix_spawn.m4 + +Depends-on: +spawn + +configure.ac: +gl_POSIX_SPAWN +if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then + AC_LIBOBJ([spawnattr_setsigmask]) +fi +gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_setsigmask]) + +Makefile.am: + +Include: +<spawn.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible, glibc + diff --git a/gnulib/modules/posix_spawnp b/gnulib/modules/posix_spawnp new file mode 100644 index 0000000..7e52c67 --- /dev/null +++ b/gnulib/modules/posix_spawnp @@ -0,0 +1,31 @@ +Description: +posix_spawnp() function: create a child process. + +Files: +lib/spawnp.c +m4/posix_spawn.m4 + +Depends-on: +spawn +posix_spawn-internal [test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1] + +configure.ac: +gl_POSIX_SPAWN +if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then + AC_LIBOBJ([spawnp]) + AC_LIBOBJ([spawni]) + gl_PREREQ_POSIX_SPAWN_INTERNAL +fi +gl_SPAWN_MODULE_INDICATOR([posix_spawnp]) + +Makefile.am: + +Include: +<spawn.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible, glibc + diff --git a/gnulib/modules/posix_spawnp-tests b/gnulib/modules/posix_spawnp-tests new file mode 100644 index 0000000..6363585 --- /dev/null +++ b/gnulib/modules/posix_spawnp-tests @@ -0,0 +1,52 @@ +Files: +tests/test-posix_spawn1.c +tests/test-posix_spawn1.in.sh +tests/test-posix_spawn2.c +tests/test-posix_spawn2.in.sh +tests/signature.h + +Depends-on: +posix_spawn_file_actions_init +posix_spawn_file_actions_adddup2 +posix_spawn_file_actions_addclose +posix_spawn_file_actions_addopen +posix_spawn_file_actions_destroy +posix_spawnattr_init +posix_spawnattr_setsigmask +posix_spawnattr_setflags +posix_spawnattr_destroy +sigprocmask +stdbool +unistd +sys_wait +dup + +configure.ac: +AC_EGREP_CPP([notposix], [[ +#if defined _MSC_VER || defined __MINGW32__ + notposix +#endif + ]], + [posix_spawn_ported=no], + [posix_spawn_ported=yes]) +AM_CONDITIONAL([POSIX_SPAWN_PORTED], [test $posix_spawn_ported = yes]) + +Makefile.am: +if POSIX_SPAWN_PORTED +TESTS += test-posix_spawn1 test-posix_spawn2 +check_PROGRAMS += test-posix_spawn1 test-posix_spawn2 + +BUILT_SOURCES += test-posix_spawn1.sh +test-posix_spawn1.sh: test-posix_spawn1.in.sh + $(AM_V_GEN)rm -f $@-t $@ && \ + cp $(srcdir)/test-posix_spawn1.in.sh $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += test-posix_spawn1.sh test-posix_spawn1.sh-t + +BUILT_SOURCES += test-posix_spawn2.sh +test-posix_spawn2.sh: test-posix_spawn2.in.sh + $(AM_V_GEN)rm -f $@-t $@ && \ + cp $(srcdir)/test-posix_spawn2.in.sh $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += test-posix_spawn2.sh test-posix_spawn2.sh-t +endif diff --git a/gnulib/modules/posixtm b/gnulib/modules/posixtm new file mode 100644 index 0000000..8e3a4db --- /dev/null +++ b/gnulib/modules/posixtm @@ -0,0 +1,27 @@ +Description: +Convert a date/time string (POSIX syntax) to linear time or broken-down time. + +Files: +lib/posixtm.h +lib/posixtm.c +m4/posixtm.m4 + +Depends-on: +mktime +stdbool +stpcpy + +configure.ac: +gl_POSIXTM + +Makefile.am: +lib_SOURCES += posixtm.c + +Include: +"posixtm.h" + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/posixtm-tests b/gnulib/modules/posixtm-tests new file mode 100644 index 0000000..216d602 --- /dev/null +++ b/gnulib/modules/posixtm-tests @@ -0,0 +1,14 @@ +Files: +tests/test-posixtm.c +tests/macros.h + +Depends-on: +intprops +setenv +strftime + +configure.ac: + +Makefile.am: +TESTS += test-posixtm +check_PROGRAMS += test-posixtm diff --git a/gnulib/modules/posixver b/gnulib/modules/posixver new file mode 100644 index 0000000..bb5ac77 --- /dev/null +++ b/gnulib/modules/posixver @@ -0,0 +1,25 @@ +Description: +Determine desired POSIX specification version, according to user's environment +variables. + +Files: +lib/posixver.h +lib/posixver.c +m4/posixver.m4 + +Depends-on: + +configure.ac: +gl_POSIXVER + +Makefile.am: +lib_SOURCES += posixver.c + +Include: +"posixver.h" + +License: +GPL + +Maintainer: +Paul Eggert, Jim Meyering diff --git a/gnulib/modules/pow b/gnulib/modules/pow new file mode 100644 index 0000000..a2cb311 --- /dev/null +++ b/gnulib/modules/pow @@ -0,0 +1,25 @@ +Description: +pow() function: power function. + +Files: +m4/pow.m4 +m4/mathfunc.m4 + +Depends-on: + +configure.ac: +gl_FUNC_POW + +Makefile.am: + +Include: +<math.h> + +Link: +$(POW_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/pow-tests b/gnulib/modules/pow-tests new file mode 100644 index 0000000..1189af9 --- /dev/null +++ b/gnulib/modules/pow-tests @@ -0,0 +1,13 @@ +Files: +tests/test-pow.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pow +check_PROGRAMS += test-pow +test_pow_LDADD = $(LDADD) @POW_LIBM@ diff --git a/gnulib/modules/powf b/gnulib/modules/powf new file mode 100644 index 0000000..0f31ce2 --- /dev/null +++ b/gnulib/modules/powf @@ -0,0 +1,31 @@ +Description: +powf() function: power function. + +Files: +lib/powf.c +m4/powf.m4 + +Depends-on: +math +pow [test $HAVE_POWF = 0] + +configure.ac: +gl_FUNC_POWF +if test $HAVE_POWF = 0; then + AC_LIBOBJ([powf]) +fi +gl_MATH_MODULE_INDICATOR([powf]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(POWF_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/powf-tests b/gnulib/modules/powf-tests new file mode 100644 index 0000000..dea0f65 --- /dev/null +++ b/gnulib/modules/powf-tests @@ -0,0 +1,13 @@ +Files: +tests/test-powf.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-powf +check_PROGRAMS += test-powf +test_powf_LDADD = $(LDADD) @POWF_LIBM@ diff --git a/gnulib/modules/pread b/gnulib/modules/pread new file mode 100644 index 0000000..7281cd6 --- /dev/null +++ b/gnulib/modules/pread @@ -0,0 +1,31 @@ +Description: +pread() function: read without changing file offset + +Files: +lib/pread.c +m4/pread.m4 + +Depends-on: +unistd +extensions +largefile +lseek [test $HAVE_PREAD = 0 || test $REPLACE_PREAD = 1] +read [test $HAVE_PREAD = 0 || test $REPLACE_PREAD = 1] + +configure.ac: +gl_FUNC_PREAD +if test $HAVE_PREAD = 0 || test $REPLACE_PREAD = 1; then + AC_LIBOBJ([pread]) +fi +gl_UNISTD_MODULE_INDICATOR([pread]) + +Makefile.am: + +Include: +<unistd.h> + +License: +LGPLv2+ + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/pread-tests b/gnulib/modules/pread-tests new file mode 100644 index 0000000..72e4613 --- /dev/null +++ b/gnulib/modules/pread-tests @@ -0,0 +1,14 @@ +Files: +tests/test-pread.c +tests/test-pread.sh +tests/init.sh +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pread.sh +check_PROGRAMS += test-pread diff --git a/gnulib/modules/printf-frexp b/gnulib/modules/printf-frexp new file mode 100644 index 0000000..ff70ba0 --- /dev/null +++ b/gnulib/modules/printf-frexp @@ -0,0 +1,27 @@ +Description: +printf_frexp() function: split a double into fraction and mantissa, for +hexadecimal printf, without requiring libm. + +Files: +lib/printf-frexp.h +lib/printf-frexp.c +m4/printf-frexp.m4 +m4/frexp.m4 + +Depends-on: + +configure.ac: +gl_FUNC_PRINTF_FREXP + +Makefile.am: +lib_SOURCES += printf-frexp.c + +Include: +"printf-frexp.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/printf-frexp-tests b/gnulib/modules/printf-frexp-tests new file mode 100644 index 0000000..b1f0b9f --- /dev/null +++ b/gnulib/modules/printf-frexp-tests @@ -0,0 +1,11 @@ +Files: +tests/test-printf-frexp.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-printf-frexp +check_PROGRAMS += test-printf-frexp diff --git a/gnulib/modules/printf-frexpl b/gnulib/modules/printf-frexpl new file mode 100644 index 0000000..c506a62 --- /dev/null +++ b/gnulib/modules/printf-frexpl @@ -0,0 +1,33 @@ +Description: +printf_frexpl() function: split a long double into fraction and mantissa, +for hexadecimal printf, without requiring libm. + +Files: +lib/printf-frexpl.h +lib/printf-frexpl.c +lib/printf-frexp.c +m4/printf-frexpl.m4 +m4/frexpl.m4 +m4/ldexpl.m4 + +Depends-on: +printf-frexp [test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1] +float [test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] +math [test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] +fpucw [test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] + +configure.ac: +gl_FUNC_PRINTF_FREXPL + +Makefile.am: +lib_SOURCES += printf-frexpl.c + +Include: +"printf-frexpl.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/printf-frexpl-tests b/gnulib/modules/printf-frexpl-tests new file mode 100644 index 0000000..d87a003 --- /dev/null +++ b/gnulib/modules/printf-frexpl-tests @@ -0,0 +1,12 @@ +Files: +tests/test-printf-frexpl.c +tests/macros.h + +Depends-on: +fpucw + +configure.ac: + +Makefile.am: +TESTS += test-printf-frexpl +check_PROGRAMS += test-printf-frexpl diff --git a/gnulib/modules/printf-posix b/gnulib/modules/printf-posix new file mode 100644 index 0000000..1c763a0 --- /dev/null +++ b/gnulib/modules/printf-posix @@ -0,0 +1,35 @@ +Description: +POSIX compatible printf() function: print formatted output to standard output + +Comment: +This module should not be used as a dependency from a test module, +otherwise when this module occurs as a tests-related module, it will +have side effects on the compilation of the 'vasnprintf' module, if +that module occurs among the main modules in lib/. + +Files: +lib/printf.c +m4/printf-posix-rpl.m4 +m4/printf.m4 +m4/asm-underscore.m4 + +Depends-on: +stdio +printf-safe +vfprintf-posix [test $REPLACE_PRINTF = 1] + +configure.ac: +gl_FUNC_PRINTF_POSIX +gl_STDIO_MODULE_INDICATOR([printf-posix]) + +Makefile.am: + +Include: +<stdio.h> + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/printf-posix-tests b/gnulib/modules/printf-posix-tests new file mode 100644 index 0000000..8a99cd6 --- /dev/null +++ b/gnulib/modules/printf-posix-tests @@ -0,0 +1,20 @@ +Files: +tests/test-printf-posix.sh +tests/test-printf-posix.c +tests/test-printf-posix.h +tests/test-printf-posix.output +tests/test-printf-posix2.sh +tests/test-printf-posix2.c +tests/infinity.h +tests/signature.h +tests/macros.h + +Depends-on: +stdint + +configure.ac: +AC_CHECK_FUNCS_ONCE([getrlimit setrlimit]) + +Makefile.am: +TESTS += test-printf-posix.sh test-printf-posix2.sh +check_PROGRAMS += test-printf-posix test-printf-posix2 diff --git a/gnulib/modules/printf-safe b/gnulib/modules/printf-safe new file mode 100644 index 0000000..8e93366 --- /dev/null +++ b/gnulib/modules/printf-safe @@ -0,0 +1,22 @@ +Description: +Ensures that the *printf() functions provided by the *printf-posix modules +recognize non-IEEE-754 values of 'long double' arguments and display them as +NaN (rather than producing undefined behavior). + +Files: + +Depends-on: + +configure.ac: +m4_divert_text([INIT_PREPARE], [gl_printf_safe=yes]) + +Makefile.am: + +Include: + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/priv-set b/gnulib/modules/priv-set new file mode 100644 index 0000000..77e0164 --- /dev/null +++ b/gnulib/modules/priv-set @@ -0,0 +1,26 @@ +Description: +Query, remove or restore a Solaris privilege + +Files: +lib/priv-set.h +lib/priv-set.c +m4/priv-set.m4 + +Depends-on: +errno +stdbool + +configure.ac: +gl_PRIV_SET + +Makefile.am: +lib_SOURCES += priv-set.c + +Include: +"priv-set.h" + +License: +GPL + +Maintainer: +David Bartley diff --git a/gnulib/modules/priv-set-tests b/gnulib/modules/priv-set-tests new file mode 100644 index 0000000..7a24aa1 --- /dev/null +++ b/gnulib/modules/priv-set-tests @@ -0,0 +1,11 @@ +Files: +tests/test-priv-set.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-priv-set +check_PROGRAMS += test-priv-set diff --git a/gnulib/modules/progname b/gnulib/modules/progname new file mode 100644 index 0000000..349b1ff --- /dev/null +++ b/gnulib/modules/progname @@ -0,0 +1,25 @@ +Description: +Program name management. + +Files: +lib/progname.h +lib/progname.c + +Depends-on: + +configure.ac: +AC_CHECK_DECLS([program_invocation_name], [], [], [#include <errno.h>]) +AC_CHECK_DECLS([program_invocation_short_name], [], [], [#include <errno.h>]) + +Makefile.am: +lib_SOURCES += progname.h progname.c + +Include: +"progname.h" + +License: +GPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/propername b/gnulib/modules/propername new file mode 100644 index 0000000..fc819a9 --- /dev/null +++ b/gnulib/modules/propername @@ -0,0 +1,46 @@ +Description: +Localization of proper names. + +Notice: +If you are using GNU gettext version 0.16.1 or older, add the following options +to XGETTEXT_OPTIONS in your po/Makevars: + --keyword='proper_name:1,"This is a proper name. See the gettext manual, section Names."' + --keyword='proper_name_utf8:1,"This is a proper name. See the gettext manual, section Names."' + +Files: +lib/propername.h +lib/propername.c + +Depends-on: +stdbool +trim +mbsstr +mbchar +mbuiter +iconv +localcharset +c-strcase +xstriconv +xalloc +gettext-h + +configure.ac: +m4_ifdef([AM_XGETTEXT_OPTION], + [AM_][XGETTEXT_OPTION([--keyword='proper_name:1,\"This is a proper name. See the gettext manual, section Names.\"']) + AM_][XGETTEXT_OPTION([--keyword='proper_name_utf8:1,\"This is a proper name. See the gettext manual, section Names.\"'])]) + +Makefile.am: +lib_SOURCES += propername.h propername.c + +Include: +"propername.h" + +Link: +$(LTLIBICONV) when linking with libtool, $(LIBICONV) otherwise + +License: +GPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/pselect b/gnulib/modules/pselect new file mode 100644 index 0000000..1ca08ed --- /dev/null +++ b/gnulib/modules/pselect @@ -0,0 +1,32 @@ +Description: +pselect() function: synchronous I/O multiplexing. + +Files: +lib/pselect.c +m4/pselect.m4 + +Depends-on: +sys_select +pthread_sigmask [test $HAVE_PSELECT = 0 || test $REPLACE_PSELECT = 1] +select [test $HAVE_PSELECT = 0 || test $REPLACE_PSELECT = 1] + +configure.ac: +gl_FUNC_PSELECT +if test $HAVE_PSELECT = 0 || test $REPLACE_PSELECT = 1; then + AC_LIBOBJ([pselect]) +fi +gl_SYS_SELECT_MODULE_INDICATOR([pselect]) + +Makefile.am: + +Include: +<sys/select.h> + +Link: +$(LIB_SELECT) $(LIB_PTHREAD_SIGMASK) + +License: +LGPLv2+ + +Maintainer: +Paul Eggert, Bruno Haible, Jim Meyering diff --git a/gnulib/modules/pselect-tests b/gnulib/modules/pselect-tests new file mode 100644 index 0000000..0c37ff6 --- /dev/null +++ b/gnulib/modules/pselect-tests @@ -0,0 +1,33 @@ +Files: +tests/test-pselect.c +tests/test-select.h +tests/macros.h +tests/signature.h + +Depends-on: +stdbool +netinet_in +arpa_inet +unistd +sys_ioctl +extensions +inet_pton +errno +perror +pipe-posix +socket +bind +setsockopt +listen +connect +accept +ioctl +close + +configure.ac: +AC_CHECK_HEADERS_ONCE([sys/wait.h]) + +Makefile.am: +TESTS += test-pselect +check_PROGRAMS += test-pselect +test_pselect_LDADD = $(LDADD) @LIB_SELECT@ @LIBSOCKET@ @LIB_PTHREAD_SIGMASK@ $(INET_PTON_LIB) diff --git a/gnulib/modules/pt_chown b/gnulib/modules/pt_chown new file mode 100644 index 0000000..515df4b --- /dev/null +++ b/gnulib/modules/pt_chown @@ -0,0 +1,26 @@ +Description: +Helper program for setting the owner of the slave side of a pseudo-terminal. + +Files: +lib/pt_chown.c +lib/pty-private.h + +Depends-on: +ptsname +stdlib +configmake + +configure.ac: + +Makefile.am: +# TODO: Add rules for installing as setuid root (chown root, chmod a=rx,u+s). +pkglibexec_PROGRAMS = pt_chown +pt_chown_LDADD = libgnu.a + +Include: + +License: +LGPLv2+ + +Maintainer: +glibc diff --git a/gnulib/modules/pthread b/gnulib/modules/pthread new file mode 100644 index 0000000..eef4b07 --- /dev/null +++ b/gnulib/modules/pthread @@ -0,0 +1,51 @@ +Description: +Implement a trivial subset of the pthreads library. + +Files: +lib/pthread.in.h +m4/pthread.m4 + +Depends-on: +sched +time + +configure.ac: +gl_PTHREAD_CHECK + +Makefile.am: +BUILT_SOURCES += $(PTHREAD_H) + +# We need the following in order to create <pthread.h> when the system +# doesn't have one that works with the given compiler. +if GL_GENERATE_PTHREAD_H +pthread.h: pthread.in.h $(top_builddir)/config.status + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ + -e 's|@''HAVE_PTHREAD_H''@|$(HAVE_PTHREAD_H)|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_PTHREAD_H''@|$(NEXT_PTHREAD_H)|g' \ + -e 's|@''HAVE_PTHREAD_T''@|$(HAVE_PTHREAD_T)|g' \ + -e 's|@''HAVE_PTHREAD_SPINLOCK_T''@|$(HAVE_PTHREAD_SPINLOCK_T)|g' \ + < $(srcdir)/pthread.in.h; \ + } > $@-t && \ + mv $@-t $@ +else +pthread.h: $(top_builddir)/config.status + rm -f $@ +endif +MOSTLYCLEANFILES += pthread.h pthread.h-t + +Include: +<pthread.h> + +Link: +$(LIB_PTHREAD) + +License: +LGPLv2+ + +Maintainer: +Glen Lenker and Paul Eggert diff --git a/gnulib/modules/pthread_sigmask b/gnulib/modules/pthread_sigmask new file mode 100644 index 0000000..f451259 --- /dev/null +++ b/gnulib/modules/pthread_sigmask @@ -0,0 +1,33 @@ +Description: +POSIX compatible signal blocking for threads. + +Files: +lib/pthread_sigmask.c +m4/pthread_sigmask.m4 + +Depends-on: +signal-h +threadlib +sigprocmask [test $HAVE_PTHREAD_SIGMASK = 0 || test $REPLACE_PTHREAD_SIGMASK = 1] + +configure.ac: +gl_FUNC_PTHREAD_SIGMASK +if test $HAVE_PTHREAD_SIGMASK = 0 || test $REPLACE_PTHREAD_SIGMASK = 1; then + AC_LIBOBJ([pthread_sigmask]) + gl_PREREQ_PTHREAD_SIGMASK +fi +gl_SIGNAL_MODULE_INDICATOR([pthread_sigmask]) + +Makefile.am: + +Include: +<signal.h> + +Link: +$(LIB_PTHREAD_SIGMASK) + +License: +LGPLv2+ + +Maintainer: +Paul Eggert, Bruno Haible, Jim Meyering diff --git a/gnulib/modules/pthread_sigmask-tests b/gnulib/modules/pthread_sigmask-tests new file mode 100644 index 0000000..23fc155 --- /dev/null +++ b/gnulib/modules/pthread_sigmask-tests @@ -0,0 +1,17 @@ +Files: +tests/test-pthread_sigmask1.c +tests/test-pthread_sigmask2.c +tests/signature.h +tests/macros.h + +Depends-on: +sleep +thread + +configure.ac: + +Makefile.am: +TESTS += test-pthread_sigmask1 test-pthread_sigmask2 +check_PROGRAMS += test-pthread_sigmask1 test-pthread_sigmask2 +test_pthread_sigmask1_LDADD = $(LDADD) @LIB_PTHREAD_SIGMASK@ +test_pthread_sigmask2_LDADD = $(LDADD) @LIB_PTHREAD_SIGMASK@ @LIBMULTITHREAD@ diff --git a/gnulib/modules/ptsname b/gnulib/modules/ptsname new file mode 100644 index 0000000..f0ce256 --- /dev/null +++ b/gnulib/modules/ptsname @@ -0,0 +1,30 @@ +Description: +ptsname() function: Determine name of the slave side of a pseudo-terminal. + +Files: +lib/ptsname.c +m4/ptsname.m4 + +Depends-on: +stdlib +extensions +ptsname_r [test $HAVE_PTSNAME = 0] + +configure.ac: +gl_FUNC_PTSNAME +if test $HAVE_PTSNAME = 0; then + AC_LIBOBJ([ptsname]) + gl_PREREQ_PTSNAME +fi +gl_STDLIB_MODULE_INDICATOR([ptsname]) + +Makefile.am: + +Include: +<stdlib.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/ptsname-tests b/gnulib/modules/ptsname-tests new file mode 100644 index 0000000..e26bc9e --- /dev/null +++ b/gnulib/modules/ptsname-tests @@ -0,0 +1,14 @@ +Files: +tests/test-ptsname.c +tests/signature.h +tests/macros.h + +Depends-on: +same-inode + +configure.ac: +AC_CHECK_DECLS_ONCE([alarm]) + +Makefile.am: +TESTS += test-ptsname +check_PROGRAMS += test-ptsname diff --git a/gnulib/modules/ptsname_r b/gnulib/modules/ptsname_r new file mode 100644 index 0000000..7520847 --- /dev/null +++ b/gnulib/modules/ptsname_r @@ -0,0 +1,30 @@ +Description: +ptsname_r() function: Determine name of the slave side of a pseudo-terminal. + +Files: +lib/ptsname_r.c +m4/ptsname_r.m4 + +Depends-on: +stdlib +extensions +ttyname_r [test $HAVE_PTSNAME_R = 0 || test $REPLACE_PTSNAME_R = 1] + +configure.ac: +gl_FUNC_PTSNAME_R +if test $HAVE_PTSNAME_R = 0 || test $REPLACE_PTSNAME_R = 1; then + AC_LIBOBJ([ptsname_r]) + gl_PREREQ_PTSNAME_R +fi +gl_STDLIB_MODULE_INDICATOR([ptsname_r]) + +Makefile.am: + +Include: +<stdlib.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible, Eric Blake diff --git a/gnulib/modules/ptsname_r-tests b/gnulib/modules/ptsname_r-tests new file mode 100644 index 0000000..50b3f81 --- /dev/null +++ b/gnulib/modules/ptsname_r-tests @@ -0,0 +1,14 @@ +Files: +tests/test-ptsname_r.c +tests/signature.h +tests/macros.h + +Depends-on: +same-inode + +configure.ac: +AC_CHECK_DECLS_ONCE([alarm]) + +Makefile.am: +TESTS += test-ptsname_r +check_PROGRAMS += test-ptsname_r diff --git a/gnulib/modules/pty b/gnulib/modules/pty new file mode 100644 index 0000000..d523d14 --- /dev/null +++ b/gnulib/modules/pty @@ -0,0 +1,55 @@ +Description: +A <pty.h> for systems that lacks it. + +Files: +lib/pty.in.h +m4/pty_h.m4 + +Depends-on: +include_next +snippet/c++defs +snippet/warn-on-use + +configure.ac: +gl_PTY_H + +Makefile.am: +BUILT_SOURCES += pty.h + +# We need the following in order to create <pty.h> when the system +# doesn't have one that works with the given compiler. +pty.h: pty.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ + -e 's|@''HAVE_PTY_H''@|$(HAVE_PTY_H)|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_PTY_H''@|$(NEXT_PTY_H)|g' \ + -e 's/@''GNULIB_FORKPTY''@/$(GNULIB_FORKPTY)/g' \ + -e 's/@''GNULIB_OPENPTY''@/$(GNULIB_OPENPTY)/g' \ + -e 's|@''HAVE_UTIL_H''@|$(HAVE_UTIL_H)|g' \ + -e 's|@''HAVE_LIBUTIL_H''@|$(HAVE_LIBUTIL_H)|g' \ + -e 's|@''HAVE_FORKPTY''@|$(HAVE_FORKPTY)|g' \ + -e 's|@''HAVE_OPENPTY''@|$(HAVE_OPENPTY)|g' \ + -e 's|@''REPLACE_FORKPTY''@|$(REPLACE_FORKPTY)|g' \ + -e 's|@''REPLACE_OPENPTY''@|$(REPLACE_OPENPTY)|g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ + < $(srcdir)/pty.in.h; \ + } > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += pty.h pty.h-t + +Include: +<pty.h> + +Link: +$(PTY_LIB) + +License: +LGPLv2+ + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/pty-c++-tests b/gnulib/modules/pty-c++-tests new file mode 100644 index 0000000..0f2e562 --- /dev/null +++ b/gnulib/modules/pty-c++-tests @@ -0,0 +1,19 @@ +Files: +tests/test-pty-c++.cc +tests/signature.h + +Status: +c++-test + +Depends-on: +ansi-c++-opt + +configure.ac: + +Makefile.am: +if ANSICXX +TESTS += test-pty-c++ +check_PROGRAMS += test-pty-c++ +test_pty_c___SOURCES = test-pty-c++.cc +test_pty_c___LDADD = $(LDADD) $(PTY_LIB) $(LIBINTL) +endif diff --git a/gnulib/modules/pty-tests b/gnulib/modules/pty-tests new file mode 100644 index 0000000..7a6bce9 --- /dev/null +++ b/gnulib/modules/pty-tests @@ -0,0 +1,8 @@ +Files: + +Depends-on: +pty-c++-tests + +configure.ac: + +Makefile.am: diff --git a/gnulib/modules/putenv b/gnulib/modules/putenv new file mode 100644 index 0000000..3321a5e --- /dev/null +++ b/gnulib/modules/putenv @@ -0,0 +1,30 @@ +Description: +putenv() function: change or add an environment variable. + +Files: +lib/putenv.c +m4/putenv.m4 + +Depends-on: +stdlib +environ [test $REPLACE_PUTENV = 1] +malloc-posix [test $REPLACE_PUTENV = 1] + +configure.ac: +gl_FUNC_PUTENV +if test $REPLACE_PUTENV = 1; then + AC_LIBOBJ([putenv]) +fi +gl_STDLIB_MODULE_INDICATOR([putenv]) + +Makefile.am: + +Include: +<stdlib.h> + +License: +LGPL + +Maintainer: +Jim Meyering, glibc + diff --git a/gnulib/modules/pwrite b/gnulib/modules/pwrite new file mode 100644 index 0000000..78843d4 --- /dev/null +++ b/gnulib/modules/pwrite @@ -0,0 +1,31 @@ +Description: +pwrite() function: write without changing file offset + +Files: +lib/pwrite.c +m4/pwrite.m4 + +Depends-on: +unistd +extensions +largefile +lseek [test $HAVE_PWRITE = 0 || test $REPLACE_PWRITE = 1] +write [test $HAVE_PWRITE = 0 || test $REPLACE_PWRITE = 1] + +configure.ac: +gl_FUNC_PWRITE +if test $HAVE_PWRITE = 0 || test $REPLACE_PWRITE = 1; then + AC_LIBOBJ([pwrite]) +fi +gl_UNISTD_MODULE_INDICATOR([pwrite]) + +Makefile.am: + +Include: +<unistd.h> + +License: +LGPLv2+ + +Maintainer: +Peter O'Gorman diff --git a/gnulib/modules/pwrite-tests b/gnulib/modules/pwrite-tests new file mode 100644 index 0000000..6249a8e --- /dev/null +++ b/gnulib/modules/pwrite-tests @@ -0,0 +1,14 @@ +Files: +tests/test-pwrite.sh +tests/test-pwrite.c +tests/init.sh +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pwrite.sh +check_PROGRAMS += test-pwrite diff --git a/gnulib/modules/quote b/gnulib/modules/quote new file mode 100644 index 0000000..02bfc94 --- /dev/null +++ b/gnulib/modules/quote @@ -0,0 +1,25 @@ +Description: +Quote arguments for use in error messages. + +Files: +lib/quote.h +lib/quote.c +m4/quote.m4 + +Depends-on: +quotearg + +configure.ac: +gl_QUOTE + +Makefile.am: +lib_SOURCES += quote.c + +Include: +"quote.h" + +License: +GPL + +Maintainer: +Paul Eggert diff --git a/gnulib/modules/quotearg b/gnulib/modules/quotearg new file mode 100644 index 0000000..b3f1ad1 --- /dev/null +++ b/gnulib/modules/quotearg @@ -0,0 +1,36 @@ +Description: +Quote arguments for use in error messages. + +Files: +lib/quotearg.h +lib/quotearg.c +m4/mbstate_t.m4 +m4/mbrtowc.m4 +m4/quotearg.m4 + +Depends-on: +extensions +gettext-h +mbrtowc +mbsinit +memcmp +quotearg-simple +stdbool +wchar +wctype-h +xalloc + +configure.ac: +gl_QUOTEARG + +Makefile.am: +lib_SOURCES += quotearg.c + +Include: +"quotearg.h" + +License: +GPL + +Maintainer: +Paul Eggert diff --git a/gnulib/modules/quotearg-simple b/gnulib/modules/quotearg-simple new file mode 100644 index 0000000..aa165d1 --- /dev/null +++ b/gnulib/modules/quotearg-simple @@ -0,0 +1,19 @@ +Description: +A dummy module whose tests are simple 'quotearg' tests. + +Files: + +Depends-on: +quotearg + +configure.ac: + +Makefile.am: + +Include: + +License: +GPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/quotearg-simple-tests b/gnulib/modules/quotearg-simple-tests new file mode 100644 index 0000000..0ef151d --- /dev/null +++ b/gnulib/modules/quotearg-simple-tests @@ -0,0 +1,15 @@ +Files: +tests/test-quotearg-simple.c +tests/test-quotearg.h +tests/macros.h + +Depends-on: +progname +stdint + +configure.ac: + +Makefile.am: +TESTS += test-quotearg-simple +check_PROGRAMS += test-quotearg-simple +test_quotearg_simple_LDADD = $(LDADD) @LIBINTL@ diff --git a/gnulib/modules/quotearg-tests b/gnulib/modules/quotearg-tests new file mode 100644 index 0000000..3c37428 --- /dev/null +++ b/gnulib/modules/quotearg-tests @@ -0,0 +1,30 @@ +Status: +gettext-dependent-test + +Files: +tests/test-quotearg.sh +tests/test-quotearg.c +tests/test-quotearg.h +tests/macros.h +tests/locale/fr/LC_MESSAGES/test-quotearg.po +tests/locale/fr/LC_MESSAGES/test-quotearg.mo +m4/locale-fr.m4 +m4/codeset.m4 + +Depends-on: +gettext +progname +stdint +setenv +unsetenv +setlocale + +configure.ac: +gt_LOCALE_FR +gt_LOCALE_FR_UTF8 + +Makefile.am: +TESTS += test-quotearg.sh +TESTS_ENVIRONMENT += LOCALE_FR='@LOCALE_FR@' LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' +check_PROGRAMS += test-quotearg +test_quotearg_LDADD = $(LDADD) @LIBINTL@ diff --git a/gnulib/modules/raise b/gnulib/modules/raise new file mode 100644 index 0000000..734e03a --- /dev/null +++ b/gnulib/modules/raise @@ -0,0 +1,30 @@ +Description: +Send a signal to the executing process. + +Files: +lib/raise.c +m4/raise.m4 + +Depends-on: +signal-h +msvc-inval [test $HAVE_RAISE = 0 || test $REPLACE_RAISE = 1] + +configure.ac: +gl_FUNC_RAISE +if test $HAVE_RAISE = 0 || test $REPLACE_RAISE = 1; then + AC_LIBOBJ([raise]) + gl_PREREQ_RAISE +fi +gl_SIGNAL_MODULE_INDICATOR([raise]) + +Makefile.am: + +Include: +<signal.h> + +License: +LGPLv2+ + +Maintainer: +Jim Meyering, Bruno Haible + diff --git a/gnulib/modules/raise-tests b/gnulib/modules/raise-tests new file mode 100644 index 0000000..257f9e3 --- /dev/null +++ b/gnulib/modules/raise-tests @@ -0,0 +1,12 @@ +Files: +tests/test-raise.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-raise +check_PROGRAMS += test-raise diff --git a/gnulib/modules/random_r b/gnulib/modules/random_r new file mode 100644 index 0000000..41b9b8d --- /dev/null +++ b/gnulib/modules/random_r @@ -0,0 +1,29 @@ +Description: +reentrant random number generator + +Files: +lib/random_r.c +m4/random_r.m4 + +Depends-on: +stdlib +stdint + +configure.ac: +gl_FUNC_RANDOM_R +if test $HAVE_RANDOM_R = 0; then + AC_LIBOBJ([random_r]) + gl_PREREQ_RANDOM_R +fi +gl_STDLIB_MODULE_INDICATOR([random_r]) + +Makefile.am: + +Include: +<stdlib.h> + +License: +LGPLv2+ + +Maintainer: +Jim Meyering, glibc diff --git a/gnulib/modules/random_r-tests b/gnulib/modules/random_r-tests new file mode 100644 index 0000000..e1fa291 --- /dev/null +++ b/gnulib/modules/random_r-tests @@ -0,0 +1,12 @@ +Files: +tests/test-random_r.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-random_r +check_PROGRAMS += test-random_r diff --git a/gnulib/modules/rawmemchr b/gnulib/modules/rawmemchr new file mode 100644 index 0000000..3232056 --- /dev/null +++ b/gnulib/modules/rawmemchr @@ -0,0 +1,30 @@ +Description: +rawmemchr() function: Find the first occurrence of C in S. + +Files: +lib/rawmemchr.c +lib/rawmemchr.valgrind +m4/rawmemchr.m4 + +Depends-on: +extensions +string + +configure.ac: +gl_FUNC_RAWMEMCHR +if test $HAVE_RAWMEMCHR = 0; then + AC_LIBOBJ([rawmemchr]) + gl_PREREQ_RAWMEMCHR +fi +gl_STRING_MODULE_INDICATOR([rawmemchr]) + +Makefile.am: + +Include: +<string.h> + +License: +LGPLv2+ + +Maintainer: +Eric Blake, glibc diff --git a/gnulib/modules/rawmemchr-tests b/gnulib/modules/rawmemchr-tests new file mode 100644 index 0000000..f2d4c62 --- /dev/null +++ b/gnulib/modules/rawmemchr-tests @@ -0,0 +1,20 @@ +Files: +tests/test-rawmemchr.c +tests/zerosize-ptr.h +tests/signature.h +tests/macros.h +m4/mmap-anon.m4 + +Depends-on: +extensions +getpagesize + +configure.ac: +dnl Check for prerequisites for memory fence checks. +gl_FUNC_MMAP_ANON +AC_CHECK_HEADERS_ONCE([sys/mman.h]) +AC_CHECK_FUNCS_ONCE([mprotect]) + +Makefile.am: +TESTS += test-rawmemchr +check_PROGRAMS += test-rawmemchr diff --git a/gnulib/modules/rbtree-list b/gnulib/modules/rbtree-list new file mode 100644 index 0000000..4ea7796 --- /dev/null +++ b/gnulib/modules/rbtree-list @@ -0,0 +1,28 @@ +Description: +Sequential list data type implemented by a binary tree. + +Files: +lib/gl_rbtree_list.h +lib/gl_rbtree_list.c +lib/gl_anyrbtree_list1.h +lib/gl_anyrbtree_list2.h +lib/gl_anytree_list1.h +lib/gl_anytree_list2.h + +Depends-on: +list + +configure.ac: + +Makefile.am: +lib_SOURCES += gl_rbtree_list.h gl_rbtree_list.c gl_anyrbtree_list1.h gl_anyrbtree_list2.h gl_anytree_list1.h gl_anytree_list2.h + +Include: +"gl_rbtree_list.h" + +License: +GPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/rbtree-list-tests b/gnulib/modules/rbtree-list-tests new file mode 100644 index 0000000..c4262ab --- /dev/null +++ b/gnulib/modules/rbtree-list-tests @@ -0,0 +1,13 @@ +Files: +tests/test-rbtree_list.c +tests/macros.h + +Depends-on: +array-list +progname + +configure.ac: + +Makefile.am: +TESTS += test-rbtree_list +check_PROGRAMS += test-rbtree_list diff --git a/gnulib/modules/rbtree-oset b/gnulib/modules/rbtree-oset new file mode 100644 index 0000000..0630673 --- /dev/null +++ b/gnulib/modules/rbtree-oset @@ -0,0 +1,25 @@ +Description: +Ordered set data type implemented by a binary tree. + +Files: +lib/gl_rbtree_oset.h +lib/gl_rbtree_oset.c +lib/gl_anytree_oset.h + +Depends-on: +oset + +configure.ac: + +Makefile.am: +lib_SOURCES += gl_rbtree_oset.h gl_rbtree_oset.c gl_anytree_oset.h + +Include: +"gl_rbtree_oset.h" + +License: +GPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/rbtree-oset-tests b/gnulib/modules/rbtree-oset-tests new file mode 100644 index 0000000..db69078 --- /dev/null +++ b/gnulib/modules/rbtree-oset-tests @@ -0,0 +1,13 @@ +Files: +tests/test-rbtree_oset.c +tests/macros.h + +Depends-on: +array-oset +progname + +configure.ac: + +Makefile.am: +TESTS += test-rbtree_oset +check_PROGRAMS += test-rbtree_oset diff --git a/gnulib/modules/rbtreehash-list b/gnulib/modules/rbtreehash-list new file mode 100644 index 0000000..7355e8b --- /dev/null +++ b/gnulib/modules/rbtreehash-list @@ -0,0 +1,35 @@ +Description: +Sequential list data type implemented by a hash table with a binary tree. + +Files: +lib/gl_rbtreehash_list.h +lib/gl_rbtreehash_list.c +lib/gl_anyhash_list1.h +lib/gl_anyhash_list2.h +lib/gl_anyrbtree_list1.h +lib/gl_anyrbtree_list2.h +lib/gl_anytree_list1.h +lib/gl_anytree_list2.h +lib/gl_anytreehash_list1.h +lib/gl_anytreehash_list2.h + +Depends-on: +list +rbtree-oset +stdint +xsize + +configure.ac: + +Makefile.am: +lib_SOURCES += gl_rbtreehash_list.h gl_rbtreehash_list.c gl_anyhash_list1.h gl_anyhash_list2.h gl_anyrbtree_list1.h gl_anyrbtree_list2.h gl_anytree_list1.h gl_anytree_list2.h gl_anytreehash_list1.h gl_anytreehash_list2.h + +Include: +"gl_rbtreehash_list.h" + +License: +GPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/rbtreehash-list-tests b/gnulib/modules/rbtreehash-list-tests new file mode 100644 index 0000000..446e44d --- /dev/null +++ b/gnulib/modules/rbtreehash-list-tests @@ -0,0 +1,13 @@ +Files: +tests/test-rbtreehash_list.c +tests/macros.h + +Depends-on: +array-list +progname + +configure.ac: + +Makefile.am: +TESTS += test-rbtreehash_list +check_PROGRAMS += test-rbtreehash_list diff --git a/gnulib/modules/read b/gnulib/modules/read new file mode 100644 index 0000000..baa758b --- /dev/null +++ b/gnulib/modules/read @@ -0,0 +1,30 @@ +Description: +POSIX compatible read() function: read data from a file descriptor + +Files: +lib/read.c +m4/read.m4 + +Depends-on: +unistd +msvc-inval [test $REPLACE_READ = 1] +msvc-nothrow [test $REPLACE_READ = 1] + +configure.ac: +gl_FUNC_READ +if test $REPLACE_READ = 1; then + AC_LIBOBJ([read]) + gl_PREREQ_READ +fi +gl_UNISTD_MODULE_INDICATOR([read]) + +Makefile.am: + +Include: +<unistd.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/read-file b/gnulib/modules/read-file new file mode 100644 index 0000000..506e88f --- /dev/null +++ b/gnulib/modules/read-file @@ -0,0 +1,30 @@ +Description: +read_file() function: read the contents of a file into a string + +Files: +lib/read-file.h +lib/read-file.c +m4/read-file.m4 + +Depends-on: +fstat +ftello +malloc-posix +realloc-posix +stdint +sys_stat + +configure.ac: +gl_PREREQ_READ_FILE + +Makefile.am: +lib_SOURCES += read-file.c + +Include: +"read-file.h" + +License: +LGPLv2+ + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/read-file-tests b/gnulib/modules/read-file-tests new file mode 100644 index 0000000..361bca8 --- /dev/null +++ b/gnulib/modules/read-file-tests @@ -0,0 +1,10 @@ +Files: +tests/test-read-file.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-read-file +check_PROGRAMS += test-read-file diff --git a/gnulib/modules/read-tests b/gnulib/modules/read-tests new file mode 100644 index 0000000..9a13867 --- /dev/null +++ b/gnulib/modules/read-tests @@ -0,0 +1,14 @@ +Files: +tests/test-read.c +tests/signature.h +tests/macros.h + +Depends-on: +binary-io +open + +configure.ac: + +Makefile.am: +TESTS += test-read +check_PROGRAMS += test-read diff --git a/gnulib/modules/readdir b/gnulib/modules/readdir new file mode 100644 index 0000000..487a888 --- /dev/null +++ b/gnulib/modules/readdir @@ -0,0 +1,29 @@ +Description: +readdir() function: read the next entry of a directory + +Files: +lib/readdir.c +lib/dirent-private.h +m4/readdir.m4 + +Depends-on: +dirent +largefile + +configure.ac: +gl_FUNC_READDIR +if test $HAVE_READDIR = 0; then + AC_LIBOBJ([readdir]) +fi +gl_DIRENT_MODULE_INDICATOR([readdir]) + +Makefile.am: + +Include: +<dirent.h> + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/readline b/gnulib/modules/readline new file mode 100644 index 0000000..9cee3bb --- /dev/null +++ b/gnulib/modules/readline @@ -0,0 +1,32 @@ +Description: +Simple implementation of readline. + +Files: +lib/readline.h +lib/readline.c +m4/readline.m4 + +Depends-on: +havelib +getline [test "$gl_cv_lib_readline" = no] + +configure.ac: +gl_FUNC_READLINE +if test "$gl_cv_lib_readline" = no; then + AC_LIBOBJ([readline]) + gl_PREREQ_READLINE +fi + +Makefile.am: + +Include: +"readline.h" + +Link: +$(LTLIBREADLINE) when linking with libtool, $(LIBREADLINE) otherwise + +License: +GPL + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/readlink b/gnulib/modules/readlink new file mode 100644 index 0000000..431e201 --- /dev/null +++ b/gnulib/modules/readlink @@ -0,0 +1,30 @@ +Description: +readlink() function: read the value of a symbolic link. + +Files: +lib/readlink.c +m4/readlink.m4 + +Depends-on: +unistd +stat [test $HAVE_READLINK = 0 || test $REPLACE_READLINK = 1] + +configure.ac: +gl_FUNC_READLINK +if test $HAVE_READLINK = 0 || test $REPLACE_READLINK = 1; then + AC_LIBOBJ([readlink]) + gl_PREREQ_READLINK +fi +gl_UNISTD_MODULE_INDICATOR([readlink]) + +Makefile.am: + +Include: +<unistd.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/readlink-tests b/gnulib/modules/readlink-tests new file mode 100644 index 0000000..cbd84a5 --- /dev/null +++ b/gnulib/modules/readlink-tests @@ -0,0 +1,16 @@ +Files: +tests/test-readlink.h +tests/test-readlink.c +tests/signature.h +tests/macros.h + +Depends-on: +ignore-value +stdbool +symlink + +configure.ac: + +Makefile.am: +TESTS += test-readlink +check_PROGRAMS += test-readlink diff --git a/gnulib/modules/readlinkat b/gnulib/modules/readlinkat new file mode 100644 index 0000000..f31d3fe --- /dev/null +++ b/gnulib/modules/readlinkat @@ -0,0 +1,39 @@ +Description: +readlinkat() function: read symlinks relative to a directory + +Files: +lib/readlinkat.c +lib/at-func.c +m4/readlinkat.m4 + +Depends-on: +unistd +extensions +at-internal [test $HAVE_READLINKAT = 0] +dosname [test $HAVE_READLINKAT = 0] +errno [test $HAVE_READLINKAT = 0] +fchdir [test $HAVE_READLINKAT = 0] +fcntl-h [test $HAVE_READLINKAT = 0] +openat-die [test $HAVE_READLINKAT = 0] +openat-h [test $HAVE_READLINKAT = 0] +save-cwd [test $HAVE_READLINKAT = 0] +readlink [test $HAVE_READLINKAT = 0] + +configure.ac: +gl_FUNC_READLINKAT +if test $HAVE_READLINKAT = 0; then + AC_LIBOBJ([readlinkat]) +fi +gl_UNISTD_MODULE_INDICATOR([readlinkat]) + +Makefile.am: + +Include: +<fcntl.h> +<unistd.h> + +License: +GPL + +Maintainer: +Jim Meyering, Eric Blake diff --git a/gnulib/modules/readlinkat-tests b/gnulib/modules/readlinkat-tests new file mode 100644 index 0000000..1fdaa59 --- /dev/null +++ b/gnulib/modules/readlinkat-tests @@ -0,0 +1,18 @@ +Files: +tests/test-readlink.h +tests/test-readlinkat.c +tests/signature.h +tests/macros.h + +Depends-on: +ignore-value +openat +symlinkat +unlinkat + +configure.ac: + +Makefile.am: +TESTS += test-readlinkat +check_PROGRAMS += test-readlinkat +test_readlinkat_LDADD = $(LDADD) @LIBINTL@ diff --git a/gnulib/modules/readme-release b/gnulib/modules/readme-release new file mode 100644 index 0000000..a2128bf --- /dev/null +++ b/gnulib/modules/readme-release @@ -0,0 +1,31 @@ +Description: +Add release instructions customized for the package. + +You should add a line like + +perl -pi -e "s/\@PACKAGE\@/$package/g" README-release + +to autogen.sh or bootstrap.conf's epilogue function to patch the +package name in. This is particularly handy for making various URLs +copy-and-pastable. + +Note that, as with any gnulib-tool supplied file, README-release can +be customized via a .diff file. This is an easy way to add +package-specific instructions. + +Files: +top/README-release + +Depends-on: + +configure.ac: + +Makefile.am: + +Include: + +License: +GPLed build tool + +Maintainer: +bug-gnulib@gnu.org diff --git a/gnulib/modules/readtokens b/gnulib/modules/readtokens new file mode 100644 index 0000000..2496a96 --- /dev/null +++ b/gnulib/modules/readtokens @@ -0,0 +1,26 @@ +Description: +Read tokens from a stream. + +Files: +lib/readtokens.h +lib/readtokens.c +m4/readtokens.m4 + +Depends-on: +xalloc +stdbool + +configure.ac: +gl_READTOKENS + +Makefile.am: +lib_SOURCES += readtokens.c + +Include: +"readtokens.h" + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/readtokens0 b/gnulib/modules/readtokens0 new file mode 100644 index 0000000..a7b5631 --- /dev/null +++ b/gnulib/modules/readtokens0 @@ -0,0 +1,24 @@ +Description: +Read NUL-separated tokens from a stream. + +Files: +lib/readtokens0.h +lib/readtokens0.c + +Depends-on: +obstack +stdbool + +configure.ac: + +Makefile.am: +lib_SOURCES += readtokens0.h readtokens0.c + +Include: +"readtokens0.h" + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/readutmp b/gnulib/modules/readutmp new file mode 100644 index 0000000..51f6290 --- /dev/null +++ b/gnulib/modules/readutmp @@ -0,0 +1,30 @@ +Description: +Read entire utmp file into memory. + +Files: +lib/readutmp.h +lib/readutmp.c +m4/readutmp.m4 + +Depends-on: +extensions +xalloc +stdbool +stdint + +configure.ac: +gl_READUTMP +if test $ac_cv_header_utmp_h = yes || test $ac_cv_header_utmpx_h = yes; then + AC_LIBOBJ([readutmp]) +fi + +Makefile.am: + +Include: +"readutmp.h" + +License: +GPL + +Maintainer: +Jim Meyering & Paul Eggert diff --git a/gnulib/modules/realloc b/gnulib/modules/realloc new file mode 100644 index 0000000..b712e02 --- /dev/null +++ b/gnulib/modules/realloc @@ -0,0 +1,31 @@ +Description: +realloc() function that is glibc compatible. + +Comment: +This module should not be used as a dependency from a test module, +otherwise when this module occurs as a tests-related module, it will +have side effects on the compilation of the main modules in lib/. + +Status: +deprecated + +Notice: +This module is deprecated. Use the module 'realloc-gnu' instead. + +Files: + +Depends-on: +realloc-gnu + +configure.ac: + +Makefile.am: + +Include: +<stdlib.h> + +License: +LGPLv2+ + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/realloc-gnu b/gnulib/modules/realloc-gnu new file mode 100644 index 0000000..760edcd --- /dev/null +++ b/gnulib/modules/realloc-gnu @@ -0,0 +1,31 @@ +Description: +realloc() function that is glibc compatible. + +Comment: +This module should not be used as a dependency from a test module, +otherwise when this module occurs as a tests-related module, it will +have side effects on the compilation of the main modules in lib/. + +Files: +lib/realloc.c + +Depends-on: +realloc-posix + +configure.ac: +gl_FUNC_REALLOC_GNU +if test $REPLACE_REALLOC = 1; then + AC_LIBOBJ([realloc]) +fi +gl_MODULE_INDICATOR([realloc-gnu]) + +Makefile.am: + +Include: +<stdlib.h> + +License: +LGPLv2+ + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/realloc-gnu-tests b/gnulib/modules/realloc-gnu-tests new file mode 100644 index 0000000..959d5d4 --- /dev/null +++ b/gnulib/modules/realloc-gnu-tests @@ -0,0 +1,10 @@ +Files: +tests/test-realloc-gnu.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-realloc-gnu +check_PROGRAMS += test-realloc-gnu diff --git a/gnulib/modules/realloc-posix b/gnulib/modules/realloc-posix new file mode 100644 index 0000000..20270e6 --- /dev/null +++ b/gnulib/modules/realloc-posix @@ -0,0 +1,29 @@ +Description: +realloc() function: allocate memory with indefinite extent. + +Files: +lib/realloc.c +m4/realloc.m4 +m4/malloc.m4 + +Depends-on: +stdlib + +configure.ac: +gl_FUNC_REALLOC_POSIX +if test $REPLACE_REALLOC = 1; then + AC_LIBOBJ([realloc]) +fi +gl_STDLIB_MODULE_INDICATOR([realloc-posix]) + +Makefile.am: + +Include: +<stdlib.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/recv b/gnulib/modules/recv new file mode 100644 index 0000000..b47d8f5 --- /dev/null +++ b/gnulib/modules/recv @@ -0,0 +1,33 @@ +Description: +recv() function: receive (read) data from a connected socket. + +Files: +lib/recv.c +lib/w32sock.h + +Depends-on: +sys_socket +socketlib +errno [test "$ac_cv_header_winsock2_h" = yes] +msvc-nothrow [test "$ac_cv_header_winsock2_h" = yes] + +configure.ac: +AC_REQUIRE([gl_HEADER_SYS_SOCKET]) +if test "$ac_cv_header_winsock2_h" = yes; then + AC_LIBOBJ([recv]) +fi +gl_SYS_SOCKET_MODULE_INDICATOR([recv]) + +Makefile.am: + +Include: +<sys/socket.h> + +Link: +$(LIBSOCKET) + +License: +LGPLv2+ + +Maintainer: +Paolo Bonzini, Simon Josefsson diff --git a/gnulib/modules/recv-tests b/gnulib/modules/recv-tests new file mode 100644 index 0000000..e533611 --- /dev/null +++ b/gnulib/modules/recv-tests @@ -0,0 +1,14 @@ +Files: +tests/test-recv.c +tests/signature.h +tests/macros.h + +Depends-on: +sockets + +configure.ac: + +Makefile.am: +TESTS += test-recv +check_PROGRAMS += test-recv +test_recv_LDADD = $(LDADD) @LIBSOCKET@ diff --git a/gnulib/modules/recvfrom b/gnulib/modules/recvfrom new file mode 100644 index 0000000..2b051b4 --- /dev/null +++ b/gnulib/modules/recvfrom @@ -0,0 +1,34 @@ +Description: +recvfrom() function: receive (read) data from a potentially unconnected socket. + +Files: +lib/recvfrom.c +lib/w32sock.h + +Depends-on: +sys_socket +socketlib +errno [test "$ac_cv_header_winsock2_h" = yes] +getpeername [test "$ac_cv_header_winsock2_h" = yes] +msvc-nothrow [test "$ac_cv_header_winsock2_h" = yes] + +configure.ac: +AC_REQUIRE([gl_HEADER_SYS_SOCKET]) +if test "$ac_cv_header_winsock2_h" = yes; then + AC_LIBOBJ([recvfrom]) +fi +gl_SYS_SOCKET_MODULE_INDICATOR([recvfrom]) + +Makefile.am: + +Include: +<sys/socket.h> + +Link: +$(LIBSOCKET) + +License: +LGPLv2+ + +Maintainer: +Paolo Bonzini, Simon Josefsson diff --git a/gnulib/modules/recvfrom-tests b/gnulib/modules/recvfrom-tests new file mode 100644 index 0000000..ac20942 --- /dev/null +++ b/gnulib/modules/recvfrom-tests @@ -0,0 +1,15 @@ +Files: +tests/test-recvfrom.c +tests/signature.h +tests/macros.h + +Depends-on: +netinet_in +sockets + +configure.ac: + +Makefile.am: +TESTS += test-recvfrom +check_PROGRAMS += test-recvfrom +test_recvfrom_LDADD = $(LDADD) @LIBSOCKET@ diff --git a/gnulib/modules/regex b/gnulib/modules/regex new file mode 100644 index 0000000..3effe89 --- /dev/null +++ b/gnulib/modules/regex @@ -0,0 +1,53 @@ +Description: +Regular expression matching. + +Files: +lib/regex.h +lib/regex.c +lib/regex_internal.c +lib/regex_internal.h +lib/regexec.c +lib/regcomp.c +m4/regex.m4 +m4/mbstate_t.m4 + +Depends-on: +extensions +ssize_t +alloca-opt [test $ac_use_included_regex = yes] +btowc [test $ac_use_included_regex = yes] +gettext-h [test $ac_use_included_regex = yes] +localcharset [test $ac_use_included_regex = yes] +malloc-gnu [test $ac_use_included_regex = yes] +memcmp [test $ac_use_included_regex = yes] +memmove [test $ac_use_included_regex = yes] +mbrtowc [test $ac_use_included_regex = yes] +mbsinit [test $ac_use_included_regex = yes] +nl_langinfo [test $ac_use_included_regex = yes] +stdbool [test $ac_use_included_regex = yes] +stdint [test $ac_use_included_regex = yes] +strcase [test $ac_use_included_regex = yes] +wchar [test $ac_use_included_regex = yes] +wcrtomb [test $ac_use_included_regex = yes] +wctype-h [test $ac_use_included_regex = yes] + +configure.ac: +gl_REGEX +if test $ac_use_included_regex = yes; then + AC_LIBOBJ([regex]) + gl_PREREQ_REGEX +fi + +Makefile.am: + +Include: +<regex.h> + +Link: +$(LTLIBINTL) when linking with libtool, $(LIBINTL) otherwise + +License: +LGPLv2+ + +Maintainer: +all diff --git a/gnulib/modules/regex-quote b/gnulib/modules/regex-quote new file mode 100644 index 0000000..0f008cf --- /dev/null +++ b/gnulib/modules/regex-quote @@ -0,0 +1,25 @@ +Description: +Construct a regular expression from a literal string. + +Files: +lib/regex-quote.h +lib/regex-quote.c + +Depends-on: +stdbool +xalloc +mbuiter + +configure.ac: + +Makefile.am: +lib_SOURCES += regex-quote.c + +Include: +"regex-quote.h" + +License: +GPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/regex-quote-tests b/gnulib/modules/regex-quote-tests new file mode 100644 index 0000000..a1a63cd --- /dev/null +++ b/gnulib/modules/regex-quote-tests @@ -0,0 +1,14 @@ +Files: +tests/test-regex-quote.c +tests/macros.h + +Depends-on: +regex +xalloc + +configure.ac: + +Makefile.am: +TESTS += test-regex-quote +check_PROGRAMS += test-regex-quote +test_regex_quote_LDADD = $(LDADD) $(LIBINTL) diff --git a/gnulib/modules/regexprops-generic b/gnulib/modules/regexprops-generic new file mode 100644 index 0000000..3a7f547 --- /dev/null +++ b/gnulib/modules/regexprops-generic @@ -0,0 +1,19 @@ +Description: +Describe the various regular expression flavors. + +Files: +doc/regexprops-generic.texi + +Depends-on: + +configure.ac: + +Makefile.am: + +Include: + +License: +public domain + +Maintainer: +James Youngman diff --git a/gnulib/modules/relocatable-lib b/gnulib/modules/relocatable-lib new file mode 100644 index 0000000..e86f8c5 --- /dev/null +++ b/gnulib/modules/relocatable-lib @@ -0,0 +1,31 @@ +Description: +Help make libraries relocatable, that is, to allow them to function +properly when copied to an arbitrary directory. + +Files: +doc/relocatable.texi +lib/relocatable.h +lib/relocatable.c +m4/relocatable-lib.m4 + +Depends-on: +xalloc +strdup + +configure.ac: +gl_RELOCATABLE_LIBRARY +if test $RELOCATABLE = yes; then + AC_LIBOBJ([relocatable]) +fi + +Makefile.am: + +Include: +"relocatable.h" + +License: +GPL + +Maintainer: +Bruno Haible, Ben Pfaff + diff --git a/gnulib/modules/relocatable-lib-lgpl b/gnulib/modules/relocatable-lib-lgpl new file mode 100644 index 0000000..40fa815 --- /dev/null +++ b/gnulib/modules/relocatable-lib-lgpl @@ -0,0 +1,28 @@ +Description: +Help make libraries relocatable, that is, to allow them to function +properly when copied to an arbitrary directory. + +Files: +doc/relocatable.texi +lib/relocatable.h +lib/relocatable.c +m4/relocatable-lib.m4 + +Depends-on: +strdup + +configure.ac: +gl_RELOCATABLE_LIBRARY + +Makefile.am: +DEFS += -DNO_XMALLOC + +Include: +"relocatable.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible, Ben Pfaff + diff --git a/gnulib/modules/relocatable-prog b/gnulib/modules/relocatable-prog new file mode 100644 index 0000000..72bc253 --- /dev/null +++ b/gnulib/modules/relocatable-prog @@ -0,0 +1,60 @@ +Description: +Help make programs relocatable, that is, to allow them to function +properly when copied to an arbitrary directory. + +Files: +build-aux/config.libpath +build-aux/reloc-ldflags +doc/relocatable.texi +lib/relocatable.h +lib/relocatable.c +lib/progreloc.c +m4/relocatable.m4 +m4/relocatable-lib.m4 +m4/lib-ld.m4 + +Depends-on: +relocatable-prog-wrapper +progname +canonicalize-lgpl +xalloc +xreadlink +stdbool +unistd +memcmp +strdup + +configure.ac: +gl_RELOCATABLE([$gl_source_base]) +if test $RELOCATABLE = yes; then + AC_LIBOBJ([progreloc]) + AC_LIBOBJ([relocatable]) +fi + +Makefile.am: +DEFS += -DEXEEXT=\"@EXEEXT@\" +if RELOCATABLE_VIA_WRAPPER +uninstall-hook: uninstall-relocwrapper +uninstall-relocwrapper: + if test $(RELOCATABLE) = yes; then \ + case '$(EXEEXT)' in \ + .bin*) ;; \ + *) cd $(top_builddir) && \ + $(MAKE) $(AM_MAKEFLAGS) EXEEXT=.bin$(EXEEXT) \ + AM_MAKEFLAGS='$(AM_MAKEFLAGS) EXEEXT=.bin$(EXEEXT)' \ + uninstall ;; \ + esac; \ + fi +.PHONY: uninstall-relocwrapper +endif + +Include: +"relocatable.h" +"progname.h" + +License: +GPL + +Maintainer: +Bruno Haible, Ben Pfaff + diff --git a/gnulib/modules/relocatable-prog-wrapper b/gnulib/modules/relocatable-prog-wrapper new file mode 100644 index 0000000..8ff11d4 --- /dev/null +++ b/gnulib/modules/relocatable-prog-wrapper @@ -0,0 +1,65 @@ +Description: +Source for the wrapper program that is required for making programs relocatable +that depend on shared libraries installed with the same installation prefix. + +Files: +build-aux/install-reloc +lib/relocwrapper.c +lib/progname.h +lib/progname.c +lib/progreloc.c +lib/areadlink.h +lib/areadlink.c +lib/careadlinkat.h +lib/careadlinkat.c +lib/allocator.h +lib/allocator.c +lib/readlink.c +lib/canonicalize-lgpl.c +lib/malloca.h +lib/malloca.c +lib/relocatable.h +lib/relocatable.c +lib/setenv.c +lib/c-ctype.h +lib/c-ctype.c +m4/malloca.m4 +m4/canonicalize.m4 +m4/eealloc.m4 +m4/environ.m4 +m4/longlong.m4 +m4/readlink.m4 +m4/relocatable-lib.m4 +m4/setenv.m4 + +Depends-on: +alloca-opt +double-slash-root +errno +pathmax +ssize_t +stdbool +stdlib +unistd +environ +intprops +string +verify + +configure.ac: +gl_FUNC_READLINK_SEPARATE +gl_CANONICALIZE_LGPL_SEPARATE +gl_MALLOCA +gl_RELOCATABLE_LIBRARY +gl_FUNC_SETENV_SEPARATE + +Makefile.am: + +Include: + +License: +GPL + +Maintainer: +Bruno Haible, Ben Pfaff + diff --git a/gnulib/modules/relocatable-script b/gnulib/modules/relocatable-script new file mode 100644 index 0000000..2cdd6ae --- /dev/null +++ b/gnulib/modules/relocatable-script @@ -0,0 +1,26 @@ +Description: +Help make shell scripts relocatable, that is, to allow them to +function properly when copied to an arbitrary directory. + +Files: +doc/relocatable.texi +build-aux/relocatable.sh.in +m4/relocatable-lib.m4 + +Depends-on: + +configure.ac: +AC_REQUIRE([gl_RELOCATABLE_NOP]) +relocatable_sh=$ac_aux_dir/relocatable.sh.in +AC_SUBST_FILE([relocatable_sh]) + +Makefile.am: + +Include: + +License: +GPL + +Maintainer: +Bruno Haible, Ben Pfaff + diff --git a/gnulib/modules/remainder b/gnulib/modules/remainder new file mode 100644 index 0000000..36d75bd --- /dev/null +++ b/gnulib/modules/remainder @@ -0,0 +1,24 @@ +Description: +remainder() function: floating-point remainder function. + +Files: +m4/mathfunc.m4 + +Depends-on: + +configure.ac: +gl_COMMON_DOUBLE_MATHFUNC([remainder]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(REMAINDER_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/remainder-tests b/gnulib/modules/remainder-tests new file mode 100644 index 0000000..6832a49 --- /dev/null +++ b/gnulib/modules/remainder-tests @@ -0,0 +1,13 @@ +Files: +tests/test-remainder.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-remainder +check_PROGRAMS += test-remainder +test_remainder_LDADD = $(LDADD) @REMAINDER_LIBM@ diff --git a/gnulib/modules/remove b/gnulib/modules/remove new file mode 100644 index 0000000..0caf48a --- /dev/null +++ b/gnulib/modules/remove @@ -0,0 +1,29 @@ +Description: +remove() function: remove a file or directory + +Files: +lib/remove.c +m4/remove.m4 + +Depends-on: +stdio +rmdir [test $REPLACE_REMOVE = 1] +unlink [test $REPLACE_REMOVE = 1] + +configure.ac: +gl_FUNC_REMOVE +if test $REPLACE_REMOVE = 1; then + AC_LIBOBJ([remove]) +fi +gl_STDIO_MODULE_INDICATOR([remove]) + +Makefile.am: + +Include: +<stdio.h> + +License: +LGPL + +Maintainer: +Eric Blake diff --git a/gnulib/modules/remove-tests b/gnulib/modules/remove-tests new file mode 100644 index 0000000..498c7d6 --- /dev/null +++ b/gnulib/modules/remove-tests @@ -0,0 +1,15 @@ +Files: +tests/test-remove.c +tests/signature.h +tests/macros.h + +Depends-on: +ignore-value +symlink +sys_stat + +configure.ac: + +Makefile.am: +TESTS += test-remove +check_PROGRAMS += test-remove diff --git a/gnulib/modules/rename b/gnulib/modules/rename new file mode 100644 index 0000000..582d630 --- /dev/null +++ b/gnulib/modules/rename @@ -0,0 +1,35 @@ +Description: +rename() function: change the name or location of a file. + +Files: +lib/rename.c +m4/rename.m4 + +Depends-on: +stdio +canonicalize-lgpl [test $REPLACE_RENAME = 1] +chdir [test $REPLACE_RENAME = 1] +dirname-lgpl [test $REPLACE_RENAME = 1] +lstat [test $REPLACE_RENAME = 1] +rmdir [test $REPLACE_RENAME = 1] +same-inode [test $REPLACE_RENAME = 1] +stdbool [test $REPLACE_RENAME = 1] +strdup [test $REPLACE_RENAME = 1] + +configure.ac: +gl_FUNC_RENAME +if test $REPLACE_RENAME = 1; then + AC_LIBOBJ([rename]) +fi +gl_STDIO_MODULE_INDICATOR([rename]) + +Makefile.am: + +Include: +<stdio.h> + +License: +LGPLv2+ + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/rename-dest-slash b/gnulib/modules/rename-dest-slash new file mode 100644 index 0000000..e175761 --- /dev/null +++ b/gnulib/modules/rename-dest-slash @@ -0,0 +1,26 @@ +Description: +rename() function: change the name or location of a file. + +Status: +deprecated + +Notice: +This module is deprecated. Use the 'rename' module instead. + +Files: + +Depends-on: +rename + +configure.ac: + +Makefile.am: + +Include: +<stdio.h> + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/rename-tests b/gnulib/modules/rename-tests new file mode 100644 index 0000000..b3cd973 --- /dev/null +++ b/gnulib/modules/rename-tests @@ -0,0 +1,22 @@ +Files: +tests/test-rename.h +tests/test-rename.c +tests/signature.h +tests/macros.h + +Depends-on: +ignore-value +errno +link +stdbool +symlink +sys_stat +opendir +readdir +closedir + +configure.ac: + +Makefile.am: +TESTS += test-rename +check_PROGRAMS += test-rename diff --git a/gnulib/modules/renameat b/gnulib/modules/renameat new file mode 100644 index 0000000..ca03f9a --- /dev/null +++ b/gnulib/modules/renameat @@ -0,0 +1,46 @@ +Description: +renameat() function: rename a file, relative to two directories + +Files: +lib/at-func2.c +lib/renameat.c +m4/renameat.m4 + +Depends-on: +stdio +extensions +fcntl-h +filenamecat-lgpl [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1] +openat-h [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1] +fstatat [test $REPLACE_RENAMEAT = 1] +stdbool [test $REPLACE_RENAMEAT = 1] +at-internal [test $HAVE_RENAMEAT = 0] +dosname [test $HAVE_RENAMEAT = 0] +fstat [test $HAVE_RENAMEAT = 0] +getcwd-lgpl [test $HAVE_RENAMEAT = 0] +openat-die [test $HAVE_RENAMEAT = 0] +rename [test $HAVE_RENAMEAT = 0] +same-inode [test $HAVE_RENAMEAT = 0] +save-cwd [test $HAVE_RENAMEAT = 0] + +configure.ac: +gl_FUNC_RENAMEAT +if test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1; then + AC_LIBOBJ([renameat]) +fi +if test $HAVE_RENAMEAT = 0; then + AC_LIBOBJ([at-func2]) +fi +gl_STDIO_MODULE_INDICATOR([renameat]) + +Makefile.am: + +Include: +<fcntl.h> +<stdio.h> + +License: +GPL + +Maintainer: +Jim Meyering, Eric Blake diff --git a/gnulib/modules/renameat-tests b/gnulib/modules/renameat-tests new file mode 100644 index 0000000..970ebd7 --- /dev/null +++ b/gnulib/modules/renameat-tests @@ -0,0 +1,20 @@ +Files: +tests/test-rename.h +tests/test-renameat.c +tests/signature.h +tests/macros.h + +Depends-on: +ignore-value +filenamecat +getcwd-lgpl +opendir +readdir +closedir + +configure.ac: + +Makefile.am: +TESTS += test-renameat +check_PROGRAMS += test-renameat +test_renameat_LDADD = $(LDADD) @LIBINTL@ diff --git a/gnulib/modules/rewinddir b/gnulib/modules/rewinddir new file mode 100644 index 0000000..050cfe8 --- /dev/null +++ b/gnulib/modules/rewinddir @@ -0,0 +1,30 @@ +Description: +rewinddir() function: restart reading the entries of a directory from the +beginning + +Files: +lib/rewinddir.c +lib/dirent-private.h +m4/rewinddir.m4 + +Depends-on: +dirent +largefile + +configure.ac: +gl_FUNC_REWINDDIR +if test $HAVE_REWINDDIR = 0; then + AC_LIBOBJ([rewinddir]) +fi +gl_DIRENT_MODULE_INDICATOR([rewinddir]) + +Makefile.am: + +Include: +<dirent.h> + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/rint b/gnulib/modules/rint new file mode 100644 index 0000000..08cdc4c --- /dev/null +++ b/gnulib/modules/rint @@ -0,0 +1,31 @@ +Description: +rint() function: round according to the current rounding mode. + +Files: +lib/rint.c +m4/rint.m4 +m4/mathfunc.m4 + +Depends-on: +math + +configure.ac: +gl_FUNC_RINT +if test $HAVE_RINT = 0; then + AC_LIBOBJ([rint]) +fi +gl_MATH_MODULE_INDICATOR([rint]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(RINT_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/rint-tests b/gnulib/modules/rint-tests new file mode 100644 index 0000000..bb69767 --- /dev/null +++ b/gnulib/modules/rint-tests @@ -0,0 +1,17 @@ +Files: +tests/test-rint.c +tests/minus-zero.h +tests/infinity.h +tests/nan.h +tests/signature.h +tests/macros.h + +Depends-on: +isnand-nolibm + +configure.ac: + +Makefile.am: +TESTS += test-rint +check_PROGRAMS += test-rint +test_rint_LDADD = $(LDADD) @RINT_LIBM@ diff --git a/gnulib/modules/rintf b/gnulib/modules/rintf new file mode 100644 index 0000000..92b93a3 --- /dev/null +++ b/gnulib/modules/rintf @@ -0,0 +1,32 @@ +Description: +rintf() function: round according to the current rounding mode. + +Files: +lib/rintf.c +lib/rint.c +m4/rintf.m4 +m4/mathfunc.m4 + +Depends-on: +math + +configure.ac: +gl_FUNC_RINTF +if test $HAVE_RINTF = 0; then + AC_LIBOBJ([rintf]) +fi +gl_MATH_MODULE_INDICATOR([rintf]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(RINTF_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/rintf-tests b/gnulib/modules/rintf-tests new file mode 100644 index 0000000..1b5a9c1 --- /dev/null +++ b/gnulib/modules/rintf-tests @@ -0,0 +1,17 @@ +Files: +tests/test-rintf.c +tests/minus-zero.h +tests/infinity.h +tests/nan.h +tests/signature.h +tests/macros.h + +Depends-on: +isnanf-nolibm + +configure.ac: + +Makefile.am: +TESTS += test-rintf +check_PROGRAMS += test-rintf +test_rintf_LDADD = $(LDADD) @RINTF_LIBM@ diff --git a/gnulib/modules/rintl b/gnulib/modules/rintl new file mode 100644 index 0000000..dac2618 --- /dev/null +++ b/gnulib/modules/rintl @@ -0,0 +1,33 @@ +Description: +rintl() function: round according to the current rounding mode. + +Files: +lib/rintl.c +lib/rint.c +m4/rintl.m4 +m4/mathfunc.m4 + +Depends-on: +math +rint [test $HAVE_RINTL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1] + +configure.ac: +gl_FUNC_RINTL +if test $HAVE_RINTL = 0; then + AC_LIBOBJ([rintl]) +fi +gl_MATH_MODULE_INDICATOR([rintl]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(RINTL_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/rintl-tests b/gnulib/modules/rintl-tests new file mode 100644 index 0000000..3a1d80d --- /dev/null +++ b/gnulib/modules/rintl-tests @@ -0,0 +1,19 @@ +Files: +tests/test-rintl.c +tests/minus-zero.h +tests/infinity.h +tests/nan.h +tests/signature.h +tests/macros.h + +Depends-on: +fpucw +isnanl-nolibm +float + +configure.ac: + +Makefile.am: +TESTS += test-rintl +check_PROGRAMS += test-rintl +test_rintl_LDADD = $(LDADD) @RINTL_LIBM@ diff --git a/gnulib/modules/rmdir b/gnulib/modules/rmdir new file mode 100644 index 0000000..59a9dba --- /dev/null +++ b/gnulib/modules/rmdir @@ -0,0 +1,29 @@ +Description: +rmdir() function: delete a directory. + +Files: +lib/rmdir.c +m4/rmdir.m4 + +Depends-on: +unistd +dosname [test $REPLACE_RMDIR = 1] +sys_stat [test $REPLACE_RMDIR = 1] + +configure.ac: +gl_FUNC_RMDIR +if test $REPLACE_RMDIR = 1; then + AC_LIBOBJ([rmdir]) +fi +gl_UNISTD_MODULE_INDICATOR([rmdir]) + +Makefile.am: + +Include: +<unistd.h> + +License: +LGPLv2+ + +Maintainer: +Jim Meyering, Eric Blake diff --git a/gnulib/modules/rmdir-errno b/gnulib/modules/rmdir-errno new file mode 100644 index 0000000..ef02a95 --- /dev/null +++ b/gnulib/modules/rmdir-errno @@ -0,0 +1,26 @@ +Description: +rmdir errno for nonempty directories + +Status: +obsolete + +Notice: +This module is obsolete. + +Files: +m4/rmdir-errno.m4 + +Depends-on: + +configure.ac: +gl_FUNC_RMDIR_NOTEMPTY + +Makefile.am: + +Include: + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/rmdir-tests b/gnulib/modules/rmdir-tests new file mode 100644 index 0000000..19a5240 --- /dev/null +++ b/gnulib/modules/rmdir-tests @@ -0,0 +1,16 @@ +Files: +tests/test-rmdir.h +tests/test-rmdir.c +tests/signature.h +tests/macros.h + +Depends-on: +ignore-value +stdbool +symlink + +configure.ac: + +Makefile.am: +TESTS += test-rmdir +check_PROGRAMS += test-rmdir diff --git a/gnulib/modules/round b/gnulib/modules/round new file mode 100644 index 0000000..6fe95a2 --- /dev/null +++ b/gnulib/modules/round @@ -0,0 +1,37 @@ +Description: +round() function: round toward nearest, breaking ties away from zero. + +Files: +lib/round.c +m4/check-math-lib.m4 +m4/round.m4 +m4/floor.m4 +m4/ceil.m4 + +Depends-on: +math +extensions +float [test $HAVE_DECL_ROUND = 0 || test $REPLACE_ROUND = 1] +floor [test $HAVE_DECL_ROUND = 0 || test $REPLACE_ROUND = 1] + +configure.ac: +gl_FUNC_ROUND +if test $HAVE_DECL_ROUND = 0 || test $REPLACE_ROUND = 1; then + AC_LIBOBJ([round]) +fi +gl_MATH_MODULE_INDICATOR([round]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(ROUND_LIBM) + +License: +LGPL + +Maintainer: +Ben Pfaff + diff --git a/gnulib/modules/round-ieee b/gnulib/modules/round-ieee new file mode 100644 index 0000000..407e781 --- /dev/null +++ b/gnulib/modules/round-ieee @@ -0,0 +1,29 @@ +Description: +round() function according to ISO C 99 with IEC 60559. + +Files: +m4/round-ieee.m4 +m4/minus-zero.m4 +m4/signbit.m4 + +Depends-on: +round +floor-ieee [test $HAVE_DECL_ROUND = 0 || test $REPLACE_ROUND = 1] +ceil-ieee [test $HAVE_DECL_ROUND = 0 || test $REPLACE_ROUND = 1] + +configure.ac: +gl_FUNC_ROUND_IEEE + +Makefile.am: + +Include: +<math.h> + +Link: +$(ROUND_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/round-ieee-tests b/gnulib/modules/round-ieee-tests new file mode 100644 index 0000000..6e32da5 --- /dev/null +++ b/gnulib/modules/round-ieee-tests @@ -0,0 +1,15 @@ +Files: +tests/test-round-ieee.c +tests/minus-zero.h +tests/macros.h + +Depends-on: +float +signbit + +configure.ac: + +Makefile.am: +TESTS += test-round-ieee +check_PROGRAMS += test-round-ieee +test_round_ieee_LDADD = $(LDADD) @ROUND_LIBM@ diff --git a/gnulib/modules/round-tests b/gnulib/modules/round-tests new file mode 100644 index 0000000..2c4b37b --- /dev/null +++ b/gnulib/modules/round-tests @@ -0,0 +1,22 @@ +Files: +tests/test-round1.c +tests/test-round2.c +tests/minus-zero.h +tests/infinity.h +tests/nan.h +tests/signature.h +tests/macros.h + +Depends-on: +isnand-nolibm +stdbool +stdint +verify + +configure.ac: + +Makefile.am: +TESTS += test-round1 test-round2 +check_PROGRAMS += test-round1 test-round2 +test_round1_LDADD = $(LDADD) @ROUND_LIBM@ +test_round2_LDADD = $(LDADD) @ROUND_LIBM@ diff --git a/gnulib/modules/roundf b/gnulib/modules/roundf new file mode 100644 index 0000000..86d758b --- /dev/null +++ b/gnulib/modules/roundf @@ -0,0 +1,37 @@ +Description: +roundf() function: round toward nearest, breaking ties away from zero. + +Files: +lib/round.c +lib/roundf.c +m4/check-math-lib.m4 +m4/roundf.m4 +m4/floorf.m4 +m4/ceilf.m4 + +Depends-on: +math +extensions +float [test $HAVE_DECL_ROUNDF = 0 || test $REPLACE_ROUNDF = 1] + +configure.ac: +gl_FUNC_ROUNDF +if test $HAVE_DECL_ROUNDF = 0 || test $REPLACE_ROUNDF = 1; then + AC_LIBOBJ([roundf]) +fi +gl_MATH_MODULE_INDICATOR([roundf]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(ROUNDF_LIBM) + +License: +LGPL + +Maintainer: +Ben Pfaff + diff --git a/gnulib/modules/roundf-ieee b/gnulib/modules/roundf-ieee new file mode 100644 index 0000000..6496cc3 --- /dev/null +++ b/gnulib/modules/roundf-ieee @@ -0,0 +1,29 @@ +Description: +roundf() function according to ISO C 99 with IEC 60559. + +Files: +m4/roundf-ieee.m4 +m4/minus-zero.m4 +m4/signbit.m4 + +Depends-on: +roundf +floorf-ieee [test $HAVE_DECL_ROUNDF = 0 || test $REPLACE_ROUNDF = 1] +ceilf-ieee [test $HAVE_DECL_ROUNDF = 0 || test $REPLACE_ROUNDF = 1] + +configure.ac: +gl_FUNC_ROUNDF_IEEE + +Makefile.am: + +Include: +<math.h> + +Link: +$(ROUNDF_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/roundf-ieee-tests b/gnulib/modules/roundf-ieee-tests new file mode 100644 index 0000000..de231a5 --- /dev/null +++ b/gnulib/modules/roundf-ieee-tests @@ -0,0 +1,15 @@ +Files: +tests/test-roundf-ieee.c +tests/minus-zero.h +tests/macros.h + +Depends-on: +float +signbit + +configure.ac: + +Makefile.am: +TESTS += test-roundf-ieee +check_PROGRAMS += test-roundf-ieee +test_roundf_ieee_LDADD = $(LDADD) @ROUNDF_LIBM@ diff --git a/gnulib/modules/roundf-tests b/gnulib/modules/roundf-tests new file mode 100644 index 0000000..cd8af30 --- /dev/null +++ b/gnulib/modules/roundf-tests @@ -0,0 +1,25 @@ +Files: +tests/test-roundf1.c +tests/test-round2.c +tests/test-roundf2.c +tests/minus-zero.h +tests/infinity.h +tests/nan.h +tests/signature.h +tests/macros.h + +Depends-on: +ceilf +floorf +isnanf-nolibm +stdbool +stdint +verify + +configure.ac: + +Makefile.am: +TESTS += test-roundf1 test-roundf2 +check_PROGRAMS += test-roundf1 test-roundf2 +test_roundf1_LDADD = $(LDADD) @ROUNDF_LIBM@ +test_roundf2_LDADD = $(LDADD) @ROUNDF_LIBM@ diff --git a/gnulib/modules/roundl b/gnulib/modules/roundl new file mode 100644 index 0000000..3b5c962 --- /dev/null +++ b/gnulib/modules/roundl @@ -0,0 +1,38 @@ +Description: +roundl() function: round toward nearest, breaking ties away from zero. + +Files: +lib/round.c +lib/roundl.c +m4/check-math-lib.m4 +m4/roundl.m4 +m4/floorl.m4 +m4/ceill.m4 + +Depends-on: +math +extensions +round [{ test $HAVE_DECL_ROUNDL = 0 || test $REPLACE_ROUNDL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1] +float [{ test $HAVE_DECL_ROUNDL = 0 || test $REPLACE_ROUNDL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] + +configure.ac: +gl_FUNC_ROUNDL +if test $HAVE_DECL_ROUNDL = 0 || test $REPLACE_ROUNDL = 1; then + AC_LIBOBJ([roundl]) +fi +gl_MATH_MODULE_INDICATOR([roundl]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(ROUNDL_LIBM) + +License: +LGPL + +Maintainer: +Ben Pfaff + diff --git a/gnulib/modules/roundl-ieee b/gnulib/modules/roundl-ieee new file mode 100644 index 0000000..8788f30 --- /dev/null +++ b/gnulib/modules/roundl-ieee @@ -0,0 +1,29 @@ +Description: +roundl() function according to ISO C 99 with IEC 60559. + +Files: +m4/roundl-ieee.m4 +m4/minus-zero.m4 +m4/signbit.m4 + +Depends-on: +roundl +floorl-ieee +ceill-ieee + +configure.ac: +gl_FUNC_ROUNDL_IEEE + +Makefile.am: + +Include: +<math.h> + +Link: +$(ROUNDL_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/roundl-ieee-tests b/gnulib/modules/roundl-ieee-tests new file mode 100644 index 0000000..47cdf60 --- /dev/null +++ b/gnulib/modules/roundl-ieee-tests @@ -0,0 +1,15 @@ +Files: +tests/test-roundl-ieee.c +tests/minus-zero.h +tests/macros.h + +Depends-on: +float +signbit + +configure.ac: + +Makefile.am: +TESTS += test-roundl-ieee +check_PROGRAMS += test-roundl-ieee +test_roundl_ieee_LDADD = $(LDADD) @ROUNDL_LIBM@ diff --git a/gnulib/modules/roundl-tests b/gnulib/modules/roundl-tests new file mode 100644 index 0000000..7e7aca3 --- /dev/null +++ b/gnulib/modules/roundl-tests @@ -0,0 +1,19 @@ +Files: +tests/test-roundl.c +tests/minus-zero.h +tests/infinity.h +tests/nan.h +tests/signature.h +tests/macros.h + +Depends-on: +fpucw +isnanl-nolibm +float + +configure.ac: + +Makefile.am: +TESTS += test-roundl +check_PROGRAMS += test-roundl +test_roundl_LDADD = $(LDADD) @ROUNDL_LIBM@ diff --git a/gnulib/modules/rpmatch b/gnulib/modules/rpmatch new file mode 100644 index 0000000..f64286b --- /dev/null +++ b/gnulib/modules/rpmatch @@ -0,0 +1,37 @@ +Description: +Locale dependent classification of a response as matching "yes" or "no". + +Files: +lib/rpmatch.c +m4/rpmatch.m4 + +Depends-on: +stdlib +extensions +stdbool [test $HAVE_RPMATCH = 0] +gettext-h [test $HAVE_RPMATCH = 0] +regex [test $HAVE_RPMATCH = 0] +strdup [test $HAVE_RPMATCH = 0] + +configure.ac: +gl_FUNC_RPMATCH +if test $HAVE_RPMATCH = 0; then + AC_LIBOBJ([rpmatch]) + gl_PREREQ_RPMATCH +fi +gl_STDLIB_MODULE_INDICATOR([rpmatch]) + +Makefile.am: + +Include: +<stdlib.h> + +Link: +$(LTLIBINTL) when linking with libtool, $(LIBINTL) otherwise + +License: +GPL + +Maintainer: +Jim Meyering + diff --git a/gnulib/modules/safe-alloc b/gnulib/modules/safe-alloc new file mode 100644 index 0000000..94f799f --- /dev/null +++ b/gnulib/modules/safe-alloc @@ -0,0 +1,22 @@ +Description: +A set of macros to make calls to alloc/calloc/realloc safer. + +Files: +lib/safe-alloc.h +lib/safe-alloc.c +m4/safe-alloc.m4 + +configure.ac: +gl_SAFE_ALLOC + +Makefile.am: +lib_SOURCES += safe-alloc.c + +Include: +"safe-alloc.h" + +License: +LGPLv2+ + +Maintainer: +David Lutterkort diff --git a/gnulib/modules/safe-alloc-tests b/gnulib/modules/safe-alloc-tests new file mode 100644 index 0000000..06f771c --- /dev/null +++ b/gnulib/modules/safe-alloc-tests @@ -0,0 +1,11 @@ +Files: +tests/test-safe-alloc.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-safe-alloc +check_PROGRAMS += test-safe-alloc diff --git a/gnulib/modules/safe-read b/gnulib/modules/safe-read new file mode 100644 index 0000000..795b4d1 --- /dev/null +++ b/gnulib/modules/safe-read @@ -0,0 +1,26 @@ +Description: +An interface to the read() function that retries after interrupts. + +Files: +lib/safe-read.h +lib/safe-read.c +m4/safe-read.m4 + +Depends-on: +read +ssize_t + +configure.ac: +gl_PREREQ_SAFE_READ + +Makefile.am: +lib_SOURCES += safe-read.c + +Include: +"safe-read.h" + +License: +LGPLv2+ + +Maintainer: +Jim Meyering, Bruno Haible diff --git a/gnulib/modules/safe-write b/gnulib/modules/safe-write new file mode 100644 index 0000000..6248736 --- /dev/null +++ b/gnulib/modules/safe-write @@ -0,0 +1,28 @@ +Description: +An interface to the write() function that retries after interrupts. + +Files: +lib/safe-write.h +lib/safe-write.c +lib/safe-read.c +m4/safe-write.m4 +m4/safe-read.m4 + +Depends-on: +ssize_t +write + +configure.ac: +gl_PREREQ_SAFE_WRITE + +Makefile.am: +lib_SOURCES += safe-write.c + +Include: +"safe-write.h" + +License: +LGPLv2+ + +Maintainer: +Jim Meyering, Bruno Haible diff --git a/gnulib/modules/same b/gnulib/modules/same new file mode 100644 index 0000000..6401dfb --- /dev/null +++ b/gnulib/modules/same @@ -0,0 +1,31 @@ +Description: +Determine whether two file names refer to the same directory entry of the same +directory. + +Files: +lib/same.h +lib/same.c +m4/same.m4 + +Depends-on: +error +dirname +same-inode +stat +stdbool +memcmp + +configure.ac: +gl_SAME + +Makefile.am: +lib_SOURCES += same.c + +Include: +"same.h" + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/same-inode b/gnulib/modules/same-inode new file mode 100644 index 0000000..27da5d2 --- /dev/null +++ b/gnulib/modules/same-inode @@ -0,0 +1,20 @@ +Description: +compare inodes + +Files: +lib/same-inode.h + +Depends-on: + +configure.ac: + +Makefile.am: + +Include: +"same-inode.h" + +License: +LGPLv2+ + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/save-cwd b/gnulib/modules/save-cwd new file mode 100644 index 0000000..876826b --- /dev/null +++ b/gnulib/modules/save-cwd @@ -0,0 +1,30 @@ +Description: +Save and restore the current working directory. + +Files: +lib/save-cwd.h +lib/save-cwd.c +m4/save-cwd.m4 + +Depends-on: +chdir-long +cloexec +getcwd-lgpl +fchdir +stdbool +unistd-safer + +configure.ac: +gl_SAVE_CWD + +Makefile.am: +lib_SOURCES += save-cwd.c + +Include: +"save-cwd.h" + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/savedir b/gnulib/modules/savedir new file mode 100644 index 0000000..f17ab0a --- /dev/null +++ b/gnulib/modules/savedir @@ -0,0 +1,30 @@ +Description: +Return the entries of a directory (just the names) as an argz string. + +Files: +lib/savedir.h +lib/savedir.c +m4/savedir.m4 + +Depends-on: +closedir +dirent-safer +fdopendir +opendir +readdir +xalloc + +configure.ac: +gl_SAVEDIR + +Makefile.am: +lib_SOURCES += savedir.c + +Include: +"savedir.h" + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/savewd b/gnulib/modules/savewd new file mode 100644 index 0000000..9a7b8c7 --- /dev/null +++ b/gnulib/modules/savewd @@ -0,0 +1,34 @@ +Description: +Save and restore the working directory, possibly using a child process. + +Files: +lib/savewd.h +lib/savewd.c +m4/savewd.m4 + +Depends-on: +chdir +dosname +errno +fchdir +fcntl-safer +fcntl-h +raise +stdbool +stdlib +xalloc + +configure.ac: +gl_SAVEWD + +Makefile.am: +lib_SOURCES += savewd.h savewd.c + +Include: +"savewd.h" + +License: +GPL + +Maintainer: +Paul Eggert, Jim Meyering diff --git a/gnulib/modules/scandir b/gnulib/modules/scandir new file mode 100644 index 0000000..71ef465 --- /dev/null +++ b/gnulib/modules/scandir @@ -0,0 +1,34 @@ +Description: +scandir() function: collect entries of a directory + +Files: +lib/scandir.c +m4/scandir.m4 + +Depends-on: +closedir +dirent +extensions +largefile +opendir +readdir + +configure.ac: +gl_FUNC_SCANDIR +if test $HAVE_SCANDIR = 0; then + AC_LIBOBJ([scandir]) + gl_PREREQ_SCANDIR +fi +gl_DIRENT_MODULE_INDICATOR([scandir]) + +Makefile.am: + +Include: +<dirent.h> + +License: +LGPL + +Maintainer: +all, glibc + diff --git a/gnulib/modules/sched b/gnulib/modules/sched new file mode 100644 index 0000000..9f9c5c9 --- /dev/null +++ b/gnulib/modules/sched @@ -0,0 +1,47 @@ +Description: +A <sched.h> include file. + +Files: +lib/sched.in.h +m4/sched_h.m4 + +Depends-on: +include_next + +configure.ac: +gl_SCHED_H + +Makefile.am: +BUILT_SOURCES += $(SCHED_H) + +# We need the following in order to create a replacement for <sched.h> when +# the system doesn't have one. +if GL_GENERATE_SCHED_H +sched.h: sched.in.h $(top_builddir)/config.status + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ + -e 's|@''HAVE_SCHED_H''@|$(HAVE_SCHED_H)|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_SCHED_H''@|$(NEXT_SCHED_H)|g' \ + -e 's|@''HAVE_STRUCT_SCHED_PARAM''@|$(HAVE_STRUCT_SCHED_PARAM)|g' \ + < $(srcdir)/sched.in.h; \ + } > $@-t && \ + mv $@-t $@ +else +sched.h: $(top_builddir)/config.status + rm -f $@ +endif +MOSTLYCLEANFILES += sched.h sched.h-t + +Include: +<sched.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/sched-tests b/gnulib/modules/sched-tests new file mode 100644 index 0000000..8427490 --- /dev/null +++ b/gnulib/modules/sched-tests @@ -0,0 +1,10 @@ +Files: +tests/test-sched.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-sched +check_PROGRAMS += test-sched diff --git a/gnulib/modules/search b/gnulib/modules/search new file mode 100644 index 0000000..7adddc1 --- /dev/null +++ b/gnulib/modules/search @@ -0,0 +1,49 @@ +Description: +A GNU-like <search.h>. + +Files: +lib/search.in.h +m4/search_h.m4 + +Depends-on: +include_next +snippet/arg-nonnull +snippet/c++defs +snippet/warn-on-use + +configure.ac: +gl_SEARCH_H + +Makefile.am: +BUILT_SOURCES += search.h + +# We need the following in order to create <search.h> when the system +# doesn't have one that works with the given compiler. +search.h: search.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ + sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ + -e 's|@''HAVE_SEARCH_H''@|$(HAVE_SEARCH_H)|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_SEARCH_H''@|$(NEXT_SEARCH_H)|g' \ + -e 's/@''GNULIB_TSEARCH''@/$(GNULIB_TSEARCH)/g' \ + -e 's|@''HAVE_TSEARCH''@|$(HAVE_TSEARCH)|g' \ + -e 's|@''REPLACE_TSEARCH''@|$(REPLACE_TSEARCH)|g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ + -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ + < $(srcdir)/search.in.h; \ + } > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += search.h search.h-t + +Include: +<search.h> + +License: +LGPLv2+ + +Maintainer: +all diff --git a/gnulib/modules/search-c++-tests b/gnulib/modules/search-c++-tests new file mode 100644 index 0000000..f051eaf --- /dev/null +++ b/gnulib/modules/search-c++-tests @@ -0,0 +1,19 @@ +Files: +tests/test-search-c++.cc +tests/signature.h + +Status: +c++-test + +Depends-on: +ansi-c++-opt + +configure.ac: + +Makefile.am: +if ANSICXX +TESTS += test-search-c++ +check_PROGRAMS += test-search-c++ +test_search_c___SOURCES = test-search-c++.cc +test_search_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP) +endif diff --git a/gnulib/modules/search-tests b/gnulib/modules/search-tests new file mode 100644 index 0000000..922783a --- /dev/null +++ b/gnulib/modules/search-tests @@ -0,0 +1,11 @@ +Files: +tests/test-search.c + +Depends-on: +search-c++-tests + +configure.ac: + +Makefile.am: +TESTS += test-search +check_PROGRAMS += test-search diff --git a/gnulib/modules/select b/gnulib/modules/select new file mode 100644 index 0000000..7b25a8b --- /dev/null +++ b/gnulib/modules/select @@ -0,0 +1,33 @@ +Description: +select() function: synchronous I/O multiplexing. + +Files: +lib/select.c +m4/select.m4 + +Depends-on: +sys_select +alloca [test $REPLACE_SELECT = 1] +sockets [test $REPLACE_SELECT = 1] +msvc-nothrow [test $REPLACE_SELECT = 1] + +configure.ac: +gl_FUNC_SELECT +if test $REPLACE_SELECT = 1; then + AC_LIBOBJ([select]) +fi +gl_SYS_SELECT_MODULE_INDICATOR([select]) + +Makefile.am: + +Include: +<sys/select.h> + +Link: +$(LIB_SELECT) + +License: +LGPLv2+ + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/select-tests b/gnulib/modules/select-tests new file mode 100644 index 0000000..bd7b731 --- /dev/null +++ b/gnulib/modules/select-tests @@ -0,0 +1,41 @@ +Files: +tests/macros.h +tests/signature.h +tests/test-select.c +tests/test-select.h +tests/test-select-fd.c +tests/test-select-in.sh +tests/test-select-out.sh +tests/test-select-stdin.c + +Depends-on: +stdbool +netinet_in +arpa_inet +unistd +sys_ioctl +extensions +inet_pton +errno +perror +pipe-posix +socket +bind +setsockopt +listen +connect +accept +ioctl +close +gettimeofday + +configure.ac: +AC_CHECK_HEADERS_ONCE([sys/wait.h]) + +Makefile.am: +TESTS += test-select test-select-in.sh test-select-out.sh +# test-select-stdin has to be run by hand. +check_PROGRAMS += test-select test-select-fd test-select-stdin +test_select_LDADD = $(LDADD) @LIB_SELECT@ @LIBSOCKET@ $(INET_PTON_LIB) +test_select_fd_LDADD = $(LDADD) @LIB_SELECT@ +test_select_stdin_LDADD = $(LDADD) @LIB_SELECT@ diff --git a/gnulib/modules/selinux-at b/gnulib/modules/selinux-at new file mode 100644 index 0000000..62dd6e6 --- /dev/null +++ b/gnulib/modules/selinux-at @@ -0,0 +1,35 @@ +Description: +openat-style fd-relative functions for SE Linux + +Files: +lib/selinux-at.h +lib/selinux-at.c +lib/at-func.c + +Depends-on: +selinux-h +at-internal +dosname +errno +extensions +fchdir +fcntl-h +openat-die +openat-h +save-cwd +unistd + +configure.ac: +AC_CHECK_HEADERS([selinux/flask.h]) +AC_LIBOBJ([selinux-at]) + +Makefile.am: + +Include: +"selinux-at.h" + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/selinux-h b/gnulib/modules/selinux-h new file mode 100644 index 0000000..2064eb9 --- /dev/null +++ b/gnulib/modules/selinux-h @@ -0,0 +1,72 @@ +Description: +SELinux-related headers for systems that lack them. + +Files: +lib/getfilecon.c +lib/se-context.in.h +lib/se-selinux.in.h +m4/selinux-context-h.m4 +m4/selinux-selinux-h.m4 + +Depends-on: +errno +snippet/unused-parameter + +configure.ac: +gl_HEADERS_SELINUX_SELINUX_H +gl_HEADERS_SELINUX_CONTEXT_H +AC_REQUIRE([AC_C_INLINE]) +if test "$with_selinux" != no && test "$ac_cv_header_selinux_selinux_h" = yes; then + AC_LIBOBJ([getfilecon]) +fi + +Makefile.am: +lib_SOURCES += se-context.in.h se-selinux.in.h + +BUILT_SOURCES += selinux/selinux.h +selinux/selinux.h: se-selinux.in.h $(top_builddir)/config.status $(UNUSED_PARAMETER_H) + $(AM_V_at)$(MKDIR_P) selinux + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ + sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_SELINUX_SELINUX_H''@|$(NEXT_SELINUX_SELINUX_H)|g' \ + -e '/definition of _GL_UNUSED_PARAMETER/r $(UNUSED_PARAMETER_H)' \ + < $(srcdir)/se-selinux.in.h; \ + } > $@-t && \ + chmod a-x $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += selinux/selinux.h selinux/selinux.h-t + +BUILT_SOURCES += $(SELINUX_CONTEXT_H) +if GL_GENERATE_SELINUX_CONTEXT_H +selinux/context.h: se-context.in.h $(top_builddir)/config.status $(UNUSED_PARAMETER_H) + $(AM_V_at)$(MKDIR_P) selinux + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ + sed -e '/definition of _GL_UNUSED_PARAMETER/r $(UNUSED_PARAMETER_H)' \ + < $(srcdir)/se-context.in.h; \ + } > $@-t && \ + chmod a-x $@-t && \ + mv $@-t $@ +else +selinux/context.h: $(top_builddir)/config.status + rm -f $@ +endif +MOSTLYCLEANFILES += selinux/context.h selinux/context.h-t +MOSTLYCLEANDIRS += selinux + +Include: +<selinux/selinux.h> +<selinux/context.h> + +Link: +$(LIB_SELINUX) + +License: +LGPLv2+ + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/send b/gnulib/modules/send new file mode 100644 index 0000000..5e115c3 --- /dev/null +++ b/gnulib/modules/send @@ -0,0 +1,33 @@ +Description: +send() function: send (write) data to a connected socket. + +Files: +lib/send.c +lib/w32sock.h + +Depends-on: +sys_socket +socketlib +errno [test "$ac_cv_header_winsock2_h" = yes] +msvc-nothrow [test "$ac_cv_header_winsock2_h" = yes] + +configure.ac: +AC_REQUIRE([gl_HEADER_SYS_SOCKET]) +if test "$ac_cv_header_winsock2_h" = yes; then + AC_LIBOBJ([send]) +fi +gl_SYS_SOCKET_MODULE_INDICATOR([send]) + +Makefile.am: + +Include: +<sys/socket.h> + +Link: +$(LIBSOCKET) + +License: +LGPLv2+ + +Maintainer: +Paolo Bonzini, Simon Josefsson diff --git a/gnulib/modules/send-tests b/gnulib/modules/send-tests new file mode 100644 index 0000000..334b4ab --- /dev/null +++ b/gnulib/modules/send-tests @@ -0,0 +1,14 @@ +Files: +tests/test-send.c +tests/signature.h +tests/macros.h + +Depends-on: +sockets + +configure.ac: + +Makefile.am: +TESTS += test-send +check_PROGRAMS += test-send +test_send_LDADD = $(LDADD) @LIBSOCKET@ diff --git a/gnulib/modules/sendto b/gnulib/modules/sendto new file mode 100644 index 0000000..924818e --- /dev/null +++ b/gnulib/modules/sendto @@ -0,0 +1,33 @@ +Description: +sendto() function: send (write) data to a potentially unconnected socket. + +Files: +lib/sendto.c +lib/w32sock.h + +Depends-on: +sys_socket +socketlib +errno [test "$ac_cv_header_winsock2_h" = yes] +msvc-nothrow [test "$ac_cv_header_winsock2_h" = yes] + +configure.ac: +AC_REQUIRE([gl_HEADER_SYS_SOCKET]) +if test "$ac_cv_header_winsock2_h" = yes; then + AC_LIBOBJ([sendto]) +fi +gl_SYS_SOCKET_MODULE_INDICATOR([sendto]) + +Makefile.am: + +Include: +<sys/socket.h> + +Link: +$(LIBSOCKET) + +License: +LGPLv2+ + +Maintainer: +Paolo Bonzini, Simon Josefsson diff --git a/gnulib/modules/sendto-tests b/gnulib/modules/sendto-tests new file mode 100644 index 0000000..afacb2a --- /dev/null +++ b/gnulib/modules/sendto-tests @@ -0,0 +1,16 @@ +Files: +tests/test-sendto.c +tests/signature.h +tests/macros.h + +Depends-on: +netinet_in +sockets +inet_pton + +configure.ac: + +Makefile.am: +TESTS += test-sendto +check_PROGRAMS += test-sendto +test_sendto_LDADD = $(LDADD) @LIBSOCKET@ $(INET_PTON_LIB) diff --git a/gnulib/modules/servent b/gnulib/modules/servent new file mode 100644 index 0000000..e5e27fe --- /dev/null +++ b/gnulib/modules/servent @@ -0,0 +1,28 @@ +Description: +Library containing getservent(), setservent(), endservent(), getservbyname(), +getservbyport(), getprotoent(), setprotoent(), endprotoent(), getprotobyname(), +getprotobynumber(). + +Files: +m4/servent.m4 + +Depends-on: +sys_socket + +configure.ac: +gl_SERVENT + +Makefile.am: + +Include: +<netdb.h> + +Link: +$(SERVENT_LIB) + +License: +LGPLv2+ + +Maintainer: +Bruno Haible, Simon Josefsson + diff --git a/gnulib/modules/setenv b/gnulib/modules/setenv new file mode 100644 index 0000000..cf534d2 --- /dev/null +++ b/gnulib/modules/setenv @@ -0,0 +1,32 @@ +Description: +setenv() function: set an environment variable. + +Files: +lib/setenv.c +m4/setenv.m4 + +Depends-on: +stdlib +malloca [test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1] +alloca-opt [test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1] +unistd [test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1] +environ [test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1] + +configure.ac: +gl_FUNC_SETENV +if test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1; then + AC_LIBOBJ([setenv]) +fi +gl_STDLIB_MODULE_INDICATOR([setenv]) + +Makefile.am: + +Include: +<stdlib.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/setenv-tests b/gnulib/modules/setenv-tests new file mode 100644 index 0000000..b7b8bad --- /dev/null +++ b/gnulib/modules/setenv-tests @@ -0,0 +1,12 @@ +Files: +tests/test-setenv.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-setenv +check_PROGRAMS += test-setenv diff --git a/gnulib/modules/sethostname b/gnulib/modules/sethostname new file mode 100644 index 0000000..f3c0d13 --- /dev/null +++ b/gnulib/modules/sethostname @@ -0,0 +1,29 @@ +Description: +sethostname() function: Set machine's hostname. + +Files: +lib/sethostname.c +m4/sethostname.m4 +m4/gethostname.m4 + +Depends-on: +unistd +errno [test $HAVE_SETHOSTNAME = 0] + +configure.ac: +gl_FUNC_SETHOSTNAME +if test $HAVE_SETHOSTNAME = 0; then + AC_LIBOBJ([sethostname]) +fi +gl_UNISTD_MODULE_INDICATOR([sethostname]) + +Makefile.am: + +Include: +<unistd.h> + +License: +LGPLv2+ + +Maintainer: +Ben Walton diff --git a/gnulib/modules/sethostname-tests b/gnulib/modules/sethostname-tests new file mode 100644 index 0000000..3529abb --- /dev/null +++ b/gnulib/modules/sethostname-tests @@ -0,0 +1,16 @@ +Files: +tests/test-sethostname1.c +tests/test-sethostname2.c +tests/signature.h +tests/macros.h + +Depends-on: +gethostname + +configure.ac: +AC_CHECK_FUNCS_ONCE([geteuid]) + +Makefile.am: +TESTS += test-sethostname1 test-sethostname2 +check_PROGRAMS += test-sethostname1 test-sethostname2 +test_sethostname2_LDADD = $(LDADD) @GETHOSTNAME_LIB@ diff --git a/gnulib/modules/setlocale b/gnulib/modules/setlocale new file mode 100644 index 0000000..1d8f997 --- /dev/null +++ b/gnulib/modules/setlocale @@ -0,0 +1,29 @@ +Description: +setlocale() function: set the current locale. + +Files: +lib/setlocale.c +m4/setlocale.m4 + +Depends-on: +locale +localename [test $REPLACE_SETLOCALE = 1] + +configure.ac: +gl_FUNC_SETLOCALE +if test $REPLACE_SETLOCALE = 1; then + AC_LIBOBJ([setlocale]) + gl_PREREQ_SETLOCALE +fi +gl_LOCALE_MODULE_INDICATOR([setlocale]) + +Makefile.am: + +Include: +<locale.h> + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/setlocale-tests b/gnulib/modules/setlocale-tests new file mode 100644 index 0000000..8c35c9d --- /dev/null +++ b/gnulib/modules/setlocale-tests @@ -0,0 +1,29 @@ +Files: +tests/test-setlocale1.sh +tests/test-setlocale1.c +tests/test-setlocale2.sh +tests/test-setlocale2.c +tests/signature.h +tests/macros.h +m4/locale-fr.m4 +m4/locale-ja.m4 +m4/locale-zh.m4 +m4/codeset.m4 + +Depends-on: +strdup + +configure.ac: +gt_LOCALE_FR +gt_LOCALE_FR_UTF8 +gt_LOCALE_JA +gt_LOCALE_ZH_CN + +Makefile.am: +TESTS += test-setlocale1.sh test-setlocale2.sh +TESTS_ENVIRONMENT += \ + LOCALE_FR='@LOCALE_FR@' \ + LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \ + LOCALE_JA='@LOCALE_JA@' \ + LOCALE_ZH_CN='@LOCALE_ZH_CN@' +check_PROGRAMS += test-setlocale1 test-setlocale2 diff --git a/gnulib/modules/setsockopt b/gnulib/modules/setsockopt new file mode 100644 index 0000000..bfe8acd --- /dev/null +++ b/gnulib/modules/setsockopt @@ -0,0 +1,34 @@ +Description: +setsockopt() function: specify optional settings on a socket. + +Files: +lib/setsockopt.c +lib/w32sock.h + +Depends-on: +sys_socket +socketlib +sys_time [test "$ac_cv_header_winsock2_h" = yes] +errno [test "$ac_cv_header_winsock2_h" = yes] +msvc-nothrow [test "$ac_cv_header_winsock2_h" = yes] + +configure.ac: +AC_REQUIRE([gl_HEADER_SYS_SOCKET]) +if test "$ac_cv_header_winsock2_h" = yes; then + AC_LIBOBJ([setsockopt]) +fi +gl_SYS_SOCKET_MODULE_INDICATOR([setsockopt]) + +Makefile.am: + +Include: +<sys/socket.h> + +Link: +$(LIBSOCKET) + +License: +LGPLv2+ + +Maintainer: +Paolo Bonzini, Simon Josefsson diff --git a/gnulib/modules/setsockopt-tests b/gnulib/modules/setsockopt-tests new file mode 100644 index 0000000..4704d93 --- /dev/null +++ b/gnulib/modules/setsockopt-tests @@ -0,0 +1,15 @@ +Files: +tests/test-setsockopt.c +tests/signature.h +tests/macros.h + +Depends-on: +netinet_in +sockets + +configure.ac: + +Makefile.am: +TESTS += test-setsockopt +check_PROGRAMS += test-setsockopt +test_setsockopt_LDADD = $(LDADD) @LIBSOCKET@ diff --git a/gnulib/modules/settime b/gnulib/modules/settime new file mode 100644 index 0000000..8f097f7 --- /dev/null +++ b/gnulib/modules/settime @@ -0,0 +1,31 @@ +Description: +Set the current time, with nanosecond resolution. + +Files: +lib/settime.c +m4/settime.m4 + +Depends-on: +clock-time +errno +extensions +sys_time +timespec + +configure.ac: +gl_SETTIME + +Makefile.am: +lib_SOURCES += settime.c + +Include: +"timespec.h" + +Link: +$(LIB_CLOCK_GETTIME) + +License: +GPL + +Maintainer: +Paul Eggert, Jim Meyering diff --git a/gnulib/modules/sh-quote b/gnulib/modules/sh-quote new file mode 100644 index 0000000..b932816 --- /dev/null +++ b/gnulib/modules/sh-quote @@ -0,0 +1,25 @@ +Description: +Shell quoting. + +Files: +lib/sh-quote.h +lib/sh-quote.c + +Depends-on: +quotearg +xalloc + +configure.ac: + +Makefile.am: +lib_SOURCES += sh-quote.h sh-quote.c + +Include: +"sh-quote.h" + +License: +GPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/shutdown b/gnulib/modules/shutdown new file mode 100644 index 0000000..32845db --- /dev/null +++ b/gnulib/modules/shutdown @@ -0,0 +1,33 @@ +Description: +shutdown() function: initiate a graceful shutdown of a socket. + +Files: +lib/shutdown.c +lib/w32sock.h + +Depends-on: +sys_socket +socketlib +errno [test "$ac_cv_header_winsock2_h" = yes] +msvc-nothrow [test "$ac_cv_header_winsock2_h" = yes] + +configure.ac: +AC_REQUIRE([gl_HEADER_SYS_SOCKET]) +if test "$ac_cv_header_winsock2_h" = yes; then + AC_LIBOBJ([shutdown]) +fi +gl_SYS_SOCKET_MODULE_INDICATOR([shutdown]) + +Makefile.am: + +Include: +<sys/socket.h> + +Link: +$(LIBSOCKET) + +License: +LGPLv2+ + +Maintainer: +Paolo Bonzini, Simon Josefsson, Bruno Haible diff --git a/gnulib/modules/shutdown-tests b/gnulib/modules/shutdown-tests new file mode 100644 index 0000000..d90299d --- /dev/null +++ b/gnulib/modules/shutdown-tests @@ -0,0 +1,14 @@ +Files: +tests/test-shutdown.c +tests/signature.h +tests/macros.h + +Depends-on: +sockets + +configure.ac: + +Makefile.am: +TESTS += test-shutdown +check_PROGRAMS += test-shutdown +test_shutdown_LDADD = $(LDADD) @LIBSOCKET@ diff --git a/gnulib/modules/sig2str b/gnulib/modules/sig2str new file mode 100644 index 0000000..ccc26a9 --- /dev/null +++ b/gnulib/modules/sig2str @@ -0,0 +1,28 @@ +Description: +Convert between signal names and signal numbers. + +Files: +lib/sig2str.h +lib/sig2str.c +m4/sig2str.m4 + +Depends-on: +intprops + +configure.ac: +gl_FUNC_SIG2STR +if test $ac_cv_func_sig2str = no; then + AC_LIBOBJ([sig2str]) + gl_PREREQ_SIG2STR +fi + +Makefile.am: + +Include: +"sig2str.h" + +License: +GPL + +Maintainer: +Paul Eggert, Jim Meyering diff --git a/gnulib/modules/sigaction b/gnulib/modules/sigaction new file mode 100644 index 0000000..2180766 --- /dev/null +++ b/gnulib/modules/sigaction @@ -0,0 +1,30 @@ +Description: +POSIX compatible signal handlers. + +Files: +lib/sigaction.c +lib/sig-handler.h +m4/sigaction.m4 + +Depends-on: +signal-h +sigprocmask [test $HAVE_SIGACTION = 0] + +configure.ac: +gl_SIGACTION +if test $HAVE_SIGACTION = 0; then + AC_LIBOBJ([sigaction]) + gl_PREREQ_SIGACTION +fi +gl_SIGNAL_MODULE_INDICATOR([sigaction]) + +Makefile.am: + +Include: +<signal.h> + +License: +LGPLv2+ + +Maintainer: +Eric Blake diff --git a/gnulib/modules/sigaction-tests b/gnulib/modules/sigaction-tests new file mode 100644 index 0000000..e683614 --- /dev/null +++ b/gnulib/modules/sigaction-tests @@ -0,0 +1,12 @@ +Files: +tests/test-sigaction.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-sigaction +check_PROGRAMS += test-sigaction diff --git a/gnulib/modules/signal b/gnulib/modules/signal new file mode 100644 index 0000000..5bf24bc --- /dev/null +++ b/gnulib/modules/signal @@ -0,0 +1,19 @@ +Description: +Placeholder for eventual signal() replacement. + +Files: + +Depends-on: +signal-h + +configure.ac: + +Makefile.am: + +Include: + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/signal-h b/gnulib/modules/signal-h new file mode 100644 index 0000000..fe9af81 --- /dev/null +++ b/gnulib/modules/signal-h @@ -0,0 +1,62 @@ +Description: +A GNU-like <signal.h>. + +Files: +lib/signal.in.h +m4/signal_h.m4 + +Depends-on: +include_next +snippet/arg-nonnull +snippet/c++defs +snippet/warn-on-use +extensions + +configure.ac: +gl_SIGNAL_H + +Makefile.am: +BUILT_SOURCES += signal.h + +# We need the following in order to create <signal.h> when the system +# doesn't have a complete one. +signal.h: signal.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ + sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_SIGNAL_H''@|$(NEXT_SIGNAL_H)|g' \ + -e 's|@''GNULIB_PTHREAD_SIGMASK''@|$(GNULIB_PTHREAD_SIGMASK)|g' \ + -e 's|@''GNULIB_RAISE''@|$(GNULIB_RAISE)|g' \ + -e 's/@''GNULIB_SIGNAL_H_SIGPIPE''@/$(GNULIB_SIGNAL_H_SIGPIPE)/g' \ + -e 's/@''GNULIB_SIGPROCMASK''@/$(GNULIB_SIGPROCMASK)/g' \ + -e 's/@''GNULIB_SIGACTION''@/$(GNULIB_SIGACTION)/g' \ + -e 's|@''HAVE_POSIX_SIGNALBLOCKING''@|$(HAVE_POSIX_SIGNALBLOCKING)|g' \ + -e 's|@''HAVE_PTHREAD_SIGMASK''@|$(HAVE_PTHREAD_SIGMASK)|g' \ + -e 's|@''HAVE_RAISE''@|$(HAVE_RAISE)|g' \ + -e 's|@''HAVE_SIGSET_T''@|$(HAVE_SIGSET_T)|g' \ + -e 's|@''HAVE_SIGINFO_T''@|$(HAVE_SIGINFO_T)|g' \ + -e 's|@''HAVE_SIGACTION''@|$(HAVE_SIGACTION)|g' \ + -e 's|@''HAVE_STRUCT_SIGACTION_SA_SIGACTION''@|$(HAVE_STRUCT_SIGACTION_SA_SIGACTION)|g' \ + -e 's|@''HAVE_TYPE_VOLATILE_SIG_ATOMIC_T''@|$(HAVE_TYPE_VOLATILE_SIG_ATOMIC_T)|g' \ + -e 's|@''HAVE_SIGHANDLER_T''@|$(HAVE_SIGHANDLER_T)|g' \ + -e 's|@''REPLACE_PTHREAD_SIGMASK''@|$(REPLACE_PTHREAD_SIGMASK)|g' \ + -e 's|@''REPLACE_RAISE''@|$(REPLACE_RAISE)|g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ + -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ + < $(srcdir)/signal.in.h; \ + } > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += signal.h signal.h-t + +Include: +<signal.h> + +License: +LGPLv2+ + +Maintainer: +all diff --git a/gnulib/modules/signal-h-c++-tests b/gnulib/modules/signal-h-c++-tests new file mode 100644 index 0000000..c7b2371 --- /dev/null +++ b/gnulib/modules/signal-h-c++-tests @@ -0,0 +1,20 @@ +Files: +tests/test-signal-h-c++.cc +tests/test-signal-h-c++2.cc +tests/signature.h + +Status: +c++-test + +Depends-on: +ansi-c++-opt + +configure.ac: + +Makefile.am: +if ANSICXX +TESTS += test-signal-h-c++ +check_PROGRAMS += test-signal-h-c++ +test_signal_h_c___SOURCES = test-signal-h-c++.cc test-signal-h-c++2.cc +test_signal_h_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP) $(LIB_PTHREAD_SIGMASK) +endif diff --git a/gnulib/modules/signal-h-tests b/gnulib/modules/signal-h-tests new file mode 100644 index 0000000..dab83e9 --- /dev/null +++ b/gnulib/modules/signal-h-tests @@ -0,0 +1,11 @@ +Files: +tests/test-signal-h.c + +Depends-on: +signal-h-c++-tests + +configure.ac: + +Makefile.am: +TESTS += test-signal-h +check_PROGRAMS += test-signal-h diff --git a/gnulib/modules/signbit b/gnulib/modules/signbit new file mode 100644 index 0000000..bc351f3 --- /dev/null +++ b/gnulib/modules/signbit @@ -0,0 +1,39 @@ +Description: +signbit() macro: Determine the sign bit of a floating-point number. + +Files: +lib/signbitf.c +lib/signbitd.c +lib/signbitl.c +lib/float+.h +m4/signbit.m4 + +Depends-on: +math +float [test $REPLACE_SIGNBIT = 1] +isnanf-nolibm [test $REPLACE_SIGNBIT = 1] +isnand-nolibm [test $REPLACE_SIGNBIT = 1] +isnanl-nolibm [test $REPLACE_SIGNBIT = 1] +fpieee [test $REPLACE_SIGNBIT = 1] +memcmp [test $REPLACE_SIGNBIT = 1] + +configure.ac: +gl_SIGNBIT +if test $REPLACE_SIGNBIT = 1; then + AC_LIBOBJ([signbitf]) + AC_LIBOBJ([signbitd]) + AC_LIBOBJ([signbitl]) +fi +gl_MATH_MODULE_INDICATOR([signbit]) + +Makefile.am: + +Include: +<math.h> + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/signbit-tests b/gnulib/modules/signbit-tests new file mode 100644 index 0000000..65d5602 --- /dev/null +++ b/gnulib/modules/signbit-tests @@ -0,0 +1,21 @@ +Files: +tests/test-signbit.c +tests/minus-zero.h +tests/infinity.h +tests/macros.h +m4/exponentf.m4 +m4/exponentd.m4 +m4/exponentl.m4 + +Depends-on: +float + +configure.ac: +AC_REQUIRE([gl_FLOAT_EXPONENT_LOCATION]) +AC_REQUIRE([gl_DOUBLE_EXPONENT_LOCATION]) +AC_REQUIRE([gl_LONG_DOUBLE_EXPONENT_LOCATION]) + +Makefile.am: +TESTS += test-signbit +check_PROGRAMS += test-signbit + diff --git a/gnulib/modules/sigpipe b/gnulib/modules/sigpipe new file mode 100644 index 0000000..8bb7442 --- /dev/null +++ b/gnulib/modules/sigpipe @@ -0,0 +1,47 @@ +Description: +Emulation of POSIX compatible SIGPIPE behaviour. + +Comment: +This module should not be used as a dependency from a test module, +otherwise when this module occurs as a tests-related module, it will +have side effects on the compilation of the main modules in lib/. + +Files: +m4/sigpipe.m4 +lib/stdio-write.c +m4/asm-underscore.m4 + +Depends-on: +msvc-nothrow +raise +signal-h +sigprocmask +stdio +unistd + +configure.ac: +gl_SIGNAL_SIGPIPE +dnl Define the C macro GNULIB_SIGPIPE to 1. +gl_MODULE_INDICATOR([sigpipe]) +dnl Define the substituted variable GNULIB_SIGNAL_H_SIGPIPE to 1. +AC_REQUIRE([gl_SIGNAL_H_DEFAULTS]) +GNULIB_SIGNAL_H_SIGPIPE=1 +dnl Define the substituted variable GNULIB_STDIO_H_SIGPIPE to 1. +AC_REQUIRE([gl_STDIO_H_DEFAULTS]) +AC_REQUIRE([gl_ASM_SYMBOL_PREFIX]) +GNULIB_STDIO_H_SIGPIPE=1 +dnl Define the substituted variable GNULIB_UNISTD_H_SIGPIPE to 1. +AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) +GNULIB_UNISTD_H_SIGPIPE=1 + +Makefile.am: + +Include: +<signal.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/sigpipe-die b/gnulib/modules/sigpipe-die new file mode 100644 index 0000000..7229665 --- /dev/null +++ b/gnulib/modules/sigpipe-die @@ -0,0 +1,28 @@ +Description: +Report a SIGPIPE signal and exit. + +Files: +lib/sigpipe-die.h +lib/sigpipe-die.c + +Depends-on: +error +gettext-h +exitfail +sigpipe +sigprocmask +sigaction + +configure.ac: + +Makefile.am: +lib_SOURCES += sigpipe-die.h sigpipe-die.c + +Include: +"sigpipe-die.h" + +License: +GPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/sigpipe-tests b/gnulib/modules/sigpipe-tests new file mode 100644 index 0000000..99107a6 --- /dev/null +++ b/gnulib/modules/sigpipe-tests @@ -0,0 +1,13 @@ +Files: +tests/test-sigpipe.c +tests/test-sigpipe.sh + +Depends-on: +write + +configure.ac: + +Makefile.am: +TESTS += test-sigpipe.sh +check_PROGRAMS += test-sigpipe + diff --git a/gnulib/modules/sigprocmask b/gnulib/modules/sigprocmask new file mode 100644 index 0000000..644654c --- /dev/null +++ b/gnulib/modules/sigprocmask @@ -0,0 +1,32 @@ +Description: +POSIX compatible signal blocking. + +Files: +lib/sigprocmask.c +m4/signalblocking.m4 + +Depends-on: +signal-h +stdint [test $HAVE_POSIX_SIGNALBLOCKING = 0] +raise [test $HAVE_POSIX_SIGNALBLOCKING = 0] +msvc-inval [test $HAVE_POSIX_SIGNALBLOCKING = 0] + +configure.ac: +gl_SIGNALBLOCKING +if test $HAVE_POSIX_SIGNALBLOCKING = 0; then + AC_LIBOBJ([sigprocmask]) + gl_PREREQ_SIGPROCMASK +fi +gl_SIGNAL_MODULE_INDICATOR([sigprocmask]) + +Makefile.am: + +Include: +<signal.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/sigprocmask-tests b/gnulib/modules/sigprocmask-tests new file mode 100644 index 0000000..80fcd81 --- /dev/null +++ b/gnulib/modules/sigprocmask-tests @@ -0,0 +1,13 @@ +Files: +tests/test-sigprocmask.c +tests/signature.h +tests/macros.h + +Depends-on: +sleep + +configure.ac: + +Makefile.am: +TESTS += test-sigprocmask +check_PROGRAMS += test-sigprocmask diff --git a/gnulib/modules/sin b/gnulib/modules/sin new file mode 100644 index 0000000..357e7b2 --- /dev/null +++ b/gnulib/modules/sin @@ -0,0 +1,25 @@ +Description: +sin() function: sine function. + +Files: +m4/sin.m4 +m4/mathfunc.m4 + +Depends-on: + +configure.ac: +gl_FUNC_SIN + +Makefile.am: + +Include: +<math.h> + +Link: +$(SIN_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/sin-tests b/gnulib/modules/sin-tests new file mode 100644 index 0000000..06d3b32 --- /dev/null +++ b/gnulib/modules/sin-tests @@ -0,0 +1,13 @@ +Files: +tests/test-sin.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-sin +check_PROGRAMS += test-sin +test_sin_LDADD = $(LDADD) @SIN_LIBM@ diff --git a/gnulib/modules/sinf b/gnulib/modules/sinf new file mode 100644 index 0000000..f349687 --- /dev/null +++ b/gnulib/modules/sinf @@ -0,0 +1,31 @@ +Description: +sinf() function: sine function. + +Files: +lib/sinf.c +m4/sinf.m4 + +Depends-on: +math +sin [test $HAVE_SINF = 0] + +configure.ac: +gl_FUNC_SINF +if test $HAVE_SINF = 0; then + AC_LIBOBJ([sinf]) +fi +gl_MATH_MODULE_INDICATOR([sinf]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(SINF_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/sinf-tests b/gnulib/modules/sinf-tests new file mode 100644 index 0000000..5d05bea --- /dev/null +++ b/gnulib/modules/sinf-tests @@ -0,0 +1,13 @@ +Files: +tests/test-sinf.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-sinf +check_PROGRAMS += test-sinf +test_sinf_LDADD = $(LDADD) @SINF_LIBM@ diff --git a/gnulib/modules/sinh b/gnulib/modules/sinh new file mode 100644 index 0000000..d4dd720 --- /dev/null +++ b/gnulib/modules/sinh @@ -0,0 +1,25 @@ +Description: +sinh() function: hyperbolic sine function. + +Files: +m4/sinh.m4 +m4/mathfunc.m4 + +Depends-on: + +configure.ac: +gl_FUNC_SINH + +Makefile.am: + +Include: +<math.h> + +Link: +$(SINH_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/sinh-tests b/gnulib/modules/sinh-tests new file mode 100644 index 0000000..236c946 --- /dev/null +++ b/gnulib/modules/sinh-tests @@ -0,0 +1,13 @@ +Files: +tests/test-sinh.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-sinh +check_PROGRAMS += test-sinh +test_sinh_LDADD = $(LDADD) @SINH_LIBM@ diff --git a/gnulib/modules/sinhf b/gnulib/modules/sinhf new file mode 100644 index 0000000..f45bbe3 --- /dev/null +++ b/gnulib/modules/sinhf @@ -0,0 +1,31 @@ +Description: +sinhf() function: hyperbolic sine function. + +Files: +lib/sinhf.c +m4/sinhf.m4 + +Depends-on: +math +sinh [test $HAVE_SINHF = 0] + +configure.ac: +gl_FUNC_SINHF +if test $HAVE_SINHF = 0; then + AC_LIBOBJ([sinhf]) +fi +gl_MATH_MODULE_INDICATOR([sinhf]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(SINHF_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/sinhf-tests b/gnulib/modules/sinhf-tests new file mode 100644 index 0000000..5733a54 --- /dev/null +++ b/gnulib/modules/sinhf-tests @@ -0,0 +1,13 @@ +Files: +tests/test-sinhf.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-sinhf +check_PROGRAMS += test-sinhf +test_sinhf_LDADD = $(LDADD) @SINHF_LIBM@ diff --git a/gnulib/modules/sinl b/gnulib/modules/sinl new file mode 100644 index 0000000..6ee7834 --- /dev/null +++ b/gnulib/modules/sinl @@ -0,0 +1,43 @@ +Description: +sinl() function: sine function with long double argument. + +Files: +lib/sinl.c +lib/trigl.h +lib/sincosl.c +lib/trigl.c +m4/sinl.m4 + +Depends-on: +math +extensions +sin [test $HAVE_SINL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1] +float [test $HAVE_SINL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] +isnanl [test $HAVE_SINL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] +floor [test $HAVE_SINL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] +floorl [test $HAVE_SINL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] + +configure.ac: +gl_FUNC_SINL +if test $HAVE_SINL = 0; then + AC_LIBOBJ([sinl]) + if test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0; then + AC_LIBOBJ([sincosl]) + AC_LIBOBJ([trigl]) + fi +fi +gl_MATH_MODULE_INDICATOR([sinl]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(SINL_LIBM) + +License: +LGPL + +Maintainer: +Paolo Bonzini diff --git a/gnulib/modules/sinl-tests b/gnulib/modules/sinl-tests new file mode 100644 index 0000000..357ad62 --- /dev/null +++ b/gnulib/modules/sinl-tests @@ -0,0 +1,14 @@ +Files: +tests/test-sinl.c +tests/signature.h +tests/macros.h + +Depends-on: +fpucw + +configure.ac: + +Makefile.am: +TESTS += test-sinl +check_PROGRAMS += test-sinl +test_sinl_LDADD = $(LDADD) @SINL_LIBM@ diff --git a/gnulib/modules/size_max b/gnulib/modules/size_max new file mode 100644 index 0000000..b584e49 --- /dev/null +++ b/gnulib/modules/size_max @@ -0,0 +1,24 @@ +Description: +Provide SIZE_MAX, for cases when the 'stdint' module cannot be used. + +Files: +m4/size_max.m4 +lib/size_max.h + +Depends-on: + +configure.ac: +gl_SIZE_MAX + +Makefile.am: +lib_SOURCES += size_max.h + +Include: +"size_max.h" + +License: +LGPLv2+ + +Maintainer: +Simon Josefsson +Bruno Haible diff --git a/gnulib/modules/sleep b/gnulib/modules/sleep new file mode 100644 index 0000000..f48927e --- /dev/null +++ b/gnulib/modules/sleep @@ -0,0 +1,30 @@ +Description: +sleep() function: pause execution of the current thread. + +Files: +lib/sleep.c +m4/sleep.m4 + +Depends-on: +unistd +stdint [test $HAVE_SLEEP = 0 || test $REPLACE_SLEEP = 1] +verify [test $HAVE_SLEEP = 0 || test $REPLACE_SLEEP = 1] + +configure.ac: +gl_FUNC_SLEEP +if test $HAVE_SLEEP = 0 || test $REPLACE_SLEEP = 1; then + AC_LIBOBJ([sleep]) +fi +gl_UNISTD_MODULE_INDICATOR([sleep]) + +Makefile.am: + +Include: +<unistd.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/sleep-tests b/gnulib/modules/sleep-tests new file mode 100644 index 0000000..93a28f8 --- /dev/null +++ b/gnulib/modules/sleep-tests @@ -0,0 +1,13 @@ +Files: +tests/test-sleep.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: +AC_CHECK_DECLS_ONCE([alarm]) + +Makefile.am: +TESTS += test-sleep +check_PROGRAMS += test-sleep diff --git a/gnulib/modules/snippet/_Noreturn b/gnulib/modules/snippet/_Noreturn new file mode 100644 index 0000000..2b93a70 --- /dev/null +++ b/gnulib/modules/snippet/_Noreturn @@ -0,0 +1,27 @@ +Description: +The _Noreturn keyword of C1X. + +Applicability: +all + +Files: +build-aux/snippet/_Noreturn.h + +Depends-on: + +configure.ac: + +Makefile.am: +# Because this Makefile snippet defines a variable used by other +# gnulib Makefile snippets, it must be present in all Makefile.am that +# need it. This is ensured by the applicability 'all' defined above. + +_NORETURN_H=$(top_srcdir)/build-aux/snippet/_Noreturn.h + +Include: + +License: +LGPLv2+ + +Maintainer: +all diff --git a/gnulib/modules/snippet/arg-nonnull b/gnulib/modules/snippet/arg-nonnull new file mode 100644 index 0000000..a85a5e2 --- /dev/null +++ b/gnulib/modules/snippet/arg-nonnull @@ -0,0 +1,40 @@ +Description: +A C macro for declaring that specific arguments must not be NULL. + +Applicability: +all + +Files: +build-aux/snippet/arg-nonnull.h + +Depends-on: + +configure.ac: + +Makefile.am: +# The BUILT_SOURCES created by this Makefile snippet are not used via #include +# statements but through direct file reference. Therefore this snippet must be +# present in all Makefile.am that need it. This is ensured by the applicability +# 'all' defined above. + +BUILT_SOURCES += arg-nonnull.h +# The arg-nonnull.h that gets inserted into generated .h files is the same as +# build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut +# off. +arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h + $(AM_V_GEN)rm -f $@-t $@ && \ + sed -n -e '/GL_ARG_NONNULL/,$$p' \ + < $(top_srcdir)/build-aux/snippet/arg-nonnull.h \ + > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t + +ARG_NONNULL_H=arg-nonnull.h + +Include: + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/snippet/c++defs b/gnulib/modules/snippet/c++defs new file mode 100644 index 0000000..e624bed --- /dev/null +++ b/gnulib/modules/snippet/c++defs @@ -0,0 +1,39 @@ +Description: +Function declaration macros with C++ support. + +Applicability: +all + +Files: +build-aux/snippet/c++defs.h + +Depends-on: + +configure.ac: + +Makefile.am: +# The BUILT_SOURCES created by this Makefile snippet are not used via #include +# statements but through direct file reference. Therefore this snippet must be +# present in all Makefile.am that need it. This is ensured by the applicability +# 'all' defined above. + +BUILT_SOURCES += c++defs.h +# The c++defs.h that gets inserted into generated .h files is the same as +# build-aux/snippet/c++defs.h, except that it has the copyright header cut off. +c++defs.h: $(top_srcdir)/build-aux/snippet/c++defs.h + $(AM_V_GEN)rm -f $@-t $@ && \ + sed -n -e '/_GL_CXXDEFS/,$$p' \ + < $(top_srcdir)/build-aux/snippet/c++defs.h \ + > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += c++defs.h c++defs.h-t + +CXXDEFS_H=c++defs.h + +Include: + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/snippet/link-warning b/gnulib/modules/snippet/link-warning new file mode 100644 index 0000000..77945c1 --- /dev/null +++ b/gnulib/modules/snippet/link-warning @@ -0,0 +1,42 @@ +Description: +A C macro for emitting link time warnings. + +Applicability: +all + +Files: +build-aux/snippet/link-warning.h + +Depends-on: + +configure.ac: +AC_REQUIRE([gl_FEATURES_H]) + +Makefile.am: +# The BUILT_SOURCES created by this Makefile snippet are not used via #include +# statements but through direct file reference. Therefore this snippet must be +# present in all Makefile.am that need it. This is ensured by the applicability +# 'all' defined above. + +BUILT_SOURCES += link-warning.h +# The link-warning.h that gets inserted into generated .h files is the same as +# build-aux/snippet/link-warning.h, except that it has the copyright header cut +# off. +link-warning.h: $(top_srcdir)/build-aux/snippet/link-warning.h + $(AM_V_GEN)rm -f $@-t $@ && \ + sed -n -e '/HAVE_FEATURES_H/,$$p' \ + < $(top_srcdir)/build-aux/snippet/link-warning.h \ + | sed -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \ + > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += link-warning.h link-warning.h-t + +LINK_WARNING_H=link-warning.h + +Include: + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/snippet/unused-parameter b/gnulib/modules/snippet/unused-parameter new file mode 100644 index 0000000..1738eb8 --- /dev/null +++ b/gnulib/modules/snippet/unused-parameter @@ -0,0 +1,40 @@ +Description: +A C macro for declaring that specific function parameters are not used. + +Applicability: +all + +Files: +build-aux/snippet/unused-parameter.h + +Depends-on: + +configure.ac: + +Makefile.am: +# The BUILT_SOURCES created by this Makefile snippet are not used via #include +# statements but through direct file reference. Therefore this snippet must be +# present in all Makefile.am that need it. This is ensured by the applicability +# 'all' defined above. + +BUILT_SOURCES += unused-parameter.h +# The unused-parameter.h that gets inserted into generated .h files is the same +# as build-aux/snippet/unused-parameter.h, except that it has the copyright +# header cut off. +unused-parameter.h: $(top_srcdir)/build-aux/snippet/unused-parameter.h + $(AM_V_GEN)rm -f $@-t $@ && \ + sed -n -e '/GL_UNUSED_PARAMETER/,$$p' \ + < $(top_srcdir)/build-aux/snippet/unused-parameter.h \ + > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += unused-parameter.h unused-parameter.h-t + +UNUSED_PARAMETER_H=unused-parameter.h + +Include: + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/snippet/warn-on-use b/gnulib/modules/snippet/warn-on-use new file mode 100644 index 0000000..77f0f77 --- /dev/null +++ b/gnulib/modules/snippet/warn-on-use @@ -0,0 +1,36 @@ +Description: +A C macro for emitting a warning if a function is used. + +Applicability: +all + +Files: +build-aux/snippet/warn-on-use.h +m4/warn-on-use.m4 + +Depends-on: + +configure.ac: + +Makefile.am: +BUILT_SOURCES += warn-on-use.h +# The warn-on-use.h that gets inserted into generated .h files is the same as +# build-aux/snippet/warn-on-use.h, except that it has the copyright header cut +# off. +warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h + $(AM_V_GEN)rm -f $@-t $@ && \ + sed -n -e '/^.ifndef/,$$p' \ + < $(top_srcdir)/build-aux/snippet/warn-on-use.h \ + > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t + +WARN_ON_USE_H=warn-on-use.h + +Include: + +License: +LGPLv2+ + +Maintainer: +Eric Blake diff --git a/gnulib/modules/snprintf b/gnulib/modules/snprintf new file mode 100644 index 0000000..cd048aa --- /dev/null +++ b/gnulib/modules/snprintf @@ -0,0 +1,28 @@ +Description: +snprintf() function: print formatted output to a fixed length string + +Files: +lib/snprintf.c +m4/snprintf.m4 +m4/printf.m4 + +Depends-on: +stdio +vasnprintf [test $ac_cv_func_snprintf = no || test $REPLACE_SNPRINTF = 1] +errno [test $ac_cv_func_snprintf = no || test $REPLACE_SNPRINTF = 1] + +configure.ac: +gl_FUNC_SNPRINTF +gl_STDIO_MODULE_INDICATOR([snprintf]) +gl_MODULE_INDICATOR([snprintf]) + +Makefile.am: + +Include: +<stdio.h> + +License: +LGPLv2+ + +Maintainer: +Simon Josefsson, Paul Eggert, Bruno Haible diff --git a/gnulib/modules/snprintf-posix b/gnulib/modules/snprintf-posix new file mode 100644 index 0000000..78c12a3 --- /dev/null +++ b/gnulib/modules/snprintf-posix @@ -0,0 +1,44 @@ +Description: +POSIX compatible snprintf() function: print formatted output to a fixed length +string + +Comment: +This module should not be used as a dependency from a test module, +otherwise when this module occurs as a tests-related module, it will +have side effects on the compilation of the 'vasnprintf' module, if +that module occurs among the main modules in lib/. + +Files: +m4/snprintf-posix.m4 +m4/printf.m4 +m4/math_h.m4 + +Depends-on: +snprintf +nocrash +printf-safe +multiarch +vasnprintf [test $ac_cv_func_snprintf = no || test $REPLACE_SNPRINTF = 1] +isnand-nolibm [test $ac_cv_func_snprintf = no || test $REPLACE_SNPRINTF = 1] +isnanl-nolibm [test $ac_cv_func_snprintf = no || test $REPLACE_SNPRINTF = 1] +frexp-nolibm [test $ac_cv_func_snprintf = no || test $REPLACE_SNPRINTF = 1] +frexpl-nolibm [test $ac_cv_func_snprintf = no || test $REPLACE_SNPRINTF = 1] +printf-frexp [test $ac_cv_func_snprintf = no || test $REPLACE_SNPRINTF = 1] +printf-frexpl [test $ac_cv_func_snprintf = no || test $REPLACE_SNPRINTF = 1] +signbit [test $ac_cv_func_snprintf = no || test $REPLACE_SNPRINTF = 1] +fpucw [test $ac_cv_func_snprintf = no || test $REPLACE_SNPRINTF = 1] + +configure.ac: +gl_FUNC_SNPRINTF_POSIX + +Makefile.am: + +Include: +<stdio.h> + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/snprintf-posix-tests b/gnulib/modules/snprintf-posix-tests new file mode 100644 index 0000000..0f7257e --- /dev/null +++ b/gnulib/modules/snprintf-posix-tests @@ -0,0 +1,23 @@ +Files: +tests/test-snprintf-posix.c +tests/test-snprintf-posix.h +tests/test-snprintf.c +tests/minus-zero.h +tests/infinity.h +tests/nan.h +tests/signature.h +tests/macros.h + +Depends-on: +stdint +float + +configure.ac: +AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE]) +AC_DEFINE([CHECK_SNPRINTF_POSIX], 1, + [Define to 1 for strict checking in test-snprintf.c.]) + +Makefile.am: +TESTS += test-snprintf-posix test-snprintf +check_PROGRAMS += test-snprintf-posix test-snprintf + diff --git a/gnulib/modules/snprintf-tests b/gnulib/modules/snprintf-tests new file mode 100644 index 0000000..df0a316 --- /dev/null +++ b/gnulib/modules/snprintf-tests @@ -0,0 +1,13 @@ +Files: +tests/test-snprintf.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-snprintf +check_PROGRAMS += test-snprintf + diff --git a/gnulib/modules/socket b/gnulib/modules/socket new file mode 100644 index 0000000..4962549 --- /dev/null +++ b/gnulib/modules/socket @@ -0,0 +1,43 @@ +Description: +socket() function: create a socket. + +Files: +lib/socket.c +lib/w32sock.h + +Depends-on: +sys_socket +socketlib +errno [test "$ac_cv_header_winsock2_h" = yes] +sockets [test "$ac_cv_header_winsock2_h" = yes] +msvc-nothrow [test "$ac_cv_header_winsock2_h" = yes] + +configure.ac: +AC_REQUIRE([gl_HEADER_SYS_SOCKET]) +if test "$ac_cv_header_winsock2_h" = yes; then + AC_LIBOBJ([socket]) +fi +# When this module is used, sockets may actually occur as file descriptors, +# hence it is worth warning if the modules 'close' and 'ioctl' are not used. +m4_ifdef([gl_UNISTD_H_DEFAULTS], [AC_REQUIRE([gl_UNISTD_H_DEFAULTS])]) +m4_ifdef([gl_SYS_IOCTL_H_DEFAULTS], [AC_REQUIRE([gl_SYS_IOCTL_H_DEFAULTS])]) +AC_REQUIRE([gl_PREREQ_SYS_H_WINSOCK2]) +if test "$ac_cv_header_winsock2_h" = yes; then + UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=1 + SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=1 +fi +gl_SYS_SOCKET_MODULE_INDICATOR([socket]) + +Makefile.am: + +Include: +<sys/socket.h> + +Link: +$(LIBSOCKET) + +License: +LGPLv2+ + +Maintainer: +Paolo Bonzini, Simon Josefsson diff --git a/gnulib/modules/socketlib b/gnulib/modules/socketlib new file mode 100644 index 0000000..11cf06d --- /dev/null +++ b/gnulib/modules/socketlib @@ -0,0 +1,24 @@ +Description: +Access to socket primitives. + +Files: +m4/socketlib.m4 +m4/sys_socket_h.m4 + +Depends-on: + +configure.ac: +gl_SOCKETLIB + +Makefile.am: + +Include: + +Link: +$(LIBSOCKET) + +License: +LGPLv2+ + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/sockets b/gnulib/modules/sockets new file mode 100644 index 0000000..b6dffab --- /dev/null +++ b/gnulib/modules/sockets @@ -0,0 +1,32 @@ +Description: +General facilities for using sockets + +Files: +lib/sockets.c +lib/sockets.h +lib/w32sock.h +m4/sockets.m4 + +Depends-on: +socketlib +sys_socket +fd-hook +msvc-nothrow + +configure.ac: +gl_SOCKETS + +Makefile.am: +lib_SOURCES += sockets.h sockets.c + +Include: +"sockets.h" + +Link: +$(LIBSOCKET) + +License: +LGPLv2+ + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/sockets-tests b/gnulib/modules/sockets-tests new file mode 100644 index 0000000..22524e4 --- /dev/null +++ b/gnulib/modules/sockets-tests @@ -0,0 +1,11 @@ +Files: +tests/test-sockets.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-sockets +check_PROGRAMS += test-sockets +test_sockets_LDADD = $(LDADD) @LIBSOCKET@ diff --git a/gnulib/modules/socklen b/gnulib/modules/socklen new file mode 100644 index 0000000..556336b --- /dev/null +++ b/gnulib/modules/socklen @@ -0,0 +1,26 @@ +Description: +Declare socklen_t in config.h if the system doesn't have it. + +Files: +m4/socklen.m4 + +Depends-on: + +configure.ac: +gl_TYPE_SOCKLEN_T + +Makefile.am: + +Include: +#include <sys/types.h> +#if HAVE_SYS_SOCKET_H +# include <sys/socket.h> +#elif HAVE_WS2TCPIP_H +# include <ws2tcpip.h> +#endif + +License: +unlimited + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/spawn b/gnulib/modules/spawn new file mode 100644 index 0000000..436a7fe --- /dev/null +++ b/gnulib/modules/spawn @@ -0,0 +1,73 @@ +Description: +A POSIX compliant <spawn.h>. + +Files: +lib/spawn.in.h +m4/spawn_h.m4 + +Depends-on: +include_next +sched +snippet/arg-nonnull +snippet/c++defs +snippet/warn-on-use + +configure.ac: +gl_SPAWN_H + +Makefile.am: +BUILT_SOURCES += spawn.h + +# We need the following in order to create a replacement for <spawn.h> when +# the system doesn't have one. +spawn.h: spawn.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ + -e 's|@''HAVE_SPAWN_H''@|$(HAVE_SPAWN_H)|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_SPAWN_H''@|$(NEXT_SPAWN_H)|g' \ + -e 's/@''GNULIB_POSIX_SPAWN''@/$(GNULIB_POSIX_SPAWN)/g' \ + -e 's/@''GNULIB_POSIX_SPAWNP''@/$(GNULIB_POSIX_SPAWNP)/g' \ + -e 's/@''GNULIB_POSIX_SPAWN_FILE_ACTIONS_INIT''@/$(GNULIB_POSIX_SPAWN_FILE_ACTIONS_INIT)/g' \ + -e 's/@''GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE''@/$(GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE)/g' \ + -e 's/@''GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2''@/$(GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2)/g' \ + -e 's/@''GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN''@/$(GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN)/g' \ + -e 's/@''GNULIB_POSIX_SPAWN_FILE_ACTIONS_DESTROY''@/$(GNULIB_POSIX_SPAWN_FILE_ACTIONS_DESTROY)/g' \ + -e 's/@''GNULIB_POSIX_SPAWNATTR_INIT''@/$(GNULIB_POSIX_SPAWNATTR_INIT)/g' \ + -e 's/@''GNULIB_POSIX_SPAWNATTR_GETFLAGS''@/$(GNULIB_POSIX_SPAWNATTR_GETFLAGS)/g' \ + -e 's/@''GNULIB_POSIX_SPAWNATTR_SETFLAGS''@/$(GNULIB_POSIX_SPAWNATTR_SETFLAGS)/g' \ + -e 's/@''GNULIB_POSIX_SPAWNATTR_GETPGROUP''@/$(GNULIB_POSIX_SPAWNATTR_GETPGROUP)/g' \ + -e 's/@''GNULIB_POSIX_SPAWNATTR_SETPGROUP''@/$(GNULIB_POSIX_SPAWNATTR_SETPGROUP)/g' \ + -e 's/@''GNULIB_POSIX_SPAWNATTR_GETSCHEDPARAM''@/$(GNULIB_POSIX_SPAWNATTR_GETSCHEDPARAM)/g' \ + -e 's/@''GNULIB_POSIX_SPAWNATTR_SETSCHEDPARAM''@/$(GNULIB_POSIX_SPAWNATTR_SETSCHEDPARAM)/g' \ + -e 's/@''GNULIB_POSIX_SPAWNATTR_GETSCHEDPOLICY''@/$(GNULIB_POSIX_SPAWNATTR_GETSCHEDPOLICY)/g' \ + -e 's/@''GNULIB_POSIX_SPAWNATTR_SETSCHEDPOLICY''@/$(GNULIB_POSIX_SPAWNATTR_SETSCHEDPOLICY)/g' \ + -e 's/@''GNULIB_POSIX_SPAWNATTR_GETSIGDEFAULT''@/$(GNULIB_POSIX_SPAWNATTR_GETSIGDEFAULT)/g' \ + -e 's/@''GNULIB_POSIX_SPAWNATTR_SETSIGDEFAULT''@/$(GNULIB_POSIX_SPAWNATTR_SETSIGDEFAULT)/g' \ + -e 's/@''GNULIB_POSIX_SPAWNATTR_GETSIGMASK''@/$(GNULIB_POSIX_SPAWNATTR_GETSIGMASK)/g' \ + -e 's/@''GNULIB_POSIX_SPAWNATTR_SETSIGMASK''@/$(GNULIB_POSIX_SPAWNATTR_SETSIGMASK)/g' \ + -e 's/@''GNULIB_POSIX_SPAWNATTR_DESTROY''@/$(GNULIB_POSIX_SPAWNATTR_DESTROY)/g' \ + -e 's|@''HAVE_POSIX_SPAWN''@|$(HAVE_POSIX_SPAWN)|g' \ + -e 's|@''HAVE_POSIX_SPAWNATTR_T''@|$(HAVE_POSIX_SPAWNATTR_T)|g' \ + -e 's|@''HAVE_POSIX_SPAWN_FILE_ACTIONS_T''@|$(HAVE_POSIX_SPAWN_FILE_ACTIONS_T)|g' \ + -e 's|@''REPLACE_POSIX_SPAWN''@|$(REPLACE_POSIX_SPAWN)|g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ + -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ + < $(srcdir)/spawn.in.h; \ + } > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += spawn.h spawn.h-t + +Include: +<spawn.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible, glibc + diff --git a/gnulib/modules/spawn-c++-tests b/gnulib/modules/spawn-c++-tests new file mode 100644 index 0000000..e685cac --- /dev/null +++ b/gnulib/modules/spawn-c++-tests @@ -0,0 +1,19 @@ +Files: +tests/test-spawn-c++.cc +tests/signature.h + +Status: +c++-test + +Depends-on: +ansi-c++-opt + +configure.ac: + +Makefile.am: +if ANSICXX +TESTS += test-spawn-c++ +check_PROGRAMS += test-spawn-c++ +test_spawn_c___SOURCES = test-spawn-c++.cc +test_spawn_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP) +endif diff --git a/gnulib/modules/spawn-pipe b/gnulib/modules/spawn-pipe new file mode 100644 index 0000000..bcb0c9d --- /dev/null +++ b/gnulib/modules/spawn-pipe @@ -0,0 +1,52 @@ +Description: +Creation of subprocesses, communicating via pipes. + +Files: +lib/spawn-pipe.h +lib/spawn-pipe.c +lib/w32spawn.h +m4/spawn-pipe.m4 + +Depends-on: +cloexec +dup2 +environ +error +fatal-signal +gettext-h +msvc-nothrow +open +pipe2 +pipe2-safer +spawn +posix_spawnp +posix_spawn_file_actions_init +posix_spawn_file_actions_addclose +posix_spawn_file_actions_adddup2 +posix_spawn_file_actions_addopen +posix_spawn_file_actions_destroy +posix_spawnattr_init +posix_spawnattr_setsigmask +posix_spawnattr_setflags +posix_spawnattr_destroy +stdbool +stdlib +strpbrk +unistd +unistd-safer +wait-process + +configure.ac: +gl_SPAWN_PIPE + +Makefile.am: +lib_SOURCES += spawn-pipe.h spawn-pipe.c w32spawn.h + +Include: +"spawn-pipe.h" + +License: +GPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/spawn-pipe-tests b/gnulib/modules/spawn-pipe-tests new file mode 100644 index 0000000..f7831d5 --- /dev/null +++ b/gnulib/modules/spawn-pipe-tests @@ -0,0 +1,19 @@ +Files: +tests/test-spawn-pipe.sh +tests/test-spawn-pipe-main.c +tests/test-spawn-pipe-child.c +tests/macros.h + +Depends-on: +close + +configure.ac: + +Makefile.am: +TESTS += test-spawn-pipe.sh +check_PROGRAMS += test-spawn-pipe-main test-spawn-pipe-child +test_spawn_pipe_main_LDADD = $(LDADD) @LIBINTL@ +# The test-spawn-pipe-child program must be a real executable, not a libtool +# wrapper script, and should link against as few libraries as possible. +# Therefore don't link it against any libraries other than -lc. +test_spawn_pipe_child_LDADD = diff --git a/gnulib/modules/spawn-tests b/gnulib/modules/spawn-tests new file mode 100644 index 0000000..056b2d8 --- /dev/null +++ b/gnulib/modules/spawn-tests @@ -0,0 +1,11 @@ +Files: +tests/test-spawn.c + +Depends-on: +spawn-c++-tests + +configure.ac: + +Makefile.am: +TESTS += test-spawn +check_PROGRAMS += test-spawn diff --git a/gnulib/modules/sprintf-posix b/gnulib/modules/sprintf-posix new file mode 100644 index 0000000..c8bc2a3 --- /dev/null +++ b/gnulib/modules/sprintf-posix @@ -0,0 +1,47 @@ +Description: +POSIX compatible sprintf() function: print formatted output to a string + +Comment: +This module should not be used as a dependency from a test module, +otherwise when this module occurs as a tests-related module, it will +have side effects on the compilation of the 'vasnprintf' module, if +that module occurs among the main modules in lib/. + +Files: +lib/sprintf.c +m4/sprintf-posix.m4 +m4/printf.m4 +m4/math_h.m4 + +Depends-on: +stdio +nocrash +printf-safe +multiarch +vasnprintf [test $REPLACE_SPRINTF = 1] +isnand-nolibm [test $REPLACE_SPRINTF = 1] +isnanl-nolibm [test $REPLACE_SPRINTF = 1] +frexp-nolibm [test $REPLACE_SPRINTF = 1] +frexpl-nolibm [test $REPLACE_SPRINTF = 1] +printf-frexp [test $REPLACE_SPRINTF = 1] +printf-frexpl [test $REPLACE_SPRINTF = 1] +signbit [test $REPLACE_SPRINTF = 1] +fpucw [test $REPLACE_SPRINTF = 1] +stdint [test $REPLACE_SPRINTF = 1] +errno [test $REPLACE_SPRINTF = 1] + +configure.ac: +gl_FUNC_SPRINTF_POSIX +gl_STDIO_MODULE_INDICATOR([sprintf-posix]) + +Makefile.am: + +Include: +<stdio.h> + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/sprintf-posix-tests b/gnulib/modules/sprintf-posix-tests new file mode 100644 index 0000000..ba23199 --- /dev/null +++ b/gnulib/modules/sprintf-posix-tests @@ -0,0 +1,20 @@ +Files: +tests/test-sprintf-posix.c +tests/test-sprintf-posix.h +tests/minus-zero.h +tests/infinity.h +tests/nan.h +tests/signature.h +tests/macros.h + +Depends-on: +stdint +float + +configure.ac: +AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE]) + +Makefile.am: +TESTS += test-sprintf-posix +check_PROGRAMS += test-sprintf-posix + diff --git a/gnulib/modules/sqrt b/gnulib/modules/sqrt new file mode 100644 index 0000000..bceda3d --- /dev/null +++ b/gnulib/modules/sqrt @@ -0,0 +1,25 @@ +Description: +sqrt() function: square root. + +Files: +m4/sqrt.m4 +m4/mathfunc.m4 + +Depends-on: + +configure.ac: +gl_FUNC_SQRT + +Makefile.am: + +Include: +<math.h> + +Link: +$(SQRT_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/sqrt-tests b/gnulib/modules/sqrt-tests new file mode 100644 index 0000000..86d8176 --- /dev/null +++ b/gnulib/modules/sqrt-tests @@ -0,0 +1,13 @@ +Files: +tests/test-sqrt.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-sqrt +check_PROGRAMS += test-sqrt +test_sqrt_LDADD = $(LDADD) @SQRT_LIBM@ diff --git a/gnulib/modules/sqrtf b/gnulib/modules/sqrtf new file mode 100644 index 0000000..4123649 --- /dev/null +++ b/gnulib/modules/sqrtf @@ -0,0 +1,31 @@ +Description: +sqrtf() function: square root. + +Files: +lib/sqrtf.c +m4/sqrtf.m4 + +Depends-on: +math +sqrt [test $HAVE_SQRTF = 0] + +configure.ac: +gl_FUNC_SQRTF +if test $HAVE_SQRTF = 0; then + AC_LIBOBJ([sqrtf]) +fi +gl_MATH_MODULE_INDICATOR([sqrtf]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(SQRTF_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/sqrtf-tests b/gnulib/modules/sqrtf-tests new file mode 100644 index 0000000..3cd8d62 --- /dev/null +++ b/gnulib/modules/sqrtf-tests @@ -0,0 +1,13 @@ +Files: +tests/test-sqrtf.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-sqrtf +check_PROGRAMS += test-sqrtf +test_sqrtf_LDADD = $(LDADD) @SQRTF_LIBM@ diff --git a/gnulib/modules/sqrtl b/gnulib/modules/sqrtl new file mode 100644 index 0000000..9bfa381 --- /dev/null +++ b/gnulib/modules/sqrtl @@ -0,0 +1,36 @@ +Description: +sqrtl() function: square root with long double argument. + +Files: +lib/sqrtl.c +m4/sqrtl.m4 + +Depends-on: +math +extensions +sqrt [test $HAVE_SQRTL = 0] +float [test $HAVE_SQRTL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] +isnanl [test $HAVE_SQRTL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] +frexpl [test $HAVE_SQRTL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] +ldexpl [test $HAVE_SQRTL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] + +configure.ac: +gl_FUNC_SQRTL +if test $HAVE_SQRTL = 0; then + AC_LIBOBJ([sqrtl]) +fi +gl_MATH_MODULE_INDICATOR([sqrtl]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(SQRTL_LIBM) + +License: +LGPL + +Maintainer: +Paolo Bonzini diff --git a/gnulib/modules/sqrtl-tests b/gnulib/modules/sqrtl-tests new file mode 100644 index 0000000..eab018b --- /dev/null +++ b/gnulib/modules/sqrtl-tests @@ -0,0 +1,14 @@ +Files: +tests/test-sqrtl.c +tests/signature.h +tests/macros.h + +Depends-on: +fpucw + +configure.ac: + +Makefile.am: +TESTS += test-sqrtl +check_PROGRAMS += test-sqrtl +test_sqrtl_LDADD = $(LDADD) @SQRTL_LIBM@ diff --git a/gnulib/modules/ssize_t b/gnulib/modules/ssize_t new file mode 100644 index 0000000..64c880b --- /dev/null +++ b/gnulib/modules/ssize_t @@ -0,0 +1,21 @@ +Description: +Define ssize_t if it does not already exist. + +Files: +m4/ssize_t.m4 + +Depends-on: + +configure.ac: +gt_TYPE_SSIZE_T + +Makefile.am: + +Include: +<sys/types.h> + +License: +unlimited + +Maintainer: +all diff --git a/gnulib/modules/stat b/gnulib/modules/stat new file mode 100644 index 0000000..e309d73 --- /dev/null +++ b/gnulib/modules/stat @@ -0,0 +1,33 @@ +Description: +stat() function: query file information + +Files: +lib/stat.c +m4/stat.m4 + +Depends-on: +sys_stat +largefile +dosname [test $REPLACE_STAT = 1] +pathmax [test $REPLACE_STAT = 1] +stdbool [test $REPLACE_STAT = 1] +verify [test $REPLACE_STAT = 1] + +configure.ac: +gl_FUNC_STAT +if test $REPLACE_STAT = 1; then + AC_LIBOBJ([stat]) + gl_PREREQ_STAT +fi +gl_SYS_STAT_MODULE_INDICATOR([stat]) + +Makefile.am: + +Include: +<sys/stat.h> + +License: +LGPLv2+ + +Maintainer: +Eric Blake diff --git a/gnulib/modules/stat-macros b/gnulib/modules/stat-macros new file mode 100644 index 0000000..d9a331c --- /dev/null +++ b/gnulib/modules/stat-macros @@ -0,0 +1,20 @@ +Description: +stat-related macros + +Files: +lib/stat-macros.h + +Depends-on: + +configure.ac: + +Makefile.am: + +Include: +"stat-macros.h" + +License: +GPL + +Maintainer: +all diff --git a/gnulib/modules/stat-size b/gnulib/modules/stat-size new file mode 100644 index 0000000..7727970 --- /dev/null +++ b/gnulib/modules/stat-size @@ -0,0 +1,24 @@ +Description: +stat-related file size macros + +Files: +lib/stat-size.h +m4/stat-size.m4 + +Depends-on: +fileblocks +sys_stat + +configure.ac: +gl_STAT_SIZE + +Makefile.am: + +Include: +"stat-size.h" + +License: +GPL + +Maintainer: +James Youngman, Jim Meyering diff --git a/gnulib/modules/stat-tests b/gnulib/modules/stat-tests new file mode 100644 index 0000000..60ecc17 --- /dev/null +++ b/gnulib/modules/stat-tests @@ -0,0 +1,18 @@ +Files: +tests/test-stat.h +tests/test-stat.c +tests/signature.h +tests/macros.h + +Depends-on: +getcwd-lgpl +same-inode +stdbool +symlink + +configure.ac: + +Makefile.am: +TESTS += test-stat +check_PROGRAMS += test-stat +test_stat_LDADD = $(LDADD) $(LIBINTL) diff --git a/gnulib/modules/stat-time b/gnulib/modules/stat-time new file mode 100644 index 0000000..0a68ce5 --- /dev/null +++ b/gnulib/modules/stat-time @@ -0,0 +1,25 @@ +Description: +stat-related time functions + +Files: +lib/stat-time.h +m4/stat-time.m4 + +Depends-on: +time +extensions + +configure.ac: +gl_STAT_TIME +gl_STAT_BIRTHTIME + +Makefile.am: + +Include: +"stat-time.h" + +License: +LGPL + +Maintainer: +Paul Eggert and Jim Meyering diff --git a/gnulib/modules/stat-time-tests b/gnulib/modules/stat-time-tests new file mode 100644 index 0000000..2e72444 --- /dev/null +++ b/gnulib/modules/stat-time-tests @@ -0,0 +1,13 @@ +Files: +tests/test-stat-time.c +tests/macros.h + +Depends-on: +time +usleep + +configure.ac: + +Makefile.am: +TESTS += test-stat-time +check_PROGRAMS += test-stat-time diff --git a/gnulib/modules/stdalign b/gnulib/modules/stdalign new file mode 100644 index 0000000..c91e5e0 --- /dev/null +++ b/gnulib/modules/stdalign @@ -0,0 +1,38 @@ +Description: +A <stdalign.h> that nearly conforms to ISO C1X and C++0X. + +Files: +lib/stdalign.in.h +m4/stdalign.m4 + +Depends-on: + +configure.ac: +gl_STDALIGN_H + +Makefile.am: +BUILT_SOURCES += $(STDALIGN_H) + +# We need the following in order to create <stdalign.h> when the system +# doesn't have one that works. +if GL_GENERATE_STDALIGN_H +stdalign.h: stdalign.in.h $(top_builddir)/config.status + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + cat $(srcdir)/stdalign.in.h; \ + } > $@-t && \ + mv $@-t $@ +else +stdalign.h: $(top_builddir)/config.status + rm -f $@ +endif +MOSTLYCLEANFILES += stdalign.h stdalign.h-t + +Include: +<stdalign.h> + +License: +LGPLv2+ + +Maintainer: +Paul Eggert, Bruno Haible diff --git a/gnulib/modules/stdalign-tests b/gnulib/modules/stdalign-tests new file mode 100644 index 0000000..6d97a3d --- /dev/null +++ b/gnulib/modules/stdalign-tests @@ -0,0 +1,13 @@ +Files: +tests/test-stdalign.c +tests/macros.h + +Depends-on: +verify +stdint + +configure.ac: + +Makefile.am: +TESTS += test-stdalign +check_PROGRAMS += test-stdalign diff --git a/gnulib/modules/stdarg b/gnulib/modules/stdarg new file mode 100644 index 0000000..44029cd --- /dev/null +++ b/gnulib/modules/stdarg @@ -0,0 +1,51 @@ +Description: +An <stdarg.h> that conforms to C99. + +Files: +lib/stdarg.in.h +m4/stdarg.m4 + +Depends-on: +include_next + +configure.ac-early: +dnl Some compilers (e.g., AIX 5.3 cc) need to be in c99 mode +dnl for the builtin va_copy to work. With Autoconf 2.60 or later, +dnl gl_PROG_CC_C99 arranges for this. With older Autoconf gl_PROG_CC_C99 +dnl shouldn't hurt, though installers are on their own to set c99 mode. +gl_PROG_CC_C99 + +configure.ac: +gl_STDARG_H + +Makefile.am: +BUILT_SOURCES += $(STDARG_H) + +# We need the following in order to create <stdarg.h> when the system +# doesn't have one that works with the given compiler. +if GL_GENERATE_STDARG_H +stdarg.h: stdarg.in.h $(top_builddir)/config.status + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ + sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_STDARG_H''@|$(NEXT_STDARG_H)|g' \ + < $(srcdir)/stdarg.in.h; \ + } > $@-t && \ + mv $@-t $@ +else +stdarg.h: $(top_builddir)/config.status + rm -f $@ +endif +MOSTLYCLEANFILES += stdarg.h stdarg.h-t + +Include: +<stdarg.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/stdbool b/gnulib/modules/stdbool new file mode 100644 index 0000000..cfb9aac --- /dev/null +++ b/gnulib/modules/stdbool @@ -0,0 +1,39 @@ +Description: +An <stdbool.h> that nearly conforms to C99. +(Nearly: casts to bool may not work.) + +Files: +lib/stdbool.in.h +m4/stdbool.m4 + +Depends-on: + +configure.ac: +AM_STDBOOL_H + +Makefile.am: +BUILT_SOURCES += $(STDBOOL_H) + +# We need the following in order to create <stdbool.h> when the system +# doesn't have one that works. +if GL_GENERATE_STDBOOL_H +stdbool.h: stdbool.in.h $(top_builddir)/config.status + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \ + } > $@-t && \ + mv $@-t $@ +else +stdbool.h: $(top_builddir)/config.status + rm -f $@ +endif +MOSTLYCLEANFILES += stdbool.h stdbool.h-t + +Include: +<stdbool.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/stdbool-tests b/gnulib/modules/stdbool-tests new file mode 100644 index 0000000..6905dfb --- /dev/null +++ b/gnulib/modules/stdbool-tests @@ -0,0 +1,10 @@ +Files: +tests/test-stdbool.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-stdbool +check_PROGRAMS += test-stdbool diff --git a/gnulib/modules/stddef b/gnulib/modules/stddef new file mode 100644 index 0000000..fd4cf50 --- /dev/null +++ b/gnulib/modules/stddef @@ -0,0 +1,47 @@ +Description: +A <stddef.h> that works around platform issues. + +Files: +lib/stddef.in.h +m4/stddef_h.m4 +m4/wchar_t.m4 + +Depends-on: +include_next + +configure.ac: +gl_STDDEF_H + +Makefile.am: +BUILT_SOURCES += $(STDDEF_H) + +# We need the following in order to create <stddef.h> when the system +# doesn't have one that works with the given compiler. +if GL_GENERATE_STDDEF_H +stddef.h: stddef.in.h $(top_builddir)/config.status + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ + sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \ + -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \ + -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \ + < $(srcdir)/stddef.in.h; \ + } > $@-t && \ + mv $@-t $@ +else +stddef.h: $(top_builddir)/config.status + rm -f $@ +endif +MOSTLYCLEANFILES += stddef.h stddef.h-t + +Include: +<stddef.h> + +License: +LGPLv2+ + +Maintainer: +all diff --git a/gnulib/modules/stddef-tests b/gnulib/modules/stddef-tests new file mode 100644 index 0000000..622ece5 --- /dev/null +++ b/gnulib/modules/stddef-tests @@ -0,0 +1,11 @@ +Files: +tests/test-stddef.c + +Depends-on: +verify + +configure.ac: + +Makefile.am: +TESTS += test-stddef +check_PROGRAMS += test-stddef diff --git a/gnulib/modules/stdint b/gnulib/modules/stdint new file mode 100644 index 0000000..92eb59f --- /dev/null +++ b/gnulib/modules/stdint @@ -0,0 +1,73 @@ +Description: +A <stdint.h> that nearly conforms to C99. +Assumes typical host with 8-bit bytes, two's complement +representation, and no padding or trap representations, with int +widths equal to 8, 16, 32, and 64 bits. {uint,int}_fast{8,16,32,64}_t +may not correspond to the fastest types available on the system. +Macros are used instead of typedefs. + +Files: +lib/stdint.in.h +m4/stdint.m4 +m4/longlong.m4 + +Depends-on: +include_next +multiarch + +configure.ac: +gl_STDINT_H + +Makefile.am: +BUILT_SOURCES += $(STDINT_H) + +# We need the following in order to create <stdint.h> when the system +# doesn't have one that works with the given compiler. +if GL_GENERATE_STDINT_H +stdint.h: stdint.in.h $(top_builddir)/config.status + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ + -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \ + -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \ + -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \ + -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \ + -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \ + -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \ + -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \ + -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \ + -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \ + -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \ + -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \ + -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \ + -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \ + -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \ + -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \ + -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \ + -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \ + -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \ + -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \ + -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \ + -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \ + -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \ + < $(srcdir)/stdint.in.h; \ + } > $@-t && \ + mv $@-t $@ +else +stdint.h: $(top_builddir)/config.status + rm -f $@ +endif +MOSTLYCLEANFILES += stdint.h stdint.h-t + +Include: +<stdint.h> + +License: +LGPLv2+ + +Maintainer: +all diff --git a/gnulib/modules/stdint-tests b/gnulib/modules/stdint-tests new file mode 100644 index 0000000..d83cd4c --- /dev/null +++ b/gnulib/modules/stdint-tests @@ -0,0 +1,17 @@ +Files: +tests/test-stdint.c +m4/wchar_t.m4 +m4/wint_t.m4 + +Depends-on: +verify +intprops +wchar + +configure.ac: +gt_TYPE_WCHAR_T +gt_TYPE_WINT_T + +Makefile.am: +TESTS += test-stdint +check_PROGRAMS += test-stdint diff --git a/gnulib/modules/stdio b/gnulib/modules/stdio new file mode 100644 index 0000000..2e094b8 --- /dev/null +++ b/gnulib/modules/stdio @@ -0,0 +1,150 @@ +Description: +A GNU-like <stdio.h>. + +Files: +lib/stdio.in.h +m4/stdio_h.m4 + +Depends-on: +include_next +snippet/arg-nonnull +snippet/c++defs +snippet/warn-on-use +ssize_t +stddef + +configure.ac: +gl_STDIO_H + +Makefile.am: +BUILT_SOURCES += stdio.h + +# We need the following in order to create <stdio.h> when the system +# doesn't have one that works with the given compiler. +stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ + sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \ + -e 's/@''GNULIB_DPRINTF''@/$(GNULIB_DPRINTF)/g' \ + -e 's/@''GNULIB_FCLOSE''@/$(GNULIB_FCLOSE)/g' \ + -e 's/@''GNULIB_FDOPEN''@/$(GNULIB_FDOPEN)/g' \ + -e 's/@''GNULIB_FFLUSH''@/$(GNULIB_FFLUSH)/g' \ + -e 's/@''GNULIB_FGETC''@/$(GNULIB_FGETC)/g' \ + -e 's/@''GNULIB_FGETS''@/$(GNULIB_FGETS)/g' \ + -e 's/@''GNULIB_FOPEN''@/$(GNULIB_FOPEN)/g' \ + -e 's/@''GNULIB_FPRINTF''@/$(GNULIB_FPRINTF)/g' \ + -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GNULIB_FPRINTF_POSIX)/g' \ + -e 's/@''GNULIB_FPURGE''@/$(GNULIB_FPURGE)/g' \ + -e 's/@''GNULIB_FPUTC''@/$(GNULIB_FPUTC)/g' \ + -e 's/@''GNULIB_FPUTS''@/$(GNULIB_FPUTS)/g' \ + -e 's/@''GNULIB_FREAD''@/$(GNULIB_FREAD)/g' \ + -e 's/@''GNULIB_FREOPEN''@/$(GNULIB_FREOPEN)/g' \ + -e 's/@''GNULIB_FSCANF''@/$(GNULIB_FSCANF)/g' \ + -e 's/@''GNULIB_FSEEK''@/$(GNULIB_FSEEK)/g' \ + -e 's/@''GNULIB_FSEEKO''@/$(GNULIB_FSEEKO)/g' \ + -e 's/@''GNULIB_FTELL''@/$(GNULIB_FTELL)/g' \ + -e 's/@''GNULIB_FTELLO''@/$(GNULIB_FTELLO)/g' \ + -e 's/@''GNULIB_FWRITE''@/$(GNULIB_FWRITE)/g' \ + -e 's/@''GNULIB_GETC''@/$(GNULIB_GETC)/g' \ + -e 's/@''GNULIB_GETCHAR''@/$(GNULIB_GETCHAR)/g' \ + -e 's/@''GNULIB_GETDELIM''@/$(GNULIB_GETDELIM)/g' \ + -e 's/@''GNULIB_GETLINE''@/$(GNULIB_GETLINE)/g' \ + -e 's/@''GNULIB_GETS''@/$(GNULIB_GETS)/g' \ + -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GNULIB_OBSTACK_PRINTF)/g' \ + -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GNULIB_OBSTACK_PRINTF_POSIX)/g' \ + -e 's/@''GNULIB_PCLOSE''@/$(GNULIB_PCLOSE)/g' \ + -e 's/@''GNULIB_PERROR''@/$(GNULIB_PERROR)/g' \ + -e 's/@''GNULIB_POPEN''@/$(GNULIB_POPEN)/g' \ + -e 's/@''GNULIB_PRINTF''@/$(GNULIB_PRINTF)/g' \ + -e 's/@''GNULIB_PRINTF_POSIX''@/$(GNULIB_PRINTF_POSIX)/g' \ + -e 's/@''GNULIB_PUTC''@/$(GNULIB_PUTC)/g' \ + -e 's/@''GNULIB_PUTCHAR''@/$(GNULIB_PUTCHAR)/g' \ + -e 's/@''GNULIB_PUTS''@/$(GNULIB_PUTS)/g' \ + -e 's/@''GNULIB_REMOVE''@/$(GNULIB_REMOVE)/g' \ + -e 's/@''GNULIB_RENAME''@/$(GNULIB_RENAME)/g' \ + -e 's/@''GNULIB_RENAMEAT''@/$(GNULIB_RENAMEAT)/g' \ + -e 's/@''GNULIB_SCANF''@/$(GNULIB_SCANF)/g' \ + -e 's/@''GNULIB_SNPRINTF''@/$(GNULIB_SNPRINTF)/g' \ + -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GNULIB_SPRINTF_POSIX)/g' \ + -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GNULIB_STDIO_H_NONBLOCKING)/g' \ + -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GNULIB_STDIO_H_SIGPIPE)/g' \ + -e 's/@''GNULIB_TMPFILE''@/$(GNULIB_TMPFILE)/g' \ + -e 's/@''GNULIB_VASPRINTF''@/$(GNULIB_VASPRINTF)/g' \ + -e 's/@''GNULIB_VDPRINTF''@/$(GNULIB_VDPRINTF)/g' \ + -e 's/@''GNULIB_VFPRINTF''@/$(GNULIB_VFPRINTF)/g' \ + -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GNULIB_VFPRINTF_POSIX)/g' \ + -e 's/@''GNULIB_VFSCANF''@/$(GNULIB_VFSCANF)/g' \ + -e 's/@''GNULIB_VSCANF''@/$(GNULIB_VSCANF)/g' \ + -e 's/@''GNULIB_VPRINTF''@/$(GNULIB_VPRINTF)/g' \ + -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GNULIB_VPRINTF_POSIX)/g' \ + -e 's/@''GNULIB_VSNPRINTF''@/$(GNULIB_VSNPRINTF)/g' \ + -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GNULIB_VSPRINTF_POSIX)/g' \ + < $(srcdir)/stdio.in.h | \ + sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \ + -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \ + -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \ + -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \ + -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \ + -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \ + -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \ + -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \ + -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \ + -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \ + -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \ + -e 's|@''HAVE_PCLOSE''@|$(HAVE_PCLOSE)|g' \ + -e 's|@''HAVE_POPEN''@|$(HAVE_POPEN)|g' \ + -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \ + -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \ + -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \ + -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \ + -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \ + -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \ + -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \ + -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \ + -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \ + -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \ + -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \ + -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \ + -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \ + -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \ + -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \ + -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \ + -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \ + -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \ + -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \ + -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \ + -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \ + -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \ + -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \ + -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \ + -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \ + -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \ + -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \ + -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \ + -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \ + -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \ + -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \ + -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \ + -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \ + -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \ + -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \ + -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ + -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ + } > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += stdio.h stdio.h-t + +Include: +<stdio.h> + +License: +LGPLv2+ + +Maintainer: +all diff --git a/gnulib/modules/stdio-c++-tests b/gnulib/modules/stdio-c++-tests new file mode 100644 index 0000000..05e7544 --- /dev/null +++ b/gnulib/modules/stdio-c++-tests @@ -0,0 +1,20 @@ +Files: +tests/test-stdio-c++.cc +tests/test-stdio-c++2.cc +tests/signature.h + +Status: +c++-test + +Depends-on: +ansi-c++-opt + +configure.ac: + +Makefile.am: +if ANSICXX +TESTS += test-stdio-c++ +check_PROGRAMS += test-stdio-c++ +test_stdio_c___SOURCES = test-stdio-c++.cc test-stdio-c++2.cc +test_stdio_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP) $(LIB_EACCESS) +endif diff --git a/gnulib/modules/stdio-tests b/gnulib/modules/stdio-tests new file mode 100644 index 0000000..fcda690 --- /dev/null +++ b/gnulib/modules/stdio-tests @@ -0,0 +1,16 @@ +Files: +tests/test-stdio.c + +Depends-on: +verify +stdio-c++-tests +fgetc-tests +fputc-tests +fread-tests +fwrite-tests + +configure.ac: + +Makefile.am: +TESTS += test-stdio +check_PROGRAMS += test-stdio diff --git a/gnulib/modules/stdlib b/gnulib/modules/stdlib new file mode 100644 index 0000000..2beee3d --- /dev/null +++ b/gnulib/modules/stdlib @@ -0,0 +1,119 @@ +Description: +A GNU-like <stdlib.h>. + +Files: +lib/stdlib.in.h +m4/stdlib_h.m4 + +Depends-on: +include_next +snippet/arg-nonnull +snippet/c++defs +snippet/warn-on-use +snippet/_Noreturn +stddef +unistd + +configure.ac: +gl_STDLIB_H + +Makefile.am: +BUILT_SOURCES += stdlib.h + +# We need the following in order to create <stdlib.h> when the system +# doesn't have one that works with the given compiler. +stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \ + $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ + sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \ + -e 's/@''GNULIB__EXIT''@/$(GNULIB__EXIT)/g' \ + -e 's/@''GNULIB_ATOLL''@/$(GNULIB_ATOLL)/g' \ + -e 's/@''GNULIB_CALLOC_POSIX''@/$(GNULIB_CALLOC_POSIX)/g' \ + -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GNULIB_CANONICALIZE_FILE_NAME)/g' \ + -e 's/@''GNULIB_GETLOADAVG''@/$(GNULIB_GETLOADAVG)/g' \ + -e 's/@''GNULIB_GETSUBOPT''@/$(GNULIB_GETSUBOPT)/g' \ + -e 's/@''GNULIB_GRANTPT''@/$(GNULIB_GRANTPT)/g' \ + -e 's/@''GNULIB_MALLOC_POSIX''@/$(GNULIB_MALLOC_POSIX)/g' \ + -e 's/@''GNULIB_MBTOWC''@/$(GNULIB_MBTOWC)/g' \ + -e 's/@''GNULIB_MKDTEMP''@/$(GNULIB_MKDTEMP)/g' \ + -e 's/@''GNULIB_MKOSTEMP''@/$(GNULIB_MKOSTEMP)/g' \ + -e 's/@''GNULIB_MKOSTEMPS''@/$(GNULIB_MKOSTEMPS)/g' \ + -e 's/@''GNULIB_MKSTEMP''@/$(GNULIB_MKSTEMP)/g' \ + -e 's/@''GNULIB_MKSTEMPS''@/$(GNULIB_MKSTEMPS)/g' \ + -e 's/@''GNULIB_POSIX_OPENPT''@/$(GNULIB_POSIX_OPENPT)/g' \ + -e 's/@''GNULIB_PTSNAME''@/$(GNULIB_PTSNAME)/g' \ + -e 's/@''GNULIB_PTSNAME_R''@/$(GNULIB_PTSNAME_R)/g' \ + -e 's/@''GNULIB_PUTENV''@/$(GNULIB_PUTENV)/g' \ + -e 's/@''GNULIB_RANDOM_R''@/$(GNULIB_RANDOM_R)/g' \ + -e 's/@''GNULIB_REALLOC_POSIX''@/$(GNULIB_REALLOC_POSIX)/g' \ + -e 's/@''GNULIB_REALPATH''@/$(GNULIB_REALPATH)/g' \ + -e 's/@''GNULIB_RPMATCH''@/$(GNULIB_RPMATCH)/g' \ + -e 's/@''GNULIB_SETENV''@/$(GNULIB_SETENV)/g' \ + -e 's/@''GNULIB_STRTOD''@/$(GNULIB_STRTOD)/g' \ + -e 's/@''GNULIB_STRTOLL''@/$(GNULIB_STRTOLL)/g' \ + -e 's/@''GNULIB_STRTOULL''@/$(GNULIB_STRTOULL)/g' \ + -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GNULIB_SYSTEM_POSIX)/g' \ + -e 's/@''GNULIB_UNLOCKPT''@/$(GNULIB_UNLOCKPT)/g' \ + -e 's/@''GNULIB_UNSETENV''@/$(GNULIB_UNSETENV)/g' \ + -e 's/@''GNULIB_WCTOMB''@/$(GNULIB_WCTOMB)/g' \ + < $(srcdir)/stdlib.in.h | \ + sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \ + -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \ + -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \ + -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \ + -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \ + -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \ + -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \ + -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \ + -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \ + -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \ + -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \ + -e 's|@''HAVE_POSIX_OPENPT''@|$(HAVE_POSIX_OPENPT)|g' \ + -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \ + -e 's|@''HAVE_PTSNAME_R''@|$(HAVE_PTSNAME_R)|g' \ + -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \ + -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \ + -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \ + -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \ + -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \ + -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \ + -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \ + -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \ + -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \ + -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \ + -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \ + -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \ + -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \ + -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \ + -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \ + -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \ + -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \ + -e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \ + -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \ + -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \ + -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \ + -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \ + -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \ + -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \ + -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ + -e '/definition of _Noreturn/r $(_NORETURN_H)' \ + -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ + } > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += stdlib.h stdlib.h-t + +Include: +<stdlib.h> + +License: +LGPLv2+ + +Maintainer: +all diff --git a/gnulib/modules/stdlib-c++-tests b/gnulib/modules/stdlib-c++-tests new file mode 100644 index 0000000..634a2b3 --- /dev/null +++ b/gnulib/modules/stdlib-c++-tests @@ -0,0 +1,20 @@ +Files: +tests/test-stdlib-c++.cc +tests/test-stdlib-c++2.cc +tests/signature.h + +Status: +c++-test + +Depends-on: +ansi-c++-opt + +configure.ac: + +Makefile.am: +if ANSICXX +TESTS += test-stdlib-c++ +check_PROGRAMS += test-stdlib-c++ +test_stdlib_c___SOURCES = test-stdlib-c++.cc test-stdlib-c++2.cc +test_stdlib_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_CLOCK_GETTIME) $(LIB_EACCESS) +endif diff --git a/gnulib/modules/stdlib-safer b/gnulib/modules/stdlib-safer new file mode 100644 index 0000000..8dbd682 --- /dev/null +++ b/gnulib/modules/stdlib-safer @@ -0,0 +1,27 @@ +Description: +File stream functions that avoid clobbering std{in,out,err}. + +Files: +lib/stdlib--.h +lib/stdlib-safer.h +lib/mkstemp-safer.c + +Depends-on: +fd-safer-flag +mkstemp +stdlib +unistd-safer + +configure.ac: + +Makefile.am: +lib_SOURCES += mkstemp-safer.c + +Include: +"stdlib-safer.h" + +License: +GPL + +Maintainer: +Paul Eggert, Jim Meyering diff --git a/gnulib/modules/stdlib-tests b/gnulib/modules/stdlib-tests new file mode 100644 index 0000000..7225c65 --- /dev/null +++ b/gnulib/modules/stdlib-tests @@ -0,0 +1,13 @@ +Files: +tests/test-stdlib.c +tests/test-sys_wait.h + +Depends-on: +verify +stdlib-c++-tests + +configure.ac: + +Makefile.am: +TESTS += test-stdlib +check_PROGRAMS += test-stdlib diff --git a/gnulib/modules/stpcpy b/gnulib/modules/stpcpy new file mode 100644 index 0000000..2c3cc95 --- /dev/null +++ b/gnulib/modules/stpcpy @@ -0,0 +1,29 @@ +Description: +stpcpy() function: copy a string, returning a pointer to its end. + +Files: +lib/stpcpy.c +m4/stpcpy.m4 + +Depends-on: +extensions +string + +configure.ac: +gl_FUNC_STPCPY +if test $HAVE_STPCPY = 0; then + AC_LIBOBJ([stpcpy]) + gl_PREREQ_STPCPY +fi +gl_STRING_MODULE_INDICATOR([stpcpy]) + +Makefile.am: + +Include: +<string.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible, glibc diff --git a/gnulib/modules/stpncpy b/gnulib/modules/stpncpy new file mode 100644 index 0000000..cfad9aa --- /dev/null +++ b/gnulib/modules/stpncpy @@ -0,0 +1,29 @@ +Description: +stpncpy() function: copy a size-bounded string, returning a pointer to its end. + +Files: +lib/stpncpy.c +m4/stpncpy.m4 + +Depends-on: +extensions +string + +configure.ac: +gl_FUNC_STPNCPY +if test $HAVE_STPNCPY = 0 || test $REPLACE_STPNCPY = 1; then + AC_LIBOBJ([stpncpy]) + gl_PREREQ_STPNCPY +fi +gl_STRING_MODULE_INDICATOR([stpncpy]) + +Makefile.am: + +Include: +<string.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible, glibc diff --git a/gnulib/modules/strcase b/gnulib/modules/strcase new file mode 100644 index 0000000..486a277 --- /dev/null +++ b/gnulib/modules/strcase @@ -0,0 +1,32 @@ +Description: +Case-insensitive string comparison functions. + +Files: +lib/strcasecmp.c +lib/strncasecmp.c +m4/strcase.m4 + +Depends-on: +strings + +configure.ac: +gl_STRCASE +if test $HAVE_STRCASECMP = 0; then + AC_LIBOBJ([strcasecmp]) + gl_PREREQ_STRCASECMP +fi +if test $HAVE_STRNCASECMP = 0; then + AC_LIBOBJ([strncasecmp]) + gl_PREREQ_STRNCASECMP +fi + +Makefile.am: + +Include: +<strings.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/strcasestr b/gnulib/modules/strcasestr new file mode 100644 index 0000000..9a299e9 --- /dev/null +++ b/gnulib/modules/strcasestr @@ -0,0 +1,26 @@ +Description: +strcasestr() function: efficient case-insensitive search for unibyte substring. + +Files: + +Depends-on: +strcasestr-simple + +configure.ac: +gl_FUNC_STRCASESTR +if test $HAVE_STRCASESTR = 0 || test $REPLACE_STRCASESTR = 1; then + AC_LIBOBJ([strcasestr]) + gl_PREREQ_STRCASESTR +fi + +Makefile.am: + +Include: +<string.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/strcasestr-simple b/gnulib/modules/strcasestr-simple new file mode 100644 index 0000000..011e602 --- /dev/null +++ b/gnulib/modules/strcasestr-simple @@ -0,0 +1,35 @@ +Description: +strcasestr() function: case-insensitive search for unibyte substring. + +Files: +lib/strcasestr.c +lib/str-two-way.h +m4/strcasestr.m4 + +Depends-on: +string +stdbool +strcase +memchr +memcmp +extensions + +configure.ac: +gl_FUNC_STRCASESTR_SIMPLE +if test $HAVE_STRCASESTR = 0 || test $REPLACE_STRCASESTR = 1; then + AC_LIBOBJ([strcasestr]) + gl_PREREQ_STRCASESTR +fi +gl_STRING_MODULE_INDICATOR([strcasestr]) + +Makefile.am: + +Include: +<string.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/strcasestr-tests b/gnulib/modules/strcasestr-tests new file mode 100644 index 0000000..78b64cd --- /dev/null +++ b/gnulib/modules/strcasestr-tests @@ -0,0 +1,14 @@ +Files: +tests/test-strcasestr.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: +AC_CHECK_DECLS_ONCE([alarm]) + +Makefile.am: +TESTS += test-strcasestr +check_PROGRAMS += test-strcasestr + diff --git a/gnulib/modules/strchrnul b/gnulib/modules/strchrnul new file mode 100644 index 0000000..98a3d8c --- /dev/null +++ b/gnulib/modules/strchrnul @@ -0,0 +1,32 @@ +Description: +strchrnul() function: Find the first occurrence of C in S or the final NUL +byte. + +Files: +lib/strchrnul.c +lib/strchrnul.valgrind +m4/strchrnul.m4 + +Depends-on: +string +extensions +rawmemchr [test $HAVE_STRCHRNUL = 0 || test $REPLACE_STRCHRNUL = 1] + +configure.ac: +gl_FUNC_STRCHRNUL +if test $HAVE_STRCHRNUL = 0 || test $REPLACE_STRCHRNUL = 1; then + AC_LIBOBJ([strchrnul]) + gl_PREREQ_STRCHRNUL +fi +gl_STRING_MODULE_INDICATOR([strchrnul]) + +Makefile.am: + +Include: +<string.h> + +License: +LGPLv2+ + +Maintainer: +Eric Blake, glibc diff --git a/gnulib/modules/strchrnul-tests b/gnulib/modules/strchrnul-tests new file mode 100644 index 0000000..e16518d --- /dev/null +++ b/gnulib/modules/strchrnul-tests @@ -0,0 +1,12 @@ +Files: +tests/test-strchrnul.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-strchrnul +check_PROGRAMS += test-strchrnul diff --git a/gnulib/modules/strcspn b/gnulib/modules/strcspn new file mode 100644 index 0000000..f2788bb --- /dev/null +++ b/gnulib/modules/strcspn @@ -0,0 +1,33 @@ +Description: +strcspn() function: search a string for any of a set of characters. + +Status: +obsolete + +Notice: +This module is obsolete. + +Files: +lib/strcspn.c +m4/strcspn.m4 + +Depends-on: + +configure.ac: +gl_FUNC_STRCSPN +if test $ac_cv_func_strcspn = no; then + AC_LIBOBJ([strcspn]) + gl_PREREQ_STRCSPN +fi + +Makefile.am: + +Include: +<string.h> + +License: +LGPL + +Maintainer: +Bruno Haible, glibc + diff --git a/gnulib/modules/strdup b/gnulib/modules/strdup new file mode 100644 index 0000000..619ec01 --- /dev/null +++ b/gnulib/modules/strdup @@ -0,0 +1,34 @@ +Description: +strdup() function: duplicate a string. + +Status: +obsolete + +Notice: +This module is obsolete. But you may want to use the strdup-posix module. + +Files: +lib/strdup.c +m4/strdup.m4 + +Depends-on: +string + +configure.ac: +gl_FUNC_STRDUP +if test $ac_cv_func_strdup = no; then + AC_LIBOBJ([strdup]) + gl_PREREQ_STRDUP +fi +gl_STRING_MODULE_INDICATOR([strdup]) + +Makefile.am: + +Include: +<string.h> + +License: +LGPLv2+ + +Maintainer: +all, glibc diff --git a/gnulib/modules/strdup-posix b/gnulib/modules/strdup-posix new file mode 100644 index 0000000..846baf2 --- /dev/null +++ b/gnulib/modules/strdup-posix @@ -0,0 +1,29 @@ +Description: +strdup() function: duplicate a string. + +Files: +lib/strdup.c +m4/strdup.m4 + +Depends-on: +string +malloc-posix [test $ac_cv_func_strdup = no || test $REPLACE_STRDUP = 1] + +configure.ac: +gl_FUNC_STRDUP_POSIX +if test $ac_cv_func_strdup = no || test $REPLACE_STRDUP = 1; then + AC_LIBOBJ([strdup]) + gl_PREREQ_STRDUP +fi +gl_STRING_MODULE_INDICATOR([strdup]) + +Makefile.am: + +Include: +<string.h> + +License: +LGPLv2+ + +Maintainer: +all, glibc diff --git a/gnulib/modules/streq b/gnulib/modules/streq new file mode 100644 index 0000000..75d2a04 --- /dev/null +++ b/gnulib/modules/streq @@ -0,0 +1,21 @@ +Description: +Optimized string comparison. + +Files: +lib/streq.h + +Depends-on: + +configure.ac: + +Makefile.am: + +Include: +"streq.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/strerror b/gnulib/modules/strerror new file mode 100644 index 0000000..1d60662 --- /dev/null +++ b/gnulib/modules/strerror @@ -0,0 +1,32 @@ +Description: +strerror() function: return string describing error code. + +Files: +lib/strerror.c +m4/strerror.m4 + +Depends-on: +string +errno [test $REPLACE_STRERROR = 1] +intprops [test $REPLACE_STRERROR = 1] +strerror-override [test $REPLACE_STRERROR = 1] +verify [test $REPLACE_STRERROR = 1] + +configure.ac: +gl_FUNC_STRERROR +if test $REPLACE_STRERROR = 1; then + AC_LIBOBJ([strerror]) +fi +gl_MODULE_INDICATOR([strerror]) +gl_STRING_MODULE_INDICATOR([strerror]) + +Makefile.am: + +Include: +<string.h> + +License: +LGPLv2+ + +Maintainer: +all diff --git a/gnulib/modules/strerror-override b/gnulib/modules/strerror-override new file mode 100644 index 0000000..0b72b46 --- /dev/null +++ b/gnulib/modules/strerror-override @@ -0,0 +1,30 @@ +Description: +strerror_override() function: provide strings for gnulib-specific errno values + +Files: +lib/strerror-override.h +lib/strerror-override.c +m4/sys_socket_h.m4 +m4/strerror.m4 + +Depends-on: +errno + +configure.ac: +AC_REQUIRE([gl_HEADER_ERRNO_H]) +AC_REQUIRE([gl_FUNC_STRERROR_0]) +if test -n "$ERRNO_H" || test $REPLACE_STRERROR_0 = 1; then + AC_LIBOBJ([strerror-override]) + gl_PREREQ_SYS_H_WINSOCK2 +fi + +Makefile.am: + +Include: +"strerror-override.h" + +License: +LGPLv2+ + +Maintainer: +all diff --git a/gnulib/modules/strerror-tests b/gnulib/modules/strerror-tests new file mode 100644 index 0000000..14e9694 --- /dev/null +++ b/gnulib/modules/strerror-tests @@ -0,0 +1,12 @@ +Files: +tests/test-strerror.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-strerror +check_PROGRAMS += test-strerror diff --git a/gnulib/modules/strerror_r-posix b/gnulib/modules/strerror_r-posix new file mode 100644 index 0000000..c7f18b2 --- /dev/null +++ b/gnulib/modules/strerror_r-posix @@ -0,0 +1,32 @@ +Description: +strerror_r() function: get string describing error code. + +Files: +lib/strerror_r.c +m4/strerror_r.m4 + +Depends-on: +string +extensions +errno [test $HAVE_DECL_STRERROR_R = 0 || test $REPLACE_STRERROR_R = 1] +lock [test $HAVE_DECL_STRERROR_R = 0 || test $REPLACE_STRERROR_R = 1] +strerror-override [test $HAVE_DECL_STRERROR_R = 0 || test $REPLACE_STRERROR_R = 1] + +configure.ac: +gl_FUNC_STRERROR_R +if test $HAVE_DECL_STRERROR_R = 0 || test $REPLACE_STRERROR_R = 1; then + AC_LIBOBJ([strerror_r]) + gl_PREREQ_STRERROR_R +fi +gl_STRING_MODULE_INDICATOR([strerror_r]) + +Makefile.am: + +Include: +<string.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/strerror_r-posix-tests b/gnulib/modules/strerror_r-posix-tests new file mode 100644 index 0000000..9b6d4af --- /dev/null +++ b/gnulib/modules/strerror_r-posix-tests @@ -0,0 +1,12 @@ +Files: +tests/test-strerror_r.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-strerror_r +check_PROGRAMS += test-strerror_r diff --git a/gnulib/modules/strftime b/gnulib/modules/strftime new file mode 100644 index 0000000..451e565 --- /dev/null +++ b/gnulib/modules/strftime @@ -0,0 +1,28 @@ +Description: +nstrftime() function: convert date and time to string, with GNU extensions. + +Files: +lib/strftime.h +lib/strftime.c +m4/tm_gmtoff.m4 +m4/strftime.m4 + +Depends-on: +extensions +stdbool +time_r + +configure.ac: +gl_FUNC_GNU_STRFTIME + +Makefile.am: +lib_SOURCES += strftime.c + +Include: +"strftime.h" + +License: +LGPL + +Maintainer: +Jim Meyering, glibc diff --git a/gnulib/modules/strftime-tests b/gnulib/modules/strftime-tests new file mode 100644 index 0000000..20bc7cd --- /dev/null +++ b/gnulib/modules/strftime-tests @@ -0,0 +1,11 @@ +Files: +tests/test-strftime.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-strftime +check_PROGRAMS += test-strftime diff --git a/gnulib/modules/striconv b/gnulib/modules/striconv new file mode 100644 index 0000000..a411248 --- /dev/null +++ b/gnulib/modules/striconv @@ -0,0 +1,37 @@ +Description: +Character set conversion of strings made easy, uses iconv. + +Files: +lib/striconv.h +lib/striconv.c + +Depends-on: +iconv +iconv_open +strdup +c-strcase + +configure.ac: +if test $gl_cond_libtool = false; then + gl_ltlibdeps="$gl_ltlibdeps $LTLIBICONV" + gl_libdeps="$gl_libdeps $LIBICONV" +fi + +Makefile.am: +lib_SOURCES += striconv.h striconv.c +if GL_COND_LIBTOOL +lib_LDFLAGS += $(LTLIBICONV) +endif + +Include: +"striconv.h" + +Link: +$(LTLIBICONV) when linking with libtool, $(LIBICONV) otherwise + +License: +LGPLv2+ + +Maintainer: +Bruno Haible, Simon Josefsson + diff --git a/gnulib/modules/striconv-tests b/gnulib/modules/striconv-tests new file mode 100644 index 0000000..d4482f8 --- /dev/null +++ b/gnulib/modules/striconv-tests @@ -0,0 +1,13 @@ +Files: +tests/test-striconv.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-striconv +check_PROGRAMS += test-striconv +test_striconv_LDADD = $(LDADD) @LIBICONV@ + diff --git a/gnulib/modules/striconveh b/gnulib/modules/striconveh new file mode 100644 index 0000000..acfd963 --- /dev/null +++ b/gnulib/modules/striconveh @@ -0,0 +1,46 @@ +Description: +Character set conversion of strings with error handling, uses iconv. + +Files: +lib/striconveh.h +lib/striconveh.c +lib/iconveh.h + +Depends-on: +stdbool +iconv +iconv_open +unistr/u8-prev +unistr/u8-mbtouc-unsafe +unistr/u8-mbtouc +unistr/u8-mbtoucr +unistr/u8-uctomb +strdup +c-strcase +c-strcaseeq +memmove + +configure.ac: +if test $gl_cond_libtool = false; then + gl_ltlibdeps="$gl_ltlibdeps $LTLIBICONV" + gl_libdeps="$gl_libdeps $LIBICONV" +fi + +Makefile.am: +lib_SOURCES += striconveh.h striconveh.c +if GL_COND_LIBTOOL +lib_LDFLAGS += $(LTLIBICONV) +endif + +Include: +"striconveh.h" + +Link: +$(LTLIBICONV) when linking with libtool, $(LIBICONV) otherwise + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/striconveh-tests b/gnulib/modules/striconveh-tests new file mode 100644 index 0000000..134dc01 --- /dev/null +++ b/gnulib/modules/striconveh-tests @@ -0,0 +1,13 @@ +Files: +tests/test-striconveh.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-striconveh +check_PROGRAMS += test-striconveh +test_striconveh_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ + diff --git a/gnulib/modules/striconveha b/gnulib/modules/striconveha new file mode 100644 index 0000000..856514e --- /dev/null +++ b/gnulib/modules/striconveha @@ -0,0 +1,29 @@ +Description: +Character set conversion of strings with error handling and autodetection, +uses iconv. + +Files: +lib/striconveha.h +lib/striconveha.c + +Depends-on: +stdbool +striconveh +malloca +strdup +c-strcase + +configure.ac: + +Makefile.am: +lib_SOURCES += striconveha.h striconveha.c + +Include: +"striconveha.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/striconveha-tests b/gnulib/modules/striconveha-tests new file mode 100644 index 0000000..d2f2db0 --- /dev/null +++ b/gnulib/modules/striconveha-tests @@ -0,0 +1,13 @@ +Files: +tests/test-striconveha.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-striconveha +check_PROGRAMS += test-striconveha +test_striconveha_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ + diff --git a/gnulib/modules/string b/gnulib/modules/string new file mode 100644 index 0000000..2f5471b --- /dev/null +++ b/gnulib/modules/string @@ -0,0 +1,121 @@ +Description: +A GNU-like <string.h>. + +Files: +lib/string.in.h +m4/string_h.m4 + +Depends-on: +extensions +include_next +snippet/arg-nonnull +snippet/c++defs +snippet/warn-on-use +stddef + +configure.ac: +gl_HEADER_STRING_H + +Makefile.am: +BUILT_SOURCES += string.h + +# We need the following in order to create <string.h> when the system +# doesn't have one that works with the given compiler. +string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ + sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \ + -e 's/@''GNULIB_FFSL''@/$(GNULIB_FFSL)/g' \ + -e 's/@''GNULIB_FFSLL''@/$(GNULIB_FFSLL)/g' \ + -e 's/@''GNULIB_MBSLEN''@/$(GNULIB_MBSLEN)/g' \ + -e 's/@''GNULIB_MBSNLEN''@/$(GNULIB_MBSNLEN)/g' \ + -e 's/@''GNULIB_MBSCHR''@/$(GNULIB_MBSCHR)/g' \ + -e 's/@''GNULIB_MBSRCHR''@/$(GNULIB_MBSRCHR)/g' \ + -e 's/@''GNULIB_MBSSTR''@/$(GNULIB_MBSSTR)/g' \ + -e 's/@''GNULIB_MBSCASECMP''@/$(GNULIB_MBSCASECMP)/g' \ + -e 's/@''GNULIB_MBSNCASECMP''@/$(GNULIB_MBSNCASECMP)/g' \ + -e 's/@''GNULIB_MBSPCASECMP''@/$(GNULIB_MBSPCASECMP)/g' \ + -e 's/@''GNULIB_MBSCASESTR''@/$(GNULIB_MBSCASESTR)/g' \ + -e 's/@''GNULIB_MBSCSPN''@/$(GNULIB_MBSCSPN)/g' \ + -e 's/@''GNULIB_MBSPBRK''@/$(GNULIB_MBSPBRK)/g' \ + -e 's/@''GNULIB_MBSSPN''@/$(GNULIB_MBSSPN)/g' \ + -e 's/@''GNULIB_MBSSEP''@/$(GNULIB_MBSSEP)/g' \ + -e 's/@''GNULIB_MBSTOK_R''@/$(GNULIB_MBSTOK_R)/g' \ + -e 's/@''GNULIB_MEMCHR''@/$(GNULIB_MEMCHR)/g' \ + -e 's/@''GNULIB_MEMMEM''@/$(GNULIB_MEMMEM)/g' \ + -e 's/@''GNULIB_MEMPCPY''@/$(GNULIB_MEMPCPY)/g' \ + -e 's/@''GNULIB_MEMRCHR''@/$(GNULIB_MEMRCHR)/g' \ + -e 's/@''GNULIB_RAWMEMCHR''@/$(GNULIB_RAWMEMCHR)/g' \ + -e 's/@''GNULIB_STPCPY''@/$(GNULIB_STPCPY)/g' \ + -e 's/@''GNULIB_STPNCPY''@/$(GNULIB_STPNCPY)/g' \ + -e 's/@''GNULIB_STRCHRNUL''@/$(GNULIB_STRCHRNUL)/g' \ + -e 's/@''GNULIB_STRDUP''@/$(GNULIB_STRDUP)/g' \ + -e 's/@''GNULIB_STRNCAT''@/$(GNULIB_STRNCAT)/g' \ + -e 's/@''GNULIB_STRNDUP''@/$(GNULIB_STRNDUP)/g' \ + -e 's/@''GNULIB_STRNLEN''@/$(GNULIB_STRNLEN)/g' \ + -e 's/@''GNULIB_STRPBRK''@/$(GNULIB_STRPBRK)/g' \ + -e 's/@''GNULIB_STRSEP''@/$(GNULIB_STRSEP)/g' \ + -e 's/@''GNULIB_STRSTR''@/$(GNULIB_STRSTR)/g' \ + -e 's/@''GNULIB_STRCASESTR''@/$(GNULIB_STRCASESTR)/g' \ + -e 's/@''GNULIB_STRTOK_R''@/$(GNULIB_STRTOK_R)/g' \ + -e 's/@''GNULIB_STRERROR''@/$(GNULIB_STRERROR)/g' \ + -e 's/@''GNULIB_STRERROR_R''@/$(GNULIB_STRERROR_R)/g' \ + -e 's/@''GNULIB_STRSIGNAL''@/$(GNULIB_STRSIGNAL)/g' \ + -e 's/@''GNULIB_STRVERSCMP''@/$(GNULIB_STRVERSCMP)/g' \ + < $(srcdir)/string.in.h | \ + sed -e 's|@''HAVE_FFSL''@|$(HAVE_FFSL)|g' \ + -e 's|@''HAVE_FFSLL''@|$(HAVE_FFSLL)|g' \ + -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \ + -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \ + -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \ + -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \ + -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \ + -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \ + -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \ + -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \ + -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \ + -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \ + -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \ + -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \ + -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \ + -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \ + -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \ + -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \ + -e 's|@''HAVE_DECL_STRERROR_R''@|$(HAVE_DECL_STRERROR_R)|g' \ + -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \ + -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \ + -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \ + -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \ + -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \ + -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \ + -e 's|@''REPLACE_STRCHRNUL''@|$(REPLACE_STRCHRNUL)|g' \ + -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \ + -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \ + -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \ + -e 's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \ + -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \ + -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \ + -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \ + -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \ + -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \ + -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ + -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ + < $(srcdir)/string.in.h; \ + } > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += string.h string.h-t + +Include: +<string.h> + +License: +LGPLv2+ + +Maintainer: +all diff --git a/gnulib/modules/string-c++-tests b/gnulib/modules/string-c++-tests new file mode 100644 index 0000000..2f7e23c --- /dev/null +++ b/gnulib/modules/string-c++-tests @@ -0,0 +1,20 @@ +Files: +tests/test-string-c++.cc +tests/test-string-c++2.cc +tests/signature.h + +Status: +c++-test + +Depends-on: +ansi-c++-opt + +configure.ac: + +Makefile.am: +if ANSICXX +TESTS += test-string-c++ +check_PROGRAMS += test-string-c++ +test_string_c___SOURCES = test-string-c++.cc test-string-c++2.cc +test_string_c___LDADD = $(LDADD) $(LIBINTL) +endif diff --git a/gnulib/modules/string-tests b/gnulib/modules/string-tests new file mode 100644 index 0000000..ec732da --- /dev/null +++ b/gnulib/modules/string-tests @@ -0,0 +1,12 @@ +Files: +tests/test-string.c + +Depends-on: +verify +string-c++-tests + +configure.ac: + +Makefile.am: +TESTS += test-string +check_PROGRAMS += test-string diff --git a/gnulib/modules/strings b/gnulib/modules/strings new file mode 100644 index 0000000..ced757d --- /dev/null +++ b/gnulib/modules/strings @@ -0,0 +1,51 @@ +Description: +A substitute <strings.h>. + +Files: +lib/strings.in.h +m4/strings_h.m4 + +Depends-on: +include_next +snippet/arg-nonnull +snippet/c++defs +snippet/warn-on-use +sys_types + +configure.ac: +gl_HEADER_STRINGS_H + +Makefile.am: +BUILT_SOURCES += strings.h + +# We need the following in order to create <strings.h> when the system +# doesn't have one that works with the given compiler. +strings.h: strings.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H) + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ + sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ + -e 's|@''HAVE_STRINGS_H''@|$(HAVE_STRINGS_H)|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_STRINGS_H''@|$(NEXT_STRINGS_H)|g' \ + -e 's|@''GNULIB_FFS''@|$(GNULIB_FFS)|g' \ + -e 's|@''HAVE_FFS''@|$(HAVE_FFS)|g' \ + -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \ + -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ + -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ + < $(srcdir)/strings.in.h; \ + } > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += strings.h strings.h-t + +Include: +<strings.h> + +License: +LGPLv2+ + +Maintainer: +all diff --git a/gnulib/modules/strings-tests b/gnulib/modules/strings-tests new file mode 100644 index 0000000..b414a12 --- /dev/null +++ b/gnulib/modules/strings-tests @@ -0,0 +1,10 @@ +Files: +tests/test-strings.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-strings +check_PROGRAMS += test-strings diff --git a/gnulib/modules/strncat b/gnulib/modules/strncat new file mode 100644 index 0000000..516a222 --- /dev/null +++ b/gnulib/modules/strncat @@ -0,0 +1,29 @@ +Description: +strncat() function: append part of a string to a string. + +Files: +lib/strncat.c +m4/strncat.m4 +m4/mmap-anon.m4 + +Depends-on: +string + +configure.ac: +gl_FUNC_STRNCAT +if test $REPLACE_STRNCAT = 1; then + AC_LIBOBJ([strncat]) + gl_PREREQ_STRNCAT +fi +gl_STRING_MODULE_INDICATOR([strncat]) + +Makefile.am: + +Include: +<string.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/strncat-tests b/gnulib/modules/strncat-tests new file mode 100644 index 0000000..2630430 --- /dev/null +++ b/gnulib/modules/strncat-tests @@ -0,0 +1,20 @@ +Files: +tests/test-strncat.c +tests/unistr/test-strncat.h +tests/zerosize-ptr.h +tests/signature.h +tests/macros.h +m4/mmap-anon.m4 + +Depends-on: +extensions +getpagesize + +configure.ac: +gl_FUNC_MMAP_ANON +AC_CHECK_HEADERS_ONCE([sys/mman.h]) +AC_CHECK_FUNCS_ONCE([mprotect]) + +Makefile.am: +TESTS += test-strncat +check_PROGRAMS += test-strncat diff --git a/gnulib/modules/strndup b/gnulib/modules/strndup new file mode 100644 index 0000000..4cb5a90 --- /dev/null +++ b/gnulib/modules/strndup @@ -0,0 +1,29 @@ +Description: +strndup() function: duplicate a size-bounded string. + +Files: +lib/strndup.c +m4/strndup.m4 + +Depends-on: +string +extensions +strnlen [test $HAVE_STRNDUP = 0 || test $REPLACE_STRNDUP = 1] + +configure.ac: +gl_FUNC_STRNDUP +if test $HAVE_STRNDUP = 0 || test $REPLACE_STRNDUP = 1; then + AC_LIBOBJ([strndup]) +fi +gl_STRING_MODULE_INDICATOR([strndup]) + +Makefile.am: + +Include: +<string.h> + +License: +LGPLv2+ + +Maintainer: +glibc diff --git a/gnulib/modules/strnlen b/gnulib/modules/strnlen new file mode 100644 index 0000000..c781671 --- /dev/null +++ b/gnulib/modules/strnlen @@ -0,0 +1,31 @@ +Description: +strnlen() function: determine the length of a size-bounded string. + +Files: +lib/strnlen.c +m4/strnlen.m4 + +Depends-on: +string +extensions +memchr-obsolete [test $HAVE_DECL_STRNLEN = 0 || test $REPLACE_STRNLEN = 1] + +configure.ac: +gl_FUNC_STRNLEN +if test $HAVE_DECL_STRNLEN = 0 || test $REPLACE_STRNLEN = 1; then + AC_LIBOBJ([strnlen]) + gl_PREREQ_STRNLEN +fi + +gl_STRING_MODULE_INDICATOR([strnlen]) + +Makefile.am: + +Include: +<string.h> + +License: +LGPLv2+ + +Maintainer: +all diff --git a/gnulib/modules/strnlen-tests b/gnulib/modules/strnlen-tests new file mode 100644 index 0000000..31a36cf --- /dev/null +++ b/gnulib/modules/strnlen-tests @@ -0,0 +1,20 @@ +Files: +tests/test-strnlen.c +tests/zerosize-ptr.h +tests/signature.h +tests/macros.h +m4/mmap-anon.m4 + +Depends-on: +extensions +getpagesize + +configure.ac: +dnl Check for prerequisites for memory fence checks. +gl_FUNC_MMAP_ANON +AC_CHECK_HEADERS_ONCE([sys/mman.h]) +AC_CHECK_FUNCS_ONCE([mprotect]) + +Makefile.am: +TESTS += test-strnlen +check_PROGRAMS += test-strnlen diff --git a/gnulib/modules/strnlen1 b/gnulib/modules/strnlen1 new file mode 100644 index 0000000..a945c73 --- /dev/null +++ b/gnulib/modules/strnlen1 @@ -0,0 +1,24 @@ +Description: +Quick string length estimation. + +Files: +lib/strnlen1.h +lib/strnlen1.c + +Depends-on: +memchr + +configure.ac: + +Makefile.am: +lib_SOURCES += strnlen1.h strnlen1.c + +Include: +"strnlen1.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/strpbrk b/gnulib/modules/strpbrk new file mode 100644 index 0000000..3433e57 --- /dev/null +++ b/gnulib/modules/strpbrk @@ -0,0 +1,34 @@ +Description: +strpbrk() function: search a string for any of a set of characters. + +Status: +obsolete + +Notice: +This module is obsolete. + +Files: +lib/strpbrk.c +m4/strpbrk.m4 + +Depends-on: +string + +configure.ac: +gl_FUNC_STRPBRK +if test $HAVE_STRPBRK = 0; then + AC_LIBOBJ([strpbrk]) + gl_PREREQ_STRPBRK +fi +gl_STRING_MODULE_INDICATOR([strpbrk]) + +Makefile.am: + +Include: +<string.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible, glibc diff --git a/gnulib/modules/strptime b/gnulib/modules/strptime new file mode 100644 index 0000000..a69d583 --- /dev/null +++ b/gnulib/modules/strptime @@ -0,0 +1,35 @@ +Description: +Convert a string representation of time to a tm structure. + +Files: +lib/strptime.c +m4/strptime.m4 +m4/tm_gmtoff.m4 + +Depends-on: +time +extensions +sys_time [test $HAVE_STRPTIME = 0] +string [test $HAVE_STRPTIME = 0] +strcase [test $HAVE_STRPTIME = 0] +stdbool [test $HAVE_STRPTIME = 0] +time_r [test $HAVE_STRPTIME = 0] + +configure.ac: +gl_FUNC_STRPTIME +if test $HAVE_STRPTIME = 0; then + AC_LIBOBJ([strptime]) + gl_PREREQ_STRPTIME +fi +gl_TIME_MODULE_INDICATOR([strptime]) + +Makefile.am: + +Include: +<time.h> + +License: +LGPLv2+ + +Maintainer: +glibc diff --git a/gnulib/modules/strsep b/gnulib/modules/strsep new file mode 100644 index 0000000..825cd19 --- /dev/null +++ b/gnulib/modules/strsep @@ -0,0 +1,30 @@ +Description: +strsep() function: extract token from string. + +Files: +lib/strsep.c +m4/strsep.m4 + +Depends-on: +string +extensions +strpbrk [test $HAVE_STRSEP = 0] + +configure.ac: +gl_FUNC_STRSEP +if test $HAVE_STRSEP = 0; then + AC_LIBOBJ([strsep]) + gl_PREREQ_STRSEP +fi +gl_STRING_MODULE_INDICATOR([strsep]) + +Makefile.am: + +Include: +<string.h> + +License: +LGPLv2+ + +Maintainer: +Yoann Vandoorselaere diff --git a/gnulib/modules/strsignal b/gnulib/modules/strsignal new file mode 100644 index 0000000..bdb68fa --- /dev/null +++ b/gnulib/modules/strsignal @@ -0,0 +1,35 @@ +Description: +strsignal() function: return string describing signal. + +Files: +lib/strsignal.c +lib/siglist.h +m4/strsignal.m4 + +Depends-on: +string +extensions +gettext-h [test $HAVE_STRSIGNAL = 0 || test $REPLACE_STRSIGNAL = 1] +lock [test $HAVE_STRSIGNAL = 0 || test $REPLACE_STRSIGNAL = 1] +tls [test $HAVE_STRSIGNAL = 0 || test $REPLACE_STRSIGNAL = 1] +snprintf [test $HAVE_STRSIGNAL = 0 || test $REPLACE_STRSIGNAL = 1] +memset [test $HAVE_STRSIGNAL = 0 || test $REPLACE_STRSIGNAL = 1] + +configure.ac: +gl_FUNC_STRSIGNAL +if test $HAVE_STRSIGNAL = 0 || test $REPLACE_STRSIGNAL = 1; then + AC_LIBOBJ([strsignal]) + gl_PREREQ_STRSIGNAL +fi +gl_STRING_MODULE_INDICATOR([strsignal]) + +Makefile.am: + +Include: +<string.h> + +License: +LGPLv2+ + +Maintainer: +Colin Watson, glibc diff --git a/gnulib/modules/strsignal-tests b/gnulib/modules/strsignal-tests new file mode 100644 index 0000000..ab67eb1 --- /dev/null +++ b/gnulib/modules/strsignal-tests @@ -0,0 +1,13 @@ +Files: +tests/test-strsignal.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-strsignal +check_PROGRAMS += test-strsignal +test_strsignal_LDADD = $(LDADD) @LIBINTL@ $(LIBTHREAD) diff --git a/gnulib/modules/strstr b/gnulib/modules/strstr new file mode 100644 index 0000000..4936761 --- /dev/null +++ b/gnulib/modules/strstr @@ -0,0 +1,24 @@ +Description: +strstr() function: efficiently locate first substring in a buffer. + +Files: + +Depends-on: +strstr-simple + +configure.ac: +gl_FUNC_STRSTR +if test $REPLACE_STRSTR = 1; then + AC_LIBOBJ([strstr]) +fi + +Makefile.am: + +Include: +<string.h> + +License: +LGPLv2+ + +Maintainer: +all, Eric Blake diff --git a/gnulib/modules/strstr-simple b/gnulib/modules/strstr-simple new file mode 100644 index 0000000..c61afc4 --- /dev/null +++ b/gnulib/modules/strstr-simple @@ -0,0 +1,31 @@ +Description: +strstr() function: locate first substring in a buffer. + +Files: +lib/str-two-way.h +lib/strstr.c +m4/strstr.m4 + +Depends-on: +string +stdbool [test $REPLACE_STRSTR = 1] +memchr [test $REPLACE_STRSTR = 1] +memcmp [test $REPLACE_STRSTR = 1] + +configure.ac: +gl_FUNC_STRSTR_SIMPLE +if test $REPLACE_STRSTR = 1; then + AC_LIBOBJ([strstr]) +fi +gl_STRING_MODULE_INDICATOR([strstr]) + +Makefile.am: + +Include: +<string.h> + +License: +LGPLv2+ + +Maintainer: +all, Eric Blake diff --git a/gnulib/modules/strstr-tests b/gnulib/modules/strstr-tests new file mode 100644 index 0000000..4817177 --- /dev/null +++ b/gnulib/modules/strstr-tests @@ -0,0 +1,20 @@ +Files: +tests/test-strstr.c +tests/zerosize-ptr.h +tests/signature.h +tests/macros.h +m4/mmap-anon.m4 + +Depends-on: +extensions +getpagesize + +configure.ac: +AC_CHECK_DECLS_ONCE([alarm]) +gl_FUNC_MMAP_ANON +AC_CHECK_HEADERS_ONCE([sys/mman.h]) +AC_CHECK_FUNCS_ONCE([mprotect]) + +Makefile.am: +TESTS += test-strstr +check_PROGRAMS += test-strstr diff --git a/gnulib/modules/strtod b/gnulib/modules/strtod new file mode 100644 index 0000000..e8b72b4 --- /dev/null +++ b/gnulib/modules/strtod @@ -0,0 +1,32 @@ +Description: +strtod() function: convert string to 'double'. + +Files: +lib/strtod.c +m4/strtod.m4 +m4/ldexp.m4 + +Depends-on: +stdlib +strtod-obsolete +c-ctype [test $HAVE_STRTOD = 0 || test $REPLACE_STRTOD = 1] +stdbool [test $HAVE_STRTOD = 0 || test $REPLACE_STRTOD = 1] + +configure.ac: +gl_FUNC_STRTOD +if test $HAVE_STRTOD = 0 || test $REPLACE_STRTOD = 1; then + AC_LIBOBJ([strtod]) + gl_PREREQ_STRTOD +fi +gl_STDLIB_MODULE_INDICATOR([strtod]) + +Makefile.am: + +Include: +<stdlib.h> + +License: +LGPL + +Maintainer: +all diff --git a/gnulib/modules/strtod-obsolete b/gnulib/modules/strtod-obsolete new file mode 100644 index 0000000..323df8a --- /dev/null +++ b/gnulib/modules/strtod-obsolete @@ -0,0 +1,28 @@ +Description: +strtod() function for old platforms. + +Status: +obsolete + +Notice: +This module is obsolete. + +Files: +m4/strtod-obsolete.m4 + +Depends-on: +strtod + +configure.ac: +gl_FUNC_STRTOD_OBSOLETE + +Makefile.am: + +Include: +<string.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/strtod-tests b/gnulib/modules/strtod-tests new file mode 100644 index 0000000..38aebe8 --- /dev/null +++ b/gnulib/modules/strtod-tests @@ -0,0 +1,16 @@ +Files: +tests/test-strtod.c +tests/signature.h +tests/minus-zero.h +tests/macros.h + +Depends-on: +float +isnand-nolibm +signbit + +configure.ac: + +Makefile.am: +TESTS += test-strtod +check_PROGRAMS += test-strtod diff --git a/gnulib/modules/strtoimax b/gnulib/modules/strtoimax new file mode 100644 index 0000000..0e20a84 --- /dev/null +++ b/gnulib/modules/strtoimax @@ -0,0 +1,32 @@ +Description: +strtoimax() function: convert string to 'intmax_t'. + +Files: +lib/strtoimax.c +m4/longlong.m4 +m4/strtoimax.m4 + +Depends-on: +inttypes-incomplete +verify [test $ac_cv_func_strtoimax = no] +stdint [test $ac_cv_func_strtoimax = no] +strtoll [test $ac_cv_func_strtoimax = no && test $ac_cv_type_long_long_int = yes] + +configure.ac: +gl_FUNC_STRTOIMAX +if test $ac_cv_func_strtoimax = no; then + AC_LIBOBJ([strtoimax]) + gl_PREREQ_STRTOIMAX +fi +gl_INTTYPES_MODULE_INDICATOR([strtoimax]) + +Makefile.am: + +Include: +<inttypes.h> + +License: +LGPL + +Maintainer: +Paul Eggert diff --git a/gnulib/modules/strtoimax-tests b/gnulib/modules/strtoimax-tests new file mode 100644 index 0000000..10b8e6f --- /dev/null +++ b/gnulib/modules/strtoimax-tests @@ -0,0 +1,12 @@ +Files: +tests/test-strtoimax.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-strtoimax +check_PROGRAMS += test-strtoimax diff --git a/gnulib/modules/strtok_r b/gnulib/modules/strtok_r new file mode 100644 index 0000000..23a6acb --- /dev/null +++ b/gnulib/modules/strtok_r @@ -0,0 +1,29 @@ +Description: +strtok_r() function: split string into tokens, thread safe. + +Files: +lib/strtok_r.c +m4/strtok_r.m4 + +Depends-on: +string +strpbrk [test $HAVE_STRTOK_R = 0 || test $REPLACE_STRTOK_R = 1] + +configure.ac: +gl_FUNC_STRTOK_R +if test $HAVE_STRTOK_R = 0 || test $REPLACE_STRTOK_R = 1; then + AC_LIBOBJ([strtok_r]) + gl_PREREQ_STRTOK_R +fi +gl_STRING_MODULE_INDICATOR([strtok_r]) + +Makefile.am: + +Include: +<string.h> + +License: +LGPLv2+ + +Maintainer: +all, glibc diff --git a/gnulib/modules/strtol b/gnulib/modules/strtol new file mode 100644 index 0000000..65b6946 --- /dev/null +++ b/gnulib/modules/strtol @@ -0,0 +1,31 @@ +Description: +strtol() function: convert string to 'long'. + +Status: +obsolete + +Notice: +This module is obsolete. + +Files: +lib/strtol.c +m4/strtol.m4 + +Depends-on: + +configure.ac: +gl_FUNC_STRTOL +if test $ac_cv_func_strtol = no; then + AC_LIBOBJ([strtol]) +fi + +Makefile.am: + +Include: +<stdlib.h> + +License: +LGPL + +Maintainer: +glibc diff --git a/gnulib/modules/strtoll b/gnulib/modules/strtoll new file mode 100644 index 0000000..5501fda --- /dev/null +++ b/gnulib/modules/strtoll @@ -0,0 +1,30 @@ +Description: +strtoll() function: convert string to 'long long'. + +Files: +lib/strtol.c +lib/strtoll.c +m4/longlong.m4 +m4/strtoll.m4 + +Depends-on: +stdlib + +configure.ac: +gl_FUNC_STRTOLL +if test $HAVE_STRTOLL = 0; then + AC_LIBOBJ([strtoll]) + gl_PREREQ_STRTOLL +fi +gl_STDLIB_MODULE_INDICATOR([strtoll]) + +Makefile.am: + +Include: +<stdlib.h> + +License: +LGPL + +Maintainer: +glibc diff --git a/gnulib/modules/strtoul b/gnulib/modules/strtoul new file mode 100644 index 0000000..7f3139c --- /dev/null +++ b/gnulib/modules/strtoul @@ -0,0 +1,32 @@ +Description: +strtoul() function: convert string to 'unsigned long'. + +Status: +obsolete + +Notice: +This module is obsolete. + +Files: +lib/strtol.c +lib/strtoul.c +m4/strtoul.m4 + +Depends-on: + +configure.ac: +gl_FUNC_STRTOUL +if test $ac_cv_func_strtoul = no; then + AC_LIBOBJ([strtoul]) +fi + +Makefile.am: + +Include: +<stdlib.h> + +License: +LGPL + +Maintainer: +glibc diff --git a/gnulib/modules/strtoull b/gnulib/modules/strtoull new file mode 100644 index 0000000..6bb66fe --- /dev/null +++ b/gnulib/modules/strtoull @@ -0,0 +1,31 @@ +Description: +strtoull() function: convert string to 'unsigned long long'. + +Files: +lib/strtol.c +lib/strtoul.c +lib/strtoull.c +m4/longlong.m4 +m4/strtoull.m4 + +Depends-on: +stdlib + +configure.ac: +gl_FUNC_STRTOULL +if test $HAVE_STRTOULL = 0; then + AC_LIBOBJ([strtoull]) + gl_PREREQ_STRTOULL +fi +gl_STDLIB_MODULE_INDICATOR([strtoull]) + +Makefile.am: + +Include: +<stdlib.h> + +License: +LGPL + +Maintainer: +glibc diff --git a/gnulib/modules/strtoumax b/gnulib/modules/strtoumax new file mode 100644 index 0000000..dc72a0a --- /dev/null +++ b/gnulib/modules/strtoumax @@ -0,0 +1,33 @@ +Description: +strtoumax() function: convert string to 'uintmax_t'. + +Files: +lib/strtoimax.c +lib/strtoumax.c +m4/longlong.m4 +m4/strtoumax.m4 + +Depends-on: +inttypes-incomplete +verify [test $ac_cv_func_strtoumax = no] +stdint [test $ac_cv_func_strtoumax = no] +strtoull [test $ac_cv_func_strtoumax = no && test $ac_cv_type_unsigned_long_long_int = yes] + +configure.ac: +gl_FUNC_STRTOUMAX +if test $ac_cv_func_strtoumax = no; then + AC_LIBOBJ([strtoumax]) + gl_PREREQ_STRTOUMAX +fi +gl_INTTYPES_MODULE_INDICATOR([strtoumax]) + +Makefile.am: + +Include: +<inttypes.h> + +License: +LGPL + +Maintainer: +Paul Eggert diff --git a/gnulib/modules/strtoumax-tests b/gnulib/modules/strtoumax-tests new file mode 100644 index 0000000..cb776bb --- /dev/null +++ b/gnulib/modules/strtoumax-tests @@ -0,0 +1,12 @@ +Files: +tests/test-strtoumax.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-strtoumax +check_PROGRAMS += test-strtoumax diff --git a/gnulib/modules/strverscmp b/gnulib/modules/strverscmp new file mode 100644 index 0000000..be0291f --- /dev/null +++ b/gnulib/modules/strverscmp @@ -0,0 +1,29 @@ +Description: +Compare strings holding version numbers. + +Files: +lib/strverscmp.c +m4/strverscmp.m4 + +Depends-on: +extensions +string + +configure.ac: +gl_FUNC_STRVERSCMP +if test $HAVE_STRVERSCMP = 0; then + AC_LIBOBJ([strverscmp]) + gl_PREREQ_STRVERSCMP +fi +gl_STRING_MODULE_INDICATOR([strverscmp]) + +Makefile.am: + +Include: +<string.h> + +License: +LGPLv2+ + +Maintainer: +Jim Meyering, glibc diff --git a/gnulib/modules/strverscmp-tests b/gnulib/modules/strverscmp-tests new file mode 100644 index 0000000..b34b4b0 --- /dev/null +++ b/gnulib/modules/strverscmp-tests @@ -0,0 +1,12 @@ +Files: +tests/test-strverscmp.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-strverscmp +check_PROGRAMS += test-strverscmp diff --git a/gnulib/modules/sublist b/gnulib/modules/sublist new file mode 100644 index 0000000..7b0ddcb --- /dev/null +++ b/gnulib/modules/sublist @@ -0,0 +1,24 @@ +Description: +Sequential list data type backed by another list. + +Files: +lib/gl_sublist.h +lib/gl_sublist.c + +Depends-on: +list + +configure.ac: + +Makefile.am: +lib_SOURCES += gl_sublist.h gl_sublist.c + +Include: +"gl_sublist.h" + +License: +GPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/symlink b/gnulib/modules/symlink new file mode 100644 index 0000000..f6f1db2 --- /dev/null +++ b/gnulib/modules/symlink @@ -0,0 +1,28 @@ +Description: +symlink() function: create a symlink, if possible + +Files: +lib/symlink.c +m4/symlink.m4 + +Depends-on: +unistd +lstat [test $HAVE_SYMLINK = 0 || test $REPLACE_SYMLINK = 1] + +configure.ac: +gl_FUNC_SYMLINK +if test $HAVE_SYMLINK = 0 || test $REPLACE_SYMLINK = 1; then + AC_LIBOBJ([symlink]) +fi +gl_UNISTD_MODULE_INDICATOR([symlink]) + +Makefile.am: + +Include: +<unistd.h> + +License: +LGPL + +Maintainer: +Eric Blake diff --git a/gnulib/modules/symlink-tests b/gnulib/modules/symlink-tests new file mode 100644 index 0000000..a07074e --- /dev/null +++ b/gnulib/modules/symlink-tests @@ -0,0 +1,15 @@ +Files: +tests/test-symlink.h +tests/test-symlink.c +tests/signature.h +tests/macros.h + +Depends-on: +ignore-value +stdbool + +configure.ac: + +Makefile.am: +TESTS += test-symlink +check_PROGRAMS += test-symlink diff --git a/gnulib/modules/symlinkat b/gnulib/modules/symlinkat new file mode 100644 index 0000000..f5d712d --- /dev/null +++ b/gnulib/modules/symlinkat @@ -0,0 +1,39 @@ +Description: +symlinkat() function: create symlinks relative to a directory + +Files: +lib/symlinkat.c +lib/at-func.c +m4/symlinkat.m4 + +Depends-on: +unistd +extensions +at-internal [test $HAVE_SYMLINKAT = 0] +dosname [test $HAVE_SYMLINKAT = 0] +errno [test $HAVE_SYMLINKAT = 0] +fchdir [test $HAVE_SYMLINKAT = 0] +fcntl-h [test $HAVE_SYMLINKAT = 0] +openat-die [test $HAVE_SYMLINKAT = 0] +openat-h [test $HAVE_SYMLINKAT = 0] +save-cwd [test $HAVE_SYMLINKAT = 0] +symlink [test $HAVE_SYMLINKAT = 0] + +configure.ac: +gl_FUNC_SYMLINKAT +if test $HAVE_SYMLINKAT = 0; then + AC_LIBOBJ([symlinkat]) +fi +gl_UNISTD_MODULE_INDICATOR([symlinkat]) + +Makefile.am: + +Include: +<fcntl.h> +<unistd.h> + +License: +GPL + +Maintainer: +Jim Meyering, Eric Blake diff --git a/gnulib/modules/symlinkat-tests b/gnulib/modules/symlinkat-tests new file mode 100644 index 0000000..c8a05ff --- /dev/null +++ b/gnulib/modules/symlinkat-tests @@ -0,0 +1,16 @@ +Files: +tests/test-symlink.h +tests/test-symlinkat.c +tests/signature.h +tests/macros.h + +Depends-on: +ignore-value +openat + +configure.ac: + +Makefile.am: +TESTS += test-symlinkat +check_PROGRAMS += test-symlinkat +test_symlinkat_LDADD = $(LDADD) @LIBINTL@ diff --git a/gnulib/modules/sys_file b/gnulib/modules/sys_file new file mode 100644 index 0000000..509c1da --- /dev/null +++ b/gnulib/modules/sys_file @@ -0,0 +1,47 @@ +Description: +<sys/file.h> for systems with an incomplete header. + +Files: +lib/sys_file.in.h +m4/sys_file_h.m4 + +Depends-on: +include_next +snippet/warn-on-use + +configure.ac: +gl_HEADER_SYS_FILE_H +AC_PROG_MKDIR_P + +Makefile.am: +BUILT_SOURCES += sys/file.h + +# We need the following in order to create <sys/file.h> when the system +# has one that is incomplete. +sys/file.h: sys_file.in.h $(top_builddir)/config.status $(WARN_ON_USE_H) + $(AM_V_at)$(MKDIR_P) sys + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ + -e 's/@''HAVE_SYS_FILE_H''@/$(HAVE_SYS_FILE_H)/g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_SYS_FILE_H''@|$(NEXT_SYS_FILE_H)|g' \ + -e 's/@''HAVE_FLOCK''@/$(HAVE_FLOCK)/g' \ + -e 's/@''GNULIB_FLOCK''@/$(GNULIB_FLOCK)/g' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ + < $(srcdir)/sys_file.in.h; \ + } > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += sys/file.h sys/file.h-t +MOSTLYCLEANDIRS += sys + +Include: +<sys/file.h> + +License: +LGPLv2+ + +Maintainer: +all diff --git a/gnulib/modules/sys_file-tests b/gnulib/modules/sys_file-tests new file mode 100644 index 0000000..f52629d --- /dev/null +++ b/gnulib/modules/sys_file-tests @@ -0,0 +1,10 @@ +Files: +tests/test-sys_file.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-sys_file +check_PROGRAMS += test-sys_file diff --git a/gnulib/modules/sys_ioctl b/gnulib/modules/sys_ioctl new file mode 100644 index 0000000..a008f21 --- /dev/null +++ b/gnulib/modules/sys_ioctl @@ -0,0 +1,52 @@ +Description: +A <sys/ioctl.h> for systems with missing declarations. + +Files: +lib/sys_ioctl.in.h +m4/sys_ioctl_h.m4 + +Depends-on: +include_next +snippet/c++defs +snippet/warn-on-use +unistd + +configure.ac: +gl_SYS_IOCTL_H +AC_PROG_MKDIR_P + +Makefile.am: +BUILT_SOURCES += sys/ioctl.h + +# We need the following in order to create <sys/ioctl.h> when the system +# does not have a complete one. +sys/ioctl.h: sys_ioctl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) + $(AM_V_at)$(MKDIR_P) sys + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ + -e 's|@''HAVE_SYS_IOCTL_H''@|$(HAVE_SYS_IOCTL_H)|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_SYS_IOCTL_H''@|$(NEXT_SYS_IOCTL_H)|g' \ + -e 's/@''GNULIB_IOCTL''@/$(GNULIB_IOCTL)/g' \ + -e 's|@''SYS_IOCTL_H_HAVE_WINSOCK2_H''@|$(SYS_IOCTL_H_HAVE_WINSOCK2_H)|g' \ + -e 's|@''SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \ + -e 's|@''REPLACE_IOCTL''@|$(REPLACE_IOCTL)|g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ + < $(srcdir)/sys_ioctl.in.h; \ + } > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += sys/ioctl.h sys/ioctl.h-t +MOSTLYCLEANDIRS += sys + +Include: +<sys/ioctl.h> + +License: +LGPLv2+ + +Maintainer: +all diff --git a/gnulib/modules/sys_ioctl-c++-tests b/gnulib/modules/sys_ioctl-c++-tests new file mode 100644 index 0000000..557b33d --- /dev/null +++ b/gnulib/modules/sys_ioctl-c++-tests @@ -0,0 +1,19 @@ +Files: +tests/test-sys_ioctl-c++.cc +tests/signature.h + +Status: +c++-test + +Depends-on: +ansi-c++-opt + +configure.ac: + +Makefile.am: +if ANSICXX +TESTS += test-sys_ioctl-c++ +check_PROGRAMS += test-sys_ioctl-c++ +test_sys_ioctl_c___SOURCES = test-sys_ioctl-c++.cc +test_sys_ioctl_c___LDADD = $(LDADD) $(LIBINTL) $(LIBSOCKET) $(LIB_CLOCK_GETTIME) $(LIB_EACCESS) +endif diff --git a/gnulib/modules/sys_ioctl-tests b/gnulib/modules/sys_ioctl-tests new file mode 100644 index 0000000..8e85e63 --- /dev/null +++ b/gnulib/modules/sys_ioctl-tests @@ -0,0 +1,11 @@ +Files: +tests/test-sys_ioctl.c + +Depends-on: +sys_ioctl-c++-tests + +configure.ac: + +Makefile.am: +TESTS += test-sys_ioctl +check_PROGRAMS += test-sys_ioctl diff --git a/gnulib/modules/sys_select b/gnulib/modules/sys_select new file mode 100644 index 0000000..97262bb --- /dev/null +++ b/gnulib/modules/sys_select @@ -0,0 +1,56 @@ +Description: +A <sys/select.h> for systems lacking it. + +Files: +lib/sys_select.in.h +m4/sys_select_h.m4 +m4/sys_socket_h.m4 + +Depends-on: +include_next +signal-h +snippet/c++defs +snippet/warn-on-use +sys_time + +configure.ac: +gl_HEADER_SYS_SELECT +AC_PROG_MKDIR_P + +Makefile.am: +BUILT_SOURCES += sys/select.h + +# We need the following in order to create <sys/select.h> when the system +# doesn't have one that works with the given compiler. +sys/select.h: sys_select.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) + $(AM_V_at)$(MKDIR_P) sys + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_SYS_SELECT_H''@|$(NEXT_SYS_SELECT_H)|g' \ + -e 's|@''HAVE_SYS_SELECT_H''@|$(HAVE_SYS_SELECT_H)|g' \ + -e 's/@''GNULIB_PSELECT''@/$(GNULIB_PSELECT)/g' \ + -e 's/@''GNULIB_SELECT''@/$(GNULIB_SELECT)/g' \ + -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \ + -e 's|@''HAVE_PSELECT''@|$(HAVE_PSELECT)|g' \ + -e 's|@''REPLACE_PSELECT''@|$(REPLACE_PSELECT)|g' \ + -e 's|@''REPLACE_SELECT''@|$(REPLACE_SELECT)|g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ + < $(srcdir)/sys_select.in.h; \ + } > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += sys/select.h sys/select.h-t +MOSTLYCLEANDIRS += sys + +Include: +<sys/select.h> + +License: +LGPLv2+ + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/sys_select-c++-tests b/gnulib/modules/sys_select-c++-tests new file mode 100644 index 0000000..e9f0b25 --- /dev/null +++ b/gnulib/modules/sys_select-c++-tests @@ -0,0 +1,19 @@ +Files: +tests/test-sys_select-c++.cc +tests/signature.h + +Status: +c++-test + +Depends-on: +ansi-c++-opt + +configure.ac: + +Makefile.am: +if ANSICXX +TESTS += test-sys_select-c++ +check_PROGRAMS += test-sys_select-c++ +test_sys_select_c___SOURCES = test-sys_select-c++.cc +test_sys_select_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_SELECT) $(LIB_NANOSLEEP) +endif diff --git a/gnulib/modules/sys_select-tests b/gnulib/modules/sys_select-tests new file mode 100644 index 0000000..a8127b2 --- /dev/null +++ b/gnulib/modules/sys_select-tests @@ -0,0 +1,12 @@ +Files: +tests/test-sys_select.c +tests/signature.h + +Depends-on: +sys_select-c++-tests + +configure.ac: + +Makefile.am: +TESTS += test-sys_select +check_PROGRAMS += test-sys_select diff --git a/gnulib/modules/sys_socket b/gnulib/modules/sys_socket new file mode 100644 index 0000000..704f2a5 --- /dev/null +++ b/gnulib/modules/sys_socket @@ -0,0 +1,77 @@ +Description: +A POSIX-like <sys/socket.h>. + +Files: +lib/sys_socket.in.h +m4/sys_socket_h.m4 +m4/sockpfaf.m4 + +Depends-on: +errno +include_next +snippet/arg-nonnull +snippet/c++defs +snippet/warn-on-use +socklen +ssize_t +stdalign +sys_uio + +configure.ac: +gl_HEADER_SYS_SOCKET +AC_PROG_MKDIR_P + +Makefile.am: +BUILT_SOURCES += sys/socket.h + +# We need the following in order to create <sys/socket.h> when the system +# doesn't have one that works with the given compiler. +sys/socket.h: sys_socket.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H) + $(AM_V_at)$(MKDIR_P) sys + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \ + -e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \ + -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \ + -e 's/@''GNULIB_SOCKET''@/$(GNULIB_SOCKET)/g' \ + -e 's/@''GNULIB_CONNECT''@/$(GNULIB_CONNECT)/g' \ + -e 's/@''GNULIB_ACCEPT''@/$(GNULIB_ACCEPT)/g' \ + -e 's/@''GNULIB_BIND''@/$(GNULIB_BIND)/g' \ + -e 's/@''GNULIB_GETPEERNAME''@/$(GNULIB_GETPEERNAME)/g' \ + -e 's/@''GNULIB_GETSOCKNAME''@/$(GNULIB_GETSOCKNAME)/g' \ + -e 's/@''GNULIB_GETSOCKOPT''@/$(GNULIB_GETSOCKOPT)/g' \ + -e 's/@''GNULIB_LISTEN''@/$(GNULIB_LISTEN)/g' \ + -e 's/@''GNULIB_RECV''@/$(GNULIB_RECV)/g' \ + -e 's/@''GNULIB_SEND''@/$(GNULIB_SEND)/g' \ + -e 's/@''GNULIB_RECVFROM''@/$(GNULIB_RECVFROM)/g' \ + -e 's/@''GNULIB_SENDTO''@/$(GNULIB_SENDTO)/g' \ + -e 's/@''GNULIB_SETSOCKOPT''@/$(GNULIB_SETSOCKOPT)/g' \ + -e 's/@''GNULIB_SHUTDOWN''@/$(GNULIB_SHUTDOWN)/g' \ + -e 's/@''GNULIB_ACCEPT4''@/$(GNULIB_ACCEPT4)/g' \ + -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \ + -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \ + -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE''@|$(HAVE_STRUCT_SOCKADDR_STORAGE)|g' \ + -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY''@|$(HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY)|g' \ + -e 's|@''HAVE_SA_FAMILY_T''@|$(HAVE_SA_FAMILY_T)|g' \ + -e 's|@''HAVE_ACCEPT4''@|$(HAVE_ACCEPT4)|g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ + -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ + < $(srcdir)/sys_socket.in.h; \ + } > $@-t && \ + mv -f $@-t $@ +MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t +MOSTLYCLEANDIRS += sys + +Include: +<sys/socket.h> + +License: +LGPLv2+ + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/sys_socket-c++-tests b/gnulib/modules/sys_socket-c++-tests new file mode 100644 index 0000000..d2ecd2e --- /dev/null +++ b/gnulib/modules/sys_socket-c++-tests @@ -0,0 +1,19 @@ +Files: +tests/test-sys_socket-c++.cc +tests/signature.h + +Status: +c++-test + +Depends-on: +ansi-c++-opt + +configure.ac: + +Makefile.am: +if ANSICXX +TESTS += test-sys_socket-c++ +check_PROGRAMS += test-sys_socket-c++ +test_sys_socket_c___SOURCES = test-sys_socket-c++.cc +test_sys_socket_c___LDADD = $(LDADD) $(LIBINTL) $(LIBSOCKET) $(LIB_NANOSLEEP) +endif diff --git a/gnulib/modules/sys_socket-tests b/gnulib/modules/sys_socket-tests new file mode 100644 index 0000000..da67baf --- /dev/null +++ b/gnulib/modules/sys_socket-tests @@ -0,0 +1,12 @@ +Files: +tests/test-sys_socket.c + +Depends-on: +sys_socket-c++-tests + +configure.ac: +AC_CHECK_FUNCS_ONCE([shutdown]) + +Makefile.am: +TESTS += test-sys_socket +check_PROGRAMS += test-sys_socket diff --git a/gnulib/modules/sys_stat b/gnulib/modules/sys_stat new file mode 100644 index 0000000..372e653 --- /dev/null +++ b/gnulib/modules/sys_stat @@ -0,0 +1,83 @@ +Description: +A <sys/stat.h> for systems with missing declarations. + +Files: +lib/sys_stat.in.h +m4/sys_stat_h.m4 +m4/unistd_h.m4 + +Depends-on: +include_next +snippet/arg-nonnull +snippet/c++defs +snippet/warn-on-use +time + +configure.ac: +gl_HEADER_SYS_STAT_H +AC_PROG_MKDIR_P + +Makefile.am: +BUILT_SOURCES += sys/stat.h + +# We need the following in order to create <sys/stat.h> when the system +# has one that is incomplete. +sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) + $(AM_V_at)$(MKDIR_P) sys + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \ + -e 's/@''GNULIB_FCHMODAT''@/$(GNULIB_FCHMODAT)/g' \ + -e 's/@''GNULIB_FSTAT''@/$(GNULIB_FSTAT)/g' \ + -e 's/@''GNULIB_FSTATAT''@/$(GNULIB_FSTATAT)/g' \ + -e 's/@''GNULIB_FUTIMENS''@/$(GNULIB_FUTIMENS)/g' \ + -e 's/@''GNULIB_LCHMOD''@/$(GNULIB_LCHMOD)/g' \ + -e 's/@''GNULIB_LSTAT''@/$(GNULIB_LSTAT)/g' \ + -e 's/@''GNULIB_MKDIRAT''@/$(GNULIB_MKDIRAT)/g' \ + -e 's/@''GNULIB_MKFIFO''@/$(GNULIB_MKFIFO)/g' \ + -e 's/@''GNULIB_MKFIFOAT''@/$(GNULIB_MKFIFOAT)/g' \ + -e 's/@''GNULIB_MKNOD''@/$(GNULIB_MKNOD)/g' \ + -e 's/@''GNULIB_MKNODAT''@/$(GNULIB_MKNODAT)/g' \ + -e 's/@''GNULIB_STAT''@/$(GNULIB_STAT)/g' \ + -e 's/@''GNULIB_UTIMENSAT''@/$(GNULIB_UTIMENSAT)/g' \ + -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \ + -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \ + -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \ + -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \ + -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \ + -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \ + -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \ + -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \ + -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \ + -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \ + -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \ + -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \ + -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \ + -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \ + -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \ + -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \ + -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \ + -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \ + -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \ + -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ + -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ + < $(srcdir)/sys_stat.in.h; \ + } > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t +MOSTLYCLEANDIRS += sys + +Include: +<sys/stat.h> + +License: +LGPLv2+ + +Maintainer: +all diff --git a/gnulib/modules/sys_stat-c++-tests b/gnulib/modules/sys_stat-c++-tests new file mode 100644 index 0000000..03f0048 --- /dev/null +++ b/gnulib/modules/sys_stat-c++-tests @@ -0,0 +1,19 @@ +Files: +tests/test-sys_stat-c++.cc +tests/signature.h + +Status: +c++-test + +Depends-on: +ansi-c++-opt + +configure.ac: + +Makefile.am: +if ANSICXX +TESTS += test-sys_stat-c++ +check_PROGRAMS += test-sys_stat-c++ +test_sys_stat_c___SOURCES = test-sys_stat-c++.cc +test_sys_stat_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_CLOCK_GETTIME) +endif diff --git a/gnulib/modules/sys_stat-tests b/gnulib/modules/sys_stat-tests new file mode 100644 index 0000000..a5ede77 --- /dev/null +++ b/gnulib/modules/sys_stat-tests @@ -0,0 +1,12 @@ +Files: +tests/test-sys_stat.c + +Depends-on: +verify +sys_stat-c++-tests + +configure.ac: + +Makefile.am: +TESTS += test-sys_stat +check_PROGRAMS += test-sys_stat diff --git a/gnulib/modules/sys_time b/gnulib/modules/sys_time new file mode 100644 index 0000000..cdf0d46 --- /dev/null +++ b/gnulib/modules/sys_time @@ -0,0 +1,54 @@ +Description: +A <sys/time.h> that conforms better to POSIX. + +Files: +lib/sys_time.in.h +m4/sys_time_h.m4 +m4/sys_socket_h.m4 + +Depends-on: +include_next +snippet/arg-nonnull +snippet/c++defs +snippet/warn-on-use + +configure.ac: +gl_HEADER_SYS_TIME_H +AC_PROG_MKDIR_P + +Makefile.am: +BUILT_SOURCES += sys/time.h + +# We need the following in order to create <sys/time.h> when the system +# doesn't have one that works with the given compiler. +sys/time.h: sys_time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) + $(AM_V_at)$(MKDIR_P) sys + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ + -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_SYS_TIME_H''@|$(NEXT_SYS_TIME_H)|g' \ + -e 's/@''GNULIB_GETTIMEOFDAY''@/$(GNULIB_GETTIMEOFDAY)/g' \ + -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \ + -e 's/@''HAVE_GETTIMEOFDAY''@/$(HAVE_GETTIMEOFDAY)/g' \ + -e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \ + -e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ + -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ + < $(srcdir)/sys_time.in.h; \ + } > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += sys/time.h sys/time.h-t + +Include: +<sys/time.h> + +License: +LGPLv2+ + +Maintainer: +all diff --git a/gnulib/modules/sys_time-c++-tests b/gnulib/modules/sys_time-c++-tests new file mode 100644 index 0000000..90803ef --- /dev/null +++ b/gnulib/modules/sys_time-c++-tests @@ -0,0 +1,19 @@ +Files: +tests/test-sys_time-c++.cc +tests/signature.h + +Status: +c++-test + +Depends-on: +ansi-c++-opt + +configure.ac: + +Makefile.am: +if ANSICXX +TESTS += test-sys_time-c++ +check_PROGRAMS += test-sys_time-c++ +test_sys_time_c___SOURCES = test-sys_time-c++.cc +test_sys_time_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP) +endif diff --git a/gnulib/modules/sys_time-tests b/gnulib/modules/sys_time-tests new file mode 100644 index 0000000..7834c6f --- /dev/null +++ b/gnulib/modules/sys_time-tests @@ -0,0 +1,11 @@ +Files: +tests/test-sys_time.c + +Depends-on: +sys_time-c++-tests + +configure.ac: + +Makefile.am: +TESTS += test-sys_time +check_PROGRAMS += test-sys_time diff --git a/gnulib/modules/sys_times b/gnulib/modules/sys_times new file mode 100644 index 0000000..66a36f1 --- /dev/null +++ b/gnulib/modules/sys_times @@ -0,0 +1,50 @@ +Description: +A <sys/times.h> for systems lacking it. + +Files: +lib/sys_times.in.h +m4/sys_times_h.m4 + +Depends-on: +include_next +snippet/arg-nonnull +snippet/warn-on-use + +configure.ac: +gl_SYS_TIMES_H +AC_PROG_MKDIR_P + +Makefile.am: +BUILT_SOURCES += sys/times.h + +# We need the following in order to create <sys/times.h> when the system +# doesn't have one that works with the given compiler. +sys/times.h: sys_times.in.h $(top_builddir)/config.status $(WARN_ON_USE_H) $(ARG_NONNULL_H) + $(AM_V_at)$(MKDIR_P) sys + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ + -e 's/@''HAVE_SYS_TIMES_H''@/$(HAVE_SYS_TIMES_H)/g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_SYS_TIMES_H''@|$(NEXT_SYS_TIMES_H)|g' \ + -e 's/@''GNULIB_TIMES''@/$(GNULIB_TIMES)/g' \ + -e 's|@''HAVE_STRUCT_TMS''@|$(HAVE_STRUCT_TMS)|g' \ + -e 's|@''HAVE_TIMES''@|$(HAVE_TIMES)|g' \ + -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ + < $(srcdir)/sys_times.in.h; \ + } > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += sys/times.h sys/times.h-t +MOSTLYCLEANDIRS += sys + +Include: +<sys/times.h> + +License: +LGPLv2+ + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/sys_times-tests b/gnulib/modules/sys_times-tests new file mode 100644 index 0000000..f622157 --- /dev/null +++ b/gnulib/modules/sys_times-tests @@ -0,0 +1,6 @@ +Files: +tests/test-sys_times.c + +Makefile.am: +TESTS += test-sys_times +check_PROGRAMS += test-sys_times diff --git a/gnulib/modules/sys_types b/gnulib/modules/sys_types new file mode 100644 index 0000000..810f640 --- /dev/null +++ b/gnulib/modules/sys_types @@ -0,0 +1,42 @@ +Description: +A <sys/types.h> that conforms better to POSIX. + +Files: +lib/sys_types.in.h +m4/sys_types_h.m4 + +Depends-on: +include_next +ssize_t + +configure.ac: +gl_SYS_TYPES_H +AC_PROG_MKDIR_P + +Makefile.am: +BUILT_SOURCES += sys/types.h + +# We need the following in order to create <sys/types.h> when the system +# doesn't have one that works with the given compiler. +sys/types.h: sys_types.in.h $(top_builddir)/config.status + $(AM_V_at)$(MKDIR_P) sys + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_SYS_TYPES_H''@|$(NEXT_SYS_TYPES_H)|g' \ + < $(srcdir)/sys_types.in.h; \ + } > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += sys/types.h sys/types.h-t + +Include: +<sys/types.h> + +License: +LGPLv2+ + +Maintainer: +all diff --git a/gnulib/modules/sys_types-c++-tests b/gnulib/modules/sys_types-c++-tests new file mode 100644 index 0000000..68e21ae --- /dev/null +++ b/gnulib/modules/sys_types-c++-tests @@ -0,0 +1,17 @@ +Files: +tests/test-sys_types-c++.cc + +Status: +c++-test + +Depends-on: +ansi-c++-opt + +configure.ac: + +Makefile.am: +if ANSICXX +TESTS += test-sys_types-c++ +check_PROGRAMS += test-sys_types-c++ +test_sys_types_c___SOURCES = test-sys_types-c++.cc +endif diff --git a/gnulib/modules/sys_types-tests b/gnulib/modules/sys_types-tests new file mode 100644 index 0000000..cd1a83f --- /dev/null +++ b/gnulib/modules/sys_types-tests @@ -0,0 +1,11 @@ +Files: +tests/test-sys_types.c + +Depends-on: +sys_types-c++-tests + +configure.ac: + +Makefile.am: +TESTS += test-sys_types +check_PROGRAMS += test-sys_types diff --git a/gnulib/modules/sys_uio b/gnulib/modules/sys_uio new file mode 100644 index 0000000..45b15ee --- /dev/null +++ b/gnulib/modules/sys_uio @@ -0,0 +1,45 @@ +Description: +A POSIX-like <sys/uio.h>. + +Files: +lib/sys_uio.in.h +m4/sys_uio_h.m4 + +Depends-on: +include_next +ssize_t +sys_types + +configure.ac: +gl_HEADER_SYS_UIO +AC_PROG_MKDIR_P + +Makefile.am: +BUILT_SOURCES += sys/uio.h + +# We need the following in order to create <sys/uio.h> when the system +# doesn't have one that works with the given compiler. +sys/uio.h: sys_uio.in.h $(top_builddir)/config.status + $(AM_V_at)$(MKDIR_P) sys + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_SYS_UIO_H''@|$(NEXT_SYS_UIO_H)|g' \ + -e 's|@''HAVE_SYS_UIO_H''@|$(HAVE_SYS_UIO_H)|g' \ + < $(srcdir)/sys_uio.in.h; \ + } > $@-t && \ + mv -f $@-t $@ +MOSTLYCLEANFILES += sys/uio.h sys/uio.h-t +MOSTLYCLEANDIRS += sys + +Include: +<sys/uio.h> + +License: +LGPLv2+ + +Maintainer: +Eric Blake diff --git a/gnulib/modules/sys_uio-tests b/gnulib/modules/sys_uio-tests new file mode 100644 index 0000000..0258579 --- /dev/null +++ b/gnulib/modules/sys_uio-tests @@ -0,0 +1,10 @@ +Files: +tests/test-sys_uio.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-sys_uio +check_PROGRAMS += test-sys_uio diff --git a/gnulib/modules/sys_utsname b/gnulib/modules/sys_utsname new file mode 100644 index 0000000..82aa31b --- /dev/null +++ b/gnulib/modules/sys_utsname @@ -0,0 +1,50 @@ +Description: +A <sys/utsname.h> for systems which lack it. + +Files: +lib/sys_utsname.in.h +m4/sys_utsname_h.m4 + +Depends-on: +include_next +snippet/arg-nonnull +snippet/warn-on-use + +configure.ac: +gl_SYS_UTSNAME_H +AC_PROG_MKDIR_P + +Makefile.am: +BUILT_SOURCES += sys/utsname.h + +# We need the following in order to create <sys/utsname.h> when the system +# does not have one. +sys/utsname.h: sys_utsname.in.h $(top_builddir)/config.status $(WARN_ON_USE_H) $(ARG_NONNULL_H) + $(AM_V_at)$(MKDIR_P) sys + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ + -e 's/@''HAVE_SYS_UTSNAME_H''@/$(HAVE_SYS_UTSNAME_H)/g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_SYS_UTSNAME_H''@|$(NEXT_SYS_UTSNAME_H)|g' \ + -e 's/@''GNULIB_UNAME''@/$(GNULIB_UNAME)/g' \ + -e 's|@''HAVE_STRUCT_UTSNAME''@|$(HAVE_STRUCT_UTSNAME)|g' \ + -e 's|@''HAVE_UNAME''@|$(HAVE_UNAME)|g' \ + -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ + < $(srcdir)/sys_utsname.in.h; \ + } > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += sys/utsname.h sys/utsname.h-t +MOSTLYCLEANDIRS += sys + +Include: +<sys/utsname.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/sys_utsname-tests b/gnulib/modules/sys_utsname-tests new file mode 100644 index 0000000..8d95351 --- /dev/null +++ b/gnulib/modules/sys_utsname-tests @@ -0,0 +1,10 @@ +Files: +tests/test-sys_utsname.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-sys_utsname +check_PROGRAMS += test-sys_utsname diff --git a/gnulib/modules/sys_wait b/gnulib/modules/sys_wait new file mode 100644 index 0000000..a270d91 --- /dev/null +++ b/gnulib/modules/sys_wait @@ -0,0 +1,47 @@ +Description: +A <sys/wait.h> for systems with missing declarations. + +Files: +lib/sys_wait.in.h +m4/sys_wait_h.m4 + +Depends-on: +include_next +snippet/c++defs +snippet/warn-on-use + +configure.ac: +gl_SYS_WAIT_H +AC_PROG_MKDIR_P + +Makefile.am: +BUILT_SOURCES += sys/wait.h + +# We need the following in order to create <sys/wait.h> when the system +# has one that is incomplete. +sys/wait.h: sys_wait.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) + $(AM_V_at)$(MKDIR_P) sys + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_SYS_WAIT_H''@|$(NEXT_SYS_WAIT_H)|g' \ + -e 's/@''GNULIB_WAITPID''@/$(GNULIB_WAITPID)/g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ + < $(srcdir)/sys_wait.in.h; \ + } > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += sys/wait.h sys/wait.h-t +MOSTLYCLEANDIRS += sys + +Include: +<sys/wait.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/sys_wait-c++-tests b/gnulib/modules/sys_wait-c++-tests new file mode 100644 index 0000000..f94dfc5 --- /dev/null +++ b/gnulib/modules/sys_wait-c++-tests @@ -0,0 +1,18 @@ +Files: +tests/test-sys_wait-c++.cc +tests/signature.h + +Status: +c++-test + +Depends-on: +ansi-c++-opt + +configure.ac: + +Makefile.am: +if ANSICXX +TESTS += test-sys_wait-c++ +check_PROGRAMS += test-sys_wait-c++ +test_sys_wait_c___SOURCES = test-sys_wait-c++.cc +endif diff --git a/gnulib/modules/sys_wait-tests b/gnulib/modules/sys_wait-tests new file mode 100644 index 0000000..8b1cbd0 --- /dev/null +++ b/gnulib/modules/sys_wait-tests @@ -0,0 +1,12 @@ +Files: +tests/test-sys_wait.c +tests/test-sys_wait.h + +Depends-on: +sys_wait-c++-tests + +configure.ac: + +Makefile.am: +TESTS += test-sys_wait +check_PROGRAMS += test-sys_wait diff --git a/gnulib/modules/sysexits b/gnulib/modules/sysexits new file mode 100644 index 0000000..64236a2 --- /dev/null +++ b/gnulib/modules/sysexits @@ -0,0 +1,46 @@ +Description: +Exit status codes for some BSD system programs. + +Files: +lib/sysexits.in.h +m4/sysexits.m4 + +Depends-on: +include_next +stdlib + +configure.ac: +gl_SYSEXITS + +Makefile.am: +BUILT_SOURCES += $(SYSEXITS_H) + +# We need the following in order to create <sysexits.h> when the system +# doesn't have one that works with the given compiler. +if GL_GENERATE_SYSEXITS_H +sysexits.h: sysexits.in.h $(top_builddir)/config.status + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ + -e 's|@''HAVE_SYSEXITS_H''@|$(HAVE_SYSEXITS_H)|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_SYSEXITS_H''@|$(NEXT_SYSEXITS_H)|g' \ + < $(srcdir)/sysexits.in.h; \ + } > $@-t && \ + mv -f $@-t $@ +else +sysexits.h: $(top_builddir)/config.status + rm -f $@ +endif +MOSTLYCLEANFILES += sysexits.h sysexits.h-t + +Include: +<sysexits.h> + +License: +LGPLv2+ + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/sysexits-tests b/gnulib/modules/sysexits-tests new file mode 100644 index 0000000..7794cf0 --- /dev/null +++ b/gnulib/modules/sysexits-tests @@ -0,0 +1,10 @@ +Files: +tests/test-sysexits.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-sysexits +check_PROGRAMS += test-sysexits diff --git a/gnulib/modules/system-posix b/gnulib/modules/system-posix new file mode 100644 index 0000000..d5dc669 --- /dev/null +++ b/gnulib/modules/system-posix @@ -0,0 +1,22 @@ +Description: +system() function: execute a shell command + +Files: + +Depends-on: +stdlib +sys_wait + +configure.ac: +gl_STDLIB_MODULE_INDICATOR([system-posix]) + +Makefile.am: + +Include: +<stdlib.h> + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/tan b/gnulib/modules/tan new file mode 100644 index 0000000..0553e08 --- /dev/null +++ b/gnulib/modules/tan @@ -0,0 +1,25 @@ +Description: +tan() function: tangent function. + +Files: +m4/tan.m4 +m4/mathfunc.m4 + +Depends-on: + +configure.ac: +gl_FUNC_TAN + +Makefile.am: + +Include: +<math.h> + +Link: +$(TAN_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/tan-tests b/gnulib/modules/tan-tests new file mode 100644 index 0000000..178a643 --- /dev/null +++ b/gnulib/modules/tan-tests @@ -0,0 +1,13 @@ +Files: +tests/test-tan.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-tan +check_PROGRAMS += test-tan +test_tan_LDADD = $(LDADD) @TAN_LIBM@ diff --git a/gnulib/modules/tanf b/gnulib/modules/tanf new file mode 100644 index 0000000..943f7c7 --- /dev/null +++ b/gnulib/modules/tanf @@ -0,0 +1,31 @@ +Description: +tanf() function: tangent function. + +Files: +lib/tanf.c +m4/tanf.m4 + +Depends-on: +math +tan [test $HAVE_TANF = 0] + +configure.ac: +gl_FUNC_TANF +if test $HAVE_TANF = 0; then + AC_LIBOBJ([tanf]) +fi +gl_MATH_MODULE_INDICATOR([tanf]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(TANF_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/tanf-tests b/gnulib/modules/tanf-tests new file mode 100644 index 0000000..f65fb2b --- /dev/null +++ b/gnulib/modules/tanf-tests @@ -0,0 +1,13 @@ +Files: +tests/test-tanf.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-tanf +check_PROGRAMS += test-tanf +test_tanf_LDADD = $(LDADD) @TANF_LIBM@ diff --git a/gnulib/modules/tanh b/gnulib/modules/tanh new file mode 100644 index 0000000..d09afad --- /dev/null +++ b/gnulib/modules/tanh @@ -0,0 +1,25 @@ +Description: +tanh() function: hyperbolic tangent function. + +Files: +m4/tanh.m4 +m4/mathfunc.m4 + +Depends-on: + +configure.ac: +gl_FUNC_TANH + +Makefile.am: + +Include: +<math.h> + +Link: +$(TANH_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/tanh-tests b/gnulib/modules/tanh-tests new file mode 100644 index 0000000..9e098c3 --- /dev/null +++ b/gnulib/modules/tanh-tests @@ -0,0 +1,13 @@ +Files: +tests/test-tanh.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-tanh +check_PROGRAMS += test-tanh +test_tanh_LDADD = $(LDADD) @TANH_LIBM@ diff --git a/gnulib/modules/tanhf b/gnulib/modules/tanhf new file mode 100644 index 0000000..44f606e --- /dev/null +++ b/gnulib/modules/tanhf @@ -0,0 +1,31 @@ +Description: +tanhf() function: hyperbolic tangent function. + +Files: +lib/tanhf.c +m4/tanhf.m4 + +Depends-on: +math +tanh [test $HAVE_TANHF = 0] + +configure.ac: +gl_FUNC_TANHF +if test $HAVE_TANHF = 0; then + AC_LIBOBJ([tanhf]) +fi +gl_MATH_MODULE_INDICATOR([tanhf]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(TANHF_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/tanhf-tests b/gnulib/modules/tanhf-tests new file mode 100644 index 0000000..5521bd0 --- /dev/null +++ b/gnulib/modules/tanhf-tests @@ -0,0 +1,13 @@ +Files: +tests/test-tanhf.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-tanhf +check_PROGRAMS += test-tanhf +test_tanhf_LDADD = $(LDADD) @TANHF_LIBM@ diff --git a/gnulib/modules/tanl b/gnulib/modules/tanl new file mode 100644 index 0000000..c91c6fe --- /dev/null +++ b/gnulib/modules/tanl @@ -0,0 +1,41 @@ +Description: +tanl() function: tangent function with long double argument. + +Files: +lib/tanl.c +lib/trigl.h +lib/trigl.c +m4/tanl.m4 + +Depends-on: +math +extensions +tan [test $HAVE_TANL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1] +float [test $HAVE_TANL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] +isnanl [test $HAVE_TANL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] +floor [test $HAVE_TANL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] +floorl [test $HAVE_TANL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] + +configure.ac: +gl_FUNC_TANL +if test $HAVE_TANL = 0; then + AC_LIBOBJ([tanl]) + if test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0; then + AC_LIBOBJ([trigl]) + fi +fi +gl_MATH_MODULE_INDICATOR([tanl]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(TANL_LIBM) + +License: +LGPL + +Maintainer: +Paolo Bonzini diff --git a/gnulib/modules/tanl-tests b/gnulib/modules/tanl-tests new file mode 100644 index 0000000..eb8f609 --- /dev/null +++ b/gnulib/modules/tanl-tests @@ -0,0 +1,14 @@ +Files: +tests/test-tanl.c +tests/signature.h +tests/macros.h + +Depends-on: +fpucw + +configure.ac: + +Makefile.am: +TESTS += test-tanl +check_PROGRAMS += test-tanl +test_tanl_LDADD = $(LDADD) @TANL_LIBM@ diff --git a/gnulib/modules/tcgetsid b/gnulib/modules/tcgetsid new file mode 100644 index 0000000..38fc9e3 --- /dev/null +++ b/gnulib/modules/tcgetsid @@ -0,0 +1,31 @@ +Description: +tcgetsid() function: Determine the session ID of the controlling terminal of +the current process. + +Files: +lib/tcgetsid.c +m4/tcgetsid.m4 + +Depends-on: +termios +extensions +sys_ioctl [test $HAVE_TCGETSID = 0] + +configure.ac: +gl_FUNC_TCGETSID +if test $HAVE_TCGETSID = 0; then + AC_LIBOBJ([tcgetsid]) + gl_PREREQ_TCGETSID +fi +gl_TERMIOS_MODULE_INDICATOR([tcgetsid]) + +Makefile.am: + +Include: +<termios.h> + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/tempname b/gnulib/modules/tempname new file mode 100644 index 0000000..b4708d9 --- /dev/null +++ b/gnulib/modules/tempname @@ -0,0 +1,31 @@ +Description: +gen_tempname() function: create a private temporary file or directory. + +Files: +lib/tempname.c +lib/tempname.h +m4/tempname.m4 + +Depends-on: +extensions +fcntl-h +gettimeofday +lstat +stdint +sys_stat +sys_time + +configure.ac: +gl_FUNC_GEN_TEMPNAME + +Makefile.am: +lib_SOURCES += tempname.c + +Include: +"tempname.h" + +License: +LGPLv2+ + +Maintainer: +Eric Blake and Jim Meyering diff --git a/gnulib/modules/termios b/gnulib/modules/termios new file mode 100644 index 0000000..facebeb --- /dev/null +++ b/gnulib/modules/termios @@ -0,0 +1,46 @@ +Description: +A <termios.h> that works around platform issues. + +Files: +lib/termios.in.h +m4/termios_h.m4 + +Depends-on: +include_next +snippet/c++defs +snippet/warn-on-use + +configure.ac: +gl_TERMIOS_H + +Makefile.am: +BUILT_SOURCES += termios.h + +# We need the following in order to create <termios.h> when the system +# version does not have all declarations. +termios.h: termios.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_TERMIOS_H''@|$(NEXT_TERMIOS_H)|g' \ + -e 's/@''GNULIB_TCGETSID''@/$(GNULIB_TCGETSID)/g' \ + -e 's|@''HAVE_DECL_TCGETSID''@|$(HAVE_DECL_TCGETSID)|g' \ + -e 's|@''HAVE_TERMIOS_H''@|$(HAVE_TERMIOS_H)|g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ + < $(srcdir)/termios.in.h; \ + } > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += termios.h termios.h-t + +Include: +<termios.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/termios-c++-tests b/gnulib/modules/termios-c++-tests new file mode 100644 index 0000000..a197581 --- /dev/null +++ b/gnulib/modules/termios-c++-tests @@ -0,0 +1,18 @@ +Files: +tests/test-termios-c++.cc +tests/signature.h + +Status: +c++-test + +Depends-on: +ansi-c++-opt + +configure.ac: + +Makefile.am: +if ANSICXX +TESTS += test-termios-c++ +check_PROGRAMS += test-termios-c++ +test_termios_c___SOURCES = test-termios-c++.cc +endif diff --git a/gnulib/modules/termios-tests b/gnulib/modules/termios-tests new file mode 100644 index 0000000..df7eac1 --- /dev/null +++ b/gnulib/modules/termios-tests @@ -0,0 +1,11 @@ +Files: +tests/test-termios.c + +Depends-on: +termios-c++-tests + +configure.ac: + +Makefile.am: +TESTS += test-termios +check_PROGRAMS += test-termios diff --git a/gnulib/modules/thread b/gnulib/modules/thread new file mode 100644 index 0000000..a7d338d --- /dev/null +++ b/gnulib/modules/thread @@ -0,0 +1,30 @@ +Description: +Creating and controlling threads. + +Files: +lib/glthread/thread.h +lib/glthread/thread.c +m4/thread.m4 + +Depends-on: +threadlib +lock + +configure.ac: +gl_THREAD + +Makefile.am: +lib_SOURCES += glthread/thread.h glthread/thread.c + +Include: +"glthread/thread.h" + +Link: +$(LTLIBMULTITHREAD) when linking with libtool, $(LIBMULTITHREAD) otherwise + +License: +LGPLv2+ + +Maintainer: +Yoann Vandoorselaere + diff --git a/gnulib/modules/thread-tests b/gnulib/modules/thread-tests new file mode 100644 index 0000000..38608f3 --- /dev/null +++ b/gnulib/modules/thread-tests @@ -0,0 +1,14 @@ +Files: +tests/test-thread_self.c +tests/test-thread_create.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-thread_self test-thread_create +check_PROGRAMS += test-thread_self test-thread_create +test_thread_self_LDADD = $(LDADD) @LIBTHREAD@ +test_thread_create_LDADD = $(LDADD) @LIBMULTITHREAD@ diff --git a/gnulib/modules/threadlib b/gnulib/modules/threadlib new file mode 100644 index 0000000..9e3438c --- /dev/null +++ b/gnulib/modules/threadlib @@ -0,0 +1,31 @@ +Description: +Access to multithreading primitives. + +Files: +lib/glthread/threadlib.c +m4/threadlib.m4 +build-aux/config.rpath + +Depends-on: +havelib + +configure.ac-early: +gl_THREADLIB_EARLY + +configure.ac: +gl_THREADLIB + +Makefile.am: +lib_SOURCES += glthread/threadlib.c + +Include: + +Link: +$(LTLIBTHREAD) when linking with libtool, $(LIBTHREAD) otherwise + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/time b/gnulib/modules/time new file mode 100644 index 0000000..8e946fc --- /dev/null +++ b/gnulib/modules/time @@ -0,0 +1,63 @@ +Description: +A more-standard <time.h>. + +Files: +lib/time.in.h +m4/time_h.m4 + +Depends-on: +extensions +include_next +snippet/arg-nonnull +snippet/c++defs +snippet/warn-on-use +stddef + +configure.ac: +gl_HEADER_TIME_H + +Makefile.am: +BUILT_SOURCES += time.h + +# We need the following in order to create <time.h> when the system +# doesn't have one that works with the given compiler. +time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ + sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \ + -e 's/@''GNULIB_MKTIME''@/$(GNULIB_MKTIME)/g' \ + -e 's/@''GNULIB_NANOSLEEP''@/$(GNULIB_NANOSLEEP)/g' \ + -e 's/@''GNULIB_STRPTIME''@/$(GNULIB_STRPTIME)/g' \ + -e 's/@''GNULIB_TIMEGM''@/$(GNULIB_TIMEGM)/g' \ + -e 's/@''GNULIB_TIME_R''@/$(GNULIB_TIME_R)/g' \ + -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \ + -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \ + -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \ + -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \ + -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \ + -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \ + -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \ + -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \ + -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \ + -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \ + -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ + -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ + < $(srcdir)/time.in.h; \ + } > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += time.h time.h-t + +Include: +<time.h> + +License: +LGPLv2+ + +Maintainer: +all diff --git a/gnulib/modules/time-c++-tests b/gnulib/modules/time-c++-tests new file mode 100644 index 0000000..c811d6f --- /dev/null +++ b/gnulib/modules/time-c++-tests @@ -0,0 +1,20 @@ +Files: +tests/test-time-c++.cc +tests/test-time-c++2.cc +tests/signature.h + +Status: +c++-test + +Depends-on: +ansi-c++-opt + +configure.ac: + +Makefile.am: +if ANSICXX +TESTS += test-time-c++ +check_PROGRAMS += test-time-c++ +test_time_c___SOURCES = test-time-c++.cc test-time-c++2.cc +test_time_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP) +endif diff --git a/gnulib/modules/time-tests b/gnulib/modules/time-tests new file mode 100644 index 0000000..de7e238 --- /dev/null +++ b/gnulib/modules/time-tests @@ -0,0 +1,12 @@ +Files: +tests/test-time.c + +Depends-on: +verify +time-c++-tests + +configure.ac: + +Makefile.am: +TESTS += test-time +check_PROGRAMS += test-time diff --git a/gnulib/modules/time_r b/gnulib/modules/time_r new file mode 100644 index 0000000..c235e08 --- /dev/null +++ b/gnulib/modules/time_r @@ -0,0 +1,29 @@ +Description: +Reentrant time functions: localtime_r, gmtime_r. + +Files: +lib/time_r.c +m4/time_r.m4 + +Depends-on: +extensions +time + +configure.ac: +gl_TIME_R +if test $HAVE_LOCALTIME_R = 0 || test $REPLACE_LOCALTIME_R = 1; then + AC_LIBOBJ([time_r]) + gl_PREREQ_TIME_R +fi +gl_TIME_MODULE_INDICATOR([time_r]) + +Makefile.am: + +Include: +<time.h> + +License: +LGPLv2+ + +Maintainer: +Paul Eggert diff --git a/gnulib/modules/timegm b/gnulib/modules/timegm new file mode 100644 index 0000000..0ec9d65 --- /dev/null +++ b/gnulib/modules/timegm @@ -0,0 +1,31 @@ +Description: +Convert calendar time to simple time, inverse of mktime. + +Files: +lib/mktime-internal.h +lib/timegm.c +m4/timegm.m4 + +Depends-on: +time +mktime-internal [test $HAVE_TIMEGM = 0 || test $REPLACE_TIMEGM = 1] +time_r [test $HAVE_TIMEGM = 0 || test $REPLACE_TIMEGM = 1] + +configure.ac: +gl_FUNC_TIMEGM +if test $HAVE_TIMEGM = 0 || test $REPLACE_TIMEGM = 1; then + AC_LIBOBJ([timegm]) + gl_PREREQ_TIMEGM +fi +gl_TIME_MODULE_INDICATOR([timegm]) + +Makefile.am: + +Include: +<time.h> + +License: +LGPLv2+ + +Maintainer: +all, glibc diff --git a/gnulib/modules/timer-time b/gnulib/modules/timer-time new file mode 100644 index 0000000..07b439b --- /dev/null +++ b/gnulib/modules/timer-time @@ -0,0 +1,26 @@ +Description: +Check for timer_settime. Within HAVE_TIMER_SETTIME one can +assume timer_create, timer_delete and timer_gettime are available too. + +Files: +m4/timer_time.m4 + +Depends-on: +extensions + +configure.ac: +gl_TIMER_TIME + +Makefile.am: + +Include: +<time.h> + +Link: +$(LIB_TIMER_TIME) + +License: +LGPLv2+ + +Maintainer: +Pádraig Brady, Paul Eggert, Jim Meyering diff --git a/gnulib/modules/times b/gnulib/modules/times new file mode 100644 index 0000000..aab3703 --- /dev/null +++ b/gnulib/modules/times @@ -0,0 +1,27 @@ +Description: +times() function: get process times + +Files: +lib/times.c +m4/times.m4 + +Depends-on: +sys_times + +configure.ac: +gl_FUNC_TIMES +if test $HAVE_TIMES = 0; then + AC_LIBOBJ([times]) +fi +gl_SYS_TIMES_MODULE_INDICATOR([times]) + +Makefile.am: + +Include: +<sys/times.h> + +License: +LGPLv2+ + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/times-tests b/gnulib/modules/times-tests new file mode 100644 index 0000000..3d90f1a --- /dev/null +++ b/gnulib/modules/times-tests @@ -0,0 +1,7 @@ +Files: +tests/signature.h +tests/test-times.c + +Makefile.am: +TESTS += test-times +check_PROGRAMS += test-times diff --git a/gnulib/modules/timespec b/gnulib/modules/timespec new file mode 100644 index 0000000..8d74632 --- /dev/null +++ b/gnulib/modules/timespec @@ -0,0 +1,23 @@ +Description: +timespec-related declarations + +Files: +lib/timespec.h +m4/timespec.m4 + +Depends-on: +time + +configure.ac: +gl_TIMESPEC + +Makefile.am: + +Include: +"timespec.h" + +License: +GPL + +Maintainer: +Paul Eggert and Jim Meyering diff --git a/gnulib/modules/timespec-add b/gnulib/modules/timespec-add new file mode 100644 index 0000000..c7ca395 --- /dev/null +++ b/gnulib/modules/timespec-add @@ -0,0 +1,25 @@ +Description: +Add timespec values. + +Files: +lib/timespec-add.c + +Depends-on: +intprops +timespec + +configure.ac: + +Makefile.am: +lib_SOURCES += timespec-add.c + +Include: +"timespec.h" + +Link: + +License: +GPL + +Maintainer: +Paul Eggert, Jim Meyering diff --git a/gnulib/modules/timespec-sub b/gnulib/modules/timespec-sub new file mode 100644 index 0000000..3ec70b3 --- /dev/null +++ b/gnulib/modules/timespec-sub @@ -0,0 +1,25 @@ +Description: +Subtract timespec values. + +Files: +lib/timespec-sub.c + +Depends-on: +intprops +timespec + +configure.ac: + +Makefile.am: +lib_SOURCES += timespec-sub.c + +Include: +"timespec.h" + +Link: + +License: +GPL + +Maintainer: +Paul Eggert, Jim Meyering diff --git a/gnulib/modules/tls b/gnulib/modules/tls new file mode 100644 index 0000000..a2a4664 --- /dev/null +++ b/gnulib/modules/tls @@ -0,0 +1,29 @@ +Description: +Thread-local storage in multithreaded situations. + +Files: +lib/glthread/tls.h +lib/glthread/tls.c +m4/tls.m4 + +Depends-on: +threadlib + +configure.ac: +gl_TLS + +Makefile.am: +lib_SOURCES += glthread/tls.h glthread/tls.c + +Include: +"glthread/tls.h" + +Link: +$(LTLIBTHREAD) when linking with libtool, $(LIBTHREAD) otherwise + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/tls-tests b/gnulib/modules/tls-tests new file mode 100644 index 0000000..107cfe4 --- /dev/null +++ b/gnulib/modules/tls-tests @@ -0,0 +1,14 @@ +Files: +tests/test-tls.c + +Depends-on: +thread +yield + +configure.ac: + +Makefile.am: +TESTS += test-tls +check_PROGRAMS += test-tls +test_tls_LDADD = $(LDADD) @LIBMULTITHREAD@ @YIELD_LIB@ + diff --git a/gnulib/modules/tmpdir b/gnulib/modules/tmpdir new file mode 100644 index 0000000..0dd1780 --- /dev/null +++ b/gnulib/modules/tmpdir @@ -0,0 +1,28 @@ +Description: +Determine a temporary directory. + +Files: +lib/tmpdir.h +lib/tmpdir.c +m4/tmpdir.m4 + +Depends-on: +stdbool +sys_stat +pathmax + +configure.ac: +gt_TMPDIR + +Makefile.am: +lib_SOURCES += tmpdir.h tmpdir.c + +Include: +"tmpdir.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/tmpfile b/gnulib/modules/tmpfile new file mode 100644 index 0000000..e98a8ee --- /dev/null +++ b/gnulib/modules/tmpfile @@ -0,0 +1,32 @@ +Description: +tmpfile() function: create a temporary file. + +Files: +lib/tmpfile.c +m4/tmpfile.m4 + +Depends-on: +stdio +largefile +pathmax [test $REPLACE_TMPFILE = 1] +tempname [test $REPLACE_TMPFILE = 1] +tmpdir [test $REPLACE_TMPFILE = 1] + +configure.ac: +gl_FUNC_TMPFILE +if test $REPLACE_TMPFILE = 1; then + AC_LIBOBJ([tmpfile]) + gl_PREREQ_TMPFILE +fi +gl_STDIO_MODULE_INDICATOR([tmpfile]) + +Makefile.am: + +Include: +<stdio.h> + +License: +LGPL + +Maintainer: +Ben Pfaff diff --git a/gnulib/modules/tmpfile-safer b/gnulib/modules/tmpfile-safer new file mode 100644 index 0000000..d63559e --- /dev/null +++ b/gnulib/modules/tmpfile-safer @@ -0,0 +1,27 @@ +Description: +tmpfile function that avoids clobbering std{in,out,err}. + +Files: +lib/stdio--.h +lib/stdio-safer.h +lib/tmpfile-safer.c + +Depends-on: +binary-io +tmpfile +unistd-safer + +configure.ac: +gl_MODULE_INDICATOR([tmpfile-safer]) + +Makefile.am: +lib_SOURCES += tmpfile-safer.c + +Include: +"stdio-safer.h" + +License: +GPL + +Maintainer: +Paul Eggert, Jim Meyering diff --git a/gnulib/modules/towctrans b/gnulib/modules/towctrans new file mode 100644 index 0000000..df66882 --- /dev/null +++ b/gnulib/modules/towctrans @@ -0,0 +1,28 @@ +Description: +towctrans() function: convert a wide character using a case mapping. + +Files: +lib/towctrans.c +lib/towctrans-impl.h +m4/towctrans.m4 + +Depends-on: +wctype-h + +configure.ac: +gl_FUNC_TOWCTRANS +if test $HAVE_TOWCTRANS = 0; then + AC_LIBOBJ([towctrans]) +fi +gl_WCTYPE_MODULE_INDICATOR([towctrans]) + +Makefile.am: + +Include: +<wctype.h> + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/trim b/gnulib/modules/trim new file mode 100644 index 0000000..c954509 --- /dev/null +++ b/gnulib/modules/trim @@ -0,0 +1,27 @@ +Description: +trim() function: remove leading and/or trailing whitespaces + +Files: +lib/trim.h +lib/trim.c + +Depends-on: +xalloc +mbchar +mbiter +memmove +strdup + +configure.ac: + +Makefile.am: +lib_SOURCES += trim.c + +Include: +"trim.h" + +License: +GPL + +Maintainer: +Davide Angelocola diff --git a/gnulib/modules/trunc b/gnulib/modules/trunc new file mode 100644 index 0000000..34f3339 --- /dev/null +++ b/gnulib/modules/trunc @@ -0,0 +1,33 @@ +Description: +trunc() function: round towards zero. + +Files: +lib/trunc.c +m4/trunc.m4 + +Depends-on: +math +extensions +float [test $HAVE_DECL_TRUNC = 0 || test $REPLACE_TRUNC = 1] + +configure.ac: +gl_FUNC_TRUNC +if test $HAVE_DECL_TRUNC = 0 || test $REPLACE_TRUNC = 1; then + AC_LIBOBJ([trunc]) +fi +gl_MATH_MODULE_INDICATOR([trunc]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(TRUNC_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/trunc-ieee b/gnulib/modules/trunc-ieee new file mode 100644 index 0000000..612716e --- /dev/null +++ b/gnulib/modules/trunc-ieee @@ -0,0 +1,27 @@ +Description: +trunc() function according to ISO C 99 with IEC 60559. + +Files: +m4/trunc-ieee.m4 +m4/minus-zero.m4 +m4/signbit.m4 + +Depends-on: +trunc + +configure.ac: +gl_FUNC_TRUNC_IEEE + +Makefile.am: + +Include: +<math.h> + +Link: +$(TRUNC_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/trunc-ieee-tests b/gnulib/modules/trunc-ieee-tests new file mode 100644 index 0000000..80bafef --- /dev/null +++ b/gnulib/modules/trunc-ieee-tests @@ -0,0 +1,15 @@ +Files: +tests/test-trunc-ieee.c +tests/minus-zero.h +tests/macros.h + +Depends-on: +float +signbit + +configure.ac: + +Makefile.am: +TESTS += test-trunc-ieee +check_PROGRAMS += test-trunc-ieee +test_trunc_ieee_LDADD = $(LDADD) @TRUNC_LIBM@ diff --git a/gnulib/modules/trunc-tests b/gnulib/modules/trunc-tests new file mode 100644 index 0000000..1ec87d7 --- /dev/null +++ b/gnulib/modules/trunc-tests @@ -0,0 +1,22 @@ +Files: +tests/test-trunc1.c +tests/test-trunc2.c +tests/minus-zero.h +tests/infinity.h +tests/nan.h +tests/signature.h +tests/macros.h + +Depends-on: +float +isnand-nolibm +stdbool +stdint + +configure.ac: + +Makefile.am: +TESTS += test-trunc1 test-trunc2 +check_PROGRAMS += test-trunc1 test-trunc2 +test_trunc1_LDADD = $(LDADD) @TRUNC_LIBM@ +test_trunc2_LDADD = $(LDADD) @TRUNC_LIBM@ diff --git a/gnulib/modules/truncf b/gnulib/modules/truncf new file mode 100644 index 0000000..0727d0b --- /dev/null +++ b/gnulib/modules/truncf @@ -0,0 +1,34 @@ +Description: +truncf() function: round towards zero. + +Files: +lib/truncf.c +lib/trunc.c +m4/truncf.m4 + +Depends-on: +math +extensions +float [test $HAVE_DECL_TRUNCF = 0 || test $REPLACE_TRUNCF = 1] + +configure.ac: +gl_FUNC_TRUNCF +if test $HAVE_DECL_TRUNCF = 0 || test $REPLACE_TRUNCF = 1; then + AC_LIBOBJ([truncf]) +fi +gl_MATH_MODULE_INDICATOR([truncf]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(TRUNCF_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/truncf-ieee b/gnulib/modules/truncf-ieee new file mode 100644 index 0000000..769c32f --- /dev/null +++ b/gnulib/modules/truncf-ieee @@ -0,0 +1,27 @@ +Description: +truncf() function according to ISO C 99 with IEC 60559. + +Files: +m4/truncf-ieee.m4 +m4/minus-zero.m4 +m4/signbit.m4 + +Depends-on: +truncf + +configure.ac: +gl_FUNC_TRUNCF_IEEE + +Makefile.am: + +Include: +<math.h> + +Link: +$(TRUNCF_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/truncf-ieee-tests b/gnulib/modules/truncf-ieee-tests new file mode 100644 index 0000000..0605d65 --- /dev/null +++ b/gnulib/modules/truncf-ieee-tests @@ -0,0 +1,15 @@ +Files: +tests/test-truncf-ieee.c +tests/minus-zero.h +tests/macros.h + +Depends-on: +float +signbit + +configure.ac: + +Makefile.am: +TESTS += test-truncf-ieee +check_PROGRAMS += test-truncf-ieee +test_truncf_ieee_LDADD = $(LDADD) @TRUNCF_LIBM@ diff --git a/gnulib/modules/truncf-tests b/gnulib/modules/truncf-tests new file mode 100644 index 0000000..1c847e7 --- /dev/null +++ b/gnulib/modules/truncf-tests @@ -0,0 +1,22 @@ +Files: +tests/test-truncf1.c +tests/test-truncf2.c +tests/minus-zero.h +tests/infinity.h +tests/nan.h +tests/signature.h +tests/macros.h + +Depends-on: +float +isnanf-nolibm +stdbool +stdint + +configure.ac: + +Makefile.am: +TESTS += test-truncf1 test-truncf2 +check_PROGRAMS += test-truncf1 test-truncf2 +test_truncf1_LDADD = $(LDADD) @TRUNCF_LIBM@ +test_truncf2_LDADD = $(LDADD) @TRUNCF_LIBM@ diff --git a/gnulib/modules/truncl b/gnulib/modules/truncl new file mode 100644 index 0000000..f02d61e --- /dev/null +++ b/gnulib/modules/truncl @@ -0,0 +1,35 @@ +Description: +truncl() function: round towards zero. + +Files: +lib/truncl.c +lib/trunc.c +m4/truncl.m4 + +Depends-on: +math +extensions +trunc [{ test $HAVE_DECL_TRUNCL = 0 || test $REPLACE_TRUNCL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1] +float [{ test $HAVE_DECL_TRUNCL = 0 || test $REPLACE_TRUNCL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] + +configure.ac: +gl_FUNC_TRUNCL +if test $HAVE_DECL_TRUNCL = 0 || test $REPLACE_TRUNCL = 1; then + AC_LIBOBJ([truncl]) +fi +gl_MATH_MODULE_INDICATOR([truncl]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(TRUNCL_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/truncl-ieee b/gnulib/modules/truncl-ieee new file mode 100644 index 0000000..0dc1f7b --- /dev/null +++ b/gnulib/modules/truncl-ieee @@ -0,0 +1,27 @@ +Description: +truncl() function according to ISO C 99 with IEC 60559. + +Files: +m4/truncl-ieee.m4 +m4/minus-zero.m4 +m4/signbit.m4 + +Depends-on: +truncl + +configure.ac: +gl_FUNC_TRUNCL_IEEE + +Makefile.am: + +Include: +<math.h> + +Link: +$(TRUNCL_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/truncl-ieee-tests b/gnulib/modules/truncl-ieee-tests new file mode 100644 index 0000000..a2fed3f --- /dev/null +++ b/gnulib/modules/truncl-ieee-tests @@ -0,0 +1,16 @@ +Files: +tests/test-truncl-ieee.c +tests/minus-zero.h +tests/macros.h + +Depends-on: +fpucw +float +signbit + +configure.ac: + +Makefile.am: +TESTS += test-truncl-ieee +check_PROGRAMS += test-truncl-ieee +test_truncl_ieee_LDADD = $(LDADD) @TRUNCL_LIBM@ diff --git a/gnulib/modules/truncl-tests b/gnulib/modules/truncl-tests new file mode 100644 index 0000000..f6b7dd3 --- /dev/null +++ b/gnulib/modules/truncl-tests @@ -0,0 +1,19 @@ +Files: +tests/test-truncl.c +tests/minus-zero.h +tests/infinity.h +tests/nan.h +tests/signature.h +tests/macros.h + +Depends-on: +fpucw +isnanl-nolibm +float + +configure.ac: + +Makefile.am: +TESTS += test-truncl +check_PROGRAMS += test-truncl +test_truncl_LDADD = $(LDADD) @TRUNCL_LIBM@ diff --git a/gnulib/modules/tsearch b/gnulib/modules/tsearch new file mode 100644 index 0000000..ffb952b --- /dev/null +++ b/gnulib/modules/tsearch @@ -0,0 +1,29 @@ +Description: +Binary tree data structure. + +Files: +lib/tsearch.c +m4/tsearch.m4 + +Depends-on: +search + +configure.ac: +gl_FUNC_TSEARCH +if test $HAVE_TSEARCH = 0 || test $REPLACE_TSEARCH = 1; then + AC_LIBOBJ([tsearch]) + gl_PREREQ_TSEARCH +fi +gl_SEARCH_MODULE_INDICATOR([tsearch]) + +Makefile.am: + +Include: +<search.h> + +License: +LGPL + +Maintainer: +all, glibc + diff --git a/gnulib/modules/tsearch-tests b/gnulib/modules/tsearch-tests new file mode 100644 index 0000000..ca32649 --- /dev/null +++ b/gnulib/modules/tsearch-tests @@ -0,0 +1,27 @@ +Files: +tests/test-tsearch.sh +tests/test-tsearch.c +tests/signature.h + +Depends-on: +stdint + +configure.ac: +TEST_TSEARCH_LIBM= +AC_LINK_IFELSE( + [AC_LANG_PROGRAM( + [[#ifndef __NO_MATH_INLINES + # define __NO_MATH_INLINES 1 /* for glibc */ + #endif + #include <math.h> + double x;]], + [[x = log (x);]])], + [], + [TEST_TSEARCH_LIBM=-lm]) +AC_SUBST([TEST_TSEARCH_LIBM]) +AC_CHECK_FUNCS_ONCE([initstate]) + +Makefile.am: +TESTS += test-tsearch.sh +check_PROGRAMS += test-tsearch +test_tsearch_LDADD = $(LDADD) @TEST_TSEARCH_LIBM@ diff --git a/gnulib/modules/ttyname_r b/gnulib/modules/ttyname_r new file mode 100644 index 0000000..62ca572 --- /dev/null +++ b/gnulib/modules/ttyname_r @@ -0,0 +1,29 @@ +Description: +ttyname_r() function: Determine name of a terminal. + +Files: +lib/ttyname_r.c +m4/ttyname_r.m4 + +Depends-on: +unistd +extensions + +configure.ac: +gl_FUNC_TTYNAME_R +if test $HAVE_TTYNAME_R = 0 || test $REPLACE_TTYNAME_R = 1; then + AC_LIBOBJ([ttyname_r]) + gl_PREREQ_TTYNAME_R +fi +gl_UNISTD_MODULE_INDICATOR([ttyname_r]) + +Makefile.am: + +Include: +<unistd.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/ttyname_r-tests b/gnulib/modules/ttyname_r-tests new file mode 100644 index 0000000..26f2097 --- /dev/null +++ b/gnulib/modules/ttyname_r-tests @@ -0,0 +1,12 @@ +Files: +tests/test-ttyname_r.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-ttyname_r +check_PROGRAMS += test-ttyname_r diff --git a/gnulib/modules/tzset b/gnulib/modules/tzset new file mode 100644 index 0000000..8fa9ee6 --- /dev/null +++ b/gnulib/modules/tzset @@ -0,0 +1,23 @@ +Description: +tzset - initialize time conversion information + +Files: +m4/tzset.m4 + +Depends-on: +gettimeofday + +configure.ac: +gl_FUNC_TZSET + +Makefile.am: + +Include: +<time.h> + +License: +LGPL + +Maintainer: +Jim Meyering + diff --git a/gnulib/modules/u64 b/gnulib/modules/u64 new file mode 100644 index 0000000..23138d0 --- /dev/null +++ b/gnulib/modules/u64 @@ -0,0 +1,22 @@ +Description: +uint64_t-like operations that work even on hosts lacking uint64_t + +Files: +lib/u64.h + +Depends-on: +stdint + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) + +Makefile.am: + +Include: +"u64.h" + +License: +LGPLv2+ + +Maintainer: +Paul Eggert diff --git a/gnulib/modules/u64-tests b/gnulib/modules/u64-tests new file mode 100644 index 0000000..4b53abb --- /dev/null +++ b/gnulib/modules/u64-tests @@ -0,0 +1,6 @@ +Files: +tests/test-u64.c + +Makefile.am: +TESTS += test-u64 +check_PROGRAMS += test-u64 diff --git a/gnulib/modules/ucs4-utf16 b/gnulib/modules/ucs4-utf16 new file mode 100644 index 0000000..0aee82d --- /dev/null +++ b/gnulib/modules/ucs4-utf16 @@ -0,0 +1,21 @@ +Description: +Conversion UCS-4 to UTF-16. + +Files: + +Depends-on: +unistr/u16-uctomb + +configure.ac: + +Makefile.am: + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/ucs4-utf8 b/gnulib/modules/ucs4-utf8 new file mode 100644 index 0000000..102d046 --- /dev/null +++ b/gnulib/modules/ucs4-utf8 @@ -0,0 +1,21 @@ +Description: +Conversion UCS-4 to UTF-8. + +Files: + +Depends-on: +unistr/u8-uctomb + +configure.ac: + +Makefile.am: + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uname b/gnulib/modules/uname new file mode 100644 index 0000000..70271e4 --- /dev/null +++ b/gnulib/modules/uname @@ -0,0 +1,32 @@ +Description: +uname() function: enquire system information. + +Files: +lib/uname.c +m4/uname.m4 + +Depends-on: +sys_utsname +gethostname [test $HAVE_UNAME = 0] + +configure.ac: +gl_FUNC_UNAME +if test $HAVE_UNAME = 0; then + AC_LIBOBJ([uname]) + gl_PREREQ_UNAME +fi +gl_SYS_UTSNAME_MODULE_INDICATOR([uname]) + +Makefile.am: + +Include: +<sys/utsname.h> + +Link: +$(GETHOSTNAME_LIB) + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/uname-tests b/gnulib/modules/uname-tests new file mode 100644 index 0000000..daee490 --- /dev/null +++ b/gnulib/modules/uname-tests @@ -0,0 +1,13 @@ +Files: +tests/test-uname.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-uname +check_PROGRAMS += test-uname +test_uname_LDADD = $(LDADD) @GETHOSTNAME_LIB@ diff --git a/gnulib/modules/unicase/base b/gnulib/modules/unicase/base new file mode 100644 index 0000000..f5e22cb --- /dev/null +++ b/gnulib/modules/unicase/base @@ -0,0 +1,35 @@ +Description: +Base layer for Unicode character case mappings. + +Files: +lib/unicase.in.h +m4/libunistring-base.m4 + +Depends-on: +unitypes +uninorm/base +stdbool + +configure.ac: +gl_LIBUNISTRING_LIBHEADER([0.9.1], [unicase.h]) + +Makefile.am: +BUILT_SOURCES += $(LIBUNISTRING_UNICASE_H) + +unicase.h: unicase.in.h + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + cat $(srcdir)/unicase.in.h; \ + } > $@-t && \ + mv -f $@-t $@ +MOSTLYCLEANFILES += unicase.h unicase.h-t + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/cased b/gnulib/modules/unicase/cased new file mode 100644 index 0000000..bce2fdc --- /dev/null +++ b/gnulib/modules/unicase/cased @@ -0,0 +1,28 @@ +Description: +Test whether a Unicode character is "cased". + +Files: +lib/unicase/caseprop.h +lib/unicase/cased.c +lib/unicase/cased.h +lib/unictype/bitmap.h + +Depends-on: +unitypes +stdbool + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) + +Makefile.am: +lib_SOURCES += unicase/cased.c + +Include: +"unicase/caseprop.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/cased-tests b/gnulib/modules/unicase/cased-tests new file mode 100644 index 0000000..bd96027 --- /dev/null +++ b/gnulib/modules/unicase/cased-tests @@ -0,0 +1,15 @@ +Files: +tests/unicase/test-cased.c +tests/unicase/test-predicate-part1.h +tests/unicase/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-cased +check_PROGRAMS += test-cased +test_cased_SOURCES = unicase/test-cased.c +test_cased_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unicase/empty-prefix-context b/gnulib/modules/unicase/empty-prefix-context new file mode 100644 index 0000000..8d793ab --- /dev/null +++ b/gnulib/modules/unicase/empty-prefix-context @@ -0,0 +1,26 @@ +Description: +Case-mapping context of empty prefix string. + +Files: +lib/unicase/empty-prefix-context.c + +Depends-on: +unicase/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.1], [unicase/empty-prefix-context]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_EMPTY_PREFIX_CONTEXT +lib_SOURCES += unicase/empty-prefix-context.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/empty-suffix-context b/gnulib/modules/unicase/empty-suffix-context new file mode 100644 index 0000000..161ef07 --- /dev/null +++ b/gnulib/modules/unicase/empty-suffix-context @@ -0,0 +1,26 @@ +Description: +Case-mapping context of empty suffix string. + +Files: +lib/unicase/empty-suffix-context.c + +Depends-on: +unicase/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.1], [unicase/empty-suffix-context]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_EMPTY_SUFFIX_CONTEXT +lib_SOURCES += unicase/empty-suffix-context.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/ignorable b/gnulib/modules/unicase/ignorable new file mode 100644 index 0000000..20b16e5 --- /dev/null +++ b/gnulib/modules/unicase/ignorable @@ -0,0 +1,28 @@ +Description: +Test whether a Unicode character is "case-ignorable". + +Files: +lib/unicase/caseprop.h +lib/unicase/ignorable.c +lib/unicase/ignorable.h +lib/unictype/bitmap.h + +Depends-on: +unitypes +stdbool + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) + +Makefile.am: +lib_SOURCES += unicase/ignorable.c + +Include: +"unicase/caseprop.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/ignorable-tests b/gnulib/modules/unicase/ignorable-tests new file mode 100644 index 0000000..27270bf --- /dev/null +++ b/gnulib/modules/unicase/ignorable-tests @@ -0,0 +1,15 @@ +Files: +tests/unicase/test-ignorable.c +tests/unicase/test-predicate-part1.h +tests/unicase/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-ignorable +check_PROGRAMS += test-ignorable +test_ignorable_SOURCES = unicase/test-ignorable.c +test_ignorable_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unicase/locale-language b/gnulib/modules/unicase/locale-language new file mode 100644 index 0000000..8b05a97 --- /dev/null +++ b/gnulib/modules/unicase/locale-language @@ -0,0 +1,37 @@ +Description: +Language code of current locale. + +Files: +lib/unicase/locale-language.c +lib/unicase/locale-languages.gperf + +Depends-on: +unicase/base +localename +gperf + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.3], [unicase/locale-language]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_LOCALE_LANGUAGE +lib_SOURCES += unicase/locale-language.c +endif + +unicase/locale-languages.h: $(srcdir)/unicase/locale-languages.gperf + $(GPERF) -m 10 $(srcdir)/unicase/locale-languages.gperf > $(srcdir)/unicase/locale-languages.h-t + mv $(srcdir)/unicase/locale-languages.h-t $(srcdir)/unicase/locale-languages.h +BUILT_SOURCES += unicase/locale-languages.h +MOSTLYCLEANFILES += unicase/locale-languages.h-t +MAINTAINERCLEANFILES += unicase/locale-languages.h +EXTRA_DIST += unicase/locale-languages.h + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/locale-language-tests b/gnulib/modules/unicase/locale-language-tests new file mode 100644 index 0000000..87f3eaf --- /dev/null +++ b/gnulib/modules/unicase/locale-language-tests @@ -0,0 +1,26 @@ +Files: +tests/unicase/test-locale-language.sh +tests/unicase/test-locale-language.c +tests/macros.h +m4/locale-fr.m4 +m4/locale-ja.m4 +m4/locale-tr.m4 +m4/locale-zh.m4 +m4/codeset.m4 + +Depends-on: +setlocale + +configure.ac: +gt_LOCALE_FR +gt_LOCALE_FR_UTF8 +gt_LOCALE_JA +gt_LOCALE_TR_UTF8 +gt_LOCALE_ZH_CN + +Makefile.am: +TESTS += unicase/test-locale-language.sh +TESTS_ENVIRONMENT += LOCALE_FR='@LOCALE_FR@' LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' LOCALE_JA='@LOCALE_JA@' LOCALE_TR_UTF8='@LOCALE_TR_UTF8@' LOCALE_ZH_CN='@LOCALE_ZH_CN@' +check_PROGRAMS += test-locale-language +test_locale_language_SOURCES = unicase/test-locale-language.c +test_locale_language_LDADD = $(LDADD) $(LIBUNISTRING) @INTL_MACOSX_LIBS@ diff --git a/gnulib/modules/unicase/special-casing b/gnulib/modules/unicase/special-casing new file mode 100644 index 0000000..53e65df --- /dev/null +++ b/gnulib/modules/unicase/special-casing @@ -0,0 +1,33 @@ +Description: +Special casing table. + +Files: +lib/unicase/special-casing.h +lib/unicase/special-casing.c +lib/unicase/special-casing-table.gperf + +Depends-on: +gperf + +configure.ac: + +Makefile.am: +lib_SOURCES += unicase/special-casing.c + +unicase/special-casing-table.h: $(srcdir)/unicase/special-casing-table.gperf + $(GPERF) -m 10 $(srcdir)/unicase/special-casing-table.gperf > $(srcdir)/unicase/special-casing-table.h-t + mv $(srcdir)/unicase/special-casing-table.h-t $(srcdir)/unicase/special-casing-table.h +BUILT_SOURCES += unicase/special-casing-table.h +MOSTLYCLEANFILES += unicase/special-casing-table.h-t +MAINTAINERCLEANFILES += unicase/special-casing-table.h +EXTRA_DIST += unicase/special-casing-table.h + +Include: +"unicase/special-casing.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/tocasefold b/gnulib/modules/unicase/tocasefold new file mode 100644 index 0000000..771bb66 --- /dev/null +++ b/gnulib/modules/unicase/tocasefold @@ -0,0 +1,26 @@ +Description: +Casefolding mapping for Unicode characters (locale and context independent). + +Files: +lib/unicase/casefold.h +lib/unicase/tocasefold.c +lib/unicase/tocasefold.h +lib/unicase/simple-mapping.h + +Depends-on: +unicase/base + +configure.ac: + +Makefile.am: +lib_SOURCES += unicase/tocasefold.c + +Include: +"unicase/casefold.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/tolower b/gnulib/modules/unicase/tolower new file mode 100644 index 0000000..870a8a0 --- /dev/null +++ b/gnulib/modules/unicase/tolower @@ -0,0 +1,28 @@ +Description: +Lowercase mapping for Unicode characters (locale and context independent). + +Files: +lib/unicase/tolower.c +lib/unicase/tolower.h +lib/unicase/simple-mapping.h + +Depends-on: +unicase/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/tolower]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_TOLOWER +lib_SOURCES += unicase/tolower.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/tolower-tests b/gnulib/modules/unicase/tolower-tests new file mode 100644 index 0000000..290a5e9 --- /dev/null +++ b/gnulib/modules/unicase/tolower-tests @@ -0,0 +1,15 @@ +Files: +tests/unicase/test-uc_tolower.c +tests/unicase/test-mapping-part1.h +tests/unicase/test-mapping-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-uc_tolower +check_PROGRAMS += test-uc_tolower +test_uc_tolower_SOURCES = unicase/test-uc_tolower.c +test_uc_tolower_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unicase/totitle b/gnulib/modules/unicase/totitle new file mode 100644 index 0000000..fec625e --- /dev/null +++ b/gnulib/modules/unicase/totitle @@ -0,0 +1,28 @@ +Description: +Titlecase mapping for Unicode characters (locale and context independent). + +Files: +lib/unicase/totitle.c +lib/unicase/totitle.h +lib/unicase/simple-mapping.h + +Depends-on: +unicase/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/totitle]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_TOTITLE +lib_SOURCES += unicase/totitle.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/totitle-tests b/gnulib/modules/unicase/totitle-tests new file mode 100644 index 0000000..54bf726 --- /dev/null +++ b/gnulib/modules/unicase/totitle-tests @@ -0,0 +1,15 @@ +Files: +tests/unicase/test-uc_totitle.c +tests/unicase/test-mapping-part1.h +tests/unicase/test-mapping-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-uc_totitle +check_PROGRAMS += test-uc_totitle +test_uc_totitle_SOURCES = unicase/test-uc_totitle.c +test_uc_totitle_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unicase/toupper b/gnulib/modules/unicase/toupper new file mode 100644 index 0000000..128db78 --- /dev/null +++ b/gnulib/modules/unicase/toupper @@ -0,0 +1,28 @@ +Description: +Uppercase mapping for Unicode characters (locale and context independent). + +Files: +lib/unicase/toupper.c +lib/unicase/toupper.h +lib/unicase/simple-mapping.h + +Depends-on: +unicase/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/toupper]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_TOUPPER +lib_SOURCES += unicase/toupper.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/toupper-tests b/gnulib/modules/unicase/toupper-tests new file mode 100644 index 0000000..50fd685 --- /dev/null +++ b/gnulib/modules/unicase/toupper-tests @@ -0,0 +1,15 @@ +Files: +tests/unicase/test-uc_toupper.c +tests/unicase/test-mapping-part1.h +tests/unicase/test-mapping-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-uc_toupper +check_PROGRAMS += test-uc_toupper +test_uc_toupper_SOURCES = unicase/test-uc_toupper.c +test_uc_toupper_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unicase/u16-casecmp b/gnulib/modules/unicase/u16-casecmp new file mode 100644 index 0000000..b855a76 --- /dev/null +++ b/gnulib/modules/unicase/u16-casecmp @@ -0,0 +1,31 @@ +Description: +Case and normalization insensitive comparison of UTF-16 strings. + +Files: +lib/unicase/u16-casecmp.c +lib/unicase/u-casecmp.h + +Depends-on: +unicase/base +unicase/u16-casefold +uninorm/decomposing-form +unistr/u16-cmp2 +minmax + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u16-casecmp]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U16_CASECMP +lib_SOURCES += unicase/u16-casecmp.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u16-casecmp-tests b/gnulib/modules/unicase/u16-casecmp-tests new file mode 100644 index 0000000..9983ea5 --- /dev/null +++ b/gnulib/modules/unicase/u16-casecmp-tests @@ -0,0 +1,15 @@ +Files: +tests/unicase/test-u16-casecmp.c +tests/unicase/test-casecmp.h +tests/macros.h + +Depends-on: +uninorm/nfd + +configure.ac: + +Makefile.am: +TESTS += test-u16-casecmp +check_PROGRAMS += test-u16-casecmp +test_u16_casecmp_SOURCES = unicase/test-u16-casecmp.c +test_u16_casecmp_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unicase/u16-casecoll b/gnulib/modules/unicase/u16-casecoll new file mode 100644 index 0000000..f1811f4 --- /dev/null +++ b/gnulib/modules/unicase/u16-casecoll @@ -0,0 +1,30 @@ +Description: +Locale dependent, case and normalization insensitive comparison of UTF-16 +strings. + +Files: +lib/unicase/u16-casecoll.c +lib/unicase/u-casecoll.h + +Depends-on: +unicase/base +unicase/u16-casexfrm +memcmp2 + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u16-casecoll]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U16_CASECOLL +lib_SOURCES += unicase/u16-casecoll.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u16-casecoll-tests b/gnulib/modules/unicase/u16-casecoll-tests new file mode 100644 index 0000000..7dcf911 --- /dev/null +++ b/gnulib/modules/unicase/u16-casecoll-tests @@ -0,0 +1,16 @@ +Files: +tests/unicase/test-u16-casecoll.c +tests/unicase/test-casecmp.h +tests/macros.h + +Depends-on: +uninorm/nfc + +configure.ac: + +Makefile.am: +TESTS += test-u16-casecoll +check_PROGRAMS += test-u16-casecoll +test_u16_casecoll_SOURCES = unicase/test-u16-casecoll.c +test_u16_casecoll_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ + diff --git a/gnulib/modules/unicase/u16-casefold b/gnulib/modules/unicase/u16-casefold new file mode 100644 index 0000000..10733a2 --- /dev/null +++ b/gnulib/modules/unicase/u16-casefold @@ -0,0 +1,30 @@ +Description: +Casefolding mapping for UTF-16 strings (locale dependent). + +Files: +lib/unicase/u16-casefold.c +lib/unicase/u-casefold.h + +Depends-on: +unicase/base +unicase/u16-ct-casefold +unicase/empty-prefix-context +unicase/empty-suffix-context + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u16-casefold]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U16_CASEFOLD +lib_SOURCES += unicase/u16-casefold.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u16-casefold-tests b/gnulib/modules/unicase/u16-casefold-tests new file mode 100644 index 0000000..d77f9e5 --- /dev/null +++ b/gnulib/modules/unicase/u16-casefold-tests @@ -0,0 +1,16 @@ +Files: +tests/unicase/test-u16-casefold.c +tests/macros.h + +Depends-on: +unistr/u16-cmp +uninorm/nfc +uninorm/nfd + +configure.ac: + +Makefile.am: +TESTS += test-u16-casefold +check_PROGRAMS += test-u16-casefold +test_u16_casefold_SOURCES = unicase/test-u16-casefold.c +test_u16_casefold_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unicase/u16-casemap b/gnulib/modules/unicase/u16-casemap new file mode 100644 index 0000000..cb2e6c4 --- /dev/null +++ b/gnulib/modules/unicase/u16-casemap @@ -0,0 +1,36 @@ +Description: +Case mapping for UTF-16 strings (locale dependent). + +Files: +lib/unicase/unicasemap.h +lib/unicase/u16-casemap.c +lib/unicase/u-casemap.h +lib/unicase/context.h + +Depends-on: +unicase/base +unicase/cased +unicase/ignorable +unicase/special-casing +unictype/combining-class +unictype/property-soft-dotted +unistr/u16-mbtouc-unsafe +unistr/u16-uctomb +unistr/u16-cpy +uninorm/u16-normalize +stdbool + +configure.ac: + +Makefile.am: +lib_SOURCES += unicase/u16-casemap.c + +Include: +"unicase/unicasemap.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u16-casexfrm b/gnulib/modules/unicase/u16-casexfrm new file mode 100644 index 0000000..57c0548 --- /dev/null +++ b/gnulib/modules/unicase/u16-casexfrm @@ -0,0 +1,32 @@ +Description: +Locale dependent transformation for case insensitive comparison of UTF-16 +strings. + +Files: +lib/unicase/u16-casexfrm.c +lib/unicase/u-casexfrm.h + +Depends-on: +unicase/base +unicase/u16-casefold +uniconv/u16-conv-to-enc +localcharset +amemxfrm + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u16-casexfrm]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U16_CASEXFRM +lib_SOURCES += unicase/u16-casexfrm.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u16-ct-casefold b/gnulib/modules/unicase/u16-ct-casefold new file mode 100644 index 0000000..3305a7d --- /dev/null +++ b/gnulib/modules/unicase/u16-ct-casefold @@ -0,0 +1,33 @@ +Description: +Casefolding mapping for UTF-16 substrings (locale dependent). + +Files: +lib/unicase/u16-ct-casefold.c +lib/unicase/u-ct-casefold.h + +Depends-on: +unicase/base +unicase/u16-casemap +unicase/special-casing +unicase/tocasefold +uninorm/decomposing-form +uninorm/u16-normalize +uninorm/nfd + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u16-ct-casefold]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U16_CT_CASEFOLD +lib_SOURCES += unicase/u16-ct-casefold.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u16-ct-tolower b/gnulib/modules/unicase/u16-ct-tolower new file mode 100644 index 0000000..898cd9d --- /dev/null +++ b/gnulib/modules/unicase/u16-ct-tolower @@ -0,0 +1,29 @@ +Description: +Lowercase mapping for UTF-16 substrings (locale dependent). + +Files: +lib/unicase/u16-ct-tolower.c + +Depends-on: +unicase/base +unicase/u8-casemap +unicase/special-casing +unicase/toupper + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u16-ct-tolower]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U16_CT_TOLOWER +lib_SOURCES += unicase/u16-ct-tolower.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u16-ct-totitle b/gnulib/modules/unicase/u16-ct-totitle new file mode 100644 index 0000000..ecbb459 --- /dev/null +++ b/gnulib/modules/unicase/u16-ct-totitle @@ -0,0 +1,41 @@ +Description: +Titlecase mapping for UTF-16 substrings (locale dependent). + +Files: +lib/unicase/u16-ct-totitle.c +lib/unicase/u-ct-totitle.h +lib/unicase/context.h + +Depends-on: +unicase/base +unicase/cased +unicase/ignorable +unicase/special-casing +unicase/totitle +unicase/tolower +uniwbrk/u16-wordbreaks +unictype/combining-class +unictype/property-soft-dotted +unistr/u16-mbtouc-unsafe +unistr/u16-uctomb +unistr/u16-cpy +uninorm/u16-normalize +stdbool + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u16-ct-totitle]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U16_CT_TOTITLE +lib_SOURCES += unicase/u16-ct-totitle.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u16-ct-toupper b/gnulib/modules/unicase/u16-ct-toupper new file mode 100644 index 0000000..2574a0c --- /dev/null +++ b/gnulib/modules/unicase/u16-ct-toupper @@ -0,0 +1,29 @@ +Description: +Uppercase mapping for UTF-16 substrings (locale dependent). + +Files: +lib/unicase/u16-ct-toupper.c + +Depends-on: +unicase/base +unicase/u8-casemap +unicase/special-casing +unicase/toupper + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u16-ct-toupper]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U16_CT_TOUPPER +lib_SOURCES += unicase/u16-ct-toupper.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u16-is-cased b/gnulib/modules/unicase/u16-is-cased new file mode 100644 index 0000000..4d769cc --- /dev/null +++ b/gnulib/modules/unicase/u16-is-cased @@ -0,0 +1,33 @@ +Description: +Test whether case matters for an UTF-16 string. + +Files: +lib/unicase/u16-is-cased.c +lib/unicase/u-is-cased.h + +Depends-on: +unicase/base +unicase/u16-toupper +unicase/u16-tolower +unicase/u16-totitle +uninorm/u16-normalize +uninorm/nfd +unistr/u16-cmp + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u16-is-cased]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U16_IS_CASED +lib_SOURCES += unicase/u16-is-cased.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u16-is-cased-tests b/gnulib/modules/unicase/u16-is-cased-tests new file mode 100644 index 0000000..f08cf3a --- /dev/null +++ b/gnulib/modules/unicase/u16-is-cased-tests @@ -0,0 +1,14 @@ +Files: +tests/unicase/test-u16-is-cased.c +tests/unicase/test-is-cased.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u16-is-cased +check_PROGRAMS += test-u16-is-cased +test_u16_is_cased_SOURCES = unicase/test-u16-is-cased.c +test_u16_is_cased_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unicase/u16-is-casefolded b/gnulib/modules/unicase/u16-is-casefolded new file mode 100644 index 0000000..7cc52b1 --- /dev/null +++ b/gnulib/modules/unicase/u16-is-casefolded @@ -0,0 +1,28 @@ +Description: +Test whether an UTF-16 string is already case-folded. + +Files: +lib/unicase/u16-is-casefolded.c + +Depends-on: +unicase/base +unicase/u16-is-invariant +unicase/u16-casefold + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u16-is-casefolded]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U16_IS_CASEFOLDED +lib_SOURCES += unicase/u16-is-casefolded.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u16-is-casefolded-tests b/gnulib/modules/unicase/u16-is-casefolded-tests new file mode 100644 index 0000000..7432c77 --- /dev/null +++ b/gnulib/modules/unicase/u16-is-casefolded-tests @@ -0,0 +1,14 @@ +Files: +tests/unicase/test-u16-is-casefolded.c +tests/unicase/test-is-casefolded.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u16-is-casefolded +check_PROGRAMS += test-u16-is-casefolded +test_u16_is_casefolded_SOURCES = unicase/test-u16-is-casefolded.c +test_u16_is_casefolded_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unicase/u16-is-invariant b/gnulib/modules/unicase/u16-is-invariant new file mode 100644 index 0000000..72ac0da --- /dev/null +++ b/gnulib/modules/unicase/u16-is-invariant @@ -0,0 +1,30 @@ +Description: +Test whether an UTF-16 string is invariant under a given case mapping. + +Files: +lib/unicase/u16-is-invariant.c +lib/unicase/invariant.h +lib/unicase/u-is-invariant.h + +Depends-on: +unitypes +uninorm/base +uninorm/u16-normalize +uninorm/nfd +unistr/u16-cmp +stdbool + +configure.ac: + +Makefile.am: +lib_SOURCES += unicase/u16-is-invariant.c + +Include: +"unicase/invariant.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u16-is-lowercase b/gnulib/modules/unicase/u16-is-lowercase new file mode 100644 index 0000000..51b510b --- /dev/null +++ b/gnulib/modules/unicase/u16-is-lowercase @@ -0,0 +1,28 @@ +Description: +Test whether an UTF-16 string is entirely lower case. + +Files: +lib/unicase/u16-is-lowercase.c + +Depends-on: +unicase/base +unicase/u16-is-invariant +unicase/u16-tolower + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u16-is-lowercase]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U16_IS_LOWERCASE +lib_SOURCES += unicase/u16-is-lowercase.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u16-is-lowercase-tests b/gnulib/modules/unicase/u16-is-lowercase-tests new file mode 100644 index 0000000..46d92e7 --- /dev/null +++ b/gnulib/modules/unicase/u16-is-lowercase-tests @@ -0,0 +1,14 @@ +Files: +tests/unicase/test-u16-is-lowercase.c +tests/unicase/test-is-lowercase.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u16-is-lowercase +check_PROGRAMS += test-u16-is-lowercase +test_u16_is_lowercase_SOURCES = unicase/test-u16-is-lowercase.c +test_u16_is_lowercase_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unicase/u16-is-titlecase b/gnulib/modules/unicase/u16-is-titlecase new file mode 100644 index 0000000..34ff8ce --- /dev/null +++ b/gnulib/modules/unicase/u16-is-titlecase @@ -0,0 +1,28 @@ +Description: +Test whether an UTF-16 string is entirely title case. + +Files: +lib/unicase/u16-is-titlecase.c + +Depends-on: +unicase/base +unicase/u16-is-invariant +unicase/u16-totitle + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u16-is-titlecase]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U16_IS_TITLECASE +lib_SOURCES += unicase/u16-is-titlecase.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u16-is-titlecase-tests b/gnulib/modules/unicase/u16-is-titlecase-tests new file mode 100644 index 0000000..a335c66 --- /dev/null +++ b/gnulib/modules/unicase/u16-is-titlecase-tests @@ -0,0 +1,14 @@ +Files: +tests/unicase/test-u16-is-titlecase.c +tests/unicase/test-is-titlecase.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u16-is-titlecase +check_PROGRAMS += test-u16-is-titlecase +test_u16_is_titlecase_SOURCES = unicase/test-u16-is-titlecase.c +test_u16_is_titlecase_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unicase/u16-is-uppercase b/gnulib/modules/unicase/u16-is-uppercase new file mode 100644 index 0000000..adb65b6 --- /dev/null +++ b/gnulib/modules/unicase/u16-is-uppercase @@ -0,0 +1,28 @@ +Description: +Test whether an UTF-16 string is entirely upper case. + +Files: +lib/unicase/u16-is-uppercase.c + +Depends-on: +unicase/base +unicase/u16-is-invariant +unicase/u16-toupper + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u16-is-uppercase]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U16_IS_UPPERCASE +lib_SOURCES += unicase/u16-is-uppercase.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u16-is-uppercase-tests b/gnulib/modules/unicase/u16-is-uppercase-tests new file mode 100644 index 0000000..f5d7287 --- /dev/null +++ b/gnulib/modules/unicase/u16-is-uppercase-tests @@ -0,0 +1,14 @@ +Files: +tests/unicase/test-u16-is-uppercase.c +tests/unicase/test-is-uppercase.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u16-is-uppercase +check_PROGRAMS += test-u16-is-uppercase +test_u16_is_uppercase_SOURCES = unicase/test-u16-is-uppercase.c +test_u16_is_uppercase_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unicase/u16-prefix-context b/gnulib/modules/unicase/u16-prefix-context new file mode 100644 index 0000000..4f712ef --- /dev/null +++ b/gnulib/modules/unicase/u16-prefix-context @@ -0,0 +1,33 @@ +Description: +Case-mapping context of prefix UTF-16 string. + +Files: +lib/unicase/u16-prefix-context.c +lib/unicase/u-prefix-context.h +lib/unicase/context.h + +Depends-on: +unicase/base +unicase/empty-prefix-context +unicase/ignorable +unictype/combining-class +unistr/u16-mbtouc-unsafe +unistr/u16-prev + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u16-prefix-context]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U16_PREFIX_CONTEXT +lib_SOURCES += unicase/u16-prefix-context.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u16-suffix-context b/gnulib/modules/unicase/u16-suffix-context new file mode 100644 index 0000000..b9ea50a --- /dev/null +++ b/gnulib/modules/unicase/u16-suffix-context @@ -0,0 +1,32 @@ +Description: +Case-mapping context of suffix UTF-16 string. + +Files: +lib/unicase/u16-suffix-context.c +lib/unicase/u-suffix-context.h +lib/unicase/context.h + +Depends-on: +unicase/base +unicase/empty-prefix-context +unicase/ignorable +unictype/combining-class +unistr/u16-mbtouc-unsafe + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u16-suffix-context]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U16_SUFFIX_CONTEXT +lib_SOURCES += unicase/u16-suffix-context.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u16-tolower b/gnulib/modules/unicase/u16-tolower new file mode 100644 index 0000000..59ea5f1 --- /dev/null +++ b/gnulib/modules/unicase/u16-tolower @@ -0,0 +1,31 @@ +Description: +Lowercase mapping for UTF-16 strings (locale dependent). + +Files: +lib/unicase/u16-tolower.c + +Depends-on: +unicase/base +unicase/u16-casemap +unicase/special-casing +unicase/empty-prefix-context +unicase/empty-suffix-context +unicase/tolower + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u16-tolower]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U16_TOLOWER +lib_SOURCES += unicase/u16-tolower.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u16-tolower-tests b/gnulib/modules/unicase/u16-tolower-tests new file mode 100644 index 0000000..a74c569 --- /dev/null +++ b/gnulib/modules/unicase/u16-tolower-tests @@ -0,0 +1,15 @@ +Files: +tests/unicase/test-u16-tolower.c +tests/macros.h + +Depends-on: +unistr/u16-cmp +uninorm/nfc + +configure.ac: + +Makefile.am: +TESTS += test-u16-tolower +check_PROGRAMS += test-u16-tolower +test_u16_tolower_SOURCES = unicase/test-u16-tolower.c +test_u16_tolower_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unicase/u16-totitle b/gnulib/modules/unicase/u16-totitle new file mode 100644 index 0000000..f859474 --- /dev/null +++ b/gnulib/modules/unicase/u16-totitle @@ -0,0 +1,30 @@ +Description: +Titlecase mapping for UTF-16 strings (locale dependent). + +Files: +lib/unicase/u16-totitle.c +lib/unicase/u-totitle.h + +Depends-on: +unicase/base +unicase/u16-ct-totitle +unicase/empty-prefix-context +unicase/empty-suffix-context + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u16-totitle]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U16_TOTITLE +lib_SOURCES += unicase/u16-totitle.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u16-totitle-tests b/gnulib/modules/unicase/u16-totitle-tests new file mode 100644 index 0000000..877da69 --- /dev/null +++ b/gnulib/modules/unicase/u16-totitle-tests @@ -0,0 +1,15 @@ +Files: +tests/unicase/test-u16-totitle.c +tests/macros.h + +Depends-on: +unistr/u16-cmp +uninorm/nfc + +configure.ac: + +Makefile.am: +TESTS += test-u16-totitle +check_PROGRAMS += test-u16-totitle +test_u16_totitle_SOURCES = unicase/test-u16-totitle.c +test_u16_totitle_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unicase/u16-toupper b/gnulib/modules/unicase/u16-toupper new file mode 100644 index 0000000..507106c --- /dev/null +++ b/gnulib/modules/unicase/u16-toupper @@ -0,0 +1,31 @@ +Description: +Uppercase mapping for UTF-16 strings (locale dependent). + +Files: +lib/unicase/u16-toupper.c + +Depends-on: +unicase/base +unicase/u16-casemap +unicase/special-casing +unicase/empty-prefix-context +unicase/empty-suffix-context +unicase/toupper + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u16-toupper]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U16_TOUPPER +lib_SOURCES += unicase/u16-toupper.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u16-toupper-tests b/gnulib/modules/unicase/u16-toupper-tests new file mode 100644 index 0000000..dc8ff49 --- /dev/null +++ b/gnulib/modules/unicase/u16-toupper-tests @@ -0,0 +1,15 @@ +Files: +tests/unicase/test-u16-toupper.c +tests/macros.h + +Depends-on: +unistr/u16-cmp +uninorm/nfc + +configure.ac: + +Makefile.am: +TESTS += test-u16-toupper +check_PROGRAMS += test-u16-toupper +test_u16_toupper_SOURCES = unicase/test-u16-toupper.c +test_u16_toupper_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unicase/u32-casecmp b/gnulib/modules/unicase/u32-casecmp new file mode 100644 index 0000000..6387bdc --- /dev/null +++ b/gnulib/modules/unicase/u32-casecmp @@ -0,0 +1,31 @@ +Description: +Case and normalization insensitive comparison of UTF-32 strings. + +Files: +lib/unicase/u32-casecmp.c +lib/unicase/u-casecmp.h + +Depends-on: +unicase/base +unicase/u32-casefold +uninorm/decomposing-form +unistr/u32-cmp2 +minmax + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u32-casecmp]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U32_CASECMP +lib_SOURCES += unicase/u32-casecmp.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u32-casecmp-tests b/gnulib/modules/unicase/u32-casecmp-tests new file mode 100644 index 0000000..80d7072 --- /dev/null +++ b/gnulib/modules/unicase/u32-casecmp-tests @@ -0,0 +1,15 @@ +Files: +tests/unicase/test-u32-casecmp.c +tests/unicase/test-casecmp.h +tests/macros.h + +Depends-on: +uninorm/nfd + +configure.ac: + +Makefile.am: +TESTS += test-u32-casecmp +check_PROGRAMS += test-u32-casecmp +test_u32_casecmp_SOURCES = unicase/test-u32-casecmp.c +test_u32_casecmp_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unicase/u32-casecoll b/gnulib/modules/unicase/u32-casecoll new file mode 100644 index 0000000..67e0755 --- /dev/null +++ b/gnulib/modules/unicase/u32-casecoll @@ -0,0 +1,30 @@ +Description: +Locale dependent, case and normalization insensitive comparison of UTF-32 +strings. + +Files: +lib/unicase/u32-casecoll.c +lib/unicase/u-casecoll.h + +Depends-on: +unicase/base +unicase/u32-casexfrm +memcmp2 + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u32-casecoll]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U32_CASECOLL +lib_SOURCES += unicase/u32-casecoll.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u32-casecoll-tests b/gnulib/modules/unicase/u32-casecoll-tests new file mode 100644 index 0000000..d7a03f7 --- /dev/null +++ b/gnulib/modules/unicase/u32-casecoll-tests @@ -0,0 +1,16 @@ +Files: +tests/unicase/test-u32-casecoll.c +tests/unicase/test-casecmp.h +tests/macros.h + +Depends-on: +uninorm/nfc + +configure.ac: + +Makefile.am: +TESTS += test-u32-casecoll +check_PROGRAMS += test-u32-casecoll +test_u32_casecoll_SOURCES = unicase/test-u32-casecoll.c +test_u32_casecoll_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ + diff --git a/gnulib/modules/unicase/u32-casefold b/gnulib/modules/unicase/u32-casefold new file mode 100644 index 0000000..49e6cfd --- /dev/null +++ b/gnulib/modules/unicase/u32-casefold @@ -0,0 +1,30 @@ +Description: +Casefolding mapping for UTF-32 strings (locale dependent). + +Files: +lib/unicase/u32-casefold.c +lib/unicase/u-casefold.h + +Depends-on: +unicase/base +unicase/u32-ct-casefold +unicase/empty-prefix-context +unicase/empty-suffix-context + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u32-casefold]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U32_CASEFOLD +lib_SOURCES += unicase/u32-casefold.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u32-casefold-tests b/gnulib/modules/unicase/u32-casefold-tests new file mode 100644 index 0000000..c3ebd79 --- /dev/null +++ b/gnulib/modules/unicase/u32-casefold-tests @@ -0,0 +1,16 @@ +Files: +tests/unicase/test-u32-casefold.c +tests/macros.h + +Depends-on: +unistr/u32-cmp +uninorm/nfc +uninorm/nfd + +configure.ac: + +Makefile.am: +TESTS += test-u32-casefold +check_PROGRAMS += test-u32-casefold +test_u32_casefold_SOURCES = unicase/test-u32-casefold.c +test_u32_casefold_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unicase/u32-casemap b/gnulib/modules/unicase/u32-casemap new file mode 100644 index 0000000..4285d1c --- /dev/null +++ b/gnulib/modules/unicase/u32-casemap @@ -0,0 +1,36 @@ +Description: +Case mapping for UTF-32 strings (locale dependent). + +Files: +lib/unicase/unicasemap.h +lib/unicase/u32-casemap.c +lib/unicase/u-casemap.h +lib/unicase/context.h + +Depends-on: +unicase/base +unicase/cased +unicase/ignorable +unicase/special-casing +unictype/combining-class +unictype/property-soft-dotted +unistr/u32-mbtouc-unsafe +unistr/u32-uctomb +unistr/u32-cpy +uninorm/u32-normalize +stdbool + +configure.ac: + +Makefile.am: +lib_SOURCES += unicase/u32-casemap.c + +Include: +"unicase/unicasemap.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u32-casexfrm b/gnulib/modules/unicase/u32-casexfrm new file mode 100644 index 0000000..31dbbf3 --- /dev/null +++ b/gnulib/modules/unicase/u32-casexfrm @@ -0,0 +1,32 @@ +Description: +Locale dependent transformation for case insensitive comparison of UTF-32 +strings. + +Files: +lib/unicase/u32-casexfrm.c +lib/unicase/u-casexfrm.h + +Depends-on: +unicase/base +unicase/u32-casefold +uniconv/u32-conv-to-enc +localcharset +amemxfrm + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u32-casexfrm]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U32_CASEXFRM +lib_SOURCES += unicase/u32-casexfrm.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u32-ct-casefold b/gnulib/modules/unicase/u32-ct-casefold new file mode 100644 index 0000000..0eeee4c --- /dev/null +++ b/gnulib/modules/unicase/u32-ct-casefold @@ -0,0 +1,33 @@ +Description: +Casefolding mapping for UTF-32 substrings (locale dependent). + +Files: +lib/unicase/u32-ct-casefold.c +lib/unicase/u-ct-casefold.h + +Depends-on: +unicase/base +unicase/u32-casemap +unicase/special-casing +unicase/tocasefold +uninorm/decomposing-form +uninorm/u32-normalize +uninorm/nfd + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u32-ct-casefold]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U32_CT_CASEFOLD +lib_SOURCES += unicase/u32-ct-casefold.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u32-ct-tolower b/gnulib/modules/unicase/u32-ct-tolower new file mode 100644 index 0000000..815276b --- /dev/null +++ b/gnulib/modules/unicase/u32-ct-tolower @@ -0,0 +1,29 @@ +Description: +Lowercase mapping for UTF-32 substrings (locale dependent). + +Files: +lib/unicase/u32-ct-tolower.c + +Depends-on: +unicase/base +unicase/u8-casemap +unicase/special-casing +unicase/toupper + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u32-ct-tolower]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U32_CT_TOLOWER +lib_SOURCES += unicase/u32-ct-tolower.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u32-ct-totitle b/gnulib/modules/unicase/u32-ct-totitle new file mode 100644 index 0000000..39ee473 --- /dev/null +++ b/gnulib/modules/unicase/u32-ct-totitle @@ -0,0 +1,41 @@ +Description: +Titlecase mapping for UTF-32 substrings (locale dependent). + +Files: +lib/unicase/u32-ct-totitle.c +lib/unicase/u-ct-totitle.h +lib/unicase/context.h + +Depends-on: +unicase/base +unicase/cased +unicase/ignorable +unicase/special-casing +unicase/totitle +unicase/tolower +uniwbrk/u32-wordbreaks +unictype/combining-class +unictype/property-soft-dotted +unistr/u32-mbtouc-unsafe +unistr/u32-uctomb +unistr/u32-cpy +uninorm/u32-normalize +stdbool + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u32-ct-totitle]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U32_CT_TOTITLE +lib_SOURCES += unicase/u32-ct-totitle.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u32-ct-toupper b/gnulib/modules/unicase/u32-ct-toupper new file mode 100644 index 0000000..80edf83 --- /dev/null +++ b/gnulib/modules/unicase/u32-ct-toupper @@ -0,0 +1,29 @@ +Description: +Uppercase mapping for UTF-32 substrings (locale dependent). + +Files: +lib/unicase/u32-ct-toupper.c + +Depends-on: +unicase/base +unicase/u8-casemap +unicase/special-casing +unicase/toupper + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u32-ct-toupper]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U32_CT_TOUPPER +lib_SOURCES += unicase/u32-ct-toupper.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u32-is-cased b/gnulib/modules/unicase/u32-is-cased new file mode 100644 index 0000000..0c3c2a3 --- /dev/null +++ b/gnulib/modules/unicase/u32-is-cased @@ -0,0 +1,33 @@ +Description: +Test whether case matters for an UTF-32 string. + +Files: +lib/unicase/u32-is-cased.c +lib/unicase/u-is-cased.h + +Depends-on: +unicase/base +unicase/u32-toupper +unicase/u32-tolower +unicase/u32-totitle +uninorm/u32-normalize +uninorm/nfd +unistr/u32-cmp + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u32-is-cased]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U32_IS_CASED +lib_SOURCES += unicase/u32-is-cased.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u32-is-cased-tests b/gnulib/modules/unicase/u32-is-cased-tests new file mode 100644 index 0000000..099e98d --- /dev/null +++ b/gnulib/modules/unicase/u32-is-cased-tests @@ -0,0 +1,14 @@ +Files: +tests/unicase/test-u32-is-cased.c +tests/unicase/test-is-cased.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u32-is-cased +check_PROGRAMS += test-u32-is-cased +test_u32_is_cased_SOURCES = unicase/test-u32-is-cased.c +test_u32_is_cased_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unicase/u32-is-casefolded b/gnulib/modules/unicase/u32-is-casefolded new file mode 100644 index 0000000..7653d8c --- /dev/null +++ b/gnulib/modules/unicase/u32-is-casefolded @@ -0,0 +1,28 @@ +Description: +Test whether an UTF-32 string is already case-folded. + +Files: +lib/unicase/u32-is-casefolded.c + +Depends-on: +unicase/base +unicase/u32-is-invariant +unicase/u32-casefold + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u32-is-casefolded]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U32_IS_CASEFOLDED +lib_SOURCES += unicase/u32-is-casefolded.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u32-is-casefolded-tests b/gnulib/modules/unicase/u32-is-casefolded-tests new file mode 100644 index 0000000..b7d8be0 --- /dev/null +++ b/gnulib/modules/unicase/u32-is-casefolded-tests @@ -0,0 +1,14 @@ +Files: +tests/unicase/test-u32-is-casefolded.c +tests/unicase/test-is-casefolded.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u32-is-casefolded +check_PROGRAMS += test-u32-is-casefolded +test_u32_is_casefolded_SOURCES = unicase/test-u32-is-casefolded.c +test_u32_is_casefolded_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unicase/u32-is-invariant b/gnulib/modules/unicase/u32-is-invariant new file mode 100644 index 0000000..e6ec387 --- /dev/null +++ b/gnulib/modules/unicase/u32-is-invariant @@ -0,0 +1,30 @@ +Description: +Test whether an UTF-32 string is invariant under a given case mapping. + +Files: +lib/unicase/u32-is-invariant.c +lib/unicase/invariant.h +lib/unicase/u-is-invariant.h + +Depends-on: +unitypes +uninorm/base +uninorm/u32-normalize +uninorm/nfd +unistr/u32-cmp +stdbool + +configure.ac: + +Makefile.am: +lib_SOURCES += unicase/u32-is-invariant.c + +Include: +"unicase/invariant.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u32-is-lowercase b/gnulib/modules/unicase/u32-is-lowercase new file mode 100644 index 0000000..033f59e --- /dev/null +++ b/gnulib/modules/unicase/u32-is-lowercase @@ -0,0 +1,28 @@ +Description: +Test whether an UTF-32 string is entirely lower case. + +Files: +lib/unicase/u32-is-lowercase.c + +Depends-on: +unicase/base +unicase/u32-is-invariant +unicase/u32-tolower + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u32-is-lowercase]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U32_IS_LOWERCASE +lib_SOURCES += unicase/u32-is-lowercase.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u32-is-lowercase-tests b/gnulib/modules/unicase/u32-is-lowercase-tests new file mode 100644 index 0000000..49150a3 --- /dev/null +++ b/gnulib/modules/unicase/u32-is-lowercase-tests @@ -0,0 +1,14 @@ +Files: +tests/unicase/test-u32-is-lowercase.c +tests/unicase/test-is-lowercase.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u32-is-lowercase +check_PROGRAMS += test-u32-is-lowercase +test_u32_is_lowercase_SOURCES = unicase/test-u32-is-lowercase.c +test_u32_is_lowercase_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unicase/u32-is-titlecase b/gnulib/modules/unicase/u32-is-titlecase new file mode 100644 index 0000000..9a4a8e2 --- /dev/null +++ b/gnulib/modules/unicase/u32-is-titlecase @@ -0,0 +1,28 @@ +Description: +Test whether an UTF-32 string is entirely title case. + +Files: +lib/unicase/u32-is-titlecase.c + +Depends-on: +unicase/base +unicase/u32-is-invariant +unicase/u32-totitle + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u32-is-titlecase]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U32_IS_TITLECASE +lib_SOURCES += unicase/u32-is-titlecase.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u32-is-titlecase-tests b/gnulib/modules/unicase/u32-is-titlecase-tests new file mode 100644 index 0000000..78d4808 --- /dev/null +++ b/gnulib/modules/unicase/u32-is-titlecase-tests @@ -0,0 +1,14 @@ +Files: +tests/unicase/test-u32-is-titlecase.c +tests/unicase/test-is-titlecase.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u32-is-titlecase +check_PROGRAMS += test-u32-is-titlecase +test_u32_is_titlecase_SOURCES = unicase/test-u32-is-titlecase.c +test_u32_is_titlecase_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unicase/u32-is-uppercase b/gnulib/modules/unicase/u32-is-uppercase new file mode 100644 index 0000000..214e8a1 --- /dev/null +++ b/gnulib/modules/unicase/u32-is-uppercase @@ -0,0 +1,28 @@ +Description: +Test whether an UTF-32 string is entirely upper case. + +Files: +lib/unicase/u32-is-uppercase.c + +Depends-on: +unicase/base +unicase/u32-is-invariant +unicase/u32-toupper + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u32-is-uppercase]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U32_IS_UPPERCASE +lib_SOURCES += unicase/u32-is-uppercase.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u32-is-uppercase-tests b/gnulib/modules/unicase/u32-is-uppercase-tests new file mode 100644 index 0000000..afae343 --- /dev/null +++ b/gnulib/modules/unicase/u32-is-uppercase-tests @@ -0,0 +1,14 @@ +Files: +tests/unicase/test-u32-is-uppercase.c +tests/unicase/test-is-uppercase.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u32-is-uppercase +check_PROGRAMS += test-u32-is-uppercase +test_u32_is_uppercase_SOURCES = unicase/test-u32-is-uppercase.c +test_u32_is_uppercase_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unicase/u32-prefix-context b/gnulib/modules/unicase/u32-prefix-context new file mode 100644 index 0000000..f3eaae9 --- /dev/null +++ b/gnulib/modules/unicase/u32-prefix-context @@ -0,0 +1,33 @@ +Description: +Case-mapping context of prefix UTF-32 string. + +Files: +lib/unicase/u32-prefix-context.c +lib/unicase/u-prefix-context.h +lib/unicase/context.h + +Depends-on: +unicase/base +unicase/empty-prefix-context +unicase/ignorable +unictype/combining-class +unistr/u32-mbtouc-unsafe +unistr/u32-prev + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u32-prefix-context]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U32_PREFIX_CONTEXT +lib_SOURCES += unicase/u32-prefix-context.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u32-suffix-context b/gnulib/modules/unicase/u32-suffix-context new file mode 100644 index 0000000..d5b0b9e --- /dev/null +++ b/gnulib/modules/unicase/u32-suffix-context @@ -0,0 +1,32 @@ +Description: +Case-mapping context of suffix UTF-32 string. + +Files: +lib/unicase/u32-suffix-context.c +lib/unicase/u-suffix-context.h +lib/unicase/context.h + +Depends-on: +unicase/base +unicase/empty-prefix-context +unicase/ignorable +unictype/combining-class +unistr/u32-mbtouc-unsafe + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u32-suffix-context]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U32_SUFFIX_CONTEXT +lib_SOURCES += unicase/u32-suffix-context.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u32-tolower b/gnulib/modules/unicase/u32-tolower new file mode 100644 index 0000000..ff469e8 --- /dev/null +++ b/gnulib/modules/unicase/u32-tolower @@ -0,0 +1,31 @@ +Description: +Lowercase mapping for UTF-32 strings (locale dependent). + +Files: +lib/unicase/u32-tolower.c + +Depends-on: +unicase/base +unicase/u32-casemap +unicase/special-casing +unicase/empty-prefix-context +unicase/empty-suffix-context +unicase/tolower + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u32-tolower]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U32_TOLOWER +lib_SOURCES += unicase/u32-tolower.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u32-tolower-tests b/gnulib/modules/unicase/u32-tolower-tests new file mode 100644 index 0000000..f066192 --- /dev/null +++ b/gnulib/modules/unicase/u32-tolower-tests @@ -0,0 +1,15 @@ +Files: +tests/unicase/test-u32-tolower.c +tests/macros.h + +Depends-on: +unistr/u32-cmp +uninorm/nfc + +configure.ac: + +Makefile.am: +TESTS += test-u32-tolower +check_PROGRAMS += test-u32-tolower +test_u32_tolower_SOURCES = unicase/test-u32-tolower.c +test_u32_tolower_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unicase/u32-totitle b/gnulib/modules/unicase/u32-totitle new file mode 100644 index 0000000..9651c00 --- /dev/null +++ b/gnulib/modules/unicase/u32-totitle @@ -0,0 +1,30 @@ +Description: +Titlecase mapping for UTF-32 strings (locale dependent). + +Files: +lib/unicase/u32-totitle.c +lib/unicase/u-totitle.h + +Depends-on: +unicase/base +unicase/u32-ct-totitle +unicase/empty-prefix-context +unicase/empty-suffix-context + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u32-totitle]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U32_TOTITLE +lib_SOURCES += unicase/u32-totitle.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u32-totitle-tests b/gnulib/modules/unicase/u32-totitle-tests new file mode 100644 index 0000000..8a21b1f --- /dev/null +++ b/gnulib/modules/unicase/u32-totitle-tests @@ -0,0 +1,15 @@ +Files: +tests/unicase/test-u32-totitle.c +tests/macros.h + +Depends-on: +unistr/u32-cmp +uninorm/nfc + +configure.ac: + +Makefile.am: +TESTS += test-u32-totitle +check_PROGRAMS += test-u32-totitle +test_u32_totitle_SOURCES = unicase/test-u32-totitle.c +test_u32_totitle_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unicase/u32-toupper b/gnulib/modules/unicase/u32-toupper new file mode 100644 index 0000000..801deea --- /dev/null +++ b/gnulib/modules/unicase/u32-toupper @@ -0,0 +1,31 @@ +Description: +Uppercase mapping for UTF-32 strings (locale dependent). + +Files: +lib/unicase/u32-toupper.c + +Depends-on: +unicase/base +unicase/u32-casemap +unicase/special-casing +unicase/empty-prefix-context +unicase/empty-suffix-context +unicase/toupper + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u32-toupper]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U32_TOUPPER +lib_SOURCES += unicase/u32-toupper.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u32-toupper-tests b/gnulib/modules/unicase/u32-toupper-tests new file mode 100644 index 0000000..f973b47 --- /dev/null +++ b/gnulib/modules/unicase/u32-toupper-tests @@ -0,0 +1,15 @@ +Files: +tests/unicase/test-u32-toupper.c +tests/macros.h + +Depends-on: +unistr/u32-cmp +uninorm/nfc + +configure.ac: + +Makefile.am: +TESTS += test-u32-toupper +check_PROGRAMS += test-u32-toupper +test_u32_toupper_SOURCES = unicase/test-u32-toupper.c +test_u32_toupper_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unicase/u8-casecmp b/gnulib/modules/unicase/u8-casecmp new file mode 100644 index 0000000..c036b44 --- /dev/null +++ b/gnulib/modules/unicase/u8-casecmp @@ -0,0 +1,31 @@ +Description: +Case and normalization insensitive comparison of UTF-8 strings. + +Files: +lib/unicase/u8-casecmp.c +lib/unicase/u-casecmp.h + +Depends-on: +unicase/base +unicase/u8-casefold +uninorm/decomposing-form +unistr/u8-cmp2 +minmax + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u8-casecmp]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U8_CASECMP +lib_SOURCES += unicase/u8-casecmp.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u8-casecmp-tests b/gnulib/modules/unicase/u8-casecmp-tests new file mode 100644 index 0000000..62b89fd --- /dev/null +++ b/gnulib/modules/unicase/u8-casecmp-tests @@ -0,0 +1,15 @@ +Files: +tests/unicase/test-u8-casecmp.c +tests/unicase/test-casecmp.h +tests/macros.h + +Depends-on: +uninorm/nfd + +configure.ac: + +Makefile.am: +TESTS += test-u8-casecmp +check_PROGRAMS += test-u8-casecmp +test_u8_casecmp_SOURCES = unicase/test-u8-casecmp.c +test_u8_casecmp_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unicase/u8-casecoll b/gnulib/modules/unicase/u8-casecoll new file mode 100644 index 0000000..73171f9 --- /dev/null +++ b/gnulib/modules/unicase/u8-casecoll @@ -0,0 +1,30 @@ +Description: +Locale dependent, case and normalization insensitive comparison of UTF-8 +strings. + +Files: +lib/unicase/u8-casecoll.c +lib/unicase/u-casecoll.h + +Depends-on: +unicase/base +unicase/u8-casexfrm +memcmp2 + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u8-casecoll]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U8_CASECOLL +lib_SOURCES += unicase/u8-casecoll.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u8-casecoll-tests b/gnulib/modules/unicase/u8-casecoll-tests new file mode 100644 index 0000000..76f1690 --- /dev/null +++ b/gnulib/modules/unicase/u8-casecoll-tests @@ -0,0 +1,16 @@ +Files: +tests/unicase/test-u8-casecoll.c +tests/unicase/test-casecmp.h +tests/macros.h + +Depends-on: +uninorm/nfc + +configure.ac: + +Makefile.am: +TESTS += test-u8-casecoll +check_PROGRAMS += test-u8-casecoll +test_u8_casecoll_SOURCES = unicase/test-u8-casecoll.c +test_u8_casecoll_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ + diff --git a/gnulib/modules/unicase/u8-casefold b/gnulib/modules/unicase/u8-casefold new file mode 100644 index 0000000..0577e5c --- /dev/null +++ b/gnulib/modules/unicase/u8-casefold @@ -0,0 +1,30 @@ +Description: +Casefolding mapping for UTF-8 strings (locale dependent). + +Files: +lib/unicase/u8-casefold.c +lib/unicase/u-casefold.h + +Depends-on: +unicase/base +unicase/u8-ct-casefold +unicase/empty-prefix-context +unicase/empty-suffix-context + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u8-casefold]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U8_CASEFOLD +lib_SOURCES += unicase/u8-casefold.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u8-casefold-tests b/gnulib/modules/unicase/u8-casefold-tests new file mode 100644 index 0000000..fd4ebcc --- /dev/null +++ b/gnulib/modules/unicase/u8-casefold-tests @@ -0,0 +1,16 @@ +Files: +tests/unicase/test-u8-casefold.c +tests/macros.h + +Depends-on: +unistr/u8-cmp +uninorm/nfc +uninorm/nfd + +configure.ac: + +Makefile.am: +TESTS += test-u8-casefold +check_PROGRAMS += test-u8-casefold +test_u8_casefold_SOURCES = unicase/test-u8-casefold.c +test_u8_casefold_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unicase/u8-casemap b/gnulib/modules/unicase/u8-casemap new file mode 100644 index 0000000..3c482da --- /dev/null +++ b/gnulib/modules/unicase/u8-casemap @@ -0,0 +1,36 @@ +Description: +Case mapping for UTF-8 strings (locale dependent). + +Files: +lib/unicase/unicasemap.h +lib/unicase/u8-casemap.c +lib/unicase/u-casemap.h +lib/unicase/context.h + +Depends-on: +unicase/base +unicase/cased +unicase/ignorable +unicase/special-casing +unictype/combining-class +unictype/property-soft-dotted +unistr/u8-mbtouc-unsafe +unistr/u8-uctomb +unistr/u8-cpy +uninorm/u8-normalize +stdbool + +configure.ac: + +Makefile.am: +lib_SOURCES += unicase/u8-casemap.c + +Include: +"unicase/unicasemap.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u8-casexfrm b/gnulib/modules/unicase/u8-casexfrm new file mode 100644 index 0000000..d547621 --- /dev/null +++ b/gnulib/modules/unicase/u8-casexfrm @@ -0,0 +1,32 @@ +Description: +Locale dependent transformation for case insensitive comparison of UTF-8 +strings. + +Files: +lib/unicase/u8-casexfrm.c +lib/unicase/u-casexfrm.h + +Depends-on: +unicase/base +unicase/u8-casefold +uniconv/u8-conv-to-enc +localcharset +amemxfrm + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u8-casexfrm]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U8_CASEXFRM +lib_SOURCES += unicase/u8-casexfrm.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u8-ct-casefold b/gnulib/modules/unicase/u8-ct-casefold new file mode 100644 index 0000000..5135052 --- /dev/null +++ b/gnulib/modules/unicase/u8-ct-casefold @@ -0,0 +1,33 @@ +Description: +Casefolding mapping for UTF-8 substrings (locale dependent). + +Files: +lib/unicase/u8-ct-casefold.c +lib/unicase/u-ct-casefold.h + +Depends-on: +unicase/base +unicase/u8-casemap +unicase/special-casing +unicase/tocasefold +uninorm/decomposing-form +uninorm/u8-normalize +uninorm/nfd + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u8-ct-casefold]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U8_CT_CASEFOLD +lib_SOURCES += unicase/u8-ct-casefold.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u8-ct-tolower b/gnulib/modules/unicase/u8-ct-tolower new file mode 100644 index 0000000..f99ae0b --- /dev/null +++ b/gnulib/modules/unicase/u8-ct-tolower @@ -0,0 +1,29 @@ +Description: +Lowercase mapping for UTF-8 substrings (locale dependent). + +Files: +lib/unicase/u8-ct-tolower.c + +Depends-on: +unicase/base +unicase/u8-casemap +unicase/special-casing +unicase/toupper + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u8-ct-tolower]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U8_CT_TOLOWER +lib_SOURCES += unicase/u8-ct-tolower.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u8-ct-totitle b/gnulib/modules/unicase/u8-ct-totitle new file mode 100644 index 0000000..17a8c4e --- /dev/null +++ b/gnulib/modules/unicase/u8-ct-totitle @@ -0,0 +1,41 @@ +Description: +Titlecase mapping for UTF-8 substrings (locale dependent). + +Files: +lib/unicase/u8-ct-totitle.c +lib/unicase/u-ct-totitle.h +lib/unicase/context.h + +Depends-on: +unicase/base +unicase/cased +unicase/ignorable +unicase/special-casing +unicase/totitle +unicase/tolower +uniwbrk/u8-wordbreaks +unictype/combining-class +unictype/property-soft-dotted +unistr/u8-mbtouc-unsafe +unistr/u8-uctomb +unistr/u8-cpy +uninorm/u8-normalize +stdbool + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u8-ct-totitle]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U8_CT_TOTITLE +lib_SOURCES += unicase/u8-ct-totitle.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u8-ct-toupper b/gnulib/modules/unicase/u8-ct-toupper new file mode 100644 index 0000000..c31198d --- /dev/null +++ b/gnulib/modules/unicase/u8-ct-toupper @@ -0,0 +1,29 @@ +Description: +Uppercase mapping for UTF-8 substrings (locale dependent). + +Files: +lib/unicase/u8-ct-toupper.c + +Depends-on: +unicase/base +unicase/u8-casemap +unicase/special-casing +unicase/toupper + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u8-ct-toupper]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U8_CT_TOUPPER +lib_SOURCES += unicase/u8-ct-toupper.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u8-is-cased b/gnulib/modules/unicase/u8-is-cased new file mode 100644 index 0000000..ed15bb1 --- /dev/null +++ b/gnulib/modules/unicase/u8-is-cased @@ -0,0 +1,33 @@ +Description: +Test whether case matters for an UTF-8 string. + +Files: +lib/unicase/u8-is-cased.c +lib/unicase/u-is-cased.h + +Depends-on: +unicase/base +unicase/u8-toupper +unicase/u8-tolower +unicase/u8-totitle +uninorm/u8-normalize +uninorm/nfd +unistr/u8-cmp + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u8-is-cased]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U8_IS_CASED +lib_SOURCES += unicase/u8-is-cased.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u8-is-cased-tests b/gnulib/modules/unicase/u8-is-cased-tests new file mode 100644 index 0000000..35f474a --- /dev/null +++ b/gnulib/modules/unicase/u8-is-cased-tests @@ -0,0 +1,14 @@ +Files: +tests/unicase/test-u8-is-cased.c +tests/unicase/test-is-cased.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u8-is-cased +check_PROGRAMS += test-u8-is-cased +test_u8_is_cased_SOURCES = unicase/test-u8-is-cased.c +test_u8_is_cased_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unicase/u8-is-casefolded b/gnulib/modules/unicase/u8-is-casefolded new file mode 100644 index 0000000..7ef5d5c --- /dev/null +++ b/gnulib/modules/unicase/u8-is-casefolded @@ -0,0 +1,28 @@ +Description: +Test whether an UTF-8 string is already case-folded. + +Files: +lib/unicase/u8-is-casefolded.c + +Depends-on: +unicase/base +unicase/u8-is-invariant +unicase/u8-casefold + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u8-is-casefolded]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U8_IS_CASEFOLDED +lib_SOURCES += unicase/u8-is-casefolded.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u8-is-casefolded-tests b/gnulib/modules/unicase/u8-is-casefolded-tests new file mode 100644 index 0000000..ec62dba --- /dev/null +++ b/gnulib/modules/unicase/u8-is-casefolded-tests @@ -0,0 +1,14 @@ +Files: +tests/unicase/test-u8-is-casefolded.c +tests/unicase/test-is-casefolded.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u8-is-casefolded +check_PROGRAMS += test-u8-is-casefolded +test_u8_is_casefolded_SOURCES = unicase/test-u8-is-casefolded.c +test_u8_is_casefolded_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unicase/u8-is-invariant b/gnulib/modules/unicase/u8-is-invariant new file mode 100644 index 0000000..40cacdd --- /dev/null +++ b/gnulib/modules/unicase/u8-is-invariant @@ -0,0 +1,30 @@ +Description: +Test whether an UTF-8 string is invariant under a given case mapping. + +Files: +lib/unicase/u8-is-invariant.c +lib/unicase/invariant.h +lib/unicase/u-is-invariant.h + +Depends-on: +unitypes +uninorm/base +uninorm/u8-normalize +uninorm/nfd +unistr/u8-cmp +stdbool + +configure.ac: + +Makefile.am: +lib_SOURCES += unicase/u8-is-invariant.c + +Include: +"unicase/invariant.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u8-is-lowercase b/gnulib/modules/unicase/u8-is-lowercase new file mode 100644 index 0000000..7e0e43e --- /dev/null +++ b/gnulib/modules/unicase/u8-is-lowercase @@ -0,0 +1,28 @@ +Description: +Test whether an UTF-8 string is entirely lower case. + +Files: +lib/unicase/u8-is-lowercase.c + +Depends-on: +unicase/base +unicase/u8-is-invariant +unicase/u8-tolower + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u8-is-lowercase]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U8_IS_LOWERCASE +lib_SOURCES += unicase/u8-is-lowercase.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u8-is-lowercase-tests b/gnulib/modules/unicase/u8-is-lowercase-tests new file mode 100644 index 0000000..1623ce5 --- /dev/null +++ b/gnulib/modules/unicase/u8-is-lowercase-tests @@ -0,0 +1,14 @@ +Files: +tests/unicase/test-u8-is-lowercase.c +tests/unicase/test-is-lowercase.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u8-is-lowercase +check_PROGRAMS += test-u8-is-lowercase +test_u8_is_lowercase_SOURCES = unicase/test-u8-is-lowercase.c +test_u8_is_lowercase_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unicase/u8-is-titlecase b/gnulib/modules/unicase/u8-is-titlecase new file mode 100644 index 0000000..a76d22a --- /dev/null +++ b/gnulib/modules/unicase/u8-is-titlecase @@ -0,0 +1,28 @@ +Description: +Test whether an UTF-8 string is entirely title case. + +Files: +lib/unicase/u8-is-titlecase.c + +Depends-on: +unicase/base +unicase/u8-is-invariant +unicase/u8-totitle + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u8-is-titlecase]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U8_IS_TITLECASE +lib_SOURCES += unicase/u8-is-titlecase.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u8-is-titlecase-tests b/gnulib/modules/unicase/u8-is-titlecase-tests new file mode 100644 index 0000000..50510a6 --- /dev/null +++ b/gnulib/modules/unicase/u8-is-titlecase-tests @@ -0,0 +1,14 @@ +Files: +tests/unicase/test-u8-is-titlecase.c +tests/unicase/test-is-titlecase.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u8-is-titlecase +check_PROGRAMS += test-u8-is-titlecase +test_u8_is_titlecase_SOURCES = unicase/test-u8-is-titlecase.c +test_u8_is_titlecase_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unicase/u8-is-uppercase b/gnulib/modules/unicase/u8-is-uppercase new file mode 100644 index 0000000..a147ff6 --- /dev/null +++ b/gnulib/modules/unicase/u8-is-uppercase @@ -0,0 +1,28 @@ +Description: +Test whether an UTF-8 string is entirely upper case. + +Files: +lib/unicase/u8-is-uppercase.c + +Depends-on: +unicase/base +unicase/u8-is-invariant +unicase/u8-toupper + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u8-is-uppercase]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U8_IS_UPPERCASE +lib_SOURCES += unicase/u8-is-uppercase.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u8-is-uppercase-tests b/gnulib/modules/unicase/u8-is-uppercase-tests new file mode 100644 index 0000000..28c219b --- /dev/null +++ b/gnulib/modules/unicase/u8-is-uppercase-tests @@ -0,0 +1,14 @@ +Files: +tests/unicase/test-u8-is-uppercase.c +tests/unicase/test-is-uppercase.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u8-is-uppercase +check_PROGRAMS += test-u8-is-uppercase +test_u8_is_uppercase_SOURCES = unicase/test-u8-is-uppercase.c +test_u8_is_uppercase_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unicase/u8-prefix-context b/gnulib/modules/unicase/u8-prefix-context new file mode 100644 index 0000000..0430907 --- /dev/null +++ b/gnulib/modules/unicase/u8-prefix-context @@ -0,0 +1,33 @@ +Description: +Case-mapping context of prefix UTF-8 string. + +Files: +lib/unicase/u8-prefix-context.c +lib/unicase/u-prefix-context.h +lib/unicase/context.h + +Depends-on: +unicase/base +unicase/empty-prefix-context +unicase/ignorable +unictype/combining-class +unistr/u8-mbtouc-unsafe +unistr/u8-prev + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u8-prefix-context]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U8_PREFIX_CONTEXT +lib_SOURCES += unicase/u8-prefix-context.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u8-suffix-context b/gnulib/modules/unicase/u8-suffix-context new file mode 100644 index 0000000..7c4e64c --- /dev/null +++ b/gnulib/modules/unicase/u8-suffix-context @@ -0,0 +1,32 @@ +Description: +Case-mapping context of suffix UTF-8 string. + +Files: +lib/unicase/u8-suffix-context.c +lib/unicase/u-suffix-context.h +lib/unicase/context.h + +Depends-on: +unicase/base +unicase/empty-prefix-context +unicase/ignorable +unictype/combining-class +unistr/u8-mbtouc-unsafe + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u8-suffix-context]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U8_SUFFIX_CONTEXT +lib_SOURCES += unicase/u8-suffix-context.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u8-tolower b/gnulib/modules/unicase/u8-tolower new file mode 100644 index 0000000..961742f --- /dev/null +++ b/gnulib/modules/unicase/u8-tolower @@ -0,0 +1,31 @@ +Description: +Lowercase mapping for UTF-8 strings (locale dependent). + +Files: +lib/unicase/u8-tolower.c + +Depends-on: +unicase/base +unicase/u8-casemap +unicase/special-casing +unicase/empty-prefix-context +unicase/empty-suffix-context +unicase/tolower + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u8-tolower]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U8_TOLOWER +lib_SOURCES += unicase/u8-tolower.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u8-tolower-tests b/gnulib/modules/unicase/u8-tolower-tests new file mode 100644 index 0000000..9161001 --- /dev/null +++ b/gnulib/modules/unicase/u8-tolower-tests @@ -0,0 +1,15 @@ +Files: +tests/unicase/test-u8-tolower.c +tests/macros.h + +Depends-on: +unistr/u8-cmp +uninorm/nfc + +configure.ac: + +Makefile.am: +TESTS += test-u8-tolower +check_PROGRAMS += test-u8-tolower +test_u8_tolower_SOURCES = unicase/test-u8-tolower.c +test_u8_tolower_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unicase/u8-totitle b/gnulib/modules/unicase/u8-totitle new file mode 100644 index 0000000..2c910b5 --- /dev/null +++ b/gnulib/modules/unicase/u8-totitle @@ -0,0 +1,30 @@ +Description: +Titlecase mapping for UTF-8 strings (locale dependent). + +Files: +lib/unicase/u8-totitle.c +lib/unicase/u-totitle.h + +Depends-on: +unicase/base +unicase/u8-ct-totitle +unicase/empty-prefix-context +unicase/empty-suffix-context + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u8-totitle]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U8_TOTITLE +lib_SOURCES += unicase/u8-totitle.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u8-totitle-tests b/gnulib/modules/unicase/u8-totitle-tests new file mode 100644 index 0000000..e25e8ee --- /dev/null +++ b/gnulib/modules/unicase/u8-totitle-tests @@ -0,0 +1,15 @@ +Files: +tests/unicase/test-u8-totitle.c +tests/macros.h + +Depends-on: +unistr/u8-cmp +uninorm/nfc + +configure.ac: + +Makefile.am: +TESTS += test-u8-totitle +check_PROGRAMS += test-u8-totitle +test_u8_totitle_SOURCES = unicase/test-u8-totitle.c +test_u8_totitle_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unicase/u8-toupper b/gnulib/modules/unicase/u8-toupper new file mode 100644 index 0000000..68bab25 --- /dev/null +++ b/gnulib/modules/unicase/u8-toupper @@ -0,0 +1,31 @@ +Description: +Uppercase mapping for UTF-8 strings (locale dependent). + +Files: +lib/unicase/u8-toupper.c + +Depends-on: +unicase/base +unicase/u8-casemap +unicase/special-casing +unicase/empty-prefix-context +unicase/empty-suffix-context +unicase/toupper + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/u8-toupper]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_U8_TOUPPER +lib_SOURCES += unicase/u8-toupper.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/u8-toupper-tests b/gnulib/modules/unicase/u8-toupper-tests new file mode 100644 index 0000000..4431dbb --- /dev/null +++ b/gnulib/modules/unicase/u8-toupper-tests @@ -0,0 +1,15 @@ +Files: +tests/unicase/test-u8-toupper.c +tests/macros.h + +Depends-on: +unistr/u8-cmp +uninorm/nfc + +configure.ac: + +Makefile.am: +TESTS += test-u8-toupper +check_PROGRAMS += test-u8-toupper +test_u8_toupper_SOURCES = unicase/test-u8-toupper.c +test_u8_toupper_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unicase/ulc-casecmp b/gnulib/modules/unicase/ulc-casecmp new file mode 100644 index 0000000..c379501 --- /dev/null +++ b/gnulib/modules/unicase/ulc-casecmp @@ -0,0 +1,33 @@ +Description: +Case and normalization insensitive comparison of strings. + +Files: +lib/unicase/ulc-casecmp.c +lib/unicase/u-casecmp.h + +Depends-on: +unicase/base +unicase/u8-casefold +uninorm/decomposing-form +uniconv/u8-conv-from-enc +unistr/u8-cmp2 +localcharset +minmax + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/ulc-casecmp]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_ULC_CASECMP +lib_SOURCES += unicase/ulc-casecmp.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/ulc-casecmp-tests b/gnulib/modules/unicase/ulc-casecmp-tests new file mode 100644 index 0000000..0d78fbe --- /dev/null +++ b/gnulib/modules/unicase/ulc-casecmp-tests @@ -0,0 +1,26 @@ +Files: +tests/unicase/test-ulc-casecmp1.sh +tests/unicase/test-ulc-casecmp2.sh +tests/unicase/test-ulc-casecmp.c +tests/unicase/test-casecmp.h +tests/macros.h +m4/locale-fr.m4 +m4/codeset.m4 + +Depends-on: +uninorm/nfd +setlocale + +configure.ac: +gt_LOCALE_FR +gt_LOCALE_FR_UTF8 + +Makefile.am: +TESTS += unicase/test-ulc-casecmp1.sh unicase/test-ulc-casecmp2.sh +TESTS_ENVIRONMENT += \ + LOCALE_FR='@LOCALE_FR@' \ + LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' +check_PROGRAMS += test-ulc-casecmp +test_ulc_casecmp_SOURCES = unicase/test-ulc-casecmp.c +test_ulc_casecmp_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ + diff --git a/gnulib/modules/unicase/ulc-casecoll b/gnulib/modules/unicase/ulc-casecoll new file mode 100644 index 0000000..7fb840e --- /dev/null +++ b/gnulib/modules/unicase/ulc-casecoll @@ -0,0 +1,29 @@ +Description: +Locale dependent, case and normalization insensitive comparison of strings. + +Files: +lib/unicase/ulc-casecoll.c +lib/unicase/u-casecoll.h + +Depends-on: +unicase/base +unicase/ulc-casexfrm +memcmp2 + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/ulc-casecoll]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_ULC_CASECOLL +lib_SOURCES += unicase/ulc-casecoll.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicase/ulc-casecoll-tests b/gnulib/modules/unicase/ulc-casecoll-tests new file mode 100644 index 0000000..bd2e59b --- /dev/null +++ b/gnulib/modules/unicase/ulc-casecoll-tests @@ -0,0 +1,26 @@ +Files: +tests/unicase/test-ulc-casecoll1.sh +tests/unicase/test-ulc-casecoll2.sh +tests/unicase/test-ulc-casecoll.c +tests/unicase/test-casecmp.h +tests/macros.h +m4/locale-fr.m4 +m4/codeset.m4 + +Depends-on: +uninorm/nfc +setlocale + +configure.ac: +gt_LOCALE_FR +gt_LOCALE_FR_UTF8 + +Makefile.am: +TESTS += unicase/test-ulc-casecoll1.sh unicase/test-ulc-casecoll2.sh +TESTS_ENVIRONMENT += \ + LOCALE_FR='@LOCALE_FR@' \ + LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' +check_PROGRAMS += test-ulc-casecoll +test_ulc_casecoll_SOURCES = unicase/test-ulc-casecoll.c +test_ulc_casecoll_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ + diff --git a/gnulib/modules/unicase/ulc-casexfrm b/gnulib/modules/unicase/ulc-casexfrm new file mode 100644 index 0000000..14329dd --- /dev/null +++ b/gnulib/modules/unicase/ulc-casexfrm @@ -0,0 +1,29 @@ +Description: +Locale dependent transformation for case insensitive comparison of strings. + +Files: +lib/unicase/ulc-casexfrm.c + +Depends-on: +unicase/base +unicase/u8-casexfrm +uniconv/u8-conv-from-enc +localcharset + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unicase/ulc-casexfrm]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICASE_ULC_CASEXFRM +lib_SOURCES += unicase/ulc-casexfrm.c +endif + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unicodeio b/gnulib/modules/unicodeio new file mode 100644 index 0000000..8231569 --- /dev/null +++ b/gnulib/modules/unicodeio @@ -0,0 +1,35 @@ +Description: +Unicode character output to streams with locale dependent encoding. + +Files: +lib/unicodeio.h +lib/unicodeio.c +m4/unicodeio.m4 + +Depends-on: +unistr/u8-uctomb +iconv +iconv_open +gettext-h +localcharset +error +ignore-value + +configure.ac: +gl_UNICODEIO + +Makefile.am: +lib_SOURCES += unicodeio.h unicodeio.c + +Include: +"unicodeio.h" + +Link: +$(LTLIBICONV) when linking with libtool, $(LIBICONV) otherwise + +License: +GPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniconv/base b/gnulib/modules/uniconv/base new file mode 100644 index 0000000..c4046eb --- /dev/null +++ b/gnulib/modules/uniconv/base @@ -0,0 +1,36 @@ +Description: +Base layer for conversion from/to legacy encodings. + +Files: +lib/uniconv.in.h +lib/iconveh.h +lib/striconveha.h +lib/localcharset.h +m4/libunistring-base.m4 + +Depends-on: +unitypes + +configure.ac: +gl_LIBUNISTRING_LIBHEADER([0.9], [uniconv.h]) + +Makefile.am: +BUILT_SOURCES += $(LIBUNISTRING_UNICONV_H) + +uniconv.h: uniconv.in.h + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + cat $(srcdir)/uniconv.in.h; \ + } > $@-t && \ + mv -f $@-t $@ +MOSTLYCLEANFILES += uniconv.h uniconv.h-t + +Include: +"uniconv.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniconv/u16-conv-from-enc b/gnulib/modules/uniconv/u16-conv-from-enc new file mode 100644 index 0000000..ca84ed9 --- /dev/null +++ b/gnulib/modules/uniconv/u16-conv-from-enc @@ -0,0 +1,33 @@ +Description: +Conversion to UTF-16 from legacy encodings. + +Files: +lib/uniconv/u16-conv-from-enc.c +lib/uniconv/u-conv-from-enc.h + +Depends-on: +uniconv/base +striconveha +uniconv/u8-conv-from-enc +unistr/u8-to-u16 +unistr/u8-mblen +unistr/u16-mblen + +configure.ac: +AC_REQUIRE([gl_BIGENDIAN]) +gl_LIBUNISTRING_MODULE([0.9], [uniconv/u16-conv-from-enc]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICONV_U16_CONV_FROM_ENC +lib_SOURCES += uniconv/u16-conv-from-enc.c +endif + +Include: +"uniconv.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniconv/u16-conv-from-enc-tests b/gnulib/modules/uniconv/u16-conv-from-enc-tests new file mode 100644 index 0000000..d3b5577 --- /dev/null +++ b/gnulib/modules/uniconv/u16-conv-from-enc-tests @@ -0,0 +1,15 @@ +Files: +tests/uniconv/test-u16-conv-from-enc.c +tests/macros.h + +Depends-on: +unistr/u16-cmp + +configure.ac: + +Makefile.am: +TESTS += test-u16-conv-from-enc +check_PROGRAMS += test-u16-conv-from-enc +test_u16_conv_from_enc_SOURCES = uniconv/test-u16-conv-from-enc.c +test_u16_conv_from_enc_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ + diff --git a/gnulib/modules/uniconv/u16-conv-to-enc b/gnulib/modules/uniconv/u16-conv-to-enc new file mode 100644 index 0000000..287076f --- /dev/null +++ b/gnulib/modules/uniconv/u16-conv-to-enc @@ -0,0 +1,34 @@ +Description: +Conversion from UTF-16 to legacy encodings. + +Files: +lib/uniconv/u16-conv-to-enc.c +lib/uniconv/u-conv-to-enc.h + +Depends-on: +uniconv/base +striconveha +uniconv/u8-conv-to-enc +unistr/u16-mbtoucr +unistr/u8-uctomb +unistr/u16-mblen +unistr/u8-mblen + +configure.ac: +AC_REQUIRE([gl_BIGENDIAN]) +gl_LIBUNISTRING_MODULE([0.9], [uniconv/u16-conv-to-enc]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICONV_U16_CONV_TO_ENC +lib_SOURCES += uniconv/u16-conv-to-enc.c +endif + +Include: +"uniconv.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniconv/u16-conv-to-enc-tests b/gnulib/modules/uniconv/u16-conv-to-enc-tests new file mode 100644 index 0000000..6fe964b --- /dev/null +++ b/gnulib/modules/uniconv/u16-conv-to-enc-tests @@ -0,0 +1,14 @@ +Files: +tests/uniconv/test-u16-conv-to-enc.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u16-conv-to-enc +check_PROGRAMS += test-u16-conv-to-enc +test_u16_conv_to_enc_SOURCES = uniconv/test-u16-conv-to-enc.c +test_u16_conv_to_enc_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ + diff --git a/gnulib/modules/uniconv/u16-strconv-from-enc b/gnulib/modules/uniconv/u16-strconv-from-enc new file mode 100644 index 0000000..b6c1520 --- /dev/null +++ b/gnulib/modules/uniconv/u16-strconv-from-enc @@ -0,0 +1,29 @@ +Description: +Conversion to UTF-16 from legacy encodings. + +Files: +lib/uniconv/u16-strconv-from-enc.c +lib/uniconv/u-strconv-from-enc.h + +Depends-on: +uniconv/base +uniconv/u16-conv-from-enc +unistr/u16-strlen + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [uniconv/u16-strconv-from-enc]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICONV_U16_STRCONV_FROM_ENC +lib_SOURCES += uniconv/u16-strconv-from-enc.c +endif + +Include: +"uniconv.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniconv/u16-strconv-from-enc-tests b/gnulib/modules/uniconv/u16-strconv-from-enc-tests new file mode 100644 index 0000000..9ca395c --- /dev/null +++ b/gnulib/modules/uniconv/u16-strconv-from-enc-tests @@ -0,0 +1,15 @@ +Files: +tests/uniconv/test-u16-strconv-from-enc.c +tests/macros.h + +Depends-on: +unistr/u16-strcmp + +configure.ac: + +Makefile.am: +TESTS += test-u16-strconv-from-enc +check_PROGRAMS += test-u16-strconv-from-enc +test_u16_strconv_from_enc_SOURCES = uniconv/test-u16-strconv-from-enc.c +test_u16_strconv_from_enc_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ + diff --git a/gnulib/modules/uniconv/u16-strconv-from-locale b/gnulib/modules/uniconv/u16-strconv-from-locale new file mode 100644 index 0000000..e6b060e --- /dev/null +++ b/gnulib/modules/uniconv/u16-strconv-from-locale @@ -0,0 +1,28 @@ +Description: +Conversion to UTF-16 from the locale encoding. + +Files: +lib/uniconv/u16-strconv-from-locale.c + +Depends-on: +uniconv/base +uniconv/u16-strconv-from-enc +localcharset + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [uniconv/u16-strconv-from-locale]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICONV_U16_STRCONV_FROM_LOCALE +lib_SOURCES += uniconv/u16-strconv-from-locale.c +endif + +Include: +"uniconv.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniconv/u16-strconv-to-enc b/gnulib/modules/uniconv/u16-strconv-to-enc new file mode 100644 index 0000000..d480559 --- /dev/null +++ b/gnulib/modules/uniconv/u16-strconv-to-enc @@ -0,0 +1,32 @@ +Description: +Conversion from UTF-16 to legacy encodings. + +Files: +lib/uniconv/u16-strconv-to-enc.c +lib/uniconv/u-strconv-to-enc.h + +Depends-on: +uniconv/base +striconveha +uniconv/u8-strconv-to-enc +unistr/u16-to-u8 +unistr/u16-strlen + +configure.ac: +AC_REQUIRE([gl_BIGENDIAN]) +gl_LIBUNISTRING_MODULE([0.9], [uniconv/u16-strconv-to-enc]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICONV_U16_STRCONV_TO_ENC +lib_SOURCES += uniconv/u16-strconv-to-enc.c +endif + +Include: +"uniconv.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniconv/u16-strconv-to-enc-tests b/gnulib/modules/uniconv/u16-strconv-to-enc-tests new file mode 100644 index 0000000..cf47986 --- /dev/null +++ b/gnulib/modules/uniconv/u16-strconv-to-enc-tests @@ -0,0 +1,15 @@ +Files: +tests/uniconv/test-u16-strconv-to-enc.c +tests/macros.h + +Depends-on: +unistr/u16-strcmp + +configure.ac: + +Makefile.am: +TESTS += test-u16-strconv-to-enc +check_PROGRAMS += test-u16-strconv-to-enc +test_u16_strconv_to_enc_SOURCES = uniconv/test-u16-strconv-to-enc.c +test_u16_strconv_to_enc_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ + diff --git a/gnulib/modules/uniconv/u16-strconv-to-locale b/gnulib/modules/uniconv/u16-strconv-to-locale new file mode 100644 index 0000000..12fd3c4 --- /dev/null +++ b/gnulib/modules/uniconv/u16-strconv-to-locale @@ -0,0 +1,28 @@ +Description: +Conversion from UTF-16 to the locale encoding. + +Files: +lib/uniconv/u16-strconv-to-locale.c + +Depends-on: +uniconv/base +uniconv/u16-strconv-to-enc +localcharset + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [uniconv/u16-strconv-to-locale]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICONV_U16_STRCONV_TO_LOCALE +lib_SOURCES += uniconv/u16-strconv-to-locale.c +endif + +Include: +"uniconv.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniconv/u32-conv-from-enc b/gnulib/modules/uniconv/u32-conv-from-enc new file mode 100644 index 0000000..d72e7c2 --- /dev/null +++ b/gnulib/modules/uniconv/u32-conv-from-enc @@ -0,0 +1,32 @@ +Description: +Conversion to UTF-32 from legacy encodings. + +Files: +lib/uniconv/u32-conv-from-enc.c +lib/uniconv/u-conv-from-enc.h + +Depends-on: +uniconv/base +striconveha +uniconv/u8-conv-from-enc +unistr/u8-to-u32 +unistr/u8-mblen +unistr/u32-mblen + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [uniconv/u32-conv-from-enc]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICONV_U32_CONV_FROM_ENC +lib_SOURCES += uniconv/u32-conv-from-enc.c +endif + +Include: +"uniconv.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniconv/u32-conv-from-enc-tests b/gnulib/modules/uniconv/u32-conv-from-enc-tests new file mode 100644 index 0000000..a748de9 --- /dev/null +++ b/gnulib/modules/uniconv/u32-conv-from-enc-tests @@ -0,0 +1,15 @@ +Files: +tests/uniconv/test-u32-conv-from-enc.c +tests/macros.h + +Depends-on: +unistr/u32-cmp + +configure.ac: + +Makefile.am: +TESTS += test-u32-conv-from-enc +check_PROGRAMS += test-u32-conv-from-enc +test_u32_conv_from_enc_SOURCES = uniconv/test-u32-conv-from-enc.c +test_u32_conv_from_enc_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ + diff --git a/gnulib/modules/uniconv/u32-conv-to-enc b/gnulib/modules/uniconv/u32-conv-to-enc new file mode 100644 index 0000000..8aa6b09 --- /dev/null +++ b/gnulib/modules/uniconv/u32-conv-to-enc @@ -0,0 +1,32 @@ +Description: +Conversion from UTF-32 to legacy encodings. + +Files: +lib/uniconv/u32-conv-to-enc.c +lib/uniconv/u-conv-to-enc.h + +Depends-on: +uniconv/base +striconveha +uniconv/u8-conv-to-enc +unistr/u32-to-u8 +unistr/u32-mblen +unistr/u8-mblen + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [uniconv/u32-conv-to-enc]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICONV_U32_CONV_TO_ENC +lib_SOURCES += uniconv/u32-conv-to-enc.c +endif + +Include: +"uniconv.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniconv/u32-conv-to-enc-tests b/gnulib/modules/uniconv/u32-conv-to-enc-tests new file mode 100644 index 0000000..c318d4f --- /dev/null +++ b/gnulib/modules/uniconv/u32-conv-to-enc-tests @@ -0,0 +1,14 @@ +Files: +tests/uniconv/test-u32-conv-to-enc.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u32-conv-to-enc +check_PROGRAMS += test-u32-conv-to-enc +test_u32_conv_to_enc_SOURCES = uniconv/test-u32-conv-to-enc.c +test_u32_conv_to_enc_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ + diff --git a/gnulib/modules/uniconv/u32-strconv-from-enc b/gnulib/modules/uniconv/u32-strconv-from-enc new file mode 100644 index 0000000..7c2846d --- /dev/null +++ b/gnulib/modules/uniconv/u32-strconv-from-enc @@ -0,0 +1,29 @@ +Description: +Conversion to UTF-32 from legacy encodings. + +Files: +lib/uniconv/u32-strconv-from-enc.c +lib/uniconv/u-strconv-from-enc.h + +Depends-on: +uniconv/base +uniconv/u32-conv-from-enc +unistr/u32-strlen + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [uniconv/u32-strconv-from-enc]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICONV_U32_STRCONV_FROM_ENC +lib_SOURCES += uniconv/u32-strconv-from-enc.c +endif + +Include: +"uniconv.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniconv/u32-strconv-from-enc-tests b/gnulib/modules/uniconv/u32-strconv-from-enc-tests new file mode 100644 index 0000000..5ad289e --- /dev/null +++ b/gnulib/modules/uniconv/u32-strconv-from-enc-tests @@ -0,0 +1,15 @@ +Files: +tests/uniconv/test-u32-strconv-from-enc.c +tests/macros.h + +Depends-on: +unistr/u32-strcmp + +configure.ac: + +Makefile.am: +TESTS += test-u32-strconv-from-enc +check_PROGRAMS += test-u32-strconv-from-enc +test_u32_strconv_from_enc_SOURCES = uniconv/test-u32-strconv-from-enc.c +test_u32_strconv_from_enc_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ + diff --git a/gnulib/modules/uniconv/u32-strconv-from-locale b/gnulib/modules/uniconv/u32-strconv-from-locale new file mode 100644 index 0000000..e05dbed --- /dev/null +++ b/gnulib/modules/uniconv/u32-strconv-from-locale @@ -0,0 +1,28 @@ +Description: +Conversion to UTF-32 from the locale encoding. + +Files: +lib/uniconv/u32-strconv-from-locale.c + +Depends-on: +uniconv/base +uniconv/u32-strconv-from-enc +localcharset + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [uniconv/u32-strconv-from-locale]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICONV_U32_STRCONV_FROM_LOCALE +lib_SOURCES += uniconv/u32-strconv-from-locale.c +endif + +Include: +"uniconv.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniconv/u32-strconv-to-enc b/gnulib/modules/uniconv/u32-strconv-to-enc new file mode 100644 index 0000000..e83477e --- /dev/null +++ b/gnulib/modules/uniconv/u32-strconv-to-enc @@ -0,0 +1,31 @@ +Description: +Conversion from UTF-32 to legacy encodings. + +Files: +lib/uniconv/u32-strconv-to-enc.c +lib/uniconv/u-strconv-to-enc.h + +Depends-on: +uniconv/base +striconveha +uniconv/u8-strconv-to-enc +unistr/u32-to-u8 +unistr/u32-strlen + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [uniconv/u32-strconv-to-enc]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICONV_U32_STRCONV_TO_ENC +lib_SOURCES += uniconv/u32-strconv-to-enc.c +endif + +Include: +"uniconv.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniconv/u32-strconv-to-enc-tests b/gnulib/modules/uniconv/u32-strconv-to-enc-tests new file mode 100644 index 0000000..7f02f58 --- /dev/null +++ b/gnulib/modules/uniconv/u32-strconv-to-enc-tests @@ -0,0 +1,15 @@ +Files: +tests/uniconv/test-u32-strconv-to-enc.c +tests/macros.h + +Depends-on: +unistr/u32-strcmp + +configure.ac: + +Makefile.am: +TESTS += test-u32-strconv-to-enc +check_PROGRAMS += test-u32-strconv-to-enc +test_u32_strconv_to_enc_SOURCES = uniconv/test-u32-strconv-to-enc.c +test_u32_strconv_to_enc_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ + diff --git a/gnulib/modules/uniconv/u32-strconv-to-locale b/gnulib/modules/uniconv/u32-strconv-to-locale new file mode 100644 index 0000000..65260f6 --- /dev/null +++ b/gnulib/modules/uniconv/u32-strconv-to-locale @@ -0,0 +1,28 @@ +Description: +Conversion from UTF-32 to the locale encoding. + +Files: +lib/uniconv/u32-strconv-to-locale.c + +Depends-on: +uniconv/base +uniconv/u32-strconv-to-enc +localcharset + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [uniconv/u32-strconv-to-locale]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICONV_U32_STRCONV_TO_LOCALE +lib_SOURCES += uniconv/u32-strconv-to-locale.c +endif + +Include: +"uniconv.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniconv/u8-conv-from-enc b/gnulib/modules/uniconv/u8-conv-from-enc new file mode 100644 index 0000000..659665e --- /dev/null +++ b/gnulib/modules/uniconv/u8-conv-from-enc @@ -0,0 +1,30 @@ +Description: +Conversion to UTF-8 from legacy encodings. + +Files: +lib/uniconv/u8-conv-from-enc.c + +Depends-on: +uniconv/base +c-strcaseeq +striconveha +unistr/u8-check +unistr/u8-mblen + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [uniconv/u8-conv-from-enc]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICONV_U8_CONV_FROM_ENC +lib_SOURCES += uniconv/u8-conv-from-enc.c +endif + +Include: +"uniconv.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniconv/u8-conv-from-enc-tests b/gnulib/modules/uniconv/u8-conv-from-enc-tests new file mode 100644 index 0000000..a9b7d77 --- /dev/null +++ b/gnulib/modules/uniconv/u8-conv-from-enc-tests @@ -0,0 +1,16 @@ +Files: +tests/uniconv/test-u8-conv-from-enc.c +tests/macros.h + +Depends-on: +unistr/u8-strlen +unistr/u8-cmp + +configure.ac: + +Makefile.am: +TESTS += test-u8-conv-from-enc +check_PROGRAMS += test-u8-conv-from-enc +test_u8_conv_from_enc_SOURCES = uniconv/test-u8-conv-from-enc.c +test_u8_conv_from_enc_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ + diff --git a/gnulib/modules/uniconv/u8-conv-to-enc b/gnulib/modules/uniconv/u8-conv-to-enc new file mode 100644 index 0000000..8ab4443 --- /dev/null +++ b/gnulib/modules/uniconv/u8-conv-to-enc @@ -0,0 +1,29 @@ +Description: +Conversion from UTF-8 to legacy encodings. + +Files: +lib/uniconv/u8-conv-to-enc.c + +Depends-on: +uniconv/base +c-strcaseeq +striconveha +unistr/u8-check + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [uniconv/u8-conv-to-enc]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICONV_U8_CONV_TO_ENC +lib_SOURCES += uniconv/u8-conv-to-enc.c +endif + +Include: +"uniconv.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniconv/u8-conv-to-enc-tests b/gnulib/modules/uniconv/u8-conv-to-enc-tests new file mode 100644 index 0000000..e5d3434 --- /dev/null +++ b/gnulib/modules/uniconv/u8-conv-to-enc-tests @@ -0,0 +1,15 @@ +Files: +tests/uniconv/test-u8-conv-to-enc.c +tests/macros.h + +Depends-on: +unistr/u8-strlen + +configure.ac: + +Makefile.am: +TESTS += test-u8-conv-to-enc +check_PROGRAMS += test-u8-conv-to-enc +test_u8_conv_to_enc_SOURCES = uniconv/test-u8-conv-to-enc.c +test_u8_conv_to_enc_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ + diff --git a/gnulib/modules/uniconv/u8-strconv-from-enc b/gnulib/modules/uniconv/u8-strconv-from-enc new file mode 100644 index 0000000..95227b5 --- /dev/null +++ b/gnulib/modules/uniconv/u8-strconv-from-enc @@ -0,0 +1,29 @@ +Description: +Conversion to UTF-8 from legacy encodings. + +Files: +lib/uniconv/u8-strconv-from-enc.c +lib/uniconv/u-strconv-from-enc.h + +Depends-on: +uniconv/base +uniconv/u8-conv-from-enc +unistr/u8-strlen + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [uniconv/u8-strconv-from-enc]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICONV_U8_STRCONV_FROM_ENC +lib_SOURCES += uniconv/u8-strconv-from-enc.c +endif + +Include: +"uniconv.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniconv/u8-strconv-from-enc-tests b/gnulib/modules/uniconv/u8-strconv-from-enc-tests new file mode 100644 index 0000000..e18f6a5 --- /dev/null +++ b/gnulib/modules/uniconv/u8-strconv-from-enc-tests @@ -0,0 +1,15 @@ +Files: +tests/uniconv/test-u8-strconv-from-enc.c +tests/macros.h + +Depends-on: +unistr/u8-strcmp + +configure.ac: + +Makefile.am: +TESTS += test-u8-strconv-from-enc +check_PROGRAMS += test-u8-strconv-from-enc +test_u8_strconv_from_enc_SOURCES = uniconv/test-u8-strconv-from-enc.c +test_u8_strconv_from_enc_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ + diff --git a/gnulib/modules/uniconv/u8-strconv-from-locale b/gnulib/modules/uniconv/u8-strconv-from-locale new file mode 100644 index 0000000..e1dbb74 --- /dev/null +++ b/gnulib/modules/uniconv/u8-strconv-from-locale @@ -0,0 +1,28 @@ +Description: +Conversion to UTF-8 from the locale encoding. + +Files: +lib/uniconv/u8-strconv-from-locale.c + +Depends-on: +uniconv/base +uniconv/u8-strconv-from-enc +localcharset + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [uniconv/u8-strconv-from-locale]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICONV_U8_STRCONV_FROM_LOCALE +lib_SOURCES += uniconv/u8-strconv-from-locale.c +endif + +Include: +"uniconv.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniconv/u8-strconv-to-enc b/gnulib/modules/uniconv/u8-strconv-to-enc new file mode 100644 index 0000000..533a453 --- /dev/null +++ b/gnulib/modules/uniconv/u8-strconv-to-enc @@ -0,0 +1,30 @@ +Description: +Conversion from UTF-8 to legacy encodings. + +Files: +lib/uniconv/u8-strconv-to-enc.c + +Depends-on: +uniconv/base +c-strcaseeq +striconveha +unistr/u8-check +unistr/u8-strlen + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [uniconv/u8-strconv-to-enc]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICONV_U8_STRCONV_TO_ENC +lib_SOURCES += uniconv/u8-strconv-to-enc.c +endif + +Include: +"uniconv.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniconv/u8-strconv-to-enc-tests b/gnulib/modules/uniconv/u8-strconv-to-enc-tests new file mode 100644 index 0000000..4eb1e1f --- /dev/null +++ b/gnulib/modules/uniconv/u8-strconv-to-enc-tests @@ -0,0 +1,15 @@ +Files: +tests/uniconv/test-u8-strconv-to-enc.c +tests/macros.h + +Depends-on: +unistr/u8-strcmp + +configure.ac: + +Makefile.am: +TESTS += test-u8-strconv-to-enc +check_PROGRAMS += test-u8-strconv-to-enc +test_u8_strconv_to_enc_SOURCES = uniconv/test-u8-strconv-to-enc.c +test_u8_strconv_to_enc_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ + diff --git a/gnulib/modules/uniconv/u8-strconv-to-locale b/gnulib/modules/uniconv/u8-strconv-to-locale new file mode 100644 index 0000000..7d3e652 --- /dev/null +++ b/gnulib/modules/uniconv/u8-strconv-to-locale @@ -0,0 +1,28 @@ +Description: +Conversion from UTF-8 to the locale encoding. + +Files: +lib/uniconv/u8-strconv-to-locale.c + +Depends-on: +uniconv/base +uniconv/u8-strconv-to-enc +localcharset + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [uniconv/u8-strconv-to-locale]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICONV_U8_STRCONV_TO_LOCALE +lib_SOURCES += uniconv/u8-strconv-to-locale.c +endif + +Include: +"uniconv.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/base b/gnulib/modules/unictype/base new file mode 100644 index 0000000..0d53640 --- /dev/null +++ b/gnulib/modules/unictype/base @@ -0,0 +1,34 @@ +Description: +Base layer for Unicode classification and properties. + +Files: +lib/unictype.in.h +m4/libunistring-base.m4 + +Depends-on: +unitypes +stdbool + +configure.ac: +gl_LIBUNISTRING_LIBHEADER([0.9.4], [unictype.h]) + +Makefile.am: +BUILT_SOURCES += $(LIBUNISTRING_UNICTYPE_H) + +unictype.h: unictype.in.h + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + cat $(srcdir)/unictype.in.h; \ + } > $@-t && \ + mv -f $@-t $@ +MOSTLYCLEANFILES += unictype.h unictype.h-t + +Include: +"unictype.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/bidicategory-all b/gnulib/modules/unictype/bidicategory-all new file mode 100644 index 0000000..2411237 --- /dev/null +++ b/gnulib/modules/unictype/bidicategory-all @@ -0,0 +1,26 @@ +Description: +Unicode character bidi category functions. + +Status: +deprecated + +Notice: +This module is deprecated. Use the module 'unictype/bidiclass-all' instead. + +Files: + +Depends-on: +unictype/bidiclass-all + +configure.ac: + +Makefile.am: + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/unictype/bidicategory-byname b/gnulib/modules/unictype/bidicategory-byname new file mode 100644 index 0000000..7e908e8 --- /dev/null +++ b/gnulib/modules/unictype/bidicategory-byname @@ -0,0 +1,26 @@ +Description: +Find a Unicode character bidi category, given its name. + +Status: +deprecated + +Notice: +This module is deprecated. Use the module 'unictype/bidiclass-byname' instead. + +Files: + +Depends-on: +unictype/bidiclass-byname + +configure.ac: + +Makefile.am: + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/unictype/bidicategory-name b/gnulib/modules/unictype/bidicategory-name new file mode 100644 index 0000000..58f6687 --- /dev/null +++ b/gnulib/modules/unictype/bidicategory-name @@ -0,0 +1,26 @@ +Description: +Name of Unicode character bidi category. + +Status: +deprecated + +Notice: +This module is deprecated. Use the module 'unictype/bidiclass-name' instead. + +Files: + +Depends-on: +unictype/bidiclass-name + +configure.ac: + +Makefile.am: + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/unictype/bidicategory-of b/gnulib/modules/unictype/bidicategory-of new file mode 100644 index 0000000..4380a35 --- /dev/null +++ b/gnulib/modules/unictype/bidicategory-of @@ -0,0 +1,26 @@ +Description: +Determine bidi category of a Unicode character. + +Status: +deprecated + +Notice: +This module is deprecated. Use the module 'unictype/bidiclass-of' instead. + +Files: + +Depends-on: +unictype/bidiclass-of + +configure.ac: + +Makefile.am: + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/unictype/bidicategory-test b/gnulib/modules/unictype/bidicategory-test new file mode 100644 index 0000000..89e6b75 --- /dev/null +++ b/gnulib/modules/unictype/bidicategory-test @@ -0,0 +1,26 @@ +Description: +Test whether a Unicode character belongs to a given bidi category. + +Status: +deprecated + +Notice: +This module is deprecated. Use the module 'unictype/bidiclass-test' instead. + +Files: + +Depends-on: +unictype/bidiclass-test + +configure.ac: + +Makefile.am: + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/unictype/bidiclass-all b/gnulib/modules/unictype/bidiclass-all new file mode 100644 index 0000000..500d843 --- /dev/null +++ b/gnulib/modules/unictype/bidiclass-all @@ -0,0 +1,25 @@ +Description: +Complete API for Unicode character bidi categories. + +Files: + +Depends-on: +unictype/base +unictype/bidiclass-byname +unictype/bidiclass-longname +unictype/bidiclass-name +unictype/bidiclass-of +unictype/bidiclass-test + +configure.ac: + +Makefile.am: + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/unictype/bidiclass-byname b/gnulib/modules/unictype/bidiclass-byname new file mode 100644 index 0000000..e0a06e7 --- /dev/null +++ b/gnulib/modules/unictype/bidiclass-byname @@ -0,0 +1,35 @@ +Description: +Find a Unicode character bidi class, given its name. + +Files: +lib/unictype/bidi_byname.c +lib/unictype/bidi_byname.gperf + +Depends-on: +unictype/base +gperf + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/bidiclass-byname]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_BIDICLASS_BYNAME +lib_SOURCES += unictype/bidi_byname.c +endif + +unictype/bidi_byname.h: unictype/bidi_byname.gperf + $(GPERF) -m 10 $(srcdir)/unictype/bidi_byname.gperf > $(srcdir)/unictype/bidi_byname.h-t + mv $(srcdir)/unictype/bidi_byname.h-t $(srcdir)/unictype/bidi_byname.h +BUILT_SOURCES += unictype/bidi_byname.h +MOSTLYCLEANFILES += unictype/bidi_byname.h-t +MAINTAINERCLEANFILES += unictype/bidi_byname.h +EXTRA_DIST += unictype/bidi_byname.h + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/unictype/bidiclass-byname-tests b/gnulib/modules/unictype/bidiclass-byname-tests new file mode 100644 index 0000000..dd0f536 --- /dev/null +++ b/gnulib/modules/unictype/bidiclass-byname-tests @@ -0,0 +1,13 @@ +Files: +tests/unictype/test-bidi_byname.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-bidi_byname +check_PROGRAMS += test-bidi_byname +test_bidi_byname_SOURCES = unictype/test-bidi_byname.c +test_bidi_byname_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/bidiclass-longname b/gnulib/modules/unictype/bidiclass-longname new file mode 100644 index 0000000..b2c9333 --- /dev/null +++ b/gnulib/modules/unictype/bidiclass-longname @@ -0,0 +1,25 @@ +Description: +Name of Unicode character bidi class. + +Files: +lib/unictype/bidi_longname.c + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/bidiclass-longname]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_BIDICLASS_LONGNAME +lib_SOURCES += unictype/bidi_longname.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/unictype/bidiclass-longname-tests b/gnulib/modules/unictype/bidiclass-longname-tests new file mode 100644 index 0000000..433fc89 --- /dev/null +++ b/gnulib/modules/unictype/bidiclass-longname-tests @@ -0,0 +1,13 @@ +Files: +tests/unictype/test-bidi_longname.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-bidi_longname +check_PROGRAMS += test-bidi_longname +test_bidi_longname_SOURCES = unictype/test-bidi_longname.c +test_bidi_longname_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/bidiclass-name b/gnulib/modules/unictype/bidiclass-name new file mode 100644 index 0000000..3616a13 --- /dev/null +++ b/gnulib/modules/unictype/bidiclass-name @@ -0,0 +1,25 @@ +Description: +Name of Unicode character bidi class. + +Files: +lib/unictype/bidi_name.c + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/bidiclass-name]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_BIDICLASS_NAME +lib_SOURCES += unictype/bidi_name.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/unictype/bidiclass-name-tests b/gnulib/modules/unictype/bidiclass-name-tests new file mode 100644 index 0000000..7f19888 --- /dev/null +++ b/gnulib/modules/unictype/bidiclass-name-tests @@ -0,0 +1,13 @@ +Files: +tests/unictype/test-bidi_name.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-bidi_name +check_PROGRAMS += test-bidi_name +test_bidi_name_SOURCES = unictype/test-bidi_name.c +test_bidi_name_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/bidiclass-of b/gnulib/modules/unictype/bidiclass-of new file mode 100644 index 0000000..33ca78c --- /dev/null +++ b/gnulib/modules/unictype/bidiclass-of @@ -0,0 +1,26 @@ +Description: +Determine bidi class of a Unicode character. + +Files: +lib/unictype/bidi_of.c +lib/unictype/bidi_of.h + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/bidiclass-of]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_BIDICLASS_OF +lib_SOURCES += unictype/bidi_of.c +endif + +Include: +"unictype.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/unictype/bidiclass-of-tests b/gnulib/modules/unictype/bidiclass-of-tests new file mode 100644 index 0000000..2fbb2b4 --- /dev/null +++ b/gnulib/modules/unictype/bidiclass-of-tests @@ -0,0 +1,13 @@ +Files: +tests/unictype/test-bidi_of.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-bidi_of +check_PROGRAMS += test-bidi_of +test_bidi_of_SOURCES = unictype/test-bidi_of.c +test_bidi_of_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/bidiclass-test b/gnulib/modules/unictype/bidiclass-test new file mode 100644 index 0000000..1a03529 --- /dev/null +++ b/gnulib/modules/unictype/bidiclass-test @@ -0,0 +1,26 @@ +Description: +Test whether a Unicode character belongs to a given bidi class. + +Files: +lib/unictype/bidi_test.c + +Depends-on: +unictype/base +unictype/bidiclass-of + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/bidiclass-test]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_BIDICLASS_TEST +lib_SOURCES += unictype/bidi_test.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/unictype/bidiclass-test-tests b/gnulib/modules/unictype/bidiclass-test-tests new file mode 100644 index 0000000..dc73cb2 --- /dev/null +++ b/gnulib/modules/unictype/bidiclass-test-tests @@ -0,0 +1,14 @@ +Files: +tests/unictype/test-bidi_test.c +tests/macros.h + +Depends-on: +unictype/bidiclass-of + +configure.ac: + +Makefile.am: +TESTS += test-bidi_test +check_PROGRAMS += test-bidi_test +test_bidi_test_SOURCES = unictype/test-bidi_test.c +test_bidi_test_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/block-all b/gnulib/modules/unictype/block-all new file mode 100644 index 0000000..92de856 --- /dev/null +++ b/gnulib/modules/unictype/block-all @@ -0,0 +1,23 @@ +Description: +Complete API for blocks of Unicode characters. + +Files: + +Depends-on: +unictype/block-of +unictype/block-test +unictype/block-list + +configure.ac: + +Makefile.am: + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/block-list b/gnulib/modules/unictype/block-list new file mode 100644 index 0000000..023a4b0 --- /dev/null +++ b/gnulib/modules/unictype/block-list @@ -0,0 +1,27 @@ +Description: +List of Unicode character blocks. + +Files: +lib/unictype/blocks.c +lib/unictype/blocks.h + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/block-list]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_BLOCK_LIST +lib_SOURCES += unictype/blocks.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/block-list-tests b/gnulib/modules/unictype/block-list-tests new file mode 100644 index 0000000..4e23d92 --- /dev/null +++ b/gnulib/modules/unictype/block-list-tests @@ -0,0 +1,13 @@ +Files: +tests/unictype/test-block_list.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-block_list +check_PROGRAMS += test-block_list +test_block_list_SOURCES = unictype/test-block_list.c +test_block_list_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/block-of b/gnulib/modules/unictype/block-of new file mode 100644 index 0000000..d5bd193 --- /dev/null +++ b/gnulib/modules/unictype/block-of @@ -0,0 +1,22 @@ +Description: +Determine block of a Unicode character. + +Files: + +Depends-on: +unictype/base +unictype/block-list + +configure.ac: + +Makefile.am: + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/block-of-tests b/gnulib/modules/unictype/block-of-tests new file mode 100644 index 0000000..2bfc019 --- /dev/null +++ b/gnulib/modules/unictype/block-of-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-block_of.c +tests/macros.h + +Depends-on: +unictype/block-list +unictype/block-test + +configure.ac: + +Makefile.am: +TESTS += test-block_of +check_PROGRAMS += test-block_of +test_block_of_SOURCES = unictype/test-block_of.c +test_block_of_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/block-test b/gnulib/modules/unictype/block-test new file mode 100644 index 0000000..d28f3f3 --- /dev/null +++ b/gnulib/modules/unictype/block-test @@ -0,0 +1,26 @@ +Description: +Test whether a Unicode character belongs to a given Unicode block. + +Files: +lib/unictype/block_test.c + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/block-test]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_BLOCK_TEST +lib_SOURCES += unictype/block_test.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/block-test-tests b/gnulib/modules/unictype/block-test-tests new file mode 100644 index 0000000..edda2f2 --- /dev/null +++ b/gnulib/modules/unictype/block-test-tests @@ -0,0 +1,13 @@ +Files: +tests/unictype/test-block_test.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-block_test +check_PROGRAMS += test-block_test +test_block_test_SOURCES = unictype/test-block_test.c +test_block_test_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/category-C b/gnulib/modules/unictype/category-C new file mode 100644 index 0000000..6b0e5db --- /dev/null +++ b/gnulib/modules/unictype/category-C @@ -0,0 +1,27 @@ +Description: +Test whether a Unicode character is of general category C. + +Files: +lib/unictype/categ_C.c +lib/unictype/categ_C.h + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/category-C]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_C +lib_SOURCES += unictype/categ_C.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/category-C-tests b/gnulib/modules/unictype/category-C-tests new file mode 100644 index 0000000..07babf2 --- /dev/null +++ b/gnulib/modules/unictype/category-C-tests @@ -0,0 +1,16 @@ +Files: +tests/unictype/test-categ_C.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: +unictype/category-test + +configure.ac: + +Makefile.am: +TESTS += test-categ_C +check_PROGRAMS += test-categ_C +test_categ_C_SOURCES = unictype/test-categ_C.c +test_categ_C_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/category-Cc b/gnulib/modules/unictype/category-Cc new file mode 100644 index 0000000..74fad8e --- /dev/null +++ b/gnulib/modules/unictype/category-Cc @@ -0,0 +1,27 @@ +Description: +Test whether a Unicode character is of general category Cc. + +Files: +lib/unictype/categ_Cc.c +lib/unictype/categ_Cc.h + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unictype/category-Cc]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_CC +lib_SOURCES += unictype/categ_Cc.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/category-Cc-tests b/gnulib/modules/unictype/category-Cc-tests new file mode 100644 index 0000000..7d53490 --- /dev/null +++ b/gnulib/modules/unictype/category-Cc-tests @@ -0,0 +1,16 @@ +Files: +tests/unictype/test-categ_Cc.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: +unictype/category-test + +configure.ac: + +Makefile.am: +TESTS += test-categ_Cc +check_PROGRAMS += test-categ_Cc +test_categ_Cc_SOURCES = unictype/test-categ_Cc.c +test_categ_Cc_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/category-Cf b/gnulib/modules/unictype/category-Cf new file mode 100644 index 0000000..ed25ec8 --- /dev/null +++ b/gnulib/modules/unictype/category-Cf @@ -0,0 +1,27 @@ +Description: +Test whether a Unicode character is of general category Cf. + +Files: +lib/unictype/categ_Cf.c +lib/unictype/categ_Cf.h + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/category-Cf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_CF +lib_SOURCES += unictype/categ_Cf.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/category-Cf-tests b/gnulib/modules/unictype/category-Cf-tests new file mode 100644 index 0000000..131d219 --- /dev/null +++ b/gnulib/modules/unictype/category-Cf-tests @@ -0,0 +1,16 @@ +Files: +tests/unictype/test-categ_Cf.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: +unictype/category-test + +configure.ac: + +Makefile.am: +TESTS += test-categ_Cf +check_PROGRAMS += test-categ_Cf +test_categ_Cf_SOURCES = unictype/test-categ_Cf.c +test_categ_Cf_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/category-Cn b/gnulib/modules/unictype/category-Cn new file mode 100644 index 0000000..5b4afef --- /dev/null +++ b/gnulib/modules/unictype/category-Cn @@ -0,0 +1,27 @@ +Description: +Test whether a Unicode character is of general category Cn. + +Files: +lib/unictype/categ_Cn.c +lib/unictype/categ_Cn.h + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/category-Cn]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_CN +lib_SOURCES += unictype/categ_Cn.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/category-Cn-tests b/gnulib/modules/unictype/category-Cn-tests new file mode 100644 index 0000000..4fa8fe9 --- /dev/null +++ b/gnulib/modules/unictype/category-Cn-tests @@ -0,0 +1,16 @@ +Files: +tests/unictype/test-categ_Cn.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: +unictype/category-test + +configure.ac: + +Makefile.am: +TESTS += test-categ_Cn +check_PROGRAMS += test-categ_Cn +test_categ_Cn_SOURCES = unictype/test-categ_Cn.c +test_categ_Cn_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/category-Co b/gnulib/modules/unictype/category-Co new file mode 100644 index 0000000..d5e6096 --- /dev/null +++ b/gnulib/modules/unictype/category-Co @@ -0,0 +1,27 @@ +Description: +Test whether a Unicode character is of general category Co. + +Files: +lib/unictype/categ_Co.c +lib/unictype/categ_Co.h + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unictype/category-Co]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_CO +lib_SOURCES += unictype/categ_Co.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/category-Co-tests b/gnulib/modules/unictype/category-Co-tests new file mode 100644 index 0000000..62d5139 --- /dev/null +++ b/gnulib/modules/unictype/category-Co-tests @@ -0,0 +1,16 @@ +Files: +tests/unictype/test-categ_Co.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: +unictype/category-test + +configure.ac: + +Makefile.am: +TESTS += test-categ_Co +check_PROGRAMS += test-categ_Co +test_categ_Co_SOURCES = unictype/test-categ_Co.c +test_categ_Co_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/category-Cs b/gnulib/modules/unictype/category-Cs new file mode 100644 index 0000000..1261b5b --- /dev/null +++ b/gnulib/modules/unictype/category-Cs @@ -0,0 +1,27 @@ +Description: +Test whether a Unicode character is of general category Cs. + +Files: +lib/unictype/categ_Cs.c +lib/unictype/categ_Cs.h + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unictype/category-Cs]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_CS +lib_SOURCES += unictype/categ_Cs.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/category-Cs-tests b/gnulib/modules/unictype/category-Cs-tests new file mode 100644 index 0000000..71bf050 --- /dev/null +++ b/gnulib/modules/unictype/category-Cs-tests @@ -0,0 +1,16 @@ +Files: +tests/unictype/test-categ_Cs.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: +unictype/category-test + +configure.ac: + +Makefile.am: +TESTS += test-categ_Cs +check_PROGRAMS += test-categ_Cs +test_categ_Cs_SOURCES = unictype/test-categ_Cs.c +test_categ_Cs_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/category-L b/gnulib/modules/unictype/category-L new file mode 100644 index 0000000..f295720 --- /dev/null +++ b/gnulib/modules/unictype/category-L @@ -0,0 +1,27 @@ +Description: +Test whether a Unicode character is of general category L. + +Files: +lib/unictype/categ_L.c +lib/unictype/categ_L.h + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/category-L]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_L +lib_SOURCES += unictype/categ_L.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/category-L-tests b/gnulib/modules/unictype/category-L-tests new file mode 100644 index 0000000..91ffa06 --- /dev/null +++ b/gnulib/modules/unictype/category-L-tests @@ -0,0 +1,16 @@ +Files: +tests/unictype/test-categ_L.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: +unictype/category-test + +configure.ac: + +Makefile.am: +TESTS += test-categ_L +check_PROGRAMS += test-categ_L +test_categ_L_SOURCES = unictype/test-categ_L.c +test_categ_L_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/category-LC b/gnulib/modules/unictype/category-LC new file mode 100644 index 0000000..42ca0be --- /dev/null +++ b/gnulib/modules/unictype/category-LC @@ -0,0 +1,26 @@ +Description: +Test whether a Unicode character is of general category LC. + +Files: +lib/unictype/categ_LC.c +lib/unictype/categ_LC.h + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/category-LC]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LC +lib_SOURCES += unictype/categ_LC.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/unictype/category-LC-tests b/gnulib/modules/unictype/category-LC-tests new file mode 100644 index 0000000..71d15bd --- /dev/null +++ b/gnulib/modules/unictype/category-LC-tests @@ -0,0 +1,16 @@ +Files: +tests/unictype/test-categ_LC.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: +unictype/category-test + +configure.ac: + +Makefile.am: +TESTS += test-categ_LC +check_PROGRAMS += test-categ_LC +test_categ_LC_SOURCES = unictype/test-categ_LC.c +test_categ_LC_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/category-Ll b/gnulib/modules/unictype/category-Ll new file mode 100644 index 0000000..40c743d --- /dev/null +++ b/gnulib/modules/unictype/category-Ll @@ -0,0 +1,27 @@ +Description: +Test whether a Unicode character is of general category Ll. + +Files: +lib/unictype/categ_Ll.c +lib/unictype/categ_Ll.h + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/category-Ll]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LL +lib_SOURCES += unictype/categ_Ll.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/category-Ll-tests b/gnulib/modules/unictype/category-Ll-tests new file mode 100644 index 0000000..21a37a5 --- /dev/null +++ b/gnulib/modules/unictype/category-Ll-tests @@ -0,0 +1,16 @@ +Files: +tests/unictype/test-categ_Ll.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: +unictype/category-test + +configure.ac: + +Makefile.am: +TESTS += test-categ_Ll +check_PROGRAMS += test-categ_Ll +test_categ_Ll_SOURCES = unictype/test-categ_Ll.c +test_categ_Ll_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/category-Lm b/gnulib/modules/unictype/category-Lm new file mode 100644 index 0000000..0910596 --- /dev/null +++ b/gnulib/modules/unictype/category-Lm @@ -0,0 +1,27 @@ +Description: +Test whether a Unicode character is of general category Lm. + +Files: +lib/unictype/categ_Lm.c +lib/unictype/categ_Lm.h + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/category-Lm]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LM +lib_SOURCES += unictype/categ_Lm.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/category-Lm-tests b/gnulib/modules/unictype/category-Lm-tests new file mode 100644 index 0000000..fd9b39c --- /dev/null +++ b/gnulib/modules/unictype/category-Lm-tests @@ -0,0 +1,16 @@ +Files: +tests/unictype/test-categ_Lm.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: +unictype/category-test + +configure.ac: + +Makefile.am: +TESTS += test-categ_Lm +check_PROGRAMS += test-categ_Lm +test_categ_Lm_SOURCES = unictype/test-categ_Lm.c +test_categ_Lm_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/category-Lo b/gnulib/modules/unictype/category-Lo new file mode 100644 index 0000000..7a7df2e --- /dev/null +++ b/gnulib/modules/unictype/category-Lo @@ -0,0 +1,27 @@ +Description: +Test whether a Unicode character is of general category Lo. + +Files: +lib/unictype/categ_Lo.c +lib/unictype/categ_Lo.h + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/category-Lo]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LO +lib_SOURCES += unictype/categ_Lo.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/category-Lo-tests b/gnulib/modules/unictype/category-Lo-tests new file mode 100644 index 0000000..7c8e89a --- /dev/null +++ b/gnulib/modules/unictype/category-Lo-tests @@ -0,0 +1,16 @@ +Files: +tests/unictype/test-categ_Lo.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: +unictype/category-test + +configure.ac: + +Makefile.am: +TESTS += test-categ_Lo +check_PROGRAMS += test-categ_Lo +test_categ_Lo_SOURCES = unictype/test-categ_Lo.c +test_categ_Lo_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/category-Lt b/gnulib/modules/unictype/category-Lt new file mode 100644 index 0000000..e433d8f --- /dev/null +++ b/gnulib/modules/unictype/category-Lt @@ -0,0 +1,27 @@ +Description: +Test whether a Unicode character is of general category Lt. + +Files: +lib/unictype/categ_Lt.c +lib/unictype/categ_Lt.h + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unictype/category-Lt]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LT +lib_SOURCES += unictype/categ_Lt.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/category-Lt-tests b/gnulib/modules/unictype/category-Lt-tests new file mode 100644 index 0000000..9f3d7b7 --- /dev/null +++ b/gnulib/modules/unictype/category-Lt-tests @@ -0,0 +1,16 @@ +Files: +tests/unictype/test-categ_Lt.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: +unictype/category-test + +configure.ac: + +Makefile.am: +TESTS += test-categ_Lt +check_PROGRAMS += test-categ_Lt +test_categ_Lt_SOURCES = unictype/test-categ_Lt.c +test_categ_Lt_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/category-Lu b/gnulib/modules/unictype/category-Lu new file mode 100644 index 0000000..d265db2 --- /dev/null +++ b/gnulib/modules/unictype/category-Lu @@ -0,0 +1,27 @@ +Description: +Test whether a Unicode character is of general category Lu. + +Files: +lib/unictype/categ_Lu.c +lib/unictype/categ_Lu.h + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/category-Lu]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LU +lib_SOURCES += unictype/categ_Lu.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/category-Lu-tests b/gnulib/modules/unictype/category-Lu-tests new file mode 100644 index 0000000..e8e05c7 --- /dev/null +++ b/gnulib/modules/unictype/category-Lu-tests @@ -0,0 +1,16 @@ +Files: +tests/unictype/test-categ_Lu.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: +unictype/category-test + +configure.ac: + +Makefile.am: +TESTS += test-categ_Lu +check_PROGRAMS += test-categ_Lu +test_categ_Lu_SOURCES = unictype/test-categ_Lu.c +test_categ_Lu_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/category-M b/gnulib/modules/unictype/category-M new file mode 100644 index 0000000..ab28030 --- /dev/null +++ b/gnulib/modules/unictype/category-M @@ -0,0 +1,27 @@ +Description: +Test whether a Unicode character is of general category M. + +Files: +lib/unictype/categ_M.c +lib/unictype/categ_M.h + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/category-M]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_M +lib_SOURCES += unictype/categ_M.c +endif + +Include: +"unictype.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/category-M-tests b/gnulib/modules/unictype/category-M-tests new file mode 100644 index 0000000..1615877 --- /dev/null +++ b/gnulib/modules/unictype/category-M-tests @@ -0,0 +1,16 @@ +Files: +tests/unictype/test-categ_M.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: +unictype/category-test + +configure.ac: + +Makefile.am: +TESTS += test-categ_M +check_PROGRAMS += test-categ_M +test_categ_M_SOURCES = unictype/test-categ_M.c +test_categ_M_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/category-Mc b/gnulib/modules/unictype/category-Mc new file mode 100644 index 0000000..d0ad94d --- /dev/null +++ b/gnulib/modules/unictype/category-Mc @@ -0,0 +1,27 @@ +Description: +Test whether a Unicode character is of general category Mc. + +Files: +lib/unictype/categ_Mc.c +lib/unictype/categ_Mc.h + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/category-Mc]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_MC +lib_SOURCES += unictype/categ_Mc.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/category-Mc-tests b/gnulib/modules/unictype/category-Mc-tests new file mode 100644 index 0000000..50661a3 --- /dev/null +++ b/gnulib/modules/unictype/category-Mc-tests @@ -0,0 +1,16 @@ +Files: +tests/unictype/test-categ_Mc.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: +unictype/category-test + +configure.ac: + +Makefile.am: +TESTS += test-categ_Mc +check_PROGRAMS += test-categ_Mc +test_categ_Mc_SOURCES = unictype/test-categ_Mc.c +test_categ_Mc_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/category-Me b/gnulib/modules/unictype/category-Me new file mode 100644 index 0000000..d8b804b --- /dev/null +++ b/gnulib/modules/unictype/category-Me @@ -0,0 +1,27 @@ +Description: +Test whether a Unicode character is of general category Me. + +Files: +lib/unictype/categ_Me.c +lib/unictype/categ_Me.h + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/category-Me]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_ME +lib_SOURCES += unictype/categ_Me.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/category-Me-tests b/gnulib/modules/unictype/category-Me-tests new file mode 100644 index 0000000..42d624a --- /dev/null +++ b/gnulib/modules/unictype/category-Me-tests @@ -0,0 +1,16 @@ +Files: +tests/unictype/test-categ_Me.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: +unictype/category-test + +configure.ac: + +Makefile.am: +TESTS += test-categ_Me +check_PROGRAMS += test-categ_Me +test_categ_Me_SOURCES = unictype/test-categ_Me.c +test_categ_Me_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/category-Mn b/gnulib/modules/unictype/category-Mn new file mode 100644 index 0000000..e6eba46 --- /dev/null +++ b/gnulib/modules/unictype/category-Mn @@ -0,0 +1,27 @@ +Description: +Test whether a Unicode character is of general category Mn. + +Files: +lib/unictype/categ_Mn.c +lib/unictype/categ_Mn.h + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/category-Mn]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_MN +lib_SOURCES += unictype/categ_Mn.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/category-Mn-tests b/gnulib/modules/unictype/category-Mn-tests new file mode 100644 index 0000000..69f6904 --- /dev/null +++ b/gnulib/modules/unictype/category-Mn-tests @@ -0,0 +1,16 @@ +Files: +tests/unictype/test-categ_Mn.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: +unictype/category-test + +configure.ac: + +Makefile.am: +TESTS += test-categ_Mn +check_PROGRAMS += test-categ_Mn +test_categ_Mn_SOURCES = unictype/test-categ_Mn.c +test_categ_Mn_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/category-N b/gnulib/modules/unictype/category-N new file mode 100644 index 0000000..2a0d504 --- /dev/null +++ b/gnulib/modules/unictype/category-N @@ -0,0 +1,27 @@ +Description: +Test whether a Unicode character is of general category N. + +Files: +lib/unictype/categ_N.c +lib/unictype/categ_N.h + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/category-N]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_N +lib_SOURCES += unictype/categ_N.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/category-N-tests b/gnulib/modules/unictype/category-N-tests new file mode 100644 index 0000000..7727a9b --- /dev/null +++ b/gnulib/modules/unictype/category-N-tests @@ -0,0 +1,16 @@ +Files: +tests/unictype/test-categ_N.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: +unictype/category-test + +configure.ac: + +Makefile.am: +TESTS += test-categ_N +check_PROGRAMS += test-categ_N +test_categ_N_SOURCES = unictype/test-categ_N.c +test_categ_N_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/category-Nd b/gnulib/modules/unictype/category-Nd new file mode 100644 index 0000000..eb24223 --- /dev/null +++ b/gnulib/modules/unictype/category-Nd @@ -0,0 +1,27 @@ +Description: +Test whether a Unicode character is of general category Nd. + +Files: +lib/unictype/categ_Nd.c +lib/unictype/categ_Nd.h + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/category-Nd]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_ND +lib_SOURCES += unictype/categ_Nd.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/category-Nd-tests b/gnulib/modules/unictype/category-Nd-tests new file mode 100644 index 0000000..023473f --- /dev/null +++ b/gnulib/modules/unictype/category-Nd-tests @@ -0,0 +1,16 @@ +Files: +tests/unictype/test-categ_Nd.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: +unictype/category-test + +configure.ac: + +Makefile.am: +TESTS += test-categ_Nd +check_PROGRAMS += test-categ_Nd +test_categ_Nd_SOURCES = unictype/test-categ_Nd.c +test_categ_Nd_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/category-Nl b/gnulib/modules/unictype/category-Nl new file mode 100644 index 0000000..b93f970 --- /dev/null +++ b/gnulib/modules/unictype/category-Nl @@ -0,0 +1,27 @@ +Description: +Test whether a Unicode character is of general category Nl. + +Files: +lib/unictype/categ_Nl.c +lib/unictype/categ_Nl.h + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/category-Nl]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_NL +lib_SOURCES += unictype/categ_Nl.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/category-Nl-tests b/gnulib/modules/unictype/category-Nl-tests new file mode 100644 index 0000000..378494d --- /dev/null +++ b/gnulib/modules/unictype/category-Nl-tests @@ -0,0 +1,16 @@ +Files: +tests/unictype/test-categ_Nl.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: +unictype/category-test + +configure.ac: + +Makefile.am: +TESTS += test-categ_Nl +check_PROGRAMS += test-categ_Nl +test_categ_Nl_SOURCES = unictype/test-categ_Nl.c +test_categ_Nl_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/category-No b/gnulib/modules/unictype/category-No new file mode 100644 index 0000000..ed907ce --- /dev/null +++ b/gnulib/modules/unictype/category-No @@ -0,0 +1,27 @@ +Description: +Test whether a Unicode character is of general category No. + +Files: +lib/unictype/categ_No.c +lib/unictype/categ_No.h + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/category-No]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_NO +lib_SOURCES += unictype/categ_No.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/category-No-tests b/gnulib/modules/unictype/category-No-tests new file mode 100644 index 0000000..acf06b6 --- /dev/null +++ b/gnulib/modules/unictype/category-No-tests @@ -0,0 +1,16 @@ +Files: +tests/unictype/test-categ_No.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: +unictype/category-test + +configure.ac: + +Makefile.am: +TESTS += test-categ_No +check_PROGRAMS += test-categ_No +test_categ_No_SOURCES = unictype/test-categ_No.c +test_categ_No_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/category-P b/gnulib/modules/unictype/category-P new file mode 100644 index 0000000..4d961a8 --- /dev/null +++ b/gnulib/modules/unictype/category-P @@ -0,0 +1,27 @@ +Description: +Test whether a Unicode character is of general category P. + +Files: +lib/unictype/categ_P.c +lib/unictype/categ_P.h + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/category-P]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_P +lib_SOURCES += unictype/categ_P.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/category-P-tests b/gnulib/modules/unictype/category-P-tests new file mode 100644 index 0000000..a17902b --- /dev/null +++ b/gnulib/modules/unictype/category-P-tests @@ -0,0 +1,16 @@ +Files: +tests/unictype/test-categ_P.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: +unictype/category-test + +configure.ac: + +Makefile.am: +TESTS += test-categ_P +check_PROGRAMS += test-categ_P +test_categ_P_SOURCES = unictype/test-categ_P.c +test_categ_P_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/category-Pc b/gnulib/modules/unictype/category-Pc new file mode 100644 index 0000000..a85a011 --- /dev/null +++ b/gnulib/modules/unictype/category-Pc @@ -0,0 +1,27 @@ +Description: +Test whether a Unicode character is of general category Pc. + +Files: +lib/unictype/categ_Pc.c +lib/unictype/categ_Pc.h + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unictype/category-Pc]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PC +lib_SOURCES += unictype/categ_Pc.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/category-Pc-tests b/gnulib/modules/unictype/category-Pc-tests new file mode 100644 index 0000000..df90ce4 --- /dev/null +++ b/gnulib/modules/unictype/category-Pc-tests @@ -0,0 +1,16 @@ +Files: +tests/unictype/test-categ_Pc.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: +unictype/category-test + +configure.ac: + +Makefile.am: +TESTS += test-categ_Pc +check_PROGRAMS += test-categ_Pc +test_categ_Pc_SOURCES = unictype/test-categ_Pc.c +test_categ_Pc_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/category-Pd b/gnulib/modules/unictype/category-Pd new file mode 100644 index 0000000..0484393 --- /dev/null +++ b/gnulib/modules/unictype/category-Pd @@ -0,0 +1,27 @@ +Description: +Test whether a Unicode character is of general category Pd. + +Files: +lib/unictype/categ_Pd.c +lib/unictype/categ_Pd.h + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/category-Pd]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PD +lib_SOURCES += unictype/categ_Pd.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/category-Pd-tests b/gnulib/modules/unictype/category-Pd-tests new file mode 100644 index 0000000..6e27471 --- /dev/null +++ b/gnulib/modules/unictype/category-Pd-tests @@ -0,0 +1,16 @@ +Files: +tests/unictype/test-categ_Pd.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: +unictype/category-test + +configure.ac: + +Makefile.am: +TESTS += test-categ_Pd +check_PROGRAMS += test-categ_Pd +test_categ_Pd_SOURCES = unictype/test-categ_Pd.c +test_categ_Pd_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/category-Pe b/gnulib/modules/unictype/category-Pe new file mode 100644 index 0000000..41b679e --- /dev/null +++ b/gnulib/modules/unictype/category-Pe @@ -0,0 +1,27 @@ +Description: +Test whether a Unicode character is of general category Pe. + +Files: +lib/unictype/categ_Pe.c +lib/unictype/categ_Pe.h + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unictype/category-Pe]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PE +lib_SOURCES += unictype/categ_Pe.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/category-Pe-tests b/gnulib/modules/unictype/category-Pe-tests new file mode 100644 index 0000000..740b40c --- /dev/null +++ b/gnulib/modules/unictype/category-Pe-tests @@ -0,0 +1,16 @@ +Files: +tests/unictype/test-categ_Pe.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: +unictype/category-test + +configure.ac: + +Makefile.am: +TESTS += test-categ_Pe +check_PROGRAMS += test-categ_Pe +test_categ_Pe_SOURCES = unictype/test-categ_Pe.c +test_categ_Pe_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/category-Pf b/gnulib/modules/unictype/category-Pf new file mode 100644 index 0000000..cbe49ee --- /dev/null +++ b/gnulib/modules/unictype/category-Pf @@ -0,0 +1,27 @@ +Description: +Test whether a Unicode character is of general category Pf. + +Files: +lib/unictype/categ_Pf.c +lib/unictype/categ_Pf.h + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unictype/category-Pf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PF +lib_SOURCES += unictype/categ_Pf.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/category-Pf-tests b/gnulib/modules/unictype/category-Pf-tests new file mode 100644 index 0000000..6e1fef5 --- /dev/null +++ b/gnulib/modules/unictype/category-Pf-tests @@ -0,0 +1,16 @@ +Files: +tests/unictype/test-categ_Pf.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: +unictype/category-test + +configure.ac: + +Makefile.am: +TESTS += test-categ_Pf +check_PROGRAMS += test-categ_Pf +test_categ_Pf_SOURCES = unictype/test-categ_Pf.c +test_categ_Pf_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/category-Pi b/gnulib/modules/unictype/category-Pi new file mode 100644 index 0000000..8ef8304 --- /dev/null +++ b/gnulib/modules/unictype/category-Pi @@ -0,0 +1,27 @@ +Description: +Test whether a Unicode character is of general category Pi. + +Files: +lib/unictype/categ_Pi.c +lib/unictype/categ_Pi.h + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unictype/category-Pi]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PI +lib_SOURCES += unictype/categ_Pi.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/category-Pi-tests b/gnulib/modules/unictype/category-Pi-tests new file mode 100644 index 0000000..7be829f --- /dev/null +++ b/gnulib/modules/unictype/category-Pi-tests @@ -0,0 +1,16 @@ +Files: +tests/unictype/test-categ_Pi.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: +unictype/category-test + +configure.ac: + +Makefile.am: +TESTS += test-categ_Pi +check_PROGRAMS += test-categ_Pi +test_categ_Pi_SOURCES = unictype/test-categ_Pi.c +test_categ_Pi_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/category-Po b/gnulib/modules/unictype/category-Po new file mode 100644 index 0000000..417511f --- /dev/null +++ b/gnulib/modules/unictype/category-Po @@ -0,0 +1,27 @@ +Description: +Test whether a Unicode character is of general category Po. + +Files: +lib/unictype/categ_Po.c +lib/unictype/categ_Po.h + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/category-Po]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PO +lib_SOURCES += unictype/categ_Po.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/category-Po-tests b/gnulib/modules/unictype/category-Po-tests new file mode 100644 index 0000000..530a43d --- /dev/null +++ b/gnulib/modules/unictype/category-Po-tests @@ -0,0 +1,16 @@ +Files: +tests/unictype/test-categ_Po.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: +unictype/category-test + +configure.ac: + +Makefile.am: +TESTS += test-categ_Po +check_PROGRAMS += test-categ_Po +test_categ_Po_SOURCES = unictype/test-categ_Po.c +test_categ_Po_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/category-Ps b/gnulib/modules/unictype/category-Ps new file mode 100644 index 0000000..0a7e3cf --- /dev/null +++ b/gnulib/modules/unictype/category-Ps @@ -0,0 +1,27 @@ +Description: +Test whether a Unicode character is of general category Ps. + +Files: +lib/unictype/categ_Ps.c +lib/unictype/categ_Ps.h + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unictype/category-Ps]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_PS +lib_SOURCES += unictype/categ_Ps.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/category-Ps-tests b/gnulib/modules/unictype/category-Ps-tests new file mode 100644 index 0000000..b502369 --- /dev/null +++ b/gnulib/modules/unictype/category-Ps-tests @@ -0,0 +1,16 @@ +Files: +tests/unictype/test-categ_Ps.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: +unictype/category-test + +configure.ac: + +Makefile.am: +TESTS += test-categ_Ps +check_PROGRAMS += test-categ_Ps +test_categ_Ps_SOURCES = unictype/test-categ_Ps.c +test_categ_Ps_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/category-S b/gnulib/modules/unictype/category-S new file mode 100644 index 0000000..2dc2e15 --- /dev/null +++ b/gnulib/modules/unictype/category-S @@ -0,0 +1,27 @@ +Description: +Test whether a Unicode character is of general category S. + +Files: +lib/unictype/categ_S.c +lib/unictype/categ_S.h + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/category-S]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_S +lib_SOURCES += unictype/categ_S.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/category-S-tests b/gnulib/modules/unictype/category-S-tests new file mode 100644 index 0000000..ed2975d --- /dev/null +++ b/gnulib/modules/unictype/category-S-tests @@ -0,0 +1,16 @@ +Files: +tests/unictype/test-categ_S.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: +unictype/category-test + +configure.ac: + +Makefile.am: +TESTS += test-categ_S +check_PROGRAMS += test-categ_S +test_categ_S_SOURCES = unictype/test-categ_S.c +test_categ_S_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/category-Sc b/gnulib/modules/unictype/category-Sc new file mode 100644 index 0000000..46fe67e --- /dev/null +++ b/gnulib/modules/unictype/category-Sc @@ -0,0 +1,27 @@ +Description: +Test whether a Unicode character is of general category Sc. + +Files: +lib/unictype/categ_Sc.c +lib/unictype/categ_Sc.h + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/category-Sc]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_SC +lib_SOURCES += unictype/categ_Sc.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/category-Sc-tests b/gnulib/modules/unictype/category-Sc-tests new file mode 100644 index 0000000..565e6fc --- /dev/null +++ b/gnulib/modules/unictype/category-Sc-tests @@ -0,0 +1,16 @@ +Files: +tests/unictype/test-categ_Sc.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: +unictype/category-test + +configure.ac: + +Makefile.am: +TESTS += test-categ_Sc +check_PROGRAMS += test-categ_Sc +test_categ_Sc_SOURCES = unictype/test-categ_Sc.c +test_categ_Sc_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/category-Sk b/gnulib/modules/unictype/category-Sk new file mode 100644 index 0000000..2ba6db7 --- /dev/null +++ b/gnulib/modules/unictype/category-Sk @@ -0,0 +1,27 @@ +Description: +Test whether a Unicode character is of general category Sk. + +Files: +lib/unictype/categ_Sk.c +lib/unictype/categ_Sk.h + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/category-Sk]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_SK +lib_SOURCES += unictype/categ_Sk.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/category-Sk-tests b/gnulib/modules/unictype/category-Sk-tests new file mode 100644 index 0000000..0ba7665 --- /dev/null +++ b/gnulib/modules/unictype/category-Sk-tests @@ -0,0 +1,16 @@ +Files: +tests/unictype/test-categ_Sk.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: +unictype/category-test + +configure.ac: + +Makefile.am: +TESTS += test-categ_Sk +check_PROGRAMS += test-categ_Sk +test_categ_Sk_SOURCES = unictype/test-categ_Sk.c +test_categ_Sk_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/category-Sm b/gnulib/modules/unictype/category-Sm new file mode 100644 index 0000000..7d4e2ff --- /dev/null +++ b/gnulib/modules/unictype/category-Sm @@ -0,0 +1,27 @@ +Description: +Test whether a Unicode character is of general category Sm. + +Files: +lib/unictype/categ_Sm.c +lib/unictype/categ_Sm.h + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/category-Sm]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_SM +lib_SOURCES += unictype/categ_Sm.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/category-Sm-tests b/gnulib/modules/unictype/category-Sm-tests new file mode 100644 index 0000000..f4fc975 --- /dev/null +++ b/gnulib/modules/unictype/category-Sm-tests @@ -0,0 +1,16 @@ +Files: +tests/unictype/test-categ_Sm.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: +unictype/category-test + +configure.ac: + +Makefile.am: +TESTS += test-categ_Sm +check_PROGRAMS += test-categ_Sm +test_categ_Sm_SOURCES = unictype/test-categ_Sm.c +test_categ_Sm_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/category-So b/gnulib/modules/unictype/category-So new file mode 100644 index 0000000..2faadb9 --- /dev/null +++ b/gnulib/modules/unictype/category-So @@ -0,0 +1,27 @@ +Description: +Test whether a Unicode character is of general category So. + +Files: +lib/unictype/categ_So.c +lib/unictype/categ_So.h + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/category-So]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_SO +lib_SOURCES += unictype/categ_So.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/category-So-tests b/gnulib/modules/unictype/category-So-tests new file mode 100644 index 0000000..e9a06ca --- /dev/null +++ b/gnulib/modules/unictype/category-So-tests @@ -0,0 +1,16 @@ +Files: +tests/unictype/test-categ_So.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: +unictype/category-test + +configure.ac: + +Makefile.am: +TESTS += test-categ_So +check_PROGRAMS += test-categ_So +test_categ_So_SOURCES = unictype/test-categ_So.c +test_categ_So_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/category-Z b/gnulib/modules/unictype/category-Z new file mode 100644 index 0000000..20eb401 --- /dev/null +++ b/gnulib/modules/unictype/category-Z @@ -0,0 +1,27 @@ +Description: +Test whether a Unicode character is of general category Z. + +Files: +lib/unictype/categ_Z.c +lib/unictype/categ_Z.h + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unictype/category-Z]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_Z +lib_SOURCES += unictype/categ_Z.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/category-Z-tests b/gnulib/modules/unictype/category-Z-tests new file mode 100644 index 0000000..db402f1 --- /dev/null +++ b/gnulib/modules/unictype/category-Z-tests @@ -0,0 +1,16 @@ +Files: +tests/unictype/test-categ_Z.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: +unictype/category-test + +configure.ac: + +Makefile.am: +TESTS += test-categ_Z +check_PROGRAMS += test-categ_Z +test_categ_Z_SOURCES = unictype/test-categ_Z.c +test_categ_Z_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/category-Zl b/gnulib/modules/unictype/category-Zl new file mode 100644 index 0000000..2e5dece --- /dev/null +++ b/gnulib/modules/unictype/category-Zl @@ -0,0 +1,27 @@ +Description: +Test whether a Unicode character is of general category Zl. + +Files: +lib/unictype/categ_Zl.c +lib/unictype/categ_Zl.h + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unictype/category-Zl]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_ZL +lib_SOURCES += unictype/categ_Zl.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/category-Zl-tests b/gnulib/modules/unictype/category-Zl-tests new file mode 100644 index 0000000..f6a5631 --- /dev/null +++ b/gnulib/modules/unictype/category-Zl-tests @@ -0,0 +1,16 @@ +Files: +tests/unictype/test-categ_Zl.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: +unictype/category-test + +configure.ac: + +Makefile.am: +TESTS += test-categ_Zl +check_PROGRAMS += test-categ_Zl +test_categ_Zl_SOURCES = unictype/test-categ_Zl.c +test_categ_Zl_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/category-Zp b/gnulib/modules/unictype/category-Zp new file mode 100644 index 0000000..82b09cd --- /dev/null +++ b/gnulib/modules/unictype/category-Zp @@ -0,0 +1,27 @@ +Description: +Test whether a Unicode character is of general category Zp. + +Files: +lib/unictype/categ_Zp.c +lib/unictype/categ_Zp.h + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unictype/category-Zp]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_ZP +lib_SOURCES += unictype/categ_Zp.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/category-Zp-tests b/gnulib/modules/unictype/category-Zp-tests new file mode 100644 index 0000000..58e016b --- /dev/null +++ b/gnulib/modules/unictype/category-Zp-tests @@ -0,0 +1,16 @@ +Files: +tests/unictype/test-categ_Zp.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: +unictype/category-test + +configure.ac: + +Makefile.am: +TESTS += test-categ_Zp +check_PROGRAMS += test-categ_Zp +test_categ_Zp_SOURCES = unictype/test-categ_Zp.c +test_categ_Zp_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/category-Zs b/gnulib/modules/unictype/category-Zs new file mode 100644 index 0000000..acf4272 --- /dev/null +++ b/gnulib/modules/unictype/category-Zs @@ -0,0 +1,27 @@ +Description: +Test whether a Unicode character is of general category Zs. + +Files: +lib/unictype/categ_Zs.c +lib/unictype/categ_Zs.h + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unictype/category-Zs]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_ZS +lib_SOURCES += unictype/categ_Zs.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/category-Zs-tests b/gnulib/modules/unictype/category-Zs-tests new file mode 100644 index 0000000..dead8a9 --- /dev/null +++ b/gnulib/modules/unictype/category-Zs-tests @@ -0,0 +1,16 @@ +Files: +tests/unictype/test-categ_Zs.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: +unictype/category-test + +configure.ac: + +Makefile.am: +TESTS += test-categ_Zs +check_PROGRAMS += test-categ_Zs +test_categ_Zs_SOURCES = unictype/test-categ_Zs.c +test_categ_Zs_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/category-all b/gnulib/modules/unictype/category-all new file mode 100644 index 0000000..2a5cbac --- /dev/null +++ b/gnulib/modules/unictype/category-all @@ -0,0 +1,67 @@ +Description: +Complete API for Unicode character categories. + +Files: + +Depends-on: +unictype/category-C +unictype/category-Cc +unictype/category-Cf +unictype/category-Cn +unictype/category-Co +unictype/category-Cs +unictype/category-L +unictype/category-LC +unictype/category-Ll +unictype/category-Lm +unictype/category-Lo +unictype/category-Lt +unictype/category-Lu +unictype/category-M +unictype/category-Mc +unictype/category-Me +unictype/category-Mn +unictype/category-N +unictype/category-Nd +unictype/category-Nl +unictype/category-No +unictype/category-P +unictype/category-Pc +unictype/category-Pd +unictype/category-Pe +unictype/category-Pf +unictype/category-Pi +unictype/category-Po +unictype/category-Ps +unictype/category-S +unictype/category-Sc +unictype/category-Sk +unictype/category-Sm +unictype/category-So +unictype/category-Z +unictype/category-Zl +unictype/category-Zp +unictype/category-Zs +unictype/category-and +unictype/category-and-not +unictype/category-byname +unictype/category-longname +unictype/category-name +unictype/category-of +unictype/category-or +unictype/category-test +unictype/category-test-withtable + +configure.ac: + +Makefile.am: + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/category-and b/gnulib/modules/unictype/category-and new file mode 100644 index 0000000..ad9977c --- /dev/null +++ b/gnulib/modules/unictype/category-and @@ -0,0 +1,28 @@ +Description: +Intersection of categories of Unicode characters. + +Files: +lib/unictype/categ_and.c + +Depends-on: +unictype/base +unictype/category-none +unictype/category-test-withtable + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unictype/category-and]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_AND +lib_SOURCES += unictype/categ_and.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/category-and-not b/gnulib/modules/unictype/category-and-not new file mode 100644 index 0000000..bbcf2c9 --- /dev/null +++ b/gnulib/modules/unictype/category-and-not @@ -0,0 +1,28 @@ +Description: +Set-difference of categories of Unicode characters. + +Files: +lib/unictype/categ_and_not.c + +Depends-on: +unictype/base +unictype/category-none +unictype/category-test-withtable + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unictype/category-and-not]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_AND_NOT +lib_SOURCES += unictype/categ_and_not.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/category-and-not-tests b/gnulib/modules/unictype/category-and-not-tests new file mode 100644 index 0000000..ba1edb8 --- /dev/null +++ b/gnulib/modules/unictype/category-and-not-tests @@ -0,0 +1,19 @@ +Files: +tests/unictype/test-categ_and_not.c +tests/macros.h + +Depends-on: +unictype/category-or +unictype/category-test +unictype/category-L +unictype/category-N +unictype/category-Lu +unictype/category-Nd + +configure.ac: + +Makefile.am: +TESTS += test-categ_and_not +check_PROGRAMS += test-categ_and_not +test_categ_and_not_SOURCES = unictype/test-categ_and_not.c +test_categ_and_not_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/category-and-tests b/gnulib/modules/unictype/category-and-tests new file mode 100644 index 0000000..cf54050 --- /dev/null +++ b/gnulib/modules/unictype/category-and-tests @@ -0,0 +1,19 @@ +Files: +tests/unictype/test-categ_and.c +tests/macros.h + +Depends-on: +unictype/category-or +unictype/category-test +unictype/category-L +unictype/category-Nd +unictype/category-Lu +unictype/category-N + +configure.ac: + +Makefile.am: +TESTS += test-categ_and +check_PROGRAMS += test-categ_and +test_categ_and_SOURCES = unictype/test-categ_and.c +test_categ_and_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/category-byname b/gnulib/modules/unictype/category-byname new file mode 100644 index 0000000..b9538fc --- /dev/null +++ b/gnulib/modules/unictype/category-byname @@ -0,0 +1,75 @@ +Description: +Find a Unicode character category, given its name. + +Files: +lib/unictype/categ_byname.c +lib/unictype/categ_byname.gperf + +Depends-on: +unictype/base +unictype/category-C +unictype/category-Cc +unictype/category-Cf +unictype/category-Cn +unictype/category-Co +unictype/category-Cs +unictype/category-L +unictype/category-LC +unictype/category-Ll +unictype/category-Lm +unictype/category-Lo +unictype/category-Lt +unictype/category-Lu +unictype/category-M +unictype/category-Mc +unictype/category-Me +unictype/category-Mn +unictype/category-N +unictype/category-Nd +unictype/category-Nl +unictype/category-No +unictype/category-P +unictype/category-Pc +unictype/category-Pd +unictype/category-Pe +unictype/category-Pf +unictype/category-Pi +unictype/category-Po +unictype/category-Ps +unictype/category-S +unictype/category-Sc +unictype/category-Sk +unictype/category-Sm +unictype/category-So +unictype/category-Z +unictype/category-Zl +unictype/category-Zp +unictype/category-Zs +unictype/category-none +gperf + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/category-byname]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_BYNAME +lib_SOURCES += unictype/categ_byname.c +endif + +unictype/categ_byname.h: unictype/categ_byname.gperf + $(GPERF) -m 10 $(srcdir)/unictype/categ_byname.gperf > $(srcdir)/unictype/categ_byname.h-t + mv $(srcdir)/unictype/categ_byname.h-t $(srcdir)/unictype/categ_byname.h +BUILT_SOURCES += unictype/categ_byname.h +MOSTLYCLEANFILES += unictype/categ_byname.h-t +MAINTAINERCLEANFILES += unictype/categ_byname.h +EXTRA_DIST += unictype/categ_byname.h + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/category-byname-tests b/gnulib/modules/unictype/category-byname-tests new file mode 100644 index 0000000..dac2f3f --- /dev/null +++ b/gnulib/modules/unictype/category-byname-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-categ_byname.c +tests/macros.h + +Depends-on: +stdbool +unictype/category-test + +configure.ac: + +Makefile.am: +TESTS += test-categ_byname +check_PROGRAMS += test-categ_byname +test_categ_byname_SOURCES = unictype/test-categ_byname.c +test_categ_byname_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/category-longname b/gnulib/modules/unictype/category-longname new file mode 100644 index 0000000..76db6d9 --- /dev/null +++ b/gnulib/modules/unictype/category-longname @@ -0,0 +1,25 @@ +Description: +Name of Unicode character category. + +Files: +lib/unictype/categ_longname.c + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/category-longname]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_LONGNAME +lib_SOURCES += unictype/categ_longname.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/unictype/category-longname-tests b/gnulib/modules/unictype/category-longname-tests new file mode 100644 index 0000000..196460a --- /dev/null +++ b/gnulib/modules/unictype/category-longname-tests @@ -0,0 +1,16 @@ +Files: +tests/unictype/test-categ_longname.c +tests/macros.h + +Depends-on: +unictype/category-or +unictype/category-Z +unictype/category-Nl + +configure.ac: + +Makefile.am: +TESTS += test-categ_longname +check_PROGRAMS += test-categ_longname +test_categ_longname_SOURCES = unictype/test-categ_longname.c +test_categ_longname_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/category-name b/gnulib/modules/unictype/category-name new file mode 100644 index 0000000..3361ee9 --- /dev/null +++ b/gnulib/modules/unictype/category-name @@ -0,0 +1,26 @@ +Description: +Name of Unicode character category. + +Files: +lib/unictype/categ_name.c + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unictype/category-name]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_NAME +lib_SOURCES += unictype/categ_name.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/category-name-tests b/gnulib/modules/unictype/category-name-tests new file mode 100644 index 0000000..8de3314 --- /dev/null +++ b/gnulib/modules/unictype/category-name-tests @@ -0,0 +1,16 @@ +Files: +tests/unictype/test-categ_name.c +tests/macros.h + +Depends-on: +unictype/category-or +unictype/category-Z +unictype/category-Nl + +configure.ac: + +Makefile.am: +TESTS += test-categ_name +check_PROGRAMS += test-categ_name +test_categ_name_SOURCES = unictype/test-categ_name.c +test_categ_name_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/category-none b/gnulib/modules/unictype/category-none new file mode 100644 index 0000000..fc23d92 --- /dev/null +++ b/gnulib/modules/unictype/category-none @@ -0,0 +1,26 @@ +Description: +Empty category of Unicode characters. + +Files: +lib/unictype/categ_none.c + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unictype/category-none]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_NONE +lib_SOURCES += unictype/categ_none.c +endif + +Include: +"unictype.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/category-none-tests b/gnulib/modules/unictype/category-none-tests new file mode 100644 index 0000000..e1ea28b --- /dev/null +++ b/gnulib/modules/unictype/category-none-tests @@ -0,0 +1,14 @@ +Files: +tests/unictype/test-categ_none.c +tests/macros.h + +Depends-on: +unictype/category-test + +configure.ac: + +Makefile.am: +TESTS += test-categ_none +check_PROGRAMS += test-categ_none +test_categ_none_SOURCES = unictype/test-categ_none.c +test_categ_none_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/category-of b/gnulib/modules/unictype/category-of new file mode 100644 index 0000000..62389b6 --- /dev/null +++ b/gnulib/modules/unictype/category-of @@ -0,0 +1,29 @@ +Description: +Determine category of a Unicode character. + +Files: +lib/unictype/categ_of.c +lib/unictype/categ_of.h + +Depends-on: +unictype/base +unictype/category-none + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/category-of]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_OF +lib_SOURCES += unictype/categ_of.c +endif + +Include: +"unictype.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/category-of-tests b/gnulib/modules/unictype/category-of-tests new file mode 100644 index 0000000..3df9baa --- /dev/null +++ b/gnulib/modules/unictype/category-of-tests @@ -0,0 +1,14 @@ +Files: +tests/unictype/test-categ_of.c +tests/macros.h + +Depends-on: +unictype/category-test + +configure.ac: + +Makefile.am: +TESTS += test-categ_of +check_PROGRAMS += test-categ_of +test_categ_of_SOURCES = unictype/test-categ_of.c +test_categ_of_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/category-or b/gnulib/modules/unictype/category-or new file mode 100644 index 0000000..616f7d5 --- /dev/null +++ b/gnulib/modules/unictype/category-or @@ -0,0 +1,27 @@ +Description: +Union of categories of Unicode characters. + +Files: +lib/unictype/categ_or.c + +Depends-on: +unictype/base +unictype/category-test-withtable + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unictype/category-or]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_OR +lib_SOURCES += unictype/categ_or.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/category-or-tests b/gnulib/modules/unictype/category-or-tests new file mode 100644 index 0000000..7fb203d --- /dev/null +++ b/gnulib/modules/unictype/category-or-tests @@ -0,0 +1,16 @@ +Files: +tests/unictype/test-categ_or.c +tests/macros.h + +Depends-on: +unictype/category-test +unictype/category-L +unictype/category-N + +configure.ac: + +Makefile.am: +TESTS += test-categ_or +check_PROGRAMS += test-categ_or +test_categ_or_SOURCES = unictype/test-categ_or.c +test_categ_or_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/category-test b/gnulib/modules/unictype/category-test new file mode 100644 index 0000000..f826871 --- /dev/null +++ b/gnulib/modules/unictype/category-test @@ -0,0 +1,28 @@ +Description: +Test whether a Unicode character belongs to a given category. + +Files: +lib/unictype/categ_test.c +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/category-test]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_TEST +lib_SOURCES += unictype/categ_test.c +endif + +Include: +"unictype.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/category-test-withtable b/gnulib/modules/unictype/category-test-withtable new file mode 100644 index 0000000..cfe9f16 --- /dev/null +++ b/gnulib/modules/unictype/category-test-withtable @@ -0,0 +1,22 @@ +Description: +Test whether a Unicode character belongs to a given bitmask of categories. + +Files: + +Depends-on: +unictype/base +unictype/category-of + +configure.ac: + +Makefile.am: + +Include: +"unictype.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/category-test-withtable-tests b/gnulib/modules/unictype/category-test-withtable-tests new file mode 100644 index 0000000..1944fd1 --- /dev/null +++ b/gnulib/modules/unictype/category-test-withtable-tests @@ -0,0 +1,13 @@ +Files: +tests/unictype/test-categ_test_withtable.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-categ_test_withtable +check_PROGRAMS += test-categ_test_withtable +test_categ_test_withtable_SOURCES = unictype/test-categ_test_withtable.c +test_categ_test_withtable_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/combining-class b/gnulib/modules/unictype/combining-class new file mode 100644 index 0000000..e88c4ae --- /dev/null +++ b/gnulib/modules/unictype/combining-class @@ -0,0 +1,27 @@ +Description: +Determine canonical combining class of a Unicode character. + +Files: +lib/unictype/combiningclass.c +lib/unictype/combiningclass.h + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/combining-class]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_COMBINING_CLASS +lib_SOURCES += unictype/combiningclass.c +endif + +Include: +"unictype.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/combining-class-all b/gnulib/modules/unictype/combining-class-all new file mode 100644 index 0000000..9b001ec --- /dev/null +++ b/gnulib/modules/unictype/combining-class-all @@ -0,0 +1,24 @@ +Description: +Complete API for Unicode character canonical combining classes. + +Files: + +Depends-on: +unictype/base +unictype/combining-class +unictype/combining-class-byname +unictype/combining-class-longname +unictype/combining-class-name + +configure.ac: + +Makefile.am: + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/unictype/combining-class-byname b/gnulib/modules/unictype/combining-class-byname new file mode 100644 index 0000000..a0524b8 --- /dev/null +++ b/gnulib/modules/unictype/combining-class-byname @@ -0,0 +1,35 @@ +Description: +Find a Unicode character canonical combining class, given its name. + +Files: +lib/unictype/combiningclass_byname.c +lib/unictype/combiningclass_byname.gperf + +Depends-on: +unictype/base +gperf + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/combining-class-byname]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_COMBINING_CLASS_BYNAME +lib_SOURCES += unictype/combiningclass_byname.c +endif + +unictype/combiningclass_byname.h: unictype/combiningclass_byname.gperf + $(GPERF) -m 10 $(srcdir)/unictype/combiningclass_byname.gperf > $(srcdir)/unictype/combiningclass_byname.h-t + mv $(srcdir)/unictype/combiningclass_byname.h-t $(srcdir)/unictype/combiningclass_byname.h +BUILT_SOURCES += unictype/combiningclass_byname.h +MOSTLYCLEANFILES += unictype/combiningclass_byname.h-t +MAINTAINERCLEANFILES += unictype/combiningclass_byname.h +EXTRA_DIST += unictype/combiningclass_byname.h + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/unictype/combining-class-byname-tests b/gnulib/modules/unictype/combining-class-byname-tests new file mode 100644 index 0000000..9b3c9d1 --- /dev/null +++ b/gnulib/modules/unictype/combining-class-byname-tests @@ -0,0 +1,13 @@ +Files: +tests/unictype/test-combiningclass_byname.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-combiningclass_byname +check_PROGRAMS += test-combiningclass_byname +test_combiningclass_byname_SOURCES = unictype/test-combiningclass_byname.c +test_combiningclass_byname_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/combining-class-longname b/gnulib/modules/unictype/combining-class-longname new file mode 100644 index 0000000..5f76eba --- /dev/null +++ b/gnulib/modules/unictype/combining-class-longname @@ -0,0 +1,25 @@ +Description: +Name of Unicode character canonical combining class. + +Files: +lib/unictype/combiningclass_longname.c + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/combining-class-longname]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_COMBINING_CLASS_LONGNAME +lib_SOURCES += unictype/combiningclass_longname.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/unictype/combining-class-longname-tests b/gnulib/modules/unictype/combining-class-longname-tests new file mode 100644 index 0000000..8e75b68 --- /dev/null +++ b/gnulib/modules/unictype/combining-class-longname-tests @@ -0,0 +1,13 @@ +Files: +tests/unictype/test-combiningclass_longname.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-combiningclass_longname +check_PROGRAMS += test-combiningclass_longname +test_combiningclass_longname_SOURCES = unictype/test-combiningclass_longname.c +test_combiningclass_longname_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/combining-class-name b/gnulib/modules/unictype/combining-class-name new file mode 100644 index 0000000..1553875 --- /dev/null +++ b/gnulib/modules/unictype/combining-class-name @@ -0,0 +1,25 @@ +Description: +Name of Unicode character canonical combining class. + +Files: +lib/unictype/combiningclass_name.c + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/combining-class-name]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_COMBINING_CLASS_NAME +lib_SOURCES += unictype/combiningclass_name.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/unictype/combining-class-name-tests b/gnulib/modules/unictype/combining-class-name-tests new file mode 100644 index 0000000..4e3c866 --- /dev/null +++ b/gnulib/modules/unictype/combining-class-name-tests @@ -0,0 +1,13 @@ +Files: +tests/unictype/test-combiningclass_name.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-combiningclass_name +check_PROGRAMS += test-combiningclass_name +test_combiningclass_name_SOURCES = unictype/test-combiningclass_name.c +test_combiningclass_name_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/combining-class-tests b/gnulib/modules/unictype/combining-class-tests new file mode 100644 index 0000000..438ef3f --- /dev/null +++ b/gnulib/modules/unictype/combining-class-tests @@ -0,0 +1,13 @@ +Files: +tests/unictype/test-combiningclass.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-combiningclass +check_PROGRAMS += test-combiningclass +test_combiningclass_SOURCES = unictype/test-combiningclass.c +test_combiningclass_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/ctype-alnum b/gnulib/modules/unictype/ctype-alnum new file mode 100644 index 0000000..65fc041 --- /dev/null +++ b/gnulib/modules/unictype/ctype-alnum @@ -0,0 +1,30 @@ +Description: +Generalization of the <ctype.h> isalnum() function and the +<wctype.h> iswalnum() function. + +Files: +lib/unictype/ctype_alnum.c +lib/unictype/ctype_alnum.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/ctype-alnum]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_ALNUM +lib_SOURCES += unictype/ctype_alnum.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/ctype-alnum-tests b/gnulib/modules/unictype/ctype-alnum-tests new file mode 100644 index 0000000..c6f5e7d --- /dev/null +++ b/gnulib/modules/unictype/ctype-alnum-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-ctype_alnum.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-ctype_alnum +check_PROGRAMS += test-ctype_alnum +test_ctype_alnum_SOURCES = unictype/test-ctype_alnum.c +test_ctype_alnum_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/ctype-alpha b/gnulib/modules/unictype/ctype-alpha new file mode 100644 index 0000000..68dd458 --- /dev/null +++ b/gnulib/modules/unictype/ctype-alpha @@ -0,0 +1,30 @@ +Description: +Generalization of the <ctype.h> isalpha() function and the +<wctype.h> iswalpha() function. + +Files: +lib/unictype/ctype_alpha.c +lib/unictype/ctype_alpha.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/ctype-alpha]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_ALPHA +lib_SOURCES += unictype/ctype_alpha.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/ctype-alpha-tests b/gnulib/modules/unictype/ctype-alpha-tests new file mode 100644 index 0000000..ceac586 --- /dev/null +++ b/gnulib/modules/unictype/ctype-alpha-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-ctype_alpha.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-ctype_alpha +check_PROGRAMS += test-ctype_alpha +test_ctype_alpha_SOURCES = unictype/test-ctype_alpha.c +test_ctype_alpha_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/ctype-blank b/gnulib/modules/unictype/ctype-blank new file mode 100644 index 0000000..afcfdd4 --- /dev/null +++ b/gnulib/modules/unictype/ctype-blank @@ -0,0 +1,30 @@ +Description: +Generalization of the <ctype.h> isblank() function and the +<wctype.h> iswblank() function. + +Files: +lib/unictype/ctype_blank.c +lib/unictype/ctype_blank.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9], [unictype/ctype-blank]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_BLANK +lib_SOURCES += unictype/ctype_blank.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/ctype-blank-tests b/gnulib/modules/unictype/ctype-blank-tests new file mode 100644 index 0000000..459473c --- /dev/null +++ b/gnulib/modules/unictype/ctype-blank-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-ctype_blank.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-ctype_blank +check_PROGRAMS += test-ctype_blank +test_ctype_blank_SOURCES = unictype/test-ctype_blank.c +test_ctype_blank_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/ctype-cntrl b/gnulib/modules/unictype/ctype-cntrl new file mode 100644 index 0000000..6b9d319 --- /dev/null +++ b/gnulib/modules/unictype/ctype-cntrl @@ -0,0 +1,30 @@ +Description: +Generalization of the <ctype.h> iscntrl() function and the +<wctype.h> iswcntrl() function. + +Files: +lib/unictype/ctype_cntrl.c +lib/unictype/ctype_cntrl.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9], [unictype/ctype-cntrl]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_CNTRL +lib_SOURCES += unictype/ctype_cntrl.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/ctype-cntrl-tests b/gnulib/modules/unictype/ctype-cntrl-tests new file mode 100644 index 0000000..c5d3f81 --- /dev/null +++ b/gnulib/modules/unictype/ctype-cntrl-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-ctype_cntrl.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-ctype_cntrl +check_PROGRAMS += test-ctype_cntrl +test_ctype_cntrl_SOURCES = unictype/test-ctype_cntrl.c +test_ctype_cntrl_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/ctype-digit b/gnulib/modules/unictype/ctype-digit new file mode 100644 index 0000000..f40849f --- /dev/null +++ b/gnulib/modules/unictype/ctype-digit @@ -0,0 +1,30 @@ +Description: +Generalization of the <ctype.h> isdigit() function and the +<wctype.h> iswdigit() function. + +Files: +lib/unictype/ctype_digit.c +lib/unictype/ctype_digit.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9], [unictype/ctype-digit]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_DIGIT +lib_SOURCES += unictype/ctype_digit.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/ctype-digit-tests b/gnulib/modules/unictype/ctype-digit-tests new file mode 100644 index 0000000..3ec9b0a --- /dev/null +++ b/gnulib/modules/unictype/ctype-digit-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-ctype_digit.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-ctype_digit +check_PROGRAMS += test-ctype_digit +test_ctype_digit_SOURCES = unictype/test-ctype_digit.c +test_ctype_digit_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/ctype-graph b/gnulib/modules/unictype/ctype-graph new file mode 100644 index 0000000..35c9786 --- /dev/null +++ b/gnulib/modules/unictype/ctype-graph @@ -0,0 +1,30 @@ +Description: +Generalization of the <ctype.h> isgraph() function and the +<wctype.h> iswgraph() function. + +Files: +lib/unictype/ctype_graph.c +lib/unictype/ctype_graph.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/ctype-graph]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_GRAPH +lib_SOURCES += unictype/ctype_graph.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/ctype-graph-tests b/gnulib/modules/unictype/ctype-graph-tests new file mode 100644 index 0000000..6282e96 --- /dev/null +++ b/gnulib/modules/unictype/ctype-graph-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-ctype_graph.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-ctype_graph +check_PROGRAMS += test-ctype_graph +test_ctype_graph_SOURCES = unictype/test-ctype_graph.c +test_ctype_graph_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/ctype-lower b/gnulib/modules/unictype/ctype-lower new file mode 100644 index 0000000..caaf38c --- /dev/null +++ b/gnulib/modules/unictype/ctype-lower @@ -0,0 +1,30 @@ +Description: +Generalization of the <ctype.h> islower() function and the +<wctype.h> iswlower() function. + +Files: +lib/unictype/ctype_lower.c +lib/unictype/ctype_lower.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/ctype-lower]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_LOWER +lib_SOURCES += unictype/ctype_lower.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/ctype-lower-tests b/gnulib/modules/unictype/ctype-lower-tests new file mode 100644 index 0000000..0f2dd73 --- /dev/null +++ b/gnulib/modules/unictype/ctype-lower-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-ctype_lower.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-ctype_lower +check_PROGRAMS += test-ctype_lower +test_ctype_lower_SOURCES = unictype/test-ctype_lower.c +test_ctype_lower_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/ctype-print b/gnulib/modules/unictype/ctype-print new file mode 100644 index 0000000..a6a753d --- /dev/null +++ b/gnulib/modules/unictype/ctype-print @@ -0,0 +1,30 @@ +Description: +Generalization of the <ctype.h> isprint() function and the +<wctype.h> iswprint() function. + +Files: +lib/unictype/ctype_print.c +lib/unictype/ctype_print.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/ctype-print]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_PRINT +lib_SOURCES += unictype/ctype_print.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/ctype-print-tests b/gnulib/modules/unictype/ctype-print-tests new file mode 100644 index 0000000..0293b92 --- /dev/null +++ b/gnulib/modules/unictype/ctype-print-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-ctype_print.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-ctype_print +check_PROGRAMS += test-ctype_print +test_ctype_print_SOURCES = unictype/test-ctype_print.c +test_ctype_print_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/ctype-punct b/gnulib/modules/unictype/ctype-punct new file mode 100644 index 0000000..b6989f9 --- /dev/null +++ b/gnulib/modules/unictype/ctype-punct @@ -0,0 +1,30 @@ +Description: +Generalization of the <ctype.h> ispunct() function and the +<wctype.h> iswpunct() function. + +Files: +lib/unictype/ctype_punct.c +lib/unictype/ctype_punct.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/ctype-punct]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_PUNCT +lib_SOURCES += unictype/ctype_punct.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/ctype-punct-tests b/gnulib/modules/unictype/ctype-punct-tests new file mode 100644 index 0000000..1d74088 --- /dev/null +++ b/gnulib/modules/unictype/ctype-punct-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-ctype_punct.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-ctype_punct +check_PROGRAMS += test-ctype_punct +test_ctype_punct_SOURCES = unictype/test-ctype_punct.c +test_ctype_punct_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/ctype-space b/gnulib/modules/unictype/ctype-space new file mode 100644 index 0000000..f6b2847 --- /dev/null +++ b/gnulib/modules/unictype/ctype-space @@ -0,0 +1,30 @@ +Description: +Generalization of the <ctype.h> isspace() function and the +<wctype.h> iswspace() function. + +Files: +lib/unictype/ctype_space.c +lib/unictype/ctype_space.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9], [unictype/ctype-space]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_SPACE +lib_SOURCES += unictype/ctype_space.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/ctype-space-tests b/gnulib/modules/unictype/ctype-space-tests new file mode 100644 index 0000000..92dbc9f --- /dev/null +++ b/gnulib/modules/unictype/ctype-space-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-ctype_space.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-ctype_space +check_PROGRAMS += test-ctype_space +test_ctype_space_SOURCES = unictype/test-ctype_space.c +test_ctype_space_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/ctype-upper b/gnulib/modules/unictype/ctype-upper new file mode 100644 index 0000000..0bfbd2e --- /dev/null +++ b/gnulib/modules/unictype/ctype-upper @@ -0,0 +1,30 @@ +Description: +Generalization of the <ctype.h> isupper() function and the +<wctype.h> iswupper() function. + +Files: +lib/unictype/ctype_upper.c +lib/unictype/ctype_upper.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/ctype-upper]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_UPPER +lib_SOURCES += unictype/ctype_upper.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/ctype-upper-tests b/gnulib/modules/unictype/ctype-upper-tests new file mode 100644 index 0000000..f711764 --- /dev/null +++ b/gnulib/modules/unictype/ctype-upper-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-ctype_upper.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-ctype_upper +check_PROGRAMS += test-ctype_upper +test_ctype_upper_SOURCES = unictype/test-ctype_upper.c +test_ctype_upper_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/ctype-xdigit b/gnulib/modules/unictype/ctype-xdigit new file mode 100644 index 0000000..fdf7c96 --- /dev/null +++ b/gnulib/modules/unictype/ctype-xdigit @@ -0,0 +1,30 @@ +Description: +Generalization of the <ctype.h> isxdigit() function and the +<wctype.h> iswxdigit() function. + +Files: +lib/unictype/ctype_xdigit.c +lib/unictype/ctype_xdigit.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9], [unictype/ctype-xdigit]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_XDIGIT +lib_SOURCES += unictype/ctype_xdigit.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/ctype-xdigit-tests b/gnulib/modules/unictype/ctype-xdigit-tests new file mode 100644 index 0000000..c05d098 --- /dev/null +++ b/gnulib/modules/unictype/ctype-xdigit-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-ctype_xdigit.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-ctype_xdigit +check_PROGRAMS += test-ctype_xdigit +test_ctype_xdigit_SOURCES = unictype/test-ctype_xdigit.c +test_ctype_xdigit_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/decimal-digit b/gnulib/modules/unictype/decimal-digit new file mode 100644 index 0000000..4dd10a9 --- /dev/null +++ b/gnulib/modules/unictype/decimal-digit @@ -0,0 +1,27 @@ +Description: +Value of a decimal digit Unicode character. + +Files: +lib/unictype/decdigit.c +lib/unictype/decdigit.h + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/decimal-digit]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_DECIMAL_DIGIT +lib_SOURCES += unictype/decdigit.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/decimal-digit-tests b/gnulib/modules/unictype/decimal-digit-tests new file mode 100644 index 0000000..4517834 --- /dev/null +++ b/gnulib/modules/unictype/decimal-digit-tests @@ -0,0 +1,14 @@ +Files: +tests/unictype/test-decdigit.c +tests/unictype/test-decdigit.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-decdigit +check_PROGRAMS += test-decdigit +test_decdigit_SOURCES = unictype/test-decdigit.c +test_decdigit_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/digit b/gnulib/modules/unictype/digit new file mode 100644 index 0000000..6680dad --- /dev/null +++ b/gnulib/modules/unictype/digit @@ -0,0 +1,27 @@ +Description: +Value of a digit Unicode character. + +Files: +lib/unictype/digit.c +lib/unictype/digit.h + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/digit]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_DIGIT +lib_SOURCES += unictype/digit.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/digit-tests b/gnulib/modules/unictype/digit-tests new file mode 100644 index 0000000..59189cc --- /dev/null +++ b/gnulib/modules/unictype/digit-tests @@ -0,0 +1,14 @@ +Files: +tests/unictype/test-digit.c +tests/unictype/test-digit.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-digit +check_PROGRAMS += test-digit +test_digit_SOURCES = unictype/test-digit.c +test_digit_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/joininggroup-all b/gnulib/modules/unictype/joininggroup-all new file mode 100644 index 0000000..2c75394 --- /dev/null +++ b/gnulib/modules/unictype/joininggroup-all @@ -0,0 +1,23 @@ +Description: +Complete API for Unicode character Arabic joining groups. + +Files: + +Depends-on: +unictype/base +unictype/joininggroup-byname +unictype/joininggroup-name +unictype/joininggroup-of + +configure.ac: + +Makefile.am: + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/unictype/joininggroup-byname b/gnulib/modules/unictype/joininggroup-byname new file mode 100644 index 0000000..7aff01e --- /dev/null +++ b/gnulib/modules/unictype/joininggroup-byname @@ -0,0 +1,35 @@ +Description: +Find a Unicode character Arabic joining group, given its name. + +Files: +lib/unictype/joininggroup_byname.c +lib/unictype/joininggroup_byname.gperf + +Depends-on: +unictype/base +gperf + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/joininggroup-byname]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_JOININGGROUP_BYNAME +lib_SOURCES += unictype/joininggroup_byname.c +endif + +unictype/joininggroup_byname.h: unictype/joininggroup_byname.gperf + $(GPERF) -m 10 $(srcdir)/unictype/joininggroup_byname.gperf > $(srcdir)/unictype/joininggroup_byname.h-t + mv $(srcdir)/unictype/joininggroup_byname.h-t $(srcdir)/unictype/joininggroup_byname.h +BUILT_SOURCES += unictype/joininggroup_byname.h +MOSTLYCLEANFILES += unictype/joininggroup_byname.h-t +MAINTAINERCLEANFILES += unictype/joininggroup_byname.h +EXTRA_DIST += unictype/joininggroup_byname.h + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/unictype/joininggroup-byname-tests b/gnulib/modules/unictype/joininggroup-byname-tests new file mode 100644 index 0000000..550b110 --- /dev/null +++ b/gnulib/modules/unictype/joininggroup-byname-tests @@ -0,0 +1,13 @@ +Files: +tests/unictype/test-joininggroup_byname.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-joininggroup_byname +check_PROGRAMS += test-joininggroup_byname +test_joininggroup_byname_SOURCES = unictype/test-joininggroup_byname.c +test_joininggroup_byname_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/joininggroup-name b/gnulib/modules/unictype/joininggroup-name new file mode 100644 index 0000000..8df11fb --- /dev/null +++ b/gnulib/modules/unictype/joininggroup-name @@ -0,0 +1,26 @@ +Description: +Name of Unicode character Arabic joining group. + +Files: +lib/unictype/joininggroup_name.c +lib/unictype/joininggroup_name.h + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/joininggroup-name]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_JOININGGROUP_NAME +lib_SOURCES += unictype/joininggroup_name.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/unictype/joininggroup-name-tests b/gnulib/modules/unictype/joininggroup-name-tests new file mode 100644 index 0000000..93419e6 --- /dev/null +++ b/gnulib/modules/unictype/joininggroup-name-tests @@ -0,0 +1,13 @@ +Files: +tests/unictype/test-joininggroup_name.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-joininggroup_name +check_PROGRAMS += test-joininggroup_name +test_joininggroup_name_SOURCES = unictype/test-joininggroup_name.c +test_joininggroup_name_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/joininggroup-of b/gnulib/modules/unictype/joininggroup-of new file mode 100644 index 0000000..94a3e38 --- /dev/null +++ b/gnulib/modules/unictype/joininggroup-of @@ -0,0 +1,26 @@ +Description: +Determine Arabic joining group of a Unicode character. + +Files: +lib/unictype/joininggroup_of.c +lib/unictype/joininggroup_of.h + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/joininggroup-of]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_JOININGGROUP_OF +lib_SOURCES += unictype/joininggroup_of.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/unictype/joininggroup-of-tests b/gnulib/modules/unictype/joininggroup-of-tests new file mode 100644 index 0000000..f2a601f --- /dev/null +++ b/gnulib/modules/unictype/joininggroup-of-tests @@ -0,0 +1,14 @@ +Files: +tests/unictype/test-joininggroup_of.c +tests/unictype/test-joininggroup_of.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-joininggroup_of +check_PROGRAMS += test-joininggroup_of +test_joininggroup_of_SOURCES = unictype/test-joininggroup_of.c +test_joininggroup_of_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/joiningtype-all b/gnulib/modules/unictype/joiningtype-all new file mode 100644 index 0000000..c895d5e --- /dev/null +++ b/gnulib/modules/unictype/joiningtype-all @@ -0,0 +1,24 @@ +Description: +Complete API for Unicode character Arabic joining types. + +Files: + +Depends-on: +unictype/base +unictype/joiningtype-byname +unictype/joiningtype-longname +unictype/joiningtype-name +unictype/joiningtype-of + +configure.ac: + +Makefile.am: + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/unictype/joiningtype-byname b/gnulib/modules/unictype/joiningtype-byname new file mode 100644 index 0000000..cff0f91 --- /dev/null +++ b/gnulib/modules/unictype/joiningtype-byname @@ -0,0 +1,35 @@ +Description: +Find a Unicode character Arabic joining type, given its name. + +Files: +lib/unictype/joiningtype_byname.c +lib/unictype/joiningtype_byname.gperf + +Depends-on: +unictype/base +gperf + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/joiningtype-byname]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_JOININGTYPE_BYNAME +lib_SOURCES += unictype/joiningtype_byname.c +endif + +unictype/joiningtype_byname.h: unictype/joiningtype_byname.gperf + $(GPERF) -m 10 $(srcdir)/unictype/joiningtype_byname.gperf > $(srcdir)/unictype/joiningtype_byname.h-t + mv $(srcdir)/unictype/joiningtype_byname.h-t $(srcdir)/unictype/joiningtype_byname.h +BUILT_SOURCES += unictype/joiningtype_byname.h +MOSTLYCLEANFILES += unictype/joiningtype_byname.h-t +MAINTAINERCLEANFILES += unictype/joiningtype_byname.h +EXTRA_DIST += unictype/joiningtype_byname.h + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/unictype/joiningtype-byname-tests b/gnulib/modules/unictype/joiningtype-byname-tests new file mode 100644 index 0000000..5163f04 --- /dev/null +++ b/gnulib/modules/unictype/joiningtype-byname-tests @@ -0,0 +1,13 @@ +Files: +tests/unictype/test-joiningtype_byname.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-joiningtype_byname +check_PROGRAMS += test-joiningtype_byname +test_joiningtype_byname_SOURCES = unictype/test-joiningtype_byname.c +test_joiningtype_byname_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/joiningtype-longname b/gnulib/modules/unictype/joiningtype-longname new file mode 100644 index 0000000..b218e8f --- /dev/null +++ b/gnulib/modules/unictype/joiningtype-longname @@ -0,0 +1,25 @@ +Description: +Name of Unicode character Arabic joining type. + +Files: +lib/unictype/joiningtype_longname.c + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/joiningtype-longname]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_JOININGTYPE_LONGNAME +lib_SOURCES += unictype/joiningtype_longname.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/unictype/joiningtype-longname-tests b/gnulib/modules/unictype/joiningtype-longname-tests new file mode 100644 index 0000000..6270f6a --- /dev/null +++ b/gnulib/modules/unictype/joiningtype-longname-tests @@ -0,0 +1,13 @@ +Files: +tests/unictype/test-joiningtype_longname.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-joiningtype_longname +check_PROGRAMS += test-joiningtype_longname +test_joiningtype_longname_SOURCES = unictype/test-joiningtype_longname.c +test_joiningtype_longname_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/joiningtype-name b/gnulib/modules/unictype/joiningtype-name new file mode 100644 index 0000000..87b3d07 --- /dev/null +++ b/gnulib/modules/unictype/joiningtype-name @@ -0,0 +1,25 @@ +Description: +Name of Unicode character Arabic joining type. + +Files: +lib/unictype/joiningtype_name.c + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/joiningtype-name]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_JOININGTYPE_NAME +lib_SOURCES += unictype/joiningtype_name.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/unictype/joiningtype-name-tests b/gnulib/modules/unictype/joiningtype-name-tests new file mode 100644 index 0000000..d46e8ae --- /dev/null +++ b/gnulib/modules/unictype/joiningtype-name-tests @@ -0,0 +1,13 @@ +Files: +tests/unictype/test-joiningtype_name.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-joiningtype_name +check_PROGRAMS += test-joiningtype_name +test_joiningtype_name_SOURCES = unictype/test-joiningtype_name.c +test_joiningtype_name_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/joiningtype-of b/gnulib/modules/unictype/joiningtype-of new file mode 100644 index 0000000..44a802f --- /dev/null +++ b/gnulib/modules/unictype/joiningtype-of @@ -0,0 +1,27 @@ +Description: +Determine Arabic joining type of a Unicode character. + +Files: +lib/unictype/joiningtype_of.c +lib/unictype/joiningtype_of.h + +Depends-on: +unictype/base +unictype/category-test-withtable + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/joiningtype-of]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_JOININGTYPE_OF +lib_SOURCES += unictype/joiningtype_of.c +endif + +Include: +"unictype.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/unictype/joiningtype-of-tests b/gnulib/modules/unictype/joiningtype-of-tests new file mode 100644 index 0000000..300e583 --- /dev/null +++ b/gnulib/modules/unictype/joiningtype-of-tests @@ -0,0 +1,14 @@ +Files: +tests/unictype/test-joiningtype_of.c +tests/unictype/test-joiningtype_of.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-joiningtype_of +check_PROGRAMS += test-joiningtype_of +test_joiningtype_of_SOURCES = unictype/test-joiningtype_of.c +test_joiningtype_of_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/mirror b/gnulib/modules/unictype/mirror new file mode 100644 index 0000000..4d86a74 --- /dev/null +++ b/gnulib/modules/unictype/mirror @@ -0,0 +1,27 @@ +Description: +Mirrored Unicode characters. + +Files: +lib/unictype/mirror.c +lib/unictype/mirror.h + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unictype/mirror]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_MIRROR +lib_SOURCES += unictype/mirror.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/mirror-tests b/gnulib/modules/unictype/mirror-tests new file mode 100644 index 0000000..b06cb17 --- /dev/null +++ b/gnulib/modules/unictype/mirror-tests @@ -0,0 +1,13 @@ +Files: +tests/unictype/test-mirror.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-mirror +check_PROGRAMS += test-mirror +test_mirror_SOURCES = unictype/test-mirror.c +test_mirror_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/numeric b/gnulib/modules/unictype/numeric new file mode 100644 index 0000000..6c1ef17 --- /dev/null +++ b/gnulib/modules/unictype/numeric @@ -0,0 +1,27 @@ +Description: +Value of a numeric Unicode character. + +Files: +lib/unictype/numeric.c +lib/unictype/numeric.h + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/numeric]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_NUMERIC +lib_SOURCES += unictype/numeric.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/numeric-tests b/gnulib/modules/unictype/numeric-tests new file mode 100644 index 0000000..c7a4f15 --- /dev/null +++ b/gnulib/modules/unictype/numeric-tests @@ -0,0 +1,14 @@ +Files: +tests/unictype/test-numeric.c +tests/unictype/test-numeric.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-numeric +check_PROGRAMS += test-numeric +test_numeric_SOURCES = unictype/test-numeric.c +test_numeric_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-all b/gnulib/modules/unictype/property-all new file mode 100644 index 0000000..0080c7b --- /dev/null +++ b/gnulib/modules/unictype/property-all @@ -0,0 +1,108 @@ +Description: +Complete API for Unicode character properties. + +Files: + +Depends-on: +unictype/property-alphabetic +unictype/property-ascii-hex-digit +unictype/property-bidi-arabic-digit +unictype/property-bidi-arabic-right-to-left +unictype/property-bidi-block-separator +unictype/property-bidi-boundary-neutral +unictype/property-bidi-common-separator +unictype/property-bidi-control +unictype/property-bidi-embedding-or-override +unictype/property-bidi-eur-num-separator +unictype/property-bidi-eur-num-terminator +unictype/property-bidi-european-digit +unictype/property-bidi-hebrew-right-to-left +unictype/property-bidi-left-to-right +unictype/property-bidi-non-spacing-mark +unictype/property-bidi-other-neutral +unictype/property-bidi-pdf +unictype/property-bidi-segment-separator +unictype/property-bidi-whitespace +unictype/property-byname +unictype/property-case-ignorable +unictype/property-cased +unictype/property-changes-when-casefolded +unictype/property-changes-when-casemapped +unictype/property-changes-when-lowercased +unictype/property-changes-when-titlecased +unictype/property-changes-when-uppercased +unictype/property-combining +unictype/property-composite +unictype/property-currency-symbol +unictype/property-dash +unictype/property-decimal-digit +unictype/property-default-ignorable-code-point +unictype/property-deprecated +unictype/property-diacritic +unictype/property-extender +unictype/property-format-control +unictype/property-grapheme-base +unictype/property-grapheme-extend +unictype/property-grapheme-link +unictype/property-hex-digit +unictype/property-hyphen +unictype/property-id-continue +unictype/property-id-start +unictype/property-ideographic +unictype/property-ids-binary-operator +unictype/property-ids-trinary-operator +unictype/property-ignorable-control +unictype/property-iso-control +unictype/property-join-control +unictype/property-left-of-pair +unictype/property-line-separator +unictype/property-logical-order-exception +unictype/property-lowercase +unictype/property-math +unictype/property-non-break +unictype/property-not-a-character +unictype/property-numeric +unictype/property-other-alphabetic +unictype/property-other-default-ignorable-code-point +unictype/property-other-grapheme-extend +unictype/property-other-id-continue +unictype/property-other-id-start +unictype/property-other-lowercase +unictype/property-other-math +unictype/property-other-uppercase +unictype/property-paired-punctuation +unictype/property-paragraph-separator +unictype/property-pattern-syntax +unictype/property-pattern-white-space +unictype/property-private-use +unictype/property-punctuation +unictype/property-quotation-mark +unictype/property-radical +unictype/property-sentence-terminal +unictype/property-soft-dotted +unictype/property-space +unictype/property-terminal-punctuation +unictype/property-test +unictype/property-titlecase +unictype/property-unassigned-code-value +unictype/property-unified-ideograph +unictype/property-uppercase +unictype/property-variation-selector +unictype/property-white-space +unictype/property-xid-continue +unictype/property-xid-start +unictype/property-zero-width + +configure.ac: + +Makefile.am: + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-alphabetic b/gnulib/modules/unictype/property-alphabetic new file mode 100644 index 0000000..1cb6dfb --- /dev/null +++ b/gnulib/modules/unictype/property-alphabetic @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "alphabetic". + +Files: +lib/unictype/pr_alphabetic.c +lib/unictype/pr_alphabetic.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/property-alphabetic]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ALPHABETIC +lib_SOURCES += unictype/pr_alphabetic.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-alphabetic-tests b/gnulib/modules/unictype/property-alphabetic-tests new file mode 100644 index 0000000..5fc598e --- /dev/null +++ b/gnulib/modules/unictype/property-alphabetic-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_alphabetic.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_alphabetic +check_PROGRAMS += test-pr_alphabetic +test_pr_alphabetic_SOURCES = unictype/test-pr_alphabetic.c +test_pr_alphabetic_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-ascii-hex-digit b/gnulib/modules/unictype/property-ascii-hex-digit new file mode 100644 index 0000000..363d87d --- /dev/null +++ b/gnulib/modules/unictype/property-ascii-hex-digit @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "ascii hex digit". + +Files: +lib/unictype/pr_ascii_hex_digit.c +lib/unictype/pr_ascii_hex_digit.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9], [unictype/property-ascii-hex-digit]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ASCII_HEX_DIGIT +lib_SOURCES += unictype/pr_ascii_hex_digit.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-ascii-hex-digit-tests b/gnulib/modules/unictype/property-ascii-hex-digit-tests new file mode 100644 index 0000000..ee044b3 --- /dev/null +++ b/gnulib/modules/unictype/property-ascii-hex-digit-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_ascii_hex_digit.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_ascii_hex_digit +check_PROGRAMS += test-pr_ascii_hex_digit +test_pr_ascii_hex_digit_SOURCES = unictype/test-pr_ascii_hex_digit.c +test_pr_ascii_hex_digit_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-bidi-arabic-digit b/gnulib/modules/unictype/property-bidi-arabic-digit new file mode 100644 index 0000000..3eaa4eb --- /dev/null +++ b/gnulib/modules/unictype/property-bidi-arabic-digit @@ -0,0 +1,30 @@ +Description: +Test whether a Unicode character is "bidi arabic digit". + +Files: +lib/unictype/pr_bidi_arabic_digit.c +lib/unictype/pr_bidi_arabic_digit.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base +unictype/bidiclass-of + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/property-bidi-arabic-digit]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_ARABIC_DIGIT +lib_SOURCES += unictype/pr_bidi_arabic_digit.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-bidi-arabic-digit-tests b/gnulib/modules/unictype/property-bidi-arabic-digit-tests new file mode 100644 index 0000000..ff37e64 --- /dev/null +++ b/gnulib/modules/unictype/property-bidi-arabic-digit-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_bidi_arabic_digit.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_bidi_arabic_digit +check_PROGRAMS += test-pr_bidi_arabic_digit +test_pr_bidi_arabic_digit_SOURCES = unictype/test-pr_bidi_arabic_digit.c +test_pr_bidi_arabic_digit_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-bidi-arabic-right-to-left b/gnulib/modules/unictype/property-bidi-arabic-right-to-left new file mode 100644 index 0000000..ef82b1f --- /dev/null +++ b/gnulib/modules/unictype/property-bidi-arabic-right-to-left @@ -0,0 +1,30 @@ +Description: +Test whether a Unicode character is "bidi arabic right to left". + +Files: +lib/unictype/pr_bidi_arabic_right_to_left.c +lib/unictype/pr_bidi_arabic_right_to_left.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base +unictype/bidiclass-of + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/property-bidi-arabic-right-to-left]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_ARABIC_RIGHT_TO_LEFT +lib_SOURCES += unictype/pr_bidi_arabic_right_to_left.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-bidi-arabic-right-to-left-tests b/gnulib/modules/unictype/property-bidi-arabic-right-to-left-tests new file mode 100644 index 0000000..f9fcdd9 --- /dev/null +++ b/gnulib/modules/unictype/property-bidi-arabic-right-to-left-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_bidi_arabic_right_to_left.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_bidi_arabic_right_to_left +check_PROGRAMS += test-pr_bidi_arabic_right_to_left +test_pr_bidi_arabic_right_to_left_SOURCES = unictype/test-pr_bidi_arabic_right_to_left.c +test_pr_bidi_arabic_right_to_left_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-bidi-block-separator b/gnulib/modules/unictype/property-bidi-block-separator new file mode 100644 index 0000000..979dc81 --- /dev/null +++ b/gnulib/modules/unictype/property-bidi-block-separator @@ -0,0 +1,30 @@ +Description: +Test whether a Unicode character is "bidi block separator". + +Files: +lib/unictype/pr_bidi_block_separator.c +lib/unictype/pr_bidi_block_separator.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base +unictype/bidiclass-of + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9], [unictype/property-bidi-block-separator]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_BLOCK_SEPARATOR +lib_SOURCES += unictype/pr_bidi_block_separator.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-bidi-block-separator-tests b/gnulib/modules/unictype/property-bidi-block-separator-tests new file mode 100644 index 0000000..dcdf643 --- /dev/null +++ b/gnulib/modules/unictype/property-bidi-block-separator-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_bidi_block_separator.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_bidi_block_separator +check_PROGRAMS += test-pr_bidi_block_separator +test_pr_bidi_block_separator_SOURCES = unictype/test-pr_bidi_block_separator.c +test_pr_bidi_block_separator_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-bidi-boundary-neutral b/gnulib/modules/unictype/property-bidi-boundary-neutral new file mode 100644 index 0000000..71817dc --- /dev/null +++ b/gnulib/modules/unictype/property-bidi-boundary-neutral @@ -0,0 +1,30 @@ +Description: +Test whether a Unicode character is "bidi boundary neutral". + +Files: +lib/unictype/pr_bidi_boundary_neutral.c +lib/unictype/pr_bidi_boundary_neutral.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base +unictype/bidiclass-of + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/property-bidi-boundary-neutral]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_BOUNDARY_NEUTRAL +lib_SOURCES += unictype/pr_bidi_boundary_neutral.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-bidi-boundary-neutral-tests b/gnulib/modules/unictype/property-bidi-boundary-neutral-tests new file mode 100644 index 0000000..b2d5e45 --- /dev/null +++ b/gnulib/modules/unictype/property-bidi-boundary-neutral-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_bidi_boundary_neutral.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_bidi_boundary_neutral +check_PROGRAMS += test-pr_bidi_boundary_neutral +test_pr_bidi_boundary_neutral_SOURCES = unictype/test-pr_bidi_boundary_neutral.c +test_pr_bidi_boundary_neutral_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-bidi-common-separator b/gnulib/modules/unictype/property-bidi-common-separator new file mode 100644 index 0000000..1ff104b --- /dev/null +++ b/gnulib/modules/unictype/property-bidi-common-separator @@ -0,0 +1,30 @@ +Description: +Test whether a Unicode character is "bidi common separator". + +Files: +lib/unictype/pr_bidi_common_separator.c +lib/unictype/pr_bidi_common_separator.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base +unictype/bidiclass-of + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9], [unictype/property-bidi-common-separator]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_COMMON_SEPARATOR +lib_SOURCES += unictype/pr_bidi_common_separator.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-bidi-common-separator-tests b/gnulib/modules/unictype/property-bidi-common-separator-tests new file mode 100644 index 0000000..01f5e8d --- /dev/null +++ b/gnulib/modules/unictype/property-bidi-common-separator-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_bidi_common_separator.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_bidi_common_separator +check_PROGRAMS += test-pr_bidi_common_separator +test_pr_bidi_common_separator_SOURCES = unictype/test-pr_bidi_common_separator.c +test_pr_bidi_common_separator_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-bidi-control b/gnulib/modules/unictype/property-bidi-control new file mode 100644 index 0000000..ee04616 --- /dev/null +++ b/gnulib/modules/unictype/property-bidi-control @@ -0,0 +1,30 @@ +Description: +Test whether a Unicode character is "bidi control". + +Files: +lib/unictype/pr_bidi_control.c +lib/unictype/pr_bidi_control.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base +unictype/bidiclass-of + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9], [unictype/property-bidi-control]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_CONTROL +lib_SOURCES += unictype/pr_bidi_control.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-bidi-control-tests b/gnulib/modules/unictype/property-bidi-control-tests new file mode 100644 index 0000000..caaa94b --- /dev/null +++ b/gnulib/modules/unictype/property-bidi-control-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_bidi_control.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_bidi_control +check_PROGRAMS += test-pr_bidi_control +test_pr_bidi_control_SOURCES = unictype/test-pr_bidi_control.c +test_pr_bidi_control_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-bidi-embedding-or-override b/gnulib/modules/unictype/property-bidi-embedding-or-override new file mode 100644 index 0000000..4605ecd --- /dev/null +++ b/gnulib/modules/unictype/property-bidi-embedding-or-override @@ -0,0 +1,30 @@ +Description: +Test whether a Unicode character is "bidi embedding or override". + +Files: +lib/unictype/pr_bidi_embedding_or_override.c +lib/unictype/pr_bidi_embedding_or_override.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base +unictype/bidiclass-of + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9], [unictype/property-bidi-embedding-or-override]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_EMBEDDING_OR_OVERRIDE +lib_SOURCES += unictype/pr_bidi_embedding_or_override.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-bidi-embedding-or-override-tests b/gnulib/modules/unictype/property-bidi-embedding-or-override-tests new file mode 100644 index 0000000..dcc9b74 --- /dev/null +++ b/gnulib/modules/unictype/property-bidi-embedding-or-override-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_bidi_embedding_or_override.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_bidi_embedding_or_override +check_PROGRAMS += test-pr_bidi_embedding_or_override +test_pr_bidi_embedding_or_override_SOURCES = unictype/test-pr_bidi_embedding_or_override.c +test_pr_bidi_embedding_or_override_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-bidi-eur-num-separator b/gnulib/modules/unictype/property-bidi-eur-num-separator new file mode 100644 index 0000000..442ac71 --- /dev/null +++ b/gnulib/modules/unictype/property-bidi-eur-num-separator @@ -0,0 +1,30 @@ +Description: +Test whether a Unicode character is "bidi eur num separator". + +Files: +lib/unictype/pr_bidi_eur_num_separator.c +lib/unictype/pr_bidi_eur_num_separator.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base +unictype/bidiclass-of + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9], [unictype/property-bidi-eur-num-separator]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_EUR_NUM_SEPARATOR +lib_SOURCES += unictype/pr_bidi_eur_num_separator.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-bidi-eur-num-separator-tests b/gnulib/modules/unictype/property-bidi-eur-num-separator-tests new file mode 100644 index 0000000..b2807fc --- /dev/null +++ b/gnulib/modules/unictype/property-bidi-eur-num-separator-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_bidi_eur_num_separator.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_bidi_eur_num_separator +check_PROGRAMS += test-pr_bidi_eur_num_separator +test_pr_bidi_eur_num_separator_SOURCES = unictype/test-pr_bidi_eur_num_separator.c +test_pr_bidi_eur_num_separator_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-bidi-eur-num-terminator b/gnulib/modules/unictype/property-bidi-eur-num-terminator new file mode 100644 index 0000000..fd2f4fb --- /dev/null +++ b/gnulib/modules/unictype/property-bidi-eur-num-terminator @@ -0,0 +1,30 @@ +Description: +Test whether a Unicode character is "bidi eur num terminator". + +Files: +lib/unictype/pr_bidi_eur_num_terminator.c +lib/unictype/pr_bidi_eur_num_terminator.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base +unictype/bidiclass-of + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/property-bidi-eur-num-terminator]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_EUR_NUM_TERMINATOR +lib_SOURCES += unictype/pr_bidi_eur_num_terminator.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-bidi-eur-num-terminator-tests b/gnulib/modules/unictype/property-bidi-eur-num-terminator-tests new file mode 100644 index 0000000..c1c84a1 --- /dev/null +++ b/gnulib/modules/unictype/property-bidi-eur-num-terminator-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_bidi_eur_num_terminator.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_bidi_eur_num_terminator +check_PROGRAMS += test-pr_bidi_eur_num_terminator +test_pr_bidi_eur_num_terminator_SOURCES = unictype/test-pr_bidi_eur_num_terminator.c +test_pr_bidi_eur_num_terminator_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-bidi-european-digit b/gnulib/modules/unictype/property-bidi-european-digit new file mode 100644 index 0000000..eeb618a --- /dev/null +++ b/gnulib/modules/unictype/property-bidi-european-digit @@ -0,0 +1,30 @@ +Description: +Test whether a Unicode character is "bidi european digit". + +Files: +lib/unictype/pr_bidi_european_digit.c +lib/unictype/pr_bidi_european_digit.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base +unictype/bidiclass-of + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/property-bidi-european-digit]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_EUROPEAN_DIGIT +lib_SOURCES += unictype/pr_bidi_european_digit.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-bidi-european-digit-tests b/gnulib/modules/unictype/property-bidi-european-digit-tests new file mode 100644 index 0000000..4a02e0e --- /dev/null +++ b/gnulib/modules/unictype/property-bidi-european-digit-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_bidi_european_digit.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_bidi_european_digit +check_PROGRAMS += test-pr_bidi_european_digit +test_pr_bidi_european_digit_SOURCES = unictype/test-pr_bidi_european_digit.c +test_pr_bidi_european_digit_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-bidi-hebrew-right-to-left b/gnulib/modules/unictype/property-bidi-hebrew-right-to-left new file mode 100644 index 0000000..566abd5 --- /dev/null +++ b/gnulib/modules/unictype/property-bidi-hebrew-right-to-left @@ -0,0 +1,30 @@ +Description: +Test whether a Unicode character is "bidi hebrew right to left". + +Files: +lib/unictype/pr_bidi_hebrew_right_to_left.c +lib/unictype/pr_bidi_hebrew_right_to_left.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base +unictype/bidiclass-of + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/property-bidi-hebrew-right-to-left]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_HEBREW_RIGHT_TO_LEFT +lib_SOURCES += unictype/pr_bidi_hebrew_right_to_left.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-bidi-hebrew-right-to-left-tests b/gnulib/modules/unictype/property-bidi-hebrew-right-to-left-tests new file mode 100644 index 0000000..010f274 --- /dev/null +++ b/gnulib/modules/unictype/property-bidi-hebrew-right-to-left-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_bidi_hebrew_right_to_left.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_bidi_hebrew_right_to_left +check_PROGRAMS += test-pr_bidi_hebrew_right_to_left +test_pr_bidi_hebrew_right_to_left_SOURCES = unictype/test-pr_bidi_hebrew_right_to_left.c +test_pr_bidi_hebrew_right_to_left_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-bidi-left-to-right b/gnulib/modules/unictype/property-bidi-left-to-right new file mode 100644 index 0000000..2671901 --- /dev/null +++ b/gnulib/modules/unictype/property-bidi-left-to-right @@ -0,0 +1,30 @@ +Description: +Test whether a Unicode character is "bidi left to right". + +Files: +lib/unictype/pr_bidi_left_to_right.c +lib/unictype/pr_bidi_left_to_right.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base +unictype/bidiclass-of + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/property-bidi-left-to-right]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_LEFT_TO_RIGHT +lib_SOURCES += unictype/pr_bidi_left_to_right.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-bidi-left-to-right-tests b/gnulib/modules/unictype/property-bidi-left-to-right-tests new file mode 100644 index 0000000..7ad9ec6 --- /dev/null +++ b/gnulib/modules/unictype/property-bidi-left-to-right-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_bidi_left_to_right.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_bidi_left_to_right +check_PROGRAMS += test-pr_bidi_left_to_right +test_pr_bidi_left_to_right_SOURCES = unictype/test-pr_bidi_left_to_right.c +test_pr_bidi_left_to_right_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-bidi-non-spacing-mark b/gnulib/modules/unictype/property-bidi-non-spacing-mark new file mode 100644 index 0000000..aad1fd5 --- /dev/null +++ b/gnulib/modules/unictype/property-bidi-non-spacing-mark @@ -0,0 +1,30 @@ +Description: +Test whether a Unicode character is "bidi non spacing mark". + +Files: +lib/unictype/pr_bidi_non_spacing_mark.c +lib/unictype/pr_bidi_non_spacing_mark.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base +unictype/bidiclass-of + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/property-bidi-non-spacing-mark]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_NON_SPACING_MARK +lib_SOURCES += unictype/pr_bidi_non_spacing_mark.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-bidi-non-spacing-mark-tests b/gnulib/modules/unictype/property-bidi-non-spacing-mark-tests new file mode 100644 index 0000000..11439fd --- /dev/null +++ b/gnulib/modules/unictype/property-bidi-non-spacing-mark-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_bidi_non_spacing_mark.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_bidi_non_spacing_mark +check_PROGRAMS += test-pr_bidi_non_spacing_mark +test_pr_bidi_non_spacing_mark_SOURCES = unictype/test-pr_bidi_non_spacing_mark.c +test_pr_bidi_non_spacing_mark_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-bidi-other-neutral b/gnulib/modules/unictype/property-bidi-other-neutral new file mode 100644 index 0000000..81bb3e7 --- /dev/null +++ b/gnulib/modules/unictype/property-bidi-other-neutral @@ -0,0 +1,30 @@ +Description: +Test whether a Unicode character is "bidi other neutral". + +Files: +lib/unictype/pr_bidi_other_neutral.c +lib/unictype/pr_bidi_other_neutral.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base +unictype/bidiclass-of + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/property-bidi-other-neutral]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_OTHER_NEUTRAL +lib_SOURCES += unictype/pr_bidi_other_neutral.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-bidi-other-neutral-tests b/gnulib/modules/unictype/property-bidi-other-neutral-tests new file mode 100644 index 0000000..657bb9f --- /dev/null +++ b/gnulib/modules/unictype/property-bidi-other-neutral-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_bidi_other_neutral.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_bidi_other_neutral +check_PROGRAMS += test-pr_bidi_other_neutral +test_pr_bidi_other_neutral_SOURCES = unictype/test-pr_bidi_other_neutral.c +test_pr_bidi_other_neutral_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-bidi-pdf b/gnulib/modules/unictype/property-bidi-pdf new file mode 100644 index 0000000..bd0f3c0 --- /dev/null +++ b/gnulib/modules/unictype/property-bidi-pdf @@ -0,0 +1,30 @@ +Description: +Test whether a Unicode character is "bidi pdf". + +Files: +lib/unictype/pr_bidi_pdf.c +lib/unictype/pr_bidi_pdf.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base +unictype/bidiclass-of + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9], [unictype/property-bidi-pdf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_PDF +lib_SOURCES += unictype/pr_bidi_pdf.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-bidi-pdf-tests b/gnulib/modules/unictype/property-bidi-pdf-tests new file mode 100644 index 0000000..3ccb30b --- /dev/null +++ b/gnulib/modules/unictype/property-bidi-pdf-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_bidi_pdf.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_bidi_pdf +check_PROGRAMS += test-pr_bidi_pdf +test_pr_bidi_pdf_SOURCES = unictype/test-pr_bidi_pdf.c +test_pr_bidi_pdf_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-bidi-segment-separator b/gnulib/modules/unictype/property-bidi-segment-separator new file mode 100644 index 0000000..7f959e4 --- /dev/null +++ b/gnulib/modules/unictype/property-bidi-segment-separator @@ -0,0 +1,30 @@ +Description: +Test whether a Unicode character is "bidi segment separator". + +Files: +lib/unictype/pr_bidi_segment_separator.c +lib/unictype/pr_bidi_segment_separator.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base +unictype/bidiclass-of + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9], [unictype/property-bidi-segment-separator]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_SEGMENT_SEPARATOR +lib_SOURCES += unictype/pr_bidi_segment_separator.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-bidi-segment-separator-tests b/gnulib/modules/unictype/property-bidi-segment-separator-tests new file mode 100644 index 0000000..5f5290d --- /dev/null +++ b/gnulib/modules/unictype/property-bidi-segment-separator-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_bidi_segment_separator.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_bidi_segment_separator +check_PROGRAMS += test-pr_bidi_segment_separator +test_pr_bidi_segment_separator_SOURCES = unictype/test-pr_bidi_segment_separator.c +test_pr_bidi_segment_separator_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-bidi-whitespace b/gnulib/modules/unictype/property-bidi-whitespace new file mode 100644 index 0000000..e21b33b --- /dev/null +++ b/gnulib/modules/unictype/property-bidi-whitespace @@ -0,0 +1,30 @@ +Description: +Test whether a Unicode character is "bidi whitespace". + +Files: +lib/unictype/pr_bidi_whitespace.c +lib/unictype/pr_bidi_whitespace.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base +unictype/bidiclass-of + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9], [unictype/property-bidi-whitespace]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BIDI_WHITESPACE +lib_SOURCES += unictype/pr_bidi_whitespace.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-bidi-whitespace-tests b/gnulib/modules/unictype/property-bidi-whitespace-tests new file mode 100644 index 0000000..669e750 --- /dev/null +++ b/gnulib/modules/unictype/property-bidi-whitespace-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_bidi_whitespace.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_bidi_whitespace +check_PROGRAMS += test-pr_bidi_whitespace +test_pr_bidi_whitespace_SOURCES = unictype/test-pr_bidi_whitespace.c +test_pr_bidi_whitespace_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-byname b/gnulib/modules/unictype/property-byname new file mode 100644 index 0000000..18a881e --- /dev/null +++ b/gnulib/modules/unictype/property-byname @@ -0,0 +1,122 @@ +Description: +Find a Unicode character property, given its name. + +Files: +lib/unictype/pr_byname.c +lib/unictype/pr_byname.gperf + +Depends-on: +unictype/base +unictype/property-alphabetic +unictype/property-ascii-hex-digit +unictype/property-bidi-arabic-digit +unictype/property-bidi-arabic-right-to-left +unictype/property-bidi-block-separator +unictype/property-bidi-boundary-neutral +unictype/property-bidi-common-separator +unictype/property-bidi-control +unictype/property-bidi-embedding-or-override +unictype/property-bidi-eur-num-separator +unictype/property-bidi-eur-num-terminator +unictype/property-bidi-european-digit +unictype/property-bidi-hebrew-right-to-left +unictype/property-bidi-left-to-right +unictype/property-bidi-non-spacing-mark +unictype/property-bidi-other-neutral +unictype/property-bidi-pdf +unictype/property-bidi-segment-separator +unictype/property-bidi-whitespace +unictype/property-case-ignorable +unictype/property-cased +unictype/property-changes-when-casefolded +unictype/property-changes-when-casemapped +unictype/property-changes-when-lowercased +unictype/property-changes-when-titlecased +unictype/property-changes-when-uppercased +unictype/property-combining +unictype/property-composite +unictype/property-currency-symbol +unictype/property-dash +unictype/property-decimal-digit +unictype/property-default-ignorable-code-point +unictype/property-deprecated +unictype/property-diacritic +unictype/property-extender +unictype/property-format-control +unictype/property-grapheme-base +unictype/property-grapheme-extend +unictype/property-grapheme-link +unictype/property-hex-digit +unictype/property-hyphen +unictype/property-id-continue +unictype/property-id-start +unictype/property-ideographic +unictype/property-ids-binary-operator +unictype/property-ids-trinary-operator +unictype/property-ignorable-control +unictype/property-iso-control +unictype/property-join-control +unictype/property-left-of-pair +unictype/property-line-separator +unictype/property-logical-order-exception +unictype/property-lowercase +unictype/property-math +unictype/property-non-break +unictype/property-not-a-character +unictype/property-numeric +unictype/property-other-alphabetic +unictype/property-other-default-ignorable-code-point +unictype/property-other-grapheme-extend +unictype/property-other-id-continue +unictype/property-other-id-start +unictype/property-other-lowercase +unictype/property-other-math +unictype/property-other-uppercase +unictype/property-paired-punctuation +unictype/property-paragraph-separator +unictype/property-pattern-syntax +unictype/property-pattern-white-space +unictype/property-private-use +unictype/property-punctuation +unictype/property-quotation-mark +unictype/property-radical +unictype/property-sentence-terminal +unictype/property-soft-dotted +unictype/property-space +unictype/property-terminal-punctuation +unictype/property-titlecase +unictype/property-unassigned-code-value +unictype/property-unified-ideograph +unictype/property-uppercase +unictype/property-variation-selector +unictype/property-white-space +unictype/property-xid-continue +unictype/property-xid-start +unictype/property-zero-width +gperf + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/property-byname]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_BYNAME +lib_SOURCES += unictype/pr_byname.c +endif + +unictype/pr_byname.h: unictype/pr_byname.gperf + $(GPERF) -m 10 $(srcdir)/unictype/pr_byname.gperf > $(srcdir)/unictype/pr_byname.h-t + mv $(srcdir)/unictype/pr_byname.h-t $(srcdir)/unictype/pr_byname.h +BUILT_SOURCES += unictype/pr_byname.h +MOSTLYCLEANFILES += unictype/pr_byname.h-t +MAINTAINERCLEANFILES += unictype/pr_byname.h +EXTRA_DIST += unictype/pr_byname.h + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-byname-tests b/gnulib/modules/unictype/property-byname-tests new file mode 100644 index 0000000..75f7f27 --- /dev/null +++ b/gnulib/modules/unictype/property-byname-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_byname.c +tests/macros.h + +Depends-on: +unictype/property-test +unictype/property-composite + +configure.ac: + +Makefile.am: +TESTS += test-pr_byname +check_PROGRAMS += test-pr_byname +test_pr_byname_SOURCES = unictype/test-pr_byname.c +test_pr_byname_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-case-ignorable b/gnulib/modules/unictype/property-case-ignorable new file mode 100644 index 0000000..850f919 --- /dev/null +++ b/gnulib/modules/unictype/property-case-ignorable @@ -0,0 +1,28 @@ +Description: +Test whether a Unicode character is "case ignorable". + +Files: +lib/unictype/pr_case_ignorable.c +lib/unictype/pr_case_ignorable.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/property-case-ignorable]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CASE_IGNORABLE +lib_SOURCES += unictype/pr_case_ignorable.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/unictype/property-case-ignorable-tests b/gnulib/modules/unictype/property-case-ignorable-tests new file mode 100644 index 0000000..b6ef879 --- /dev/null +++ b/gnulib/modules/unictype/property-case-ignorable-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_case_ignorable.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_case_ignorable +check_PROGRAMS += test-pr_case_ignorable +test_pr_case_ignorable_SOURCES = unictype/test-pr_case_ignorable.c +test_pr_case_ignorable_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-cased b/gnulib/modules/unictype/property-cased new file mode 100644 index 0000000..caf51ca --- /dev/null +++ b/gnulib/modules/unictype/property-cased @@ -0,0 +1,28 @@ +Description: +Test whether a Unicode character is "cased". + +Files: +lib/unictype/pr_cased.c +lib/unictype/pr_cased.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/property-cased]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CASED +lib_SOURCES += unictype/pr_cased.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/unictype/property-cased-tests b/gnulib/modules/unictype/property-cased-tests new file mode 100644 index 0000000..73d336b --- /dev/null +++ b/gnulib/modules/unictype/property-cased-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_cased.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_cased +check_PROGRAMS += test-pr_cased +test_pr_cased_SOURCES = unictype/test-pr_cased.c +test_pr_cased_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-changes-when-casefolded b/gnulib/modules/unictype/property-changes-when-casefolded new file mode 100644 index 0000000..f6e3a18 --- /dev/null +++ b/gnulib/modules/unictype/property-changes-when-casefolded @@ -0,0 +1,28 @@ +Description: +Test whether a Unicode character changes when casefolded. + +Files: +lib/unictype/pr_changes_when_casefolded.c +lib/unictype/pr_changes_when_casefolded.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/property-changes-when-casefolded]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CHANGES_WHEN_CASEFOLDED +lib_SOURCES += unictype/pr_changes_when_casefolded.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/unictype/property-changes-when-casefolded-tests b/gnulib/modules/unictype/property-changes-when-casefolded-tests new file mode 100644 index 0000000..9e7f4c0 --- /dev/null +++ b/gnulib/modules/unictype/property-changes-when-casefolded-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_changes_when_casefolded.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_changes_when_casefolded +check_PROGRAMS += test-pr_changes_when_casefolded +test_pr_changes_when_casefolded_SOURCES = unictype/test-pr_changes_when_casefolded.c +test_pr_changes_when_casefolded_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-changes-when-casemapped b/gnulib/modules/unictype/property-changes-when-casemapped new file mode 100644 index 0000000..93d3f11 --- /dev/null +++ b/gnulib/modules/unictype/property-changes-when-casemapped @@ -0,0 +1,28 @@ +Description: +Test whether a Unicode character changes when casemapped. + +Files: +lib/unictype/pr_changes_when_casemapped.c +lib/unictype/pr_changes_when_casemapped.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/property-changes-when-casemapped]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CHANGES_WHEN_CASEMAPPED +lib_SOURCES += unictype/pr_changes_when_casemapped.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/unictype/property-changes-when-casemapped-tests b/gnulib/modules/unictype/property-changes-when-casemapped-tests new file mode 100644 index 0000000..4e36db7 --- /dev/null +++ b/gnulib/modules/unictype/property-changes-when-casemapped-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_changes_when_casemapped.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_changes_when_casemapped +check_PROGRAMS += test-pr_changes_when_casemapped +test_pr_changes_when_casemapped_SOURCES = unictype/test-pr_changes_when_casemapped.c +test_pr_changes_when_casemapped_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-changes-when-lowercased b/gnulib/modules/unictype/property-changes-when-lowercased new file mode 100644 index 0000000..90f35f7 --- /dev/null +++ b/gnulib/modules/unictype/property-changes-when-lowercased @@ -0,0 +1,28 @@ +Description: +Test whether a Unicode character changes when lowercased. + +Files: +lib/unictype/pr_changes_when_lowercased.c +lib/unictype/pr_changes_when_lowercased.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/property-changes-when-lowercased]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CHANGES_WHEN_LOWERCASED +lib_SOURCES += unictype/pr_changes_when_lowercased.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/unictype/property-changes-when-lowercased-tests b/gnulib/modules/unictype/property-changes-when-lowercased-tests new file mode 100644 index 0000000..6b5db14 --- /dev/null +++ b/gnulib/modules/unictype/property-changes-when-lowercased-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_changes_when_lowercased.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_changes_when_lowercased +check_PROGRAMS += test-pr_changes_when_lowercased +test_pr_changes_when_lowercased_SOURCES = unictype/test-pr_changes_when_lowercased.c +test_pr_changes_when_lowercased_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-changes-when-titlecased b/gnulib/modules/unictype/property-changes-when-titlecased new file mode 100644 index 0000000..2816440 --- /dev/null +++ b/gnulib/modules/unictype/property-changes-when-titlecased @@ -0,0 +1,28 @@ +Description: +Test whether a Unicode character changes when titlecased. + +Files: +lib/unictype/pr_changes_when_titlecased.c +lib/unictype/pr_changes_when_titlecased.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/property-changes-when-titlecased]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CHANGES_WHEN_TITLECASED +lib_SOURCES += unictype/pr_changes_when_titlecased.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/unictype/property-changes-when-titlecased-tests b/gnulib/modules/unictype/property-changes-when-titlecased-tests new file mode 100644 index 0000000..a9e7656 --- /dev/null +++ b/gnulib/modules/unictype/property-changes-when-titlecased-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_changes_when_titlecased.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_changes_when_titlecased +check_PROGRAMS += test-pr_changes_when_titlecased +test_pr_changes_when_titlecased_SOURCES = unictype/test-pr_changes_when_titlecased.c +test_pr_changes_when_titlecased_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-changes-when-uppercased b/gnulib/modules/unictype/property-changes-when-uppercased new file mode 100644 index 0000000..b9fae51 --- /dev/null +++ b/gnulib/modules/unictype/property-changes-when-uppercased @@ -0,0 +1,28 @@ +Description: +Test whether a Unicode character changes when uppercased. + +Files: +lib/unictype/pr_changes_when_uppercased.c +lib/unictype/pr_changes_when_uppercased.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/property-changes-when-uppercased]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CHANGES_WHEN_UPPERCASED +lib_SOURCES += unictype/pr_changes_when_uppercased.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/unictype/property-changes-when-uppercased-tests b/gnulib/modules/unictype/property-changes-when-uppercased-tests new file mode 100644 index 0000000..204f8df --- /dev/null +++ b/gnulib/modules/unictype/property-changes-when-uppercased-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_changes_when_uppercased.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_changes_when_uppercased +check_PROGRAMS += test-pr_changes_when_uppercased +test_pr_changes_when_uppercased_SOURCES = unictype/test-pr_changes_when_uppercased.c +test_pr_changes_when_uppercased_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-combining b/gnulib/modules/unictype/property-combining new file mode 100644 index 0000000..3fdbd44 --- /dev/null +++ b/gnulib/modules/unictype/property-combining @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "combining". + +Files: +lib/unictype/pr_combining.c +lib/unictype/pr_combining.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/property-combining]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_COMBINING +lib_SOURCES += unictype/pr_combining.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-combining-tests b/gnulib/modules/unictype/property-combining-tests new file mode 100644 index 0000000..26263f7 --- /dev/null +++ b/gnulib/modules/unictype/property-combining-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_combining.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_combining +check_PROGRAMS += test-pr_combining +test_pr_combining_SOURCES = unictype/test-pr_combining.c +test_pr_combining_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-composite b/gnulib/modules/unictype/property-composite new file mode 100644 index 0000000..2ffc316 --- /dev/null +++ b/gnulib/modules/unictype/property-composite @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "composite". + +Files: +lib/unictype/pr_composite.c +lib/unictype/pr_composite.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/property-composite]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_COMPOSITE +lib_SOURCES += unictype/pr_composite.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-composite-tests b/gnulib/modules/unictype/property-composite-tests new file mode 100644 index 0000000..cfcf2b8 --- /dev/null +++ b/gnulib/modules/unictype/property-composite-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_composite.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_composite +check_PROGRAMS += test-pr_composite +test_pr_composite_SOURCES = unictype/test-pr_composite.c +test_pr_composite_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-currency-symbol b/gnulib/modules/unictype/property-currency-symbol new file mode 100644 index 0000000..7f326f2 --- /dev/null +++ b/gnulib/modules/unictype/property-currency-symbol @@ -0,0 +1,31 @@ +Description: +Test whether a Unicode character is "currency symbol". + +Files: +lib/unictype/pr_currency_symbol.c +lib/unictype/pr_currency_symbol.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base +unictype/category-test +unictype/category-Sc + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/property-currency-symbol]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_CURRENCY_SYMBOL +lib_SOURCES += unictype/pr_currency_symbol.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-currency-symbol-tests b/gnulib/modules/unictype/property-currency-symbol-tests new file mode 100644 index 0000000..0219f38 --- /dev/null +++ b/gnulib/modules/unictype/property-currency-symbol-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_currency_symbol.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_currency_symbol +check_PROGRAMS += test-pr_currency_symbol +test_pr_currency_symbol_SOURCES = unictype/test-pr_currency_symbol.c +test_pr_currency_symbol_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-dash b/gnulib/modules/unictype/property-dash new file mode 100644 index 0000000..6791145 --- /dev/null +++ b/gnulib/modules/unictype/property-dash @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "dash". + +Files: +lib/unictype/pr_dash.c +lib/unictype/pr_dash.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/property-dash]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_DASH +lib_SOURCES += unictype/pr_dash.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-dash-tests b/gnulib/modules/unictype/property-dash-tests new file mode 100644 index 0000000..511dd7b --- /dev/null +++ b/gnulib/modules/unictype/property-dash-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_dash.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_dash +check_PROGRAMS += test-pr_dash +test_pr_dash_SOURCES = unictype/test-pr_dash.c +test_pr_dash_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-decimal-digit b/gnulib/modules/unictype/property-decimal-digit new file mode 100644 index 0000000..57d591f --- /dev/null +++ b/gnulib/modules/unictype/property-decimal-digit @@ -0,0 +1,31 @@ +Description: +Test whether a Unicode character is "decimal digit". + +Files: +lib/unictype/pr_decimal_digit.c +lib/unictype/pr_decimal_digit.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base +unictype/category-test +unictype/category-Nd + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/property-decimal-digit]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_DECIMAL_DIGIT +lib_SOURCES += unictype/pr_decimal_digit.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-decimal-digit-tests b/gnulib/modules/unictype/property-decimal-digit-tests new file mode 100644 index 0000000..8a42f18 --- /dev/null +++ b/gnulib/modules/unictype/property-decimal-digit-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_decimal_digit.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_decimal_digit +check_PROGRAMS += test-pr_decimal_digit +test_pr_decimal_digit_SOURCES = unictype/test-pr_decimal_digit.c +test_pr_decimal_digit_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-default-ignorable-code-point b/gnulib/modules/unictype/property-default-ignorable-code-point new file mode 100644 index 0000000..ecf9482 --- /dev/null +++ b/gnulib/modules/unictype/property-default-ignorable-code-point @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "default ignorable code point". + +Files: +lib/unictype/pr_default_ignorable_code_point.c +lib/unictype/pr_default_ignorable_code_point.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9], [unictype/property-default-ignorable-code-point]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_DEFAULT_IGNORABLE_CODE_POINT +lib_SOURCES += unictype/pr_default_ignorable_code_point.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-default-ignorable-code-point-tests b/gnulib/modules/unictype/property-default-ignorable-code-point-tests new file mode 100644 index 0000000..909fc46 --- /dev/null +++ b/gnulib/modules/unictype/property-default-ignorable-code-point-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_default_ignorable_code_point.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_default_ignorable_code_point +check_PROGRAMS += test-pr_default_ignorable_code_point +test_pr_default_ignorable_code_point_SOURCES = unictype/test-pr_default_ignorable_code_point.c +test_pr_default_ignorable_code_point_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-deprecated b/gnulib/modules/unictype/property-deprecated new file mode 100644 index 0000000..6ca423e --- /dev/null +++ b/gnulib/modules/unictype/property-deprecated @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "deprecated". + +Files: +lib/unictype/pr_deprecated.c +lib/unictype/pr_deprecated.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/property-deprecated]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_DEPRECATED +lib_SOURCES += unictype/pr_deprecated.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-deprecated-tests b/gnulib/modules/unictype/property-deprecated-tests new file mode 100644 index 0000000..68cc803 --- /dev/null +++ b/gnulib/modules/unictype/property-deprecated-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_deprecated.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_deprecated +check_PROGRAMS += test-pr_deprecated +test_pr_deprecated_SOURCES = unictype/test-pr_deprecated.c +test_pr_deprecated_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-diacritic b/gnulib/modules/unictype/property-diacritic new file mode 100644 index 0000000..c26123d --- /dev/null +++ b/gnulib/modules/unictype/property-diacritic @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "diacritic". + +Files: +lib/unictype/pr_diacritic.c +lib/unictype/pr_diacritic.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/property-diacritic]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_DIACRITIC +lib_SOURCES += unictype/pr_diacritic.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-diacritic-tests b/gnulib/modules/unictype/property-diacritic-tests new file mode 100644 index 0000000..261e4c2 --- /dev/null +++ b/gnulib/modules/unictype/property-diacritic-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_diacritic.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_diacritic +check_PROGRAMS += test-pr_diacritic +test_pr_diacritic_SOURCES = unictype/test-pr_diacritic.c +test_pr_diacritic_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-extender b/gnulib/modules/unictype/property-extender new file mode 100644 index 0000000..0033351 --- /dev/null +++ b/gnulib/modules/unictype/property-extender @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "extender". + +Files: +lib/unictype/pr_extender.c +lib/unictype/pr_extender.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/property-extender]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_EXTENDER +lib_SOURCES += unictype/pr_extender.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-extender-tests b/gnulib/modules/unictype/property-extender-tests new file mode 100644 index 0000000..d104cc5 --- /dev/null +++ b/gnulib/modules/unictype/property-extender-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_extender.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_extender +check_PROGRAMS += test-pr_extender +test_pr_extender_SOURCES = unictype/test-pr_extender.c +test_pr_extender_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-format-control b/gnulib/modules/unictype/property-format-control new file mode 100644 index 0000000..977836b --- /dev/null +++ b/gnulib/modules/unictype/property-format-control @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "format control". + +Files: +lib/unictype/pr_format_control.c +lib/unictype/pr_format_control.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/property-format-control]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_FORMAT_CONTROL +lib_SOURCES += unictype/pr_format_control.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-format-control-tests b/gnulib/modules/unictype/property-format-control-tests new file mode 100644 index 0000000..ad2339a --- /dev/null +++ b/gnulib/modules/unictype/property-format-control-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_format_control.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_format_control +check_PROGRAMS += test-pr_format_control +test_pr_format_control_SOURCES = unictype/test-pr_format_control.c +test_pr_format_control_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-grapheme-base b/gnulib/modules/unictype/property-grapheme-base new file mode 100644 index 0000000..f9f1cf7 --- /dev/null +++ b/gnulib/modules/unictype/property-grapheme-base @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "grapheme base". + +Files: +lib/unictype/pr_grapheme_base.c +lib/unictype/pr_grapheme_base.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/property-grapheme-base]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_GRAPHEME_BASE +lib_SOURCES += unictype/pr_grapheme_base.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-grapheme-base-tests b/gnulib/modules/unictype/property-grapheme-base-tests new file mode 100644 index 0000000..0a3efc7 --- /dev/null +++ b/gnulib/modules/unictype/property-grapheme-base-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_grapheme_base.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_grapheme_base +check_PROGRAMS += test-pr_grapheme_base +test_pr_grapheme_base_SOURCES = unictype/test-pr_grapheme_base.c +test_pr_grapheme_base_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-grapheme-extend b/gnulib/modules/unictype/property-grapheme-extend new file mode 100644 index 0000000..38a32e8 --- /dev/null +++ b/gnulib/modules/unictype/property-grapheme-extend @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "grapheme extend". + +Files: +lib/unictype/pr_grapheme_extend.c +lib/unictype/pr_grapheme_extend.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/property-grapheme-extend]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_GRAPHEME_EXTEND +lib_SOURCES += unictype/pr_grapheme_extend.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-grapheme-extend-tests b/gnulib/modules/unictype/property-grapheme-extend-tests new file mode 100644 index 0000000..a516d1e --- /dev/null +++ b/gnulib/modules/unictype/property-grapheme-extend-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_grapheme_extend.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_grapheme_extend +check_PROGRAMS += test-pr_grapheme_extend +test_pr_grapheme_extend_SOURCES = unictype/test-pr_grapheme_extend.c +test_pr_grapheme_extend_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-grapheme-link b/gnulib/modules/unictype/property-grapheme-link new file mode 100644 index 0000000..0024f5c --- /dev/null +++ b/gnulib/modules/unictype/property-grapheme-link @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "grapheme link". + +Files: +lib/unictype/pr_grapheme_link.c +lib/unictype/pr_grapheme_link.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/property-grapheme-link]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_GRAPHEME_LINK +lib_SOURCES += unictype/pr_grapheme_link.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-grapheme-link-tests b/gnulib/modules/unictype/property-grapheme-link-tests new file mode 100644 index 0000000..0969955 --- /dev/null +++ b/gnulib/modules/unictype/property-grapheme-link-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_grapheme_link.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_grapheme_link +check_PROGRAMS += test-pr_grapheme_link +test_pr_grapheme_link_SOURCES = unictype/test-pr_grapheme_link.c +test_pr_grapheme_link_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-hex-digit b/gnulib/modules/unictype/property-hex-digit new file mode 100644 index 0000000..b4d244d --- /dev/null +++ b/gnulib/modules/unictype/property-hex-digit @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "hex digit". + +Files: +lib/unictype/pr_hex_digit.c +lib/unictype/pr_hex_digit.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9], [unictype/property-hex-digit]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_HEX_DIGIT +lib_SOURCES += unictype/pr_hex_digit.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-hex-digit-tests b/gnulib/modules/unictype/property-hex-digit-tests new file mode 100644 index 0000000..429cbcd --- /dev/null +++ b/gnulib/modules/unictype/property-hex-digit-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_hex_digit.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_hex_digit +check_PROGRAMS += test-pr_hex_digit +test_pr_hex_digit_SOURCES = unictype/test-pr_hex_digit.c +test_pr_hex_digit_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-hyphen b/gnulib/modules/unictype/property-hyphen new file mode 100644 index 0000000..0e63514 --- /dev/null +++ b/gnulib/modules/unictype/property-hyphen @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "hyphen". + +Files: +lib/unictype/pr_hyphen.c +lib/unictype/pr_hyphen.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9], [unictype/property-hyphen]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_HYPHEN +lib_SOURCES += unictype/pr_hyphen.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-hyphen-tests b/gnulib/modules/unictype/property-hyphen-tests new file mode 100644 index 0000000..3c7eb21 --- /dev/null +++ b/gnulib/modules/unictype/property-hyphen-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_hyphen.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_hyphen +check_PROGRAMS += test-pr_hyphen +test_pr_hyphen_SOURCES = unictype/test-pr_hyphen.c +test_pr_hyphen_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-id-continue b/gnulib/modules/unictype/property-id-continue new file mode 100644 index 0000000..de760ec --- /dev/null +++ b/gnulib/modules/unictype/property-id-continue @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "id continue". + +Files: +lib/unictype/pr_id_continue.c +lib/unictype/pr_id_continue.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/property-id-continue]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ID_CONTINUE +lib_SOURCES += unictype/pr_id_continue.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-id-continue-tests b/gnulib/modules/unictype/property-id-continue-tests new file mode 100644 index 0000000..07d8ac6 --- /dev/null +++ b/gnulib/modules/unictype/property-id-continue-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_id_continue.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_id_continue +check_PROGRAMS += test-pr_id_continue +test_pr_id_continue_SOURCES = unictype/test-pr_id_continue.c +test_pr_id_continue_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-id-start b/gnulib/modules/unictype/property-id-start new file mode 100644 index 0000000..6badc94 --- /dev/null +++ b/gnulib/modules/unictype/property-id-start @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "id start". + +Files: +lib/unictype/pr_id_start.c +lib/unictype/pr_id_start.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/property-id-start]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ID_START +lib_SOURCES += unictype/pr_id_start.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-id-start-tests b/gnulib/modules/unictype/property-id-start-tests new file mode 100644 index 0000000..7d7fb35 --- /dev/null +++ b/gnulib/modules/unictype/property-id-start-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_id_start.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_id_start +check_PROGRAMS += test-pr_id_start +test_pr_id_start_SOURCES = unictype/test-pr_id_start.c +test_pr_id_start_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-ideographic b/gnulib/modules/unictype/property-ideographic new file mode 100644 index 0000000..0ae755b --- /dev/null +++ b/gnulib/modules/unictype/property-ideographic @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "ideographic". + +Files: +lib/unictype/pr_ideographic.c +lib/unictype/pr_ideographic.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/property-ideographic]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_IDEOGRAPHIC +lib_SOURCES += unictype/pr_ideographic.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-ideographic-tests b/gnulib/modules/unictype/property-ideographic-tests new file mode 100644 index 0000000..6faa43b --- /dev/null +++ b/gnulib/modules/unictype/property-ideographic-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_ideographic.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_ideographic +check_PROGRAMS += test-pr_ideographic +test_pr_ideographic_SOURCES = unictype/test-pr_ideographic.c +test_pr_ideographic_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-ids-binary-operator b/gnulib/modules/unictype/property-ids-binary-operator new file mode 100644 index 0000000..d38e961 --- /dev/null +++ b/gnulib/modules/unictype/property-ids-binary-operator @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "ids binary operator". + +Files: +lib/unictype/pr_ids_binary_operator.c +lib/unictype/pr_ids_binary_operator.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9], [unictype/property-ids-binary-operator]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_IDS_BINARY_OPERATOR +lib_SOURCES += unictype/pr_ids_binary_operator.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-ids-binary-operator-tests b/gnulib/modules/unictype/property-ids-binary-operator-tests new file mode 100644 index 0000000..fa08c33 --- /dev/null +++ b/gnulib/modules/unictype/property-ids-binary-operator-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_ids_binary_operator.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_ids_binary_operator +check_PROGRAMS += test-pr_ids_binary_operator +test_pr_ids_binary_operator_SOURCES = unictype/test-pr_ids_binary_operator.c +test_pr_ids_binary_operator_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-ids-trinary-operator b/gnulib/modules/unictype/property-ids-trinary-operator new file mode 100644 index 0000000..5621813 --- /dev/null +++ b/gnulib/modules/unictype/property-ids-trinary-operator @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "ids trinary operator". + +Files: +lib/unictype/pr_ids_trinary_operator.c +lib/unictype/pr_ids_trinary_operator.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9], [unictype/property-ids-trinary-operator]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_IDS_TRINARY_OPERATOR +lib_SOURCES += unictype/pr_ids_trinary_operator.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-ids-trinary-operator-tests b/gnulib/modules/unictype/property-ids-trinary-operator-tests new file mode 100644 index 0000000..e0f1ecb --- /dev/null +++ b/gnulib/modules/unictype/property-ids-trinary-operator-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_ids_trinary_operator.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_ids_trinary_operator +check_PROGRAMS += test-pr_ids_trinary_operator +test_pr_ids_trinary_operator_SOURCES = unictype/test-pr_ids_trinary_operator.c +test_pr_ids_trinary_operator_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-ignorable-control b/gnulib/modules/unictype/property-ignorable-control new file mode 100644 index 0000000..39470c4 --- /dev/null +++ b/gnulib/modules/unictype/property-ignorable-control @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "ignorable control". + +Files: +lib/unictype/pr_ignorable_control.c +lib/unictype/pr_ignorable_control.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/property-ignorable-control]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_IGNORABLE_CONTROL +lib_SOURCES += unictype/pr_ignorable_control.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-ignorable-control-tests b/gnulib/modules/unictype/property-ignorable-control-tests new file mode 100644 index 0000000..39d4cdd --- /dev/null +++ b/gnulib/modules/unictype/property-ignorable-control-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_ignorable_control.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_ignorable_control +check_PROGRAMS += test-pr_ignorable_control +test_pr_ignorable_control_SOURCES = unictype/test-pr_ignorable_control.c +test_pr_ignorable_control_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-iso-control b/gnulib/modules/unictype/property-iso-control new file mode 100644 index 0000000..3e2dee9 --- /dev/null +++ b/gnulib/modules/unictype/property-iso-control @@ -0,0 +1,31 @@ +Description: +Test whether a Unicode character is "iso control". + +Files: +lib/unictype/pr_iso_control.c +lib/unictype/pr_iso_control.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base +unictype/category-test +unictype/category-Cc + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9], [unictype/property-iso-control]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ISO_CONTROL +lib_SOURCES += unictype/pr_iso_control.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-iso-control-tests b/gnulib/modules/unictype/property-iso-control-tests new file mode 100644 index 0000000..469e972 --- /dev/null +++ b/gnulib/modules/unictype/property-iso-control-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_iso_control.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_iso_control +check_PROGRAMS += test-pr_iso_control +test_pr_iso_control_SOURCES = unictype/test-pr_iso_control.c +test_pr_iso_control_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-join-control b/gnulib/modules/unictype/property-join-control new file mode 100644 index 0000000..965dfdb --- /dev/null +++ b/gnulib/modules/unictype/property-join-control @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "join control". + +Files: +lib/unictype/pr_join_control.c +lib/unictype/pr_join_control.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9], [unictype/property-join-control]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_JOIN_CONTROL +lib_SOURCES += unictype/pr_join_control.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-join-control-tests b/gnulib/modules/unictype/property-join-control-tests new file mode 100644 index 0000000..0d82ece --- /dev/null +++ b/gnulib/modules/unictype/property-join-control-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_join_control.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_join_control +check_PROGRAMS += test-pr_join_control +test_pr_join_control_SOURCES = unictype/test-pr_join_control.c +test_pr_join_control_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-left-of-pair b/gnulib/modules/unictype/property-left-of-pair new file mode 100644 index 0000000..8fcdf42 --- /dev/null +++ b/gnulib/modules/unictype/property-left-of-pair @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "left of pair". + +Files: +lib/unictype/pr_left_of_pair.c +lib/unictype/pr_left_of_pair.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9], [unictype/property-left-of-pair]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_LEFT_OF_PAIR +lib_SOURCES += unictype/pr_left_of_pair.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-left-of-pair-tests b/gnulib/modules/unictype/property-left-of-pair-tests new file mode 100644 index 0000000..0c8a79f --- /dev/null +++ b/gnulib/modules/unictype/property-left-of-pair-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_left_of_pair.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_left_of_pair +check_PROGRAMS += test-pr_left_of_pair +test_pr_left_of_pair_SOURCES = unictype/test-pr_left_of_pair.c +test_pr_left_of_pair_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-line-separator b/gnulib/modules/unictype/property-line-separator new file mode 100644 index 0000000..beef169 --- /dev/null +++ b/gnulib/modules/unictype/property-line-separator @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "line separator". + +Files: +lib/unictype/pr_line_separator.c +lib/unictype/pr_line_separator.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9], [unictype/property-line-separator]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_LINE_SEPARATOR +lib_SOURCES += unictype/pr_line_separator.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-line-separator-tests b/gnulib/modules/unictype/property-line-separator-tests new file mode 100644 index 0000000..60d9ab1 --- /dev/null +++ b/gnulib/modules/unictype/property-line-separator-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_line_separator.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_line_separator +check_PROGRAMS += test-pr_line_separator +test_pr_line_separator_SOURCES = unictype/test-pr_line_separator.c +test_pr_line_separator_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-logical-order-exception b/gnulib/modules/unictype/property-logical-order-exception new file mode 100644 index 0000000..96f71de --- /dev/null +++ b/gnulib/modules/unictype/property-logical-order-exception @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "logical order exception". + +Files: +lib/unictype/pr_logical_order_exception.c +lib/unictype/pr_logical_order_exception.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/property-logical-order-exception]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_LOGICAL_ORDER_EXCEPTION +lib_SOURCES += unictype/pr_logical_order_exception.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-logical-order-exception-tests b/gnulib/modules/unictype/property-logical-order-exception-tests new file mode 100644 index 0000000..aba4e77 --- /dev/null +++ b/gnulib/modules/unictype/property-logical-order-exception-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_logical_order_exception.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_logical_order_exception +check_PROGRAMS += test-pr_logical_order_exception +test_pr_logical_order_exception_SOURCES = unictype/test-pr_logical_order_exception.c +test_pr_logical_order_exception_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-lowercase b/gnulib/modules/unictype/property-lowercase new file mode 100644 index 0000000..8f43a9c --- /dev/null +++ b/gnulib/modules/unictype/property-lowercase @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "lowercase". + +Files: +lib/unictype/pr_lowercase.c +lib/unictype/pr_lowercase.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/property-lowercase]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_LOWERCASE +lib_SOURCES += unictype/pr_lowercase.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-lowercase-tests b/gnulib/modules/unictype/property-lowercase-tests new file mode 100644 index 0000000..a9d9bda --- /dev/null +++ b/gnulib/modules/unictype/property-lowercase-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_lowercase.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_lowercase +check_PROGRAMS += test-pr_lowercase +test_pr_lowercase_SOURCES = unictype/test-pr_lowercase.c +test_pr_lowercase_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-math b/gnulib/modules/unictype/property-math new file mode 100644 index 0000000..587ccc6 --- /dev/null +++ b/gnulib/modules/unictype/property-math @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "math". + +Files: +lib/unictype/pr_math.c +lib/unictype/pr_math.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/property-math]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_MATH +lib_SOURCES += unictype/pr_math.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-math-tests b/gnulib/modules/unictype/property-math-tests new file mode 100644 index 0000000..9f8265b --- /dev/null +++ b/gnulib/modules/unictype/property-math-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_math.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_math +check_PROGRAMS += test-pr_math +test_pr_math_SOURCES = unictype/test-pr_math.c +test_pr_math_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-non-break b/gnulib/modules/unictype/property-non-break new file mode 100644 index 0000000..0d3d5aa --- /dev/null +++ b/gnulib/modules/unictype/property-non-break @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "non break". + +Files: +lib/unictype/pr_non_break.c +lib/unictype/pr_non_break.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9], [unictype/property-non-break]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_NON_BREAK +lib_SOURCES += unictype/pr_non_break.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-non-break-tests b/gnulib/modules/unictype/property-non-break-tests new file mode 100644 index 0000000..bc2d636 --- /dev/null +++ b/gnulib/modules/unictype/property-non-break-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_non_break.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_non_break +check_PROGRAMS += test-pr_non_break +test_pr_non_break_SOURCES = unictype/test-pr_non_break.c +test_pr_non_break_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-not-a-character b/gnulib/modules/unictype/property-not-a-character new file mode 100644 index 0000000..55c2e5e --- /dev/null +++ b/gnulib/modules/unictype/property-not-a-character @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "not a character". + +Files: +lib/unictype/pr_not_a_character.c +lib/unictype/pr_not_a_character.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9], [unictype/property-not-a-character]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_NOT_A_CHARACTER +lib_SOURCES += unictype/pr_not_a_character.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-not-a-character-tests b/gnulib/modules/unictype/property-not-a-character-tests new file mode 100644 index 0000000..e8424c7 --- /dev/null +++ b/gnulib/modules/unictype/property-not-a-character-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_not_a_character.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_not_a_character +check_PROGRAMS += test-pr_not_a_character +test_pr_not_a_character_SOURCES = unictype/test-pr_not_a_character.c +test_pr_not_a_character_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-numeric b/gnulib/modules/unictype/property-numeric new file mode 100644 index 0000000..a4d0bdb --- /dev/null +++ b/gnulib/modules/unictype/property-numeric @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "numeric". + +Files: +lib/unictype/pr_numeric.c +lib/unictype/pr_numeric.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/property-numeric]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_NUMERIC +lib_SOURCES += unictype/pr_numeric.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-numeric-tests b/gnulib/modules/unictype/property-numeric-tests new file mode 100644 index 0000000..21732d3 --- /dev/null +++ b/gnulib/modules/unictype/property-numeric-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_numeric.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_numeric +check_PROGRAMS += test-pr_numeric +test_pr_numeric_SOURCES = unictype/test-pr_numeric.c +test_pr_numeric_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-other-alphabetic b/gnulib/modules/unictype/property-other-alphabetic new file mode 100644 index 0000000..c3019c6 --- /dev/null +++ b/gnulib/modules/unictype/property-other-alphabetic @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "other alphabetic". + +Files: +lib/unictype/pr_other_alphabetic.c +lib/unictype/pr_other_alphabetic.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/property-other-alphabetic]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_ALPHABETIC +lib_SOURCES += unictype/pr_other_alphabetic.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-other-alphabetic-tests b/gnulib/modules/unictype/property-other-alphabetic-tests new file mode 100644 index 0000000..e765fd9 --- /dev/null +++ b/gnulib/modules/unictype/property-other-alphabetic-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_other_alphabetic.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_other_alphabetic +check_PROGRAMS += test-pr_other_alphabetic +test_pr_other_alphabetic_SOURCES = unictype/test-pr_other_alphabetic.c +test_pr_other_alphabetic_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-other-default-ignorable-code-point b/gnulib/modules/unictype/property-other-default-ignorable-code-point new file mode 100644 index 0000000..d31b7f8 --- /dev/null +++ b/gnulib/modules/unictype/property-other-default-ignorable-code-point @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "other default ignorable code point". + +Files: +lib/unictype/pr_other_default_ignorable_code_point.c +lib/unictype/pr_other_default_ignorable_code_point.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9], [unictype/property-other-default-ignorable-code-point]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_DEFAULT_IGNORABLE_CODE_POINT +lib_SOURCES += unictype/pr_other_default_ignorable_code_point.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-other-default-ignorable-code-point-tests b/gnulib/modules/unictype/property-other-default-ignorable-code-point-tests new file mode 100644 index 0000000..e14a443 --- /dev/null +++ b/gnulib/modules/unictype/property-other-default-ignorable-code-point-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_other_default_ignorable_code_point.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_other_default_ignorable_code_point +check_PROGRAMS += test-pr_other_default_ignorable_code_point +test_pr_other_default_ignorable_code_point_SOURCES = unictype/test-pr_other_default_ignorable_code_point.c +test_pr_other_default_ignorable_code_point_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-other-grapheme-extend b/gnulib/modules/unictype/property-other-grapheme-extend new file mode 100644 index 0000000..831f686 --- /dev/null +++ b/gnulib/modules/unictype/property-other-grapheme-extend @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "other grapheme extend". + +Files: +lib/unictype/pr_other_grapheme_extend.c +lib/unictype/pr_other_grapheme_extend.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9], [unictype/property-other-grapheme-extend]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_GRAPHEME_EXTEND +lib_SOURCES += unictype/pr_other_grapheme_extend.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-other-grapheme-extend-tests b/gnulib/modules/unictype/property-other-grapheme-extend-tests new file mode 100644 index 0000000..8da412b --- /dev/null +++ b/gnulib/modules/unictype/property-other-grapheme-extend-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_other_grapheme_extend.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_other_grapheme_extend +check_PROGRAMS += test-pr_other_grapheme_extend +test_pr_other_grapheme_extend_SOURCES = unictype/test-pr_other_grapheme_extend.c +test_pr_other_grapheme_extend_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-other-id-continue b/gnulib/modules/unictype/property-other-id-continue new file mode 100644 index 0000000..e1c3975 --- /dev/null +++ b/gnulib/modules/unictype/property-other-id-continue @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "other id continue". + +Files: +lib/unictype/pr_other_id_continue.c +lib/unictype/pr_other_id_continue.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/property-other-id-continue]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_ID_CONTINUE +lib_SOURCES += unictype/pr_other_id_continue.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-other-id-continue-tests b/gnulib/modules/unictype/property-other-id-continue-tests new file mode 100644 index 0000000..f7acdce --- /dev/null +++ b/gnulib/modules/unictype/property-other-id-continue-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_other_id_continue.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_other_id_continue +check_PROGRAMS += test-pr_other_id_continue +test_pr_other_id_continue_SOURCES = unictype/test-pr_other_id_continue.c +test_pr_other_id_continue_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-other-id-start b/gnulib/modules/unictype/property-other-id-start new file mode 100644 index 0000000..74e1a8e --- /dev/null +++ b/gnulib/modules/unictype/property-other-id-start @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "other id start". + +Files: +lib/unictype/pr_other_id_start.c +lib/unictype/pr_other_id_start.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9], [unictype/property-other-id-start]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_ID_START +lib_SOURCES += unictype/pr_other_id_start.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-other-id-start-tests b/gnulib/modules/unictype/property-other-id-start-tests new file mode 100644 index 0000000..6c43451 --- /dev/null +++ b/gnulib/modules/unictype/property-other-id-start-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_other_id_start.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_other_id_start +check_PROGRAMS += test-pr_other_id_start +test_pr_other_id_start_SOURCES = unictype/test-pr_other_id_start.c +test_pr_other_id_start_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-other-lowercase b/gnulib/modules/unictype/property-other-lowercase new file mode 100644 index 0000000..3b1e177 --- /dev/null +++ b/gnulib/modules/unictype/property-other-lowercase @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "other lowercase". + +Files: +lib/unictype/pr_other_lowercase.c +lib/unictype/pr_other_lowercase.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9], [unictype/property-other-lowercase]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_LOWERCASE +lib_SOURCES += unictype/pr_other_lowercase.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-other-lowercase-tests b/gnulib/modules/unictype/property-other-lowercase-tests new file mode 100644 index 0000000..5e76d1c --- /dev/null +++ b/gnulib/modules/unictype/property-other-lowercase-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_other_lowercase.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_other_lowercase +check_PROGRAMS += test-pr_other_lowercase +test_pr_other_lowercase_SOURCES = unictype/test-pr_other_lowercase.c +test_pr_other_lowercase_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-other-math b/gnulib/modules/unictype/property-other-math new file mode 100644 index 0000000..daae2b3 --- /dev/null +++ b/gnulib/modules/unictype/property-other-math @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "other math". + +Files: +lib/unictype/pr_other_math.c +lib/unictype/pr_other_math.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/property-other-math]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_MATH +lib_SOURCES += unictype/pr_other_math.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-other-math-tests b/gnulib/modules/unictype/property-other-math-tests new file mode 100644 index 0000000..f46ec6e --- /dev/null +++ b/gnulib/modules/unictype/property-other-math-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_other_math.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_other_math +check_PROGRAMS += test-pr_other_math +test_pr_other_math_SOURCES = unictype/test-pr_other_math.c +test_pr_other_math_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-other-uppercase b/gnulib/modules/unictype/property-other-uppercase new file mode 100644 index 0000000..2861dd3 --- /dev/null +++ b/gnulib/modules/unictype/property-other-uppercase @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "other uppercase". + +Files: +lib/unictype/pr_other_uppercase.c +lib/unictype/pr_other_uppercase.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9], [unictype/property-other-uppercase]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_UPPERCASE +lib_SOURCES += unictype/pr_other_uppercase.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-other-uppercase-tests b/gnulib/modules/unictype/property-other-uppercase-tests new file mode 100644 index 0000000..cb93b5e --- /dev/null +++ b/gnulib/modules/unictype/property-other-uppercase-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_other_uppercase.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_other_uppercase +check_PROGRAMS += test-pr_other_uppercase +test_pr_other_uppercase_SOURCES = unictype/test-pr_other_uppercase.c +test_pr_other_uppercase_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-paired-punctuation b/gnulib/modules/unictype/property-paired-punctuation new file mode 100644 index 0000000..3abd2ac --- /dev/null +++ b/gnulib/modules/unictype/property-paired-punctuation @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "paired punctuation". + +Files: +lib/unictype/pr_paired_punctuation.c +lib/unictype/pr_paired_punctuation.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9], [unictype/property-paired-punctuation]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PAIRED_PUNCTUATION +lib_SOURCES += unictype/pr_paired_punctuation.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-paired-punctuation-tests b/gnulib/modules/unictype/property-paired-punctuation-tests new file mode 100644 index 0000000..a5fc958 --- /dev/null +++ b/gnulib/modules/unictype/property-paired-punctuation-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_paired_punctuation.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_paired_punctuation +check_PROGRAMS += test-pr_paired_punctuation +test_pr_paired_punctuation_SOURCES = unictype/test-pr_paired_punctuation.c +test_pr_paired_punctuation_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-paragraph-separator b/gnulib/modules/unictype/property-paragraph-separator new file mode 100644 index 0000000..cbce2b9 --- /dev/null +++ b/gnulib/modules/unictype/property-paragraph-separator @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "paragraph separator". + +Files: +lib/unictype/pr_paragraph_separator.c +lib/unictype/pr_paragraph_separator.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9], [unictype/property-paragraph-separator]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PARAGRAPH_SEPARATOR +lib_SOURCES += unictype/pr_paragraph_separator.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-paragraph-separator-tests b/gnulib/modules/unictype/property-paragraph-separator-tests new file mode 100644 index 0000000..736e209 --- /dev/null +++ b/gnulib/modules/unictype/property-paragraph-separator-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_paragraph_separator.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_paragraph_separator +check_PROGRAMS += test-pr_paragraph_separator +test_pr_paragraph_separator_SOURCES = unictype/test-pr_paragraph_separator.c +test_pr_paragraph_separator_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-pattern-syntax b/gnulib/modules/unictype/property-pattern-syntax new file mode 100644 index 0000000..04fea20 --- /dev/null +++ b/gnulib/modules/unictype/property-pattern-syntax @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "pattern syntax". + +Files: +lib/unictype/pr_pattern_syntax.c +lib/unictype/pr_pattern_syntax.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9], [unictype/property-pattern-syntax]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PATTERN_SYNTAX +lib_SOURCES += unictype/pr_pattern_syntax.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-pattern-syntax-tests b/gnulib/modules/unictype/property-pattern-syntax-tests new file mode 100644 index 0000000..27bab7a --- /dev/null +++ b/gnulib/modules/unictype/property-pattern-syntax-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_pattern_syntax.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_pattern_syntax +check_PROGRAMS += test-pr_pattern_syntax +test_pr_pattern_syntax_SOURCES = unictype/test-pr_pattern_syntax.c +test_pr_pattern_syntax_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-pattern-white-space b/gnulib/modules/unictype/property-pattern-white-space new file mode 100644 index 0000000..f38906d --- /dev/null +++ b/gnulib/modules/unictype/property-pattern-white-space @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "pattern white space". + +Files: +lib/unictype/pr_pattern_white_space.c +lib/unictype/pr_pattern_white_space.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9], [unictype/property-pattern-white-space]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PATTERN_WHITE_SPACE +lib_SOURCES += unictype/pr_pattern_white_space.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-pattern-white-space-tests b/gnulib/modules/unictype/property-pattern-white-space-tests new file mode 100644 index 0000000..c24ee76 --- /dev/null +++ b/gnulib/modules/unictype/property-pattern-white-space-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_pattern_white_space.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_pattern_white_space +check_PROGRAMS += test-pr_pattern_white_space +test_pr_pattern_white_space_SOURCES = unictype/test-pr_pattern_white_space.c +test_pr_pattern_white_space_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-private-use b/gnulib/modules/unictype/property-private-use new file mode 100644 index 0000000..8bb878e --- /dev/null +++ b/gnulib/modules/unictype/property-private-use @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "private use". + +Files: +lib/unictype/pr_private_use.c +lib/unictype/pr_private_use.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9], [unictype/property-private-use]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PRIVATE_USE +lib_SOURCES += unictype/pr_private_use.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-private-use-tests b/gnulib/modules/unictype/property-private-use-tests new file mode 100644 index 0000000..e628450 --- /dev/null +++ b/gnulib/modules/unictype/property-private-use-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_private_use.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_private_use +check_PROGRAMS += test-pr_private_use +test_pr_private_use_SOURCES = unictype/test-pr_private_use.c +test_pr_private_use_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-punctuation b/gnulib/modules/unictype/property-punctuation new file mode 100644 index 0000000..b575e39 --- /dev/null +++ b/gnulib/modules/unictype/property-punctuation @@ -0,0 +1,31 @@ +Description: +Test whether a Unicode character is "punctuation". + +Files: +lib/unictype/pr_punctuation.c +lib/unictype/pr_punctuation.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base +unictype/category-test +unictype/category-P + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/property-punctuation]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_PUNCTUATION +lib_SOURCES += unictype/pr_punctuation.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-punctuation-tests b/gnulib/modules/unictype/property-punctuation-tests new file mode 100644 index 0000000..706ebe0 --- /dev/null +++ b/gnulib/modules/unictype/property-punctuation-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_punctuation.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_punctuation +check_PROGRAMS += test-pr_punctuation +test_pr_punctuation_SOURCES = unictype/test-pr_punctuation.c +test_pr_punctuation_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-quotation-mark b/gnulib/modules/unictype/property-quotation-mark new file mode 100644 index 0000000..1997406 --- /dev/null +++ b/gnulib/modules/unictype/property-quotation-mark @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "quotation mark". + +Files: +lib/unictype/pr_quotation_mark.c +lib/unictype/pr_quotation_mark.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9], [unictype/property-quotation-mark]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_QUOTATION_MARK +lib_SOURCES += unictype/pr_quotation_mark.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-quotation-mark-tests b/gnulib/modules/unictype/property-quotation-mark-tests new file mode 100644 index 0000000..47b4214 --- /dev/null +++ b/gnulib/modules/unictype/property-quotation-mark-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_quotation_mark.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_quotation_mark +check_PROGRAMS += test-pr_quotation_mark +test_pr_quotation_mark_SOURCES = unictype/test-pr_quotation_mark.c +test_pr_quotation_mark_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-radical b/gnulib/modules/unictype/property-radical new file mode 100644 index 0000000..3bcdd2c --- /dev/null +++ b/gnulib/modules/unictype/property-radical @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "radical". + +Files: +lib/unictype/pr_radical.c +lib/unictype/pr_radical.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9], [unictype/property-radical]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_RADICAL +lib_SOURCES += unictype/pr_radical.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-radical-tests b/gnulib/modules/unictype/property-radical-tests new file mode 100644 index 0000000..3155562 --- /dev/null +++ b/gnulib/modules/unictype/property-radical-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_radical.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_radical +check_PROGRAMS += test-pr_radical +test_pr_radical_SOURCES = unictype/test-pr_radical.c +test_pr_radical_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-sentence-terminal b/gnulib/modules/unictype/property-sentence-terminal new file mode 100644 index 0000000..73dbdf9 --- /dev/null +++ b/gnulib/modules/unictype/property-sentence-terminal @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "sentence terminal". + +Files: +lib/unictype/pr_sentence_terminal.c +lib/unictype/pr_sentence_terminal.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/property-sentence-terminal]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_SENTENCE_TERMINAL +lib_SOURCES += unictype/pr_sentence_terminal.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-sentence-terminal-tests b/gnulib/modules/unictype/property-sentence-terminal-tests new file mode 100644 index 0000000..1ed8075 --- /dev/null +++ b/gnulib/modules/unictype/property-sentence-terminal-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_sentence_terminal.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_sentence_terminal +check_PROGRAMS += test-pr_sentence_terminal +test_pr_sentence_terminal_SOURCES = unictype/test-pr_sentence_terminal.c +test_pr_sentence_terminal_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-soft-dotted b/gnulib/modules/unictype/property-soft-dotted new file mode 100644 index 0000000..a697b54 --- /dev/null +++ b/gnulib/modules/unictype/property-soft-dotted @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "soft dotted". + +Files: +lib/unictype/pr_soft_dotted.c +lib/unictype/pr_soft_dotted.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9], [unictype/property-soft-dotted]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_SOFT_DOTTED +lib_SOURCES += unictype/pr_soft_dotted.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-soft-dotted-tests b/gnulib/modules/unictype/property-soft-dotted-tests new file mode 100644 index 0000000..3434bb2 --- /dev/null +++ b/gnulib/modules/unictype/property-soft-dotted-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_soft_dotted.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_soft_dotted +check_PROGRAMS += test-pr_soft_dotted +test_pr_soft_dotted_SOURCES = unictype/test-pr_soft_dotted.c +test_pr_soft_dotted_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-space b/gnulib/modules/unictype/property-space new file mode 100644 index 0000000..401d440 --- /dev/null +++ b/gnulib/modules/unictype/property-space @@ -0,0 +1,31 @@ +Description: +Test whether a Unicode character is "space". + +Files: +lib/unictype/pr_space.c +lib/unictype/pr_space.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base +unictype/category-test +unictype/category-Zs + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9], [unictype/property-space]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_SPACE +lib_SOURCES += unictype/pr_space.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-space-tests b/gnulib/modules/unictype/property-space-tests new file mode 100644 index 0000000..e1ec302 --- /dev/null +++ b/gnulib/modules/unictype/property-space-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_space.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_space +check_PROGRAMS += test-pr_space +test_pr_space_SOURCES = unictype/test-pr_space.c +test_pr_space_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-terminal-punctuation b/gnulib/modules/unictype/property-terminal-punctuation new file mode 100644 index 0000000..34a773e --- /dev/null +++ b/gnulib/modules/unictype/property-terminal-punctuation @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "terminal punctuation". + +Files: +lib/unictype/pr_terminal_punctuation.c +lib/unictype/pr_terminal_punctuation.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/property-terminal-punctuation]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_TERMINAL_PUNCTUATION +lib_SOURCES += unictype/pr_terminal_punctuation.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-terminal-punctuation-tests b/gnulib/modules/unictype/property-terminal-punctuation-tests new file mode 100644 index 0000000..91c4f21 --- /dev/null +++ b/gnulib/modules/unictype/property-terminal-punctuation-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_terminal_punctuation.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_terminal_punctuation +check_PROGRAMS += test-pr_terminal_punctuation +test_pr_terminal_punctuation_SOURCES = unictype/test-pr_terminal_punctuation.c +test_pr_terminal_punctuation_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-test b/gnulib/modules/unictype/property-test new file mode 100644 index 0000000..75f3599 --- /dev/null +++ b/gnulib/modules/unictype/property-test @@ -0,0 +1,26 @@ +Description: +Test whether a Unicode character has a given property. + +Files: +lib/unictype/pr_test.c + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unictype/property-test]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_TEST +lib_SOURCES += unictype/pr_test.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-test-tests b/gnulib/modules/unictype/property-test-tests new file mode 100644 index 0000000..7f37876 --- /dev/null +++ b/gnulib/modules/unictype/property-test-tests @@ -0,0 +1,14 @@ +Files: +tests/unictype/test-pr_test.c +tests/macros.h + +Depends-on: +unictype/property-composite + +configure.ac: + +Makefile.am: +TESTS += test-pr_test +check_PROGRAMS += test-pr_test +test_pr_test_SOURCES = unictype/test-pr_test.c +test_pr_test_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-titlecase b/gnulib/modules/unictype/property-titlecase new file mode 100644 index 0000000..5dd8ef1 --- /dev/null +++ b/gnulib/modules/unictype/property-titlecase @@ -0,0 +1,31 @@ +Description: +Test whether a Unicode character is "titlecase". + +Files: +lib/unictype/pr_titlecase.c +lib/unictype/pr_titlecase.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base +unictype/category-test +unictype/category-Lt + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9], [unictype/property-titlecase]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_TITLECASE +lib_SOURCES += unictype/pr_titlecase.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-titlecase-tests b/gnulib/modules/unictype/property-titlecase-tests new file mode 100644 index 0000000..f97bbe0 --- /dev/null +++ b/gnulib/modules/unictype/property-titlecase-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_titlecase.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_titlecase +check_PROGRAMS += test-pr_titlecase +test_pr_titlecase_SOURCES = unictype/test-pr_titlecase.c +test_pr_titlecase_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-unassigned-code-value b/gnulib/modules/unictype/property-unassigned-code-value new file mode 100644 index 0000000..1306288 --- /dev/null +++ b/gnulib/modules/unictype/property-unassigned-code-value @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "unassigned code value". + +Files: +lib/unictype/pr_unassigned_code_value.c +lib/unictype/pr_unassigned_code_value.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/property-unassigned-code-value]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_UNASSIGNED_CODE_VALUE +lib_SOURCES += unictype/pr_unassigned_code_value.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-unassigned-code-value-tests b/gnulib/modules/unictype/property-unassigned-code-value-tests new file mode 100644 index 0000000..0cb3a76 --- /dev/null +++ b/gnulib/modules/unictype/property-unassigned-code-value-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_unassigned_code_value.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_unassigned_code_value +check_PROGRAMS += test-pr_unassigned_code_value +test_pr_unassigned_code_value_SOURCES = unictype/test-pr_unassigned_code_value.c +test_pr_unassigned_code_value_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-unified-ideograph b/gnulib/modules/unictype/property-unified-ideograph new file mode 100644 index 0000000..d4882bf --- /dev/null +++ b/gnulib/modules/unictype/property-unified-ideograph @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "unified ideograph". + +Files: +lib/unictype/pr_unified_ideograph.c +lib/unictype/pr_unified_ideograph.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/property-unified-ideograph]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_UNIFIED_IDEOGRAPH +lib_SOURCES += unictype/pr_unified_ideograph.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-unified-ideograph-tests b/gnulib/modules/unictype/property-unified-ideograph-tests new file mode 100644 index 0000000..ae921a8 --- /dev/null +++ b/gnulib/modules/unictype/property-unified-ideograph-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_unified_ideograph.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_unified_ideograph +check_PROGRAMS += test-pr_unified_ideograph +test_pr_unified_ideograph_SOURCES = unictype/test-pr_unified_ideograph.c +test_pr_unified_ideograph_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-uppercase b/gnulib/modules/unictype/property-uppercase new file mode 100644 index 0000000..7ad40fc --- /dev/null +++ b/gnulib/modules/unictype/property-uppercase @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "uppercase". + +Files: +lib/unictype/pr_uppercase.c +lib/unictype/pr_uppercase.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/property-uppercase]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_UPPERCASE +lib_SOURCES += unictype/pr_uppercase.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-uppercase-tests b/gnulib/modules/unictype/property-uppercase-tests new file mode 100644 index 0000000..dc418e1 --- /dev/null +++ b/gnulib/modules/unictype/property-uppercase-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_uppercase.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_uppercase +check_PROGRAMS += test-pr_uppercase +test_pr_uppercase_SOURCES = unictype/test-pr_uppercase.c +test_pr_uppercase_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-variation-selector b/gnulib/modules/unictype/property-variation-selector new file mode 100644 index 0000000..d7ebc69 --- /dev/null +++ b/gnulib/modules/unictype/property-variation-selector @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "variation selector". + +Files: +lib/unictype/pr_variation_selector.c +lib/unictype/pr_variation_selector.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9], [unictype/property-variation-selector]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_VARIATION_SELECTOR +lib_SOURCES += unictype/pr_variation_selector.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-variation-selector-tests b/gnulib/modules/unictype/property-variation-selector-tests new file mode 100644 index 0000000..785e324 --- /dev/null +++ b/gnulib/modules/unictype/property-variation-selector-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_variation_selector.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_variation_selector +check_PROGRAMS += test-pr_variation_selector +test_pr_variation_selector_SOURCES = unictype/test-pr_variation_selector.c +test_pr_variation_selector_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-white-space b/gnulib/modules/unictype/property-white-space new file mode 100644 index 0000000..632903b --- /dev/null +++ b/gnulib/modules/unictype/property-white-space @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "white space". + +Files: +lib/unictype/pr_white_space.c +lib/unictype/pr_white_space.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9], [unictype/property-white-space]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_WHITE_SPACE +lib_SOURCES += unictype/pr_white_space.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-white-space-tests b/gnulib/modules/unictype/property-white-space-tests new file mode 100644 index 0000000..1ff70bb --- /dev/null +++ b/gnulib/modules/unictype/property-white-space-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_white_space.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_white_space +check_PROGRAMS += test-pr_white_space +test_pr_white_space_SOURCES = unictype/test-pr_white_space.c +test_pr_white_space_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-xid-continue b/gnulib/modules/unictype/property-xid-continue new file mode 100644 index 0000000..220a060 --- /dev/null +++ b/gnulib/modules/unictype/property-xid-continue @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "xid continue". + +Files: +lib/unictype/pr_xid_continue.c +lib/unictype/pr_xid_continue.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/property-xid-continue]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_XID_CONTINUE +lib_SOURCES += unictype/pr_xid_continue.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-xid-continue-tests b/gnulib/modules/unictype/property-xid-continue-tests new file mode 100644 index 0000000..af3b7b0 --- /dev/null +++ b/gnulib/modules/unictype/property-xid-continue-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_xid_continue.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_xid_continue +check_PROGRAMS += test-pr_xid_continue +test_pr_xid_continue_SOURCES = unictype/test-pr_xid_continue.c +test_pr_xid_continue_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-xid-start b/gnulib/modules/unictype/property-xid-start new file mode 100644 index 0000000..65fc9f5 --- /dev/null +++ b/gnulib/modules/unictype/property-xid-start @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "xid start". + +Files: +lib/unictype/pr_xid_start.c +lib/unictype/pr_xid_start.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/property-xid-start]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_XID_START +lib_SOURCES += unictype/pr_xid_start.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-xid-start-tests b/gnulib/modules/unictype/property-xid-start-tests new file mode 100644 index 0000000..4ad01d5 --- /dev/null +++ b/gnulib/modules/unictype/property-xid-start-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_xid_start.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_xid_start +check_PROGRAMS += test-pr_xid_start +test_pr_xid_start_SOURCES = unictype/test-pr_xid_start.c +test_pr_xid_start_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/property-zero-width b/gnulib/modules/unictype/property-zero-width new file mode 100644 index 0000000..faf35d7 --- /dev/null +++ b/gnulib/modules/unictype/property-zero-width @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character is "zero width". + +Files: +lib/unictype/pr_zero_width.c +lib/unictype/pr_zero_width.h +lib/unictype/bitmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/property-zero-width]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ZERO_WIDTH +lib_SOURCES += unictype/pr_zero_width.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/property-zero-width-tests b/gnulib/modules/unictype/property-zero-width-tests new file mode 100644 index 0000000..d630254 --- /dev/null +++ b/gnulib/modules/unictype/property-zero-width-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-pr_zero_width.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-pr_zero_width +check_PROGRAMS += test-pr_zero_width +test_pr_zero_width_SOURCES = unictype/test-pr_zero_width.c +test_pr_zero_width_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/scripts b/gnulib/modules/unictype/scripts new file mode 100644 index 0000000..7c4b03b --- /dev/null +++ b/gnulib/modules/unictype/scripts @@ -0,0 +1,37 @@ +Description: +Scripts of Unicode characters. + +Files: +lib/unictype/scripts.c +lib/unictype/scripts.h +lib/unictype/scripts_byname.gperf + +Depends-on: +unictype/base +gperf + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/scripts]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_SCRIPTS +lib_SOURCES += unictype/scripts.c +endif + +unictype/scripts_byname.h: unictype/scripts_byname.gperf + $(GPERF) -m 10 $(srcdir)/unictype/scripts_byname.gperf > $(srcdir)/unictype/scripts_byname.h-t + mv $(srcdir)/unictype/scripts_byname.h-t $(srcdir)/unictype/scripts_byname.h +BUILT_SOURCES += unictype/scripts_byname.h +MOSTLYCLEANFILES += unictype/scripts_byname.h-t +MAINTAINERCLEANFILES += unictype/scripts_byname.h +EXTRA_DIST += unictype/scripts_byname.h + +Include: +"unictype.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/scripts-all b/gnulib/modules/unictype/scripts-all new file mode 100644 index 0000000..f209d62 --- /dev/null +++ b/gnulib/modules/unictype/scripts-all @@ -0,0 +1,21 @@ +Description: +Complete API for scripts of Unicode characters. + +Files: + +Depends-on: +unictype/scripts + +configure.ac: + +Makefile.am: + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/scripts-tests b/gnulib/modules/unictype/scripts-tests new file mode 100644 index 0000000..b008314 --- /dev/null +++ b/gnulib/modules/unictype/scripts-tests @@ -0,0 +1,13 @@ +Files: +tests/unictype/test-scripts.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-scripts +check_PROGRAMS += test-scripts +test_scripts_SOURCES = unictype/test-scripts.c +test_scripts_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/syntax-c-ident b/gnulib/modules/unictype/syntax-c-ident new file mode 100644 index 0000000..05bac91 --- /dev/null +++ b/gnulib/modules/unictype/syntax-c-ident @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character can occur in identifiers in the C language. + +Files: +lib/unictype/sy_c_ident.c +lib/unictype/sy_c_ident.h +lib/unictype/identsyntaxmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9], [unictype/syntax-c-ident]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_SYNTAX_C_IDENT +lib_SOURCES += unictype/sy_c_ident.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/syntax-c-ident-tests b/gnulib/modules/unictype/syntax-c-ident-tests new file mode 100644 index 0000000..27a586f --- /dev/null +++ b/gnulib/modules/unictype/syntax-c-ident-tests @@ -0,0 +1,13 @@ +Files: +tests/unictype/test-sy_c_ident.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-sy_c_ident +check_PROGRAMS += test-sy_c_ident +test_sy_c_ident_SOURCES = unictype/test-sy_c_ident.c +test_sy_c_ident_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/syntax-c-whitespace b/gnulib/modules/unictype/syntax-c-whitespace new file mode 100644 index 0000000..f6bd3a7 --- /dev/null +++ b/gnulib/modules/unictype/syntax-c-whitespace @@ -0,0 +1,26 @@ +Description: +Test whether a Unicode character is whitespace in the C language syntax. + +Files: +lib/unictype/sy_c_whitespace.c + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unictype/syntax-c-whitespace]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_SYNTAX_C_WHITESPACE +lib_SOURCES += unictype/sy_c_whitespace.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/syntax-c-whitespace-tests b/gnulib/modules/unictype/syntax-c-whitespace-tests new file mode 100644 index 0000000..755a0d7 --- /dev/null +++ b/gnulib/modules/unictype/syntax-c-whitespace-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-sy_c_whitespace.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-sy_c_whitespace +check_PROGRAMS += test-sy_c_whitespace +test_sy_c_whitespace_SOURCES = unictype/test-sy_c_whitespace.c +test_sy_c_whitespace_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/syntax-java-ident b/gnulib/modules/unictype/syntax-java-ident new file mode 100644 index 0000000..4bbba28 --- /dev/null +++ b/gnulib/modules/unictype/syntax-java-ident @@ -0,0 +1,29 @@ +Description: +Test whether a Unicode character can occur in identifiers in the Java language. + +Files: +lib/unictype/sy_java_ident.c +lib/unictype/sy_java_ident.h +lib/unictype/identsyntaxmap.h + +Depends-on: +unictype/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) +gl_LIBUNISTRING_MODULE([0.9.4], [unictype/syntax-java-ident]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_SYNTAX_JAVA_IDENT +lib_SOURCES += unictype/sy_java_ident.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/syntax-java-ident-tests b/gnulib/modules/unictype/syntax-java-ident-tests new file mode 100644 index 0000000..e5812fe --- /dev/null +++ b/gnulib/modules/unictype/syntax-java-ident-tests @@ -0,0 +1,13 @@ +Files: +tests/unictype/test-sy_java_ident.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-sy_java_ident +check_PROGRAMS += test-sy_java_ident +test_sy_java_ident_SOURCES = unictype/test-sy_java_ident.c +test_sy_java_ident_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unictype/syntax-java-whitespace b/gnulib/modules/unictype/syntax-java-whitespace new file mode 100644 index 0000000..85d4bdb --- /dev/null +++ b/gnulib/modules/unictype/syntax-java-whitespace @@ -0,0 +1,26 @@ +Description: +Test whether a Unicode character is whitespace in the Java language syntax. + +Files: +lib/unictype/sy_java_whitespace.c + +Depends-on: +unictype/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unictype/syntax-java-whitespace]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICTYPE_SYNTAX_JAVA_WHITESPACE +lib_SOURCES += unictype/sy_java_whitespace.c +endif + +Include: +"unictype.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unictype/syntax-java-whitespace-tests b/gnulib/modules/unictype/syntax-java-whitespace-tests new file mode 100644 index 0000000..9c2a42a --- /dev/null +++ b/gnulib/modules/unictype/syntax-java-whitespace-tests @@ -0,0 +1,15 @@ +Files: +tests/unictype/test-sy_java_whitespace.c +tests/unictype/test-predicate-part1.h +tests/unictype/test-predicate-part2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-sy_java_whitespace +check_PROGRAMS += test-sy_java_whitespace +test_sy_java_whitespace_SOURCES = unictype/test-sy_java_whitespace.c +test_sy_java_whitespace_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unigbrk/base b/gnulib/modules/unigbrk/base new file mode 100644 index 0000000..94c13d4 --- /dev/null +++ b/gnulib/modules/unigbrk/base @@ -0,0 +1,33 @@ +Description: +Base layer for grapheme cluster breaking. + +Files: +lib/unigbrk.in.h +m4/libunistring-base.m4 + +Depends-on: +unitypes +stdbool + +configure.ac: +gl_LIBUNISTRING_LIBHEADER([0.9.4], [unigbrk.h]) + +Makefile.am: +BUILT_SOURCES += $(LIBUNISTRING_UNIGBRK_H) + +unigbrk.h: unigbrk.in.h + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + cat $(srcdir)/unigbrk.in.h; \ + } > $@-t && \ + mv -f $@-t $@ +MOSTLYCLEANFILES += unigbrk.h unigbrk.h-t + +Include: +"unigbrk.h" + +License: +LGPL + +Maintainer: +Ben Pfaff, Bruno Haible diff --git a/gnulib/modules/unigbrk/u16-grapheme-breaks b/gnulib/modules/unigbrk/u16-grapheme-breaks new file mode 100644 index 0000000..61fd452 --- /dev/null +++ b/gnulib/modules/unigbrk/u16-grapheme-breaks @@ -0,0 +1,28 @@ +Description: +Find grapheme cluster breaks in UTF-16 string. + +Files: +lib/unigbrk/u16-grapheme-breaks.c +tests/macros.h + +Depends-on: +unigbrk/uc-is-grapheme-break +unistr/u16-mbtouc + +configure.ac: +gl_MODULE_INDICATOR([unigbrk/u16-grapheme-breaks]) +gl_LIBUNISTRING_MODULE([0.9.4], [unigbrk/u16-grapheme-breaks]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNIGBRK_U16_GRAPHEME_BREAKS +lib_SOURCES += unigbrk/u16-grapheme-breaks.c +endif + +Include: +"unigbrk.h" + +License: +LGPL + +Maintainer: +Ben Pfaff, Bruno Haible diff --git a/gnulib/modules/unigbrk/u16-grapheme-breaks-tests b/gnulib/modules/unigbrk/u16-grapheme-breaks-tests new file mode 100644 index 0000000..9f7f2df --- /dev/null +++ b/gnulib/modules/unigbrk/u16-grapheme-breaks-tests @@ -0,0 +1,12 @@ +Files: +tests/unigbrk/test-u16-grapheme-breaks.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u16-grapheme-breaks +check_PROGRAMS += test-u16-grapheme-breaks +test_u16_grapheme_breaks_SOURCES = unigbrk/test-u16-grapheme-breaks.c +test_u16_grapheme_breaks_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unigbrk/u16-grapheme-next b/gnulib/modules/unigbrk/u16-grapheme-next new file mode 100644 index 0000000..3d3a9c7 --- /dev/null +++ b/gnulib/modules/unigbrk/u16-grapheme-next @@ -0,0 +1,28 @@ +Description: +Find start of next grapheme cluster in UTF-16 string. + +Files: +lib/unigbrk/u16-grapheme-next.c +tests/macros.h + +Depends-on: +unigbrk/uc-is-grapheme-break +unistr/u16-mbtouc + +configure.ac: +gl_MODULE_INDICATOR([unigbrk/u16-grapheme-next]) +gl_LIBUNISTRING_MODULE([0.9.4], [unigbrk/u16-grapheme-next]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNIGBRK_U16_GRAPHEME_NEXT +lib_SOURCES += unigbrk/u16-grapheme-next.c +endif + +Include: +"unigbrk.h" + +License: +LGPL + +Maintainer: +Ben Pfaff, Bruno Haible diff --git a/gnulib/modules/unigbrk/u16-grapheme-next-tests b/gnulib/modules/unigbrk/u16-grapheme-next-tests new file mode 100644 index 0000000..a947afe --- /dev/null +++ b/gnulib/modules/unigbrk/u16-grapheme-next-tests @@ -0,0 +1,12 @@ +Files: +tests/unigbrk/test-u16-grapheme-next.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u16-grapheme-next +check_PROGRAMS += test-u16-grapheme-next +test_u16_grapheme_next_SOURCES = unigbrk/test-u16-grapheme-next.c +test_u16_grapheme_next_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unigbrk/u16-grapheme-prev b/gnulib/modules/unigbrk/u16-grapheme-prev new file mode 100644 index 0000000..a58219e --- /dev/null +++ b/gnulib/modules/unigbrk/u16-grapheme-prev @@ -0,0 +1,28 @@ +Description: +Find start of previous grapheme cluster in UTF-16 string. + +Files: +lib/unigbrk/u16-grapheme-prev.c +tests/macros.h + +Depends-on: +unigbrk/uc-is-grapheme-break +unistr/u16-prev + +configure.ac: +gl_MODULE_INDICATOR([unigbrk/u16-grapheme-prev]) +gl_LIBUNISTRING_MODULE([0.9.4], [unigbrk/u16-grapheme-prev]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNIGBRK_U16_GRAPHEME_PREV +lib_SOURCES += unigbrk/u16-grapheme-prev.c +endif + +Include: +"unigbrk.h" + +License: +LGPL + +Maintainer: +Ben Pfaff, Bruno Haible diff --git a/gnulib/modules/unigbrk/u16-grapheme-prev-tests b/gnulib/modules/unigbrk/u16-grapheme-prev-tests new file mode 100644 index 0000000..be62d24 --- /dev/null +++ b/gnulib/modules/unigbrk/u16-grapheme-prev-tests @@ -0,0 +1,12 @@ +Files: +tests/unigbrk/test-u16-grapheme-prev.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u16-grapheme-prev +check_PROGRAMS += test-u16-grapheme-prev +test_u16_grapheme_prev_SOURCES = unigbrk/test-u16-grapheme-prev.c +test_u16_grapheme_prev_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unigbrk/u32-grapheme-breaks b/gnulib/modules/unigbrk/u32-grapheme-breaks new file mode 100644 index 0000000..5ae6998 --- /dev/null +++ b/gnulib/modules/unigbrk/u32-grapheme-breaks @@ -0,0 +1,28 @@ +Description: +Find grapheme cluster breaks in UTF-32 string. + +Files: +lib/unigbrk/u32-grapheme-breaks.c +tests/macros.h + +Depends-on: +unigbrk/uc-is-grapheme-break +unistr/u32-mbtouc + +configure.ac: +gl_MODULE_INDICATOR([unigbrk/u32-grapheme-breaks]) +gl_LIBUNISTRING_MODULE([0.9.4], [unigbrk/u32-grapheme-breaks]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNIGBRK_U32_GRAPHEME_BREAKS +lib_SOURCES += unigbrk/u32-grapheme-breaks.c +endif + +Include: +"unigbrk.h" + +License: +LGPL + +Maintainer: +Ben Pfaff, Bruno Haible diff --git a/gnulib/modules/unigbrk/u32-grapheme-breaks-tests b/gnulib/modules/unigbrk/u32-grapheme-breaks-tests new file mode 100644 index 0000000..45613447 --- /dev/null +++ b/gnulib/modules/unigbrk/u32-grapheme-breaks-tests @@ -0,0 +1,12 @@ +Files: +tests/unigbrk/test-u32-grapheme-breaks.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u32-grapheme-breaks +check_PROGRAMS += test-u32-grapheme-breaks +test_u32_grapheme_breaks_SOURCES = unigbrk/test-u32-grapheme-breaks.c +test_u32_grapheme_breaks_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unigbrk/u32-grapheme-next b/gnulib/modules/unigbrk/u32-grapheme-next new file mode 100644 index 0000000..d2fab5a --- /dev/null +++ b/gnulib/modules/unigbrk/u32-grapheme-next @@ -0,0 +1,28 @@ +Description: +Find start of next grapheme cluster in UTF-32 string. + +Files: +lib/unigbrk/u32-grapheme-next.c +tests/macros.h + +Depends-on: +unigbrk/uc-is-grapheme-break +unistr/u32-mbtouc + +configure.ac: +gl_MODULE_INDICATOR([unigbrk/u32-grapheme-next]) +gl_LIBUNISTRING_MODULE([0.9.4], [unigbrk/u32-grapheme-next]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNIGBRK_U32_GRAPHEME_NEXT +lib_SOURCES += unigbrk/u32-grapheme-next.c +endif + +Include: +"unigbrk.h" + +License: +LGPL + +Maintainer: +Ben Pfaff, Bruno Haible diff --git a/gnulib/modules/unigbrk/u32-grapheme-next-tests b/gnulib/modules/unigbrk/u32-grapheme-next-tests new file mode 100644 index 0000000..4ed8b1f --- /dev/null +++ b/gnulib/modules/unigbrk/u32-grapheme-next-tests @@ -0,0 +1,12 @@ +Files: +tests/unigbrk/test-u32-grapheme-next.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u32-grapheme-next +check_PROGRAMS += test-u32-grapheme-next +test_u32_grapheme_next_SOURCES = unigbrk/test-u32-grapheme-next.c +test_u32_grapheme_next_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unigbrk/u32-grapheme-prev b/gnulib/modules/unigbrk/u32-grapheme-prev new file mode 100644 index 0000000..c1a6375 --- /dev/null +++ b/gnulib/modules/unigbrk/u32-grapheme-prev @@ -0,0 +1,28 @@ +Description: +Find start of previous grapheme cluster in UTF-32 string. + +Files: +lib/unigbrk/u32-grapheme-prev.c +tests/macros.h + +Depends-on: +unigbrk/uc-is-grapheme-break +unistr/u32-prev + +configure.ac: +gl_MODULE_INDICATOR([unigbrk/u32-grapheme-prev]) +gl_LIBUNISTRING_MODULE([0.9.4], [unigbrk/u32-grapheme-prev]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNIGBRK_U32_GRAPHEME_PREV +lib_SOURCES += unigbrk/u32-grapheme-prev.c +endif + +Include: +"unigbrk.h" + +License: +LGPL + +Maintainer: +Ben Pfaff, Bruno Haible diff --git a/gnulib/modules/unigbrk/u32-grapheme-prev-tests b/gnulib/modules/unigbrk/u32-grapheme-prev-tests new file mode 100644 index 0000000..0900722 --- /dev/null +++ b/gnulib/modules/unigbrk/u32-grapheme-prev-tests @@ -0,0 +1,12 @@ +Files: +tests/unigbrk/test-u32-grapheme-prev.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u32-grapheme-prev +check_PROGRAMS += test-u32-grapheme-prev +test_u32_grapheme_prev_SOURCES = unigbrk/test-u32-grapheme-prev.c +test_u32_grapheme_prev_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unigbrk/u8-grapheme-breaks b/gnulib/modules/unigbrk/u8-grapheme-breaks new file mode 100644 index 0000000..6d0e989 --- /dev/null +++ b/gnulib/modules/unigbrk/u8-grapheme-breaks @@ -0,0 +1,28 @@ +Description: +Find grapheme cluster breaks in UTF-8 string. + +Files: +lib/unigbrk/u8-grapheme-breaks.c +tests/macros.h + +Depends-on: +unigbrk/uc-is-grapheme-break +unistr/u8-mbtouc + +configure.ac: +gl_MODULE_INDICATOR([unigbrk/u8-grapheme-breaks]) +gl_LIBUNISTRING_MODULE([0.9.4], [unigbrk/u8-grapheme-breaks]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNIGBRK_U8_GRAPHEME_BREAKS +lib_SOURCES += unigbrk/u8-grapheme-breaks.c +endif + +Include: +"unigbrk.h" + +License: +LGPL + +Maintainer: +Ben Pfaff, Bruno Haible diff --git a/gnulib/modules/unigbrk/u8-grapheme-breaks-tests b/gnulib/modules/unigbrk/u8-grapheme-breaks-tests new file mode 100644 index 0000000..7d1f6d9 --- /dev/null +++ b/gnulib/modules/unigbrk/u8-grapheme-breaks-tests @@ -0,0 +1,12 @@ +Files: +tests/unigbrk/test-u8-grapheme-breaks.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u8-grapheme-breaks +check_PROGRAMS += test-u8-grapheme-breaks +test_u8_grapheme_breaks_SOURCES = unigbrk/test-u8-grapheme-breaks.c +test_u8_grapheme_breaks_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unigbrk/u8-grapheme-next b/gnulib/modules/unigbrk/u8-grapheme-next new file mode 100644 index 0000000..355757f --- /dev/null +++ b/gnulib/modules/unigbrk/u8-grapheme-next @@ -0,0 +1,28 @@ +Description: +Find start of next grapheme cluster in UTF-8 string. + +Files: +lib/unigbrk/u8-grapheme-next.c +tests/macros.h + +Depends-on: +unigbrk/uc-is-grapheme-break +unistr/u8-mbtouc + +configure.ac: +gl_MODULE_INDICATOR([unigbrk/u8-grapheme-next]) +gl_LIBUNISTRING_MODULE([0.9.4], [unigbrk/u8-grapheme-next]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNIGBRK_U8_GRAPHEME_NEXT +lib_SOURCES += unigbrk/u8-grapheme-next.c +endif + +Include: +"unigbrk.h" + +License: +LGPL + +Maintainer: +Ben Pfaff, Bruno Haible diff --git a/gnulib/modules/unigbrk/u8-grapheme-next-tests b/gnulib/modules/unigbrk/u8-grapheme-next-tests new file mode 100644 index 0000000..d30709e --- /dev/null +++ b/gnulib/modules/unigbrk/u8-grapheme-next-tests @@ -0,0 +1,12 @@ +Files: +tests/unigbrk/test-u8-grapheme-next.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u8-grapheme-next +check_PROGRAMS += test-u8-grapheme-next +test_u8_grapheme_next_SOURCES = unigbrk/test-u8-grapheme-next.c +test_u8_grapheme_next_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unigbrk/u8-grapheme-prev b/gnulib/modules/unigbrk/u8-grapheme-prev new file mode 100644 index 0000000..182dbb0 --- /dev/null +++ b/gnulib/modules/unigbrk/u8-grapheme-prev @@ -0,0 +1,28 @@ +Description: +Find start of previous grapheme cluster in UTF-8 string. + +Files: +lib/unigbrk/u8-grapheme-prev.c +tests/macros.h + +Depends-on: +unigbrk/uc-is-grapheme-break +unistr/u8-prev + +configure.ac: +gl_MODULE_INDICATOR([unigbrk/u8-grapheme-prev]) +gl_LIBUNISTRING_MODULE([0.9.4], [unigbrk/u8-grapheme-prev]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNIGBRK_U8_GRAPHEME_PREV +lib_SOURCES += unigbrk/u8-grapheme-prev.c +endif + +Include: +"unigbrk.h" + +License: +LGPL + +Maintainer: +Ben Pfaff, Bruno Haible diff --git a/gnulib/modules/unigbrk/u8-grapheme-prev-tests b/gnulib/modules/unigbrk/u8-grapheme-prev-tests new file mode 100644 index 0000000..137e846 --- /dev/null +++ b/gnulib/modules/unigbrk/u8-grapheme-prev-tests @@ -0,0 +1,12 @@ +Files: +tests/unigbrk/test-u8-grapheme-prev.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u8-grapheme-prev +check_PROGRAMS += test-u8-grapheme-prev +test_u8_grapheme_prev_SOURCES = unigbrk/test-u8-grapheme-prev.c +test_u8_grapheme_prev_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unigbrk/uc-gbrk-prop b/gnulib/modules/unigbrk/uc-gbrk-prop new file mode 100644 index 0000000..7e8fbad --- /dev/null +++ b/gnulib/modules/unigbrk/uc-gbrk-prop @@ -0,0 +1,26 @@ +Description: +Determine a Unicode character's Grapheme_Cluster_Break property. + +Files: +lib/unigbrk/gbrkprop.h +lib/unigbrk/uc-gbrk-prop.c + +Depends-on: +unigbrk/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unigbrk/uc-gbrk-prop]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNIGBRK_UC_GBRK_PROP +lib_SOURCES += unigbrk/uc-gbrk-prop.c +endif + +Include: +"unigbrk.h" + +License: +LGPL + +Maintainer: +Ben Pfaff, Bruno Haible diff --git a/gnulib/modules/unigbrk/uc-gbrk-prop-tests b/gnulib/modules/unigbrk/uc-gbrk-prop-tests new file mode 100644 index 0000000..0180646 --- /dev/null +++ b/gnulib/modules/unigbrk/uc-gbrk-prop-tests @@ -0,0 +1,14 @@ +Files: +tests/unigbrk/test-uc-gbrk-prop.c +tests/unigbrk/test-uc-gbrk-prop.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-uc-gbrk-prop +check_PROGRAMS += test-uc-gbrk-prop +test_uc_gbrk_prop_SOURCES = unigbrk/test-uc-gbrk-prop.c +test_uc_gbrk_prop_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unigbrk/uc-is-grapheme-break b/gnulib/modules/unigbrk/uc-is-grapheme-break new file mode 100644 index 0000000..c8b6f7f --- /dev/null +++ b/gnulib/modules/unigbrk/uc-is-grapheme-break @@ -0,0 +1,26 @@ +Description: +Test for grapheme cluster breakpoints. + +Files: +lib/unigbrk/uc-is-grapheme-break.c + +Depends-on: +unigbrk/base +unigbrk/uc-gbrk-prop + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unigbrk/uc-is-grapheme-break]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNIGBRK_UC_IS_GRAPHEME_BREAK +lib_SOURCES += unigbrk/uc-is-grapheme-break.c +endif + +Include: +"unigbrk.h" + +License: +LGPL + +Maintainer: +Ben Pfaff, Bruno Haible diff --git a/gnulib/modules/unigbrk/uc-is-grapheme-break-tests b/gnulib/modules/unigbrk/uc-is-grapheme-break-tests new file mode 100644 index 0000000..b3f8276 --- /dev/null +++ b/gnulib/modules/unigbrk/uc-is-grapheme-break-tests @@ -0,0 +1,14 @@ +Files: +tests/unigbrk/test-uc-is-grapheme-break.c +tests/unigbrk/test-uc-is-grapheme-break.sh +tests/unigbrk/GraphemeBreakTest.txt + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += unigbrk/test-uc-is-grapheme-break.sh +check_PROGRAMS += test-uc-is-grapheme-break +test_uc_is_grapheme_break_SOURCES = unigbrk/test-uc-is-grapheme-break.c +test_uc_is_grapheme_break_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unigbrk/ulc-grapheme-breaks b/gnulib/modules/unigbrk/ulc-grapheme-breaks new file mode 100644 index 0000000..e13e7fd --- /dev/null +++ b/gnulib/modules/unigbrk/ulc-grapheme-breaks @@ -0,0 +1,30 @@ +Description: +Grapheme cluster breaks in locale-encoded string. + +Files: +lib/unigbrk/ulc-grapheme-breaks.c + +Depends-on: +unigbrk/base +unigbrk/u8-grapheme-breaks +uniconv/u8-conv-from-enc +c-ctype +localcharset + +configure.ac: +gl_MODULE_INDICATOR([unigbrk/ulc-grapheme-breaks]) +gl_LIBUNISTRING_MODULE([0.9.4], [unigbrk/ulc-grapheme-breaks]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNIGBRK_ULC_GRAPHEME_BREAKS +lib_SOURCES += unigbrk/ulc-grapheme-breaks.c +endif + +Include: +"unigbrk.h" + +License: +LGPL + +Maintainer: +Ben Pfaff, Bruno Haible diff --git a/gnulib/modules/unigbrk/ulc-grapheme-breaks-tests b/gnulib/modules/unigbrk/ulc-grapheme-breaks-tests new file mode 100644 index 0000000..187e26f --- /dev/null +++ b/gnulib/modules/unigbrk/ulc-grapheme-breaks-tests @@ -0,0 +1,19 @@ +Files: +tests/unigbrk/test-ulc-grapheme-breaks.sh +tests/unigbrk/test-ulc-grapheme-breaks.c +tests/macros.h +m4/locale-ar.m4 +m4/codeset.m4 + +Depends-on: +setlocale + +configure.ac: +gt_LOCALE_AR + +Makefile.am: +TESTS += unigbrk/test-ulc-grapheme-breaks.sh +TESTS_ENVIRONMENT += LOCALE_AR='@LOCALE_AR@' +check_PROGRAMS += test-ulc-grapheme-breaks +test_ulc_grapheme_breaks_SOURCES = unigbrk/test-ulc-grapheme-breaks.c +test_ulc_grapheme_breaks_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ diff --git a/gnulib/modules/unilbrk/base b/gnulib/modules/unilbrk/base new file mode 100644 index 0000000..692c48c --- /dev/null +++ b/gnulib/modules/unilbrk/base @@ -0,0 +1,34 @@ +Description: +Base layer for line breaking. + +Files: +lib/unilbrk.in.h +m4/libunistring-base.m4 + +Depends-on: +unitypes +localcharset + +configure.ac: +gl_LIBUNISTRING_LIBHEADER([0.9], [unilbrk.h]) + +Makefile.am: +BUILT_SOURCES += $(LIBUNISTRING_UNILBRK_H) + +unilbrk.h: unilbrk.in.h + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + cat $(srcdir)/unilbrk.in.h; \ + } > $@-t && \ + mv -f $@-t $@ +MOSTLYCLEANFILES += unilbrk.h unilbrk.h-t + +Include: +"unilbrk.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unilbrk/tables b/gnulib/modules/unilbrk/tables new file mode 100644 index 0000000..5e4c1e8 --- /dev/null +++ b/gnulib/modules/unilbrk/tables @@ -0,0 +1,27 @@ +Description: +Line breaking auxiliary tables. + +Files: +lib/unilbrk/lbrktables.h +lib/unilbrk/lbrktables.c +lib/unilbrk/lbrkprop1.h +lib/unilbrk/lbrkprop2.h + +Depends-on: +unilbrk/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) + +Makefile.am: +lib_SOURCES += unilbrk/lbrktables.c + +Include: +"unilbrk/lbrktables.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unilbrk/u16-possible-linebreaks b/gnulib/modules/unilbrk/u16-possible-linebreaks new file mode 100644 index 0000000..7a6e580 --- /dev/null +++ b/gnulib/modules/unilbrk/u16-possible-linebreaks @@ -0,0 +1,30 @@ +Description: +Line breaking of UTF-16 strings. + +Files: +lib/unilbrk/u16-possible-linebreaks.c +lib/uniwidth/cjk.h + +Depends-on: +unilbrk/base +unilbrk/tables +unistr/u16-mbtouc-unsafe +streq + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unilbrk/u16-possible-linebreaks]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNILBRK_U16_POSSIBLE_LINEBREAKS +lib_SOURCES += unilbrk/u16-possible-linebreaks.c +endif + +Include: +"unilbrk.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unilbrk/u16-possible-linebreaks-tests b/gnulib/modules/unilbrk/u16-possible-linebreaks-tests new file mode 100644 index 0000000..b5bad36 --- /dev/null +++ b/gnulib/modules/unilbrk/u16-possible-linebreaks-tests @@ -0,0 +1,13 @@ +Files: +tests/unilbrk/test-u16-possible-linebreaks.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u16-possible-linebreaks +check_PROGRAMS += test-u16-possible-linebreaks +test_u16_possible_linebreaks_SOURCES = unilbrk/test-u16-possible-linebreaks.c +test_u16_possible_linebreaks_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unilbrk/u16-width-linebreaks b/gnulib/modules/unilbrk/u16-width-linebreaks new file mode 100644 index 0000000..dff74f1 --- /dev/null +++ b/gnulib/modules/unilbrk/u16-width-linebreaks @@ -0,0 +1,29 @@ +Description: +Line breaking of UTF-16 strings. + +Files: +lib/unilbrk/u16-width-linebreaks.c + +Depends-on: +unilbrk/base +unilbrk/u16-possible-linebreaks +uniwidth/width +unistr/u16-mbtouc-unsafe + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unilbrk/u16-width-linebreaks]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNILBRK_U16_WIDTH_LINEBREAKS +lib_SOURCES += unilbrk/u16-width-linebreaks.c +endif + +Include: +"unilbrk.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unilbrk/u16-width-linebreaks-tests b/gnulib/modules/unilbrk/u16-width-linebreaks-tests new file mode 100644 index 0000000..ee86a9d --- /dev/null +++ b/gnulib/modules/unilbrk/u16-width-linebreaks-tests @@ -0,0 +1,13 @@ +Files: +tests/unilbrk/test-u16-width-linebreaks.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u16-width-linebreaks +check_PROGRAMS += test-u16-width-linebreaks +test_u16_width_linebreaks_SOURCES = unilbrk/test-u16-width-linebreaks.c +test_u16_width_linebreaks_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unilbrk/u32-possible-linebreaks b/gnulib/modules/unilbrk/u32-possible-linebreaks new file mode 100644 index 0000000..30ba8b6 --- /dev/null +++ b/gnulib/modules/unilbrk/u32-possible-linebreaks @@ -0,0 +1,29 @@ +Description: +Line breaking of UTF-32 strings. + +Files: +lib/unilbrk/u32-possible-linebreaks.c +lib/uniwidth/cjk.h + +Depends-on: +unilbrk/base +unilbrk/tables +streq + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unilbrk/u32-possible-linebreaks]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNILBRK_U32_POSSIBLE_LINEBREAKS +lib_SOURCES += unilbrk/u32-possible-linebreaks.c +endif + +Include: +"unilbrk.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unilbrk/u32-possible-linebreaks-tests b/gnulib/modules/unilbrk/u32-possible-linebreaks-tests new file mode 100644 index 0000000..7e5b505 --- /dev/null +++ b/gnulib/modules/unilbrk/u32-possible-linebreaks-tests @@ -0,0 +1,13 @@ +Files: +tests/unilbrk/test-u32-possible-linebreaks.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u32-possible-linebreaks +check_PROGRAMS += test-u32-possible-linebreaks +test_u32_possible_linebreaks_SOURCES = unilbrk/test-u32-possible-linebreaks.c +test_u32_possible_linebreaks_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unilbrk/u32-width-linebreaks b/gnulib/modules/unilbrk/u32-width-linebreaks new file mode 100644 index 0000000..f5c1bed --- /dev/null +++ b/gnulib/modules/unilbrk/u32-width-linebreaks @@ -0,0 +1,28 @@ +Description: +Line breaking of UTF-32 strings. + +Files: +lib/unilbrk/u32-width-linebreaks.c + +Depends-on: +unilbrk/base +unilbrk/u32-possible-linebreaks +uniwidth/width + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unilbrk/u32-width-linebreaks]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNILBRK_U32_WIDTH_LINEBREAKS +lib_SOURCES += unilbrk/u32-width-linebreaks.c +endif + +Include: +"unilbrk.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unilbrk/u32-width-linebreaks-tests b/gnulib/modules/unilbrk/u32-width-linebreaks-tests new file mode 100644 index 0000000..806af77 --- /dev/null +++ b/gnulib/modules/unilbrk/u32-width-linebreaks-tests @@ -0,0 +1,13 @@ +Files: +tests/unilbrk/test-u32-width-linebreaks.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u32-width-linebreaks +check_PROGRAMS += test-u32-width-linebreaks +test_u32_width_linebreaks_SOURCES = unilbrk/test-u32-width-linebreaks.c +test_u32_width_linebreaks_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unilbrk/u8-possible-linebreaks b/gnulib/modules/unilbrk/u8-possible-linebreaks new file mode 100644 index 0000000..176eeff --- /dev/null +++ b/gnulib/modules/unilbrk/u8-possible-linebreaks @@ -0,0 +1,30 @@ +Description: +Line breaking of UTF-8 strings. + +Files: +lib/unilbrk/u8-possible-linebreaks.c +lib/uniwidth/cjk.h + +Depends-on: +unilbrk/base +unilbrk/tables +unistr/u8-mbtouc-unsafe +streq + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unilbrk/u8-possible-linebreaks]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNILBRK_U8_POSSIBLE_LINEBREAKS +lib_SOURCES += unilbrk/u8-possible-linebreaks.c +endif + +Include: +"unilbrk.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unilbrk/u8-possible-linebreaks-tests b/gnulib/modules/unilbrk/u8-possible-linebreaks-tests new file mode 100644 index 0000000..049642a --- /dev/null +++ b/gnulib/modules/unilbrk/u8-possible-linebreaks-tests @@ -0,0 +1,13 @@ +Files: +tests/unilbrk/test-u8-possible-linebreaks.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u8-possible-linebreaks +check_PROGRAMS += test-u8-possible-linebreaks +test_u8_possible_linebreaks_SOURCES = unilbrk/test-u8-possible-linebreaks.c +test_u8_possible_linebreaks_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unilbrk/u8-width-linebreaks b/gnulib/modules/unilbrk/u8-width-linebreaks new file mode 100644 index 0000000..2362168 --- /dev/null +++ b/gnulib/modules/unilbrk/u8-width-linebreaks @@ -0,0 +1,29 @@ +Description: +Line breaking of UTF-8 strings. + +Files: +lib/unilbrk/u8-width-linebreaks.c + +Depends-on: +unilbrk/base +unilbrk/u8-possible-linebreaks +uniwidth/width +unistr/u8-mbtouc-unsafe + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unilbrk/u8-width-linebreaks]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNILBRK_U8_WIDTH_LINEBREAKS +lib_SOURCES += unilbrk/u8-width-linebreaks.c +endif + +Include: +"unilbrk.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unilbrk/u8-width-linebreaks-tests b/gnulib/modules/unilbrk/u8-width-linebreaks-tests new file mode 100644 index 0000000..4d5a361 --- /dev/null +++ b/gnulib/modules/unilbrk/u8-width-linebreaks-tests @@ -0,0 +1,13 @@ +Files: +tests/unilbrk/test-u8-width-linebreaks.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u8-width-linebreaks +check_PROGRAMS += test-u8-width-linebreaks +test_u8_width_linebreaks_SOURCES = unilbrk/test-u8-width-linebreaks.c +test_u8_width_linebreaks_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unilbrk/ulc-common b/gnulib/modules/unilbrk/ulc-common new file mode 100644 index 0000000..f7e6242 --- /dev/null +++ b/gnulib/modules/unilbrk/ulc-common @@ -0,0 +1,25 @@ +Description: +Line breaking auxiliary functions. + +Files: +lib/unilbrk/ulc-common.h +lib/unilbrk/ulc-common.c + +Depends-on: +c-ctype +c-strcaseeq + +configure.ac: + +Makefile.am: +lib_SOURCES += unilbrk/ulc-common.c + +Include: +"unilbrk/ulc-common.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unilbrk/ulc-possible-linebreaks b/gnulib/modules/unilbrk/ulc-possible-linebreaks new file mode 100644 index 0000000..aff17e4 --- /dev/null +++ b/gnulib/modules/unilbrk/ulc-possible-linebreaks @@ -0,0 +1,30 @@ +Description: +Line breaking of strings. + +Files: +lib/unilbrk/ulc-possible-linebreaks.c + +Depends-on: +unilbrk/base +unilbrk/u8-possible-linebreaks +unilbrk/ulc-common +uniconv/u8-conv-from-enc +c-ctype + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unilbrk/ulc-possible-linebreaks]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNILBRK_ULC_POSSIBLE_LINEBREAKS +lib_SOURCES += unilbrk/ulc-possible-linebreaks.c +endif + +Include: +"unilbrk.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unilbrk/ulc-possible-linebreaks-tests b/gnulib/modules/unilbrk/ulc-possible-linebreaks-tests new file mode 100644 index 0000000..10f4a5d --- /dev/null +++ b/gnulib/modules/unilbrk/ulc-possible-linebreaks-tests @@ -0,0 +1,14 @@ +Files: +tests/unilbrk/test-ulc-possible-linebreaks.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-ulc-possible-linebreaks +check_PROGRAMS += test-ulc-possible-linebreaks +test_ulc_possible_linebreaks_SOURCES = unilbrk/test-ulc-possible-linebreaks.c +test_ulc_possible_linebreaks_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ + diff --git a/gnulib/modules/unilbrk/ulc-width-linebreaks b/gnulib/modules/unilbrk/ulc-width-linebreaks new file mode 100644 index 0000000..0040dff --- /dev/null +++ b/gnulib/modules/unilbrk/ulc-width-linebreaks @@ -0,0 +1,30 @@ +Description: +Line breaking of strings. + +Files: +lib/unilbrk/ulc-width-linebreaks.c + +Depends-on: +unilbrk/base +unilbrk/u8-width-linebreaks +unilbrk/ulc-common +uniconv/u8-conv-from-enc +c-ctype + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unilbrk/ulc-width-linebreaks]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNILBRK_ULC_WIDTH_LINEBREAKS +lib_SOURCES += unilbrk/ulc-width-linebreaks.c +endif + +Include: +"unilbrk.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unilbrk/ulc-width-linebreaks-tests b/gnulib/modules/unilbrk/ulc-width-linebreaks-tests new file mode 100644 index 0000000..9ab3eef --- /dev/null +++ b/gnulib/modules/unilbrk/ulc-width-linebreaks-tests @@ -0,0 +1,14 @@ +Files: +tests/unilbrk/test-ulc-width-linebreaks.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-ulc-width-linebreaks +check_PROGRAMS += test-ulc-width-linebreaks +test_ulc_width_linebreaks_SOURCES = unilbrk/test-ulc-width-linebreaks.c +test_ulc_width_linebreaks_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ + diff --git a/gnulib/modules/uniname/base b/gnulib/modules/uniname/base new file mode 100644 index 0000000..58aa84d --- /dev/null +++ b/gnulib/modules/uniname/base @@ -0,0 +1,33 @@ +Description: +Base layer for Unicode character names. + +Files: +lib/uniname.in.h +m4/libunistring-base.m4 + +Depends-on: +unitypes + +configure.ac: +gl_LIBUNISTRING_LIBHEADER([0.9], [uniname.h]) + +Makefile.am: +BUILT_SOURCES += $(LIBUNISTRING_UNINAME_H) + +uniname.h: uniname.in.h + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + cat $(srcdir)/uniname.in.h; \ + } > $@-t && \ + mv -f $@-t $@ +MOSTLYCLEANFILES += uniname.h uniname.h-t + +Include: +"uniname.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniname/uniname b/gnulib/modules/uniname/uniname new file mode 100644 index 0000000..deb5d15 --- /dev/null +++ b/gnulib/modules/uniname/uniname @@ -0,0 +1,29 @@ +Description: +Association between Unicode characters and their names. + +Files: +lib/uniname/gen-uninames.lisp +lib/uniname/uninames.h +lib/uniname/uniname.c + +Depends-on: +uniname/base +memcmp + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [uniname/uniname]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNINAME_UNINAME +lib_SOURCES += uniname/uniname.c +endif + +Include: +"uniname.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniname/uniname-tests b/gnulib/modules/uniname/uniname-tests new file mode 100644 index 0000000..a18f942 --- /dev/null +++ b/gnulib/modules/uniname/uniname-tests @@ -0,0 +1,17 @@ +Files: +tests/uniname/test-uninames.sh +tests/uniname/test-uninames.c +tests/uniname/UnicodeDataNames.txt + +Depends-on: +xalloc +progname + +configure.ac: + +Makefile.am: +TESTS += uniname/test-uninames.sh +check_PROGRAMS += test-uninames +test_uninames_SOURCES = uniname/test-uninames.c +test_uninames_LDADD = $(LDADD) $(LIBUNISTRING) @LIBINTL@ + diff --git a/gnulib/modules/uninorm/base b/gnulib/modules/uninorm/base new file mode 100644 index 0000000..a9a106b --- /dev/null +++ b/gnulib/modules/uninorm/base @@ -0,0 +1,33 @@ +Description: +Base layer for normalization forms of Unicode strings. + +Files: +lib/uninorm.in.h +m4/libunistring-base.m4 + +Depends-on: +unitypes + +configure.ac: +gl_LIBUNISTRING_LIBHEADER([0.9], [uninorm.h]) + +Makefile.am: +BUILT_SOURCES += $(LIBUNISTRING_UNINORM_H) + +uninorm.h: uninorm.in.h + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + cat $(srcdir)/uninorm.in.h; \ + } > $@-t && \ + mv -f $@-t $@ +MOSTLYCLEANFILES += uninorm.h uninorm.h-t + +Include: +"uninorm.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uninorm/canonical-decomposition b/gnulib/modules/uninorm/canonical-decomposition new file mode 100644 index 0000000..0c493d5 --- /dev/null +++ b/gnulib/modules/uninorm/canonical-decomposition @@ -0,0 +1,27 @@ +Description: +Canonical decomposition of Unicode characters. + +Files: +lib/uninorm/canonical-decomposition.c + +Depends-on: +uninorm/base +uninorm/decomposition-table + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [uninorm/canonical-decomposition]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNINORM_CANONICAL_DECOMPOSITION +lib_SOURCES += uninorm/canonical-decomposition.c +endif + +Include: +"uninorm.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uninorm/canonical-decomposition-tests b/gnulib/modules/uninorm/canonical-decomposition-tests new file mode 100644 index 0000000..f3e578e --- /dev/null +++ b/gnulib/modules/uninorm/canonical-decomposition-tests @@ -0,0 +1,13 @@ +Files: +tests/uninorm/test-canonical-decomposition.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-canonical-decomposition +check_PROGRAMS += test-canonical-decomposition +test_canonical_decomposition_SOURCES = uninorm/test-canonical-decomposition.c +test_canonical_decomposition_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/uninorm/compat-decomposition b/gnulib/modules/uninorm/compat-decomposition new file mode 100644 index 0000000..17c8d45 --- /dev/null +++ b/gnulib/modules/uninorm/compat-decomposition @@ -0,0 +1,25 @@ +Description: +Compatibility decomposition of Unicode characters. + +Files: +lib/uninorm/decompose-internal.h +lib/uninorm/compat-decomposition.c + +Depends-on: +uninorm/base +uninorm/decomposition + +configure.ac: + +Makefile.am: +lib_SOURCES += uninorm/compat-decomposition.c + +Include: +"uninorm/decompose-internal.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uninorm/compat-decomposition-tests b/gnulib/modules/uninorm/compat-decomposition-tests new file mode 100644 index 0000000..253f1f9 --- /dev/null +++ b/gnulib/modules/uninorm/compat-decomposition-tests @@ -0,0 +1,13 @@ +Files: +tests/uninorm/test-compat-decomposition.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-compat-decomposition +check_PROGRAMS += test-compat-decomposition +test_compat_decomposition_SOURCES = uninorm/test-compat-decomposition.c +test_compat_decomposition_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/uninorm/composition b/gnulib/modules/uninorm/composition new file mode 100644 index 0000000..285ef9d --- /dev/null +++ b/gnulib/modules/uninorm/composition @@ -0,0 +1,36 @@ +Description: +Composition of Unicode characters. + +Files: +lib/uninorm/composition.c +lib/uninorm/composition-table.gperf + +Depends-on: +uninorm/base +gperf + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [uninorm/composition]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNINORM_COMPOSITION +lib_SOURCES += uninorm/composition.c +endif + +uninorm/composition-table.h: $(srcdir)/uninorm/composition-table.gperf + $(GPERF) -m 1 $(srcdir)/uninorm/composition-table.gperf > $(srcdir)/uninorm/composition-table.h-t + mv $(srcdir)/uninorm/composition-table.h-t $(srcdir)/uninorm/composition-table.h +BUILT_SOURCES += uninorm/composition-table.h +MOSTLYCLEANFILES += uninorm/composition-table.h-t +MAINTAINERCLEANFILES += uninorm/composition-table.h +EXTRA_DIST += uninorm/composition-table.h + +Include: +"uninorm.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uninorm/composition-tests b/gnulib/modules/uninorm/composition-tests new file mode 100644 index 0000000..2921958 --- /dev/null +++ b/gnulib/modules/uninorm/composition-tests @@ -0,0 +1,13 @@ +Files: +tests/uninorm/test-composition.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-composition +check_PROGRAMS += test-composition +test_composition_SOURCES = uninorm/test-composition.c +test_composition_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/uninorm/decompose-internal b/gnulib/modules/uninorm/decompose-internal new file mode 100644 index 0000000..640ac2f --- /dev/null +++ b/gnulib/modules/uninorm/decompose-internal @@ -0,0 +1,25 @@ +Description: +Decomposition of Unicode strings. + +Files: +lib/uninorm/decompose-internal.h +lib/uninorm/decompose-internal.c + +Depends-on: +unitypes +array-mergesort + +configure.ac: + +Makefile.am: +lib_SOURCES += uninorm/decompose-internal.c + +Include: +"uninorm/decompose-internal.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uninorm/decomposing-form b/gnulib/modules/uninorm/decomposing-form new file mode 100644 index 0000000..16b6ba8 --- /dev/null +++ b/gnulib/modules/uninorm/decomposing-form @@ -0,0 +1,27 @@ +Description: +Decomposing variant of a normalization form. + +Files: +lib/uninorm/decomposing-form.c +lib/uninorm/normalize-internal.h + +Depends-on: +uninorm/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [uninorm/decomposing-form]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNINORM_DECOMPOSING_FORM +lib_SOURCES += uninorm/decomposing-form.c +endif + +Include: +"uninorm.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uninorm/decomposing-form-tests b/gnulib/modules/uninorm/decomposing-form-tests new file mode 100644 index 0000000..f0b5544 --- /dev/null +++ b/gnulib/modules/uninorm/decomposing-form-tests @@ -0,0 +1,17 @@ +Files: +tests/uninorm/test-decomposing-form.c +tests/macros.h + +Depends-on: +uninorm/nfc +uninorm/nfd +uninorm/nfkc +uninorm/nfkd + +configure.ac: + +Makefile.am: +TESTS += test-decomposing-form +check_PROGRAMS += test-decomposing-form +test_decomposing_form_SOURCES = uninorm/test-decomposing-form.c +test_decomposing_form_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/uninorm/decomposition b/gnulib/modules/uninorm/decomposition new file mode 100644 index 0000000..ad8aa1b --- /dev/null +++ b/gnulib/modules/uninorm/decomposition @@ -0,0 +1,27 @@ +Description: +Decomposition of Unicode characters. + +Files: +lib/uninorm/decomposition.c + +Depends-on: +uninorm/base +uninorm/decomposition-table + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [uninorm/decomposition]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNINORM_DECOMPOSITION +lib_SOURCES += uninorm/decomposition.c +endif + +Include: +"uninorm.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uninorm/decomposition-table b/gnulib/modules/uninorm/decomposition-table new file mode 100644 index 0000000..3a2fda9 --- /dev/null +++ b/gnulib/modules/uninorm/decomposition-table @@ -0,0 +1,27 @@ +Description: +Decomposition of Unicode characters. + +Files: +lib/uninorm/decomposition-table.h +lib/uninorm/decomposition-table.c +lib/uninorm/decomposition-table1.h +lib/uninorm/decomposition-table2.h + +Depends-on: +uninorm/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) + +Makefile.am: +lib_SOURCES += uninorm/decomposition-table.c + +Include: +"uninorm/decomposition-table.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uninorm/decomposition-tests b/gnulib/modules/uninorm/decomposition-tests new file mode 100644 index 0000000..c13979b --- /dev/null +++ b/gnulib/modules/uninorm/decomposition-tests @@ -0,0 +1,13 @@ +Files: +tests/uninorm/test-decomposition.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-decomposition +check_PROGRAMS += test-decomposition +test_decomposition_SOURCES = uninorm/test-decomposition.c +test_decomposition_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/uninorm/filter b/gnulib/modules/uninorm/filter new file mode 100644 index 0000000..68e7be8 --- /dev/null +++ b/gnulib/modules/uninorm/filter @@ -0,0 +1,30 @@ +Description: +Normalization of a stream of Unicode characters. + +Files: +lib/uninorm/uninorm-filter.c +lib/uninorm/normalize-internal.h + +Depends-on: +uninorm/base +unictype/combining-class +uninorm/decompose-internal +malloc-posix + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [uninorm/filter]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNINORM_FILTER +lib_SOURCES += uninorm/uninorm-filter.c +endif + +Include: +"uninorm.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uninorm/filter-tests b/gnulib/modules/uninorm/filter-tests new file mode 100644 index 0000000..cc3d891 --- /dev/null +++ b/gnulib/modules/uninorm/filter-tests @@ -0,0 +1,15 @@ +Files: +tests/uninorm/test-uninorm-filter-nfc.c +tests/macros.h + +Depends-on: +unistr/u32-cmp +uninorm/nfc + +configure.ac: + +Makefile.am: +TESTS += test-uninorm-filter-nfc +check_PROGRAMS += test-uninorm-filter-nfc +test_uninorm_filter_nfc_SOURCES = uninorm/test-uninorm-filter-nfc.c +test_uninorm_filter_nfc_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/uninorm/nfc b/gnulib/modules/uninorm/nfc new file mode 100644 index 0000000..6c4d25e --- /dev/null +++ b/gnulib/modules/uninorm/nfc @@ -0,0 +1,30 @@ +Description: +Canonical normalization of Unicode strings. + +Files: +lib/uninorm/nfc.c +lib/uninorm/normalize-internal.h + +Depends-on: +uninorm/base +uninorm/canonical-decomposition +uninorm/composition +uninorm/nfd + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [uninorm/nfc]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNINORM_NFC +lib_SOURCES += uninorm/nfc.c +endif + +Include: +"uninorm.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uninorm/nfc-tests b/gnulib/modules/uninorm/nfc-tests new file mode 100644 index 0000000..9a571ea --- /dev/null +++ b/gnulib/modules/uninorm/nfc-tests @@ -0,0 +1,36 @@ +Files: +tests/uninorm/test-nfc.c +tests/uninorm/test-u8-nfc.c +tests/uninorm/test-u16-nfc.c +tests/uninorm/test-u32-nfc.c +tests/uninorm/test-u32-nfc-big.sh +tests/uninorm/test-u32-nfc-big.c +tests/uninorm/test-u32-normalize-big.h +tests/uninorm/test-u32-normalize-big.c +tests/uninorm/NormalizationTest.txt +tests/macros.h + +Depends-on: +unistr/u8-cmp +unistr/u16-cmp +unistr/u32-cmp +unistr/u32-strlen +xalloc +progname + +configure.ac: +AC_CHECK_DECLS_ONCE([alarm]) + +Makefile.am: +TESTS += test-nfc uninorm/test-u32-nfc-big.sh +check_PROGRAMS += test-nfc test-u32-nfc-big +test_nfc_SOURCES = \ + uninorm/test-nfc.c \ + uninorm/test-u8-nfc.c \ + uninorm/test-u16-nfc.c \ + uninorm/test-u32-nfc.c +test_nfc_LDADD = $(LDADD) $(LIBUNISTRING) +test_u32_nfc_big_SOURCES = \ + uninorm/test-u32-nfc-big.c \ + uninorm/test-u32-normalize-big.c +test_u32_nfc_big_LDADD = $(LDADD) $(LIBUNISTRING) @LIBINTL@ diff --git a/gnulib/modules/uninorm/nfd b/gnulib/modules/uninorm/nfd new file mode 100644 index 0000000..cb3d946 --- /dev/null +++ b/gnulib/modules/uninorm/nfd @@ -0,0 +1,28 @@ +Description: +Canonical decomposition of Unicode strings. + +Files: +lib/uninorm/nfd.c +lib/uninorm/normalize-internal.h + +Depends-on: +uninorm/base +uninorm/canonical-decomposition + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [uninorm/nfd]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNINORM_NFD +lib_SOURCES += uninorm/nfd.c +endif + +Include: +"uninorm.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uninorm/nfd-tests b/gnulib/modules/uninorm/nfd-tests new file mode 100644 index 0000000..047c8a7 --- /dev/null +++ b/gnulib/modules/uninorm/nfd-tests @@ -0,0 +1,37 @@ +Files: +tests/uninorm/test-nfd.c +tests/uninorm/test-u8-nfd.c +tests/uninorm/test-u16-nfd.c +tests/uninorm/test-u32-nfd.c +tests/uninorm/test-u32-nfd-big.sh +tests/uninorm/test-u32-nfd-big.c +tests/uninorm/test-u32-normalize-big.h +tests/uninorm/test-u32-normalize-big.c +tests/uninorm/NormalizationTest.txt +tests/macros.h + +Depends-on: +unistr/u8-cmp +unistr/u16-cmp +unistr/u32-cmp +unistr/u32-strlen +xalloc +progname + +configure.ac: +AC_CHECK_DECLS_ONCE([alarm]) + +Makefile.am: +TESTS += test-nfd uninorm/test-u32-nfd-big.sh +check_PROGRAMS += test-nfd test-u32-nfd-big +test_nfd_SOURCES = \ + uninorm/test-nfd.c \ + uninorm/test-u8-nfd.c \ + uninorm/test-u16-nfd.c \ + uninorm/test-u32-nfd.c +test_nfd_LDADD = $(LDADD) $(LIBUNISTRING) +test_u32_nfd_big_SOURCES = \ + uninorm/test-u32-nfd-big.c \ + uninorm/test-u32-normalize-big.c +test_u32_nfd_big_LDADD = $(LDADD) $(LIBUNISTRING) @LIBINTL@ + diff --git a/gnulib/modules/uninorm/nfkc b/gnulib/modules/uninorm/nfkc new file mode 100644 index 0000000..0f5c40f --- /dev/null +++ b/gnulib/modules/uninorm/nfkc @@ -0,0 +1,30 @@ +Description: +Compatibility normalization of Unicode strings. + +Files: +lib/uninorm/nfkc.c +lib/uninorm/normalize-internal.h + +Depends-on: +uninorm/base +uninorm/compat-decomposition +uninorm/composition +uninorm/nfkd + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [uninorm/nfkc]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNINORM_NFKC +lib_SOURCES += uninorm/nfkc.c +endif + +Include: +"uninorm.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uninorm/nfkc-tests b/gnulib/modules/uninorm/nfkc-tests new file mode 100644 index 0000000..3d8b1a9 --- /dev/null +++ b/gnulib/modules/uninorm/nfkc-tests @@ -0,0 +1,37 @@ +Files: +tests/uninorm/test-nfkc.c +tests/uninorm/test-u8-nfkc.c +tests/uninorm/test-u16-nfkc.c +tests/uninorm/test-u32-nfkc.c +tests/uninorm/test-u32-nfkc-big.sh +tests/uninorm/test-u32-nfkc-big.c +tests/uninorm/test-u32-normalize-big.h +tests/uninorm/test-u32-normalize-big.c +tests/uninorm/NormalizationTest.txt +tests/macros.h + +Depends-on: +unistr/u8-cmp +unistr/u16-cmp +unistr/u32-cmp +unistr/u32-strlen +xalloc +progname + +configure.ac: +AC_CHECK_DECLS_ONCE([alarm]) + +Makefile.am: +TESTS += test-nfkc uninorm/test-u32-nfkc-big.sh +check_PROGRAMS += test-nfkc test-u32-nfkc-big +test_nfkc_SOURCES = \ + uninorm/test-nfkc.c \ + uninorm/test-u8-nfkc.c \ + uninorm/test-u16-nfkc.c \ + uninorm/test-u32-nfkc.c +test_nfkc_LDADD = $(LDADD) $(LIBUNISTRING) +test_u32_nfkc_big_SOURCES = \ + uninorm/test-u32-nfkc-big.c \ + uninorm/test-u32-normalize-big.c +test_u32_nfkc_big_LDADD = $(LDADD) $(LIBUNISTRING) @LIBINTL@ + diff --git a/gnulib/modules/uninorm/nfkd b/gnulib/modules/uninorm/nfkd new file mode 100644 index 0000000..8ccba4a --- /dev/null +++ b/gnulib/modules/uninorm/nfkd @@ -0,0 +1,28 @@ +Description: +Compatibility decomposition of Unicode strings. + +Files: +lib/uninorm/nfkd.c +lib/uninorm/normalize-internal.h + +Depends-on: +uninorm/base +uninorm/compat-decomposition + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [uninorm/nfkd]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNINORM_NFKD +lib_SOURCES += uninorm/nfkd.c +endif + +Include: +"uninorm.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uninorm/nfkd-tests b/gnulib/modules/uninorm/nfkd-tests new file mode 100644 index 0000000..d3cb5d9 --- /dev/null +++ b/gnulib/modules/uninorm/nfkd-tests @@ -0,0 +1,37 @@ +Files: +tests/uninorm/test-nfkd.c +tests/uninorm/test-u8-nfkd.c +tests/uninorm/test-u16-nfkd.c +tests/uninorm/test-u32-nfkd.c +tests/uninorm/test-u32-nfkd-big.sh +tests/uninorm/test-u32-nfkd-big.c +tests/uninorm/test-u32-normalize-big.h +tests/uninorm/test-u32-normalize-big.c +tests/uninorm/NormalizationTest.txt +tests/macros.h + +Depends-on: +unistr/u8-cmp +unistr/u16-cmp +unistr/u32-cmp +unistr/u32-strlen +xalloc +progname + +configure.ac: +AC_CHECK_DECLS_ONCE([alarm]) + +Makefile.am: +TESTS += test-nfkd uninorm/test-u32-nfkd-big.sh +check_PROGRAMS += test-nfkd test-u32-nfkd-big +test_nfkd_SOURCES = \ + uninorm/test-nfkd.c \ + uninorm/test-u8-nfkd.c \ + uninorm/test-u16-nfkd.c \ + uninorm/test-u32-nfkd.c +test_nfkd_LDADD = $(LDADD) $(LIBUNISTRING) +test_u32_nfkd_big_SOURCES = \ + uninorm/test-u32-nfkd-big.c \ + uninorm/test-u32-normalize-big.c +test_u32_nfkd_big_LDADD = $(LDADD) $(LIBUNISTRING) @LIBINTL@ + diff --git a/gnulib/modules/uninorm/u16-normalize b/gnulib/modules/uninorm/u16-normalize new file mode 100644 index 0000000..6b74186 --- /dev/null +++ b/gnulib/modules/uninorm/u16-normalize @@ -0,0 +1,34 @@ +Description: +Normalization of UTF-16 strings. + +Files: +lib/uninorm/u16-normalize.c +lib/uninorm/normalize-internal.h +lib/uninorm/u-normalize-internal.h + +Depends-on: +uninorm/base +unistr/u16-mbtouc-unsafe +unistr/u16-uctomb +unistr/u16-cpy +unictype/combining-class +uninorm/decompose-internal + +configure.ac: +gl_MODULE_INDICATOR_FOR_TESTS([uninorm/u16-normalize]) +gl_LIBUNISTRING_MODULE([0.9.4], [uninorm/u16-normalize]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNINORM_U16_NORMALIZE +lib_SOURCES += uninorm/u16-normalize.c +endif + +Include: +"uninorm.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uninorm/u16-normcmp b/gnulib/modules/uninorm/u16-normcmp new file mode 100644 index 0000000..2a9986d --- /dev/null +++ b/gnulib/modules/uninorm/u16-normcmp @@ -0,0 +1,30 @@ +Description: +Normalization insensitive comparison of UTF-16 strings. + +Files: +lib/uninorm/u16-normcmp.c +lib/uninorm/u-normcmp.h + +Depends-on: +uninorm/base +uninorm/u16-normalize +unistr/u16-cmp2 +minmax + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [uninorm/u16-normcmp]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNINORM_U16_NORMCMP +lib_SOURCES += uninorm/u16-normcmp.c +endif + +Include: +"uninorm.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uninorm/u16-normcmp-tests b/gnulib/modules/uninorm/u16-normcmp-tests new file mode 100644 index 0000000..b265f23 --- /dev/null +++ b/gnulib/modules/uninorm/u16-normcmp-tests @@ -0,0 +1,15 @@ +Files: +tests/uninorm/test-u16-normcmp.c +tests/uninorm/test-u16-normcmp.h +tests/macros.h + +Depends-on: +uninorm/nfd + +configure.ac: + +Makefile.am: +TESTS += test-u16-normcmp +check_PROGRAMS += test-u16-normcmp +test_u16_normcmp_SOURCES = uninorm/test-u16-normcmp.c +test_u16_normcmp_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/uninorm/u16-normcoll b/gnulib/modules/uninorm/u16-normcoll new file mode 100644 index 0000000..aded6e7 --- /dev/null +++ b/gnulib/modules/uninorm/u16-normcoll @@ -0,0 +1,29 @@ +Description: +Locale dependent, normalization insensitive comparison of UTF-16 strings. + +Files: +lib/uninorm/u16-normcoll.c +lib/uninorm/u-normcoll.h + +Depends-on: +uninorm/base +uninorm/u16-normxfrm +memcmp2 + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [uninorm/u16-normcoll]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNINORM_U16_NORMCOLL +lib_SOURCES += uninorm/u16-normcoll.c +endif + +Include: +"uninorm.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uninorm/u16-normcoll-tests b/gnulib/modules/uninorm/u16-normcoll-tests new file mode 100644 index 0000000..78e59e7 --- /dev/null +++ b/gnulib/modules/uninorm/u16-normcoll-tests @@ -0,0 +1,16 @@ +Files: +tests/uninorm/test-u16-normcoll.c +tests/uninorm/test-u16-normcmp.h +tests/macros.h + +Depends-on: +uninorm/nfc + +configure.ac: + +Makefile.am: +TESTS += test-u16-normcoll +check_PROGRAMS += test-u16-normcoll +test_u16_normcoll_SOURCES = uninorm/test-u16-normcoll.c +test_u16_normcoll_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ + diff --git a/gnulib/modules/uninorm/u16-normxfrm b/gnulib/modules/uninorm/u16-normxfrm new file mode 100644 index 0000000..28b5c5a --- /dev/null +++ b/gnulib/modules/uninorm/u16-normxfrm @@ -0,0 +1,31 @@ +Description: +Locale dependent transformation for comparison of UTF-16 strings. + +Files: +lib/uninorm/u16-normxfrm.c +lib/uninorm/u-normxfrm.h + +Depends-on: +uninorm/base +uninorm/u16-normalize +uniconv/u16-conv-to-enc +localcharset +amemxfrm + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [uninorm/u16-normxfrm]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNINORM_U16_NORMXFRM +lib_SOURCES += uninorm/u16-normxfrm.c +endif + +Include: +"uninorm.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uninorm/u32-normalize b/gnulib/modules/uninorm/u32-normalize new file mode 100644 index 0000000..90dee6b --- /dev/null +++ b/gnulib/modules/uninorm/u32-normalize @@ -0,0 +1,34 @@ +Description: +Normalization of UTF-32 strings. + +Files: +lib/uninorm/u32-normalize.c +lib/uninorm/normalize-internal.h +lib/uninorm/u-normalize-internal.h + +Depends-on: +uninorm/base +unistr/u32-mbtouc-unsafe +unistr/u32-uctomb +unistr/u32-cpy +unictype/combining-class +uninorm/decompose-internal + +configure.ac: +gl_MODULE_INDICATOR_FOR_TESTS([uninorm/u32-normalize]) +gl_LIBUNISTRING_MODULE([0.9.4], [uninorm/u32-normalize]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNINORM_U32_NORMALIZE +lib_SOURCES += uninorm/u32-normalize.c +endif + +Include: +"uninorm.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uninorm/u32-normcmp b/gnulib/modules/uninorm/u32-normcmp new file mode 100644 index 0000000..3ab8ede --- /dev/null +++ b/gnulib/modules/uninorm/u32-normcmp @@ -0,0 +1,30 @@ +Description: +Normalization insensitive comparison of UTF-32 strings. + +Files: +lib/uninorm/u32-normcmp.c +lib/uninorm/u-normcmp.h + +Depends-on: +uninorm/base +uninorm/u32-normalize +unistr/u32-cmp2 +minmax + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [uninorm/u32-normcmp]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNINORM_U32_NORMCMP +lib_SOURCES += uninorm/u32-normcmp.c +endif + +Include: +"uninorm.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uninorm/u32-normcmp-tests b/gnulib/modules/uninorm/u32-normcmp-tests new file mode 100644 index 0000000..193b517 --- /dev/null +++ b/gnulib/modules/uninorm/u32-normcmp-tests @@ -0,0 +1,15 @@ +Files: +tests/uninorm/test-u32-normcmp.c +tests/uninorm/test-u32-normcmp.h +tests/macros.h + +Depends-on: +uninorm/nfd + +configure.ac: + +Makefile.am: +TESTS += test-u32-normcmp +check_PROGRAMS += test-u32-normcmp +test_u32_normcmp_SOURCES = uninorm/test-u32-normcmp.c +test_u32_normcmp_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/uninorm/u32-normcoll b/gnulib/modules/uninorm/u32-normcoll new file mode 100644 index 0000000..0a85103 --- /dev/null +++ b/gnulib/modules/uninorm/u32-normcoll @@ -0,0 +1,29 @@ +Description: +Locale dependent, normalization insensitive comparison of UTF-32 strings. + +Files: +lib/uninorm/u32-normcoll.c +lib/uninorm/u-normcoll.h + +Depends-on: +uninorm/base +uninorm/u32-normxfrm +memcmp2 + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [uninorm/u32-normcoll]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNINORM_U32_NORMCOLL +lib_SOURCES += uninorm/u32-normcoll.c +endif + +Include: +"uninorm.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uninorm/u32-normcoll-tests b/gnulib/modules/uninorm/u32-normcoll-tests new file mode 100644 index 0000000..1274c39 --- /dev/null +++ b/gnulib/modules/uninorm/u32-normcoll-tests @@ -0,0 +1,16 @@ +Files: +tests/uninorm/test-u32-normcoll.c +tests/uninorm/test-u32-normcmp.h +tests/macros.h + +Depends-on: +uninorm/nfc + +configure.ac: + +Makefile.am: +TESTS += test-u32-normcoll +check_PROGRAMS += test-u32-normcoll +test_u32_normcoll_SOURCES = uninorm/test-u32-normcoll.c +test_u32_normcoll_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ + diff --git a/gnulib/modules/uninorm/u32-normxfrm b/gnulib/modules/uninorm/u32-normxfrm new file mode 100644 index 0000000..2581367 --- /dev/null +++ b/gnulib/modules/uninorm/u32-normxfrm @@ -0,0 +1,31 @@ +Description: +Locale dependent transformation for comparison of UTF-32 strings. + +Files: +lib/uninorm/u32-normxfrm.c +lib/uninorm/u-normxfrm.h + +Depends-on: +uninorm/base +uninorm/u32-normalize +uniconv/u32-conv-to-enc +localcharset +amemxfrm + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [uninorm/u32-normxfrm]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNINORM_U32_NORMXFRM +lib_SOURCES += uninorm/u32-normxfrm.c +endif + +Include: +"uninorm.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uninorm/u8-normalize b/gnulib/modules/uninorm/u8-normalize new file mode 100644 index 0000000..77d4f73 --- /dev/null +++ b/gnulib/modules/uninorm/u8-normalize @@ -0,0 +1,34 @@ +Description: +Normalization of UTF-8 strings. + +Files: +lib/uninorm/u8-normalize.c +lib/uninorm/normalize-internal.h +lib/uninorm/u-normalize-internal.h + +Depends-on: +uninorm/base +unistr/u8-mbtouc-unsafe +unistr/u8-uctomb +unistr/u8-cpy +unictype/combining-class +uninorm/decompose-internal + +configure.ac: +gl_MODULE_INDICATOR_FOR_TESTS([uninorm/u8-normalize]) +gl_LIBUNISTRING_MODULE([0.9.4], [uninorm/u8-normalize]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNINORM_U8_NORMALIZE +lib_SOURCES += uninorm/u8-normalize.c +endif + +Include: +"uninorm.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uninorm/u8-normcmp b/gnulib/modules/uninorm/u8-normcmp new file mode 100644 index 0000000..a055b31 --- /dev/null +++ b/gnulib/modules/uninorm/u8-normcmp @@ -0,0 +1,30 @@ +Description: +Normalization insensitive comparison of UTF-8 strings. + +Files: +lib/uninorm/u8-normcmp.c +lib/uninorm/u-normcmp.h + +Depends-on: +uninorm/base +uninorm/u8-normalize +unistr/u8-cmp2 +minmax + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [uninorm/u8-normcmp]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNINORM_U8_NORMCMP +lib_SOURCES += uninorm/u8-normcmp.c +endif + +Include: +"uninorm.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uninorm/u8-normcmp-tests b/gnulib/modules/uninorm/u8-normcmp-tests new file mode 100644 index 0000000..4006fcd --- /dev/null +++ b/gnulib/modules/uninorm/u8-normcmp-tests @@ -0,0 +1,15 @@ +Files: +tests/uninorm/test-u8-normcmp.c +tests/uninorm/test-u8-normcmp.h +tests/macros.h + +Depends-on: +uninorm/nfd + +configure.ac: + +Makefile.am: +TESTS += test-u8-normcmp +check_PROGRAMS += test-u8-normcmp +test_u8_normcmp_SOURCES = uninorm/test-u8-normcmp.c +test_u8_normcmp_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/uninorm/u8-normcoll b/gnulib/modules/uninorm/u8-normcoll new file mode 100644 index 0000000..649ccde --- /dev/null +++ b/gnulib/modules/uninorm/u8-normcoll @@ -0,0 +1,29 @@ +Description: +Locale dependent, normalization insensitive comparison of UTF-8 strings. + +Files: +lib/uninorm/u8-normcoll.c +lib/uninorm/u-normcoll.h + +Depends-on: +uninorm/base +uninorm/u8-normxfrm +memcmp2 + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [uninorm/u8-normcoll]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNINORM_U8_NORMCOLL +lib_SOURCES += uninorm/u8-normcoll.c +endif + +Include: +"uninorm.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uninorm/u8-normcoll-tests b/gnulib/modules/uninorm/u8-normcoll-tests new file mode 100644 index 0000000..40a84b5 --- /dev/null +++ b/gnulib/modules/uninorm/u8-normcoll-tests @@ -0,0 +1,16 @@ +Files: +tests/uninorm/test-u8-normcoll.c +tests/uninorm/test-u8-normcmp.h +tests/macros.h + +Depends-on: +uninorm/nfc + +configure.ac: + +Makefile.am: +TESTS += test-u8-normcoll +check_PROGRAMS += test-u8-normcoll +test_u8_normcoll_SOURCES = uninorm/test-u8-normcoll.c +test_u8_normcoll_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ + diff --git a/gnulib/modules/uninorm/u8-normxfrm b/gnulib/modules/uninorm/u8-normxfrm new file mode 100644 index 0000000..7e82154 --- /dev/null +++ b/gnulib/modules/uninorm/u8-normxfrm @@ -0,0 +1,31 @@ +Description: +Locale dependent transformation for comparison of UTF-8 strings. + +Files: +lib/uninorm/u8-normxfrm.c +lib/uninorm/u-normxfrm.h + +Depends-on: +uninorm/base +uninorm/u8-normalize +uniconv/u8-conv-to-enc +localcharset +amemxfrm + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [uninorm/u8-normxfrm]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNINORM_U8_NORMXFRM +lib_SOURCES += uninorm/u8-normxfrm.c +endif + +Include: +"uninorm.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistd b/gnulib/modules/unistd new file mode 100644 index 0000000..de86020 --- /dev/null +++ b/gnulib/modules/unistd @@ -0,0 +1,167 @@ +Description: +A GNU-like <unistd.h>. + +Files: +m4/unistd_h.m4 +lib/unistd.in.h + +Depends-on: +include_next +snippet/arg-nonnull +snippet/c++defs +snippet/warn-on-use +ssize_t +stddef + +configure.ac: +gl_UNISTD_H + +Makefile.am: +BUILT_SOURCES += unistd.h + +# We need the following in order to create an empty placeholder for +# <unistd.h> when the system doesn't have one. +unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ + -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \ + -e 's/@''GNULIB_CHDIR''@/$(GNULIB_CHDIR)/g' \ + -e 's/@''GNULIB_CHOWN''@/$(GNULIB_CHOWN)/g' \ + -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \ + -e 's/@''GNULIB_DUP''@/$(GNULIB_DUP)/g' \ + -e 's/@''GNULIB_DUP2''@/$(GNULIB_DUP2)/g' \ + -e 's/@''GNULIB_DUP3''@/$(GNULIB_DUP3)/g' \ + -e 's/@''GNULIB_ENVIRON''@/$(GNULIB_ENVIRON)/g' \ + -e 's/@''GNULIB_EUIDACCESS''@/$(GNULIB_EUIDACCESS)/g' \ + -e 's/@''GNULIB_FACCESSAT''@/$(GNULIB_FACCESSAT)/g' \ + -e 's/@''GNULIB_FCHDIR''@/$(GNULIB_FCHDIR)/g' \ + -e 's/@''GNULIB_FCHOWNAT''@/$(GNULIB_FCHOWNAT)/g' \ + -e 's/@''GNULIB_FDATASYNC''@/$(GNULIB_FDATASYNC)/g' \ + -e 's/@''GNULIB_FSYNC''@/$(GNULIB_FSYNC)/g' \ + -e 's/@''GNULIB_FTRUNCATE''@/$(GNULIB_FTRUNCATE)/g' \ + -e 's/@''GNULIB_GETCWD''@/$(GNULIB_GETCWD)/g' \ + -e 's/@''GNULIB_GETDOMAINNAME''@/$(GNULIB_GETDOMAINNAME)/g' \ + -e 's/@''GNULIB_GETDTABLESIZE''@/$(GNULIB_GETDTABLESIZE)/g' \ + -e 's/@''GNULIB_GETGROUPS''@/$(GNULIB_GETGROUPS)/g' \ + -e 's/@''GNULIB_GETHOSTNAME''@/$(GNULIB_GETHOSTNAME)/g' \ + -e 's/@''GNULIB_GETLOGIN''@/$(GNULIB_GETLOGIN)/g' \ + -e 's/@''GNULIB_GETLOGIN_R''@/$(GNULIB_GETLOGIN_R)/g' \ + -e 's/@''GNULIB_GETPAGESIZE''@/$(GNULIB_GETPAGESIZE)/g' \ + -e 's/@''GNULIB_GETUSERSHELL''@/$(GNULIB_GETUSERSHELL)/g' \ + -e 's/@''GNULIB_GROUP_MEMBER''@/$(GNULIB_GROUP_MEMBER)/g' \ + -e 's/@''GNULIB_LCHOWN''@/$(GNULIB_LCHOWN)/g' \ + -e 's/@''GNULIB_LINK''@/$(GNULIB_LINK)/g' \ + -e 's/@''GNULIB_LINKAT''@/$(GNULIB_LINKAT)/g' \ + -e 's/@''GNULIB_LSEEK''@/$(GNULIB_LSEEK)/g' \ + -e 's/@''GNULIB_PIPE''@/$(GNULIB_PIPE)/g' \ + -e 's/@''GNULIB_PIPE2''@/$(GNULIB_PIPE2)/g' \ + -e 's/@''GNULIB_PREAD''@/$(GNULIB_PREAD)/g' \ + -e 's/@''GNULIB_PWRITE''@/$(GNULIB_PWRITE)/g' \ + -e 's/@''GNULIB_READ''@/$(GNULIB_READ)/g' \ + -e 's/@''GNULIB_READLINK''@/$(GNULIB_READLINK)/g' \ + -e 's/@''GNULIB_READLINKAT''@/$(GNULIB_READLINKAT)/g' \ + -e 's/@''GNULIB_RMDIR''@/$(GNULIB_RMDIR)/g' \ + -e 's/@''GNULIB_SETHOSTNAME''@/$(GNULIB_SETHOSTNAME)/g' \ + -e 's/@''GNULIB_SLEEP''@/$(GNULIB_SLEEP)/g' \ + -e 's/@''GNULIB_SYMLINK''@/$(GNULIB_SYMLINK)/g' \ + -e 's/@''GNULIB_SYMLINKAT''@/$(GNULIB_SYMLINKAT)/g' \ + -e 's/@''GNULIB_TTYNAME_R''@/$(GNULIB_TTYNAME_R)/g' \ + -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0$(GNULIB_${gl_include_guard_prefix}_UNISTD_H_GETOPT)/g' \ + -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GNULIB_UNISTD_H_NONBLOCKING)/g' \ + -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GNULIB_UNISTD_H_SIGPIPE)/g' \ + -e 's/@''GNULIB_UNLINK''@/$(GNULIB_UNLINK)/g' \ + -e 's/@''GNULIB_UNLINKAT''@/$(GNULIB_UNLINKAT)/g' \ + -e 's/@''GNULIB_USLEEP''@/$(GNULIB_USLEEP)/g' \ + -e 's/@''GNULIB_WRITE''@/$(GNULIB_WRITE)/g' \ + < $(srcdir)/unistd.in.h | \ + sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \ + -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \ + -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \ + -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \ + -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \ + -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \ + -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \ + -e 's|@''HAVE_FDATASYNC''@|$(HAVE_FDATASYNC)|g' \ + -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \ + -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \ + -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \ + -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \ + -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \ + -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \ + -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \ + -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \ + -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \ + -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \ + -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \ + -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \ + -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \ + -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \ + -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \ + -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \ + -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \ + -e 's|@''HAVE_SETHOSTNAME''@|$(HAVE_SETHOSTNAME)|g' \ + -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \ + -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \ + -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \ + -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \ + -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \ + -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \ + -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \ + -e 's|@''HAVE_DECL_FDATASYNC''@|$(HAVE_DECL_FDATASYNC)|g' \ + -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \ + -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \ + -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \ + -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \ + -e 's|@''HAVE_DECL_SETHOSTNAME''@|$(HAVE_DECL_SETHOSTNAME)|g' \ + -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \ + -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \ + -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \ + | \ + sed -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \ + -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \ + -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \ + -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \ + -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \ + -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \ + -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \ + -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \ + -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \ + -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \ + -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \ + -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \ + -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \ + -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \ + -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \ + -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \ + -e 's|@''REPLACE_READ''@|$(REPLACE_READ)|g' \ + -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \ + -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \ + -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \ + -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \ + -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \ + -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \ + -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \ + -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \ + -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \ + -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \ + -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ + -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ + } > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += unistd.h unistd.h-t + +Include: +<unistd.h> + +License: +LGPLv2+ + +Maintainer: +all diff --git a/gnulib/modules/unistd-c++-tests b/gnulib/modules/unistd-c++-tests new file mode 100644 index 0000000..c1a9639 --- /dev/null +++ b/gnulib/modules/unistd-c++-tests @@ -0,0 +1,19 @@ +Files: +tests/test-unistd-c++.cc +tests/signature.h + +Status: +c++-test + +Depends-on: +ansi-c++-opt + +configure.ac: + +Makefile.am: +if ANSICXX +TESTS += test-unistd-c++ +check_PROGRAMS += test-unistd-c++ +test_unistd_c___SOURCES = test-unistd-c++.cc +test_unistd_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_CLOCK_GETTIME) $(LIB_EACCESS) $(LIBSOCKET) +endif diff --git a/gnulib/modules/unistd-safer b/gnulib/modules/unistd-safer new file mode 100644 index 0000000..2d195ec --- /dev/null +++ b/gnulib/modules/unistd-safer @@ -0,0 +1,29 @@ +Description: +File descriptor functions that avoid clobbering STD{IN,OUT,ERR}_FILENO. + +Files: +lib/unistd--.h +lib/dup-safer.c +lib/fd-safer.c +lib/pipe-safer.c +lib/unistd-safer.h +m4/unistd-safer.m4 + +Depends-on: +fcntl +unistd + +configure.ac: +gl_UNISTD_SAFER + +Makefile.am: +lib_SOURCES += dup-safer.c fd-safer.c pipe-safer.c + +Include: +"unistd-safer.h" + +License: +GPL + +Maintainer: +Paul Eggert, Jim Meyering diff --git a/gnulib/modules/unistd-safer-tests b/gnulib/modules/unistd-safer-tests new file mode 100644 index 0000000..cd2bbcd --- /dev/null +++ b/gnulib/modules/unistd-safer-tests @@ -0,0 +1,18 @@ +Files: +tests/test-dup-safer.c +tests/macros.h + +Depends-on: +binary-io +cloexec +close +dup +fd-safer-flag +msvc-nothrow +stdbool + +configure.ac: + +Makefile.am: +TESTS += test-dup-safer +check_PROGRAMS += test-dup-safer diff --git a/gnulib/modules/unistd-tests b/gnulib/modules/unistd-tests new file mode 100644 index 0000000..9b8222c --- /dev/null +++ b/gnulib/modules/unistd-tests @@ -0,0 +1,12 @@ +Files: +tests/test-unistd.c + +Depends-on: +verify +unistd-c++-tests + +configure.ac: + +Makefile.am: +TESTS += test-unistd +check_PROGRAMS += test-unistd diff --git a/gnulib/modules/unistdio/base b/gnulib/modules/unistdio/base new file mode 100644 index 0000000..468bac1 --- /dev/null +++ b/gnulib/modules/unistdio/base @@ -0,0 +1,33 @@ +Description: +Base layer for formatted output to strings. + +Files: +lib/unistdio.in.h +m4/libunistring-base.m4 + +Depends-on: +unitypes + +configure.ac: +gl_LIBUNISTRING_LIBHEADER([0.9], [unistdio.h]) + +Makefile.am: +BUILT_SOURCES += $(LIBUNISTRING_UNISTDIO_H) + +unistdio.h: unistdio.in.h + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + cat $(srcdir)/unistdio.in.h; \ + } > $@-t && \ + mv -f $@-t $@ +MOSTLYCLEANFILES += unistdio.h unistdio.h-t + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u-printf-args b/gnulib/modules/unistdio/u-printf-args new file mode 100644 index 0000000..a115d2b --- /dev/null +++ b/gnulib/modules/unistdio/u-printf-args @@ -0,0 +1,32 @@ +Description: +Fetching a printf argument list. + +Files: +lib/unistdio/u-printf-args.h +lib/unistdio/u-printf-args.c +lib/printf-args.h +lib/printf-args.c +m4/vasnprintf.m4 +m4/intmax_t.m4 +m4/stdint_h.m4 +m4/inttypes_h.m4 + +Depends-on: +unitypes +wchar + +configure.ac: +gl_PREREQ_PRINTF_ARGS + +Makefile.am: +lib_SOURCES += unistdio/u-printf-args.c + +Include: +"unistdio/u-printf-args.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u16-asnprintf b/gnulib/modules/unistdio/u16-asnprintf new file mode 100644 index 0000000..ef5eb6e --- /dev/null +++ b/gnulib/modules/unistdio/u16-asnprintf @@ -0,0 +1,29 @@ +Description: +Formatted output to an UTF-16 string, with automatic memory allocation and +bounded output size. + +Files: +lib/unistdio/u16-asnprintf.c +lib/unistdio/u-asnprintf.h + +Depends-on: +unistdio/base +unistdio/u16-vasnprintf + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistdio/u16-asnprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_U16_ASNPRINTF +lib_SOURCES += unistdio/u16-asnprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u16-asnprintf-tests b/gnulib/modules/unistdio/u16-asnprintf-tests new file mode 100644 index 0000000..e6d15b2 --- /dev/null +++ b/gnulib/modules/unistdio/u16-asnprintf-tests @@ -0,0 +1,15 @@ +Files: +tests/unistdio/test-u16-asnprintf1.c +tests/unistdio/test-u16-asnprintf1.h +tests/unistdio/test-u16-printf1.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u16-asnprintf1 +check_PROGRAMS += test-u16-asnprintf1 +test_u16_asnprintf1_SOURCES = unistdio/test-u16-asnprintf1.c +test_u16_asnprintf1_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ diff --git a/gnulib/modules/unistdio/u16-asprintf b/gnulib/modules/unistdio/u16-asprintf new file mode 100644 index 0000000..c567b9f --- /dev/null +++ b/gnulib/modules/unistdio/u16-asprintf @@ -0,0 +1,28 @@ +Description: +Formatted output to an UTF-16 string, with automatic memory allocation. + +Files: +lib/unistdio/u16-asprintf.c +lib/unistdio/u-asprintf.h + +Depends-on: +unistdio/base +unistdio/u16-vasprintf + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistdio/u16-asprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_U16_ASPRINTF +lib_SOURCES += unistdio/u16-asprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u16-printf-parse b/gnulib/modules/unistdio/u16-printf-parse new file mode 100644 index 0000000..552715f --- /dev/null +++ b/gnulib/modules/unistdio/u16-printf-parse @@ -0,0 +1,33 @@ +Description: +Parsing an UTF-16 format string. + +Files: +lib/unistdio/u-printf-parse.h +lib/unistdio/u16-printf-parse.c +lib/printf-parse.h +lib/printf-parse.c +m4/vasnprintf.m4 +m4/intmax_t.m4 +m4/stdint_h.m4 +m4/inttypes_h.m4 + +Depends-on: +unistdio/u-printf-args +stdint +xsize + +configure.ac: +gl_PREREQ_PRINTF_PARSE + +Makefile.am: +lib_SOURCES += unistdio/u16-printf-parse.c + +Include: +"unistdio/u-printf-parse.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u16-snprintf b/gnulib/modules/unistdio/u16-snprintf new file mode 100644 index 0000000..4a6a1d9 --- /dev/null +++ b/gnulib/modules/unistdio/u16-snprintf @@ -0,0 +1,28 @@ +Description: +Formatted output to a fixed-length UTF-16 string. + +Files: +lib/unistdio/u16-snprintf.c +lib/unistdio/u-snprintf.h + +Depends-on: +unistdio/base +unistdio/u16-vsnprintf + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistdio/u16-snprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_U16_SNPRINTF +lib_SOURCES += unistdio/u16-snprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u16-sprintf b/gnulib/modules/unistdio/u16-sprintf new file mode 100644 index 0000000..f5e25a5 --- /dev/null +++ b/gnulib/modules/unistdio/u16-sprintf @@ -0,0 +1,28 @@ +Description: +Formatted output to an UTF-16 string. + +Files: +lib/unistdio/u16-sprintf.c +lib/unistdio/u-sprintf.h + +Depends-on: +unistdio/base +unistdio/u16-vsprintf + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistdio/u16-sprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_U16_SPRINTF +lib_SOURCES += unistdio/u16-sprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u16-u16-asnprintf b/gnulib/modules/unistdio/u16-u16-asnprintf new file mode 100644 index 0000000..9bbe4b6 --- /dev/null +++ b/gnulib/modules/unistdio/u16-u16-asnprintf @@ -0,0 +1,29 @@ +Description: +Formatted output to an UTF-16 string, with automatic memory allocation and +bounded output size. + +Files: +lib/unistdio/u16-u16-asnprintf.c +lib/unistdio/u-asnprintf.h + +Depends-on: +unistdio/base +unistdio/u16-u16-vasnprintf + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistdio/u16-u16-asnprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_ASNPRINTF +lib_SOURCES += unistdio/u16-u16-asnprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u16-u16-asprintf b/gnulib/modules/unistdio/u16-u16-asprintf new file mode 100644 index 0000000..0d9ad01 --- /dev/null +++ b/gnulib/modules/unistdio/u16-u16-asprintf @@ -0,0 +1,28 @@ +Description: +Formatted output to an UTF-16 string, with automatic memory allocation. + +Files: +lib/unistdio/u16-u16-asprintf.c +lib/unistdio/u-asprintf.h + +Depends-on: +unistdio/base +unistdio/u16-u16-vasprintf + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistdio/u16-u16-asprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_ASPRINTF +lib_SOURCES += unistdio/u16-u16-asprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u16-u16-snprintf b/gnulib/modules/unistdio/u16-u16-snprintf new file mode 100644 index 0000000..96d84ec --- /dev/null +++ b/gnulib/modules/unistdio/u16-u16-snprintf @@ -0,0 +1,28 @@ +Description: +Formatted output to a fixed-length UTF-16 string. + +Files: +lib/unistdio/u16-u16-snprintf.c +lib/unistdio/u-snprintf.h + +Depends-on: +unistdio/base +unistdio/u16-u16-vsnprintf + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistdio/u16-u16-snprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_SNPRINTF +lib_SOURCES += unistdio/u16-u16-snprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u16-u16-sprintf b/gnulib/modules/unistdio/u16-u16-sprintf new file mode 100644 index 0000000..98b4c05 --- /dev/null +++ b/gnulib/modules/unistdio/u16-u16-sprintf @@ -0,0 +1,28 @@ +Description: +Formatted output to an UTF-16 string. + +Files: +lib/unistdio/u16-u16-sprintf.c +lib/unistdio/u-sprintf.h + +Depends-on: +unistdio/base +unistdio/u16-u16-vsprintf + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistdio/u16-u16-sprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_SPRINTF +lib_SOURCES += unistdio/u16-u16-sprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u16-u16-vasnprintf b/gnulib/modules/unistdio/u16-u16-vasnprintf new file mode 100644 index 0000000..7a7f46f --- /dev/null +++ b/gnulib/modules/unistdio/u16-u16-vasnprintf @@ -0,0 +1,68 @@ +Description: +Formatted output to UTF-16 strings. + +Files: +lib/unistdio/u16-u16-vasnprintf.c +lib/vasnprintf.c +m4/vasnprintf.m4 +m4/printf.m4 +m4/math_h.m4 +m4/wchar_t.m4 +m4/wint_t.m4 +m4/longlong.m4 +m4/intmax_t.m4 +m4/stdint_h.m4 +m4/inttypes_h.m4 +m4/exponentd.m4 + +Depends-on: +unistdio/base +unistdio/u16-printf-parse +unistdio/u-printf-args +uniconv/u16-conv-from-enc +unistr/u16-cpy +unistr/u16-set +unistr/u16-mbsnlen +unistr/u8-to-u16 +unistr/u32-to-u16 +unistr/u8-strlen +unistr/u8-strmblen +unistr/u16-strlen +unistr/u16-strmblen +unistr/u32-strlen +unistr/u32-strmblen +isnand-nolibm +isnanl-nolibm +frexpl-nolibm +printf-frexp +printf-frexpl +signbit +fpucw +nocrash +printf-safe +alloca-opt +localcharset +xsize +errno +memchr +multiarch +verify + +configure.ac: +gl_PREREQ_VASNPRINTF_WITH_EXTRAS +gl_LIBUNISTRING_MODULE([0.9], [unistdio/u16-u16-vasnprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_VASNPRINTF +lib_SOURCES += unistdio/u16-u16-vasnprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u16-u16-vasprintf b/gnulib/modules/unistdio/u16-u16-vasprintf new file mode 100644 index 0000000..326667d --- /dev/null +++ b/gnulib/modules/unistdio/u16-u16-vasprintf @@ -0,0 +1,29 @@ +Description: +Formatted output to an UTF-16 string, with automatic memory allocation. + +Files: +lib/unistdio/u16-u16-vasprintf.c +lib/unistdio/u-vasprintf.h + +Depends-on: +unistdio/base +unistdio/u16-u16-vasnprintf +errno + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistdio/u16-u16-vasprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_VASPRINTF +lib_SOURCES += unistdio/u16-u16-vasprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u16-u16-vsnprintf b/gnulib/modules/unistdio/u16-u16-vsnprintf new file mode 100644 index 0000000..7abfdd1 --- /dev/null +++ b/gnulib/modules/unistdio/u16-u16-vsnprintf @@ -0,0 +1,30 @@ +Description: +Formatted output to a fixed-length UTF-16 string. + +Files: +lib/unistdio/u16-u16-vsnprintf.c +lib/unistdio/u-vsnprintf.h + +Depends-on: +unistdio/base +unistdio/u16-u16-vasnprintf +unistr/u16-cpy +errno + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistdio/u16-u16-vsnprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_VSNPRINTF +lib_SOURCES += unistdio/u16-u16-vsnprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u16-u16-vsprintf b/gnulib/modules/unistdio/u16-u16-vsprintf new file mode 100644 index 0000000..90b0387 --- /dev/null +++ b/gnulib/modules/unistdio/u16-u16-vsprintf @@ -0,0 +1,30 @@ +Description: +Formatted output to an UTF-16 string. + +Files: +lib/unistdio/u16-u16-vsprintf.c +lib/unistdio/u-vsprintf.h + +Depends-on: +unistdio/base +unistdio/u16-u16-vasnprintf +stdint +errno + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistdio/u16-u16-vsprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_U16_U16_VSPRINTF +lib_SOURCES += unistdio/u16-u16-vsprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u16-vasnprintf b/gnulib/modules/unistdio/u16-vasnprintf new file mode 100644 index 0000000..09e1330 --- /dev/null +++ b/gnulib/modules/unistdio/u16-vasnprintf @@ -0,0 +1,68 @@ +Description: +Formatted output to UTF-16 strings. + +Files: +lib/unistdio/u16-vasnprintf.c +lib/vasnprintf.c +m4/vasnprintf.m4 +m4/printf.m4 +m4/math_h.m4 +m4/wchar_t.m4 +m4/wint_t.m4 +m4/longlong.m4 +m4/intmax_t.m4 +m4/stdint_h.m4 +m4/inttypes_h.m4 +m4/exponentd.m4 + +Depends-on: +unistdio/base +unistdio/ulc-printf-parse +unistdio/u-printf-args +uniconv/u16-conv-from-enc +unistr/u16-cpy +unistr/u16-set +unistr/u16-mbsnlen +unistr/u8-to-u16 +unistr/u32-to-u16 +unistr/u8-strlen +unistr/u8-strmblen +unistr/u16-strlen +unistr/u16-strmblen +unistr/u32-strlen +unistr/u32-strmblen +isnand-nolibm +isnanl-nolibm +frexpl-nolibm +printf-frexp +printf-frexpl +signbit +fpucw +nocrash +printf-safe +alloca-opt +localcharset +xsize +errno +memchr +multiarch +verify + +configure.ac: +gl_PREREQ_VASNPRINTF_WITH_EXTRAS +gl_LIBUNISTRING_MODULE([0.9], [unistdio/u16-vasnprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_U16_VASNPRINTF +lib_SOURCES += unistdio/u16-vasnprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u16-vasnprintf-tests b/gnulib/modules/unistdio/u16-vasnprintf-tests new file mode 100644 index 0000000..3dc3cb0 --- /dev/null +++ b/gnulib/modules/unistdio/u16-vasnprintf-tests @@ -0,0 +1,33 @@ +Files: +tests/unistdio/test-u16-vasnprintf1.c +tests/unistdio/test-u16-asnprintf1.h +tests/unistdio/test-u16-printf1.h +tests/unistdio/test-u16-vasnprintf2.sh +tests/unistdio/test-u16-vasnprintf2.c +tests/unistdio/test-u16-vasnprintf3.sh +tests/unistdio/test-u16-vasnprintf3.c +tests/macros.h +m4/locale-fr.m4 +m4/codeset.m4 + +Depends-on: +unistr/u16-cmp +unistr/u16-cpy +unistr/u16-strcmp +unistr/u16-strlen +setlocale + +configure.ac: +gt_LOCALE_FR +gt_LOCALE_FR_UTF8 + +Makefile.am: +TESTS += test-u16-vasnprintf1 unistdio/test-u16-vasnprintf2.sh unistdio/test-u16-vasnprintf3.sh +TESTS_ENVIRONMENT += LOCALE_FR='@LOCALE_FR@' LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' +check_PROGRAMS += test-u16-vasnprintf1 test-u16-vasnprintf2 test-u16-vasnprintf3 +test_u16_vasnprintf1_SOURCES = unistdio/test-u16-vasnprintf1.c +test_u16_vasnprintf1_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ +test_u16_vasnprintf2_SOURCES = unistdio/test-u16-vasnprintf2.c +test_u16_vasnprintf2_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ +test_u16_vasnprintf3_SOURCES = unistdio/test-u16-vasnprintf3.c +test_u16_vasnprintf3_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ diff --git a/gnulib/modules/unistdio/u16-vasprintf b/gnulib/modules/unistdio/u16-vasprintf new file mode 100644 index 0000000..788afa2 --- /dev/null +++ b/gnulib/modules/unistdio/u16-vasprintf @@ -0,0 +1,29 @@ +Description: +Formatted output to an UTF-16 string, with automatic memory allocation. + +Files: +lib/unistdio/u16-vasprintf.c +lib/unistdio/u-vasprintf.h + +Depends-on: +unistdio/base +unistdio/u16-vasnprintf +errno + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistdio/u16-vasprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_U16_VASPRINTF +lib_SOURCES += unistdio/u16-vasprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u16-vasprintf-tests b/gnulib/modules/unistdio/u16-vasprintf-tests new file mode 100644 index 0000000..2d83cb3 --- /dev/null +++ b/gnulib/modules/unistdio/u16-vasprintf-tests @@ -0,0 +1,14 @@ +Files: +tests/unistdio/test-u16-vasprintf1.c +tests/unistdio/test-u16-printf1.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u16-vasprintf1 +check_PROGRAMS += test-u16-vasprintf1 +test_u16_vasprintf1_SOURCES = unistdio/test-u16-vasprintf1.c +test_u16_vasprintf1_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ diff --git a/gnulib/modules/unistdio/u16-vsnprintf b/gnulib/modules/unistdio/u16-vsnprintf new file mode 100644 index 0000000..94c8f4d --- /dev/null +++ b/gnulib/modules/unistdio/u16-vsnprintf @@ -0,0 +1,30 @@ +Description: +Formatted output to a fixed-length UTF-16 string. + +Files: +lib/unistdio/u16-vsnprintf.c +lib/unistdio/u-vsnprintf.h + +Depends-on: +unistdio/base +unistdio/u16-vasnprintf +unistr/u16-cpy +errno + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistdio/u16-vsnprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_U16_VSNPRINTF +lib_SOURCES += unistdio/u16-vsnprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u16-vsnprintf-tests b/gnulib/modules/unistdio/u16-vsnprintf-tests new file mode 100644 index 0000000..cb17e77 --- /dev/null +++ b/gnulib/modules/unistdio/u16-vsnprintf-tests @@ -0,0 +1,16 @@ +Files: +tests/unistdio/test-u16-vsnprintf1.c +tests/unistdio/test-u16-printf1.h +tests/macros.h + +Depends-on: +xalloc +progname + +configure.ac: + +Makefile.am: +TESTS += test-u16-vsnprintf1 +check_PROGRAMS += test-u16-vsnprintf1 +test_u16_vsnprintf1_SOURCES = unistdio/test-u16-vsnprintf1.c +test_u16_vsnprintf1_LDADD = $(LDADD) $(LIBUNISTRING) @LIBINTL@ @LIBICONV@ diff --git a/gnulib/modules/unistdio/u16-vsprintf b/gnulib/modules/unistdio/u16-vsprintf new file mode 100644 index 0000000..f829923 --- /dev/null +++ b/gnulib/modules/unistdio/u16-vsprintf @@ -0,0 +1,30 @@ +Description: +Formatted output to an UTF-16 string. + +Files: +lib/unistdio/u16-vsprintf.c +lib/unistdio/u-vsprintf.h + +Depends-on: +unistdio/base +unistdio/u16-vasnprintf +stdint +errno + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistdio/u16-vsprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_U16_VSPRINTF +lib_SOURCES += unistdio/u16-vsprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u16-vsprintf-tests b/gnulib/modules/unistdio/u16-vsprintf-tests new file mode 100644 index 0000000..1eff147 --- /dev/null +++ b/gnulib/modules/unistdio/u16-vsprintf-tests @@ -0,0 +1,16 @@ +Files: +tests/unistdio/test-u16-vsprintf1.c +tests/unistdio/test-u16-printf1.h +tests/macros.h + +Depends-on: +xalloc +progname + +configure.ac: + +Makefile.am: +TESTS += test-u16-vsprintf1 +check_PROGRAMS += test-u16-vsprintf1 +test_u16_vsprintf1_SOURCES = unistdio/test-u16-vsprintf1.c +test_u16_vsprintf1_LDADD = $(LDADD) $(LIBUNISTRING) @LIBINTL@ @LIBICONV@ diff --git a/gnulib/modules/unistdio/u32-asnprintf b/gnulib/modules/unistdio/u32-asnprintf new file mode 100644 index 0000000..ec49e1a --- /dev/null +++ b/gnulib/modules/unistdio/u32-asnprintf @@ -0,0 +1,29 @@ +Description: +Formatted output to an UTF-32 string, with automatic memory allocation and +bounded output size. + +Files: +lib/unistdio/u32-asnprintf.c +lib/unistdio/u-asnprintf.h + +Depends-on: +unistdio/base +unistdio/u32-vasnprintf + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistdio/u32-asnprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_U32_ASNPRINTF +lib_SOURCES += unistdio/u32-asnprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u32-asnprintf-tests b/gnulib/modules/unistdio/u32-asnprintf-tests new file mode 100644 index 0000000..64fc76c --- /dev/null +++ b/gnulib/modules/unistdio/u32-asnprintf-tests @@ -0,0 +1,15 @@ +Files: +tests/unistdio/test-u32-asnprintf1.c +tests/unistdio/test-u32-asnprintf1.h +tests/unistdio/test-u32-printf1.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u32-asnprintf1 +check_PROGRAMS += test-u32-asnprintf1 +test_u32_asnprintf1_SOURCES = unistdio/test-u32-asnprintf1.c +test_u32_asnprintf1_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ diff --git a/gnulib/modules/unistdio/u32-asprintf b/gnulib/modules/unistdio/u32-asprintf new file mode 100644 index 0000000..4bcaaa2 --- /dev/null +++ b/gnulib/modules/unistdio/u32-asprintf @@ -0,0 +1,28 @@ +Description: +Formatted output to an UTF-32 string, with automatic memory allocation. + +Files: +lib/unistdio/u32-asprintf.c +lib/unistdio/u-asprintf.h + +Depends-on: +unistdio/base +unistdio/u32-vasprintf + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistdio/u32-asprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_U32_ASPRINTF +lib_SOURCES += unistdio/u32-asprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u32-printf-parse b/gnulib/modules/unistdio/u32-printf-parse new file mode 100644 index 0000000..5ac29fd --- /dev/null +++ b/gnulib/modules/unistdio/u32-printf-parse @@ -0,0 +1,33 @@ +Description: +Parsing an UTF-32 format string. + +Files: +lib/unistdio/u-printf-parse.h +lib/unistdio/u32-printf-parse.c +lib/printf-parse.h +lib/printf-parse.c +m4/vasnprintf.m4 +m4/intmax_t.m4 +m4/stdint_h.m4 +m4/inttypes_h.m4 + +Depends-on: +unistdio/u-printf-args +stdint +xsize + +configure.ac: +gl_PREREQ_PRINTF_PARSE + +Makefile.am: +lib_SOURCES += unistdio/u32-printf-parse.c + +Include: +"unistdio/u-printf-parse.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u32-snprintf b/gnulib/modules/unistdio/u32-snprintf new file mode 100644 index 0000000..7e07966 --- /dev/null +++ b/gnulib/modules/unistdio/u32-snprintf @@ -0,0 +1,28 @@ +Description: +Formatted output to a fixed-length UTF-32 string. + +Files: +lib/unistdio/u32-snprintf.c +lib/unistdio/u-snprintf.h + +Depends-on: +unistdio/base +unistdio/u32-vsnprintf + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistdio/u32-snprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_U32_SNPRINTF +lib_SOURCES += unistdio/u32-snprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u32-sprintf b/gnulib/modules/unistdio/u32-sprintf new file mode 100644 index 0000000..e31d6f1 --- /dev/null +++ b/gnulib/modules/unistdio/u32-sprintf @@ -0,0 +1,28 @@ +Description: +Formatted output to an UTF-32 string. + +Files: +lib/unistdio/u32-sprintf.c +lib/unistdio/u-sprintf.h + +Depends-on: +unistdio/base +unistdio/u32-vsprintf + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistdio/u32-sprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_U32_SPRINTF +lib_SOURCES += unistdio/u32-sprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u32-u32-asnprintf b/gnulib/modules/unistdio/u32-u32-asnprintf new file mode 100644 index 0000000..1b14370 --- /dev/null +++ b/gnulib/modules/unistdio/u32-u32-asnprintf @@ -0,0 +1,29 @@ +Description: +Formatted output to an UTF-32 string, with automatic memory allocation and +bounded output size. + +Files: +lib/unistdio/u32-u32-asnprintf.c +lib/unistdio/u-asnprintf.h + +Depends-on: +unistdio/base +unistdio/u32-u32-vasnprintf + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistdio/u32-u32-asnprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_ASNPRINTF +lib_SOURCES += unistdio/u32-u32-asnprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u32-u32-asprintf b/gnulib/modules/unistdio/u32-u32-asprintf new file mode 100644 index 0000000..a9de899 --- /dev/null +++ b/gnulib/modules/unistdio/u32-u32-asprintf @@ -0,0 +1,28 @@ +Description: +Formatted output to an UTF-32 string, with automatic memory allocation. + +Files: +lib/unistdio/u32-u32-asprintf.c +lib/unistdio/u-asprintf.h + +Depends-on: +unistdio/base +unistdio/u32-u32-vasprintf + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistdio/u32-u32-asprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_ASPRINTF +lib_SOURCES += unistdio/u32-u32-asprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u32-u32-snprintf b/gnulib/modules/unistdio/u32-u32-snprintf new file mode 100644 index 0000000..a429b37 --- /dev/null +++ b/gnulib/modules/unistdio/u32-u32-snprintf @@ -0,0 +1,28 @@ +Description: +Formatted output to a fixed-length UTF-32 string. + +Files: +lib/unistdio/u32-u32-snprintf.c +lib/unistdio/u-snprintf.h + +Depends-on: +unistdio/base +unistdio/u32-u32-vsnprintf + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistdio/u32-u32-snprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_SNPRINTF +lib_SOURCES += unistdio/u32-u32-snprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u32-u32-sprintf b/gnulib/modules/unistdio/u32-u32-sprintf new file mode 100644 index 0000000..2a13ba9 --- /dev/null +++ b/gnulib/modules/unistdio/u32-u32-sprintf @@ -0,0 +1,28 @@ +Description: +Formatted output to an UTF-32 string. + +Files: +lib/unistdio/u32-u32-sprintf.c +lib/unistdio/u-sprintf.h + +Depends-on: +unistdio/base +unistdio/u32-u32-vsprintf + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistdio/u32-u32-sprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_SPRINTF +lib_SOURCES += unistdio/u32-u32-sprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u32-u32-vasnprintf b/gnulib/modules/unistdio/u32-u32-vasnprintf new file mode 100644 index 0000000..ac248ba --- /dev/null +++ b/gnulib/modules/unistdio/u32-u32-vasnprintf @@ -0,0 +1,68 @@ +Description: +Formatted output to UTF-32 strings. + +Files: +lib/unistdio/u32-u32-vasnprintf.c +lib/vasnprintf.c +m4/vasnprintf.m4 +m4/printf.m4 +m4/math_h.m4 +m4/wchar_t.m4 +m4/wint_t.m4 +m4/longlong.m4 +m4/intmax_t.m4 +m4/stdint_h.m4 +m4/inttypes_h.m4 +m4/exponentd.m4 + +Depends-on: +unistdio/base +unistdio/u32-printf-parse +unistdio/u-printf-args +uniconv/u32-conv-from-enc +unistr/u32-cpy +unistr/u32-set +unistr/u32-mbsnlen +unistr/u8-to-u32 +unistr/u16-to-u32 +unistr/u8-strlen +unistr/u8-strmblen +unistr/u16-strlen +unistr/u16-strmblen +unistr/u32-strlen +unistr/u32-strmblen +isnand-nolibm +isnanl-nolibm +frexpl-nolibm +printf-frexp +printf-frexpl +signbit +fpucw +nocrash +printf-safe +alloca-opt +localcharset +xsize +errno +memchr +multiarch +verify + +configure.ac: +gl_PREREQ_VASNPRINTF_WITH_EXTRAS +gl_LIBUNISTRING_MODULE([0.9], [unistdio/u32-u32-vasnprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_VASNPRINTF +lib_SOURCES += unistdio/u32-u32-vasnprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u32-u32-vasprintf b/gnulib/modules/unistdio/u32-u32-vasprintf new file mode 100644 index 0000000..5c49c8b --- /dev/null +++ b/gnulib/modules/unistdio/u32-u32-vasprintf @@ -0,0 +1,29 @@ +Description: +Formatted output to an UTF-32 string, with automatic memory allocation. + +Files: +lib/unistdio/u32-u32-vasprintf.c +lib/unistdio/u-vasprintf.h + +Depends-on: +unistdio/base +unistdio/u32-u32-vasnprintf +errno + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistdio/u32-u32-vasprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_VASPRINTF +lib_SOURCES += unistdio/u32-u32-vasprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u32-u32-vsnprintf b/gnulib/modules/unistdio/u32-u32-vsnprintf new file mode 100644 index 0000000..9422ba6 --- /dev/null +++ b/gnulib/modules/unistdio/u32-u32-vsnprintf @@ -0,0 +1,30 @@ +Description: +Formatted output to a fixed-length UTF-32 string. + +Files: +lib/unistdio/u32-u32-vsnprintf.c +lib/unistdio/u-vsnprintf.h + +Depends-on: +unistdio/base +unistdio/u32-u32-vasnprintf +unistr/u32-cpy +errno + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistdio/u32-u32-vsnprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_VSNPRINTF +lib_SOURCES += unistdio/u32-u32-vsnprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u32-u32-vsprintf b/gnulib/modules/unistdio/u32-u32-vsprintf new file mode 100644 index 0000000..32a8284 --- /dev/null +++ b/gnulib/modules/unistdio/u32-u32-vsprintf @@ -0,0 +1,30 @@ +Description: +Formatted output to an UTF-32 string. + +Files: +lib/unistdio/u32-u32-vsprintf.c +lib/unistdio/u-vsprintf.h + +Depends-on: +unistdio/base +unistdio/u32-u32-vasnprintf +stdint +errno + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistdio/u32-u32-vsprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_U32_U32_VSPRINTF +lib_SOURCES += unistdio/u32-u32-vsprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u32-vasnprintf b/gnulib/modules/unistdio/u32-vasnprintf new file mode 100644 index 0000000..6539a3e --- /dev/null +++ b/gnulib/modules/unistdio/u32-vasnprintf @@ -0,0 +1,68 @@ +Description: +Formatted output to UTF-32 strings. + +Files: +lib/unistdio/u32-vasnprintf.c +lib/vasnprintf.c +m4/vasnprintf.m4 +m4/printf.m4 +m4/math_h.m4 +m4/wchar_t.m4 +m4/wint_t.m4 +m4/longlong.m4 +m4/intmax_t.m4 +m4/stdint_h.m4 +m4/inttypes_h.m4 +m4/exponentd.m4 + +Depends-on: +unistdio/base +unistdio/ulc-printf-parse +unistdio/u-printf-args +uniconv/u32-conv-from-enc +unistr/u32-cpy +unistr/u32-set +unistr/u32-mbsnlen +unistr/u8-to-u32 +unistr/u16-to-u32 +unistr/u8-strlen +unistr/u8-strmblen +unistr/u16-strlen +unistr/u16-strmblen +unistr/u32-strlen +unistr/u32-strmblen +isnand-nolibm +isnanl-nolibm +frexpl-nolibm +printf-frexp +printf-frexpl +signbit +fpucw +nocrash +printf-safe +alloca-opt +localcharset +xsize +errno +memchr +multiarch +verify + +configure.ac: +gl_PREREQ_VASNPRINTF_WITH_EXTRAS +gl_LIBUNISTRING_MODULE([0.9], [unistdio/u32-vasnprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_U32_VASNPRINTF +lib_SOURCES += unistdio/u32-vasnprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u32-vasnprintf-tests b/gnulib/modules/unistdio/u32-vasnprintf-tests new file mode 100644 index 0000000..555319b --- /dev/null +++ b/gnulib/modules/unistdio/u32-vasnprintf-tests @@ -0,0 +1,33 @@ +Files: +tests/unistdio/test-u32-vasnprintf1.c +tests/unistdio/test-u32-asnprintf1.h +tests/unistdio/test-u32-printf1.h +tests/unistdio/test-u32-vasnprintf2.sh +tests/unistdio/test-u32-vasnprintf2.c +tests/unistdio/test-u32-vasnprintf3.sh +tests/unistdio/test-u32-vasnprintf3.c +tests/macros.h +m4/locale-fr.m4 +m4/codeset.m4 + +Depends-on: +unistr/u32-cmp +unistr/u32-cpy +unistr/u32-strcmp +unistr/u32-strlen +setlocale + +configure.ac: +gt_LOCALE_FR +gt_LOCALE_FR_UTF8 + +Makefile.am: +TESTS += test-u32-vasnprintf1 unistdio/test-u32-vasnprintf2.sh unistdio/test-u32-vasnprintf3.sh +TESTS_ENVIRONMENT += LOCALE_FR='@LOCALE_FR@' LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' +check_PROGRAMS += test-u32-vasnprintf1 test-u32-vasnprintf2 test-u32-vasnprintf3 +test_u32_vasnprintf1_SOURCES = unistdio/test-u32-vasnprintf1.c +test_u32_vasnprintf1_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ +test_u32_vasnprintf2_SOURCES = unistdio/test-u32-vasnprintf2.c +test_u32_vasnprintf2_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ +test_u32_vasnprintf3_SOURCES = unistdio/test-u32-vasnprintf3.c +test_u32_vasnprintf3_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ diff --git a/gnulib/modules/unistdio/u32-vasprintf b/gnulib/modules/unistdio/u32-vasprintf new file mode 100644 index 0000000..a906ac9 --- /dev/null +++ b/gnulib/modules/unistdio/u32-vasprintf @@ -0,0 +1,29 @@ +Description: +Formatted output to an UTF-32 string, with automatic memory allocation. + +Files: +lib/unistdio/u32-vasprintf.c +lib/unistdio/u-vasprintf.h + +Depends-on: +unistdio/base +unistdio/u32-vasnprintf +errno + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistdio/u32-vasprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_U32_VASPRINTF +lib_SOURCES += unistdio/u32-vasprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u32-vasprintf-tests b/gnulib/modules/unistdio/u32-vasprintf-tests new file mode 100644 index 0000000..5b083ea --- /dev/null +++ b/gnulib/modules/unistdio/u32-vasprintf-tests @@ -0,0 +1,14 @@ +Files: +tests/unistdio/test-u32-vasprintf1.c +tests/unistdio/test-u32-printf1.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u32-vasprintf1 +check_PROGRAMS += test-u32-vasprintf1 +test_u32_vasprintf1_SOURCES = unistdio/test-u32-vasprintf1.c +test_u32_vasprintf1_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ diff --git a/gnulib/modules/unistdio/u32-vsnprintf b/gnulib/modules/unistdio/u32-vsnprintf new file mode 100644 index 0000000..26d2add --- /dev/null +++ b/gnulib/modules/unistdio/u32-vsnprintf @@ -0,0 +1,30 @@ +Description: +Formatted output to a fixed-length UTF-32 string. + +Files: +lib/unistdio/u32-vsnprintf.c +lib/unistdio/u-vsnprintf.h + +Depends-on: +unistdio/base +unistdio/u32-vasnprintf +unistr/u32-cpy +errno + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistdio/u32-vsnprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_U32_VSNPRINTF +lib_SOURCES += unistdio/u32-vsnprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u32-vsnprintf-tests b/gnulib/modules/unistdio/u32-vsnprintf-tests new file mode 100644 index 0000000..d1536b5 --- /dev/null +++ b/gnulib/modules/unistdio/u32-vsnprintf-tests @@ -0,0 +1,16 @@ +Files: +tests/unistdio/test-u32-vsnprintf1.c +tests/unistdio/test-u32-printf1.h +tests/macros.h + +Depends-on: +xalloc +progname + +configure.ac: + +Makefile.am: +TESTS += test-u32-vsnprintf1 +check_PROGRAMS += test-u32-vsnprintf1 +test_u32_vsnprintf1_SOURCES = unistdio/test-u32-vsnprintf1.c +test_u32_vsnprintf1_LDADD = $(LDADD) $(LIBUNISTRING) @LIBINTL@ @LIBICONV@ diff --git a/gnulib/modules/unistdio/u32-vsprintf b/gnulib/modules/unistdio/u32-vsprintf new file mode 100644 index 0000000..72c3d7b --- /dev/null +++ b/gnulib/modules/unistdio/u32-vsprintf @@ -0,0 +1,30 @@ +Description: +Formatted output to an UTF-32 string. + +Files: +lib/unistdio/u32-vsprintf.c +lib/unistdio/u-vsprintf.h + +Depends-on: +unistdio/base +unistdio/u32-vasnprintf +stdint +errno + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistdio/u32-vsprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_U32_VSPRINTF +lib_SOURCES += unistdio/u32-vsprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u32-vsprintf-tests b/gnulib/modules/unistdio/u32-vsprintf-tests new file mode 100644 index 0000000..37fdaab --- /dev/null +++ b/gnulib/modules/unistdio/u32-vsprintf-tests @@ -0,0 +1,16 @@ +Files: +tests/unistdio/test-u32-vsprintf1.c +tests/unistdio/test-u32-printf1.h +tests/macros.h + +Depends-on: +xalloc +progname + +configure.ac: + +Makefile.am: +TESTS += test-u32-vsprintf1 +check_PROGRAMS += test-u32-vsprintf1 +test_u32_vsprintf1_SOURCES = unistdio/test-u32-vsprintf1.c +test_u32_vsprintf1_LDADD = $(LDADD) $(LIBUNISTRING) @LIBINTL@ @LIBICONV@ diff --git a/gnulib/modules/unistdio/u8-asnprintf b/gnulib/modules/unistdio/u8-asnprintf new file mode 100644 index 0000000..b1ea0b0 --- /dev/null +++ b/gnulib/modules/unistdio/u8-asnprintf @@ -0,0 +1,29 @@ +Description: +Formatted output to an UTF-8 string, with automatic memory allocation and +bounded output size. + +Files: +lib/unistdio/u8-asnprintf.c +lib/unistdio/u-asnprintf.h + +Depends-on: +unistdio/base +unistdio/u8-vasnprintf + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistdio/u8-asnprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_U8_ASNPRINTF +lib_SOURCES += unistdio/u8-asnprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u8-asnprintf-tests b/gnulib/modules/unistdio/u8-asnprintf-tests new file mode 100644 index 0000000..d39689f --- /dev/null +++ b/gnulib/modules/unistdio/u8-asnprintf-tests @@ -0,0 +1,15 @@ +Files: +tests/unistdio/test-u8-asnprintf1.c +tests/unistdio/test-u8-asnprintf1.h +tests/unistdio/test-u8-printf1.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u8-asnprintf1 +check_PROGRAMS += test-u8-asnprintf1 +test_u8_asnprintf1_SOURCES = unistdio/test-u8-asnprintf1.c +test_u8_asnprintf1_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ diff --git a/gnulib/modules/unistdio/u8-asprintf b/gnulib/modules/unistdio/u8-asprintf new file mode 100644 index 0000000..d8eb309 --- /dev/null +++ b/gnulib/modules/unistdio/u8-asprintf @@ -0,0 +1,28 @@ +Description: +Formatted output to an UTF-8 string, with automatic memory allocation. + +Files: +lib/unistdio/u8-asprintf.c +lib/unistdio/u-asprintf.h + +Depends-on: +unistdio/base +unistdio/u8-vasprintf + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistdio/u8-asprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_U8_ASPRINTF +lib_SOURCES += unistdio/u8-asprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u8-printf-parse b/gnulib/modules/unistdio/u8-printf-parse new file mode 100644 index 0000000..6cbc2ed --- /dev/null +++ b/gnulib/modules/unistdio/u8-printf-parse @@ -0,0 +1,33 @@ +Description: +Parsing an UTF-8 format string. + +Files: +lib/unistdio/u-printf-parse.h +lib/unistdio/u8-printf-parse.c +lib/printf-parse.h +lib/printf-parse.c +m4/vasnprintf.m4 +m4/intmax_t.m4 +m4/stdint_h.m4 +m4/inttypes_h.m4 + +Depends-on: +unistdio/u-printf-args +stdint +xsize + +configure.ac: +gl_PREREQ_PRINTF_PARSE + +Makefile.am: +lib_SOURCES += unistdio/u8-printf-parse.c + +Include: +"unistdio/u-printf-parse.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u8-snprintf b/gnulib/modules/unistdio/u8-snprintf new file mode 100644 index 0000000..0512890 --- /dev/null +++ b/gnulib/modules/unistdio/u8-snprintf @@ -0,0 +1,28 @@ +Description: +Formatted output to a fixed-length UTF-8 string. + +Files: +lib/unistdio/u8-snprintf.c +lib/unistdio/u-snprintf.h + +Depends-on: +unistdio/base +unistdio/u8-vsnprintf + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistdio/u8-snprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_U8_SNPRINTF +lib_SOURCES += unistdio/u8-snprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u8-sprintf b/gnulib/modules/unistdio/u8-sprintf new file mode 100644 index 0000000..20d8d30 --- /dev/null +++ b/gnulib/modules/unistdio/u8-sprintf @@ -0,0 +1,28 @@ +Description: +Formatted output to an UTF-8 string. + +Files: +lib/unistdio/u8-sprintf.c +lib/unistdio/u-sprintf.h + +Depends-on: +unistdio/base +unistdio/u8-vsprintf + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistdio/u8-sprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_U8_SPRINTF +lib_SOURCES += unistdio/u8-sprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u8-u8-asnprintf b/gnulib/modules/unistdio/u8-u8-asnprintf new file mode 100644 index 0000000..5d9e674 --- /dev/null +++ b/gnulib/modules/unistdio/u8-u8-asnprintf @@ -0,0 +1,29 @@ +Description: +Formatted output to an UTF-8 string, with automatic memory allocation and +bounded output size. + +Files: +lib/unistdio/u8-u8-asnprintf.c +lib/unistdio/u-asnprintf.h + +Depends-on: +unistdio/base +unistdio/u8-u8-vasnprintf + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistdio/u8-u8-asnprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_ASNPRINTF +lib_SOURCES += unistdio/u8-u8-asnprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u8-u8-asprintf b/gnulib/modules/unistdio/u8-u8-asprintf new file mode 100644 index 0000000..e87d525 --- /dev/null +++ b/gnulib/modules/unistdio/u8-u8-asprintf @@ -0,0 +1,28 @@ +Description: +Formatted output to an UTF-8 string, with automatic memory allocation. + +Files: +lib/unistdio/u8-u8-asprintf.c +lib/unistdio/u-asprintf.h + +Depends-on: +unistdio/base +unistdio/u8-u8-vasprintf + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistdio/u8-u8-asprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_ASPRINTF +lib_SOURCES += unistdio/u8-u8-asprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u8-u8-snprintf b/gnulib/modules/unistdio/u8-u8-snprintf new file mode 100644 index 0000000..4e19f4b --- /dev/null +++ b/gnulib/modules/unistdio/u8-u8-snprintf @@ -0,0 +1,28 @@ +Description: +Formatted output to a fixed-length UTF-8 string. + +Files: +lib/unistdio/u8-u8-snprintf.c +lib/unistdio/u-snprintf.h + +Depends-on: +unistdio/base +unistdio/u8-u8-vsnprintf + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistdio/u8-u8-snprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_SNPRINTF +lib_SOURCES += unistdio/u8-u8-snprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u8-u8-sprintf b/gnulib/modules/unistdio/u8-u8-sprintf new file mode 100644 index 0000000..3b4e58e --- /dev/null +++ b/gnulib/modules/unistdio/u8-u8-sprintf @@ -0,0 +1,28 @@ +Description: +Formatted output to an UTF-8 string. + +Files: +lib/unistdio/u8-u8-sprintf.c +lib/unistdio/u-sprintf.h + +Depends-on: +unistdio/base +unistdio/u8-u8-vsprintf + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistdio/u8-u8-sprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_SPRINTF +lib_SOURCES += unistdio/u8-u8-sprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u8-u8-vasnprintf b/gnulib/modules/unistdio/u8-u8-vasnprintf new file mode 100644 index 0000000..52d3c44 --- /dev/null +++ b/gnulib/modules/unistdio/u8-u8-vasnprintf @@ -0,0 +1,68 @@ +Description: +Formatted output to UTF-8 strings. + +Files: +lib/unistdio/u8-u8-vasnprintf.c +lib/vasnprintf.c +m4/vasnprintf.m4 +m4/printf.m4 +m4/math_h.m4 +m4/wchar_t.m4 +m4/wint_t.m4 +m4/longlong.m4 +m4/intmax_t.m4 +m4/stdint_h.m4 +m4/inttypes_h.m4 +m4/exponentd.m4 + +Depends-on: +unistdio/base +unistdio/u8-printf-parse +unistdio/u-printf-args +uniconv/u8-conv-from-enc +unistr/u8-cpy +unistr/u8-set +unistr/u8-mbsnlen +unistr/u16-to-u8 +unistr/u32-to-u8 +unistr/u8-strlen +unistr/u8-strmblen +unistr/u16-strlen +unistr/u16-strmblen +unistr/u32-strlen +unistr/u32-strmblen +isnand-nolibm +isnanl-nolibm +frexpl-nolibm +printf-frexp +printf-frexpl +signbit +fpucw +nocrash +printf-safe +alloca-opt +localcharset +xsize +errno +memchr +multiarch +verify + +configure.ac: +gl_PREREQ_VASNPRINTF_WITH_EXTRAS +gl_LIBUNISTRING_MODULE([0.9], [unistdio/u8-u8-vasnprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_VASNPRINTF +lib_SOURCES += unistdio/u8-u8-vasnprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u8-u8-vasprintf b/gnulib/modules/unistdio/u8-u8-vasprintf new file mode 100644 index 0000000..35dbce9 --- /dev/null +++ b/gnulib/modules/unistdio/u8-u8-vasprintf @@ -0,0 +1,29 @@ +Description: +Formatted output to an UTF-8 string, with automatic memory allocation. + +Files: +lib/unistdio/u8-u8-vasprintf.c +lib/unistdio/u-vasprintf.h + +Depends-on: +unistdio/base +unistdio/u8-u8-vasnprintf +errno + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistdio/u8-u8-vasprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_VASPRINTF +lib_SOURCES += unistdio/u8-u8-vasprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u8-u8-vsnprintf b/gnulib/modules/unistdio/u8-u8-vsnprintf new file mode 100644 index 0000000..eef04cf --- /dev/null +++ b/gnulib/modules/unistdio/u8-u8-vsnprintf @@ -0,0 +1,30 @@ +Description: +Formatted output to a fixed-length UTF-8 string. + +Files: +lib/unistdio/u8-u8-vsnprintf.c +lib/unistdio/u-vsnprintf.h + +Depends-on: +unistdio/base +unistdio/u8-u8-vasnprintf +unistr/u8-cpy +errno + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistdio/u8-u8-vsnprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_VSNPRINTF +lib_SOURCES += unistdio/u8-u8-vsnprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u8-u8-vsprintf b/gnulib/modules/unistdio/u8-u8-vsprintf new file mode 100644 index 0000000..05c5278 --- /dev/null +++ b/gnulib/modules/unistdio/u8-u8-vsprintf @@ -0,0 +1,30 @@ +Description: +Formatted output to an UTF-8 string. + +Files: +lib/unistdio/u8-u8-vsprintf.c +lib/unistdio/u-vsprintf.h + +Depends-on: +unistdio/base +unistdio/u8-u8-vasnprintf +stdint +errno + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistdio/u8-u8-vsprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_U8_U8_VSPRINTF +lib_SOURCES += unistdio/u8-u8-vsprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u8-vasnprintf b/gnulib/modules/unistdio/u8-vasnprintf new file mode 100644 index 0000000..adb9616 --- /dev/null +++ b/gnulib/modules/unistdio/u8-vasnprintf @@ -0,0 +1,68 @@ +Description: +Formatted output to UTF-8 strings. + +Files: +lib/unistdio/u8-vasnprintf.c +lib/vasnprintf.c +m4/vasnprintf.m4 +m4/printf.m4 +m4/math_h.m4 +m4/wchar_t.m4 +m4/wint_t.m4 +m4/longlong.m4 +m4/intmax_t.m4 +m4/stdint_h.m4 +m4/inttypes_h.m4 +m4/exponentd.m4 + +Depends-on: +unistdio/base +unistdio/ulc-printf-parse +unistdio/u-printf-args +uniconv/u8-conv-from-enc +unistr/u8-cpy +unistr/u8-set +unistr/u8-mbsnlen +unistr/u16-to-u8 +unistr/u32-to-u8 +unistr/u8-strlen +unistr/u8-strmblen +unistr/u16-strlen +unistr/u16-strmblen +unistr/u32-strlen +unistr/u32-strmblen +isnand-nolibm +isnanl-nolibm +frexpl-nolibm +printf-frexp +printf-frexpl +signbit +fpucw +nocrash +printf-safe +alloca-opt +localcharset +xsize +errno +memchr +multiarch +verify + +configure.ac: +gl_PREREQ_VASNPRINTF_WITH_EXTRAS +gl_LIBUNISTRING_MODULE([0.9], [unistdio/u8-vasnprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_U8_VASNPRINTF +lib_SOURCES += unistdio/u8-vasnprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u8-vasnprintf-tests b/gnulib/modules/unistdio/u8-vasnprintf-tests new file mode 100644 index 0000000..8d5e295 --- /dev/null +++ b/gnulib/modules/unistdio/u8-vasnprintf-tests @@ -0,0 +1,33 @@ +Files: +tests/unistdio/test-u8-vasnprintf1.c +tests/unistdio/test-u8-asnprintf1.h +tests/unistdio/test-u8-printf1.h +tests/unistdio/test-u8-vasnprintf2.sh +tests/unistdio/test-u8-vasnprintf2.c +tests/unistdio/test-u8-vasnprintf3.sh +tests/unistdio/test-u8-vasnprintf3.c +tests/macros.h +m4/locale-fr.m4 +m4/codeset.m4 + +Depends-on: +unistr/u8-cmp +unistr/u8-cpy +unistr/u8-strcmp +unistr/u8-strlen +setlocale + +configure.ac: +gt_LOCALE_FR +gt_LOCALE_FR_UTF8 + +Makefile.am: +TESTS += test-u8-vasnprintf1 unistdio/test-u8-vasnprintf2.sh unistdio/test-u8-vasnprintf3.sh +TESTS_ENVIRONMENT += LOCALE_FR='@LOCALE_FR@' LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' +check_PROGRAMS += test-u8-vasnprintf1 test-u8-vasnprintf2 test-u8-vasnprintf3 +test_u8_vasnprintf1_SOURCES = unistdio/test-u8-vasnprintf1.c +test_u8_vasnprintf1_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ +test_u8_vasnprintf2_SOURCES = unistdio/test-u8-vasnprintf2.c +test_u8_vasnprintf2_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ +test_u8_vasnprintf3_SOURCES = unistdio/test-u8-vasnprintf3.c +test_u8_vasnprintf3_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ diff --git a/gnulib/modules/unistdio/u8-vasprintf b/gnulib/modules/unistdio/u8-vasprintf new file mode 100644 index 0000000..5fb1a55 --- /dev/null +++ b/gnulib/modules/unistdio/u8-vasprintf @@ -0,0 +1,29 @@ +Description: +Formatted output to an UTF-8 string, with automatic memory allocation. + +Files: +lib/unistdio/u8-vasprintf.c +lib/unistdio/u-vasprintf.h + +Depends-on: +unistdio/base +unistdio/u8-vasnprintf +errno + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistdio/u8-vasprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_U8_VASPRINTF +lib_SOURCES += unistdio/u8-vasprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u8-vasprintf-tests b/gnulib/modules/unistdio/u8-vasprintf-tests new file mode 100644 index 0000000..7853329 --- /dev/null +++ b/gnulib/modules/unistdio/u8-vasprintf-tests @@ -0,0 +1,14 @@ +Files: +tests/unistdio/test-u8-vasprintf1.c +tests/unistdio/test-u8-printf1.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u8-vasprintf1 +check_PROGRAMS += test-u8-vasprintf1 +test_u8_vasprintf1_SOURCES = unistdio/test-u8-vasprintf1.c +test_u8_vasprintf1_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ diff --git a/gnulib/modules/unistdio/u8-vsnprintf b/gnulib/modules/unistdio/u8-vsnprintf new file mode 100644 index 0000000..ba2db32 --- /dev/null +++ b/gnulib/modules/unistdio/u8-vsnprintf @@ -0,0 +1,30 @@ +Description: +Formatted output to a fixed-length UTF-8 string. + +Files: +lib/unistdio/u8-vsnprintf.c +lib/unistdio/u-vsnprintf.h + +Depends-on: +unistdio/base +unistdio/u8-vasnprintf +unistr/u8-cpy +errno + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistdio/u8-vsnprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_U8_VSNPRINTF +lib_SOURCES += unistdio/u8-vsnprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u8-vsnprintf-tests b/gnulib/modules/unistdio/u8-vsnprintf-tests new file mode 100644 index 0000000..98f8157 --- /dev/null +++ b/gnulib/modules/unistdio/u8-vsnprintf-tests @@ -0,0 +1,16 @@ +Files: +tests/unistdio/test-u8-vsnprintf1.c +tests/unistdio/test-u8-printf1.h +tests/macros.h + +Depends-on: +xalloc +progname + +configure.ac: + +Makefile.am: +TESTS += test-u8-vsnprintf1 +check_PROGRAMS += test-u8-vsnprintf1 +test_u8_vsnprintf1_SOURCES = unistdio/test-u8-vsnprintf1.c +test_u8_vsnprintf1_LDADD = $(LDADD) $(LIBUNISTRING) @LIBINTL@ @LIBICONV@ diff --git a/gnulib/modules/unistdio/u8-vsprintf b/gnulib/modules/unistdio/u8-vsprintf new file mode 100644 index 0000000..a05a6ed --- /dev/null +++ b/gnulib/modules/unistdio/u8-vsprintf @@ -0,0 +1,30 @@ +Description: +Formatted output to an UTF-8 string. + +Files: +lib/unistdio/u8-vsprintf.c +lib/unistdio/u-vsprintf.h + +Depends-on: +unistdio/base +unistdio/u8-vasnprintf +stdint +errno + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistdio/u8-vsprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_U8_VSPRINTF +lib_SOURCES += unistdio/u8-vsprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/u8-vsprintf-tests b/gnulib/modules/unistdio/u8-vsprintf-tests new file mode 100644 index 0000000..ca8a20d --- /dev/null +++ b/gnulib/modules/unistdio/u8-vsprintf-tests @@ -0,0 +1,16 @@ +Files: +tests/unistdio/test-u8-vsprintf1.c +tests/unistdio/test-u8-printf1.h +tests/macros.h + +Depends-on: +xalloc +progname + +configure.ac: + +Makefile.am: +TESTS += test-u8-vsprintf1 +check_PROGRAMS += test-u8-vsprintf1 +test_u8_vsprintf1_SOURCES = unistdio/test-u8-vsprintf1.c +test_u8_vsprintf1_LDADD = $(LDADD) $(LIBUNISTRING) @LIBINTL@ @LIBICONV@ diff --git a/gnulib/modules/unistdio/ulc-asnprintf b/gnulib/modules/unistdio/ulc-asnprintf new file mode 100644 index 0000000..4fd8ef6 --- /dev/null +++ b/gnulib/modules/unistdio/ulc-asnprintf @@ -0,0 +1,29 @@ +Description: +Formatted output to a string, with automatic memory allocation and bounded +output size. + +Files: +lib/unistdio/ulc-asnprintf.c +lib/unistdio/u-asnprintf.h + +Depends-on: +unistdio/base +unistdio/ulc-vasnprintf + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistdio/ulc-asnprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_ULC_ASNPRINTF +lib_SOURCES += unistdio/ulc-asnprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/ulc-asnprintf-tests b/gnulib/modules/unistdio/ulc-asnprintf-tests new file mode 100644 index 0000000..9614b8b --- /dev/null +++ b/gnulib/modules/unistdio/ulc-asnprintf-tests @@ -0,0 +1,15 @@ +Files: +tests/unistdio/test-ulc-asnprintf1.c +tests/unistdio/test-ulc-asnprintf1.h +tests/unistdio/test-ulc-printf1.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-ulc-asnprintf1 +check_PROGRAMS += test-ulc-asnprintf1 +test_ulc_asnprintf1_SOURCES = unistdio/test-ulc-asnprintf1.c +test_ulc_asnprintf1_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ diff --git a/gnulib/modules/unistdio/ulc-asprintf b/gnulib/modules/unistdio/ulc-asprintf new file mode 100644 index 0000000..9b61207 --- /dev/null +++ b/gnulib/modules/unistdio/ulc-asprintf @@ -0,0 +1,28 @@ +Description: +Formatted output to a string, with automatic memory allocation. + +Files: +lib/unistdio/ulc-asprintf.c +lib/unistdio/u-asprintf.h + +Depends-on: +unistdio/base +unistdio/ulc-vasprintf + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistdio/ulc-asprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_ULC_ASPRINTF +lib_SOURCES += unistdio/ulc-asprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/ulc-fprintf b/gnulib/modules/unistdio/ulc-fprintf new file mode 100644 index 0000000..1044a34 --- /dev/null +++ b/gnulib/modules/unistdio/ulc-fprintf @@ -0,0 +1,29 @@ +Description: +Print formatted output to a stream. + +Files: +lib/unistdio/ulc-fprintf.c + +Depends-on: +unistdio/base +unistdio/ulc-vasnprintf +fseterr +errno + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistdio/ulc-fprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_ULC_FPRINTF +lib_SOURCES += unistdio/ulc-fprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/ulc-printf-parse b/gnulib/modules/unistdio/ulc-printf-parse new file mode 100644 index 0000000..e1f7436 --- /dev/null +++ b/gnulib/modules/unistdio/ulc-printf-parse @@ -0,0 +1,34 @@ +Description: +Parsing an ASCII format string. + +Files: +lib/unistdio/u-printf-parse.h +lib/unistdio/ulc-printf-parse.c +lib/printf-parse.h +lib/printf-parse.c +m4/vasnprintf.m4 +m4/intmax_t.m4 +m4/stdint_h.m4 +m4/inttypes_h.m4 + +Depends-on: +unistdio/u-printf-args +stdint +xsize +c-ctype + +configure.ac: +gl_PREREQ_PRINTF_PARSE + +Makefile.am: +lib_SOURCES += unistdio/ulc-printf-parse.c + +Include: +"unistdio/u-printf-parse.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/ulc-snprintf b/gnulib/modules/unistdio/ulc-snprintf new file mode 100644 index 0000000..a0f7616 --- /dev/null +++ b/gnulib/modules/unistdio/ulc-snprintf @@ -0,0 +1,28 @@ +Description: +Formatted output to a fixed-length string. + +Files: +lib/unistdio/ulc-snprintf.c +lib/unistdio/u-snprintf.h + +Depends-on: +unistdio/base +unistdio/ulc-vsnprintf + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistdio/ulc-snprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_ULC_SNPRINTF +lib_SOURCES += unistdio/ulc-snprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/ulc-sprintf b/gnulib/modules/unistdio/ulc-sprintf new file mode 100644 index 0000000..892798e --- /dev/null +++ b/gnulib/modules/unistdio/ulc-sprintf @@ -0,0 +1,28 @@ +Description: +Formatted output to a string. + +Files: +lib/unistdio/ulc-sprintf.c +lib/unistdio/u-sprintf.h + +Depends-on: +unistdio/base +unistdio/ulc-vsprintf + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistdio/ulc-sprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_ULC_SPRINTF +lib_SOURCES += unistdio/ulc-sprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/ulc-vasnprintf b/gnulib/modules/unistdio/ulc-vasnprintf new file mode 100644 index 0000000..8caa7ec --- /dev/null +++ b/gnulib/modules/unistdio/ulc-vasnprintf @@ -0,0 +1,66 @@ +Description: +Formatted output to strings. + +Files: +lib/unistdio/ulc-vasnprintf.c +lib/vasnprintf.c +m4/vasnprintf.m4 +m4/printf.m4 +m4/math_h.m4 +m4/wchar_t.m4 +m4/wint_t.m4 +m4/longlong.m4 +m4/intmax_t.m4 +m4/stdint_h.m4 +m4/inttypes_h.m4 +m4/exponentd.m4 + +Depends-on: +unistdio/base +unistdio/ulc-printf-parse +unistdio/u-printf-args +uniconv/u8-conv-to-enc +uniconv/u16-conv-to-enc +uniconv/u32-conv-to-enc +unistr/u8-strlen +unistr/u8-strmblen +unistr/u16-strlen +unistr/u16-strmblen +unistr/u32-strlen +unistr/u32-strmblen +mbsnlen +isnand-nolibm +isnanl-nolibm +frexpl-nolibm +printf-frexp +printf-frexpl +signbit +fpucw +nocrash +printf-safe +alloca-opt +localcharset +xsize +errno +memchr +multiarch +verify + +configure.ac: +gl_PREREQ_VASNPRINTF_WITH_EXTRAS +gl_LIBUNISTRING_MODULE([0.9], [unistdio/ulc-vasnprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_ULC_VASNPRINTF +lib_SOURCES += unistdio/ulc-vasnprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/ulc-vasnprintf-tests b/gnulib/modules/unistdio/ulc-vasnprintf-tests new file mode 100644 index 0000000..20e2f71 --- /dev/null +++ b/gnulib/modules/unistdio/ulc-vasnprintf-tests @@ -0,0 +1,29 @@ +Files: +tests/unistdio/test-ulc-vasnprintf1.c +tests/unistdio/test-ulc-asnprintf1.h +tests/unistdio/test-ulc-printf1.h +tests/unistdio/test-ulc-vasnprintf2.sh +tests/unistdio/test-ulc-vasnprintf2.c +tests/unistdio/test-ulc-vasnprintf3.sh +tests/unistdio/test-ulc-vasnprintf3.c +tests/macros.h +m4/locale-fr.m4 +m4/codeset.m4 + +Depends-on: +setlocale + +configure.ac: +gt_LOCALE_FR +gt_LOCALE_FR_UTF8 + +Makefile.am: +TESTS += test-ulc-vasnprintf1 unistdio/test-ulc-vasnprintf2.sh unistdio/test-ulc-vasnprintf3.sh +TESTS_ENVIRONMENT += LOCALE_FR='@LOCALE_FR@' LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' +check_PROGRAMS += test-ulc-vasnprintf1 test-ulc-vasnprintf2 test-ulc-vasnprintf3 +test_ulc_vasnprintf1_SOURCES = unistdio/test-ulc-vasnprintf1.c +test_ulc_vasnprintf1_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ +test_ulc_vasnprintf2_SOURCES = unistdio/test-ulc-vasnprintf2.c +test_ulc_vasnprintf2_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ +test_ulc_vasnprintf3_SOURCES = unistdio/test-ulc-vasnprintf3.c +test_ulc_vasnprintf3_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ diff --git a/gnulib/modules/unistdio/ulc-vasprintf b/gnulib/modules/unistdio/ulc-vasprintf new file mode 100644 index 0000000..582ed80 --- /dev/null +++ b/gnulib/modules/unistdio/ulc-vasprintf @@ -0,0 +1,29 @@ +Description: +Formatted output to a string, with automatic memory allocation. + +Files: +lib/unistdio/ulc-vasprintf.c +lib/unistdio/u-vasprintf.h + +Depends-on: +unistdio/base +unistdio/ulc-vasnprintf +errno + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistdio/ulc-vasprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_ULC_VASPRINTF +lib_SOURCES += unistdio/ulc-vasprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/ulc-vasprintf-tests b/gnulib/modules/unistdio/ulc-vasprintf-tests new file mode 100644 index 0000000..27549d7 --- /dev/null +++ b/gnulib/modules/unistdio/ulc-vasprintf-tests @@ -0,0 +1,14 @@ +Files: +tests/unistdio/test-ulc-vasprintf1.c +tests/unistdio/test-ulc-printf1.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-ulc-vasprintf1 +check_PROGRAMS += test-ulc-vasprintf1 +test_ulc_vasprintf1_SOURCES = unistdio/test-ulc-vasprintf1.c +test_ulc_vasprintf1_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ diff --git a/gnulib/modules/unistdio/ulc-vfprintf b/gnulib/modules/unistdio/ulc-vfprintf new file mode 100644 index 0000000..5d9bf3f --- /dev/null +++ b/gnulib/modules/unistdio/ulc-vfprintf @@ -0,0 +1,29 @@ +Description: +Print formatted output to a stream. + +Files: +lib/unistdio/ulc-vfprintf.c + +Depends-on: +unistdio/base +unistdio/ulc-vasnprintf +fseterr +errno + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistdio/ulc-vfprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_ULC_VFPRINTF +lib_SOURCES += unistdio/ulc-vfprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/ulc-vsnprintf b/gnulib/modules/unistdio/ulc-vsnprintf new file mode 100644 index 0000000..d577809 --- /dev/null +++ b/gnulib/modules/unistdio/ulc-vsnprintf @@ -0,0 +1,29 @@ +Description: +Formatted output to a fixed-length string. + +Files: +lib/unistdio/ulc-vsnprintf.c +lib/unistdio/u-vsnprintf.h + +Depends-on: +unistdio/base +unistdio/ulc-vasnprintf +errno + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistdio/ulc-vsnprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_ULC_VSNPRINTF +lib_SOURCES += unistdio/ulc-vsnprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/ulc-vsnprintf-tests b/gnulib/modules/unistdio/ulc-vsnprintf-tests new file mode 100644 index 0000000..307b73f --- /dev/null +++ b/gnulib/modules/unistdio/ulc-vsnprintf-tests @@ -0,0 +1,16 @@ +Files: +tests/unistdio/test-ulc-vsnprintf1.c +tests/unistdio/test-ulc-printf1.h +tests/macros.h + +Depends-on: +xalloc +progname + +configure.ac: + +Makefile.am: +TESTS += test-ulc-vsnprintf1 +check_PROGRAMS += test-ulc-vsnprintf1 +test_ulc_vsnprintf1_SOURCES = unistdio/test-ulc-vsnprintf1.c +test_ulc_vsnprintf1_LDADD = $(LDADD) $(LIBUNISTRING) @LIBINTL@ @LIBICONV@ diff --git a/gnulib/modules/unistdio/ulc-vsprintf b/gnulib/modules/unistdio/ulc-vsprintf new file mode 100644 index 0000000..c0ecacb --- /dev/null +++ b/gnulib/modules/unistdio/ulc-vsprintf @@ -0,0 +1,30 @@ +Description: +Formatted output to a string. + +Files: +lib/unistdio/ulc-vsprintf.c +lib/unistdio/u-vsprintf.h + +Depends-on: +unistdio/base +unistdio/ulc-vasnprintf +stdint +errno + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistdio/ulc-vsprintf]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTDIO_ULC_VSPRINTF +lib_SOURCES += unistdio/ulc-vsprintf.c +endif + +Include: +"unistdio.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistdio/ulc-vsprintf-tests b/gnulib/modules/unistdio/ulc-vsprintf-tests new file mode 100644 index 0000000..7f96872 --- /dev/null +++ b/gnulib/modules/unistdio/ulc-vsprintf-tests @@ -0,0 +1,16 @@ +Files: +tests/unistdio/test-ulc-vsprintf1.c +tests/unistdio/test-ulc-printf1.h +tests/macros.h + +Depends-on: +xalloc +progname + +configure.ac: + +Makefile.am: +TESTS += test-ulc-vsprintf1 +check_PROGRAMS += test-ulc-vsprintf1 +test_ulc_vsprintf1_SOURCES = unistdio/test-ulc-vsprintf1.c +test_ulc_vsprintf1_LDADD = $(LDADD) $(LIBUNISTRING) @LIBINTL@ @LIBICONV@ diff --git a/gnulib/modules/unistr/base b/gnulib/modules/unistr/base new file mode 100644 index 0000000..ed8f8c7 --- /dev/null +++ b/gnulib/modules/unistr/base @@ -0,0 +1,36 @@ +Description: +Base layer for elementary Unicode string functions. + +Files: +lib/unistr.in.h +m4/libunistring-base.m4 + +Depends-on: +unitypes +snippet/unused-parameter +stdbool +inline + +configure.ac: +gl_LIBUNISTRING_LIBHEADER([0.9.2], [unistr.h]) + +Makefile.am: +BUILT_SOURCES += $(LIBUNISTRING_UNISTR_H) + +unistr.h: unistr.in.h + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + cat $(srcdir)/unistr.in.h; \ + } > $@-t && \ + mv -f $@-t $@ +MOSTLYCLEANFILES += unistr.h unistr.h-t + +Include: +"unistr.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u16-check b/gnulib/modules/unistr/u16-check new file mode 100644 index 0000000..ff016a3 --- /dev/null +++ b/gnulib/modules/unistr/u16-check @@ -0,0 +1,26 @@ +Description: +Check UTF-16 string. + +Files: +lib/unistr/u16-check.c + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u16-check]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U16_CHECK +lib_SOURCES += unistr/u16-check.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u16-check-tests b/gnulib/modules/unistr/u16-check-tests new file mode 100644 index 0000000..4500b8f --- /dev/null +++ b/gnulib/modules/unistr/u16-check-tests @@ -0,0 +1,13 @@ +Files: +tests/unistr/test-u16-check.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u16-check +check_PROGRAMS += test-u16-check +test_u16_check_SOURCES = unistr/test-u16-check.c +test_u16_check_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u16-chr b/gnulib/modules/unistr/u16-chr new file mode 100644 index 0000000..d8d83ea --- /dev/null +++ b/gnulib/modules/unistr/u16-chr @@ -0,0 +1,27 @@ +Description: +Search character in piece of UTF-16 string. + +Files: +lib/unistr/u16-chr.c + +Depends-on: +unistr/base +unistr/u16-uctomb + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u16-chr]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U16_CHR +lib_SOURCES += unistr/u16-chr.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u16-chr-tests b/gnulib/modules/unistr/u16-chr-tests new file mode 100644 index 0000000..cd274d6 --- /dev/null +++ b/gnulib/modules/unistr/u16-chr-tests @@ -0,0 +1,24 @@ +Files: +tests/unistr/test-u16-chr.c +tests/unistr/test-chr.h +tests/zerosize-ptr.h +tests/macros.h +m4/mmap-anon.m4 + +Depends-on: +extensions +getpagesize +unistr/u16-set +unistr/u32-set +unistr/u32-to-u16 + +configure.ac: +gl_FUNC_MMAP_ANON +AC_CHECK_HEADERS_ONCE([sys/mman.h]) +AC_CHECK_FUNCS_ONCE([mprotect]) + +Makefile.am: +TESTS += test-u16-chr +check_PROGRAMS += test-u16-chr +test_u16_chr_SOURCES = unistr/test-u16-chr.c +test_u16_chr_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u16-cmp b/gnulib/modules/unistr/u16-cmp new file mode 100644 index 0000000..565ccdd --- /dev/null +++ b/gnulib/modules/unistr/u16-cmp @@ -0,0 +1,26 @@ +Description: +Compare pieces of UTF-16 strings. + +Files: +lib/unistr/u16-cmp.c + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u16-cmp]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U16_CMP +lib_SOURCES += unistr/u16-cmp.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u16-cmp-tests b/gnulib/modules/unistr/u16-cmp-tests new file mode 100644 index 0000000..84f704f --- /dev/null +++ b/gnulib/modules/unistr/u16-cmp-tests @@ -0,0 +1,21 @@ +Files: +tests/unistr/test-u16-cmp.c +tests/unistr/test-cmp.h +tests/zerosize-ptr.h +tests/macros.h +m4/mmap-anon.m4 + +Depends-on: +extensions +getpagesize + +configure.ac: +gl_FUNC_MMAP_ANON +AC_CHECK_HEADERS_ONCE([sys/mman.h]) +AC_CHECK_FUNCS_ONCE([mprotect]) + +Makefile.am: +TESTS += test-u16-cmp +check_PROGRAMS += test-u16-cmp +test_u16_cmp_SOURCES = unistr/test-u16-cmp.c +test_u16_cmp_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u16-cmp2 b/gnulib/modules/unistr/u16-cmp2 new file mode 100644 index 0000000..16dba16 --- /dev/null +++ b/gnulib/modules/unistr/u16-cmp2 @@ -0,0 +1,29 @@ +Description: +Compare pieces of UTF-16 strings with possibly different lengths. + +Files: +lib/unistr/u16-cmp2.c +lib/unistr/u-cmp2.h + +Depends-on: +unistr/base +unistr/u16-cmp +minmax + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u16-cmp2]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U16_CMP2 +lib_SOURCES += unistr/u16-cmp2.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u16-cmp2-tests b/gnulib/modules/unistr/u16-cmp2-tests new file mode 100644 index 0000000..c9de64b --- /dev/null +++ b/gnulib/modules/unistr/u16-cmp2-tests @@ -0,0 +1,14 @@ +Files: +tests/unistr/test-u16-cmp2.c +tests/unistr/test-cmp2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u16-cmp2 +check_PROGRAMS += test-u16-cmp2 +test_u16_cmp2_SOURCES = unistr/test-u16-cmp2.c +test_u16_cmp2_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u16-cpy b/gnulib/modules/unistr/u16-cpy new file mode 100644 index 0000000..a673aab --- /dev/null +++ b/gnulib/modules/unistr/u16-cpy @@ -0,0 +1,27 @@ +Description: +Copy piece of UTF-16 string. + +Files: +lib/unistr/u16-cpy.c +lib/unistr/u-cpy.h + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u16-cpy]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U16_CPY +lib_SOURCES += unistr/u16-cpy.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u16-cpy-alloc b/gnulib/modules/unistr/u16-cpy-alloc new file mode 100644 index 0000000..e077da5 --- /dev/null +++ b/gnulib/modules/unistr/u16-cpy-alloc @@ -0,0 +1,28 @@ +Description: +Copy piece of UTF-16 string. + +Files: +lib/unistr/u16-cpy-alloc.c +lib/unistr/u-cpy-alloc.h + +Depends-on: +unistr/base +malloc-posix + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u16-cpy-alloc]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U16_CPY_ALLOC +lib_SOURCES += unistr/u16-cpy-alloc.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u16-cpy-alloc-tests b/gnulib/modules/unistr/u16-cpy-alloc-tests new file mode 100644 index 0000000..f740013 --- /dev/null +++ b/gnulib/modules/unistr/u16-cpy-alloc-tests @@ -0,0 +1,14 @@ +Files: +tests/unistr/test-u16-cpy-alloc.c +tests/unistr/test-cpy-alloc.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u16-cpy-alloc +check_PROGRAMS += test-u16-cpy-alloc +test_u16_cpy_alloc_SOURCES = unistr/test-u16-cpy-alloc.c +test_u16_cpy_alloc_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u16-cpy-tests b/gnulib/modules/unistr/u16-cpy-tests new file mode 100644 index 0000000..6558df5 --- /dev/null +++ b/gnulib/modules/unistr/u16-cpy-tests @@ -0,0 +1,14 @@ +Files: +tests/unistr/test-u16-cpy.c +tests/unistr/test-cpy.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u16-cpy +check_PROGRAMS += test-u16-cpy +test_u16_cpy_SOURCES = unistr/test-u16-cpy.c +test_u16_cpy_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u16-endswith b/gnulib/modules/unistr/u16-endswith new file mode 100644 index 0000000..46c5566 --- /dev/null +++ b/gnulib/modules/unistr/u16-endswith @@ -0,0 +1,29 @@ +Description: +Substring test for UTF-16 strings. + +Files: +lib/unistr/u16-endswith.c +lib/unistr/u-endswith.h + +Depends-on: +unistr/base +unistr/u16-strlen +unistr/u16-cmp + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u16-endswith]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U16_ENDSWITH +lib_SOURCES += unistr/u16-endswith.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u16-mblen b/gnulib/modules/unistr/u16-mblen new file mode 100644 index 0000000..43a5ddb --- /dev/null +++ b/gnulib/modules/unistr/u16-mblen @@ -0,0 +1,26 @@ +Description: +Look at first character in UTF-16 string. + +Files: +lib/unistr/u16-mblen.c + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u16-mblen]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U16_MBLEN +lib_SOURCES += unistr/u16-mblen.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u16-mblen-tests b/gnulib/modules/unistr/u16-mblen-tests new file mode 100644 index 0000000..a580317 --- /dev/null +++ b/gnulib/modules/unistr/u16-mblen-tests @@ -0,0 +1,13 @@ +Files: +tests/unistr/test-u16-mblen.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u16-mblen +check_PROGRAMS += test-u16-mblen +test_u16_mblen_SOURCES = unistr/test-u16-mblen.c +test_u16_mblen_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u16-mbsnlen b/gnulib/modules/unistr/u16-mbsnlen new file mode 100644 index 0000000..161c687 --- /dev/null +++ b/gnulib/modules/unistr/u16-mbsnlen @@ -0,0 +1,27 @@ +Description: +Count characters in UTF-16 string. + +Files: +lib/unistr/u16-mbsnlen.c + +Depends-on: +unistr/base +unistr/u16-mbtoucr + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u16-mbsnlen]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U16_MBSNLEN +lib_SOURCES += unistr/u16-mbsnlen.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u16-mbsnlen-tests b/gnulib/modules/unistr/u16-mbsnlen-tests new file mode 100644 index 0000000..84014b0 --- /dev/null +++ b/gnulib/modules/unistr/u16-mbsnlen-tests @@ -0,0 +1,13 @@ +Files: +tests/unistr/test-u16-mbsnlen.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u16-mbsnlen +check_PROGRAMS += test-u16-mbsnlen +test_u16_mbsnlen_SOURCES = unistr/test-u16-mbsnlen.c +test_u16_mbsnlen_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u16-mbtouc b/gnulib/modules/unistr/u16-mbtouc new file mode 100644 index 0000000..a6ba2b0 --- /dev/null +++ b/gnulib/modules/unistr/u16-mbtouc @@ -0,0 +1,28 @@ +Description: +Look at first character in UTF-16 string. + +Files: +lib/unistr/u16-mbtouc.c +lib/unistr/u16-mbtouc-aux.c + +Depends-on: +unistr/base + +configure.ac: +gl_MODULE_INDICATOR([unistr/u16-mbtouc]) +gl_LIBUNISTRING_MODULE([0.9], [unistr/u16-mbtouc]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U16_MBTOUC +lib_SOURCES += unistr/u16-mbtouc.c unistr/u16-mbtouc-aux.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u16-mbtouc-tests b/gnulib/modules/unistr/u16-mbtouc-tests new file mode 100644 index 0000000..eebfc6e --- /dev/null +++ b/gnulib/modules/unistr/u16-mbtouc-tests @@ -0,0 +1,14 @@ +Files: +tests/unistr/test-u16-mbtouc.c +tests/unistr/test-u16-mbtouc.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u16-mbtouc +check_PROGRAMS += test-u16-mbtouc +test_u16_mbtouc_SOURCES = unistr/test-u16-mbtouc.c +test_u16_mbtouc_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u16-mbtouc-unsafe b/gnulib/modules/unistr/u16-mbtouc-unsafe new file mode 100644 index 0000000..d6c4f46 --- /dev/null +++ b/gnulib/modules/unistr/u16-mbtouc-unsafe @@ -0,0 +1,28 @@ +Description: +Look at first character in UTF-16 string. + +Files: +lib/unistr/u16-mbtouc-unsafe.c +lib/unistr/u16-mbtouc-unsafe-aux.c + +Depends-on: +unistr/base + +configure.ac: +gl_MODULE_INDICATOR([unistr/u16-mbtouc-unsafe]) +gl_LIBUNISTRING_MODULE([0.9], [unistr/u16-mbtouc-unsafe]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U16_MBTOUC_UNSAFE +lib_SOURCES += unistr/u16-mbtouc-unsafe.c unistr/u16-mbtouc-unsafe-aux.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u16-mbtouc-unsafe-tests b/gnulib/modules/unistr/u16-mbtouc-unsafe-tests new file mode 100644 index 0000000..bd5d4b8 --- /dev/null +++ b/gnulib/modules/unistr/u16-mbtouc-unsafe-tests @@ -0,0 +1,14 @@ +Files: +tests/unistr/test-u16-mbtouc-unsafe.c +tests/unistr/test-u16-mbtouc.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u16-mbtouc-unsafe +check_PROGRAMS += test-u16-mbtouc-unsafe +test_u16_mbtouc_unsafe_SOURCES = unistr/test-u16-mbtouc-unsafe.c +test_u16_mbtouc_unsafe_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u16-mbtoucr b/gnulib/modules/unistr/u16-mbtoucr new file mode 100644 index 0000000..fd55889 --- /dev/null +++ b/gnulib/modules/unistr/u16-mbtoucr @@ -0,0 +1,27 @@ +Description: +Look at first character in UTF-16 string, returning an error code upon failure. + +Files: +lib/unistr/u16-mbtoucr.c + +Depends-on: +unistr/base + +configure.ac: +gl_MODULE_INDICATOR([unistr/u16-mbtoucr]) +gl_LIBUNISTRING_MODULE([0.9], [unistr/u16-mbtoucr]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U16_MBTOUCR +lib_SOURCES += unistr/u16-mbtoucr.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u16-mbtoucr-tests b/gnulib/modules/unistr/u16-mbtoucr-tests new file mode 100644 index 0000000..ab6871e --- /dev/null +++ b/gnulib/modules/unistr/u16-mbtoucr-tests @@ -0,0 +1,13 @@ +Files: +tests/unistr/test-u16-mbtoucr.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u16-mbtoucr +check_PROGRAMS += test-u16-mbtoucr +test_u16_mbtoucr_SOURCES = unistr/test-u16-mbtoucr.c +test_u16_mbtoucr_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u16-move b/gnulib/modules/unistr/u16-move new file mode 100644 index 0000000..86a03e3 --- /dev/null +++ b/gnulib/modules/unistr/u16-move @@ -0,0 +1,28 @@ +Description: +Copy piece of UTF-16 string. + +Files: +lib/unistr/u16-move.c +lib/unistr/u-move.h + +Depends-on: +unistr/base +memmove + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u16-move]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U16_MOVE +lib_SOURCES += unistr/u16-move.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u16-move-tests b/gnulib/modules/unistr/u16-move-tests new file mode 100644 index 0000000..98cfb3f --- /dev/null +++ b/gnulib/modules/unistr/u16-move-tests @@ -0,0 +1,14 @@ +Files: +tests/unistr/test-u16-move.c +tests/unistr/test-move.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u16-move +check_PROGRAMS += test-u16-move +test_u16_move_SOURCES = unistr/test-u16-move.c +test_u16_move_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u16-next b/gnulib/modules/unistr/u16-next new file mode 100644 index 0000000..becf428 --- /dev/null +++ b/gnulib/modules/unistr/u16-next @@ -0,0 +1,27 @@ +Description: +Iterate over next character in UTF-16 string. + +Files: +lib/unistr/u16-next.c + +Depends-on: +unistr/base +unistr/u16-strmbtouc + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u16-next]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U16_NEXT +lib_SOURCES += unistr/u16-next.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u16-next-tests b/gnulib/modules/unistr/u16-next-tests new file mode 100644 index 0000000..8c374af --- /dev/null +++ b/gnulib/modules/unistr/u16-next-tests @@ -0,0 +1,13 @@ +Files: +tests/unistr/test-u16-next.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u16-next +check_PROGRAMS += test-u16-next +test_u16_next_SOURCES = unistr/test-u16-next.c +test_u16_next_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u16-prev b/gnulib/modules/unistr/u16-prev new file mode 100644 index 0000000..af739f7 --- /dev/null +++ b/gnulib/modules/unistr/u16-prev @@ -0,0 +1,26 @@ +Description: +Iterate over previous character in UTF-16 string. + +Files: +lib/unistr/u16-prev.c + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u16-prev]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U16_PREV +lib_SOURCES += unistr/u16-prev.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u16-prev-tests b/gnulib/modules/unistr/u16-prev-tests new file mode 100644 index 0000000..878150a --- /dev/null +++ b/gnulib/modules/unistr/u16-prev-tests @@ -0,0 +1,13 @@ +Files: +tests/unistr/test-u16-prev.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u16-prev +check_PROGRAMS += test-u16-prev +test_u16_prev_SOURCES = unistr/test-u16-prev.c +test_u16_prev_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u16-set b/gnulib/modules/unistr/u16-set new file mode 100644 index 0000000..d205937 --- /dev/null +++ b/gnulib/modules/unistr/u16-set @@ -0,0 +1,27 @@ +Description: +Fill UTF-16 string. + +Files: +lib/unistr/u16-set.c +lib/unistr/u-set.h + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u16-set]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U16_SET +lib_SOURCES += unistr/u16-set.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u16-set-tests b/gnulib/modules/unistr/u16-set-tests new file mode 100644 index 0000000..a834c8e --- /dev/null +++ b/gnulib/modules/unistr/u16-set-tests @@ -0,0 +1,14 @@ +Files: +tests/unistr/test-u16-set.c +tests/unistr/test-set.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u16-set +check_PROGRAMS += test-u16-set +test_u16_set_SOURCES = unistr/test-u16-set.c +test_u16_set_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u16-startswith b/gnulib/modules/unistr/u16-startswith new file mode 100644 index 0000000..03eb357 --- /dev/null +++ b/gnulib/modules/unistr/u16-startswith @@ -0,0 +1,27 @@ +Description: +Substring test for UTF-16 strings. + +Files: +lib/unistr/u16-startswith.c +lib/unistr/u-startswith.h + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u16-startswith]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U16_STARTSWITH +lib_SOURCES += unistr/u16-startswith.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u16-stpcpy b/gnulib/modules/unistr/u16-stpcpy new file mode 100644 index 0000000..108cbd2 --- /dev/null +++ b/gnulib/modules/unistr/u16-stpcpy @@ -0,0 +1,27 @@ +Description: +Copy UTF-16 string. + +Files: +lib/unistr/u16-stpcpy.c +lib/unistr/u-stpcpy.h + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u16-stpcpy]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U16_STPCPY +lib_SOURCES += unistr/u16-stpcpy.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u16-stpcpy-tests b/gnulib/modules/unistr/u16-stpcpy-tests new file mode 100644 index 0000000..6be4549 --- /dev/null +++ b/gnulib/modules/unistr/u16-stpcpy-tests @@ -0,0 +1,14 @@ +Files: +tests/unistr/test-u16-stpcpy.c +tests/unistr/test-stpcpy.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u16-stpcpy +check_PROGRAMS += test-u16-stpcpy +test_u16_stpcpy_SOURCES = unistr/test-u16-stpcpy.c +test_u16_stpcpy_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u16-stpncpy b/gnulib/modules/unistr/u16-stpncpy new file mode 100644 index 0000000..96ae821 --- /dev/null +++ b/gnulib/modules/unistr/u16-stpncpy @@ -0,0 +1,27 @@ +Description: +Copy UTF-16 string. + +Files: +lib/unistr/u16-stpncpy.c +lib/unistr/u-stpncpy.h + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.3], [unistr/u16-stpncpy]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U16_STPNCPY +lib_SOURCES += unistr/u16-stpncpy.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u16-stpncpy-tests b/gnulib/modules/unistr/u16-stpncpy-tests new file mode 100644 index 0000000..6190d4e --- /dev/null +++ b/gnulib/modules/unistr/u16-stpncpy-tests @@ -0,0 +1,21 @@ +Files: +tests/unistr/test-u16-stpncpy.c +tests/unistr/test-stpncpy.h +tests/zerosize-ptr.h +tests/macros.h +m4/mmap-anon.m4 + +Depends-on: +extensions +getpagesize + +configure.ac: +gl_FUNC_MMAP_ANON +AC_CHECK_HEADERS_ONCE([sys/mman.h]) +AC_CHECK_FUNCS_ONCE([mprotect]) + +Makefile.am: +TESTS += test-u16-stpncpy +check_PROGRAMS += test-u16-stpncpy +test_u16_stpncpy_SOURCES = unistr/test-u16-stpncpy.c +test_u16_stpncpy_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u16-strcat b/gnulib/modules/unistr/u16-strcat new file mode 100644 index 0000000..f2f1364 --- /dev/null +++ b/gnulib/modules/unistr/u16-strcat @@ -0,0 +1,28 @@ +Description: +Concatenate UTF-16 strings. + +Files: +lib/unistr/u16-strcat.c +lib/unistr/u-strcat.h + +Depends-on: +unistr/base +unistr/u16-strlen + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u16-strcat]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U16_STRCAT +lib_SOURCES += unistr/u16-strcat.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u16-strcat-tests b/gnulib/modules/unistr/u16-strcat-tests new file mode 100644 index 0000000..fad15e5 --- /dev/null +++ b/gnulib/modules/unistr/u16-strcat-tests @@ -0,0 +1,14 @@ +Files: +tests/unistr/test-u16-strcat.c +tests/unistr/test-strcat.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u16-strcat +check_PROGRAMS += test-u16-strcat +test_u16_strcat_SOURCES = unistr/test-u16-strcat.c +test_u16_strcat_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u16-strchr b/gnulib/modules/unistr/u16-strchr new file mode 100644 index 0000000..d38fa74 --- /dev/null +++ b/gnulib/modules/unistr/u16-strchr @@ -0,0 +1,27 @@ +Description: +Search character in UTF-16 string. + +Files: +lib/unistr/u16-strchr.c + +Depends-on: +unistr/base +unistr/u16-uctomb + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u16-strchr]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U16_STRCHR +lib_SOURCES += unistr/u16-strchr.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u16-strchr-tests b/gnulib/modules/unistr/u16-strchr-tests new file mode 100644 index 0000000..9ed85cc --- /dev/null +++ b/gnulib/modules/unistr/u16-strchr-tests @@ -0,0 +1,24 @@ +Files: +tests/unistr/test-u16-strchr.c +tests/unistr/test-strchr.h +tests/zerosize-ptr.h +tests/macros.h +m4/mmap-anon.m4 + +Depends-on: +extensions +getpagesize +unistr/u16-set +unistr/u32-set +unistr/u32-to-u16 + +configure.ac: +gl_FUNC_MMAP_ANON +AC_CHECK_HEADERS_ONCE([sys/mman.h]) +AC_CHECK_FUNCS_ONCE([mprotect]) + +Makefile.am: +TESTS += test-u16-strchr +check_PROGRAMS += test-u16-strchr +test_u16_strchr_SOURCES = unistr/test-u16-strchr.c +test_u16_strchr_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u16-strcmp b/gnulib/modules/unistr/u16-strcmp new file mode 100644 index 0000000..25b9f87 --- /dev/null +++ b/gnulib/modules/unistr/u16-strcmp @@ -0,0 +1,26 @@ +Description: +Compare UTF-16 strings. + +Files: +lib/unistr/u16-strcmp.c + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u16-strcmp]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U16_STRCMP +lib_SOURCES += unistr/u16-strcmp.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u16-strcmp-tests b/gnulib/modules/unistr/u16-strcmp-tests new file mode 100644 index 0000000..86be69b --- /dev/null +++ b/gnulib/modules/unistr/u16-strcmp-tests @@ -0,0 +1,15 @@ +Files: +tests/unistr/test-u16-strcmp.c +tests/unistr/test-u16-strcmp.h +tests/unistr/test-strcmp.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u16-strcmp +check_PROGRAMS += test-u16-strcmp +test_u16_strcmp_SOURCES = unistr/test-u16-strcmp.c +test_u16_strcmp_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u16-strcoll b/gnulib/modules/unistr/u16-strcoll new file mode 100644 index 0000000..137c7fa --- /dev/null +++ b/gnulib/modules/unistr/u16-strcoll @@ -0,0 +1,30 @@ +Description: +Compare UTF-16 strings using the collation rules of the current locale. + +Files: +lib/unistr/u16-strcoll.c +lib/unistr/u-strcoll.h + +Depends-on: +unistr/base +unistr/u16-strcmp +uniconv/u16-strconv-to-enc +localcharset + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unistr/u16-strcoll]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U16_STRCOLL +lib_SOURCES += unistr/u16-strcoll.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u16-strcoll-tests b/gnulib/modules/unistr/u16-strcoll-tests new file mode 100644 index 0000000..28196cf --- /dev/null +++ b/gnulib/modules/unistr/u16-strcoll-tests @@ -0,0 +1,15 @@ +Files: +tests/unistr/test-u16-strcoll.c +tests/unistr/test-u16-strcmp.h +tests/unistr/test-strcmp.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u16-strcoll +check_PROGRAMS += test-u16-strcoll +test_u16_strcoll_SOURCES = unistr/test-u16-strcoll.c +test_u16_strcoll_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ diff --git a/gnulib/modules/unistr/u16-strcpy b/gnulib/modules/unistr/u16-strcpy new file mode 100644 index 0000000..94480d8 --- /dev/null +++ b/gnulib/modules/unistr/u16-strcpy @@ -0,0 +1,27 @@ +Description: +Copy UTF-16 string. + +Files: +lib/unistr/u16-strcpy.c +lib/unistr/u-strcpy.h + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u16-strcpy]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U16_STRCPY +lib_SOURCES += unistr/u16-strcpy.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u16-strcpy-tests b/gnulib/modules/unistr/u16-strcpy-tests new file mode 100644 index 0000000..c7ee8e7 --- /dev/null +++ b/gnulib/modules/unistr/u16-strcpy-tests @@ -0,0 +1,14 @@ +Files: +tests/unistr/test-u16-strcpy.c +tests/unistr/test-strcpy.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u16-strcpy +check_PROGRAMS += test-u16-strcpy +test_u16_strcpy_SOURCES = unistr/test-u16-strcpy.c +test_u16_strcpy_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u16-strcspn b/gnulib/modules/unistr/u16-strcspn new file mode 100644 index 0000000..763264c --- /dev/null +++ b/gnulib/modules/unistr/u16-strcspn @@ -0,0 +1,30 @@ +Description: +Search for some characters in UTF-16 string. + +Files: +lib/unistr/u16-strcspn.c +lib/unistr/u-strcspn.h + +Depends-on: +unistr/base +unistr/u16-strlen +unistr/u16-strmbtouc +unistr/u16-strchr + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u16-strcspn]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U16_STRCSPN +lib_SOURCES += unistr/u16-strcspn.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u16-strdup b/gnulib/modules/unistr/u16-strdup new file mode 100644 index 0000000..d6dbc8e --- /dev/null +++ b/gnulib/modules/unistr/u16-strdup @@ -0,0 +1,28 @@ +Description: +Copy UTF-16 string. + +Files: +lib/unistr/u16-strdup.c +lib/unistr/u-strdup.h + +Depends-on: +unistr/base +unistr/u16-strlen + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u16-strdup]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U16_STRDUP +lib_SOURCES += unistr/u16-strdup.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u16-strdup-tests b/gnulib/modules/unistr/u16-strdup-tests new file mode 100644 index 0000000..bea42cb --- /dev/null +++ b/gnulib/modules/unistr/u16-strdup-tests @@ -0,0 +1,14 @@ +Files: +tests/unistr/test-u16-strdup.c +tests/unistr/test-strdup.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u16-strdup +check_PROGRAMS += test-u16-strdup +test_u16_strdup_SOURCES = unistr/test-u16-strdup.c +test_u16_strdup_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u16-strlen b/gnulib/modules/unistr/u16-strlen new file mode 100644 index 0000000..cbe680d --- /dev/null +++ b/gnulib/modules/unistr/u16-strlen @@ -0,0 +1,27 @@ +Description: +Determine length of UTF-16 string. + +Files: +lib/unistr/u16-strlen.c +lib/unistr/u-strlen.h + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u16-strlen]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U16_STRLEN +lib_SOURCES += unistr/u16-strlen.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u16-strlen-tests b/gnulib/modules/unistr/u16-strlen-tests new file mode 100644 index 0000000..9758997 --- /dev/null +++ b/gnulib/modules/unistr/u16-strlen-tests @@ -0,0 +1,13 @@ +Files: +tests/unistr/test-u16-strlen.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u16-strlen +check_PROGRAMS += test-u16-strlen +test_u16_strlen_SOURCES = unistr/test-u16-strlen.c +test_u16_strlen_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u16-strmblen b/gnulib/modules/unistr/u16-strmblen new file mode 100644 index 0000000..dfba8a4 --- /dev/null +++ b/gnulib/modules/unistr/u16-strmblen @@ -0,0 +1,26 @@ +Description: +Look at first character in UTF-16 string. + +Files: +lib/unistr/u16-strmblen.c + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u16-strmblen]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U16_STRMBLEN +lib_SOURCES += unistr/u16-strmblen.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u16-strmblen-tests b/gnulib/modules/unistr/u16-strmblen-tests new file mode 100644 index 0000000..a6b9336 --- /dev/null +++ b/gnulib/modules/unistr/u16-strmblen-tests @@ -0,0 +1,13 @@ +Files: +tests/unistr/test-u16-strmblen.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u16-strmblen +check_PROGRAMS += test-u16-strmblen +test_u16_strmblen_SOURCES = unistr/test-u16-strmblen.c +test_u16_strmblen_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u16-strmbtouc b/gnulib/modules/unistr/u16-strmbtouc new file mode 100644 index 0000000..c7e2fa0 --- /dev/null +++ b/gnulib/modules/unistr/u16-strmbtouc @@ -0,0 +1,26 @@ +Description: +Look at first character in UTF-16 string. + +Files: +lib/unistr/u16-strmbtouc.c + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u16-strmbtouc]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U16_STRMBTOUC +lib_SOURCES += unistr/u16-strmbtouc.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u16-strmbtouc-tests b/gnulib/modules/unistr/u16-strmbtouc-tests new file mode 100644 index 0000000..70d7ff5 --- /dev/null +++ b/gnulib/modules/unistr/u16-strmbtouc-tests @@ -0,0 +1,13 @@ +Files: +tests/unistr/test-u16-strmbtouc.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u16-strmbtouc +check_PROGRAMS += test-u16-strmbtouc +test_u16_strmbtouc_SOURCES = unistr/test-u16-strmbtouc.c +test_u16_strmbtouc_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u16-strncat b/gnulib/modules/unistr/u16-strncat new file mode 100644 index 0000000..d76bfa7 --- /dev/null +++ b/gnulib/modules/unistr/u16-strncat @@ -0,0 +1,28 @@ +Description: +Concatenate UTF-16 strings. + +Files: +lib/unistr/u16-strncat.c +lib/unistr/u-strncat.h + +Depends-on: +unistr/base +unistr/u16-strlen + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u16-strncat]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U16_STRNCAT +lib_SOURCES += unistr/u16-strncat.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u16-strncat-tests b/gnulib/modules/unistr/u16-strncat-tests new file mode 100644 index 0000000..2bee4db --- /dev/null +++ b/gnulib/modules/unistr/u16-strncat-tests @@ -0,0 +1,21 @@ +Files: +tests/unistr/test-u16-strncat.c +tests/unistr/test-strncat.h +tests/zerosize-ptr.h +tests/macros.h +m4/mmap-anon.m4 + +Depends-on: +extensions +getpagesize + +configure.ac: +gl_FUNC_MMAP_ANON +AC_CHECK_HEADERS_ONCE([sys/mman.h]) +AC_CHECK_FUNCS_ONCE([mprotect]) + +Makefile.am: +TESTS += test-u16-strncat +check_PROGRAMS += test-u16-strncat +test_u16_strncat_SOURCES = unistr/test-u16-strncat.c +test_u16_strncat_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u16-strncmp b/gnulib/modules/unistr/u16-strncmp new file mode 100644 index 0000000..6a17776 --- /dev/null +++ b/gnulib/modules/unistr/u16-strncmp @@ -0,0 +1,26 @@ +Description: +Compare UTF-16 strings. + +Files: +lib/unistr/u16-strncmp.c + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u16-strncmp]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U16_STRNCMP +lib_SOURCES += unistr/u16-strncmp.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u16-strncmp-tests b/gnulib/modules/unistr/u16-strncmp-tests new file mode 100644 index 0000000..eb41936 --- /dev/null +++ b/gnulib/modules/unistr/u16-strncmp-tests @@ -0,0 +1,14 @@ +Files: +tests/unistr/test-u16-strncmp.c +tests/unistr/test-strncmp.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u16-strncmp +check_PROGRAMS += test-u16-strncmp +test_u16_strncmp_SOURCES = unistr/test-u16-strncmp.c +test_u16_strncmp_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u16-strncpy b/gnulib/modules/unistr/u16-strncpy new file mode 100644 index 0000000..cbcc636 --- /dev/null +++ b/gnulib/modules/unistr/u16-strncpy @@ -0,0 +1,27 @@ +Description: +Copy UTF-16 string. + +Files: +lib/unistr/u16-strncpy.c +lib/unistr/u-strncpy.h + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u16-strncpy]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U16_STRNCPY +lib_SOURCES += unistr/u16-strncpy.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u16-strncpy-tests b/gnulib/modules/unistr/u16-strncpy-tests new file mode 100644 index 0000000..9631223 --- /dev/null +++ b/gnulib/modules/unistr/u16-strncpy-tests @@ -0,0 +1,21 @@ +Files: +tests/unistr/test-u16-strncpy.c +tests/unistr/test-strncpy.h +tests/zerosize-ptr.h +tests/macros.h +m4/mmap-anon.m4 + +Depends-on: +extensions +getpagesize + +configure.ac: +gl_FUNC_MMAP_ANON +AC_CHECK_HEADERS_ONCE([sys/mman.h]) +AC_CHECK_FUNCS_ONCE([mprotect]) + +Makefile.am: +TESTS += test-u16-strncpy +check_PROGRAMS += test-u16-strncpy +test_u16_strncpy_SOURCES = unistr/test-u16-strncpy.c +test_u16_strncpy_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u16-strnlen b/gnulib/modules/unistr/u16-strnlen new file mode 100644 index 0000000..9ab2b94 --- /dev/null +++ b/gnulib/modules/unistr/u16-strnlen @@ -0,0 +1,27 @@ +Description: +Determine bounded length of UTF-16 string. + +Files: +lib/unistr/u16-strnlen.c +lib/unistr/u-strnlen.h + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u16-strnlen]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U16_STRNLEN +lib_SOURCES += unistr/u16-strnlen.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u16-strnlen-tests b/gnulib/modules/unistr/u16-strnlen-tests new file mode 100644 index 0000000..f1c8514 --- /dev/null +++ b/gnulib/modules/unistr/u16-strnlen-tests @@ -0,0 +1,21 @@ +Files: +tests/unistr/test-u16-strnlen.c +tests/unistr/test-strnlen.h +tests/zerosize-ptr.h +tests/macros.h +m4/mmap-anon.m4 + +Depends-on: +extensions +getpagesize + +configure.ac: +gl_FUNC_MMAP_ANON +AC_CHECK_HEADERS_ONCE([sys/mman.h]) +AC_CHECK_FUNCS_ONCE([mprotect]) + +Makefile.am: +TESTS += test-u16-strnlen +check_PROGRAMS += test-u16-strnlen +test_u16_strnlen_SOURCES = unistr/test-u16-strnlen.c +test_u16_strnlen_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u16-strpbrk b/gnulib/modules/unistr/u16-strpbrk new file mode 100644 index 0000000..077c643 --- /dev/null +++ b/gnulib/modules/unistr/u16-strpbrk @@ -0,0 +1,29 @@ +Description: +Search for some characters in UTF-16 string. + +Files: +lib/unistr/u16-strpbrk.c +lib/unistr/u-strpbrk.h + +Depends-on: +unistr/base +unistr/u16-strmbtouc +unistr/u16-strchr + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u16-strpbrk]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U16_STRPBRK +lib_SOURCES += unistr/u16-strpbrk.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u16-strrchr b/gnulib/modules/unistr/u16-strrchr new file mode 100644 index 0000000..ff6062f --- /dev/null +++ b/gnulib/modules/unistr/u16-strrchr @@ -0,0 +1,27 @@ +Description: +Search character in UTF-16 string. + +Files: +lib/unistr/u16-strrchr.c + +Depends-on: +unistr/base +unistr/u16-uctomb + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u16-strrchr]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U16_STRRCHR +lib_SOURCES += unistr/u16-strrchr.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u16-strspn b/gnulib/modules/unistr/u16-strspn new file mode 100644 index 0000000..4527eaf --- /dev/null +++ b/gnulib/modules/unistr/u16-strspn @@ -0,0 +1,31 @@ +Description: +Search for some characters in UTF-16 string. + +Files: +lib/unistr/u16-strspn.c +lib/unistr/u-strspn.h + +Depends-on: +unistr/base +unistr/u16-strlen +unistr/u16-strmbtouc +unistr/u16-cmp +unistr/u16-strchr + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u16-strspn]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U16_STRSPN +lib_SOURCES += unistr/u16-strspn.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u16-strstr b/gnulib/modules/unistr/u16-strstr new file mode 100644 index 0000000..af79f0b --- /dev/null +++ b/gnulib/modules/unistr/u16-strstr @@ -0,0 +1,34 @@ +Description: +Substring test for UTF-16 strings. + +Files: +lib/unistr/u16-strstr.c +lib/unistr/u-strstr.h +lib/str-kmp.h + +Depends-on: +unistr/base +unistr/u16-strchr +unistr/u16-strmbtouc +unistr/u16-strlen +unistr/u16-strnlen +stdbool +malloca + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unistr/u16-strstr]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U16_STRSTR +lib_SOURCES += unistr/u16-strstr.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u16-strstr-tests b/gnulib/modules/unistr/u16-strstr-tests new file mode 100644 index 0000000..5c3cfbf --- /dev/null +++ b/gnulib/modules/unistr/u16-strstr-tests @@ -0,0 +1,15 @@ +Files: +tests/unistr/test-u16-strstr.c +tests/unistr/test-u-strstr.h +tests/macros.h + +Depends-on: + +configure.ac: +AC_CHECK_DECLS_ONCE([alarm]) + +Makefile.am: +TESTS += test-u16-strstr +check_PROGRAMS += test-u16-strstr +test_u16_strstr_SOURCES = unistr/test-u16-strstr.c +test_u16_strstr_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u16-strtok b/gnulib/modules/unistr/u16-strtok new file mode 100644 index 0000000..ae90fc1 --- /dev/null +++ b/gnulib/modules/unistr/u16-strtok @@ -0,0 +1,29 @@ +Description: +Tokenize UTF-16 string. + +Files: +lib/unistr/u16-strtok.c +lib/unistr/u-strtok.h + +Depends-on: +unistr/base +unistr/u16-strspn +unistr/u16-strpbrk + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u16-strtok]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U16_STRTOK +lib_SOURCES += unistr/u16-strtok.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u16-to-u32 b/gnulib/modules/unistr/u16-to-u32 new file mode 100644 index 0000000..2827704 --- /dev/null +++ b/gnulib/modules/unistr/u16-to-u32 @@ -0,0 +1,27 @@ +Description: +Convert UTF-16 string to UTF-32 string. + +Files: +lib/unistr/u16-to-u32.c + +Depends-on: +unistr/base +unistr/u16-mbtoucr + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.3], [unistr/u16-to-u32]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U16_TO_U32 +lib_SOURCES += unistr/u16-to-u32.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u16-to-u32-tests b/gnulib/modules/unistr/u16-to-u32-tests new file mode 100644 index 0000000..3c50c8f --- /dev/null +++ b/gnulib/modules/unistr/u16-to-u32-tests @@ -0,0 +1,14 @@ +Files: +tests/unistr/test-u16-to-u32.c +tests/macros.h + +Depends-on: +unistr/u32-cmp + +configure.ac: + +Makefile.am: +TESTS += test-u16-to-u32 +check_PROGRAMS += test-u16-to-u32 +test_u16_to_u32_SOURCES = unistr/test-u16-to-u32.c +test_u16_to_u32_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u16-to-u8 b/gnulib/modules/unistr/u16-to-u8 new file mode 100644 index 0000000..6753ce3 --- /dev/null +++ b/gnulib/modules/unistr/u16-to-u8 @@ -0,0 +1,28 @@ +Description: +Convert UTF-16 string to UTF-8 string. + +Files: +lib/unistr/u16-to-u8.c + +Depends-on: +unistr/base +unistr/u16-mbtoucr +unistr/u8-uctomb + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.3], [unistr/u16-to-u8]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U16_TO_U8 +lib_SOURCES += unistr/u16-to-u8.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u16-to-u8-tests b/gnulib/modules/unistr/u16-to-u8-tests new file mode 100644 index 0000000..0a2ad69 --- /dev/null +++ b/gnulib/modules/unistr/u16-to-u8-tests @@ -0,0 +1,14 @@ +Files: +tests/unistr/test-u16-to-u8.c +tests/macros.h + +Depends-on: +unistr/u8-cmp + +configure.ac: + +Makefile.am: +TESTS += test-u16-to-u8 +check_PROGRAMS += test-u16-to-u8 +test_u16_to_u8_SOURCES = unistr/test-u16-to-u8.c +test_u16_to_u8_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u16-uctomb b/gnulib/modules/unistr/u16-uctomb new file mode 100644 index 0000000..8ffcd63 --- /dev/null +++ b/gnulib/modules/unistr/u16-uctomb @@ -0,0 +1,28 @@ +Description: +Store a character in UTF-16 string. + +Files: +lib/unistr/u16-uctomb.c +lib/unistr/u16-uctomb-aux.c + +Depends-on: +unistr/base + +configure.ac: +gl_MODULE_INDICATOR([unistr/u16-uctomb]) +gl_LIBUNISTRING_MODULE([0.9], [unistr/u16-uctomb]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U16_UCTOMB +lib_SOURCES += unistr/u16-uctomb.c unistr/u16-uctomb-aux.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u16-uctomb-tests b/gnulib/modules/unistr/u16-uctomb-tests new file mode 100644 index 0000000..1752798 --- /dev/null +++ b/gnulib/modules/unistr/u16-uctomb-tests @@ -0,0 +1,13 @@ +Files: +tests/unistr/test-u16-uctomb.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u16-uctomb +check_PROGRAMS += test-u16-uctomb +test_u16_uctomb_SOURCES = unistr/test-u16-uctomb.c +test_u16_uctomb_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u32-check b/gnulib/modules/unistr/u32-check new file mode 100644 index 0000000..67ba98b --- /dev/null +++ b/gnulib/modules/unistr/u32-check @@ -0,0 +1,26 @@ +Description: +Check UTF-32 string. + +Files: +lib/unistr/u32-check.c + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-check]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U32_CHECK +lib_SOURCES += unistr/u32-check.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u32-check-tests b/gnulib/modules/unistr/u32-check-tests new file mode 100644 index 0000000..30e44d9 --- /dev/null +++ b/gnulib/modules/unistr/u32-check-tests @@ -0,0 +1,13 @@ +Files: +tests/unistr/test-u32-check.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u32-check +check_PROGRAMS += test-u32-check +test_u32_check_SOURCES = unistr/test-u32-check.c +test_u32_check_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u32-chr b/gnulib/modules/unistr/u32-chr new file mode 100644 index 0000000..5e2133b --- /dev/null +++ b/gnulib/modules/unistr/u32-chr @@ -0,0 +1,26 @@ +Description: +Search character in piece of UTF-32 string. + +Files: +lib/unistr/u32-chr.c + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-chr]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U32_CHR +lib_SOURCES += unistr/u32-chr.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u32-chr-tests b/gnulib/modules/unistr/u32-chr-tests new file mode 100644 index 0000000..3dccee7 --- /dev/null +++ b/gnulib/modules/unistr/u32-chr-tests @@ -0,0 +1,22 @@ +Files: +tests/unistr/test-u32-chr.c +tests/unistr/test-chr.h +tests/zerosize-ptr.h +tests/macros.h +m4/mmap-anon.m4 + +Depends-on: +extensions +getpagesize +unistr/u32-set + +configure.ac: +gl_FUNC_MMAP_ANON +AC_CHECK_HEADERS_ONCE([sys/mman.h]) +AC_CHECK_FUNCS_ONCE([mprotect]) + +Makefile.am: +TESTS += test-u32-chr +check_PROGRAMS += test-u32-chr +test_u32_chr_SOURCES = unistr/test-u32-chr.c +test_u32_chr_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u32-cmp b/gnulib/modules/unistr/u32-cmp new file mode 100644 index 0000000..829ec31 --- /dev/null +++ b/gnulib/modules/unistr/u32-cmp @@ -0,0 +1,26 @@ +Description: +Compare pieces of UTF-32 strings. + +Files: +lib/unistr/u32-cmp.c + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-cmp]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U32_CMP +lib_SOURCES += unistr/u32-cmp.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u32-cmp-tests b/gnulib/modules/unistr/u32-cmp-tests new file mode 100644 index 0000000..6e14bc9 --- /dev/null +++ b/gnulib/modules/unistr/u32-cmp-tests @@ -0,0 +1,21 @@ +Files: +tests/unistr/test-u32-cmp.c +tests/unistr/test-cmp.h +tests/zerosize-ptr.h +tests/macros.h +m4/mmap-anon.m4 + +Depends-on: +extensions +getpagesize + +configure.ac: +gl_FUNC_MMAP_ANON +AC_CHECK_HEADERS_ONCE([sys/mman.h]) +AC_CHECK_FUNCS_ONCE([mprotect]) + +Makefile.am: +TESTS += test-u32-cmp +check_PROGRAMS += test-u32-cmp +test_u32_cmp_SOURCES = unistr/test-u32-cmp.c +test_u32_cmp_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u32-cmp2 b/gnulib/modules/unistr/u32-cmp2 new file mode 100644 index 0000000..4b44a97 --- /dev/null +++ b/gnulib/modules/unistr/u32-cmp2 @@ -0,0 +1,29 @@ +Description: +Compare pieces of UTF-32 strings with possibly different lengths. + +Files: +lib/unistr/u32-cmp2.c +lib/unistr/u-cmp2.h + +Depends-on: +unistr/base +unistr/u32-cmp +minmax + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-cmp2]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U32_CMP2 +lib_SOURCES += unistr/u32-cmp2.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u32-cmp2-tests b/gnulib/modules/unistr/u32-cmp2-tests new file mode 100644 index 0000000..03c388e --- /dev/null +++ b/gnulib/modules/unistr/u32-cmp2-tests @@ -0,0 +1,14 @@ +Files: +tests/unistr/test-u32-cmp2.c +tests/unistr/test-cmp2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u32-cmp2 +check_PROGRAMS += test-u32-cmp2 +test_u32_cmp2_SOURCES = unistr/test-u32-cmp2.c +test_u32_cmp2_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u32-cpy b/gnulib/modules/unistr/u32-cpy new file mode 100644 index 0000000..02e086e --- /dev/null +++ b/gnulib/modules/unistr/u32-cpy @@ -0,0 +1,27 @@ +Description: +Copy piece of UTF-32 string. + +Files: +lib/unistr/u32-cpy.c +lib/unistr/u-cpy.h + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-cpy]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U32_CPY +lib_SOURCES += unistr/u32-cpy.c +endif + +Include: +"unistr.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u32-cpy-alloc b/gnulib/modules/unistr/u32-cpy-alloc new file mode 100644 index 0000000..9ca49ac --- /dev/null +++ b/gnulib/modules/unistr/u32-cpy-alloc @@ -0,0 +1,28 @@ +Description: +Copy piece of UTF-32 string. + +Files: +lib/unistr/u32-cpy-alloc.c +lib/unistr/u-cpy-alloc.h + +Depends-on: +unistr/base +malloc-posix + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-cpy-alloc]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U32_CPY_ALLOC +lib_SOURCES += unistr/u32-cpy-alloc.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u32-cpy-alloc-tests b/gnulib/modules/unistr/u32-cpy-alloc-tests new file mode 100644 index 0000000..5e55ebf --- /dev/null +++ b/gnulib/modules/unistr/u32-cpy-alloc-tests @@ -0,0 +1,14 @@ +Files: +tests/unistr/test-u32-cpy-alloc.c +tests/unistr/test-cpy-alloc.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u32-cpy-alloc +check_PROGRAMS += test-u32-cpy-alloc +test_u32_cpy_alloc_SOURCES = unistr/test-u32-cpy-alloc.c +test_u32_cpy_alloc_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u32-cpy-tests b/gnulib/modules/unistr/u32-cpy-tests new file mode 100644 index 0000000..1da6797 --- /dev/null +++ b/gnulib/modules/unistr/u32-cpy-tests @@ -0,0 +1,14 @@ +Files: +tests/unistr/test-u32-cpy.c +tests/unistr/test-cpy.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u32-cpy +check_PROGRAMS += test-u32-cpy +test_u32_cpy_SOURCES = unistr/test-u32-cpy.c +test_u32_cpy_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u32-endswith b/gnulib/modules/unistr/u32-endswith new file mode 100644 index 0000000..14155d3 --- /dev/null +++ b/gnulib/modules/unistr/u32-endswith @@ -0,0 +1,29 @@ +Description: +Substring test for UTF-32 strings. + +Files: +lib/unistr/u32-endswith.c +lib/unistr/u-endswith.h + +Depends-on: +unistr/base +unistr/u32-strlen +unistr/u32-cmp + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-endswith]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U32_ENDSWITH +lib_SOURCES += unistr/u32-endswith.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u32-mblen b/gnulib/modules/unistr/u32-mblen new file mode 100644 index 0000000..7508b4d --- /dev/null +++ b/gnulib/modules/unistr/u32-mblen @@ -0,0 +1,26 @@ +Description: +Look at first character in UTF-32 string. + +Files: +lib/unistr/u32-mblen.c + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-mblen]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U32_MBLEN +lib_SOURCES += unistr/u32-mblen.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u32-mblen-tests b/gnulib/modules/unistr/u32-mblen-tests new file mode 100644 index 0000000..b520435 --- /dev/null +++ b/gnulib/modules/unistr/u32-mblen-tests @@ -0,0 +1,13 @@ +Files: +tests/unistr/test-u32-mblen.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u32-mblen +check_PROGRAMS += test-u32-mblen +test_u32_mblen_SOURCES = unistr/test-u32-mblen.c +test_u32_mblen_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u32-mbsnlen b/gnulib/modules/unistr/u32-mbsnlen new file mode 100644 index 0000000..5342306 --- /dev/null +++ b/gnulib/modules/unistr/u32-mbsnlen @@ -0,0 +1,26 @@ +Description: +Count characters in UTF-32 string. + +Files: +lib/unistr/u32-mbsnlen.c + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-mbsnlen]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U32_MBSNLEN +lib_SOURCES += unistr/u32-mbsnlen.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u32-mbsnlen-tests b/gnulib/modules/unistr/u32-mbsnlen-tests new file mode 100644 index 0000000..00e832f --- /dev/null +++ b/gnulib/modules/unistr/u32-mbsnlen-tests @@ -0,0 +1,13 @@ +Files: +tests/unistr/test-u32-mbsnlen.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u32-mbsnlen +check_PROGRAMS += test-u32-mbsnlen +test_u32_mbsnlen_SOURCES = unistr/test-u32-mbsnlen.c +test_u32_mbsnlen_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u32-mbtouc b/gnulib/modules/unistr/u32-mbtouc new file mode 100644 index 0000000..939a240 --- /dev/null +++ b/gnulib/modules/unistr/u32-mbtouc @@ -0,0 +1,27 @@ +Description: +Look at first character in UTF-32 string. + +Files: +lib/unistr/u32-mbtouc.c + +Depends-on: +unistr/base + +configure.ac: +gl_MODULE_INDICATOR([unistr/u32-mbtouc]) +gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-mbtouc]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U32_MBTOUC +lib_SOURCES += unistr/u32-mbtouc.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u32-mbtouc-tests b/gnulib/modules/unistr/u32-mbtouc-tests new file mode 100644 index 0000000..4307f6f --- /dev/null +++ b/gnulib/modules/unistr/u32-mbtouc-tests @@ -0,0 +1,14 @@ +Files: +tests/unistr/test-u32-mbtouc.c +tests/unistr/test-u32-mbtouc.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u32-mbtouc +check_PROGRAMS += test-u32-mbtouc +test_u32_mbtouc_SOURCES = unistr/test-u32-mbtouc.c +test_u32_mbtouc_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u32-mbtouc-unsafe b/gnulib/modules/unistr/u32-mbtouc-unsafe new file mode 100644 index 0000000..e684603 --- /dev/null +++ b/gnulib/modules/unistr/u32-mbtouc-unsafe @@ -0,0 +1,27 @@ +Description: +Look at first character in UTF-32 string. + +Files: +lib/unistr/u32-mbtouc-unsafe.c + +Depends-on: +unistr/base + +configure.ac: +gl_MODULE_INDICATOR([unistr/u32-mbtouc-unsafe]) +gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-mbtouc-unsafe]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U32_MBTOUC_UNSAFE +lib_SOURCES += unistr/u32-mbtouc-unsafe.c +endif + +Include: +"unistr.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u32-mbtouc-unsafe-tests b/gnulib/modules/unistr/u32-mbtouc-unsafe-tests new file mode 100644 index 0000000..c21e6c8 --- /dev/null +++ b/gnulib/modules/unistr/u32-mbtouc-unsafe-tests @@ -0,0 +1,14 @@ +Files: +tests/unistr/test-u32-mbtouc-unsafe.c +tests/unistr/test-u32-mbtouc.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u32-mbtouc-unsafe +check_PROGRAMS += test-u32-mbtouc-unsafe +test_u32_mbtouc_unsafe_SOURCES = unistr/test-u32-mbtouc-unsafe.c +test_u32_mbtouc_unsafe_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u32-mbtoucr b/gnulib/modules/unistr/u32-mbtoucr new file mode 100644 index 0000000..2b86019 --- /dev/null +++ b/gnulib/modules/unistr/u32-mbtoucr @@ -0,0 +1,27 @@ +Description: +Look at first character in UTF-32 string, returning an error code upon failure. + +Files: +lib/unistr/u32-mbtoucr.c + +Depends-on: +unistr/base + +configure.ac: +gl_MODULE_INDICATOR([unistr/u32-mbtoucr]) +gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-mbtoucr]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U32_MBTOUCR +lib_SOURCES += unistr/u32-mbtoucr.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u32-mbtoucr-tests b/gnulib/modules/unistr/u32-mbtoucr-tests new file mode 100644 index 0000000..8f4d68b --- /dev/null +++ b/gnulib/modules/unistr/u32-mbtoucr-tests @@ -0,0 +1,13 @@ +Files: +tests/unistr/test-u32-mbtoucr.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u32-mbtoucr +check_PROGRAMS += test-u32-mbtoucr +test_u32_mbtoucr_SOURCES = unistr/test-u32-mbtoucr.c +test_u32_mbtoucr_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u32-move b/gnulib/modules/unistr/u32-move new file mode 100644 index 0000000..f5a629c --- /dev/null +++ b/gnulib/modules/unistr/u32-move @@ -0,0 +1,28 @@ +Description: +Copy piece of UTF-32 string. + +Files: +lib/unistr/u32-move.c +lib/unistr/u-move.h + +Depends-on: +unistr/base +memmove + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-move]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U32_MOVE +lib_SOURCES += unistr/u32-move.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u32-move-tests b/gnulib/modules/unistr/u32-move-tests new file mode 100644 index 0000000..3628565 --- /dev/null +++ b/gnulib/modules/unistr/u32-move-tests @@ -0,0 +1,14 @@ +Files: +tests/unistr/test-u32-move.c +tests/unistr/test-move.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u32-move +check_PROGRAMS += test-u32-move +test_u32_move_SOURCES = unistr/test-u32-move.c +test_u32_move_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u32-next b/gnulib/modules/unistr/u32-next new file mode 100644 index 0000000..57d242e --- /dev/null +++ b/gnulib/modules/unistr/u32-next @@ -0,0 +1,27 @@ +Description: +Iterate over next character in UTF-32 string. + +Files: +lib/unistr/u32-next.c + +Depends-on: +unistr/base +unistr/u32-strmbtouc + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-next]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U32_NEXT +lib_SOURCES += unistr/u32-next.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u32-next-tests b/gnulib/modules/unistr/u32-next-tests new file mode 100644 index 0000000..7a630d4 --- /dev/null +++ b/gnulib/modules/unistr/u32-next-tests @@ -0,0 +1,13 @@ +Files: +tests/unistr/test-u32-next.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u32-next +check_PROGRAMS += test-u32-next +test_u32_next_SOURCES = unistr/test-u32-next.c +test_u32_next_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u32-prev b/gnulib/modules/unistr/u32-prev new file mode 100644 index 0000000..f9b266f --- /dev/null +++ b/gnulib/modules/unistr/u32-prev @@ -0,0 +1,26 @@ +Description: +Iterate over previous character in UTF-32 string. + +Files: +lib/unistr/u32-prev.c + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-prev]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U32_PREV +lib_SOURCES += unistr/u32-prev.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u32-prev-tests b/gnulib/modules/unistr/u32-prev-tests new file mode 100644 index 0000000..15ffcce --- /dev/null +++ b/gnulib/modules/unistr/u32-prev-tests @@ -0,0 +1,13 @@ +Files: +tests/unistr/test-u32-prev.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u32-prev +check_PROGRAMS += test-u32-prev +test_u32_prev_SOURCES = unistr/test-u32-prev.c +test_u32_prev_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u32-set b/gnulib/modules/unistr/u32-set new file mode 100644 index 0000000..4415660 --- /dev/null +++ b/gnulib/modules/unistr/u32-set @@ -0,0 +1,27 @@ +Description: +Fill UTF-32 string. + +Files: +lib/unistr/u32-set.c +lib/unistr/u-set.h + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-set]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U32_SET +lib_SOURCES += unistr/u32-set.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u32-set-tests b/gnulib/modules/unistr/u32-set-tests new file mode 100644 index 0000000..1960a62 --- /dev/null +++ b/gnulib/modules/unistr/u32-set-tests @@ -0,0 +1,14 @@ +Files: +tests/unistr/test-u32-set.c +tests/unistr/test-set.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u32-set +check_PROGRAMS += test-u32-set +test_u32_set_SOURCES = unistr/test-u32-set.c +test_u32_set_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u32-startswith b/gnulib/modules/unistr/u32-startswith new file mode 100644 index 0000000..867308f --- /dev/null +++ b/gnulib/modules/unistr/u32-startswith @@ -0,0 +1,27 @@ +Description: +Substring test for UTF-32 strings. + +Files: +lib/unistr/u32-startswith.c +lib/unistr/u-startswith.h + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-startswith]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U32_STARTSWITH +lib_SOURCES += unistr/u32-startswith.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u32-stpcpy b/gnulib/modules/unistr/u32-stpcpy new file mode 100644 index 0000000..b6b0f43 --- /dev/null +++ b/gnulib/modules/unistr/u32-stpcpy @@ -0,0 +1,27 @@ +Description: +Copy UTF-32 string. + +Files: +lib/unistr/u32-stpcpy.c +lib/unistr/u-stpcpy.h + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-stpcpy]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U32_STPCPY +lib_SOURCES += unistr/u32-stpcpy.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u32-stpcpy-tests b/gnulib/modules/unistr/u32-stpcpy-tests new file mode 100644 index 0000000..90a0e06 --- /dev/null +++ b/gnulib/modules/unistr/u32-stpcpy-tests @@ -0,0 +1,14 @@ +Files: +tests/unistr/test-u32-stpcpy.c +tests/unistr/test-stpcpy.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u32-stpcpy +check_PROGRAMS += test-u32-stpcpy +test_u32_stpcpy_SOURCES = unistr/test-u32-stpcpy.c +test_u32_stpcpy_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u32-stpncpy b/gnulib/modules/unistr/u32-stpncpy new file mode 100644 index 0000000..0399174 --- /dev/null +++ b/gnulib/modules/unistr/u32-stpncpy @@ -0,0 +1,27 @@ +Description: +Copy UTF-32 string. + +Files: +lib/unistr/u32-stpncpy.c +lib/unistr/u-stpncpy.h + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.3], [unistr/u32-stpncpy]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U32_STPNCPY +lib_SOURCES += unistr/u32-stpncpy.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u32-stpncpy-tests b/gnulib/modules/unistr/u32-stpncpy-tests new file mode 100644 index 0000000..bf56f53 --- /dev/null +++ b/gnulib/modules/unistr/u32-stpncpy-tests @@ -0,0 +1,21 @@ +Files: +tests/unistr/test-u32-stpncpy.c +tests/unistr/test-stpncpy.h +tests/zerosize-ptr.h +tests/macros.h +m4/mmap-anon.m4 + +Depends-on: +extensions +getpagesize + +configure.ac: +gl_FUNC_MMAP_ANON +AC_CHECK_HEADERS_ONCE([sys/mman.h]) +AC_CHECK_FUNCS_ONCE([mprotect]) + +Makefile.am: +TESTS += test-u32-stpncpy +check_PROGRAMS += test-u32-stpncpy +test_u32_stpncpy_SOURCES = unistr/test-u32-stpncpy.c +test_u32_stpncpy_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u32-strcat b/gnulib/modules/unistr/u32-strcat new file mode 100644 index 0000000..0156d04 --- /dev/null +++ b/gnulib/modules/unistr/u32-strcat @@ -0,0 +1,28 @@ +Description: +Concatenate UTF-32 strings. + +Files: +lib/unistr/u32-strcat.c +lib/unistr/u-strcat.h + +Depends-on: +unistr/base +unistr/u32-strlen + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-strcat]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U32_STRCAT +lib_SOURCES += unistr/u32-strcat.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u32-strcat-tests b/gnulib/modules/unistr/u32-strcat-tests new file mode 100644 index 0000000..883319e --- /dev/null +++ b/gnulib/modules/unistr/u32-strcat-tests @@ -0,0 +1,14 @@ +Files: +tests/unistr/test-u32-strcat.c +tests/unistr/test-strcat.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u32-strcat +check_PROGRAMS += test-u32-strcat +test_u32_strcat_SOURCES = unistr/test-u32-strcat.c +test_u32_strcat_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u32-strchr b/gnulib/modules/unistr/u32-strchr new file mode 100644 index 0000000..2b2a115 --- /dev/null +++ b/gnulib/modules/unistr/u32-strchr @@ -0,0 +1,26 @@ +Description: +Search character in UTF-32 string. + +Files: +lib/unistr/u32-strchr.c + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-strchr]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U32_STRCHR +lib_SOURCES += unistr/u32-strchr.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u32-strchr-tests b/gnulib/modules/unistr/u32-strchr-tests new file mode 100644 index 0000000..f8278e9 --- /dev/null +++ b/gnulib/modules/unistr/u32-strchr-tests @@ -0,0 +1,22 @@ +Files: +tests/unistr/test-u32-strchr.c +tests/unistr/test-strchr.h +tests/zerosize-ptr.h +tests/macros.h +m4/mmap-anon.m4 + +Depends-on: +extensions +getpagesize +unistr/u32-set + +configure.ac: +gl_FUNC_MMAP_ANON +AC_CHECK_HEADERS_ONCE([sys/mman.h]) +AC_CHECK_FUNCS_ONCE([mprotect]) + +Makefile.am: +TESTS += test-u32-strchr +check_PROGRAMS += test-u32-strchr +test_u32_strchr_SOURCES = unistr/test-u32-strchr.c +test_u32_strchr_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u32-strcmp b/gnulib/modules/unistr/u32-strcmp new file mode 100644 index 0000000..979b966 --- /dev/null +++ b/gnulib/modules/unistr/u32-strcmp @@ -0,0 +1,26 @@ +Description: +Compare UTF-32 strings. + +Files: +lib/unistr/u32-strcmp.c + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-strcmp]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U32_STRCMP +lib_SOURCES += unistr/u32-strcmp.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u32-strcmp-tests b/gnulib/modules/unistr/u32-strcmp-tests new file mode 100644 index 0000000..0967747 --- /dev/null +++ b/gnulib/modules/unistr/u32-strcmp-tests @@ -0,0 +1,15 @@ +Files: +tests/unistr/test-u32-strcmp.c +tests/unistr/test-u32-strcmp.h +tests/unistr/test-strcmp.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u32-strcmp +check_PROGRAMS += test-u32-strcmp +test_u32_strcmp_SOURCES = unistr/test-u32-strcmp.c +test_u32_strcmp_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u32-strcoll b/gnulib/modules/unistr/u32-strcoll new file mode 100644 index 0000000..c4dea59 --- /dev/null +++ b/gnulib/modules/unistr/u32-strcoll @@ -0,0 +1,30 @@ +Description: +Compare UTF-32 strings using the collation rules of the current locale. + +Files: +lib/unistr/u32-strcoll.c +lib/unistr/u-strcoll.h + +Depends-on: +unistr/base +unistr/u32-strcmp +uniconv/u32-strconv-to-enc +localcharset + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unistr/u32-strcoll]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U32_STRCOLL +lib_SOURCES += unistr/u32-strcoll.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u32-strcoll-tests b/gnulib/modules/unistr/u32-strcoll-tests new file mode 100644 index 0000000..f1852bc --- /dev/null +++ b/gnulib/modules/unistr/u32-strcoll-tests @@ -0,0 +1,15 @@ +Files: +tests/unistr/test-u32-strcoll.c +tests/unistr/test-u32-strcmp.h +tests/unistr/test-strcmp.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u32-strcoll +check_PROGRAMS += test-u32-strcoll +test_u32_strcoll_SOURCES = unistr/test-u32-strcoll.c +test_u32_strcoll_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ diff --git a/gnulib/modules/unistr/u32-strcpy b/gnulib/modules/unistr/u32-strcpy new file mode 100644 index 0000000..b55d9c6 --- /dev/null +++ b/gnulib/modules/unistr/u32-strcpy @@ -0,0 +1,27 @@ +Description: +Copy UTF-32 string. + +Files: +lib/unistr/u32-strcpy.c +lib/unistr/u-strcpy.h + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-strcpy]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U32_STRCPY +lib_SOURCES += unistr/u32-strcpy.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u32-strcpy-tests b/gnulib/modules/unistr/u32-strcpy-tests new file mode 100644 index 0000000..9d54d82 --- /dev/null +++ b/gnulib/modules/unistr/u32-strcpy-tests @@ -0,0 +1,14 @@ +Files: +tests/unistr/test-u32-strcpy.c +tests/unistr/test-strcpy.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u32-strcpy +check_PROGRAMS += test-u32-strcpy +test_u32_strcpy_SOURCES = unistr/test-u32-strcpy.c +test_u32_strcpy_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u32-strcspn b/gnulib/modules/unistr/u32-strcspn new file mode 100644 index 0000000..6d34f5e --- /dev/null +++ b/gnulib/modules/unistr/u32-strcspn @@ -0,0 +1,28 @@ +Description: +Search for some characters in UTF-32 string. + +Files: +lib/unistr/u32-strcspn.c + +Depends-on: +unistr/base +unistr/u32-strlen +unistr/u32-strchr + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-strcspn]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U32_STRCSPN +lib_SOURCES += unistr/u32-strcspn.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u32-strdup b/gnulib/modules/unistr/u32-strdup new file mode 100644 index 0000000..4e807f6 --- /dev/null +++ b/gnulib/modules/unistr/u32-strdup @@ -0,0 +1,28 @@ +Description: +Copy UTF-32 string. + +Files: +lib/unistr/u32-strdup.c +lib/unistr/u-strdup.h + +Depends-on: +unistr/base +unistr/u32-strlen + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-strdup]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U32_STRDUP +lib_SOURCES += unistr/u32-strdup.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u32-strdup-tests b/gnulib/modules/unistr/u32-strdup-tests new file mode 100644 index 0000000..b64fb5d --- /dev/null +++ b/gnulib/modules/unistr/u32-strdup-tests @@ -0,0 +1,14 @@ +Files: +tests/unistr/test-u32-strdup.c +tests/unistr/test-strdup.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u32-strdup +check_PROGRAMS += test-u32-strdup +test_u32_strdup_SOURCES = unistr/test-u32-strdup.c +test_u32_strdup_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u32-strlen b/gnulib/modules/unistr/u32-strlen new file mode 100644 index 0000000..35892d0 --- /dev/null +++ b/gnulib/modules/unistr/u32-strlen @@ -0,0 +1,27 @@ +Description: +Determine length of UTF-32 string. + +Files: +lib/unistr/u32-strlen.c +lib/unistr/u-strlen.h + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-strlen]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U32_STRLEN +lib_SOURCES += unistr/u32-strlen.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u32-strlen-tests b/gnulib/modules/unistr/u32-strlen-tests new file mode 100644 index 0000000..e141801 --- /dev/null +++ b/gnulib/modules/unistr/u32-strlen-tests @@ -0,0 +1,13 @@ +Files: +tests/unistr/test-u32-strlen.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u32-strlen +check_PROGRAMS += test-u32-strlen +test_u32_strlen_SOURCES = unistr/test-u32-strlen.c +test_u32_strlen_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u32-strmblen b/gnulib/modules/unistr/u32-strmblen new file mode 100644 index 0000000..c9e31fe --- /dev/null +++ b/gnulib/modules/unistr/u32-strmblen @@ -0,0 +1,26 @@ +Description: +Look at first character in UTF-32 string. + +Files: +lib/unistr/u32-strmblen.c + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-strmblen]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U32_STRMBLEN +lib_SOURCES += unistr/u32-strmblen.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u32-strmblen-tests b/gnulib/modules/unistr/u32-strmblen-tests new file mode 100644 index 0000000..ca4678c --- /dev/null +++ b/gnulib/modules/unistr/u32-strmblen-tests @@ -0,0 +1,13 @@ +Files: +tests/unistr/test-u32-strmblen.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u32-strmblen +check_PROGRAMS += test-u32-strmblen +test_u32_strmblen_SOURCES = unistr/test-u32-strmblen.c +test_u32_strmblen_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u32-strmbtouc b/gnulib/modules/unistr/u32-strmbtouc new file mode 100644 index 0000000..c16086a --- /dev/null +++ b/gnulib/modules/unistr/u32-strmbtouc @@ -0,0 +1,26 @@ +Description: +Look at first character in UTF-32 string. + +Files: +lib/unistr/u32-strmbtouc.c + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-strmbtouc]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U32_STRMBTOUC +lib_SOURCES += unistr/u32-strmbtouc.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u32-strmbtouc-tests b/gnulib/modules/unistr/u32-strmbtouc-tests new file mode 100644 index 0000000..72af9e9 --- /dev/null +++ b/gnulib/modules/unistr/u32-strmbtouc-tests @@ -0,0 +1,13 @@ +Files: +tests/unistr/test-u32-strmbtouc.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u32-strmbtouc +check_PROGRAMS += test-u32-strmbtouc +test_u32_strmbtouc_SOURCES = unistr/test-u32-strmbtouc.c +test_u32_strmbtouc_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u32-strncat b/gnulib/modules/unistr/u32-strncat new file mode 100644 index 0000000..9d746a5 --- /dev/null +++ b/gnulib/modules/unistr/u32-strncat @@ -0,0 +1,28 @@ +Description: +Concatenate UTF-32 strings. + +Files: +lib/unistr/u32-strncat.c +lib/unistr/u-strncat.h + +Depends-on: +unistr/base +unistr/u32-strlen + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-strncat]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U32_STRNCAT +lib_SOURCES += unistr/u32-strncat.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u32-strncat-tests b/gnulib/modules/unistr/u32-strncat-tests new file mode 100644 index 0000000..858107e --- /dev/null +++ b/gnulib/modules/unistr/u32-strncat-tests @@ -0,0 +1,21 @@ +Files: +tests/unistr/test-u32-strncat.c +tests/unistr/test-strncat.h +tests/zerosize-ptr.h +tests/macros.h +m4/mmap-anon.m4 + +Depends-on: +extensions +getpagesize + +configure.ac: +gl_FUNC_MMAP_ANON +AC_CHECK_HEADERS_ONCE([sys/mman.h]) +AC_CHECK_FUNCS_ONCE([mprotect]) + +Makefile.am: +TESTS += test-u32-strncat +check_PROGRAMS += test-u32-strncat +test_u32_strncat_SOURCES = unistr/test-u32-strncat.c +test_u32_strncat_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u32-strncmp b/gnulib/modules/unistr/u32-strncmp new file mode 100644 index 0000000..26ecc5a --- /dev/null +++ b/gnulib/modules/unistr/u32-strncmp @@ -0,0 +1,26 @@ +Description: +Compare UTF-32 strings. + +Files: +lib/unistr/u32-strncmp.c + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-strncmp]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U32_STRNCMP +lib_SOURCES += unistr/u32-strncmp.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u32-strncmp-tests b/gnulib/modules/unistr/u32-strncmp-tests new file mode 100644 index 0000000..37f6446 --- /dev/null +++ b/gnulib/modules/unistr/u32-strncmp-tests @@ -0,0 +1,14 @@ +Files: +tests/unistr/test-u32-strncmp.c +tests/unistr/test-strncmp.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u32-strncmp +check_PROGRAMS += test-u32-strncmp +test_u32_strncmp_SOURCES = unistr/test-u32-strncmp.c +test_u32_strncmp_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u32-strncpy b/gnulib/modules/unistr/u32-strncpy new file mode 100644 index 0000000..a5670cf --- /dev/null +++ b/gnulib/modules/unistr/u32-strncpy @@ -0,0 +1,27 @@ +Description: +Copy UTF-32 string. + +Files: +lib/unistr/u32-strncpy.c +lib/unistr/u-strncpy.h + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-strncpy]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U32_STRNCPY +lib_SOURCES += unistr/u32-strncpy.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u32-strncpy-tests b/gnulib/modules/unistr/u32-strncpy-tests new file mode 100644 index 0000000..37489ec --- /dev/null +++ b/gnulib/modules/unistr/u32-strncpy-tests @@ -0,0 +1,21 @@ +Files: +tests/unistr/test-u32-strncpy.c +tests/unistr/test-strncpy.h +tests/zerosize-ptr.h +tests/macros.h +m4/mmap-anon.m4 + +Depends-on: +extensions +getpagesize + +configure.ac: +gl_FUNC_MMAP_ANON +AC_CHECK_HEADERS_ONCE([sys/mman.h]) +AC_CHECK_FUNCS_ONCE([mprotect]) + +Makefile.am: +TESTS += test-u32-strncpy +check_PROGRAMS += test-u32-strncpy +test_u32_strncpy_SOURCES = unistr/test-u32-strncpy.c +test_u32_strncpy_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u32-strnlen b/gnulib/modules/unistr/u32-strnlen new file mode 100644 index 0000000..83bb7ce --- /dev/null +++ b/gnulib/modules/unistr/u32-strnlen @@ -0,0 +1,27 @@ +Description: +Determine bounded length of UTF-32 string. + +Files: +lib/unistr/u32-strnlen.c +lib/unistr/u-strnlen.h + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-strnlen]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U32_STRNLEN +lib_SOURCES += unistr/u32-strnlen.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u32-strnlen-tests b/gnulib/modules/unistr/u32-strnlen-tests new file mode 100644 index 0000000..9e54c13 --- /dev/null +++ b/gnulib/modules/unistr/u32-strnlen-tests @@ -0,0 +1,21 @@ +Files: +tests/unistr/test-u32-strnlen.c +tests/unistr/test-strnlen.h +tests/zerosize-ptr.h +tests/macros.h +m4/mmap-anon.m4 + +Depends-on: +extensions +getpagesize + +configure.ac: +gl_FUNC_MMAP_ANON +AC_CHECK_HEADERS_ONCE([sys/mman.h]) +AC_CHECK_FUNCS_ONCE([mprotect]) + +Makefile.am: +TESTS += test-u32-strnlen +check_PROGRAMS += test-u32-strnlen +test_u32_strnlen_SOURCES = unistr/test-u32-strnlen.c +test_u32_strnlen_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u32-strpbrk b/gnulib/modules/unistr/u32-strpbrk new file mode 100644 index 0000000..42b2189 --- /dev/null +++ b/gnulib/modules/unistr/u32-strpbrk @@ -0,0 +1,27 @@ +Description: +Search for some characters in UTF-32 string. + +Files: +lib/unistr/u32-strpbrk.c + +Depends-on: +unistr/base +unistr/u32-strchr + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-strpbrk]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U32_STRPBRK +lib_SOURCES += unistr/u32-strpbrk.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u32-strrchr b/gnulib/modules/unistr/u32-strrchr new file mode 100644 index 0000000..6bdac46 --- /dev/null +++ b/gnulib/modules/unistr/u32-strrchr @@ -0,0 +1,26 @@ +Description: +Search character in UTF-32 string. + +Files: +lib/unistr/u32-strrchr.c + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-strrchr]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U32_STRRCHR +lib_SOURCES += unistr/u32-strrchr.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u32-strspn b/gnulib/modules/unistr/u32-strspn new file mode 100644 index 0000000..f3a257a --- /dev/null +++ b/gnulib/modules/unistr/u32-strspn @@ -0,0 +1,27 @@ +Description: +Search for some characters in UTF-32 string. + +Files: +lib/unistr/u32-strspn.c + +Depends-on: +unistr/base +unistr/u32-strchr + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-strspn]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U32_STRSPN +lib_SOURCES += unistr/u32-strspn.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u32-strstr b/gnulib/modules/unistr/u32-strstr new file mode 100644 index 0000000..c8da9f7 --- /dev/null +++ b/gnulib/modules/unistr/u32-strstr @@ -0,0 +1,33 @@ +Description: +Substring test for UTF-32 strings. + +Files: +lib/unistr/u32-strstr.c +lib/unistr/u-strstr.h +lib/str-kmp.h + +Depends-on: +unistr/base +unistr/u32-strchr +unistr/u32-strlen +unistr/u32-strnlen +stdbool +malloca + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unistr/u32-strstr]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U32_STRSTR +lib_SOURCES += unistr/u32-strstr.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u32-strstr-tests b/gnulib/modules/unistr/u32-strstr-tests new file mode 100644 index 0000000..8ec3124 --- /dev/null +++ b/gnulib/modules/unistr/u32-strstr-tests @@ -0,0 +1,15 @@ +Files: +tests/unistr/test-u32-strstr.c +tests/unistr/test-u-strstr.h +tests/macros.h + +Depends-on: + +configure.ac: +AC_CHECK_DECLS_ONCE([alarm]) + +Makefile.am: +TESTS += test-u32-strstr +check_PROGRAMS += test-u32-strstr +test_u32_strstr_SOURCES = unistr/test-u32-strstr.c +test_u32_strstr_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u32-strtok b/gnulib/modules/unistr/u32-strtok new file mode 100644 index 0000000..b8863a2 --- /dev/null +++ b/gnulib/modules/unistr/u32-strtok @@ -0,0 +1,29 @@ +Description: +Tokenize UTF-32 string. + +Files: +lib/unistr/u32-strtok.c +lib/unistr/u-strtok.h + +Depends-on: +unistr/base +unistr/u32-strspn +unistr/u32-strpbrk + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-strtok]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U32_STRTOK +lib_SOURCES += unistr/u32-strtok.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u32-to-u16 b/gnulib/modules/unistr/u32-to-u16 new file mode 100644 index 0000000..69de542 --- /dev/null +++ b/gnulib/modules/unistr/u32-to-u16 @@ -0,0 +1,27 @@ +Description: +Convert UTF-32 string to UTF-16 string. + +Files: +lib/unistr/u32-to-u16.c + +Depends-on: +unistr/base +unistr/u16-uctomb + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-to-u16]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U32_TO_U16 +lib_SOURCES += unistr/u32-to-u16.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u32-to-u16-tests b/gnulib/modules/unistr/u32-to-u16-tests new file mode 100644 index 0000000..dd84823 --- /dev/null +++ b/gnulib/modules/unistr/u32-to-u16-tests @@ -0,0 +1,14 @@ +Files: +tests/unistr/test-u32-to-u16.c +tests/macros.h + +Depends-on: +unistr/u16-cmp + +configure.ac: + +Makefile.am: +TESTS += test-u32-to-u16 +check_PROGRAMS += test-u32-to-u16 +test_u32_to_u16_SOURCES = unistr/test-u32-to-u16.c +test_u32_to_u16_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u32-to-u8 b/gnulib/modules/unistr/u32-to-u8 new file mode 100644 index 0000000..7db1d33 --- /dev/null +++ b/gnulib/modules/unistr/u32-to-u8 @@ -0,0 +1,27 @@ +Description: +Convert UTF-32 string to UTF-8 string. + +Files: +lib/unistr/u32-to-u8.c + +Depends-on: +unistr/base +unistr/u8-uctomb + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-to-u8]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U32_TO_U8 +lib_SOURCES += unistr/u32-to-u8.c +endif + +Include: +"unistr.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u32-to-u8-tests b/gnulib/modules/unistr/u32-to-u8-tests new file mode 100644 index 0000000..8b29786 --- /dev/null +++ b/gnulib/modules/unistr/u32-to-u8-tests @@ -0,0 +1,14 @@ +Files: +tests/unistr/test-u32-to-u8.c +tests/macros.h + +Depends-on: +unistr/u8-cmp + +configure.ac: + +Makefile.am: +TESTS += test-u32-to-u8 +check_PROGRAMS += test-u32-to-u8 +test_u32_to_u8_SOURCES = unistr/test-u32-to-u8.c +test_u32_to_u8_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u32-uctomb b/gnulib/modules/unistr/u32-uctomb new file mode 100644 index 0000000..eafff11 --- /dev/null +++ b/gnulib/modules/unistr/u32-uctomb @@ -0,0 +1,27 @@ +Description: +Store a character in UTF-32 string. + +Files: +lib/unistr/u32-uctomb.c + +Depends-on: +unistr/base + +configure.ac: +gl_MODULE_INDICATOR([unistr/u32-uctomb]) +gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-uctomb]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U32_UCTOMB +lib_SOURCES += unistr/u32-uctomb.c +endif + +Include: +"unistr.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u32-uctomb-tests b/gnulib/modules/unistr/u32-uctomb-tests new file mode 100644 index 0000000..d103aaa --- /dev/null +++ b/gnulib/modules/unistr/u32-uctomb-tests @@ -0,0 +1,13 @@ +Files: +tests/unistr/test-u32-uctomb.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u32-uctomb +check_PROGRAMS += test-u32-uctomb +test_u32_uctomb_SOURCES = unistr/test-u32-uctomb.c +test_u32_uctomb_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u8-check b/gnulib/modules/unistr/u8-check new file mode 100644 index 0000000..a0b4598 --- /dev/null +++ b/gnulib/modules/unistr/u8-check @@ -0,0 +1,26 @@ +Description: +Check UTF-8 string. + +Files: +lib/unistr/u8-check.c + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-check]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U8_CHECK +lib_SOURCES += unistr/u8-check.c +endif + +Include: +"unistr.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u8-check-tests b/gnulib/modules/unistr/u8-check-tests new file mode 100644 index 0000000..4f8dbdb --- /dev/null +++ b/gnulib/modules/unistr/u8-check-tests @@ -0,0 +1,13 @@ +Files: +tests/unistr/test-u8-check.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u8-check +check_PROGRAMS += test-u8-check +test_u8_check_SOURCES = unistr/test-u8-check.c +test_u8_check_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u8-chr b/gnulib/modules/unistr/u8-chr new file mode 100644 index 0000000..a337b0f --- /dev/null +++ b/gnulib/modules/unistr/u8-chr @@ -0,0 +1,28 @@ +Description: +Search character in piece of UTF-8 string. + +Files: +lib/unistr/u8-chr.c + +Depends-on: +memchr +unistr/base +unistr/u8-uctomb + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-chr]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U8_CHR +lib_SOURCES += unistr/u8-chr.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u8-chr-tests b/gnulib/modules/unistr/u8-chr-tests new file mode 100644 index 0000000..9b015a3 --- /dev/null +++ b/gnulib/modules/unistr/u8-chr-tests @@ -0,0 +1,24 @@ +Files: +tests/unistr/test-u8-chr.c +tests/unistr/test-chr.h +tests/zerosize-ptr.h +tests/macros.h +m4/mmap-anon.m4 + +Depends-on: +extensions +getpagesize +unistr/u8-set +unistr/u32-set +unistr/u32-to-u8 + +configure.ac: +gl_FUNC_MMAP_ANON +AC_CHECK_HEADERS_ONCE([sys/mman.h]) +AC_CHECK_FUNCS_ONCE([mprotect]) + +Makefile.am: +TESTS += test-u8-chr +check_PROGRAMS += test-u8-chr +test_u8_chr_SOURCES = unistr/test-u8-chr.c +test_u8_chr_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u8-cmp b/gnulib/modules/unistr/u8-cmp new file mode 100644 index 0000000..0c5bc51 --- /dev/null +++ b/gnulib/modules/unistr/u8-cmp @@ -0,0 +1,27 @@ +Description: +Compare pieces of UTF-8 strings. + +Files: +lib/unistr/u8-cmp.c + +Depends-on: +unistr/base +memcmp + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-cmp]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U8_CMP +lib_SOURCES += unistr/u8-cmp.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u8-cmp-tests b/gnulib/modules/unistr/u8-cmp-tests new file mode 100644 index 0000000..32adb60 --- /dev/null +++ b/gnulib/modules/unistr/u8-cmp-tests @@ -0,0 +1,21 @@ +Files: +tests/unistr/test-u8-cmp.c +tests/unistr/test-cmp.h +tests/zerosize-ptr.h +tests/macros.h +m4/mmap-anon.m4 + +Depends-on: +extensions +getpagesize + +configure.ac: +gl_FUNC_MMAP_ANON +AC_CHECK_HEADERS_ONCE([sys/mman.h]) +AC_CHECK_FUNCS_ONCE([mprotect]) + +Makefile.am: +TESTS += test-u8-cmp +check_PROGRAMS += test-u8-cmp +test_u8_cmp_SOURCES = unistr/test-u8-cmp.c +test_u8_cmp_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u8-cmp2 b/gnulib/modules/unistr/u8-cmp2 new file mode 100644 index 0000000..f6d3147 --- /dev/null +++ b/gnulib/modules/unistr/u8-cmp2 @@ -0,0 +1,29 @@ +Description: +Compare pieces of UTF-8 strings with possibly different lengths. + +Files: +lib/unistr/u8-cmp2.c +lib/unistr/u-cmp2.h + +Depends-on: +unistr/base +unistr/u8-cmp +minmax + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-cmp2]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U8_CMP2 +lib_SOURCES += unistr/u8-cmp2.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u8-cmp2-tests b/gnulib/modules/unistr/u8-cmp2-tests new file mode 100644 index 0000000..25ed8c8 --- /dev/null +++ b/gnulib/modules/unistr/u8-cmp2-tests @@ -0,0 +1,14 @@ +Files: +tests/unistr/test-u8-cmp2.c +tests/unistr/test-cmp2.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u8-cmp2 +check_PROGRAMS += test-u8-cmp2 +test_u8_cmp2_SOURCES = unistr/test-u8-cmp2.c +test_u8_cmp2_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u8-cpy b/gnulib/modules/unistr/u8-cpy new file mode 100644 index 0000000..f4bdde8 --- /dev/null +++ b/gnulib/modules/unistr/u8-cpy @@ -0,0 +1,27 @@ +Description: +Copy piece of UTF-8 string. + +Files: +lib/unistr/u8-cpy.c +lib/unistr/u-cpy.h + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-cpy]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U8_CPY +lib_SOURCES += unistr/u8-cpy.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u8-cpy-alloc b/gnulib/modules/unistr/u8-cpy-alloc new file mode 100644 index 0000000..0943481 --- /dev/null +++ b/gnulib/modules/unistr/u8-cpy-alloc @@ -0,0 +1,28 @@ +Description: +Copy piece of UTF-8 string. + +Files: +lib/unistr/u8-cpy-alloc.c +lib/unistr/u-cpy-alloc.h + +Depends-on: +unistr/base +malloc-posix + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-cpy-alloc]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U8_CPY_ALLOC +lib_SOURCES += unistr/u8-cpy-alloc.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u8-cpy-alloc-tests b/gnulib/modules/unistr/u8-cpy-alloc-tests new file mode 100644 index 0000000..9a181fa --- /dev/null +++ b/gnulib/modules/unistr/u8-cpy-alloc-tests @@ -0,0 +1,14 @@ +Files: +tests/unistr/test-u8-cpy-alloc.c +tests/unistr/test-cpy-alloc.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u8-cpy-alloc +check_PROGRAMS += test-u8-cpy-alloc +test_u8_cpy_alloc_SOURCES = unistr/test-u8-cpy-alloc.c +test_u8_cpy_alloc_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u8-cpy-tests b/gnulib/modules/unistr/u8-cpy-tests new file mode 100644 index 0000000..0972426 --- /dev/null +++ b/gnulib/modules/unistr/u8-cpy-tests @@ -0,0 +1,14 @@ +Files: +tests/unistr/test-u8-cpy.c +tests/unistr/test-cpy.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u8-cpy +check_PROGRAMS += test-u8-cpy +test_u8_cpy_SOURCES = unistr/test-u8-cpy.c +test_u8_cpy_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u8-endswith b/gnulib/modules/unistr/u8-endswith new file mode 100644 index 0000000..be1fa9c --- /dev/null +++ b/gnulib/modules/unistr/u8-endswith @@ -0,0 +1,29 @@ +Description: +Substring test for UTF-8 strings. + +Files: +lib/unistr/u8-endswith.c +lib/unistr/u-endswith.h + +Depends-on: +unistr/base +unistr/u8-strlen +unistr/u8-cmp + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-endswith]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U8_ENDSWITH +lib_SOURCES += unistr/u8-endswith.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u8-mblen b/gnulib/modules/unistr/u8-mblen new file mode 100644 index 0000000..f1f279f --- /dev/null +++ b/gnulib/modules/unistr/u8-mblen @@ -0,0 +1,26 @@ +Description: +Look at first character in UTF-8 string. + +Files: +lib/unistr/u8-mblen.c + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-mblen]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U8_MBLEN +lib_SOURCES += unistr/u8-mblen.c +endif + +Include: +"unistr.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u8-mblen-tests b/gnulib/modules/unistr/u8-mblen-tests new file mode 100644 index 0000000..ea0b65e --- /dev/null +++ b/gnulib/modules/unistr/u8-mblen-tests @@ -0,0 +1,13 @@ +Files: +tests/unistr/test-u8-mblen.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u8-mblen +check_PROGRAMS += test-u8-mblen +test_u8_mblen_SOURCES = unistr/test-u8-mblen.c +test_u8_mblen_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u8-mbsnlen b/gnulib/modules/unistr/u8-mbsnlen new file mode 100644 index 0000000..c3a6937 --- /dev/null +++ b/gnulib/modules/unistr/u8-mbsnlen @@ -0,0 +1,28 @@ +Description: +Count characters in UTF-8 string. + +Files: +lib/unistr/u8-mbsnlen.c + +Depends-on: +unistr/base +unistr/u8-mbtoucr +unistr/u8-mbtouc + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unistr/u8-mbsnlen]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U8_MBSNLEN +lib_SOURCES += unistr/u8-mbsnlen.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u8-mbsnlen-tests b/gnulib/modules/unistr/u8-mbsnlen-tests new file mode 100644 index 0000000..b5b3925 --- /dev/null +++ b/gnulib/modules/unistr/u8-mbsnlen-tests @@ -0,0 +1,13 @@ +Files: +tests/unistr/test-u8-mbsnlen.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u8-mbsnlen +check_PROGRAMS += test-u8-mbsnlen +test_u8_mbsnlen_SOURCES = unistr/test-u8-mbsnlen.c +test_u8_mbsnlen_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u8-mbtouc b/gnulib/modules/unistr/u8-mbtouc new file mode 100644 index 0000000..27e5020 --- /dev/null +++ b/gnulib/modules/unistr/u8-mbtouc @@ -0,0 +1,28 @@ +Description: +Look at first character in UTF-8 string. + +Files: +lib/unistr/u8-mbtouc.c +lib/unistr/u8-mbtouc-aux.c + +Depends-on: +unistr/base + +configure.ac: +gl_MODULE_INDICATOR([unistr/u8-mbtouc]) +gl_LIBUNISTRING_MODULE([0.9.4], [unistr/u8-mbtouc]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUC +lib_SOURCES += unistr/u8-mbtouc.c unistr/u8-mbtouc-aux.c +endif + +Include: +"unistr.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u8-mbtouc-tests b/gnulib/modules/unistr/u8-mbtouc-tests new file mode 100644 index 0000000..255fbae --- /dev/null +++ b/gnulib/modules/unistr/u8-mbtouc-tests @@ -0,0 +1,14 @@ +Files: +tests/unistr/test-u8-mbtouc.c +tests/unistr/test-u8-mbtouc.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u8-mbtouc +check_PROGRAMS += test-u8-mbtouc +test_u8_mbtouc_SOURCES = unistr/test-u8-mbtouc.c +test_u8_mbtouc_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u8-mbtouc-unsafe b/gnulib/modules/unistr/u8-mbtouc-unsafe new file mode 100644 index 0000000..fcf3949 --- /dev/null +++ b/gnulib/modules/unistr/u8-mbtouc-unsafe @@ -0,0 +1,28 @@ +Description: +Look at first character in UTF-8 string. + +Files: +lib/unistr/u8-mbtouc-unsafe.c +lib/unistr/u8-mbtouc-unsafe-aux.c + +Depends-on: +unistr/base + +configure.ac: +gl_MODULE_INDICATOR([unistr/u8-mbtouc-unsafe]) +gl_LIBUNISTRING_MODULE([0.9.4], [unistr/u8-mbtouc-unsafe]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUC_UNSAFE +lib_SOURCES += unistr/u8-mbtouc-unsafe.c unistr/u8-mbtouc-unsafe-aux.c +endif + +Include: +"unistr.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u8-mbtouc-unsafe-tests b/gnulib/modules/unistr/u8-mbtouc-unsafe-tests new file mode 100644 index 0000000..84d0ac9 --- /dev/null +++ b/gnulib/modules/unistr/u8-mbtouc-unsafe-tests @@ -0,0 +1,14 @@ +Files: +tests/unistr/test-u8-mbtouc-unsafe.c +tests/unistr/test-u8-mbtouc.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u8-mbtouc-unsafe +check_PROGRAMS += test-u8-mbtouc-unsafe +test_u8_mbtouc_unsafe_SOURCES = unistr/test-u8-mbtouc-unsafe.c +test_u8_mbtouc_unsafe_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u8-mbtoucr b/gnulib/modules/unistr/u8-mbtoucr new file mode 100644 index 0000000..4718fa5 --- /dev/null +++ b/gnulib/modules/unistr/u8-mbtoucr @@ -0,0 +1,27 @@ +Description: +Look at first character in UTF-8 string, returning an error code upon failure. + +Files: +lib/unistr/u8-mbtoucr.c + +Depends-on: +unistr/base + +configure.ac: +gl_MODULE_INDICATOR([unistr/u8-mbtoucr]) +gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-mbtoucr]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR +lib_SOURCES += unistr/u8-mbtoucr.c +endif + +Include: +"unistr.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u8-mbtoucr-tests b/gnulib/modules/unistr/u8-mbtoucr-tests new file mode 100644 index 0000000..d576982 --- /dev/null +++ b/gnulib/modules/unistr/u8-mbtoucr-tests @@ -0,0 +1,13 @@ +Files: +tests/unistr/test-u8-mbtoucr.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u8-mbtoucr +check_PROGRAMS += test-u8-mbtoucr +test_u8_mbtoucr_SOURCES = unistr/test-u8-mbtoucr.c +test_u8_mbtoucr_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u8-move b/gnulib/modules/unistr/u8-move new file mode 100644 index 0000000..4351275 --- /dev/null +++ b/gnulib/modules/unistr/u8-move @@ -0,0 +1,28 @@ +Description: +Copy piece of UTF-8 string. + +Files: +lib/unistr/u8-move.c +lib/unistr/u-move.h + +Depends-on: +unistr/base +memmove + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-move]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U8_MOVE +lib_SOURCES += unistr/u8-move.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u8-move-tests b/gnulib/modules/unistr/u8-move-tests new file mode 100644 index 0000000..05fe811 --- /dev/null +++ b/gnulib/modules/unistr/u8-move-tests @@ -0,0 +1,14 @@ +Files: +tests/unistr/test-u8-move.c +tests/unistr/test-move.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u8-move +check_PROGRAMS += test-u8-move +test_u8_move_SOURCES = unistr/test-u8-move.c +test_u8_move_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u8-next b/gnulib/modules/unistr/u8-next new file mode 100644 index 0000000..6f9ab0e --- /dev/null +++ b/gnulib/modules/unistr/u8-next @@ -0,0 +1,27 @@ +Description: +Iterate over next character in UTF-8 string. + +Files: +lib/unistr/u8-next.c + +Depends-on: +unistr/base +unistr/u8-strmbtouc + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-next]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U8_NEXT +lib_SOURCES += unistr/u8-next.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u8-next-tests b/gnulib/modules/unistr/u8-next-tests new file mode 100644 index 0000000..23a3172 --- /dev/null +++ b/gnulib/modules/unistr/u8-next-tests @@ -0,0 +1,13 @@ +Files: +tests/unistr/test-u8-next.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u8-next +check_PROGRAMS += test-u8-next +test_u8_next_SOURCES = unistr/test-u8-next.c +test_u8_next_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u8-prev b/gnulib/modules/unistr/u8-prev new file mode 100644 index 0000000..eca53c1 --- /dev/null +++ b/gnulib/modules/unistr/u8-prev @@ -0,0 +1,26 @@ +Description: +Iterate over previous character in UTF-8 string. + +Files: +lib/unistr/u8-prev.c + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-prev]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U8_PREV +lib_SOURCES += unistr/u8-prev.c +endif + +Include: +"unistr.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u8-prev-tests b/gnulib/modules/unistr/u8-prev-tests new file mode 100644 index 0000000..7315499 --- /dev/null +++ b/gnulib/modules/unistr/u8-prev-tests @@ -0,0 +1,13 @@ +Files: +tests/unistr/test-u8-prev.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u8-prev +check_PROGRAMS += test-u8-prev +test_u8_prev_SOURCES = unistr/test-u8-prev.c +test_u8_prev_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u8-set b/gnulib/modules/unistr/u8-set new file mode 100644 index 0000000..e3193c1 --- /dev/null +++ b/gnulib/modules/unistr/u8-set @@ -0,0 +1,26 @@ +Description: +Fill UTF-8 string. + +Files: +lib/unistr/u8-set.c + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-set]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U8_SET +lib_SOURCES += unistr/u8-set.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u8-set-tests b/gnulib/modules/unistr/u8-set-tests new file mode 100644 index 0000000..139d72c --- /dev/null +++ b/gnulib/modules/unistr/u8-set-tests @@ -0,0 +1,14 @@ +Files: +tests/unistr/test-u8-set.c +tests/unistr/test-set.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u8-set +check_PROGRAMS += test-u8-set +test_u8_set_SOURCES = unistr/test-u8-set.c +test_u8_set_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u8-startswith b/gnulib/modules/unistr/u8-startswith new file mode 100644 index 0000000..142262a --- /dev/null +++ b/gnulib/modules/unistr/u8-startswith @@ -0,0 +1,27 @@ +Description: +Substring test for UTF-8 strings. + +Files: +lib/unistr/u8-startswith.c +lib/unistr/u-startswith.h + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-startswith]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U8_STARTSWITH +lib_SOURCES += unistr/u8-startswith.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u8-stpcpy b/gnulib/modules/unistr/u8-stpcpy new file mode 100644 index 0000000..ed9cd4f --- /dev/null +++ b/gnulib/modules/unistr/u8-stpcpy @@ -0,0 +1,28 @@ +Description: +Copy UTF-8 string. + +Files: +lib/unistr/u8-stpcpy.c +lib/unistr/u-stpcpy.h + +Depends-on: +unistr/base + +configure.ac: +AC_CHECK_FUNCS_ONCE([stpcpy]) +gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-stpcpy]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U8_STPCPY +lib_SOURCES += unistr/u8-stpcpy.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u8-stpcpy-tests b/gnulib/modules/unistr/u8-stpcpy-tests new file mode 100644 index 0000000..bc49dca --- /dev/null +++ b/gnulib/modules/unistr/u8-stpcpy-tests @@ -0,0 +1,14 @@ +Files: +tests/unistr/test-u8-stpcpy.c +tests/unistr/test-stpcpy.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u8-stpcpy +check_PROGRAMS += test-u8-stpcpy +test_u8_stpcpy_SOURCES = unistr/test-u8-stpcpy.c +test_u8_stpcpy_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u8-stpncpy b/gnulib/modules/unistr/u8-stpncpy new file mode 100644 index 0000000..1f525e5 --- /dev/null +++ b/gnulib/modules/unistr/u8-stpncpy @@ -0,0 +1,27 @@ +Description: +Copy UTF-8 string. + +Files: +lib/unistr/u8-stpncpy.c +lib/unistr/u-stpncpy.h + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.3], [unistr/u8-stpncpy]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U8_STPNCPY +lib_SOURCES += unistr/u8-stpncpy.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u8-stpncpy-tests b/gnulib/modules/unistr/u8-stpncpy-tests new file mode 100644 index 0000000..adef10f --- /dev/null +++ b/gnulib/modules/unistr/u8-stpncpy-tests @@ -0,0 +1,21 @@ +Files: +tests/unistr/test-u8-stpncpy.c +tests/unistr/test-stpncpy.h +tests/zerosize-ptr.h +tests/macros.h +m4/mmap-anon.m4 + +Depends-on: +extensions +getpagesize + +configure.ac: +gl_FUNC_MMAP_ANON +AC_CHECK_HEADERS_ONCE([sys/mman.h]) +AC_CHECK_FUNCS_ONCE([mprotect]) + +Makefile.am: +TESTS += test-u8-stpncpy +check_PROGRAMS += test-u8-stpncpy +test_u8_stpncpy_SOURCES = unistr/test-u8-stpncpy.c +test_u8_stpncpy_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u8-strcat b/gnulib/modules/unistr/u8-strcat new file mode 100644 index 0000000..39763bb --- /dev/null +++ b/gnulib/modules/unistr/u8-strcat @@ -0,0 +1,26 @@ +Description: +Concatenate UTF-8 strings. + +Files: +lib/unistr/u8-strcat.c + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-strcat]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U8_STRCAT +lib_SOURCES += unistr/u8-strcat.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u8-strcat-tests b/gnulib/modules/unistr/u8-strcat-tests new file mode 100644 index 0000000..aa109a3 --- /dev/null +++ b/gnulib/modules/unistr/u8-strcat-tests @@ -0,0 +1,14 @@ +Files: +tests/unistr/test-u8-strcat.c +tests/unistr/test-strcat.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u8-strcat +check_PROGRAMS += test-u8-strcat +test_u8_strcat_SOURCES = unistr/test-u8-strcat.c +test_u8_strcat_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u8-strchr b/gnulib/modules/unistr/u8-strchr new file mode 100644 index 0000000..da486e3 --- /dev/null +++ b/gnulib/modules/unistr/u8-strchr @@ -0,0 +1,27 @@ +Description: +Search character in UTF-8 string. + +Files: +lib/unistr/u8-strchr.c + +Depends-on: +unistr/base +unistr/u8-uctomb + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-strchr]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U8_STRCHR +lib_SOURCES += unistr/u8-strchr.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u8-strchr-tests b/gnulib/modules/unistr/u8-strchr-tests new file mode 100644 index 0000000..bbecc7f --- /dev/null +++ b/gnulib/modules/unistr/u8-strchr-tests @@ -0,0 +1,24 @@ +Files: +tests/unistr/test-u8-strchr.c +tests/unistr/test-strchr.h +tests/zerosize-ptr.h +tests/macros.h +m4/mmap-anon.m4 + +Depends-on: +extensions +getpagesize +unistr/u8-set +unistr/u32-set +unistr/u32-to-u8 + +configure.ac: +gl_FUNC_MMAP_ANON +AC_CHECK_HEADERS_ONCE([sys/mman.h]) +AC_CHECK_FUNCS_ONCE([mprotect]) + +Makefile.am: +TESTS += test-u8-strchr +check_PROGRAMS += test-u8-strchr +test_u8_strchr_SOURCES = unistr/test-u8-strchr.c +test_u8_strchr_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u8-strcmp b/gnulib/modules/unistr/u8-strcmp new file mode 100644 index 0000000..8d81f4d --- /dev/null +++ b/gnulib/modules/unistr/u8-strcmp @@ -0,0 +1,26 @@ +Description: +Compare UTF-8 strings. + +Files: +lib/unistr/u8-strcmp.c + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unistr/u8-strcmp]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U8_STRCMP +lib_SOURCES += unistr/u8-strcmp.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u8-strcmp-tests b/gnulib/modules/unistr/u8-strcmp-tests new file mode 100644 index 0000000..3cdb243 --- /dev/null +++ b/gnulib/modules/unistr/u8-strcmp-tests @@ -0,0 +1,15 @@ +Files: +tests/unistr/test-u8-strcmp.c +tests/unistr/test-u8-strcmp.h +tests/unistr/test-strcmp.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u8-strcmp +check_PROGRAMS += test-u8-strcmp +test_u8_strcmp_SOURCES = unistr/test-u8-strcmp.c +test_u8_strcmp_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u8-strcoll b/gnulib/modules/unistr/u8-strcoll new file mode 100644 index 0000000..9f4c354 --- /dev/null +++ b/gnulib/modules/unistr/u8-strcoll @@ -0,0 +1,30 @@ +Description: +Compare UTF-8 strings using the collation rules of the current locale. + +Files: +lib/unistr/u8-strcoll.c +lib/unistr/u-strcoll.h + +Depends-on: +unistr/base +unistr/u8-strcmp +uniconv/u8-strconv-to-enc +localcharset + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unistr/u8-strcoll]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U8_STRCOLL +lib_SOURCES += unistr/u8-strcoll.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u8-strcoll-tests b/gnulib/modules/unistr/u8-strcoll-tests new file mode 100644 index 0000000..b42618f --- /dev/null +++ b/gnulib/modules/unistr/u8-strcoll-tests @@ -0,0 +1,15 @@ +Files: +tests/unistr/test-u8-strcoll.c +tests/unistr/test-u8-strcmp.h +tests/unistr/test-strcmp.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u8-strcoll +check_PROGRAMS += test-u8-strcoll +test_u8_strcoll_SOURCES = unistr/test-u8-strcoll.c +test_u8_strcoll_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ diff --git a/gnulib/modules/unistr/u8-strcpy b/gnulib/modules/unistr/u8-strcpy new file mode 100644 index 0000000..2088200 --- /dev/null +++ b/gnulib/modules/unistr/u8-strcpy @@ -0,0 +1,26 @@ +Description: +Copy UTF-8 string. + +Files: +lib/unistr/u8-strcpy.c + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-strcpy]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U8_STRCPY +lib_SOURCES += unistr/u8-strcpy.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u8-strcpy-tests b/gnulib/modules/unistr/u8-strcpy-tests new file mode 100644 index 0000000..4032d19 --- /dev/null +++ b/gnulib/modules/unistr/u8-strcpy-tests @@ -0,0 +1,14 @@ +Files: +tests/unistr/test-u8-strcpy.c +tests/unistr/test-strcpy.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u8-strcpy +check_PROGRAMS += test-u8-strcpy +test_u8_strcpy_SOURCES = unistr/test-u8-strcpy.c +test_u8_strcpy_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u8-strcspn b/gnulib/modules/unistr/u8-strcspn new file mode 100644 index 0000000..d876be2 --- /dev/null +++ b/gnulib/modules/unistr/u8-strcspn @@ -0,0 +1,30 @@ +Description: +Search for some characters in UTF-8 string. + +Files: +lib/unistr/u8-strcspn.c +lib/unistr/u-strcspn.h + +Depends-on: +unistr/base +unistr/u8-strlen +unistr/u8-strmbtouc +unistr/u8-strchr + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-strcspn]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U8_STRCSPN +lib_SOURCES += unistr/u8-strcspn.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u8-strdup b/gnulib/modules/unistr/u8-strdup new file mode 100644 index 0000000..e634eff --- /dev/null +++ b/gnulib/modules/unistr/u8-strdup @@ -0,0 +1,29 @@ +Description: +Copy UTF-8 string. + +Files: +lib/unistr/u8-strdup.c +lib/unistr/u-strdup.h + +Depends-on: +unistr/base +unistr/u8-strlen + +configure.ac: +AC_CHECK_FUNCS_ONCE([strdup]) +gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-strdup]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U8_STRDUP +lib_SOURCES += unistr/u8-strdup.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u8-strdup-tests b/gnulib/modules/unistr/u8-strdup-tests new file mode 100644 index 0000000..5b40c4e --- /dev/null +++ b/gnulib/modules/unistr/u8-strdup-tests @@ -0,0 +1,14 @@ +Files: +tests/unistr/test-u8-strdup.c +tests/unistr/test-strdup.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u8-strdup +check_PROGRAMS += test-u8-strdup +test_u8_strdup_SOURCES = unistr/test-u8-strdup.c +test_u8_strdup_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u8-strlen b/gnulib/modules/unistr/u8-strlen new file mode 100644 index 0000000..e206ba1 --- /dev/null +++ b/gnulib/modules/unistr/u8-strlen @@ -0,0 +1,26 @@ +Description: +Determine length of UTF-8 string. + +Files: +lib/unistr/u8-strlen.c + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-strlen]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U8_STRLEN +lib_SOURCES += unistr/u8-strlen.c +endif + +Include: +"unistr.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u8-strlen-tests b/gnulib/modules/unistr/u8-strlen-tests new file mode 100644 index 0000000..ff94a82 --- /dev/null +++ b/gnulib/modules/unistr/u8-strlen-tests @@ -0,0 +1,13 @@ +Files: +tests/unistr/test-u8-strlen.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u8-strlen +check_PROGRAMS += test-u8-strlen +test_u8_strlen_SOURCES = unistr/test-u8-strlen.c +test_u8_strlen_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u8-strmblen b/gnulib/modules/unistr/u8-strmblen new file mode 100644 index 0000000..77c1a76 --- /dev/null +++ b/gnulib/modules/unistr/u8-strmblen @@ -0,0 +1,26 @@ +Description: +Look at first character in UTF-8 string. + +Files: +lib/unistr/u8-strmblen.c + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-strmblen]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U8_STRMBLEN +lib_SOURCES += unistr/u8-strmblen.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u8-strmblen-tests b/gnulib/modules/unistr/u8-strmblen-tests new file mode 100644 index 0000000..84f31c4 --- /dev/null +++ b/gnulib/modules/unistr/u8-strmblen-tests @@ -0,0 +1,13 @@ +Files: +tests/unistr/test-u8-strmblen.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u8-strmblen +check_PROGRAMS += test-u8-strmblen +test_u8_strmblen_SOURCES = unistr/test-u8-strmblen.c +test_u8_strmblen_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u8-strmbtouc b/gnulib/modules/unistr/u8-strmbtouc new file mode 100644 index 0000000..e76dc73 --- /dev/null +++ b/gnulib/modules/unistr/u8-strmbtouc @@ -0,0 +1,26 @@ +Description: +Look at first character in UTF-8 string. + +Files: +lib/unistr/u8-strmbtouc.c + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-strmbtouc]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U8_STRMBTOUC +lib_SOURCES += unistr/u8-strmbtouc.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u8-strmbtouc-tests b/gnulib/modules/unistr/u8-strmbtouc-tests new file mode 100644 index 0000000..40f8b62 --- /dev/null +++ b/gnulib/modules/unistr/u8-strmbtouc-tests @@ -0,0 +1,13 @@ +Files: +tests/unistr/test-u8-strmbtouc.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u8-strmbtouc +check_PROGRAMS += test-u8-strmbtouc +test_u8_strmbtouc_SOURCES = unistr/test-u8-strmbtouc.c +test_u8_strmbtouc_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u8-strncat b/gnulib/modules/unistr/u8-strncat new file mode 100644 index 0000000..a1e8398 --- /dev/null +++ b/gnulib/modules/unistr/u8-strncat @@ -0,0 +1,27 @@ +Description: +Concatenate UTF-8 strings. + +Files: +lib/unistr/u8-strncat.c + +Depends-on: +unistr/base +strncat + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-strncat]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U8_STRNCAT +lib_SOURCES += unistr/u8-strncat.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u8-strncat-tests b/gnulib/modules/unistr/u8-strncat-tests new file mode 100644 index 0000000..6c63436 --- /dev/null +++ b/gnulib/modules/unistr/u8-strncat-tests @@ -0,0 +1,21 @@ +Files: +tests/unistr/test-u8-strncat.c +tests/unistr/test-strncat.h +tests/zerosize-ptr.h +tests/macros.h +m4/mmap-anon.m4 + +Depends-on: +extensions +getpagesize + +configure.ac: +gl_FUNC_MMAP_ANON +AC_CHECK_HEADERS_ONCE([sys/mman.h]) +AC_CHECK_FUNCS_ONCE([mprotect]) + +Makefile.am: +TESTS += test-u8-strncat +check_PROGRAMS += test-u8-strncat +test_u8_strncat_SOURCES = unistr/test-u8-strncat.c +test_u8_strncat_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u8-strncmp b/gnulib/modules/unistr/u8-strncmp new file mode 100644 index 0000000..04d696a --- /dev/null +++ b/gnulib/modules/unistr/u8-strncmp @@ -0,0 +1,26 @@ +Description: +Compare UTF-8 strings. + +Files: +lib/unistr/u8-strncmp.c + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-strncmp]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U8_STRNCMP +lib_SOURCES += unistr/u8-strncmp.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u8-strncmp-tests b/gnulib/modules/unistr/u8-strncmp-tests new file mode 100644 index 0000000..55c97f0 --- /dev/null +++ b/gnulib/modules/unistr/u8-strncmp-tests @@ -0,0 +1,14 @@ +Files: +tests/unistr/test-u8-strncmp.c +tests/unistr/test-strncmp.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u8-strncmp +check_PROGRAMS += test-u8-strncmp +test_u8_strncmp_SOURCES = unistr/test-u8-strncmp.c +test_u8_strncmp_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u8-strncpy b/gnulib/modules/unistr/u8-strncpy new file mode 100644 index 0000000..cc4af9b --- /dev/null +++ b/gnulib/modules/unistr/u8-strncpy @@ -0,0 +1,26 @@ +Description: +Copy UTF-8 string. + +Files: +lib/unistr/u8-strncpy.c + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-strncpy]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U8_STRNCPY +lib_SOURCES += unistr/u8-strncpy.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u8-strncpy-tests b/gnulib/modules/unistr/u8-strncpy-tests new file mode 100644 index 0000000..b408e2c --- /dev/null +++ b/gnulib/modules/unistr/u8-strncpy-tests @@ -0,0 +1,21 @@ +Files: +tests/unistr/test-u8-strncpy.c +tests/unistr/test-strncpy.h +tests/zerosize-ptr.h +tests/macros.h +m4/mmap-anon.m4 + +Depends-on: +extensions +getpagesize + +configure.ac: +gl_FUNC_MMAP_ANON +AC_CHECK_HEADERS_ONCE([sys/mman.h]) +AC_CHECK_FUNCS_ONCE([mprotect]) + +Makefile.am: +TESTS += test-u8-strncpy +check_PROGRAMS += test-u8-strncpy +test_u8_strncpy_SOURCES = unistr/test-u8-strncpy.c +test_u8_strncpy_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u8-strnlen b/gnulib/modules/unistr/u8-strnlen new file mode 100644 index 0000000..a976e61 --- /dev/null +++ b/gnulib/modules/unistr/u8-strnlen @@ -0,0 +1,27 @@ +Description: +Determine bounded length of UTF-8 string. + +Files: +lib/unistr/u8-strnlen.c +lib/unistr/u-strnlen.h + +Depends-on: +unistr/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-strnlen]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U8_STRNLEN +lib_SOURCES += unistr/u8-strnlen.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u8-strnlen-tests b/gnulib/modules/unistr/u8-strnlen-tests new file mode 100644 index 0000000..944d570 --- /dev/null +++ b/gnulib/modules/unistr/u8-strnlen-tests @@ -0,0 +1,21 @@ +Files: +tests/unistr/test-u8-strnlen.c +tests/unistr/test-strnlen.h +tests/zerosize-ptr.h +tests/macros.h +m4/mmap-anon.m4 + +Depends-on: +extensions +getpagesize + +configure.ac: +gl_FUNC_MMAP_ANON +AC_CHECK_HEADERS_ONCE([sys/mman.h]) +AC_CHECK_FUNCS_ONCE([mprotect]) + +Makefile.am: +TESTS += test-u8-strnlen +check_PROGRAMS += test-u8-strnlen +test_u8_strnlen_SOURCES = unistr/test-u8-strnlen.c +test_u8_strnlen_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u8-strpbrk b/gnulib/modules/unistr/u8-strpbrk new file mode 100644 index 0000000..db6d74b --- /dev/null +++ b/gnulib/modules/unistr/u8-strpbrk @@ -0,0 +1,29 @@ +Description: +Search for some characters in UTF-8 string. + +Files: +lib/unistr/u8-strpbrk.c +lib/unistr/u-strpbrk.h + +Depends-on: +unistr/base +unistr/u8-strmbtouc +unistr/u8-strchr + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-strpbrk]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U8_STRPBRK +lib_SOURCES += unistr/u8-strpbrk.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u8-strrchr b/gnulib/modules/unistr/u8-strrchr new file mode 100644 index 0000000..ef87b47 --- /dev/null +++ b/gnulib/modules/unistr/u8-strrchr @@ -0,0 +1,27 @@ +Description: +Search character in UTF-8 string. + +Files: +lib/unistr/u8-strrchr.c + +Depends-on: +unistr/base +unistr/u8-uctomb + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-strrchr]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U8_STRRCHR +lib_SOURCES += unistr/u8-strrchr.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u8-strspn b/gnulib/modules/unistr/u8-strspn new file mode 100644 index 0000000..c397b66 --- /dev/null +++ b/gnulib/modules/unistr/u8-strspn @@ -0,0 +1,31 @@ +Description: +Search for some characters in UTF-8 string. + +Files: +lib/unistr/u8-strspn.c +lib/unistr/u-strspn.h + +Depends-on: +unistr/base +unistr/u8-strlen +unistr/u8-strmbtouc +unistr/u8-cmp +unistr/u8-strchr + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-strspn]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U8_STRSPN +lib_SOURCES += unistr/u8-strspn.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u8-strstr b/gnulib/modules/unistr/u8-strstr new file mode 100644 index 0000000..b4ec6a6 --- /dev/null +++ b/gnulib/modules/unistr/u8-strstr @@ -0,0 +1,30 @@ +Description: +Substring test for UTF-8 strings. + +Files: +lib/unistr/u8-strstr.c +lib/unistr/u-strstr.h + +Depends-on: +unistr/base +unistr/u8-strchr +unistr/u8-strmbtouc +strstr + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unistr/u8-strstr]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U8_STRSTR +lib_SOURCES += unistr/u8-strstr.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u8-strstr-tests b/gnulib/modules/unistr/u8-strstr-tests new file mode 100644 index 0000000..fdc7b76 --- /dev/null +++ b/gnulib/modules/unistr/u8-strstr-tests @@ -0,0 +1,15 @@ +Files: +tests/unistr/test-u8-strstr.c +tests/unistr/test-u-strstr.h +tests/macros.h + +Depends-on: + +configure.ac: +AC_CHECK_DECLS_ONCE([alarm]) + +Makefile.am: +TESTS += test-u8-strstr +check_PROGRAMS += test-u8-strstr +test_u8_strstr_SOURCES = unistr/test-u8-strstr.c +test_u8_strstr_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u8-strtok b/gnulib/modules/unistr/u8-strtok new file mode 100644 index 0000000..ecd1599 --- /dev/null +++ b/gnulib/modules/unistr/u8-strtok @@ -0,0 +1,29 @@ +Description: +Tokenize UTF-8 string. + +Files: +lib/unistr/u8-strtok.c +lib/unistr/u-strtok.h + +Depends-on: +unistr/base +unistr/u8-strspn +unistr/u8-strpbrk + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-strtok]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U8_STRTOK +lib_SOURCES += unistr/u8-strtok.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u8-to-u16 b/gnulib/modules/unistr/u8-to-u16 new file mode 100644 index 0000000..83b9472 --- /dev/null +++ b/gnulib/modules/unistr/u8-to-u16 @@ -0,0 +1,28 @@ +Description: +Convert UTF-8 string to UTF-16 string. + +Files: +lib/unistr/u8-to-u16.c + +Depends-on: +unistr/base +unistr/u8-mbtoucr +unistr/u16-uctomb + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.3], [unistr/u8-to-u16]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U8_TO_U16 +lib_SOURCES += unistr/u8-to-u16.c +endif + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u8-to-u16-tests b/gnulib/modules/unistr/u8-to-u16-tests new file mode 100644 index 0000000..afc1871 --- /dev/null +++ b/gnulib/modules/unistr/u8-to-u16-tests @@ -0,0 +1,14 @@ +Files: +tests/unistr/test-u8-to-u16.c +tests/macros.h + +Depends-on: +unistr/u16-cmp + +configure.ac: + +Makefile.am: +TESTS += test-u8-to-u16 +check_PROGRAMS += test-u8-to-u16 +test_u8_to_u16_SOURCES = unistr/test-u8-to-u16.c +test_u8_to_u16_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u8-to-u32 b/gnulib/modules/unistr/u8-to-u32 new file mode 100644 index 0000000..cbbd9a2 --- /dev/null +++ b/gnulib/modules/unistr/u8-to-u32 @@ -0,0 +1,27 @@ +Description: +Convert UTF-8 string to UTF-32 string. + +Files: +lib/unistr/u8-to-u32.c + +Depends-on: +unistr/base +unistr/u8-mbtoucr + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.3], [unistr/u8-to-u32]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U8_TO_U32 +lib_SOURCES += unistr/u8-to-u32.c +endif + +Include: +"unistr.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u8-to-u32-tests b/gnulib/modules/unistr/u8-to-u32-tests new file mode 100644 index 0000000..db531ea --- /dev/null +++ b/gnulib/modules/unistr/u8-to-u32-tests @@ -0,0 +1,14 @@ +Files: +tests/unistr/test-u8-to-u32.c +tests/macros.h + +Depends-on: +unistr/u32-cmp + +configure.ac: + +Makefile.am: +TESTS += test-u8-to-u32 +check_PROGRAMS += test-u8-to-u32 +test_u8_to_u32_SOURCES = unistr/test-u8-to-u32.c +test_u8_to_u32_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unistr/u8-uctomb b/gnulib/modules/unistr/u8-uctomb new file mode 100644 index 0000000..03cb98f --- /dev/null +++ b/gnulib/modules/unistr/u8-uctomb @@ -0,0 +1,28 @@ +Description: +Store a character in UTF-8 string. + +Files: +lib/unistr/u8-uctomb.c +lib/unistr/u8-uctomb-aux.c + +Depends-on: +unistr/base + +configure.ac: +gl_MODULE_INDICATOR([unistr/u8-uctomb]) +gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-uctomb]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB +lib_SOURCES += unistr/u8-uctomb.c unistr/u8-uctomb-aux.c +endif + +Include: +"unistr.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unistr/u8-uctomb-tests b/gnulib/modules/unistr/u8-uctomb-tests new file mode 100644 index 0000000..1919f16 --- /dev/null +++ b/gnulib/modules/unistr/u8-uctomb-tests @@ -0,0 +1,13 @@ +Files: +tests/unistr/test-u8-uctomb.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u8-uctomb +check_PROGRAMS += test-u8-uctomb +test_u8_uctomb_SOURCES = unistr/test-u8-uctomb.c +test_u8_uctomb_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unitypes b/gnulib/modules/unitypes new file mode 100644 index 0000000..96cbf7c --- /dev/null +++ b/gnulib/modules/unitypes @@ -0,0 +1,33 @@ +Description: +Base types for Unicode string functions. + +Files: +lib/unitypes.in.h +m4/libunistring-base.m4 + +Depends-on: +stdint + +configure.ac: +gl_LIBUNISTRING_LIBHEADER([0.9], [unitypes.h]) + +Makefile.am: +BUILT_SOURCES += $(LIBUNISTRING_UNITYPES_H) + +unitypes.h: unitypes.in.h + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + cat $(srcdir)/unitypes.in.h; \ + } > $@-t && \ + mv -f $@-t $@ +MOSTLYCLEANFILES += unitypes.h unitypes.h-t + +Include: +"unitypes.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniwbrk/base b/gnulib/modules/uniwbrk/base new file mode 100644 index 0000000..cfb9b78 --- /dev/null +++ b/gnulib/modules/uniwbrk/base @@ -0,0 +1,33 @@ +Description: +Base layer for word breaks. + +Files: +lib/uniwbrk.in.h +m4/libunistring-base.m4 + +Depends-on: +unitypes + +configure.ac: +gl_LIBUNISTRING_LIBHEADER([0.9], [uniwbrk.h]) + +Makefile.am: +BUILT_SOURCES += $(LIBUNISTRING_UNIWBRK_H) + +uniwbrk.h: uniwbrk.in.h + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + cat $(srcdir)/uniwbrk.in.h; \ + } > $@-t && \ + mv -f $@-t $@ +MOSTLYCLEANFILES += uniwbrk.h uniwbrk.h-t + +Include: +"uniwbrk.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniwbrk/table b/gnulib/modules/uniwbrk/table new file mode 100644 index 0000000..99392db --- /dev/null +++ b/gnulib/modules/uniwbrk/table @@ -0,0 +1,22 @@ +Description: + +Files: +lib/uniwbrk/wbrktable.h +lib/uniwbrk/wbrktable.c + +Depends-on: + +configure.ac: + +Makefile.am: +lib_SOURCES += uniwbrk/wbrktable.c + +Include: +"uniwbrk/wbrktable.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniwbrk/u16-wordbreaks b/gnulib/modules/uniwbrk/u16-wordbreaks new file mode 100644 index 0000000..1397433 --- /dev/null +++ b/gnulib/modules/uniwbrk/u16-wordbreaks @@ -0,0 +1,30 @@ +Description: +Word breaks in UTF-16 strings. + +Files: +lib/uniwbrk/u16-wordbreaks.c +lib/uniwbrk/u-wordbreaks.h + +Depends-on: +uniwbrk/base +uniwbrk/wordbreak-property +uniwbrk/table +unistr/u16-mbtouc-unsafe + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [uniwbrk/u16-wordbreaks]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNIWBRK_U16_WORDBREAKS +lib_SOURCES += uniwbrk/u16-wordbreaks.c +endif + +Include: +"uniwbrk.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniwbrk/u16-wordbreaks-tests b/gnulib/modules/uniwbrk/u16-wordbreaks-tests new file mode 100644 index 0000000..6396f79 --- /dev/null +++ b/gnulib/modules/uniwbrk/u16-wordbreaks-tests @@ -0,0 +1,13 @@ +Files: +tests/uniwbrk/test-u16-wordbreaks.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u16-wordbreaks +check_PROGRAMS += test-u16-wordbreaks +test_u16_wordbreaks_SOURCES = uniwbrk/test-u16-wordbreaks.c +test_u16_wordbreaks_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/uniwbrk/u32-wordbreaks b/gnulib/modules/uniwbrk/u32-wordbreaks new file mode 100644 index 0000000..6808cfe --- /dev/null +++ b/gnulib/modules/uniwbrk/u32-wordbreaks @@ -0,0 +1,30 @@ +Description: +Word breaks in UTF-32 strings. + +Files: +lib/uniwbrk/u32-wordbreaks.c +lib/uniwbrk/u-wordbreaks.h + +Depends-on: +uniwbrk/base +uniwbrk/wordbreak-property +uniwbrk/table +unistr/u32-mbtouc-unsafe + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [uniwbrk/u32-wordbreaks]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNIWBRK_U32_WORDBREAKS +lib_SOURCES += uniwbrk/u32-wordbreaks.c +endif + +Include: +"uniwbrk.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniwbrk/u32-wordbreaks-tests b/gnulib/modules/uniwbrk/u32-wordbreaks-tests new file mode 100644 index 0000000..1da80e4 --- /dev/null +++ b/gnulib/modules/uniwbrk/u32-wordbreaks-tests @@ -0,0 +1,13 @@ +Files: +tests/uniwbrk/test-u32-wordbreaks.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u32-wordbreaks +check_PROGRAMS += test-u32-wordbreaks +test_u32_wordbreaks_SOURCES = uniwbrk/test-u32-wordbreaks.c +test_u32_wordbreaks_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/uniwbrk/u8-wordbreaks b/gnulib/modules/uniwbrk/u8-wordbreaks new file mode 100644 index 0000000..92004ee --- /dev/null +++ b/gnulib/modules/uniwbrk/u8-wordbreaks @@ -0,0 +1,30 @@ +Description: +Word breaks in UTF-8 strings. + +Files: +lib/uniwbrk/u8-wordbreaks.c +lib/uniwbrk/u-wordbreaks.h + +Depends-on: +uniwbrk/base +uniwbrk/wordbreak-property +uniwbrk/table +unistr/u8-mbtouc-unsafe + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [uniwbrk/u8-wordbreaks]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNIWBRK_U8_WORDBREAKS +lib_SOURCES += uniwbrk/u8-wordbreaks.c +endif + +Include: +"uniwbrk.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniwbrk/u8-wordbreaks-tests b/gnulib/modules/uniwbrk/u8-wordbreaks-tests new file mode 100644 index 0000000..dde4767 --- /dev/null +++ b/gnulib/modules/uniwbrk/u8-wordbreaks-tests @@ -0,0 +1,13 @@ +Files: +tests/uniwbrk/test-u8-wordbreaks.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u8-wordbreaks +check_PROGRAMS += test-u8-wordbreaks +test_u8_wordbreaks_SOURCES = uniwbrk/test-u8-wordbreaks.c +test_u8_wordbreaks_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/uniwbrk/ulc-wordbreaks b/gnulib/modules/uniwbrk/ulc-wordbreaks new file mode 100644 index 0000000..a59fee2 --- /dev/null +++ b/gnulib/modules/uniwbrk/ulc-wordbreaks @@ -0,0 +1,31 @@ +Description: +Word breaks in strings. + +Files: +lib/uniwbrk/ulc-wordbreaks.c + +Depends-on: +uniwbrk/base +uniwbrk/u8-wordbreaks +unilbrk/ulc-common +uniconv/u8-conv-from-enc +c-ctype +localcharset + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [uniwbrk/ulc-wordbreaks]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNIWBRK_ULC_WORDBREAKS +lib_SOURCES += uniwbrk/ulc-wordbreaks.c +endif + +Include: +"uniwbrk.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniwbrk/ulc-wordbreaks-tests b/gnulib/modules/uniwbrk/ulc-wordbreaks-tests new file mode 100644 index 0000000..19f1ee6 --- /dev/null +++ b/gnulib/modules/uniwbrk/ulc-wordbreaks-tests @@ -0,0 +1,20 @@ +Files: +tests/uniwbrk/test-ulc-wordbreaks.sh +tests/uniwbrk/test-ulc-wordbreaks.c +tests/macros.h +m4/locale-fr.m4 +m4/codeset.m4 + +Depends-on: +setlocale + +configure.ac: +gt_LOCALE_FR + +Makefile.am: +TESTS += uniwbrk/test-ulc-wordbreaks.sh +TESTS_ENVIRONMENT += LOCALE_FR='@LOCALE_FR@' +check_PROGRAMS += test-ulc-wordbreaks +test_ulc_wordbreaks_SOURCES = uniwbrk/test-ulc-wordbreaks.c +test_ulc_wordbreaks_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ + diff --git a/gnulib/modules/uniwbrk/wordbreak-property b/gnulib/modules/uniwbrk/wordbreak-property new file mode 100644 index 0000000..5aa7393 --- /dev/null +++ b/gnulib/modules/uniwbrk/wordbreak-property @@ -0,0 +1,27 @@ +Description: +Base layer for word breaks. + +Files: +lib/uniwbrk/wordbreak-property.c +lib/uniwbrk/wbrkprop.h + +Depends-on: +uniwbrk/base + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [uniwbrk/wordbreak-property]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNIWBRK_WORDBREAK_PROPERTY +lib_SOURCES += uniwbrk/wordbreak-property.c +endif + +Include: +"uniwbrk.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniwidth/base b/gnulib/modules/uniwidth/base new file mode 100644 index 0000000..4d0cb08 --- /dev/null +++ b/gnulib/modules/uniwidth/base @@ -0,0 +1,34 @@ +Description: +Base layer for Unicode string width. + +Files: +lib/uniwidth.in.h +lib/localcharset.h +m4/libunistring-base.m4 + +Depends-on: +unitypes + +configure.ac: +gl_LIBUNISTRING_LIBHEADER([0.9], [uniwidth.h]) + +Makefile.am: +BUILT_SOURCES += $(LIBUNISTRING_UNIWIDTH_H) + +uniwidth.h: uniwidth.in.h + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + cat $(srcdir)/uniwidth.in.h; \ + } > $@-t && \ + mv -f $@-t $@ +MOSTLYCLEANFILES += uniwidth.h uniwidth.h-t + +Include: +"uniwidth.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniwidth/u16-strwidth b/gnulib/modules/uniwidth/u16-strwidth new file mode 100644 index 0000000..6c1db2f --- /dev/null +++ b/gnulib/modules/uniwidth/u16-strwidth @@ -0,0 +1,28 @@ +Description: +Determine display width of UTF-16 string. + +Files: +lib/uniwidth/u16-strwidth.c + +Depends-on: +uniwidth/base +uniwidth/u16-width +unistr/u16-strlen + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [uniwidth/u16-strwidth]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNIWIDTH_U16_STRWIDTH +lib_SOURCES += uniwidth/u16-strwidth.c +endif + +Include: +"uniwidth.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniwidth/u16-strwidth-tests b/gnulib/modules/uniwidth/u16-strwidth-tests new file mode 100644 index 0000000..17998aa --- /dev/null +++ b/gnulib/modules/uniwidth/u16-strwidth-tests @@ -0,0 +1,13 @@ +Files: +tests/uniwidth/test-u16-strwidth.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u16-strwidth +check_PROGRAMS += test-u16-strwidth +test_u16_strwidth_SOURCES = uniwidth/test-u16-strwidth.c +test_u16_strwidth_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/uniwidth/u16-width b/gnulib/modules/uniwidth/u16-width new file mode 100644 index 0000000..50121de --- /dev/null +++ b/gnulib/modules/uniwidth/u16-width @@ -0,0 +1,28 @@ +Description: +Determine display width of UTF-16 string. + +Files: +lib/uniwidth/u16-width.c + +Depends-on: +uniwidth/base +uniwidth/width +unistr/u16-mbtouc-unsafe + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [uniwidth/u16-width]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNIWIDTH_U16_WIDTH +lib_SOURCES += uniwidth/u16-width.c +endif + +Include: +"uniwidth.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniwidth/u16-width-tests b/gnulib/modules/uniwidth/u16-width-tests new file mode 100644 index 0000000..cea7ca7 --- /dev/null +++ b/gnulib/modules/uniwidth/u16-width-tests @@ -0,0 +1,13 @@ +Files: +tests/uniwidth/test-u16-width.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u16-width +check_PROGRAMS += test-u16-width +test_u16_width_SOURCES = uniwidth/test-u16-width.c +test_u16_width_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/uniwidth/u32-strwidth b/gnulib/modules/uniwidth/u32-strwidth new file mode 100644 index 0000000..73615e6 --- /dev/null +++ b/gnulib/modules/uniwidth/u32-strwidth @@ -0,0 +1,28 @@ +Description: +Determine display width of UTF-32 string. + +Files: +lib/uniwidth/u32-strwidth.c + +Depends-on: +uniwidth/base +uniwidth/u32-width +unistr/u32-strlen + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [uniwidth/u32-strwidth]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNIWIDTH_U32_STRWIDTH +lib_SOURCES += uniwidth/u32-strwidth.c +endif + +Include: +"uniwidth.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniwidth/u32-strwidth-tests b/gnulib/modules/uniwidth/u32-strwidth-tests new file mode 100644 index 0000000..51006b7 --- /dev/null +++ b/gnulib/modules/uniwidth/u32-strwidth-tests @@ -0,0 +1,13 @@ +Files: +tests/uniwidth/test-u32-strwidth.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u32-strwidth +check_PROGRAMS += test-u32-strwidth +test_u32_strwidth_SOURCES = uniwidth/test-u32-strwidth.c +test_u32_strwidth_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/uniwidth/u32-width b/gnulib/modules/uniwidth/u32-width new file mode 100644 index 0000000..11455c6 --- /dev/null +++ b/gnulib/modules/uniwidth/u32-width @@ -0,0 +1,27 @@ +Description: +Determine display width of UTF-32 string. + +Files: +lib/uniwidth/u32-width.c + +Depends-on: +uniwidth/base +uniwidth/width + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [uniwidth/u32-width]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNIWIDTH_U32_WIDTH +lib_SOURCES += uniwidth/u32-width.c +endif + +Include: +"uniwidth.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniwidth/u32-width-tests b/gnulib/modules/uniwidth/u32-width-tests new file mode 100644 index 0000000..349d190 --- /dev/null +++ b/gnulib/modules/uniwidth/u32-width-tests @@ -0,0 +1,13 @@ +Files: +tests/uniwidth/test-u32-width.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u32-width +check_PROGRAMS += test-u32-width +test_u32_width_SOURCES = uniwidth/test-u32-width.c +test_u32_width_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/uniwidth/u8-strwidth b/gnulib/modules/uniwidth/u8-strwidth new file mode 100644 index 0000000..5edec5d --- /dev/null +++ b/gnulib/modules/uniwidth/u8-strwidth @@ -0,0 +1,28 @@ +Description: +Determine display width of UTF-8 string. + +Files: +lib/uniwidth/u8-strwidth.c + +Depends-on: +uniwidth/base +uniwidth/u8-width +unistr/u8-strlen + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [uniwidth/u8-strwidth]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNIWIDTH_U8_STRWIDTH +lib_SOURCES += uniwidth/u8-strwidth.c +endif + +Include: +"uniwidth.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniwidth/u8-strwidth-tests b/gnulib/modules/uniwidth/u8-strwidth-tests new file mode 100644 index 0000000..ee95db9 --- /dev/null +++ b/gnulib/modules/uniwidth/u8-strwidth-tests @@ -0,0 +1,13 @@ +Files: +tests/uniwidth/test-u8-strwidth.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u8-strwidth +check_PROGRAMS += test-u8-strwidth +test_u8_strwidth_SOURCES = uniwidth/test-u8-strwidth.c +test_u8_strwidth_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/uniwidth/u8-width b/gnulib/modules/uniwidth/u8-width new file mode 100644 index 0000000..1961376 --- /dev/null +++ b/gnulib/modules/uniwidth/u8-width @@ -0,0 +1,28 @@ +Description: +Determine display width of UTF-8 string. + +Files: +lib/uniwidth/u8-width.c + +Depends-on: +uniwidth/base +uniwidth/width +unistr/u8-mbtouc-unsafe + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [uniwidth/u8-width]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNIWIDTH_U8_WIDTH +lib_SOURCES += uniwidth/u8-width.c +endif + +Include: +"uniwidth.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniwidth/u8-width-tests b/gnulib/modules/uniwidth/u8-width-tests new file mode 100644 index 0000000..f334af1 --- /dev/null +++ b/gnulib/modules/uniwidth/u8-width-tests @@ -0,0 +1,13 @@ +Files: +tests/uniwidth/test-u8-width.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u8-width +check_PROGRAMS += test-u8-width +test_u8_width_SOURCES = uniwidth/test-u8-width.c +test_u8_width_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/uniwidth/width b/gnulib/modules/uniwidth/width new file mode 100644 index 0000000..1901557 --- /dev/null +++ b/gnulib/modules/uniwidth/width @@ -0,0 +1,28 @@ +Description: +Determine display width of Unicode character. + +Files: +lib/uniwidth/width.c +lib/uniwidth/cjk.h + +Depends-on: +uniwidth/base +streq + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [uniwidth/width]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH +lib_SOURCES += uniwidth/width.c +endif + +Include: +"uniwidth.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniwidth/width-tests b/gnulib/modules/uniwidth/width-tests new file mode 100644 index 0000000..9549760 --- /dev/null +++ b/gnulib/modules/uniwidth/width-tests @@ -0,0 +1,17 @@ +Files: +tests/uniwidth/test-uc_width.c +tests/uniwidth/test-uc_width2.c +tests/uniwidth/test-uc_width2.sh +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-uc_width uniwidth/test-uc_width2.sh +check_PROGRAMS += test-uc_width test-uc_width2 +test_uc_width_SOURCES = uniwidth/test-uc_width.c +test_uc_width_LDADD = $(LDADD) $(LIBUNISTRING) +test_uc_width2_SOURCES = uniwidth/test-uc_width2.c +test_uc_width2_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unlink b/gnulib/modules/unlink new file mode 100644 index 0000000..63720aa --- /dev/null +++ b/gnulib/modules/unlink @@ -0,0 +1,29 @@ +Description: +unlink() function: remove a file. + +Files: +lib/unlink.c +m4/unlink.m4 + +Depends-on: +unistd +dosname [test $REPLACE_UNLINK = 1] +lstat [test $REPLACE_UNLINK = 1] + +configure.ac: +gl_FUNC_UNLINK +if test $REPLACE_UNLINK = 1; then + AC_LIBOBJ([unlink]) +fi +gl_UNISTD_MODULE_INDICATOR([unlink]) + +Makefile.am: + +Include: +<unistd.h> + +License: +LGPLv2+ + +Maintainer: +Eric Blake diff --git a/gnulib/modules/unlink-busy b/gnulib/modules/unlink-busy new file mode 100644 index 0000000..96d7b31 --- /dev/null +++ b/gnulib/modules/unlink-busy @@ -0,0 +1,20 @@ +Description: +Test whether a running program can be unlinked. + +Files: +m4/unlink-busy.m4 + +Depends-on: + +configure.ac: +gl_FUNC_UNLINK_BUSY_TEXT + +Makefile.am: + +Include: + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/unlink-tests b/gnulib/modules/unlink-tests new file mode 100644 index 0000000..6a57d49 --- /dev/null +++ b/gnulib/modules/unlink-tests @@ -0,0 +1,17 @@ +Files: +tests/test-unlink.h +tests/test-unlink.c +tests/signature.h +tests/macros.h + +Depends-on: +ignore-value +stdbool +symlink +unlinkdir + +configure.ac: + +Makefile.am: +TESTS += test-unlink +check_PROGRAMS += test-unlink diff --git a/gnulib/modules/unlinkat b/gnulib/modules/unlinkat new file mode 100644 index 0000000..4a7b87e --- /dev/null +++ b/gnulib/modules/unlinkat @@ -0,0 +1,43 @@ +Description: +unlinkat() function: Remove a file at a directory. + +Files: +lib/unlinkat.c +lib/at-func.c +lib/openat-priv.h +m4/unlinkat.m4 +m4/lstat.m4 + +Depends-on: +unistd +extensions +fcntl-h [test $HAVE_UNLINKAT = 0 || test $REPLACE_UNLINKAT = 1] +openat-h [test $HAVE_UNLINKAT = 0 || test $REPLACE_UNLINKAT = 1] +sys_stat [test $HAVE_UNLINKAT = 0 || test $REPLACE_UNLINKAT = 1] +fstatat [test $REPLACE_UNLINKAT = 1] +at-internal [test $HAVE_UNLINKAT = 0] +dosname [test $HAVE_UNLINKAT = 0] +errno [test $HAVE_UNLINKAT = 0] +fchdir [test $HAVE_UNLINKAT = 0] +openat-die [test $HAVE_UNLINKAT = 0] +rmdir [test $HAVE_UNLINKAT = 0] +save-cwd [test $HAVE_UNLINKAT = 0] +unlink [test $HAVE_UNLINKAT = 0] + +configure.ac: +gl_FUNC_UNLINKAT +if test $HAVE_UNLINKAT = 0 || test $REPLACE_UNLINKAT = 1; then + AC_LIBOBJ([unlinkat]) +fi +gl_UNISTD_MODULE_INDICATOR([unlinkat]) + +Makefile.am: + +Include: +<unistd.h> + +License: +GPL + +Maintainer: +Jim Meyering, Eric Blake diff --git a/gnulib/modules/unlinkat-tests b/gnulib/modules/unlinkat-tests new file mode 100644 index 0000000..266ead7 --- /dev/null +++ b/gnulib/modules/unlinkat-tests @@ -0,0 +1,19 @@ +Files: +tests/test-unlinkat.c +tests/test-rmdir.h +tests/test-unlink.h +tests/signature.h +tests/macros.h + +Depends-on: +ignore-value +progname +symlink +unlinkdir + +configure.ac: + +Makefile.am: +TESTS += test-unlinkat +check_PROGRAMS += test-unlinkat +test_unlinkat_LDADD = $(LDADD) @LIBINTL@ diff --git a/gnulib/modules/unlinkdir b/gnulib/modules/unlinkdir new file mode 100644 index 0000000..b5dfa10 --- /dev/null +++ b/gnulib/modules/unlinkdir @@ -0,0 +1,26 @@ +Description: +Determine whether we can unlink directories. + +Files: +lib/unlinkdir.h +lib/unlinkdir.c +m4/unlinkdir.m4 + +Depends-on: +stdbool +priv-set + +configure.ac: +gl_UNLINKDIR + +Makefile.am: +lib_SOURCES += unlinkdir.c + +Include: +"unlinkdir.h" + +License: +GPL + +Maintainer: +Paul Eggert, Jim Meyering diff --git a/gnulib/modules/unlocked-io b/gnulib/modules/unlocked-io new file mode 100644 index 0000000..000fe32 --- /dev/null +++ b/gnulib/modules/unlocked-io @@ -0,0 +1,23 @@ +Description: +Enable faster, non-thread-safe stdio functions if available. + +Files: +lib/unlocked-io.h +m4/unlocked-io.m4 + +Depends-on: +extensions + +configure.ac: +gl_FUNC_GLIBC_UNLOCKED_IO + +Makefile.am: + +Include: +"unlocked-io.h" + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/unlockpt b/gnulib/modules/unlockpt new file mode 100644 index 0000000..c917964 --- /dev/null +++ b/gnulib/modules/unlockpt @@ -0,0 +1,32 @@ +Description: +unlockpt() function: Unlock the slave side of a pseudo-terminal from its master +side. + +Files: +lib/unlockpt.c +m4/unlockpt.m4 + +Depends-on: +stdlib +extensions +fcntl-h [test $HAVE_UNLOCKPT = 0] +ptsname [test $HAVE_UNLOCKPT = 0] + +configure.ac: +gl_FUNC_UNLOCKPT +if test $HAVE_UNLOCKPT = 0; then + AC_LIBOBJ([unlockpt]) + gl_PREREQ_UNLOCKPT +fi +gl_STDLIB_MODULE_INDICATOR([unlockpt]) + +Makefile.am: + +Include: +<stdlib.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/unlockpt-tests b/gnulib/modules/unlockpt-tests new file mode 100644 index 0000000..fd4b5ac --- /dev/null +++ b/gnulib/modules/unlockpt-tests @@ -0,0 +1,12 @@ +Files: +tests/test-unlockpt.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-unlockpt +check_PROGRAMS += test-unlockpt diff --git a/gnulib/modules/unsetenv b/gnulib/modules/unsetenv new file mode 100644 index 0000000..2be6e46 --- /dev/null +++ b/gnulib/modules/unsetenv @@ -0,0 +1,31 @@ +Description: +unsetenv() function: remove an environment variable. + +Files: +lib/unsetenv.c +m4/setenv.m4 + +Depends-on: +stdlib +unistd [test $HAVE_UNSETENV = 0 || test $REPLACE_UNSETENV = 1] +environ [test $HAVE_UNSETENV = 0 || test $REPLACE_UNSETENV = 1] + +configure.ac: +gl_FUNC_UNSETENV +if test $HAVE_UNSETENV = 0 || test $REPLACE_UNSETENV = 1; then + AC_LIBOBJ([unsetenv]) + gl_PREREQ_UNSETENV +fi +gl_STDLIB_MODULE_INDICATOR([unsetenv]) + +Makefile.am: + +Include: +<stdlib.h> + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unsetenv-tests b/gnulib/modules/unsetenv-tests new file mode 100644 index 0000000..e3a62f4 --- /dev/null +++ b/gnulib/modules/unsetenv-tests @@ -0,0 +1,13 @@ +Files: +tests/test-unsetenv.c +tests/signature.h +tests/macros.h + +Depends-on: +putenv + +configure.ac: + +Makefile.am: +TESTS += test-unsetenv +check_PROGRAMS += test-unsetenv diff --git a/gnulib/modules/update-copyright b/gnulib/modules/update-copyright new file mode 100644 index 0000000..c703c68 --- /dev/null +++ b/gnulib/modules/update-copyright @@ -0,0 +1,19 @@ +Description: +Update an FSF copyright year list to include the current year. + +Files: +build-aux/update-copyright + +Depends-on: + +configure.ac: + +Makefile.am: + +Include: + +License: +GPLed build tool + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/update-copyright-tests b/gnulib/modules/update-copyright-tests new file mode 100644 index 0000000..3fab6f0 --- /dev/null +++ b/gnulib/modules/update-copyright-tests @@ -0,0 +1,12 @@ +Files: +tests/test-update-copyright.sh + +Depends-on: + +configure.ac: +abs_aux_dir=`cd "$ac_aux_dir"; pwd` +AC_SUBST([abs_aux_dir]) + +Makefile.am: +TESTS += test-update-copyright.sh +TESTS_ENVIRONMENT += abs_aux_dir='$(abs_aux_dir)' diff --git a/gnulib/modules/uptime b/gnulib/modules/uptime new file mode 100644 index 0000000..93c5f4a --- /dev/null +++ b/gnulib/modules/uptime @@ -0,0 +1,20 @@ +Description: +Test whether /proc/uptime might exist. + +Files: +m4/uptime.m4 + +Depends-on: + +configure.ac: +gl_SYS_PROC_UPTIME + +Makefile.am: + +Include: + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/useless-if-before-free b/gnulib/modules/useless-if-before-free new file mode 100644 index 0000000..5d05232 --- /dev/null +++ b/gnulib/modules/useless-if-before-free @@ -0,0 +1,19 @@ +Description: +Detect useless "if" tests before "free" calls. + +Files: +build-aux/useless-if-before-free + +Depends-on: + +configure.ac: + +Makefile.am: + +Include: + +License: +GPLed build tool + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/userspec b/gnulib/modules/userspec new file mode 100644 index 0000000..e528e69 --- /dev/null +++ b/gnulib/modules/userspec @@ -0,0 +1,32 @@ +Description: +Parse a `user:group' specifier (e.g. the first argument of chown utility). + +Files: +lib/userspec.c +lib/userspec.h +m4/userspec.m4 + +Depends-on: +posixver +xalloc +xstrtol +strdup +gettext-h +intprops +inttostr +stdbool + +configure.ac: +gl_USERSPEC + +Makefile.am: +lib_SOURCES += userspec.c + +Include: +"userspec.h" + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/userspec-tests b/gnulib/modules/userspec-tests new file mode 100644 index 0000000..a522857 --- /dev/null +++ b/gnulib/modules/userspec-tests @@ -0,0 +1,12 @@ +Files: +tests/test-userspec.c + +Depends-on: +xalloc + +configure.ac: + +Makefile.am: +TESTS += test-userspec +check_PROGRAMS += test-userspec +test_userspec_LDADD = $(LDADD) @LIBINTL@ diff --git a/gnulib/modules/usleep b/gnulib/modules/usleep new file mode 100644 index 0000000..563df42 --- /dev/null +++ b/gnulib/modules/usleep @@ -0,0 +1,29 @@ +Description: +usleep() function: pause execution of the current thread. + +Files: +lib/usleep.c +m4/usleep.m4 + +Depends-on: +unistd +extensions +sleep [test $HAVE_USLEEP = 0 || test $REPLACE_USLEEP = 1] + +configure.ac: +gl_FUNC_USLEEP +if test $HAVE_USLEEP = 0 || test $REPLACE_USLEEP = 1; then + AC_LIBOBJ([usleep]) +fi +gl_UNISTD_MODULE_INDICATOR([usleep]) + +Makefile.am: + +Include: +<unistd.h> + +License: +LGPLv2+ + +Maintainer: +Eric Blake diff --git a/gnulib/modules/usleep-tests b/gnulib/modules/usleep-tests new file mode 100644 index 0000000..43241f4 --- /dev/null +++ b/gnulib/modules/usleep-tests @@ -0,0 +1,13 @@ +Files: +tests/test-usleep.c +tests/signature.h +tests/macros.h + +Depends-on: +time + +configure.ac: + +Makefile.am: +TESTS += test-usleep +check_PROGRAMS += test-usleep diff --git a/gnulib/modules/utf16-ucs4 b/gnulib/modules/utf16-ucs4 new file mode 100644 index 0000000..ba07bb5 --- /dev/null +++ b/gnulib/modules/utf16-ucs4 @@ -0,0 +1,21 @@ +Description: +Conversion UTF-16 to UCS-4. + +Files: + +Depends-on: +unistr/u16-mbtouc + +configure.ac: + +Makefile.am: + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/utf16-ucs4-unsafe b/gnulib/modules/utf16-ucs4-unsafe new file mode 100644 index 0000000..ba1c103 --- /dev/null +++ b/gnulib/modules/utf16-ucs4-unsafe @@ -0,0 +1,21 @@ +Description: +Conversion UTF-16 to UCS-4. + +Files: + +Depends-on: +unistr/u16-mbtouc-unsafe + +configure.ac: + +Makefile.am: + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/utf8-ucs4 b/gnulib/modules/utf8-ucs4 new file mode 100644 index 0000000..b0536f5 --- /dev/null +++ b/gnulib/modules/utf8-ucs4 @@ -0,0 +1,21 @@ +Description: +Conversion UTF-8 to UCS-4. + +Files: + +Depends-on: +unistr/u8-mbtouc + +configure.ac: + +Makefile.am: + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/utf8-ucs4-unsafe b/gnulib/modules/utf8-ucs4-unsafe new file mode 100644 index 0000000..452541c --- /dev/null +++ b/gnulib/modules/utf8-ucs4-unsafe @@ -0,0 +1,21 @@ +Description: +Conversion UTF-8 to UCS-4. + +Files: + +Depends-on: +unistr/u8-mbtouc-unsafe + +configure.ac: + +Makefile.am: + +Include: +"unistr.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/utimecmp b/gnulib/modules/utimecmp new file mode 100644 index 0000000..398411e --- /dev/null +++ b/gnulib/modules/utimecmp @@ -0,0 +1,36 @@ +Description: +compare file time stamps + +Files: +lib/utimecmp.h +lib/utimecmp.c +m4/utimecmp.m4 + +Depends-on: +hash +stat-time +time +utimens +intprops +lstat +stdbool +stdint +verify + +configure.ac: +gl_UTIMECMP + +Makefile.am: +lib_SOURCES += utimecmp.c + +Include: +"utimecmp.h" + +Link: +$(LIB_CLOCK_GETTIME) + +License: +GPL + +Maintainer: +Paul Eggert, Jim Meyering diff --git a/gnulib/modules/utimens b/gnulib/modules/utimens new file mode 100644 index 0000000..accd74b --- /dev/null +++ b/gnulib/modules/utimens @@ -0,0 +1,39 @@ +Description: +Set file access and modification times. + +Files: +lib/utimens.c +lib/utimens.h +m4/utimbuf.m4 +m4/utimens.m4 +m4/utimes.m4 + +Depends-on: +errno +fcntl-h +fstat +lstat +gettime +stat-time +stdbool +sys_stat +sys_time +time + +configure.ac: +gl_UTIMENS + +Makefile.am: +lib_SOURCES += utimens.c + +Include: +"utimens.h" + +Link: +$(LIB_CLOCK_GETTIME) + +License: +GPL + +Maintainer: +Paul Eggert, Jim Meyering, Eric Blake diff --git a/gnulib/modules/utimens-tests b/gnulib/modules/utimens-tests new file mode 100644 index 0000000..802d8e5 --- /dev/null +++ b/gnulib/modules/utimens-tests @@ -0,0 +1,24 @@ +Files: +tests/nap.h +tests/test-futimens.h +tests/test-lutimens.h +tests/test-utimens.h +tests/test-utimens-common.h +tests/test-utimens.c +tests/macros.h + +Depends-on: +dup +ignore-value +symlink +timespec +usleep +utimecmp + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) + +Makefile.am: +TESTS += test-utimens +check_PROGRAMS += test-utimens +test_utimens_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME) diff --git a/gnulib/modules/utimensat b/gnulib/modules/utimensat new file mode 100644 index 0000000..a905909 --- /dev/null +++ b/gnulib/modules/utimensat @@ -0,0 +1,42 @@ +Description: +Set file access and modification times of a file relative to a directory fd. + +Files: +lib/utimensat.c +lib/at-func.c +m4/utimensat.m4 + +Depends-on: +sys_stat +extensions +at-internal [test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1] +dosname [test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1] +errno [test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1] +fchdir [test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1] +fcntl-h [test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1] +openat-die [test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1] +openat-h [test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1] +save-cwd [test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1] +utimens [test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1] +fstatat [test $REPLACE_UTIMENSAT = 1] + +configure.ac: +gl_FUNC_UTIMENSAT +if test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1; then + AC_LIBOBJ([utimensat]) +fi +gl_SYS_STAT_MODULE_INDICATOR([utimensat]) + +Makefile.am: + +Include: +<sys/stat.h> + +Link: +$(LIB_CLOCK_GETTIME) + +License: +GPL + +Maintainer: +Eric Blake diff --git a/gnulib/modules/utimensat-tests b/gnulib/modules/utimensat-tests new file mode 100644 index 0000000..ec426bb --- /dev/null +++ b/gnulib/modules/utimensat-tests @@ -0,0 +1,22 @@ +Files: +tests/nap.h +tests/test-lutimens.h +tests/test-utimens.h +tests/test-utimens-common.h +tests/test-utimensat.c +tests/signature.h +tests/macros.h + +Depends-on: +ignore-value +timespec +usleep +utimecmp + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) + +Makefile.am: +TESTS += test-utimensat +check_PROGRAMS += test-utimensat +test_utimensat_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME) @LIBINTL@ diff --git a/gnulib/modules/va-args b/gnulib/modules/va-args new file mode 100644 index 0000000..79fb163 --- /dev/null +++ b/gnulib/modules/va-args @@ -0,0 +1,20 @@ +Description: +Detect whether the preprocessor supports C99 variadic macros and __VA_ARGS__. + +Files: +m4/va-args.m4 + +Depends-on: + +configure.ac: +gl_VA_ARGS + +Makefile.am: + +Include: + +License: +LGPL + +Maintainer: +Eric Blake diff --git a/gnulib/modules/valgrind-tests b/gnulib/modules/valgrind-tests new file mode 100644 index 0000000..3593122 --- /dev/null +++ b/gnulib/modules/valgrind-tests @@ -0,0 +1,14 @@ +Description: +Macro to search for valgrind, for self-tests. + +Files: +m4/valgrind-tests.m4 + +configure.ac: +gl_VALGRIND_TESTS + +License: +unlimited + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/vararrays b/gnulib/modules/vararrays new file mode 100644 index 0000000..335fe46 --- /dev/null +++ b/gnulib/modules/vararrays @@ -0,0 +1,20 @@ +Description: +Variable-length arrays + +Files: +m4/vararrays.m4 + +Depends-on: + +configure.ac: +AC_C_VARARRAYS + +Makefile.am: + +Include: + +License: +LGPL + +Maintainer: +Paul Eggert diff --git a/gnulib/modules/vasnprintf b/gnulib/modules/vasnprintf new file mode 100644 index 0000000..54db892 --- /dev/null +++ b/gnulib/modules/vasnprintf @@ -0,0 +1,46 @@ +Description: +vsprintf with automatic memory allocation and bounded output size. + +Files: +lib/float+.h +lib/printf-args.h +lib/printf-args.c +lib/printf-parse.h +lib/printf-parse.c +lib/vasnprintf.h +lib/vasnprintf.c +lib/asnprintf.c +m4/wchar_t.m4 +m4/wint_t.m4 +m4/longlong.m4 +m4/intmax_t.m4 +m4/stdint_h.m4 +m4/inttypes_h.m4 +m4/vasnprintf.m4 +m4/printf.m4 +m4/math_h.m4 +m4/exponentd.m4 + +Depends-on: +alloca-opt +float +stdint +xsize +errno +memchr +verify +wchar + +configure.ac: +gl_FUNC_VASNPRINTF + +Makefile.am: + +Include: +"vasnprintf.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/vasnprintf-posix b/gnulib/modules/vasnprintf-posix new file mode 100644 index 0000000..090b1d2 --- /dev/null +++ b/gnulib/modules/vasnprintf-posix @@ -0,0 +1,43 @@ +Description: +POSIX compatible vsprintf with automatic memory allocation and bounded output +size. + +Comment: +This module should not be used as a dependency from a test module, +otherwise when this module occurs as a tests-related module, it will +have side effects on the compilation of the 'vasnprintf' module, if +that module occurs among the main modules in lib/. + +Files: +m4/vasnprintf-posix.m4 +m4/printf.m4 +m4/math_h.m4 + +Depends-on: +vasnprintf +isnand-nolibm +isnanl-nolibm +frexp-nolibm +frexpl-nolibm +printf-frexp +printf-frexpl +signbit +fpucw +nocrash +printf-safe +multiarch + +configure.ac: +gl_FUNC_VASNPRINTF_POSIX + +Makefile.am: + +Include: +"vasnprintf.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/vasnprintf-posix-tests b/gnulib/modules/vasnprintf-posix-tests new file mode 100644 index 0000000..6ba745b --- /dev/null +++ b/gnulib/modules/vasnprintf-posix-tests @@ -0,0 +1,26 @@ +Files: +tests/test-vasnprintf-posix.c +tests/test-vasnprintf-posix2.sh +tests/test-vasnprintf-posix2.c +tests/test-vasnprintf-posix3.c +tests/minus-zero.h +tests/infinity.h +tests/nan.h +tests/macros.h +m4/locale-fr.m4 +m4/codeset.m4 + +Depends-on: +stdint +float +setlocale + +configure.ac: +AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE]) +gt_LOCALE_FR +gt_LOCALE_FR_UTF8 + +Makefile.am: +TESTS += test-vasnprintf-posix test-vasnprintf-posix2.sh test-vasnprintf-posix3 +TESTS_ENVIRONMENT += LOCALE_FR='@LOCALE_FR@' LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' +check_PROGRAMS += test-vasnprintf-posix test-vasnprintf-posix2 test-vasnprintf-posix3 diff --git a/gnulib/modules/vasnprintf-tests b/gnulib/modules/vasnprintf-tests new file mode 100644 index 0000000..7ae88c6 --- /dev/null +++ b/gnulib/modules/vasnprintf-tests @@ -0,0 +1,12 @@ +Files: +tests/test-vasnprintf.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-vasnprintf +check_PROGRAMS += test-vasnprintf + diff --git a/gnulib/modules/vasprintf b/gnulib/modules/vasprintf new file mode 100644 index 0000000..0b8e141 --- /dev/null +++ b/gnulib/modules/vasprintf @@ -0,0 +1,37 @@ +Description: +vsprintf with automatic memory allocation. + +Notice: +If you are using GNU gettext version 0.16.1 or older, add the following options +to XGETTEXT_OPTIONS in your po/Makevars: + --flag=asprintf:2:c-format --flag=vasprintf:2:c-format + +Files: +lib/vasprintf.c +lib/asprintf.c +m4/vasprintf.m4 + +Depends-on: +stdio +extensions +vasnprintf [test $HAVE_VASPRINTF = 0 || test $REPLACE_VASPRINTF = 1] +errno [test $HAVE_VASPRINTF = 0 || test $REPLACE_VASPRINTF = 1] + +configure.ac: +gl_FUNC_VASPRINTF +gl_STDIO_MODULE_INDICATOR([vasprintf]) +m4_ifdef([AM_XGETTEXT_OPTION], + [AM_][XGETTEXT_OPTION([--flag=asprintf:2:c-format]) + AM_][XGETTEXT_OPTION([--flag=vasprintf:2:c-format])]) + +Makefile.am: + +Include: +<stdio.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/vasprintf-posix b/gnulib/modules/vasprintf-posix new file mode 100644 index 0000000..9665b76 --- /dev/null +++ b/gnulib/modules/vasprintf-posix @@ -0,0 +1,43 @@ +Description: +POSIX compatible vsprintf with automatic memory allocation. + +Comment: +This module should not be used as a dependency from a test module, +otherwise when this module occurs as a tests-related module, it will +have side effects on the compilation of the 'vasnprintf' module, if +that module occurs among the main modules in lib/. + +Files: +m4/vasprintf-posix.m4 +m4/printf.m4 +m4/math_h.m4 + +Depends-on: +vasprintf +vasnprintf +isnand-nolibm +isnanl-nolibm +frexp-nolibm +frexpl-nolibm +printf-frexp +printf-frexpl +signbit +fpucw +nocrash +printf-safe +multiarch + +configure.ac: +gl_FUNC_VASPRINTF_POSIX + +Makefile.am: + +Include: +"vasprintf.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/vasprintf-posix-tests b/gnulib/modules/vasprintf-posix-tests new file mode 100644 index 0000000..ae486a7 --- /dev/null +++ b/gnulib/modules/vasprintf-posix-tests @@ -0,0 +1,18 @@ +Files: +tests/test-vasprintf-posix.c +tests/minus-zero.h +tests/infinity.h +tests/nan.h +tests/macros.h + +Depends-on: +stdint +float + +configure.ac: +AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE]) + +Makefile.am: +TESTS += test-vasprintf-posix +check_PROGRAMS += test-vasprintf-posix + diff --git a/gnulib/modules/vasprintf-tests b/gnulib/modules/vasprintf-tests new file mode 100644 index 0000000..f6a7d80 --- /dev/null +++ b/gnulib/modules/vasprintf-tests @@ -0,0 +1,13 @@ +Files: +tests/test-vasprintf.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-vasprintf +check_PROGRAMS += test-vasprintf + diff --git a/gnulib/modules/vc-list-files b/gnulib/modules/vc-list-files new file mode 100644 index 0000000..0f922ae --- /dev/null +++ b/gnulib/modules/vc-list-files @@ -0,0 +1,19 @@ +Description: +list version-controlled files (vc-agnostic) + +Files: +build-aux/vc-list-files + +Depends-on: + +configure.ac: + +Makefile.am: + +Include: + +License: +GPLed build tool + +Maintainer: +coreutils diff --git a/gnulib/modules/vc-list-files-tests b/gnulib/modules/vc-list-files-tests new file mode 100644 index 0000000..368a5bf --- /dev/null +++ b/gnulib/modules/vc-list-files-tests @@ -0,0 +1,15 @@ +Files: +tests/test-vc-list-files-git.sh +tests/test-vc-list-files-cvs.sh +tests/init.sh + +Depends-on: + +configure.ac: +abs_aux_dir=`cd "$ac_aux_dir"; pwd` +AC_SUBST([abs_aux_dir]) + +Makefile.am: +TESTS += test-vc-list-files-git.sh +TESTS += test-vc-list-files-cvs.sh +TESTS_ENVIRONMENT += abs_aux_dir='$(abs_aux_dir)' diff --git a/gnulib/modules/vdprintf b/gnulib/modules/vdprintf new file mode 100644 index 0000000..eba4471 --- /dev/null +++ b/gnulib/modules/vdprintf @@ -0,0 +1,28 @@ +Description: +vdprintf() function: print formatted output to a file descriptor + +Files: +lib/vdprintf.c +m4/vdprintf.m4 + +Depends-on: +stdio +vasnprintf [test $ac_cv_func_vdprintf = no || test $REPLACE_VDPRINTF = 1] +full-write [test $ac_cv_func_vdprintf = no || test $REPLACE_VDPRINTF = 1] +errno [test $ac_cv_func_vdprintf = no || test $REPLACE_VDPRINTF = 1] + +configure.ac: +gl_FUNC_VDPRINTF +gl_STDIO_MODULE_INDICATOR([vdprintf]) + +Makefile.am: + +Include: +<stdio.h> + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/vdprintf-posix b/gnulib/modules/vdprintf-posix new file mode 100644 index 0000000..c994a4f --- /dev/null +++ b/gnulib/modules/vdprintf-posix @@ -0,0 +1,44 @@ +Description: +POSIX compatible vdprintf() function: print formatted output to a file +descriptor + +Comment: +This module should not be used as a dependency from a test module, +otherwise when this module occurs as a tests-related module, it will +have side effects on the compilation of the 'vasnprintf' module, if +that module occurs among the main modules in lib/. + +Files: +m4/vdprintf-posix.m4 +m4/printf.m4 +m4/math_h.m4 + +Depends-on: +vdprintf +nocrash +printf-safe +multiarch +vasnprintf [test $ac_cv_func_vdprintf = no || test $REPLACE_VDPRINTF = 1] +isnand-nolibm [test $ac_cv_func_vdprintf = no || test $REPLACE_VDPRINTF = 1] +isnanl-nolibm [test $ac_cv_func_vdprintf = no || test $REPLACE_VDPRINTF = 1] +frexp-nolibm [test $ac_cv_func_vdprintf = no || test $REPLACE_VDPRINTF = 1] +frexpl-nolibm [test $ac_cv_func_vdprintf = no || test $REPLACE_VDPRINTF = 1] +printf-frexp [test $ac_cv_func_vdprintf = no || test $REPLACE_VDPRINTF = 1] +printf-frexpl [test $ac_cv_func_vdprintf = no || test $REPLACE_VDPRINTF = 1] +signbit [test $ac_cv_func_vdprintf = no || test $REPLACE_VDPRINTF = 1] +fpucw [test $ac_cv_func_vdprintf = no || test $REPLACE_VDPRINTF = 1] + +configure.ac: +gl_FUNC_VDPRINTF_POSIX + +Makefile.am: + +Include: +<stdio.h> + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/vdprintf-posix-tests b/gnulib/modules/vdprintf-posix-tests new file mode 100644 index 0000000..032cae9 --- /dev/null +++ b/gnulib/modules/vdprintf-posix-tests @@ -0,0 +1,17 @@ +Files: +tests/test-vdprintf-posix.sh +tests/test-vdprintf-posix.c +tests/test-fprintf-posix.h +tests/test-printf-posix.output +tests/infinity.h +tests/signature.h +tests/macros.h + +Depends-on: +stdint + +configure.ac: + +Makefile.am: +TESTS += test-vdprintf-posix.sh +check_PROGRAMS += test-vdprintf-posix diff --git a/gnulib/modules/vdprintf-tests b/gnulib/modules/vdprintf-tests new file mode 100644 index 0000000..72557aa --- /dev/null +++ b/gnulib/modules/vdprintf-tests @@ -0,0 +1,12 @@ +Files: +tests/test-vdprintf.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-vdprintf +check_PROGRAMS += test-vdprintf diff --git a/gnulib/modules/verify b/gnulib/modules/verify new file mode 100644 index 0000000..5216ce8 --- /dev/null +++ b/gnulib/modules/verify @@ -0,0 +1,20 @@ +Description: +Compile-time assert-like macros. + +Files: +lib/verify.h + +Depends-on: + +configure.ac: + +Makefile.am: + +Include: +"verify.h" + +License: +LGPLv2+ + +Maintainer: +Paul Eggert, Jim Meyering diff --git a/gnulib/modules/verify-tests b/gnulib/modules/verify-tests new file mode 100644 index 0000000..936ed56 --- /dev/null +++ b/gnulib/modules/verify-tests @@ -0,0 +1,13 @@ +Files: +tests/test-verify.c +tests/test-verify.sh +tests/init.sh + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS_ENVIRONMENT += MAKE='$(MAKE)' +TESTS += test-verify test-verify.sh +check_PROGRAMS += test-verify diff --git a/gnulib/modules/verror b/gnulib/modules/verror new file mode 100644 index 0000000..6b837e9 --- /dev/null +++ b/gnulib/modules/verror @@ -0,0 +1,32 @@ +Description: +verror and verror_at_line functions: Error reporting with va_list. + +Notice: +If you are using GNU gettext version 0.16.1 or older, add the following options +to XGETTEXT_OPTIONS in your po/Makevars: + --flag=verror:3:c-format --flag=verror_at_line:5:c-format + +Files: +lib/verror.h +lib/verror.c + +Depends-on: +error +xvasprintf + +configure.ac: +m4_ifdef([AM_XGETTEXT_OPTION], + [AM_][XGETTEXT_OPTION([--flag=verror:3:c-format]) + AM_][XGETTEXT_OPTION([--flag=verror_at_line:5:c-format])]) + +Makefile.am: +lib_SOURCES += verror.h verror.c + +Include: +"verror.h" + +License: +GPL + +Maintainer: +Eric Blake diff --git a/gnulib/modules/version-etc b/gnulib/modules/version-etc new file mode 100644 index 0000000..d4cea5a --- /dev/null +++ b/gnulib/modules/version-etc @@ -0,0 +1,26 @@ +Description: +Print --version and bug-reporting information in a consistent format. + +Files: +lib/version-etc.h +lib/version-etc.c +m4/version-etc.m4 + +Depends-on: +gettext-h +stdarg + +configure.ac: +gl_VERSION_ETC + +Makefile.am: +lib_SOURCES += version-etc.h version-etc.c + +Include: +"version-etc.h" + +License: +LGPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/version-etc-fsf b/gnulib/modules/version-etc-fsf new file mode 100644 index 0000000..16663ca --- /dev/null +++ b/gnulib/modules/version-etc-fsf @@ -0,0 +1,21 @@ +Description: +Copyright variable for FSF projects + +Files: +lib/version-etc-fsf.c + +Depends-on: +version-etc + +configure.ac: + +Makefile.am: +lib_SOURCES += version-etc-fsf.c + +Include: + +License: +LGPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/version-etc-tests b/gnulib/modules/version-etc-tests new file mode 100644 index 0000000..54936db --- /dev/null +++ b/gnulib/modules/version-etc-tests @@ -0,0 +1,12 @@ +Files: +tests/test-version-etc.c +tests/test-version-etc.sh + +Depends-on: +progname +version-etc-fsf + +Makefile.am: +TESTS += test-version-etc.sh +check_PROGRAMS += test-version-etc +test_version_etc_LDADD = $(LDADD) @LIBINTL@ diff --git a/gnulib/modules/vfprintf-posix b/gnulib/modules/vfprintf-posix new file mode 100644 index 0000000..aba18b5 --- /dev/null +++ b/gnulib/modules/vfprintf-posix @@ -0,0 +1,47 @@ +Description: +POSIX compatible vfprintf() function: print formatted output to a stream + +Comment: +This module should not be used as a dependency from a test module, +otherwise when this module occurs as a tests-related module, it will +have side effects on the compilation of the 'vasnprintf' module, if +that module occurs among the main modules in lib/. + +Files: +lib/vfprintf.c +m4/vfprintf-posix.m4 +m4/printf.m4 +m4/math_h.m4 + +Depends-on: +stdio +nocrash +printf-safe +multiarch +fseterr [test $REPLACE_VFPRINTF = 1] +vasnprintf [test $REPLACE_VFPRINTF = 1] +isnand-nolibm [test $REPLACE_VFPRINTF = 1] +isnanl-nolibm [test $REPLACE_VFPRINTF = 1] +frexp-nolibm [test $REPLACE_VFPRINTF = 1] +frexpl-nolibm [test $REPLACE_VFPRINTF = 1] +printf-frexp [test $REPLACE_VFPRINTF = 1] +printf-frexpl [test $REPLACE_VFPRINTF = 1] +signbit [test $REPLACE_VFPRINTF = 1] +fpucw [test $REPLACE_VFPRINTF = 1] +errno [test $REPLACE_VFPRINTF = 1] + +configure.ac: +gl_FUNC_VFPRINTF_POSIX +gl_STDIO_MODULE_INDICATOR([vfprintf-posix]) + +Makefile.am: + +Include: +<stdio.h> + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/vfprintf-posix-tests b/gnulib/modules/vfprintf-posix-tests new file mode 100644 index 0000000..87e8809 --- /dev/null +++ b/gnulib/modules/vfprintf-posix-tests @@ -0,0 +1,17 @@ +Files: +tests/test-vfprintf-posix.sh +tests/test-vfprintf-posix.c +tests/test-fprintf-posix.h +tests/test-printf-posix.output +tests/infinity.h +tests/signature.h +tests/macros.h + +Depends-on: +stdint + +configure.ac: + +Makefile.am: +TESTS += test-vfprintf-posix.sh +check_PROGRAMS += test-vfprintf-posix diff --git a/gnulib/modules/vfscanf b/gnulib/modules/vfscanf new file mode 100644 index 0000000..c2d6a8d --- /dev/null +++ b/gnulib/modules/vfscanf @@ -0,0 +1,21 @@ +Description: +vfscanf() function: parse formatted text from a stream + +Files: + +Depends-on: +stdio + +configure.ac: +gl_STDIO_MODULE_INDICATOR([vfscanf]) + +Makefile.am: + +Include: +<stdio.h> + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/vma-iter b/gnulib/modules/vma-iter new file mode 100644 index 0000000..e0a480b --- /dev/null +++ b/gnulib/modules/vma-iter @@ -0,0 +1,29 @@ +Description: +Iteration over virtual memory areas. + +Files: +lib/vma-iter.h +lib/vma-iter.c +m4/mmap-anon.m4 + +Depends-on: +stdint +unistd +extensions +getpagesize + +configure.ac: +gl_FUNC_MMAP_ANON +AC_CHECK_FUNCS_ONCE([mquery]) + +Makefile.am: +lib_SOURCES += vma-iter.c + +Include: +"vma-iter.h" + +License: +GPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/vprintf-posix b/gnulib/modules/vprintf-posix new file mode 100644 index 0000000..b861d10 --- /dev/null +++ b/gnulib/modules/vprintf-posix @@ -0,0 +1,34 @@ +Description: +POSIX compatible vprintf() function: print formatted output to standard output + +Comment: +This module should not be used as a dependency from a test module, +otherwise when this module occurs as a tests-related module, it will +have side effects on the compilation of the 'vasnprintf' module, if +that module occurs among the main modules in lib/. + +Files: +lib/vprintf.c +m4/vprintf-posix.m4 +m4/printf.m4 + +Depends-on: +stdio +printf-safe +vfprintf-posix [test $REPLACE_VPRINTF = 1] + +configure.ac: +gl_FUNC_VPRINTF_POSIX +gl_STDIO_MODULE_INDICATOR([vprintf-posix]) + +Makefile.am: + +Include: +<stdio.h> + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/vprintf-posix-tests b/gnulib/modules/vprintf-posix-tests new file mode 100644 index 0000000..1d7e50b --- /dev/null +++ b/gnulib/modules/vprintf-posix-tests @@ -0,0 +1,17 @@ +Files: +tests/test-vprintf-posix.sh +tests/test-vprintf-posix.c +tests/test-printf-posix.h +tests/test-printf-posix.output +tests/infinity.h +tests/signature.h +tests/macros.h + +Depends-on: +stdint + +configure.ac: + +Makefile.am: +TESTS += test-vprintf-posix.sh +check_PROGRAMS += test-vprintf-posix diff --git a/gnulib/modules/vscanf b/gnulib/modules/vscanf new file mode 100644 index 0000000..cf1d8c2 --- /dev/null +++ b/gnulib/modules/vscanf @@ -0,0 +1,21 @@ +Description: +vscanf() function: parse formatted text from standard input + +Files: + +Depends-on: +stdio + +configure.ac: +gl_STDIO_MODULE_INDICATOR([vscanf]) + +Makefile.am: + +Include: +<stdio.h> + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/vsnprintf b/gnulib/modules/vsnprintf new file mode 100644 index 0000000..053b10c --- /dev/null +++ b/gnulib/modules/vsnprintf @@ -0,0 +1,28 @@ +Description: +vsnprintf() function: print formatted output from an stdarg argument list +to a fixed length string + +Files: +lib/vsnprintf.c +m4/vsnprintf.m4 +m4/printf.m4 + +Depends-on: +stdio +vasnprintf [test $ac_cv_func_vsnprintf = no || test $REPLACE_VSNPRINTF = 1] +errno [test $ac_cv_func_vsnprintf = no || test $REPLACE_VSNPRINTF = 1] + +configure.ac: +gl_FUNC_VSNPRINTF +gl_STDIO_MODULE_INDICATOR([vsnprintf]) + +Makefile.am: + +Include: +<stdio.h> + +License: +LGPLv2+ + +Maintainer: +Yoann Vandoorselaere diff --git a/gnulib/modules/vsnprintf-posix b/gnulib/modules/vsnprintf-posix new file mode 100644 index 0000000..e3456fb --- /dev/null +++ b/gnulib/modules/vsnprintf-posix @@ -0,0 +1,44 @@ +Description: +POSIX compatible vsnprintf() function: print formatted output to a fixed length +string + +Comment: +This module should not be used as a dependency from a test module, +otherwise when this module occurs as a tests-related module, it will +have side effects on the compilation of the 'vasnprintf' module, if +that module occurs among the main modules in lib/. + +Files: +m4/vsnprintf-posix.m4 +m4/printf.m4 +m4/math_h.m4 + +Depends-on: +vsnprintf +nocrash +printf-safe +multiarch +vasnprintf [test $ac_cv_func_vsnprintf = no || test $REPLACE_VSNPRINTF = 1] +isnand-nolibm [test $ac_cv_func_vsnprintf = no || test $REPLACE_VSNPRINTF = 1] +isnanl-nolibm [test $ac_cv_func_vsnprintf = no || test $REPLACE_VSNPRINTF = 1] +frexp-nolibm [test $ac_cv_func_vsnprintf = no || test $REPLACE_VSNPRINTF = 1] +frexpl-nolibm [test $ac_cv_func_vsnprintf = no || test $REPLACE_VSNPRINTF = 1] +printf-frexp [test $ac_cv_func_vsnprintf = no || test $REPLACE_VSNPRINTF = 1] +printf-frexpl [test $ac_cv_func_vsnprintf = no || test $REPLACE_VSNPRINTF = 1] +signbit [test $ac_cv_func_vsnprintf = no || test $REPLACE_VSNPRINTF = 1] +fpucw [test $ac_cv_func_vsnprintf = no || test $REPLACE_VSNPRINTF = 1] + +configure.ac: +gl_FUNC_VSNPRINTF_POSIX + +Makefile.am: + +Include: +<stdio.h> + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/vsnprintf-posix-tests b/gnulib/modules/vsnprintf-posix-tests new file mode 100644 index 0000000..645c581 --- /dev/null +++ b/gnulib/modules/vsnprintf-posix-tests @@ -0,0 +1,23 @@ +Files: +tests/test-vsnprintf-posix.c +tests/test-snprintf-posix.h +tests/test-vsnprintf.c +tests/minus-zero.h +tests/infinity.h +tests/nan.h +tests/signature.h +tests/macros.h + +Depends-on: +stdint +float + +configure.ac: +AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE]) +AC_DEFINE([CHECK_VSNPRINTF_POSIX], 1, + [Define to 1 for strict checking in test-vsnprintf.c.]) + +Makefile.am: +TESTS += test-vsnprintf-posix test-vsnprintf +check_PROGRAMS += test-vsnprintf-posix test-vsnprintf + diff --git a/gnulib/modules/vsnprintf-tests b/gnulib/modules/vsnprintf-tests new file mode 100644 index 0000000..9c520ce --- /dev/null +++ b/gnulib/modules/vsnprintf-tests @@ -0,0 +1,13 @@ +Files: +tests/test-vsnprintf.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-vsnprintf +check_PROGRAMS += test-vsnprintf + diff --git a/gnulib/modules/vsprintf-posix b/gnulib/modules/vsprintf-posix new file mode 100644 index 0000000..99c80f1 --- /dev/null +++ b/gnulib/modules/vsprintf-posix @@ -0,0 +1,47 @@ +Description: +POSIX compatible vsprintf() function: print formatted output to a string + +Comment: +This module should not be used as a dependency from a test module, +otherwise when this module occurs as a tests-related module, it will +have side effects on the compilation of the 'vasnprintf' module, if +that module occurs among the main modules in lib/. + +Files: +lib/vsprintf.c +m4/vsprintf-posix.m4 +m4/printf.m4 +m4/math_h.m4 + +Depends-on: +stdio +nocrash +printf-safe +multiarch +vasnprintf [test $REPLACE_VSPRINTF = 1] +isnand-nolibm [test $REPLACE_VSPRINTF = 1] +isnanl-nolibm [test $REPLACE_VSPRINTF = 1] +frexp-nolibm [test $REPLACE_VSPRINTF = 1] +frexpl-nolibm [test $REPLACE_VSPRINTF = 1] +printf-frexp [test $REPLACE_VSPRINTF = 1] +printf-frexpl [test $REPLACE_VSPRINTF = 1] +signbit [test $REPLACE_VSPRINTF = 1] +fpucw [test $REPLACE_VSPRINTF = 1] +stdint [test $REPLACE_VSPRINTF = 1] +errno [test $REPLACE_VSPRINTF = 1] + +configure.ac: +gl_FUNC_VSPRINTF_POSIX +gl_STDIO_MODULE_INDICATOR([vsprintf-posix]) + +Makefile.am: + +Include: +<stdio.h> + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/vsprintf-posix-tests b/gnulib/modules/vsprintf-posix-tests new file mode 100644 index 0000000..c8c8baf --- /dev/null +++ b/gnulib/modules/vsprintf-posix-tests @@ -0,0 +1,20 @@ +Files: +tests/test-vsprintf-posix.c +tests/test-sprintf-posix.h +tests/minus-zero.h +tests/infinity.h +tests/nan.h +tests/signature.h +tests/macros.h + +Depends-on: +stdint +float + +configure.ac: +AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE]) + +Makefile.am: +TESTS += test-vsprintf-posix +check_PROGRAMS += test-vsprintf-posix + diff --git a/gnulib/modules/wait-process b/gnulib/modules/wait-process new file mode 100644 index 0000000..afc8854 --- /dev/null +++ b/gnulib/modules/wait-process @@ -0,0 +1,36 @@ +Description: +Waiting for a subprocess to finish. + +Files: +lib/wait-process.h +lib/wait-process.c +m4/wait-process.m4 +m4/sig_atomic_t.m4 + +Depends-on: +fatal-signal +error +xalloc +gettext-h +stdbool +stdlib +sys_wait +unistd +atexit +waitpid + +configure.ac: +gl_WAIT_PROCESS + +Makefile.am: +lib_SOURCES += wait-process.h wait-process.c + +Include: +"wait-process.h" + +License: +GPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/waitpid b/gnulib/modules/waitpid new file mode 100644 index 0000000..59e0375 --- /dev/null +++ b/gnulib/modules/waitpid @@ -0,0 +1,27 @@ +Description: +waitpid() function: wait for process state change + +Files: +lib/waitpid.c +m4/waitpid.m4 + +Depends-on: +sys_wait + +configure.ac: +gl_FUNC_WAITPID +if test $HAVE_WAITPID = 0; then + AC_LIBOBJ([waitpid]) +fi +gl_SYS_WAIT_MODULE_INDICATOR([waitpid]) + +Makefile.am: + +Include: +<sys/wait.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/warnings b/gnulib/modules/warnings new file mode 100644 index 0000000..0eb724e --- /dev/null +++ b/gnulib/modules/warnings @@ -0,0 +1,16 @@ +Description: +Helper M4 functions for safely adding compiler warning parameters. + +Files: +m4/warnings.m4 + +Depends-on: + +configure.ac: +AC_SUBST([WARN_CFLAGS]) + +License: +unlimited + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/wchar b/gnulib/modules/wchar new file mode 100644 index 0000000..abaf6b7 --- /dev/null +++ b/gnulib/modules/wchar @@ -0,0 +1,142 @@ +Description: +A <wchar.h> that works around platform issues. + +Files: +lib/wchar.in.h +m4/wchar_h.m4 +m4/wint_t.m4 + +Depends-on: +include_next +snippet/arg-nonnull +snippet/c++defs +snippet/warn-on-use +stddef + +configure.ac: +gl_WCHAR_H + +Makefile.am: +BUILT_SOURCES += wchar.h + +# We need the following in order to create <wchar.h> when the system +# version does not work standalone. +wchar.h: wchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \ + -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \ + -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \ + -e 's/@''GNULIB_BTOWC''@/$(GNULIB_BTOWC)/g' \ + -e 's/@''GNULIB_WCTOB''@/$(GNULIB_WCTOB)/g' \ + -e 's/@''GNULIB_MBSINIT''@/$(GNULIB_MBSINIT)/g' \ + -e 's/@''GNULIB_MBRTOWC''@/$(GNULIB_MBRTOWC)/g' \ + -e 's/@''GNULIB_MBRLEN''@/$(GNULIB_MBRLEN)/g' \ + -e 's/@''GNULIB_MBSRTOWCS''@/$(GNULIB_MBSRTOWCS)/g' \ + -e 's/@''GNULIB_MBSNRTOWCS''@/$(GNULIB_MBSNRTOWCS)/g' \ + -e 's/@''GNULIB_WCRTOMB''@/$(GNULIB_WCRTOMB)/g' \ + -e 's/@''GNULIB_WCSRTOMBS''@/$(GNULIB_WCSRTOMBS)/g' \ + -e 's/@''GNULIB_WCSNRTOMBS''@/$(GNULIB_WCSNRTOMBS)/g' \ + -e 's/@''GNULIB_WCWIDTH''@/$(GNULIB_WCWIDTH)/g' \ + -e 's/@''GNULIB_WMEMCHR''@/$(GNULIB_WMEMCHR)/g' \ + -e 's/@''GNULIB_WMEMCMP''@/$(GNULIB_WMEMCMP)/g' \ + -e 's/@''GNULIB_WMEMCPY''@/$(GNULIB_WMEMCPY)/g' \ + -e 's/@''GNULIB_WMEMMOVE''@/$(GNULIB_WMEMMOVE)/g' \ + -e 's/@''GNULIB_WMEMSET''@/$(GNULIB_WMEMSET)/g' \ + -e 's/@''GNULIB_WCSLEN''@/$(GNULIB_WCSLEN)/g' \ + -e 's/@''GNULIB_WCSNLEN''@/$(GNULIB_WCSNLEN)/g' \ + -e 's/@''GNULIB_WCSCPY''@/$(GNULIB_WCSCPY)/g' \ + -e 's/@''GNULIB_WCPCPY''@/$(GNULIB_WCPCPY)/g' \ + -e 's/@''GNULIB_WCSNCPY''@/$(GNULIB_WCSNCPY)/g' \ + -e 's/@''GNULIB_WCPNCPY''@/$(GNULIB_WCPNCPY)/g' \ + -e 's/@''GNULIB_WCSCAT''@/$(GNULIB_WCSCAT)/g' \ + -e 's/@''GNULIB_WCSNCAT''@/$(GNULIB_WCSNCAT)/g' \ + -e 's/@''GNULIB_WCSCMP''@/$(GNULIB_WCSCMP)/g' \ + -e 's/@''GNULIB_WCSNCMP''@/$(GNULIB_WCSNCMP)/g' \ + -e 's/@''GNULIB_WCSCASECMP''@/$(GNULIB_WCSCASECMP)/g' \ + -e 's/@''GNULIB_WCSNCASECMP''@/$(GNULIB_WCSNCASECMP)/g' \ + -e 's/@''GNULIB_WCSCOLL''@/$(GNULIB_WCSCOLL)/g' \ + -e 's/@''GNULIB_WCSXFRM''@/$(GNULIB_WCSXFRM)/g' \ + -e 's/@''GNULIB_WCSDUP''@/$(GNULIB_WCSDUP)/g' \ + -e 's/@''GNULIB_WCSCHR''@/$(GNULIB_WCSCHR)/g' \ + -e 's/@''GNULIB_WCSRCHR''@/$(GNULIB_WCSRCHR)/g' \ + -e 's/@''GNULIB_WCSCSPN''@/$(GNULIB_WCSCSPN)/g' \ + -e 's/@''GNULIB_WCSSPN''@/$(GNULIB_WCSSPN)/g' \ + -e 's/@''GNULIB_WCSPBRK''@/$(GNULIB_WCSPBRK)/g' \ + -e 's/@''GNULIB_WCSSTR''@/$(GNULIB_WCSSTR)/g' \ + -e 's/@''GNULIB_WCSTOK''@/$(GNULIB_WCSTOK)/g' \ + -e 's/@''GNULIB_WCSWIDTH''@/$(GNULIB_WCSWIDTH)/g' \ + < $(srcdir)/wchar.in.h | \ + sed -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \ + -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \ + -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \ + -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \ + -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \ + -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \ + -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \ + -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \ + -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \ + -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \ + -e 's|@''HAVE_WMEMCHR''@|$(HAVE_WMEMCHR)|g' \ + -e 's|@''HAVE_WMEMCMP''@|$(HAVE_WMEMCMP)|g' \ + -e 's|@''HAVE_WMEMCPY''@|$(HAVE_WMEMCPY)|g' \ + -e 's|@''HAVE_WMEMMOVE''@|$(HAVE_WMEMMOVE)|g' \ + -e 's|@''HAVE_WMEMSET''@|$(HAVE_WMEMSET)|g' \ + -e 's|@''HAVE_WCSLEN''@|$(HAVE_WCSLEN)|g' \ + -e 's|@''HAVE_WCSNLEN''@|$(HAVE_WCSNLEN)|g' \ + -e 's|@''HAVE_WCSCPY''@|$(HAVE_WCSCPY)|g' \ + -e 's|@''HAVE_WCPCPY''@|$(HAVE_WCPCPY)|g' \ + -e 's|@''HAVE_WCSNCPY''@|$(HAVE_WCSNCPY)|g' \ + -e 's|@''HAVE_WCPNCPY''@|$(HAVE_WCPNCPY)|g' \ + -e 's|@''HAVE_WCSCAT''@|$(HAVE_WCSCAT)|g' \ + -e 's|@''HAVE_WCSNCAT''@|$(HAVE_WCSNCAT)|g' \ + -e 's|@''HAVE_WCSCMP''@|$(HAVE_WCSCMP)|g' \ + -e 's|@''HAVE_WCSNCMP''@|$(HAVE_WCSNCMP)|g' \ + -e 's|@''HAVE_WCSCASECMP''@|$(HAVE_WCSCASECMP)|g' \ + -e 's|@''HAVE_WCSNCASECMP''@|$(HAVE_WCSNCASECMP)|g' \ + -e 's|@''HAVE_WCSCOLL''@|$(HAVE_WCSCOLL)|g' \ + -e 's|@''HAVE_WCSXFRM''@|$(HAVE_WCSXFRM)|g' \ + -e 's|@''HAVE_WCSDUP''@|$(HAVE_WCSDUP)|g' \ + -e 's|@''HAVE_WCSCHR''@|$(HAVE_WCSCHR)|g' \ + -e 's|@''HAVE_WCSRCHR''@|$(HAVE_WCSRCHR)|g' \ + -e 's|@''HAVE_WCSCSPN''@|$(HAVE_WCSCSPN)|g' \ + -e 's|@''HAVE_WCSSPN''@|$(HAVE_WCSSPN)|g' \ + -e 's|@''HAVE_WCSPBRK''@|$(HAVE_WCSPBRK)|g' \ + -e 's|@''HAVE_WCSSTR''@|$(HAVE_WCSSTR)|g' \ + -e 's|@''HAVE_WCSTOK''@|$(HAVE_WCSTOK)|g' \ + -e 's|@''HAVE_WCSWIDTH''@|$(HAVE_WCSWIDTH)|g' \ + -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \ + -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \ + | \ + sed -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \ + -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \ + -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \ + -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \ + -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \ + -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \ + -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \ + -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \ + -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \ + -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \ + -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \ + -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \ + -e 's|@''REPLACE_WCSWIDTH''@|$(REPLACE_WCSWIDTH)|g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ + -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ + } > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += wchar.h wchar.h-t + +Include: +<wchar.h> + +License: +LGPLv2+ + +Maintainer: +all diff --git a/gnulib/modules/wchar-c++-tests b/gnulib/modules/wchar-c++-tests new file mode 100644 index 0000000..efc9c2e --- /dev/null +++ b/gnulib/modules/wchar-c++-tests @@ -0,0 +1,19 @@ +Files: +tests/test-wchar-c++.cc +tests/signature.h + +Status: +c++-test + +Depends-on: +ansi-c++-opt + +configure.ac: + +Makefile.am: +if ANSICXX +TESTS += test-wchar-c++ +check_PROGRAMS += test-wchar-c++ +test_wchar_c___SOURCES = test-wchar-c++.cc +test_wchar_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP) $(LIB_EACCESS) +endif diff --git a/gnulib/modules/wchar-tests b/gnulib/modules/wchar-tests new file mode 100644 index 0000000..afe3bff --- /dev/null +++ b/gnulib/modules/wchar-tests @@ -0,0 +1,12 @@ +Files: +tests/test-wchar.c + +Depends-on: +verify +wchar-c++-tests + +configure.ac: + +Makefile.am: +TESTS += test-wchar +check_PROGRAMS += test-wchar diff --git a/gnulib/modules/wcpcpy b/gnulib/modules/wcpcpy new file mode 100644 index 0000000..ef3c769 --- /dev/null +++ b/gnulib/modules/wcpcpy @@ -0,0 +1,35 @@ +Description: +wcpcpy() function: copy a wide string. + +Status: +obsolete + +Notice: +This module is obsolete. + +Files: +lib/wcpcpy.c +lib/wcpcpy-impl.h +m4/wcpcpy.m4 + +Depends-on: +extensions +wchar + +configure.ac: +gl_FUNC_WCPCPY +if test $HAVE_WCPCPY = 0; then + AC_LIBOBJ([wcpcpy]) +fi +gl_WCHAR_MODULE_INDICATOR([wcpcpy]) + +Makefile.am: + +Include: +<wchar.h> + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/wcpncpy b/gnulib/modules/wcpncpy new file mode 100644 index 0000000..82b9671 --- /dev/null +++ b/gnulib/modules/wcpncpy @@ -0,0 +1,29 @@ +Description: +wcpncpy() function: copy a size-bounded wide string. + +Files: +lib/wcpncpy.c +lib/wcpncpy-impl.h +m4/wcpncpy.m4 + +Depends-on: +extensions +wchar + +configure.ac: +gl_FUNC_WCPNCPY +if test $HAVE_WCPNCPY = 0; then + AC_LIBOBJ([wcpncpy]) +fi +gl_WCHAR_MODULE_INDICATOR([wcpncpy]) + +Makefile.am: + +Include: +<wchar.h> + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/wcrtomb b/gnulib/modules/wcrtomb new file mode 100644 index 0000000..184fc53 --- /dev/null +++ b/gnulib/modules/wcrtomb @@ -0,0 +1,37 @@ +Description: +wcrtomb() function: convert wide character to multibyte character. + +Files: +lib/wcrtomb.c +m4/wcrtomb.m4 +m4/mbrtowc.m4 +m4/mbstate_t.m4 +m4/locale-fr.m4 +m4/locale-ja.m4 +m4/locale-zh.m4 +m4/codeset.m4 + +Depends-on: +wchar +extensions +mbsinit [test $HAVE_WCRTOMB = 0 || test $REPLACE_WCRTOMB = 1] + +configure.ac: +gl_FUNC_WCRTOMB +if test $HAVE_WCRTOMB = 0 || test $REPLACE_WCRTOMB = 1; then + AC_LIBOBJ([wcrtomb]) + gl_PREREQ_WCRTOMB +fi +gl_WCHAR_MODULE_INDICATOR([wcrtomb]) + +Makefile.am: + +Include: +<wchar.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/wcrtomb-tests b/gnulib/modules/wcrtomb-tests new file mode 100644 index 0000000..32f9d3a --- /dev/null +++ b/gnulib/modules/wcrtomb-tests @@ -0,0 +1,38 @@ +Files: +tests/test-wcrtomb.sh +tests/test-wcrtomb.c +tests/test-wcrtomb-w32-1.sh +tests/test-wcrtomb-w32-2.sh +tests/test-wcrtomb-w32-3.sh +tests/test-wcrtomb-w32-4.sh +tests/test-wcrtomb-w32-5.sh +tests/test-wcrtomb-w32.c +tests/signature.h +tests/macros.h +m4/locale-fr.m4 +m4/locale-ja.m4 +m4/locale-zh.m4 +m4/codeset.m4 + +Depends-on: +btowc +setlocale + +configure.ac: +gt_LOCALE_FR +gt_LOCALE_FR_UTF8 +gt_LOCALE_JA +gt_LOCALE_ZH_CN + +Makefile.am: +TESTS += \ + test-wcrtomb.sh \ + test-wcrtomb-w32-1.sh test-wcrtomb-w32-2.sh test-wcrtomb-w32-3.sh \ + test-wcrtomb-w32-4.sh test-wcrtomb-w32-5.sh +TESTS_ENVIRONMENT += \ + LOCALE_FR='@LOCALE_FR@' \ + LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \ + LOCALE_JA='@LOCALE_JA@' \ + LOCALE_ZH_CN='@LOCALE_ZH_CN@' +check_PROGRAMS += test-wcrtomb test-wcrtomb-w32 + diff --git a/gnulib/modules/wcscasecmp b/gnulib/modules/wcscasecmp new file mode 100644 index 0000000..2fd7160 --- /dev/null +++ b/gnulib/modules/wcscasecmp @@ -0,0 +1,29 @@ +Description: +wcscasecmp() function: compare two wide strings ignoring case. + +Files: +lib/wcscasecmp.c +lib/wcscasecmp-impl.h +m4/wcscasecmp.m4 + +Depends-on: +wchar +wctype-h [test $HAVE_WCSCASECMP = 0] + +configure.ac: +gl_FUNC_WCSCASECMP +if test $HAVE_WCSCASECMP = 0; then + AC_LIBOBJ([wcscasecmp]) +fi +gl_WCHAR_MODULE_INDICATOR([wcscasecmp]) + +Makefile.am: + +Include: +<wchar.h> + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/wcscat b/gnulib/modules/wcscat new file mode 100644 index 0000000..41fa296 --- /dev/null +++ b/gnulib/modules/wcscat @@ -0,0 +1,34 @@ +Description: +wcscat() function: concatenate two wide strings. + +Status: +obsolete + +Notice: +This module is obsolete. + +Files: +lib/wcscat.c +lib/wcscat-impl.h +m4/wcscat.m4 + +Depends-on: +wchar + +configure.ac: +gl_FUNC_WCSCAT +if test $HAVE_WCSCAT = 0; then + AC_LIBOBJ([wcscat]) +fi +gl_WCHAR_MODULE_INDICATOR([wcscat]) + +Makefile.am: + +Include: +<wchar.h> + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/wcschr b/gnulib/modules/wcschr new file mode 100644 index 0000000..756d057 --- /dev/null +++ b/gnulib/modules/wcschr @@ -0,0 +1,34 @@ +Description: +wcschr() function: search wide string for a wide character. + +Status: +obsolete + +Notice: +This module is obsolete. + +Files: +lib/wcschr.c +lib/wcschr-impl.h +m4/wcschr.m4 + +Depends-on: +wchar + +configure.ac: +gl_FUNC_WCSCHR +if test $HAVE_WCSCHR = 0; then + AC_LIBOBJ([wcschr]) +fi +gl_WCHAR_MODULE_INDICATOR([wcschr]) + +Makefile.am: + +Include: +<wchar.h> + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/wcscmp b/gnulib/modules/wcscmp new file mode 100644 index 0000000..d1ae964 --- /dev/null +++ b/gnulib/modules/wcscmp @@ -0,0 +1,34 @@ +Description: +wcscmp() function: compare two wide strings. + +Status: +obsolete + +Notice: +This module is obsolete. + +Files: +lib/wcscmp.c +lib/wcscmp-impl.h +m4/wcscmp.m4 + +Depends-on: +wchar + +configure.ac: +gl_FUNC_WCSCMP +if test $HAVE_WCSCMP = 0; then + AC_LIBOBJ([wcscmp]) +fi +gl_WCHAR_MODULE_INDICATOR([wcscmp]) + +Makefile.am: + +Include: +<wchar.h> + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/wcscoll b/gnulib/modules/wcscoll new file mode 100644 index 0000000..a6fc0ab --- /dev/null +++ b/gnulib/modules/wcscoll @@ -0,0 +1,34 @@ +Description: +wcscoll() function: compare two wide strings using the current locale. + +Status: +obsolete + +Notice: +This module is obsolete. + +Files: +lib/wcscoll.c +lib/wcscoll-impl.h +m4/wcscoll.m4 + +Depends-on: +wchar + +configure.ac: +gl_FUNC_WCSCOLL +if test $HAVE_WCSCOLL = 0; then + AC_LIBOBJ([wcscoll]) +fi +gl_WCHAR_MODULE_INDICATOR([wcscoll]) + +Makefile.am: + +Include: +<wchar.h> + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/wcscpy b/gnulib/modules/wcscpy new file mode 100644 index 0000000..e96c9e4 --- /dev/null +++ b/gnulib/modules/wcscpy @@ -0,0 +1,34 @@ +Description: +wcscpy() function: copy a wide string. + +Status: +obsolete + +Notice: +This module is obsolete. + +Files: +lib/wcscpy.c +lib/wcscpy-impl.h +m4/wcscpy.m4 + +Depends-on: +wchar + +configure.ac: +gl_FUNC_WCSCPY +if test $HAVE_WCSCPY = 0; then + AC_LIBOBJ([wcscpy]) +fi +gl_WCHAR_MODULE_INDICATOR([wcscpy]) + +Makefile.am: + +Include: +<wchar.h> + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/wcscspn b/gnulib/modules/wcscspn new file mode 100644 index 0000000..5f93ee6 --- /dev/null +++ b/gnulib/modules/wcscspn @@ -0,0 +1,36 @@ +Description: +wcscspn() function: search a wide string for any of a set of wide characters. + +Status: +obsolete + +Notice: +This module is obsolete. + +Files: +lib/wcscspn.c +lib/wcscspn-impl.h +m4/wcscspn.m4 + +Depends-on: +wchar +wcslen [test $HAVE_WCSCSPN = 0] +wcschr [test $HAVE_WCSCSPN = 0] + +configure.ac: +gl_FUNC_WCSCSPN +if test $HAVE_WCSCSPN = 0; then + AC_LIBOBJ([wcscspn]) +fi +gl_WCHAR_MODULE_INDICATOR([wcscspn]) + +Makefile.am: + +Include: +<wchar.h> + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/wcsdup b/gnulib/modules/wcsdup new file mode 100644 index 0000000..49b19fb --- /dev/null +++ b/gnulib/modules/wcsdup @@ -0,0 +1,30 @@ +Description: +wcsdup() function: duplicate a wide string. + +Files: +lib/wcsdup.c +lib/wcsdup-impl.h +m4/wcsdup.m4 + +Depends-on: +wchar +wcslen [test $HAVE_WCSDUP = 0] +wmemcpy [test $HAVE_WCSDUP = 0] + +configure.ac: +gl_FUNC_WCSDUP +if test $HAVE_WCSDUP = 0; then + AC_LIBOBJ([wcsdup]) +fi +gl_WCHAR_MODULE_INDICATOR([wcsdup]) + +Makefile.am: + +Include: +<wchar.h> + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/wcslen b/gnulib/modules/wcslen new file mode 100644 index 0000000..d6c2026 --- /dev/null +++ b/gnulib/modules/wcslen @@ -0,0 +1,34 @@ +Description: +wcslen() function: determine the length of a wide string. + +Status: +obsolete + +Notice: +This module is obsolete. + +Files: +lib/wcslen.c +lib/wcslen-impl.h +m4/wcslen.m4 + +Depends-on: +wchar + +configure.ac: +gl_FUNC_WCSLEN +if test $HAVE_WCSLEN = 0; then + AC_LIBOBJ([wcslen]) +fi +gl_WCHAR_MODULE_INDICATOR([wcslen]) + +Makefile.am: + +Include: +<wchar.h> + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/wcsncasecmp b/gnulib/modules/wcsncasecmp new file mode 100644 index 0000000..0fcd533 --- /dev/null +++ b/gnulib/modules/wcsncasecmp @@ -0,0 +1,29 @@ +Description: +wcsncasecmp() function: compare two wide strings ignoring case. + +Files: +lib/wcsncasecmp.c +lib/wcsncasecmp-impl.h +m4/wcsncasecmp.m4 + +Depends-on: +wchar +wctype-h [test $HAVE_WCSNCASECMP = 0] + +configure.ac: +gl_FUNC_WCSNCASECMP +if test $HAVE_WCSNCASECMP = 0; then + AC_LIBOBJ([wcsncasecmp]) +fi +gl_WCHAR_MODULE_INDICATOR([wcsncasecmp]) + +Makefile.am: + +Include: +<wchar.h> + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/wcsncat b/gnulib/modules/wcsncat new file mode 100644 index 0000000..a98a088 --- /dev/null +++ b/gnulib/modules/wcsncat @@ -0,0 +1,34 @@ +Description: +wcsncat() function: append part of a wide string to a wide string. + +Status: +obsolete + +Notice: +This module is obsolete. + +Files: +lib/wcsncat.c +lib/wcsncat-impl.h +m4/wcsncat.m4 + +Depends-on: +wchar + +configure.ac: +gl_FUNC_WCSNCAT +if test $HAVE_WCSNCAT = 0; then + AC_LIBOBJ([wcsncat]) +fi +gl_WCHAR_MODULE_INDICATOR([wcsncat]) + +Makefile.am: + +Include: +<wchar.h> + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/wcsncmp b/gnulib/modules/wcsncmp new file mode 100644 index 0000000..2f015a2 --- /dev/null +++ b/gnulib/modules/wcsncmp @@ -0,0 +1,34 @@ +Description: +wcsncmp() function: compare two wide strings. + +Status: +obsolete + +Notice: +This module is obsolete. + +Files: +lib/wcsncmp.c +lib/wcsncmp-impl.h +m4/wcsncmp.m4 + +Depends-on: +wchar + +configure.ac: +gl_FUNC_WCSNCMP +if test $HAVE_WCSNCMP = 0; then + AC_LIBOBJ([wcsncmp]) +fi +gl_WCHAR_MODULE_INDICATOR([wcsncmp]) + +Makefile.am: + +Include: +<wchar.h> + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/wcsncpy b/gnulib/modules/wcsncpy new file mode 100644 index 0000000..0ac9609 --- /dev/null +++ b/gnulib/modules/wcsncpy @@ -0,0 +1,34 @@ +Description: +wcsncpy() function: copy a size-bounded wide string. + +Status: +obsolete + +Notice: +This module is obsolete. + +Files: +lib/wcsncpy.c +lib/wcsncpy-impl.h +m4/wcsncpy.m4 + +Depends-on: +wchar + +configure.ac: +gl_FUNC_WCSNCPY +if test $HAVE_WCSNCPY = 0; then + AC_LIBOBJ([wcsncpy]) +fi +gl_WCHAR_MODULE_INDICATOR([wcsncpy]) + +Makefile.am: + +Include: +<wchar.h> + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/wcsnlen b/gnulib/modules/wcsnlen new file mode 100644 index 0000000..42f9858 --- /dev/null +++ b/gnulib/modules/wcsnlen @@ -0,0 +1,28 @@ +Description: +wcsnlen() function: determine the length of a size-bounded wide string. + +Files: +lib/wcsnlen.c +lib/wcsnlen-impl.h +m4/wcsnlen.m4 + +Depends-on: +wchar + +configure.ac: +gl_FUNC_WCSNLEN +if test $HAVE_WCSNLEN = 0; then + AC_LIBOBJ([wcsnlen]) +fi +gl_WCHAR_MODULE_INDICATOR([wcsnlen]) + +Makefile.am: + +Include: +<wchar.h> + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/wcsnrtombs b/gnulib/modules/wcsnrtombs new file mode 100644 index 0000000..63103f4 --- /dev/null +++ b/gnulib/modules/wcsnrtombs @@ -0,0 +1,39 @@ +Description: +wcsnrtombs() function: convert wide string to string. + +Files: +lib/wcsnrtombs.c +lib/wcsnrtombs-impl.h +lib/wcsrtombs-state.c +m4/wcsnrtombs.m4 +m4/mbrtowc.m4 +m4/mbstate_t.m4 +m4/locale-ja.m4 +m4/locale-zh.m4 +m4/codeset.m4 + +Depends-on: +wchar +extensions +wcrtomb [test $HAVE_WCSNRTOMBS = 0 || test $REPLACE_WCSNRTOMBS = 1] + +configure.ac: +gl_FUNC_WCSNRTOMBS +if test $HAVE_WCSNRTOMBS = 0 || test $REPLACE_WCSNRTOMBS = 1; then + AC_LIBOBJ([wcsnrtombs]) + AC_LIBOBJ([wcsrtombs-state]) + gl_PREREQ_WCSNRTOMBS +fi +gl_WCHAR_MODULE_INDICATOR([wcsnrtombs]) + +Makefile.am: + +Include: +<wchar.h> + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/wcsnrtombs-tests b/gnulib/modules/wcsnrtombs-tests new file mode 100644 index 0000000..877dd17 --- /dev/null +++ b/gnulib/modules/wcsnrtombs-tests @@ -0,0 +1,31 @@ +Files: +tests/test-wcsnrtombs1.sh +tests/test-wcsnrtombs2.sh +tests/test-wcsnrtombs3.sh +tests/test-wcsnrtombs4.sh +tests/test-wcsnrtombs.c +tests/signature.h +tests/macros.h +m4/locale-fr.m4 +m4/locale-ja.m4 +m4/locale-zh.m4 +m4/codeset.m4 + +Depends-on: +setlocale + +configure.ac: +gt_LOCALE_FR +gt_LOCALE_FR_UTF8 +gt_LOCALE_JA +gt_LOCALE_ZH_CN + +Makefile.am: +TESTS += test-wcsnrtombs1.sh test-wcsnrtombs2.sh test-wcsnrtombs3.sh test-wcsnrtombs4.sh +TESTS_ENVIRONMENT += \ + LOCALE_FR='@LOCALE_FR@' \ + LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \ + LOCALE_JA='@LOCALE_JA@' \ + LOCALE_ZH_CN='@LOCALE_ZH_CN@' +check_PROGRAMS += test-wcsnrtombs + diff --git a/gnulib/modules/wcspbrk b/gnulib/modules/wcspbrk new file mode 100644 index 0000000..f729486 --- /dev/null +++ b/gnulib/modules/wcspbrk @@ -0,0 +1,35 @@ +Description: +wcspbrk() function: search a wide string for any of a set of wide characters. + +Status: +obsolete + +Notice: +This module is obsolete. + +Files: +lib/wcspbrk.c +lib/wcspbrk-impl.h +m4/wcspbrk.m4 + +Depends-on: +wchar +wcschr [test $HAVE_WCSPBRK = 0] + +configure.ac: +gl_FUNC_WCSPBRK +if test $HAVE_WCSPBRK = 0; then + AC_LIBOBJ([wcspbrk]) +fi +gl_WCHAR_MODULE_INDICATOR([wcspbrk]) + +Makefile.am: + +Include: +<wchar.h> + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/wcsrchr b/gnulib/modules/wcsrchr new file mode 100644 index 0000000..639fe54 --- /dev/null +++ b/gnulib/modules/wcsrchr @@ -0,0 +1,34 @@ +Description: +wcsrchr() function: search wide string for a wide character. + +Status: +obsolete + +Notice: +This module is obsolete. + +Files: +lib/wcsrchr.c +lib/wcsrchr-impl.h +m4/wcsrchr.m4 + +Depends-on: +wchar + +configure.ac: +gl_FUNC_WCSRCHR +if test $HAVE_WCSRCHR = 0; then + AC_LIBOBJ([wcsrchr]) +fi +gl_WCHAR_MODULE_INDICATOR([wcsrchr]) + +Makefile.am: + +Include: +<wchar.h> + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/wcsrtombs b/gnulib/modules/wcsrtombs new file mode 100644 index 0000000..b61ac34 --- /dev/null +++ b/gnulib/modules/wcsrtombs @@ -0,0 +1,40 @@ +Description: +wcsrtombs() function: convert wide string to string. + +Files: +lib/wcsrtombs.c +lib/wcsrtombs-impl.h +lib/wcsrtombs-state.c +m4/wcsrtombs.m4 +m4/mbrtowc.m4 +m4/mbstate_t.m4 +m4/locale-fr.m4 +m4/locale-ja.m4 +m4/locale-zh.m4 +m4/codeset.m4 + +Depends-on: +wchar +extensions +wcrtomb [test $HAVE_WCSRTOMBS = 0 || test $REPLACE_WCSRTOMBS = 1] + +configure.ac: +gl_FUNC_WCSRTOMBS +if test $HAVE_WCSRTOMBS = 0 || test $REPLACE_WCSRTOMBS = 1; then + AC_LIBOBJ([wcsrtombs]) + AC_LIBOBJ([wcsrtombs-state]) + gl_PREREQ_WCSRTOMBS +fi +gl_WCHAR_MODULE_INDICATOR([wcsrtombs]) + +Makefile.am: + +Include: +<wchar.h> + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/wcsrtombs-tests b/gnulib/modules/wcsrtombs-tests new file mode 100644 index 0000000..4b6bf54 --- /dev/null +++ b/gnulib/modules/wcsrtombs-tests @@ -0,0 +1,31 @@ +Files: +tests/test-wcsrtombs1.sh +tests/test-wcsrtombs2.sh +tests/test-wcsrtombs3.sh +tests/test-wcsrtombs4.sh +tests/test-wcsrtombs.c +tests/signature.h +tests/macros.h +m4/locale-fr.m4 +m4/locale-ja.m4 +m4/locale-zh.m4 +m4/codeset.m4 + +Depends-on: +setlocale + +configure.ac: +gt_LOCALE_FR +gt_LOCALE_FR_UTF8 +gt_LOCALE_JA +gt_LOCALE_ZH_CN + +Makefile.am: +TESTS += test-wcsrtombs1.sh test-wcsrtombs2.sh test-wcsrtombs3.sh test-wcsrtombs4.sh +TESTS_ENVIRONMENT += \ + LOCALE_FR='@LOCALE_FR@' \ + LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \ + LOCALE_JA='@LOCALE_JA@' \ + LOCALE_ZH_CN='@LOCALE_ZH_CN@' +check_PROGRAMS += test-wcsrtombs + diff --git a/gnulib/modules/wcsspn b/gnulib/modules/wcsspn new file mode 100644 index 0000000..abaf5d4 --- /dev/null +++ b/gnulib/modules/wcsspn @@ -0,0 +1,35 @@ +Description: +wcsspn() function: advance in a wide string, skipping any of a set of wide characters. + +Status: +obsolete + +Notice: +This module is obsolete. + +Files: +lib/wcsspn.c +lib/wcsspn-impl.h +m4/wcsspn.m4 + +Depends-on: +wchar +wcschr [test $HAVE_WCSSPN = 0] + +configure.ac: +gl_FUNC_WCSSPN +if test $HAVE_WCSSPN = 0; then + AC_LIBOBJ([wcsspn]) +fi +gl_WCHAR_MODULE_INDICATOR([wcsspn]) + +Makefile.am: + +Include: +<wchar.h> + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/wcsstr b/gnulib/modules/wcsstr new file mode 100644 index 0000000..e918127 --- /dev/null +++ b/gnulib/modules/wcsstr @@ -0,0 +1,29 @@ +Description: +wcsstr() function: locate a substring in a wide string. + +Files: +lib/wcsstr.c +lib/wcsstr-impl.h +m4/wcsstr.m4 + +Depends-on: +wchar +wcschr [test $HAVE_WCSSTR = 0] + +configure.ac: +gl_FUNC_WCSSTR +if test $HAVE_WCSSTR = 0; then + AC_LIBOBJ([wcsstr]) +fi +gl_WCHAR_MODULE_INDICATOR([wcsstr]) + +Makefile.am: + +Include: +<wchar.h> + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/wcstok b/gnulib/modules/wcstok new file mode 100644 index 0000000..f7b1ed6 --- /dev/null +++ b/gnulib/modules/wcstok @@ -0,0 +1,30 @@ +Description: +wcstok() function: split a wide string into tokens. + +Files: +lib/wcstok.c +lib/wcstok-impl.h +m4/wcstok.m4 + +Depends-on: +wchar +wcsspn [test $HAVE_WCSTOK = 0] +wcspbrk [test $HAVE_WCSTOK = 0] + +configure.ac: +gl_FUNC_WCSTOK +if test $HAVE_WCSTOK = 0; then + AC_LIBOBJ([wcstok]) +fi +gl_WCHAR_MODULE_INDICATOR([wcstok]) + +Makefile.am: + +Include: +<wchar.h> + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/wcswidth b/gnulib/modules/wcswidth new file mode 100644 index 0000000..27eabf3 --- /dev/null +++ b/gnulib/modules/wcswidth @@ -0,0 +1,30 @@ +Description: +wcswidth() function: determine number of screen columns needed for a +size-bounded wide string. + +Files: +lib/wcswidth.c +lib/wcswidth-impl.h +m4/wcswidth.m4 + +Depends-on: +wchar +wcwidth [test $HAVE_WCSWIDTH = 0 || test $REPLACE_WCSWIDTH = 1] + +configure.ac: +gl_FUNC_WCSWIDTH +if test $HAVE_WCSWIDTH = 0 || test $REPLACE_WCSWIDTH = 1; then + AC_LIBOBJ([wcswidth]) +fi +gl_WCHAR_MODULE_INDICATOR([wcswidth]) + +Makefile.am: + +Include: +<wchar.h> + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/wcsxfrm b/gnulib/modules/wcsxfrm new file mode 100644 index 0000000..e432e75 --- /dev/null +++ b/gnulib/modules/wcsxfrm @@ -0,0 +1,29 @@ +Description: +wcsxfrm() function: transform wide string for comparison using the current +locale. + +Files: +lib/wcsxfrm.c +lib/wcsxfrm-impl.h +m4/wcsxfrm.m4 + +Depends-on: +wchar + +configure.ac: +gl_FUNC_WCSXFRM +if test $HAVE_WCSXFRM = 0; then + AC_LIBOBJ([wcsxfrm]) +fi +gl_WCHAR_MODULE_INDICATOR([wcsxfrm]) + +Makefile.am: + +Include: +<wchar.h> + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/wctob b/gnulib/modules/wctob new file mode 100644 index 0000000..2801c2f --- /dev/null +++ b/gnulib/modules/wctob @@ -0,0 +1,32 @@ +Description: +wctob() function: convert wide character to unibyte character. + +Files: +lib/wctob.c +m4/wctob.m4 +m4/locale-fr.m4 +m4/codeset.m4 + +Depends-on: +wchar +wctomb [test $HAVE_WCTOB = 0 || test $REPLACE_WCTOB = 1] + +configure.ac: +gl_FUNC_WCTOB +if test $HAVE_WCTOB = 0 || test $REPLACE_WCTOB = 1; then + AC_LIBOBJ([wctob]) + gl_PREREQ_WCTOB +fi +gl_WCHAR_MODULE_INDICATOR([wctob]) + +Makefile.am: + +Include: +<wchar.h> + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/wctomb b/gnulib/modules/wctomb new file mode 100644 index 0000000..00d59bf --- /dev/null +++ b/gnulib/modules/wctomb @@ -0,0 +1,31 @@ +Description: +wctomb() function: convert wide character to multibyte character. + +Files: +lib/wctomb.c +lib/wctomb-impl.h +m4/wctomb.m4 + +Depends-on: +stdlib +wcrtomb [test $REPLACE_WCTOMB = 1] +wchar [test $REPLACE_WCTOMB = 1] + +configure.ac: +gl_FUNC_WCTOMB +if test $REPLACE_WCTOMB = 1; then + AC_LIBOBJ([wctomb]) + gl_PREREQ_WCTOMB +fi +gl_STDLIB_MODULE_INDICATOR([wctomb]) + +Makefile.am: + +Include: +<stdlib.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/wctrans b/gnulib/modules/wctrans new file mode 100644 index 0000000..5147a16 --- /dev/null +++ b/gnulib/modules/wctrans @@ -0,0 +1,28 @@ +Description: +wctrans() function: get descriptor for a wide character case conversion. + +Files: +lib/wctrans.c +lib/wctrans-impl.h +m4/wctrans.m4 + +Depends-on: +wctype-h + +configure.ac: +gl_FUNC_WCTRANS +if test $HAVE_WCTRANS = 0; then + AC_LIBOBJ([wctrans]) +fi +gl_WCTYPE_MODULE_INDICATOR([wctrans]) + +Makefile.am: + +Include: +<wctype.h> + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/wctype b/gnulib/modules/wctype new file mode 100644 index 0000000..4a9a004 --- /dev/null +++ b/gnulib/modules/wctype @@ -0,0 +1,35 @@ +Description: +wctype() function: get descriptor for a wide character property. + +Status: +obsolete + +Notice: +This module is obsolete. + +Files: +lib/wctype.c +lib/wctype-impl.h +m4/wctype.m4 + +Depends-on: +wctype-h +iswblank [test $HAVE_WCTYPE = 0] + +configure.ac: +gl_FUNC_WCTYPE +if test $HAVE_WCTYPE = 0; then + AC_LIBOBJ([wctype]) +fi +gl_WCTYPE_MODULE_INDICATOR([wctype]) + +Makefile.am: + +Include: +<wctype.h> + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/wctype-h b/gnulib/modules/wctype-h new file mode 100644 index 0000000..f7b7b59 --- /dev/null +++ b/gnulib/modules/wctype-h @@ -0,0 +1,58 @@ +Description: +A <wctype.h> that conforms better to C99. + +Files: +lib/wctype.in.h +m4/wctype_h.m4 +m4/wint_t.m4 + +Depends-on: +include_next +snippet/c++defs +snippet/warn-on-use + +configure.ac: +gl_WCTYPE_H + +Makefile.am: +BUILT_SOURCES += wctype.h + +# We need the following in order to create <wctype.h> when the system +# doesn't have one that works with the given compiler. +wctype.h: wctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ + -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \ + -e 's/@''GNULIB_ISWBLANK''@/$(GNULIB_ISWBLANK)/g' \ + -e 's/@''GNULIB_WCTYPE''@/$(GNULIB_WCTYPE)/g' \ + -e 's/@''GNULIB_ISWCTYPE''@/$(GNULIB_ISWCTYPE)/g' \ + -e 's/@''GNULIB_WCTRANS''@/$(GNULIB_WCTRANS)/g' \ + -e 's/@''GNULIB_TOWCTRANS''@/$(GNULIB_TOWCTRANS)/g' \ + -e 's/@''HAVE_ISWBLANK''@/$(HAVE_ISWBLANK)/g' \ + -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \ + -e 's/@''HAVE_WCTYPE_T''@/$(HAVE_WCTYPE_T)/g' \ + -e 's/@''HAVE_WCTRANS_T''@/$(HAVE_WCTRANS_T)/g' \ + -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \ + -e 's/@''REPLACE_ISWBLANK''@/$(REPLACE_ISWBLANK)/g' \ + -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \ + -e 's/@''REPLACE_TOWLOWER''@/$(REPLACE_TOWLOWER)/g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ + < $(srcdir)/wctype.in.h; \ + } > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += wctype.h wctype.h-t + +Include: +<wctype.h> + +License: +LGPLv2+ + +Maintainer: +all diff --git a/gnulib/modules/wctype-h-c++-tests b/gnulib/modules/wctype-h-c++-tests new file mode 100644 index 0000000..2b22df4 --- /dev/null +++ b/gnulib/modules/wctype-h-c++-tests @@ -0,0 +1,19 @@ +Files: +tests/test-wctype-h-c++.cc +tests/signature.h + +Status: +c++-test + +Depends-on: +ansi-c++-opt + +configure.ac: + +Makefile.am: +if ANSICXX +TESTS += test-wctype-h-c++ +check_PROGRAMS += test-wctype-h-c++ +test_wctype_h_c___SOURCES = test-wctype-h-c++.cc +test_wctype_h_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP) $(LIB_EACCESS) +endif diff --git a/gnulib/modules/wctype-h-tests b/gnulib/modules/wctype-h-tests new file mode 100644 index 0000000..5cce746 --- /dev/null +++ b/gnulib/modules/wctype-h-tests @@ -0,0 +1,12 @@ +Files: +tests/test-wctype-h.c +tests/macros.h + +Depends-on: +wctype-h-c++-tests + +configure.ac: + +Makefile.am: +TESTS += test-wctype-h +check_PROGRAMS += test-wctype-h diff --git a/gnulib/modules/wcwidth b/gnulib/modules/wcwidth new file mode 100644 index 0000000..7b6913b --- /dev/null +++ b/gnulib/modules/wcwidth @@ -0,0 +1,34 @@ +Description: +Determine the number of screen columns needed for a character. + +Files: +lib/wcwidth.c +m4/wcwidth.m4 +m4/wchar_t.m4 +m4/wint_t.m4 + +Depends-on: +wchar +extensions +wctype-h [test $HAVE_WCWIDTH = 0 || test $REPLACE_WCWIDTH = 1] +localcharset [test $HAVE_WCWIDTH = 0 || test $REPLACE_WCWIDTH = 1] +streq [test $HAVE_WCWIDTH = 0 || test $REPLACE_WCWIDTH = 1] +uniwidth/width [test $HAVE_WCWIDTH = 0 || test $REPLACE_WCWIDTH = 1] + +configure.ac: +gl_FUNC_WCWIDTH +if test $HAVE_WCWIDTH = 0 || test $REPLACE_WCWIDTH = 1; then + AC_LIBOBJ([wcwidth]) +fi +gl_WCHAR_MODULE_INDICATOR([wcwidth]) + +Makefile.am: + +Include: +<wchar.h> + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/wcwidth-tests b/gnulib/modules/wcwidth-tests new file mode 100644 index 0000000..0938a88 --- /dev/null +++ b/gnulib/modules/wcwidth-tests @@ -0,0 +1,14 @@ +Files: +tests/test-wcwidth.c +tests/signature.h +tests/macros.h + +Depends-on: +localcharset + +configure.ac: + +Makefile.am: +TESTS += test-wcwidth +check_PROGRAMS += test-wcwidth + diff --git a/gnulib/modules/winsz-ioctl b/gnulib/modules/winsz-ioctl new file mode 100644 index 0000000..9e1c37e --- /dev/null +++ b/gnulib/modules/winsz-ioctl @@ -0,0 +1,21 @@ +Description: +Test whether use of TIOCGWINSZ requires sys/ioctl.h. + +Files: +m4/jm-winsz2.m4 + +Depends-on: +winsz-termios + +configure.ac: +gl_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL + +Makefile.am: + +Include: + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/winsz-termios b/gnulib/modules/winsz-termios new file mode 100644 index 0000000..6e7e38b --- /dev/null +++ b/gnulib/modules/winsz-termios @@ -0,0 +1,21 @@ +Description: +Test whether use of TIOCGWINSZ requires termios.h. + +Files: +m4/jm-winsz1.m4 + +Depends-on: + +configure.ac: +gl_HEADER_TIOCGWINSZ_IN_TERMIOS_H +gl_WINSIZE_IN_PTEM + +Makefile.am: + +Include: + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/wmemchr b/gnulib/modules/wmemchr new file mode 100644 index 0000000..d34903c --- /dev/null +++ b/gnulib/modules/wmemchr @@ -0,0 +1,28 @@ +Description: +wmemchr() function: search wide character array for a wide character. + +Files: +lib/wmemchr.c +lib/wmemchr-impl.h +m4/wmemchr.m4 + +Depends-on: +wchar + +configure.ac: +gl_FUNC_WMEMCHR +if test $HAVE_WMEMCHR = 0; then + AC_LIBOBJ([wmemchr]) +fi +gl_WCHAR_MODULE_INDICATOR([wmemchr]) + +Makefile.am: + +Include: +<wchar.h> + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/wmemcmp b/gnulib/modules/wmemcmp new file mode 100644 index 0000000..2734e6a --- /dev/null +++ b/gnulib/modules/wmemcmp @@ -0,0 +1,28 @@ +Description: +wmemcmp() function: compare wide character arrays. + +Files: +lib/wmemcmp.c +lib/wmemcmp-impl.h +m4/wmemcmp.m4 + +Depends-on: +wchar + +configure.ac: +gl_FUNC_WMEMCMP +if test $HAVE_WMEMCMP = 0; then + AC_LIBOBJ([wmemcmp]) +fi +gl_WCHAR_MODULE_INDICATOR([wmemcmp]) + +Makefile.am: + +Include: +<wchar.h> + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/wmemcpy b/gnulib/modules/wmemcpy new file mode 100644 index 0000000..5d67619 --- /dev/null +++ b/gnulib/modules/wmemcpy @@ -0,0 +1,28 @@ +Description: +wmemcpy() function: copy wide character array. + +Files: +lib/wmemcpy.c +lib/wmemcpy-impl.h +m4/wmemcpy.m4 + +Depends-on: +wchar + +configure.ac: +gl_FUNC_WMEMCPY +if test $HAVE_WMEMCPY = 0; then + AC_LIBOBJ([wmemcpy]) +fi +gl_WCHAR_MODULE_INDICATOR([wmemcpy]) + +Makefile.am: + +Include: +<wchar.h> + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/wmemmove b/gnulib/modules/wmemmove new file mode 100644 index 0000000..da1d435 --- /dev/null +++ b/gnulib/modules/wmemmove @@ -0,0 +1,28 @@ +Description: +wmemmove() function: copy wide character array. + +Files: +lib/wmemmove.c +lib/wmemmove-impl.h +m4/wmemmove.m4 + +Depends-on: +wchar + +configure.ac: +gl_FUNC_WMEMMOVE +if test $HAVE_WMEMMOVE = 0; then + AC_LIBOBJ([wmemmove]) +fi +gl_WCHAR_MODULE_INDICATOR([wmemmove]) + +Makefile.am: + +Include: +<wchar.h> + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/wmemset b/gnulib/modules/wmemset new file mode 100644 index 0000000..68038dd --- /dev/null +++ b/gnulib/modules/wmemset @@ -0,0 +1,28 @@ +Description: +wmemset() function: fill wide character array. + +Files: +lib/wmemset.c +lib/wmemset-impl.h +m4/wmemset.m4 + +Depends-on: +wchar + +configure.ac: +gl_FUNC_WMEMSET +if test $HAVE_WMEMSET = 0; then + AC_LIBOBJ([wmemset]) +fi +gl_WCHAR_MODULE_INDICATOR([wmemset]) + +Makefile.am: + +Include: +<wchar.h> + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/write b/gnulib/modules/write new file mode 100644 index 0000000..3620741 --- /dev/null +++ b/gnulib/modules/write @@ -0,0 +1,32 @@ +Description: +POSIX compatible write() function: write data to a file descriptor + +Files: +lib/write.c +m4/write.m4 + +Depends-on: +unistd +raise [test $REPLACE_WRITE = 1] +msvc-inval [test $REPLACE_WRITE = 1] +msvc-nothrow [test $REPLACE_WRITE = 1] + +configure.ac: +gl_FUNC_WRITE +if test $REPLACE_WRITE = 1; then + AC_LIBOBJ([write]) + gl_PREREQ_WRITE +fi +gl_UNISTD_MODULE_INDICATOR([write]) + +Makefile.am: + +Include: +<unistd.h> + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/write-any-file b/gnulib/modules/write-any-file new file mode 100644 index 0000000..8f1a1ec --- /dev/null +++ b/gnulib/modules/write-any-file @@ -0,0 +1,26 @@ +Description: +Determine whether we can write any file. + +Files: +lib/write-any-file.h +lib/write-any-file.c +m4/write-any-file.m4 + +Depends-on: +stdbool +priv-set + +configure.ac: +gl_WRITE_ANY_FILE + +Makefile.am: +lib_SOURCES += write-any-file.c + +Include: +"write-any-file.h" + +License: +GPL + +Maintainer: +Paul Eggert, Jim Meyering diff --git a/gnulib/modules/write-tests b/gnulib/modules/write-tests new file mode 100644 index 0000000..4f1036e --- /dev/null +++ b/gnulib/modules/write-tests @@ -0,0 +1,14 @@ +Files: +tests/test-write.c +tests/signature.h +tests/macros.h + +Depends-on: +binary-io +open + +configure.ac: + +Makefile.am: +TESTS += test-write +check_PROGRAMS += test-write diff --git a/gnulib/modules/xalloc b/gnulib/modules/xalloc new file mode 100644 index 0000000..19e7a0b --- /dev/null +++ b/gnulib/modules/xalloc @@ -0,0 +1,27 @@ +Description: +Memory allocation with out-of-memory checking. Also see xalloc-die. + +Files: +lib/xalloc.h +lib/xmalloc.c +m4/xalloc.m4 + +Depends-on: +inline +xalloc-die +xalloc-oversized + +configure.ac: +gl_XALLOC + +Makefile.am: +lib_SOURCES += xmalloc.c + +Include: +"xalloc.h" + +License: +GPL + +Maintainer: +all diff --git a/gnulib/modules/xalloc-die b/gnulib/modules/xalloc-die new file mode 100644 index 0000000..b9f875c --- /dev/null +++ b/gnulib/modules/xalloc-die @@ -0,0 +1,25 @@ +Description: +Report a memory allocation failure and exit. + +Files: +lib/xalloc-die.c + +Depends-on: +xalloc +error +gettext-h +exitfail + +configure.ac: + +Makefile.am: +lib_SOURCES += xalloc-die.c + +Include: +"xalloc.h" + +License: +GPL + +Maintainer: +all diff --git a/gnulib/modules/xalloc-die-tests b/gnulib/modules/xalloc-die-tests new file mode 100644 index 0000000..ca7acd2 --- /dev/null +++ b/gnulib/modules/xalloc-die-tests @@ -0,0 +1,12 @@ +Files: +tests/test-xalloc-die.c +tests/test-xalloc-die.sh +tests/init.sh + +Depends-on: +progname + +Makefile.am: +TESTS += test-xalloc-die.sh +check_PROGRAMS += test-xalloc-die +test_xalloc_die_LDADD = $(LDADD) @LIBINTL@ diff --git a/gnulib/modules/xalloc-oversized b/gnulib/modules/xalloc-oversized new file mode 100644 index 0000000..708c621 --- /dev/null +++ b/gnulib/modules/xalloc-oversized @@ -0,0 +1,20 @@ +Description: +Check for memory allocation overflow. Also see xalloc. + +Files: +lib/xalloc-oversized.h + +Depends-on: + +configure.ac: + +Makefile.am: + +Include: +"xalloc-oversized.h" + +License: +GPL + +Maintainer: +all diff --git a/gnulib/modules/xconcat-filename b/gnulib/modules/xconcat-filename new file mode 100644 index 0000000..b8cb087 --- /dev/null +++ b/gnulib/modules/xconcat-filename @@ -0,0 +1,26 @@ +Description: +Construct a full filename by concatenating a directory name, a relative +filename, and a suffix, with out-of-memory checking. + +Files: +lib/concat-filename.h +lib/xconcat-filename.c + +Depends-on: +concat-filename +xalloc-die + +configure.ac: + +Makefile.am: +lib_SOURCES += xconcat-filename.c + +Include: +"concat-filename.h" + +License: +GPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/xfreopen b/gnulib/modules/xfreopen new file mode 100644 index 0000000..e41b2a6 --- /dev/null +++ b/gnulib/modules/xfreopen @@ -0,0 +1,26 @@ +Description: +a wrapper for frepoen + +Files: +lib/xfreopen.c +lib/xfreopen.h + +Depends-on: +error +exitfail +freopen-safer +quote + +configure.ac: + +Makefile.am: +lib_SOURCES += xfreopen.c xfreopen.h + +Include: +"xfreopen.h" + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/xgetcwd b/gnulib/modules/xgetcwd new file mode 100644 index 0000000..21cef52 --- /dev/null +++ b/gnulib/modules/xgetcwd @@ -0,0 +1,27 @@ +Description: +Return the current working directory, without size limitations. + +Files: +lib/xgetcwd.h +lib/xgetcwd.c +m4/xgetcwd.m4 + +Depends-on: +getcwd +xalloc +stdbool + +configure.ac: +gl_XGETCWD + +Makefile.am: +lib_SOURCES += xgetcwd.c + +Include: +"xgetcwd.h" + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/xgetdomainname b/gnulib/modules/xgetdomainname new file mode 100644 index 0000000..307aa5d --- /dev/null +++ b/gnulib/modules/xgetdomainname @@ -0,0 +1,24 @@ +Description: +Return machine's domainname, without size limitations. + +Files: +lib/xgetdomainname.h +lib/xgetdomainname.c + +Depends-on: +getdomainname +xalloc + +configure.ac: + +Makefile.am: +lib_SOURCES += xgetdomainname.h xgetdomainname.c + +Include: +"xgetdomainname.h" + +License: +GPL + +Maintainer: +Simon Josefsson diff --git a/gnulib/modules/xgetgroups b/gnulib/modules/xgetgroups new file mode 100644 index 0000000..6ae3614 --- /dev/null +++ b/gnulib/modules/xgetgroups @@ -0,0 +1,25 @@ +Description: +Return the group IDs of a user or current process in malloc'd storage, with +out-of-memory checking. + +Files: +lib/xgetgroups.c + +Depends-on: +mgetgroups +xalloc + +configure.ac: +gl_MODULE_INDICATOR([xgetgroups]) + +Makefile.am: +lib_SOURCES += xgetgroups.c + +Include: +"mgetgroups.h" + +License: +GPL + +Maintainer: +Jim Meyering, Eric Blake diff --git a/gnulib/modules/xgethostname b/gnulib/modules/xgethostname new file mode 100644 index 0000000..07cf83d --- /dev/null +++ b/gnulib/modules/xgethostname @@ -0,0 +1,25 @@ +Description: +Return machine's hostname, without size limitations. + +Files: +lib/xgethostname.h +lib/xgethostname.c + +Depends-on: +gethostname +xalloc + +configure.ac: + +Makefile.am: +lib_SOURCES += xgethostname.h xgethostname.c + +Include: +"xgethostname.h" + +License: +GPL + +Maintainer: +Jim Meyering + diff --git a/gnulib/modules/xlist b/gnulib/modules/xlist new file mode 100644 index 0000000..ce17e6b --- /dev/null +++ b/gnulib/modules/xlist @@ -0,0 +1,28 @@ +Description: +Abstract sequential list data type, with out-of-memory checking. + +Files: +lib/gl_xlist.h +lib/gl_xlist.c +m4/gl_list.m4 + +Depends-on: +list +inline +stdbool +xalloc-die + +configure.ac: +gl_LIST + +Makefile.am: +lib_SOURCES += gl_xlist.h gl_xlist.c + +Include: +"gl_xlist.h" + +License: +GPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/xmalloca b/gnulib/modules/xmalloca new file mode 100644 index 0000000..449568a --- /dev/null +++ b/gnulib/modules/xmalloca @@ -0,0 +1,24 @@ +Description: +Safe automatic memory allocation with out of memory checking. + +Files: +lib/xmalloca.h +lib/xmalloca.c + +Depends-on: +malloca +xalloc + +configure.ac: + +Makefile.am: +lib_SOURCES += xmalloca.c + +Include: +"xmalloca.h" + +License: +GPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/xmemcoll b/gnulib/modules/xmemcoll new file mode 100644 index 0000000..06d06a3 --- /dev/null +++ b/gnulib/modules/xmemcoll @@ -0,0 +1,28 @@ +Description: +Locale dependent memory area comparison, with error checking. + +Files: +lib/xmemcoll.h +lib/xmemcoll.c + +Depends-on: +memcoll +gettext-h +error +quotearg +exitfail + +configure.ac: + +Makefile.am: +lib_SOURCES += xmemcoll.h xmemcoll.c + +Include: +"xmemcoll.h" + +License: +GPL + +Maintainer: +Paul Eggert, Jim Meyering + diff --git a/gnulib/modules/xmemdup0 b/gnulib/modules/xmemdup0 new file mode 100644 index 0000000..d7ea438 --- /dev/null +++ b/gnulib/modules/xmemdup0 @@ -0,0 +1,23 @@ +Description: +Copy a block of arbitrary bytes, and append a trailing NUL. + +Files: +lib/xmemdup0.h +lib/xmemdup0.c + +Depends-on: +xalloc + +configure.ac: +AC_LIBOBJ([xmemdup0]) + +Makefile.am: + +Include: +"xmemdup0.h" + +License: +GPL + +Maintainer: +Eric Blake diff --git a/gnulib/modules/xmemdup0-tests b/gnulib/modules/xmemdup0-tests new file mode 100644 index 0000000..13311f0 --- /dev/null +++ b/gnulib/modules/xmemdup0-tests @@ -0,0 +1,13 @@ +Files: +tests/test-xmemdup0.c +tests/macros.h + +Depends-on: +progname + +configure.ac: + +Makefile.am: +TESTS += test-xmemdup0 +check_PROGRAMS += test-xmemdup0 +test_xmemdup0_LDADD = $(LDADD) @LIBINTL@ diff --git a/gnulib/modules/xnanosleep b/gnulib/modules/xnanosleep new file mode 100644 index 0000000..0a2b373 --- /dev/null +++ b/gnulib/modules/xnanosleep @@ -0,0 +1,30 @@ +Description: +a more convenient interface to nanosleep + +Files: +lib/xnanosleep.h +lib/xnanosleep.c +m4/xnanosleep.m4 + +Depends-on: +dtotimespec +nanosleep +time + +configure.ac: +gl_XNANOSLEEP + +Makefile.am: +lib_SOURCES += xnanosleep.c + +Include: +"xnanosleep.h" + +Link: +$(LIB_NANOSLEEP) + +License: +GPL + +Maintainer: +Paul Eggert, Jim Meyering diff --git a/gnulib/modules/xoset b/gnulib/modules/xoset new file mode 100644 index 0000000..61e8d54 --- /dev/null +++ b/gnulib/modules/xoset @@ -0,0 +1,28 @@ +Description: +Abstract ordered set data type, with out-of-memory checking. + +Files: +lib/gl_xoset.h +lib/gl_xoset.c +m4/gl_list.m4 + +Depends-on: +oset +inline +stdbool +xalloc-die + +configure.ac: +gl_LIST + +Makefile.am: +lib_SOURCES += gl_xoset.h gl_xoset.c + +Include: +"gl_xoset.h" + +License: +GPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/xprintf b/gnulib/modules/xprintf new file mode 100644 index 0000000..186e3b0 --- /dev/null +++ b/gnulib/modules/xprintf @@ -0,0 +1,38 @@ +Description: +a wrapper around printf that calls error upon ENOMEM or EILSEQ errors + +Notice: +If you are using GNU gettext version 0.16.1 or older, add the following options +to XGETTEXT_OPTIONS in your po/Makevars: + --flag=xprintf:1:c-format --flag=xvprintf:1:c-format + --flag=xfprintf:2:c-format --flag=xvfprintf:2:c-format + +Files: +lib/xprintf.h +lib/xprintf.c + +Depends-on: +error +exitfail +gettext-h +stdarg +stdio + +configure.ac: +m4_ifdef([AM_XGETTEXT_OPTION], + [AM_][XGETTEXT_OPTION([--flag=xprintf:1:c-format]) + AM_][XGETTEXT_OPTION([--flag=xvprintf:1:c-format]) + AM_][XGETTEXT_OPTION([--flag=xfprintf:2:c-format]) + AM_][XGETTEXT_OPTION([--flag=xvfprintf:2:c-format])]) + +Makefile.am: +lib_SOURCES += xprintf.h xprintf.c + +Include: +"xprintf.h" + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/xprintf-posix b/gnulib/modules/xprintf-posix new file mode 100644 index 0000000..d25741e --- /dev/null +++ b/gnulib/modules/xprintf-posix @@ -0,0 +1,30 @@ +Description: +A wrapper around printf with POSIX compatible format string interpretation, +that calls error upon ENOMEM or EILSEQ errors. + +Comment: +This module should not be used as a dependency from a test module, +otherwise when this module occurs as a tests-related module, it will +have side effects on the compilation of the 'vasnprintf' module, if +that module occurs among the main modules in lib/. + +Files: + +Depends-on: +xprintf +vprintf-posix +vfprintf-posix + +configure.ac: + +Makefile.am: + +Include: +"xprintf.h" + +License: +GPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/xprintf-posix-tests b/gnulib/modules/xprintf-posix-tests new file mode 100644 index 0000000..a8b2984 --- /dev/null +++ b/gnulib/modules/xprintf-posix-tests @@ -0,0 +1,21 @@ +Files: +tests/test-xprintf-posix.sh +tests/test-xfprintf-posix.c +tests/test-xprintf-posix.c +tests/test-fprintf-posix.h +tests/test-printf-posix.h +tests/test-printf-posix.output +tests/infinity.h +tests/macros.h + +Depends-on: +stdint +progname + +configure.ac: + +Makefile.am: +TESTS += test-xprintf-posix.sh +check_PROGRAMS += test-xfprintf-posix test-xprintf-posix +test_xfprintf_posix_LDADD = $(LDADD) @LIBINTL@ +test_xprintf_posix_LDADD = $(LDADD) @LIBINTL@ diff --git a/gnulib/modules/xreadlink b/gnulib/modules/xreadlink new file mode 100644 index 0000000..36c0acf --- /dev/null +++ b/gnulib/modules/xreadlink @@ -0,0 +1,24 @@ +Description: +Reading symbolic links without size limitation. + +Files: +lib/xreadlink.h +lib/xreadlink.c + +Depends-on: +areadlink +xalloc + +configure.ac: + +Makefile.am: +lib_SOURCES += xreadlink.c + +Include: +"xreadlink.h" + +License: +GPL + +Maintainer: +Bruno Haible, Jim Meyering diff --git a/gnulib/modules/xreadlinkat b/gnulib/modules/xreadlinkat new file mode 100644 index 0000000..81f87de --- /dev/null +++ b/gnulib/modules/xreadlinkat @@ -0,0 +1,25 @@ +Description: +Reading symbolic links without size limitation, relative to fd. + +Files: +lib/xreadlink.h +lib/xreadlinkat.c + +Depends-on: +areadlinkat +xalloc + +configure.ac: +gl_MODULE_INDICATOR([xreadlinkat]) + +Makefile.am: +lib_SOURCES += xreadlinkat.c + +Include: +"xreadlink.h" + +License: +GPL + +Maintainer: +Jim Meyering, Eric Blake diff --git a/gnulib/modules/xsetenv b/gnulib/modules/xsetenv new file mode 100644 index 0000000..66c1c4c --- /dev/null +++ b/gnulib/modules/xsetenv @@ -0,0 +1,28 @@ +Description: +xsetenv() function: set an environment variable, with out-of-memory checking. +unsetenv() function: remove an environment variable. + +Files: +lib/xsetenv.h +lib/xsetenv.c + +Depends-on: +setenv +unsetenv +error +gettext-h +stdlib + +configure.ac: + +Makefile.am: +lib_SOURCES += xsetenv.h xsetenv.c + +Include: +"xsetenv.h" + +License: +GPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/xsize b/gnulib/modules/xsize new file mode 100644 index 0000000..edaf60f --- /dev/null +++ b/gnulib/modules/xsize @@ -0,0 +1,25 @@ +Description: +Checked size_t computations. + +Files: +lib/xsize.h +m4/xsize.m4 + +Depends-on: +size_max + +configure.ac: +gl_XSIZE + +Makefile.am: +lib_SOURCES += xsize.h + +Include: +"xsize.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/xstriconv b/gnulib/modules/xstriconv new file mode 100644 index 0000000..02b00a8 --- /dev/null +++ b/gnulib/modules/xstriconv @@ -0,0 +1,29 @@ +Description: +Character set conversion of strings made easy, uses iconv, with out-of-memory +checking. + +Files: +lib/xstriconv.h +lib/xstriconv.c + +Depends-on: +striconv +xalloc + +configure.ac: + +Makefile.am: +lib_SOURCES += xstriconv.h xstriconv.c + +Include: +"xstriconv.h" + +Link: +$(LTLIBICONV) when linking with libtool, $(LIBICONV) otherwise + +License: +GPL + +Maintainer: +Bruno Haible, Simon Josefsson + diff --git a/gnulib/modules/xstriconveh b/gnulib/modules/xstriconveh new file mode 100644 index 0000000..461d8a2 --- /dev/null +++ b/gnulib/modules/xstriconveh @@ -0,0 +1,28 @@ +Description: +Character set conversion of strings made easy, uses iconv, with out-of-memory +checking. + +Files: +lib/xstriconveh.h +lib/xstriconveh.c + +Depends-on: +striconveh +xalloc + +configure.ac: + +Makefile.am: +lib_SOURCES += xstriconveh.c + +Include: +"xstriconveh.h" + +Link: +$(LTLIBICONV) when linking with libtool, $(LIBICONV) otherwise + +License: +GPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/xstrndup b/gnulib/modules/xstrndup new file mode 100644 index 0000000..dfd72a7 --- /dev/null +++ b/gnulib/modules/xstrndup @@ -0,0 +1,27 @@ +Description: +Duplicate a bounded initial segment of a string, with out-of-memory checking. + +Files: +lib/xstrndup.h +lib/xstrndup.c +m4/xstrndup.m4 + +Depends-on: +strndup +xalloc + +configure.ac: +gl_XSTRNDUP + +Makefile.am: +lib_SOURCES += xstrndup.h xstrndup.c + +Include: +"xstrndup.h" + +License: +GPL + +Maintainer: +Simon Josefsson + diff --git a/gnulib/modules/xstrtod b/gnulib/modules/xstrtod new file mode 100644 index 0000000..6163365 --- /dev/null +++ b/gnulib/modules/xstrtod @@ -0,0 +1,25 @@ +Description: +Convert string to 'double', with error checking. + +Files: +lib/xstrtod.h +lib/xstrtod.c +m4/xstrtod.m4 + +Depends-on: +stdbool + +configure.ac: +gl_XSTRTOD + +Makefile.am: +lib_SOURCES += xstrtod.c + +Include: +"xstrtod.h" + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/xstrtoimax b/gnulib/modules/xstrtoimax new file mode 100644 index 0000000..3ab6623 --- /dev/null +++ b/gnulib/modules/xstrtoimax @@ -0,0 +1,23 @@ +Description: +Convert string to 'intmax_t', with error checking. + +Files: +lib/xstrtoimax.c + +Depends-on: +xstrtol +strtoimax + +configure.ac: + +Makefile.am: +lib_SOURCES += xstrtoimax.c + +Include: +"xstrtol.h" + +License: +GPL + +Maintainer: +Paul Eggert diff --git a/gnulib/modules/xstrtoimax-tests b/gnulib/modules/xstrtoimax-tests new file mode 100644 index 0000000..ea8e1ba --- /dev/null +++ b/gnulib/modules/xstrtoimax-tests @@ -0,0 +1,13 @@ +Files: +tests/init.sh +tests/test-xstrtoimax.c +tests/test-xstrtoimax.sh + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-xstrtoimax.sh +check_PROGRAMS += test-xstrtoimax +test_xstrtoimax_LDADD = $(LDADD) @LIBINTL@ diff --git a/gnulib/modules/xstrtol b/gnulib/modules/xstrtol new file mode 100644 index 0000000..66e5342 --- /dev/null +++ b/gnulib/modules/xstrtol @@ -0,0 +1,32 @@ +Description: +Convert string to 'long' or 'unsigned long', with error checking. + +Files: +lib/xstrtol.h +lib/xstrtol.c +lib/xstrtoul.c +lib/xstrtol-error.c +m4/xstrtol.m4 + +Depends-on: +exitfail +error +getopt-gnu +gettext-h +intprops +inttypes-incomplete + +configure.ac: +gl_XSTRTOL + +Makefile.am: +lib_SOURCES += xstrtol.c xstrtoul.c xstrtol-error.c + +Include: +"xstrtol.h" + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/xstrtol-tests b/gnulib/modules/xstrtol-tests new file mode 100644 index 0000000..1fa29ab --- /dev/null +++ b/gnulib/modules/xstrtol-tests @@ -0,0 +1,16 @@ +Files: +tests/init.sh +tests/test-xstrtol.c +tests/test-xstrtoul.c +tests/test-xstrtol.sh + +Depends-on: +inttypes + +configure.ac: + +Makefile.am: +TESTS += test-xstrtol.sh +check_PROGRAMS += test-xstrtol test-xstrtoul +test_xstrtol_LDADD = $(LDADD) @LIBINTL@ +test_xstrtoul_LDADD = $(LDADD) @LIBINTL@ diff --git a/gnulib/modules/xstrtold b/gnulib/modules/xstrtold new file mode 100644 index 0000000..f3c95d0 --- /dev/null +++ b/gnulib/modules/xstrtold @@ -0,0 +1,26 @@ +Description: +Convert string to 'long double', with error checking. + +Files: +lib/xstrtod.h +lib/xstrtod.c +lib/xstrtold.c +m4/xstrtod.m4 + +Depends-on: +stdbool + +configure.ac: +gl_XSTRTOLD + +Makefile.am: +lib_SOURCES += xstrtold.c + +Include: +"xstrtod.h" + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/xstrtoll b/gnulib/modules/xstrtoll new file mode 100644 index 0000000..a5da211 --- /dev/null +++ b/gnulib/modules/xstrtoll @@ -0,0 +1,30 @@ +Description: +Convert string to 'long long' or 'unsigned long long', with error checking. + +Files: +lib/xstrtoll.c +lib/xstrtoull.c + +Depends-on: +strtoll +strtoull +xstrtol + +configure.ac: +AC_LIBOBJ([xstrtoll]) +AC_LIBOBJ([xstrtoull]) +AC_TYPE_LONG_LONG_INT +test $ac_cv_type_long_long_int = no \ + && AC_MSG_ERROR( + [you lack long long support; required by gnulib's xstrtoll module]) + +Makefile.am: + +Include: +"xstrtol.h" + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/xstrtoll-tests b/gnulib/modules/xstrtoll-tests new file mode 100644 index 0000000..bef462a --- /dev/null +++ b/gnulib/modules/xstrtoll-tests @@ -0,0 +1,17 @@ +Files: +tests/init.sh +tests/test-xstrtol.c +tests/test-xstrtoll.c +tests/test-xstrtoull.c +tests/test-xstrtoll.sh + +Depends-on: +inttypes + +configure.ac: + +Makefile.am: +TESTS += test-xstrtoll.sh +check_PROGRAMS += test-xstrtoll test-xstrtoull +test_xstrtoll_LDADD = $(LDADD) $(LIBINTL) +test_xstrtoull_LDADD = $(LDADD) $(LIBINTL) diff --git a/gnulib/modules/xstrtoumax b/gnulib/modules/xstrtoumax new file mode 100644 index 0000000..0d8ad36 --- /dev/null +++ b/gnulib/modules/xstrtoumax @@ -0,0 +1,23 @@ +Description: +Convert string to 'uintmax_t', with error checking. + +Files: +lib/xstrtoumax.c + +Depends-on: +xstrtol +strtoumax + +configure.ac: + +Makefile.am: +lib_SOURCES += xstrtoumax.c + +Include: +"xstrtol.h" + +License: +GPL + +Maintainer: +Paul Eggert diff --git a/gnulib/modules/xstrtoumax-tests b/gnulib/modules/xstrtoumax-tests new file mode 100644 index 0000000..5d49c4b --- /dev/null +++ b/gnulib/modules/xstrtoumax-tests @@ -0,0 +1,13 @@ +Files: +tests/init.sh +tests/test-xstrtoumax.c +tests/test-xstrtoumax.sh + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-xstrtoumax.sh +check_PROGRAMS += test-xstrtoumax +test_xstrtoumax_LDADD = $(LDADD) @LIBINTL@ diff --git a/gnulib/modules/xsublist b/gnulib/modules/xsublist new file mode 100644 index 0000000..e3b7cf8 --- /dev/null +++ b/gnulib/modules/xsublist @@ -0,0 +1,24 @@ +Description: +Sequential list data type backed by another list, with out-of-memory checking. + +Files: +lib/gl_xsublist.h +lib/gl_xsublist.c + +Depends-on: +sublist +xalloc-die + +configure.ac: + +Makefile.am: +lib_SOURCES += gl_xsublist.h gl_xsublist.c + +Include: +"gl_xsublist.h" + +License: +GPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/xvasprintf b/gnulib/modules/xvasprintf new file mode 100644 index 0000000..a931d7c --- /dev/null +++ b/gnulib/modules/xvasprintf @@ -0,0 +1,37 @@ +Description: +vasprintf and asprintf with out-of-memory checking. Also see xalloc-die. + +Notice: +If you are using GNU gettext version 0.16.1 or older, add the following options +to XGETTEXT_OPTIONS in your po/Makevars: --flag=xasprintf:1:c-format + +Files: +lib/xvasprintf.h +lib/xvasprintf.c +lib/xasprintf.c +lib/xalloc.h +m4/xvasprintf.m4 + +Depends-on: +vasprintf +xalloc-die +xsize +stdarg +errno + +configure.ac: +gl_XVASPRINTF +m4_ifdef([AM_XGETTEXT_OPTION], + [AM_][XGETTEXT_OPTION([--flag=xasprintf:1:c-format])]) + +Makefile.am: +lib_SOURCES += xvasprintf.h xvasprintf.c xasprintf.c + +Include: +"xvasprintf.h" + +License: +GPL + +Maintainer: +Oskar Liljeblad diff --git a/gnulib/modules/xvasprintf-posix b/gnulib/modules/xvasprintf-posix new file mode 100644 index 0000000..8811f9c --- /dev/null +++ b/gnulib/modules/xvasprintf-posix @@ -0,0 +1,29 @@ +Description: +vasprintf and asprintf with POSIX compatible format string interpretation and +with out-of-memory checking. Also see xalloc-die. + +Comment: +This module should not be used as a dependency from a test module, +otherwise when this module occurs as a tests-related module, it will +have side effects on the compilation of the 'vasnprintf' module, if +that module occurs among the main modules in lib/. + +Files: + +Depends-on: +xvasprintf +vasprintf-posix + +configure.ac: + +Makefile.am: + +Include: +"xvasprintf.h" + +License: +GPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/xvasprintf-tests b/gnulib/modules/xvasprintf-tests new file mode 100644 index 0000000..77d536e --- /dev/null +++ b/gnulib/modules/xvasprintf-tests @@ -0,0 +1,14 @@ +Files: +tests/test-xvasprintf.c +tests/macros.h + +Depends-on: +progname + +configure.ac: + +Makefile.am: +TESTS += test-xvasprintf +check_PROGRAMS += test-xvasprintf +test_xvasprintf_LDADD = $(LDADD) @LIBINTL@ + diff --git a/gnulib/modules/y0 b/gnulib/modules/y0 new file mode 100644 index 0000000..0c0ea34 --- /dev/null +++ b/gnulib/modules/y0 @@ -0,0 +1,24 @@ +Description: +y0() function: Bessel function of the second kind of order 0. + +Files: +m4/mathfunc.m4 + +Depends-on: + +configure.ac: +gl_COMMON_DOUBLE_MATHFUNC([y0]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(Y0_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/y0-tests b/gnulib/modules/y0-tests new file mode 100644 index 0000000..77eef72 --- /dev/null +++ b/gnulib/modules/y0-tests @@ -0,0 +1,13 @@ +Files: +tests/test-y0.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-y0 +check_PROGRAMS += test-y0 +test_y0_LDADD = $(LDADD) @Y0_LIBM@ diff --git a/gnulib/modules/y1 b/gnulib/modules/y1 new file mode 100644 index 0000000..e5ae84f --- /dev/null +++ b/gnulib/modules/y1 @@ -0,0 +1,24 @@ +Description: +y1() function: Bessel function of the second kind of order 1. + +Files: +m4/mathfunc.m4 + +Depends-on: + +configure.ac: +gl_COMMON_DOUBLE_MATHFUNC([y1]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(Y1_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/y1-tests b/gnulib/modules/y1-tests new file mode 100644 index 0000000..7747ad3 --- /dev/null +++ b/gnulib/modules/y1-tests @@ -0,0 +1,13 @@ +Files: +tests/test-y1.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-y1 +check_PROGRAMS += test-y1 +test_y1_LDADD = $(LDADD) @Y1_LIBM@ diff --git a/gnulib/modules/yesno b/gnulib/modules/yesno new file mode 100644 index 0000000..5b5f4cd --- /dev/null +++ b/gnulib/modules/yesno @@ -0,0 +1,28 @@ +Description: +Read a response from the user, and its classification as matching "yes" or +"no". + +Files: +lib/yesno.c +lib/yesno.h +m4/yesno.m4 + +Depends-on: +getline +rpmatch +stdbool + +configure.ac: +gl_YESNO + +Makefile.am: +lib_SOURCES += yesno.c + +Include: +"yesno.h" + +License: +GPL + +Maintainer: +Jim Meyering diff --git a/gnulib/modules/yesno-tests b/gnulib/modules/yesno-tests new file mode 100644 index 0000000..3e1e0a2 --- /dev/null +++ b/gnulib/modules/yesno-tests @@ -0,0 +1,15 @@ +Files: +tests/init.sh +tests/test-yesno.c +tests/test-yesno.sh + +Depends-on: +closein +binary-io + +configure.ac: + +Makefile.am: +TESTS += test-yesno.sh +check_PROGRAMS += test-yesno +test_yesno_LDADD = $(LDADD) @LIBINTL@ diff --git a/gnulib/modules/yield b/gnulib/modules/yield new file mode 100644 index 0000000..24ffcdd --- /dev/null +++ b/gnulib/modules/yield @@ -0,0 +1,29 @@ +Description: +Yielding the processor to other threads. + +Files: +lib/glthread/yield.h +m4/yield.m4 + +Depends-on: +threadlib + +configure.ac: +gl_YIELD + +Makefile.am: +lib_SOURCES += glthread/yield.h + +Include: +"glthread/yield.h" + +Link: +$(LTLIBTHREAD) when linking with libtool, $(LIBTHREAD) otherwise +$(YIELD_LIB) + +License: +LGPLv2+ + +Maintainer: +Yoann Vandoorselaere + diff --git a/gnulib/modules/yn b/gnulib/modules/yn new file mode 100644 index 0000000..8db1308 --- /dev/null +++ b/gnulib/modules/yn @@ -0,0 +1,24 @@ +Description: +yn() function: Bessel function of the second kind of order n. + +Files: +m4/mathfunc.m4 + +Depends-on: + +configure.ac: +gl_COMMON_DOUBLE_MATHFUNC([yn]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(YN_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible diff --git a/gnulib/modules/yn-tests b/gnulib/modules/yn-tests new file mode 100644 index 0000000..6dbea0b --- /dev/null +++ b/gnulib/modules/yn-tests @@ -0,0 +1,13 @@ +Files: +tests/test-yn.c +tests/signature.h +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-yn +check_PROGRAMS += test-yn +test_yn_LDADD = $(LDADD) @YN_LIBM@ |