# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
-# Usage: MODULES.html.sh [--cvs-urls|--git-urls] > MODULES.html
+# Usage: MODULES.html.sh [--git-urls] > MODULES.html
# Extend the PATH so that gnulib-tool is found.
PATH=`dirname "$0"`:$PATH; export PATH
repo_url_suffix=
if test $# != 0; then
case "$1" in
- --cvs-urls)
- # Generate URLs to the official gnulib CVS repository.
- repo_url_prefix='http://cvs.sv.gnu.org/viewcvs/*checkout*/gnulib/'
- repo_url_suffix='?root=gnulib&content-type=text/plain'
- ;;
--git-urls)
# Generate URLs to the official gnulib git repository.
repo_url_prefix='http://git.sv.gnu.org/gitweb/?p=gnulib.git;a=blob_plain;f='
# func_all_modules
func_all_modules ()
{
- element="Support for systems lacking ANSI C 89"
- func_section_wrap ansic_sup
+ element="Support for obsolete systems lacking ANSI C 89"
+ func_section_wrap ansic_sup_obsolete
func_wrap H2
func_echo "$element"
func_begin_table
func_module stdlib
func_module exit
- func_module atexit
- func_module strtod
func_module strtol
func_module strtoul
func_module memchr
func_module memset
func_module strcspn
func_module strpbrk
+ func_end_table
+
+ func_echo 'These modules are not listed among dependencies below, for simplicity.'
+ func_echo 'If your package requires portability to old, obsolete systems, you need to list these modules explicitly among the modules to import through gnulib-tool.'
+
+ element="Support for systems lacking ANSI C 89"
+ func_section_wrap ansic_sup
+ func_wrap H2
+ func_echo "$element"
+
+ func_begin_table
+ func_module atexit
+ func_module strtod
func_module strerror
func_module mktime
func_end_table
- func_echo 'Most of these modules are not listed among dependencies below, for simplicity.'
-
element="Enhancements for ANSI C 89 functions"
func_section_wrap ansic_enh
func_wrap H2
func_module strcasestr
func_module strcasestr-simple
func_module strchrnul
- func_module strdup
func_module streq
func_module strnlen
func_module strnlen1
func_module mbfile
func_end_table
+ element="Support for obsolete systems lacking POSIX:2001"
+ func_section_wrap posix_sup_obsolete
+ func_wrap H2
+ func_echo "$element"
+
+ func_begin_table
+ func_module strdup
+ func_end_table
+
+ func_echo 'These modules are not listed among dependencies below, for simplicity.'
+ func_echo 'If your package requires portability to old, obsolete systems, you need to list these modules explicitly among the modules to import through gnulib-tool.'
+
element="Support for systems lacking POSIX:2001"
func_section_wrap posix_sup
func_wrap H2
func_module chown
func_module dup2
func_module environ
- func_module EOVERFLOW
+ func_module errno
func_module fchdir
func_module fcntl
func_module fopen
func_module freopen
func_module fseek
func_module fseeko
+ func_module fsync
func_module ftell
func_module ftello
func_module ftruncate
func_module mkstemp
func_module netinet_in
func_module open
+ func_module perror
func_module poll
func_module printf-posix
func_module readlink
func_module sleep
func_module snprintf-posix
func_module sprintf-posix
+ func_module strdup-posix
func_module string
func_module strings
func_module tempname
func_module c-stack
func_module libsigsegv
func_module sig2str
+ func_module sigpipe-die
func_end_table
element="Internationalization functions"
func_begin_table
func_module argp
func_module argz
+ func_module bitrotate
func_module byteswap
func_module exitfail
func_module error