#!/bin/sh
#
-# Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# Copyright (C) 2002-2006 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
# Usage: MODULES.html.sh > MODULES.html
# Extend the PATH so that gnulib-tool is found.
PATH=`dirname "$0"`:$PATH; export PATH
-POSIX2001_URL='http://www.opengroup.org/onlinepubs/007904975/'
+POSIX2001_URL='http://www.opengroup.org/susv3'
case $USER in
bruno )
- POSIX2001_URL='file:/packages/www/www.opengroup.org/susv3/' ;;
+ POSIX2001_URL='file:/packages/www/www.opengroup.org/susv3' ;;
esac
sed_lt='s,<,\<,g'
element='<A HREF="#module='$1'">'$1'</A>'
func_echo "<TD ALIGN=LEFT VALIGN=TOP WIDTH=\"20%\">$element"
- element=`gnulib-tool --extract-description $1 | sed -e "$sed_lt" -e "$sed_gt" -e "$sed_remove_trailing_empty_line" | sed -e 's,^, ,' | sed -e 's,\([^a-zA-Z]\)'"${posix_functions}"'(),\1<A HREF="'"$POSIX2001_URL"'functions/\2.html">\2</A>(),g' | sed -e 's,^ ,,'`
+ element=`gnulib-tool --extract-description $1 | sed -e "$sed_lt" -e "$sed_gt" -e "$sed_remove_trailing_empty_line" | sed -e 's,^, ,' | sed -e 's,\([^a-zA-Z]\)'"${posix_functions}"'(),\1<A HREF="'"$POSIX2001_URL"'xsh/\2.html">\2</A>(),g' | sed -e 's,^ ,,'`
func_echo "<TD ALIGN=LEFT VALIGN=TOP WIDTH=\"80%\">$element"
func_end TR
element='<A NAME="module='$1'"></A><A HREF="modules/'$1'">'$1'</A>'
func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
- element=`gnulib-tool --extract-include-directive $1 | sed -e "$sed_lt" -e "$sed_gt" -e "$sed_remove_trailing_empty_line" | sed -e 's,^#include "\(.*\)"$,#include "<A HREF="lib/\1">\1</A>",' -e 's,^#include <'"${posix_headers}"'\.h>$,#include \<<A HREF="'"$POSIX2001_URL"'basedefs/\1.h.html">\1.h</A>\>,' | sed -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'`
+ element=`gnulib-tool --extract-include-directive $1 | sed -e "$sed_lt" -e "$sed_gt" -e "$sed_remove_trailing_empty_line" | sed -e 's,^#include "\(.*\)"$,#include "<A HREF="lib/\1">\1</A>",' -e 's,^#include <'"${posix_headers}"'\.h>$,#include \<<A HREF="'"$POSIX2001_URL"'xbd/\1.h.html">\1.h</A>\>,' | sed -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'`
test -n "$element" || element='---'
func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
func_begin_table
func_module c-bs-a
func_module assert
+ func_module dummy
func_module exit
func_module atexit
func_module strtod
func_module mktime
func_end_table
- func_echo 'These modules are not listed among dependencies below, for simplicity.'
+ 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_echo "$element"
+ element="Diagnostics <assert.h>"
+ element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
+ func_section_wrap ansic_enh_assert_diagnostics
+ func_wrap H3
+ func_echo "$element"
+
+ func_begin_table
+ func_module verify
+ func_end_table
+
element="Memory management functions <stdlib.h>"
element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
func_section_wrap ansic_enh_stdlib_memory
func_echo "$element"
func_begin_table
+ func_module calloc
+ func_module eealloc
+ func_module free
func_module malloc
func_module realloc
+ func_module pagealign_alloc
func_end_table
element="Date and time <time.h>"
func_echo "$element"
func_begin_table
+ func_module fprintftime
func_module strftime
func_end_table
func_echo "$element"
func_begin_table
+ func_module xsize
func_module xalloc
+ func_module xalloc-die
func_module alloca
- func_module bumpalloc
+ func_module alloca-opt
+ func_module allocsa
+ func_module xallocsa
func_end_table
element="Integer arithmetic functions <stdlib.h>"
func_begin_table
func_module bcopy
+ func_module memmem
+ func_module mempcpy
func_module memrchr
func_module stpcpy
func_module stpncpy
+ func_module c-strcase
func_module strcase
+ func_module c-strcasestr
+ func_module strcasestr
+ func_module strchrnul
func_module strdup
func_module strnlen
+ func_module strnlen1
func_module strndup
+ func_module strsep
#func_module fstrcmp
+ func_module xstrndup
func_end_table
element="Numeric conversion functions <stdlib.h>"
func_echo "$element"
func_begin_table
+ func_module c-strtod
+ func_module c-strtold
func_module xstrtod
func_module xstrtol
func_end_table
func_begin_table
func_module getdate
+ func_module timegm
+ func_module tzset
func_end_table
element="Input/Output <stdio.h>"
func_begin_table
func_module unlocked-io
+ func_module fwriteerror
func_module vasnprintf
func_module vasprintf
+ func_module xvasprintf
+ func_end_table
+
+ element="Signal handling <signal.h>"
+ element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
+ func_section_wrap ansic_ext_signal
+ func_wrap H3
+ func_echo "$element"
+
+ func_begin_table
+ func_module fatal-signal
+ func_module raise
func_end_table
element="Command-line arguments"
func_begin_table
func_module argmatch
func_module version-etc
+ func_module version-etc-fsf
func_module long-options
func_end_table
func_begin_table
func_module md5
- func_module sha
+ func_module sha1
func_end_table
element="Misc"
func_echo "$element"
func_begin_table
+ func_module base64
+ func_module check-version
func_module diacrit
func_module getline
+ func_module getdelim
+ func_module getnline
+ func_module getndelim2
func_module linebuffer
func_module obstack
func_module hash-pjw
func_module hash
+ func_module readline
func_module readtokens
+ func_module readtokens0
func_module strverscmp
func_end_table
func_wrap H2
func_echo "$element"
+ element="Keywords"
+ element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
+ func_section_wrap isoc_sup_keywords
+ func_wrap H3
+ func_echo "$element"
+
+ func_begin_table
+ func_module restrict
+ func_end_table
+
+ element="Sizes of integer types <limits.h>"
+ element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
+ func_section_wrap isoc_sup_limits
+ func_wrap H3
+ func_echo "$element"
+
+ func_begin_table
+ func_module ullong_max
+ func_module size_max
+ func_end_table
+
element="Boolean type and values <stdbool.h>"
element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
func_section_wrap isoc_sup_stdbool
func_module stdbool
func_end_table
+ element="Integer types and values <stdint.h>"
+ element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
+ func_section_wrap isoc_sup_stdint
+ func_wrap H3
+ func_echo "$element"
+
+ func_begin_table
+ func_module stdint
+ func_end_table
+
+ element="Input/output <stdio.h>"
+ element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
+ func_section_wrap isoc_sup_stdio
+ func_wrap H3
+ func_echo "$element"
+
+ func_begin_table
+ func_module snprintf
+ func_module vsnprintf
+ func_end_table
+
element="Numeric conversion functions <stdlib.h>"
element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
func_section_wrap isoc_sup_stdlib_conv
func_echo "$element"
func_begin_table
+ func_module inttostr
func_module xstrtoimax
func_module xstrtoumax
func_end_table
+ element="Extended multibyte and wide character utilities <wchar.h>"
+ element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
+ func_section_wrap isoc_ext_wchar_mb
+ func_wrap H3
+ func_echo "$element"
+
+ func_begin_table
+ func_module mbchar
+ func_module mbiter
+ func_module mbuiter
+ func_module mbfile
+ func_end_table
+
element="Support for systems lacking POSIX:2001"
func_section_wrap posix_sup
func_wrap H2
func_module chown
func_module dup2
func_module ftruncate
+ func_module getaddrinfo
+ func_module getcwd
func_module getgroups
+ func_module gethostname
+ func_module getlogin_r
+ func_module getsubopt
func_module gettimeofday
+ func_module inet_ntop
func_module mkdir
func_module mkstemp
func_module mkdtemp
- func_module stat
+ func_module poll
+ func_module readlink
func_module lstat
+ func_module time_r
func_module timespec
func_module nanosleep
func_module regex
func_module rename
func_module rmdir
+ func_module ssize_t
+ func_module strtok_r
func_module utime
func_end_table
func_module fnmatch
func_module fnmatch-posix
func_module fnmatch-gnu
+ func_module glob
func_module exclude
func_end_table
func_begin_table
func_module acl
func_module backupfile
- #func_module copy-file
+ func_module canonicalize
+ func_module copy-file
+ func_module cycle-check
func_module fsusage
func_module dirfd
func_module euidaccess
func_module file-type
func_module fileblocks
func_module filemode
+ func_module filenamecat
+ func_module fts
+ func_module fts-lgpl
func_module isdir
func_module lchown
- func_module makepath
+ func_module mkdir-p
func_module modechange
func_module mountlist
- func_module path-concat
- #func_module pathname
+ func_module pathname
func_module pathmax
func_module same
func_module save-cwd
func_module savedir
+ func_module stat-time
+ func_module unlinkdir
+ func_module utimecmp
+ func_module utimens
func_module xgetcwd
func_module xreadlink
func_end_table
func_echo "$element"
func_begin_table
+ func_module fcntl-safer
func_module safe-read
func_module safe-write
func_module full-read
func_module full-write
- #func_module binary-io
+ func_module binary-io
func_end_table
element="File stream based Input/Output"
func_module closeout
func_module stdio-safer
func_module getpass
+ func_module getpass-gnu
func_end_table
element="Users and groups"
func_module gettime
func_module settime
func_module posixtm
+ func_module xnanosleep
func_end_table
element="Networking functions"
func_echo "$element"
func_begin_table
- func_module gethostname
func_module xgethostname
func_module canon-host
func_end_table
+ element="Multithreading"
+ element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
+ func_section_wrap posix_ext_thread
+ func_wrap H3
+ func_echo "$element"
+
+ func_begin_table
+ func_module lock
+ func_module tls
+ func_end_table
+
element="Internationalization functions"
element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
func_section_wrap posix_ext_i18n
func_begin_table
func_module gettext
+ func_module gettext-h
func_module iconv
+ func_module iconvme
func_module localcharset
func_module hard-locale
func_module mbswidth
func_module unicodeio
func_module rpmatch
func_module yesno
- #func_module ucs4-utf8
- #func_module ucs4-utf16
- #func_module utf8-ucs4
- #func_module utf16-ucs4
- #func_module linebreak
+ func_module ucs4-utf8
+ func_module ucs4-utf16
+ func_module utf8-ucs4
+ func_module utf16-ucs4
+ func_module linebreak
func_end_table
element="Executing programs"
func_wrap H3
func_echo "$element"
- #func_begin_table
- #func_module findprog
- #func_module wait-process
- #func_module execute
- #func_module pipe
- #func_module sh-quote
- #func_end_table
+ func_begin_table
+ func_module cloexec
+ func_module findprog
+ func_module wait-process
+ func_module execute
+ func_module pipe
+ func_module sh-quote
+ func_end_table
element="Java"
element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
func_wrap H3
func_echo "$element"
- #func_begin_table
- #func_module classpath
- #func_module javacomp
- #func_module javaexec
+ func_begin_table
+ func_module classpath
+ func_module javacomp
+ func_module javaexec
#func_module gcj
- #func_end_table
+ func_end_table
+
+ element="C#"
+ element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
+ func_section_wrap posix_ext_csharp
+ func_wrap H3
+ func_echo "$element"
+
+ func_begin_table
+ func_module csharpcomp
+ func_module csharpexec
+ func_end_table
element="Misc"
element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
func_echo "$element"
func_begin_table
+ func_module argp
+ func_module argz
+ func_module byteswap
func_module exitfail
func_module c-stack
func_module error
- func_module fatal
+ func_module extensions
+ func_module getdomainname
+ func_module xgetdomainname
func_module getloadavg
func_module getpagesize
func_module getusershell
func_module physmem
func_module posixver
+ func_module progname
func_module quotearg
func_module quote
func_module readutmp
func_module sig2str
+ func_module sysexits
+ func_module visibility
+ func_end_table
+
+ element="Support for building libraries and executables"
+ func_section_wrap build_lib
+ func_wrap H2
+ func_echo "$element"
+
+ func_begin_table
+ func_module ldd
+ func_module lib-ignore
func_end_table
}
func_begin BODY
-func_end BODY
-
element="Gnulib Module List"
func_wrap H1
func_echo "$element"
func_echo '<LI>One or more implementation files: lib/<VAR>module</VAR>.c et al.'
func_echo '<LI>One or more autoconf macro files: m4/<VAR>module</VAR>.m4 et al.'
func_echo '<LI>A configure.ac fragment, Makefile.am fragment, dependency list: modules/<VAR>module</VAR>'
+func_echo '<LI>A testsuite: source files in tests/ and metainformation (a configure.ac fragment, Makefile.am fragment, dependency list) in modules/<VAR>module</VAR>-tests'
func_echo '<LI>Some documentation'
func_echo '<LI>A POT file and some PO files'
-func_echo '<LI>A testsuite'
func_end UL
func_echo '<HR>'
func_echo 'Generated from <CODE>MODULES.html.sh</CODE> on '`LC_ALL=C date +"%e %B %Y"`.
+func_end BODY
+
func_end HTML