3 # Copyright (C) 2002-2006 Free Software Foundation, Inc.
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2, or (at your option)
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software
17 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 # Usage: MODULES.html.sh > MODULES.html
22 # Extend the PATH so that gnulib-tool is found.
23 PATH=`dirname "$0"`:$PATH; export PATH
25 POSIX2001_URL='http://www.opengroup.org/susv3'
28 POSIX2001_URL='file:/packages/www/www.opengroup.org/susv3' ;;
33 sed_escape_dot='s,\.,\\.,g'
34 sed_escape_slash='s,/,\\/,g'
37 sed_alt2='s,^\\|,\\(,'
38 sed_alt3='s,\\|\\|$,\\),'
124 ' | sed -e "$sed_alt1" | tr -d "$trnl" | sed -e "$sed_alt2" -e "$sed_alt3"`
125 posix_functions=`echo '
723 posix_spawn_file_actions_addclose
724 posix_spawn_file_actions_adddup2
725 posix_spawn_file_actions_addopen
726 posix_spawn_file_actions_destroy
727 posix_spawn_file_actions_init
728 posix_spawnattr_destroy
729 posix_spawnattr_getflags
730 posix_spawnattr_getpgroup
731 posix_spawnattr_getschedparam
732 posix_spawnattr_getschedpolicy
733 posix_spawnattr_getsigdefault
734 posix_spawnattr_getsigmask
736 posix_spawnattr_setflags
737 posix_spawnattr_setpgroup
738 posix_spawnattr_setschedparam
739 posix_spawnattr_setschedpolicy
740 posix_spawnattr_setsigdefault
741 posix_spawnattr_setsigmask
743 posix_trace_attr_destroy
744 posix_trace_attr_getclockres
745 posix_trace_attr_getcreatetime
746 posix_trace_attr_getgenversion
747 posix_trace_attr_getinherited
748 posix_trace_attr_getlogfullpolicy
749 posix_trace_attr_getlogsize
750 posix_trace_attr_getmaxdatasize
751 posix_trace_attr_getmaxsystemeventsize
752 posix_trace_attr_getmaxusereventsize
753 posix_trace_attr_getname
754 posix_trace_attr_getstreamfullpolicy
755 posix_trace_attr_getstreamsize
756 posix_trace_attr_init
757 posix_trace_attr_setinherited
758 posix_trace_attr_setlogfullpolicy
759 posix_trace_attr_setlogsize
760 posix_trace_attr_setmaxdatasize
761 posix_trace_attr_setname
762 posix_trace_attr_setstreamfullpolicy
763 posix_trace_attr_setstreamsize
767 posix_trace_create_withlog
769 posix_trace_eventid_equal
770 posix_trace_eventid_get_name
771 posix_trace_eventid_open
772 posix_trace_eventset_add
773 posix_trace_eventset_del
774 posix_trace_eventset_empty
775 posix_trace_eventset_fill
776 posix_trace_eventset_ismember
777 posix_trace_eventtypelist_getnext_id
778 posix_trace_eventtypelist_rewind
781 posix_trace_get_filter
782 posix_trace_get_status
783 posix_trace_getnext_event
786 posix_trace_set_filter
790 posix_trace_timedgetnext_event
791 posix_trace_trid_eventid_open
792 posix_trace_trygetnext_event
793 posix_typed_mem_get_info
803 pthread_attr_getdetachstate
804 pthread_attr_getguardsize
805 pthread_attr_getinheritsched
806 pthread_attr_getschedparam
807 pthread_attr_getschedpolicy
808 pthread_attr_getscope
809 pthread_attr_getstack
810 pthread_attr_getstackaddr
811 pthread_attr_getstacksize
813 pthread_attr_setdetachstate
814 pthread_attr_setguardsize
815 pthread_attr_setinheritsched
816 pthread_attr_setschedparam
817 pthread_attr_setschedpolicy
818 pthread_attr_setscope
819 pthread_attr_setstack
820 pthread_attr_setstackaddr
821 pthread_attr_setstacksize
822 pthread_barrier_destroy
825 pthread_barrierattr_destroy
826 pthread_barrierattr_getpshared
827 pthread_barrierattr_init
828 pthread_barrierattr_setpshared
832 pthread_cond_broadcast
836 pthread_cond_timedwait
838 pthread_condattr_destroy
839 pthread_condattr_getclock
840 pthread_condattr_getpshared
841 pthread_condattr_init
842 pthread_condattr_setclock
843 pthread_condattr_setpshared
848 pthread_getconcurrency
849 pthread_getcpuclockid
850 pthread_getschedparam
856 pthread_mutex_destroy
857 pthread_mutex_getprioceiling
860 pthread_mutex_setprioceiling
861 pthread_mutex_timedlock
862 pthread_mutex_trylock
864 pthread_mutexattr_destroy
865 pthread_mutexattr_getprioceiling
866 pthread_mutexattr_getprotocol
867 pthread_mutexattr_getpshared
868 pthread_mutexattr_gettype
869 pthread_mutexattr_init
870 pthread_mutexattr_setprioceiling
871 pthread_mutexattr_setprotocol
872 pthread_mutexattr_setpshared
873 pthread_mutexattr_settype
875 pthread_rwlock_destroy
877 pthread_rwlock_rdlock
878 pthread_rwlock_timedrdlock
879 pthread_rwlock_timedwrlock
880 pthread_rwlock_tryrdlock
881 pthread_rwlock_trywrlock
882 pthread_rwlock_unlock
883 pthread_rwlock_wrlock
884 pthread_rwlockattr_destroy
885 pthread_rwlockattr_getpshared
886 pthread_rwlockattr_init
887 pthread_rwlockattr_setpshared
889 pthread_setcancelstate
890 pthread_setcanceltype
891 pthread_setconcurrency
892 pthread_setschedparam
961 sched_get_priority_max
964 sched_rr_get_interval
1243 ' | sed -e "$sed_alt1" | tr -d "$trnl" | sed -e "$sed_alt2" -e "$sed_alt3"`
1246 missed_modules=`gnulib-tool --list`
1247 missed_files=`ls -d lib/* m4/* | sed -e /CVS/d -e /README/d -e /ChangeLog/d -e /Makefile/d -e /TODO/d -e '/~$/d'`
1250 # outputs line with indentation.
1257 # increases the indentation.
1264 # decreases the indentation.
1267 indent=`echo "$indent" | sed -e 's/ $//'`
1270 # func_begin tag [attribute...]
1279 # closes a HTML tag.
1286 # func_wrap tag [attribute...]
1287 # encloses $element in a HTML tag, without line breaks.
1290 element="<$*>${element}</$1>"
1293 # func_section_wrap sectiontag
1294 # encloses $element in a HTML tag referring to the given tag.
1295 func_section_wrap ()
1297 if test -n "$in_toc"; then
1298 func_wrap A "HREF=\"#$1\""
1300 func_wrap A "NAME=\"$1\""
1308 if test -z "$in_toc"; then
1310 func_echo "<TH ALIGN=LEFT>modules/"
1311 func_echo "<TH ALIGN=LEFT>lib/"
1312 func_echo "<TH ALIGN=LEFT>lib/"
1313 func_echo "<TH ALIGN=LEFT>m4/"
1314 func_echo "<TH ALIGN=LEFT> "
1317 func_echo "<TH ALIGN=LEFT>Module"
1318 func_echo "<TH ALIGN=LEFT>Header"
1319 func_echo "<TH ALIGN=LEFT>Implementation"
1320 func_echo "<TH ALIGN=LEFT>Autoconf macro"
1321 func_echo "<TH ALIGN=LEFT>Depends on"
1326 # func_module module
1329 sed_remove_trailing_empty_line='${
1333 if test -n "$in_toc"; then
1335 func_begin TR "WIDTH=\"100%\""
1337 element='<A HREF="#module='$1'">'$1'</A>'
1338 func_echo "<TD ALIGN=LEFT VALIGN=TOP WIDTH=\"20%\">$element"
1340 element=`gnulib-tool --extract-description $1 \
1341 | sed -e "$sed_lt" -e "$sed_gt" -e "$sed_remove_trailing_empty_line" \
1343 | sed -e 's,\([^a-zA-Z]\)'"${posix_functions}"'(),\1<A HREF="'"$POSIX2001_URL"'xsh/\2.html">\2</A>(),g' \
1345 func_echo "<TD ALIGN=LEFT VALIGN=TOP WIDTH=\"80%\">$element"
1353 element='<A NAME="module='$1'"></A><A HREF="modules/'$1'">'$1'</A>'
1354 func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
1356 element=`gnulib-tool --extract-include-directive $1 \
1357 | sed -e "$sed_lt" -e "$sed_gt" -e "$sed_remove_trailing_empty_line" \
1358 | sed -e 's,^#include "\(.*\)"$,#include "<A HREF="lib/\1">\1</A>",' \
1359 -e 's,^#include <'"${posix_headers}"'\.h>$,#include \<<A HREF="'"$POSIX2001_URL"'xbd/\1.h.html">\1.h</A>\>,' \
1360 | sed -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'`
1361 test -n "$element" || element='---'
1362 func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
1364 sed_choose_unconditional_nonstandard_include='s,^#include "\(.*\)"$,\1,p'
1365 includefile=`gnulib-tool --extract-include-directive $1 \
1366 | sed -n -e "$sed_choose_unconditional_nonstandard_include" \
1367 | sed -e "$sed_escape_dot" | tr -d "$trnl"`
1368 sed_choose_lib_files='s,^lib/\(.*\)$,\1,p'
1369 element=`gnulib-tool --extract-filelist $1 \
1371 | sed -n -e "$sed_choose_lib_files" \
1372 | sed -e '/^'"${includefile}"'$/d' \
1373 | sed -e 's,^\(.*\)$,<A HREF="lib/\1">\1</A>,' \
1374 | sed -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'`
1375 test -n "$element" || element='---'
1376 func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
1378 sed_choose_m4_files='s,^m4/\(.*\)$,\1,p'
1379 element=`(gnulib-tool --extract-filelist $1 \
1380 | sed -e "$sed_remove_trailing_empty_line" \
1381 | sed -n -e "$sed_choose_m4_files" \
1382 | sed -e '/^onceonly/d' \
1383 | sed -e 's,^\(.*\)$,<A HREF="m4/\1">\1</A>,'; \
1384 gnulib-tool --extract-autoconf-snippet $1 \
1385 | sed -e "$sed_remove_trailing_empty_line") \
1386 | sed -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'`
1387 test -n "$element" || element='---'
1388 func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
1390 element=`gnulib-tool --extract-dependencies $1 \
1391 | sed -e "$sed_remove_trailing_empty_line" \
1392 | sed -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'`
1393 test -n "$element" || element='---'
1394 func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
1398 missed_modules=`echo "$missed_modules" | sed -e '/^'"$1"'$/d'`
1400 files=`gnulib-tool --extract-filelist $1`
1401 sed_removal_prefix='s,^,/^,'
1402 sed_removal_suffix='s,$,\$/d,'
1403 sed_remove_files=`echo '{'; \
1404 for file in $files; do \
1406 | sed -e "$sed_escape_dot" -e "$sed_escape_slash" \
1407 | sed -e "$sed_removal_prefix" -e "$sed_removal_suffix"; \
1410 missed_files=`echo "$missed_files" | sed -e "$sed_remove_files"`
1424 element="Support for systems lacking ANSI C 89"
1425 func_section_wrap ansic_sup
1427 func_echo "$element"
1443 func_module strerror
1447 func_echo 'Most of these modules are not listed among dependencies below, for simplicity.'
1449 element="Enhancements for ANSI C 89 functions"
1450 func_section_wrap ansic_enh
1452 func_echo "$element"
1454 element="Diagnostics <assert.h>"
1455 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1456 func_section_wrap ansic_enh_assert_diagnostics
1458 func_echo "$element"
1465 element="Memory management functions <stdlib.h>"
1466 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1467 func_section_wrap ansic_enh_stdlib_memory
1469 func_echo "$element"
1477 func_module pagealign_alloc
1480 element="Date and time <time.h>"
1481 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1482 func_section_wrap ansic_enh_time_datetime
1484 func_echo "$element"
1487 func_module fprintftime
1488 func_module strftime
1491 element="Extra functions based on ANSI C 89"
1492 func_section_wrap ansic_ext
1494 func_echo "$element"
1496 element="Memory management functions <stdlib.h>"
1497 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1498 func_section_wrap ansic_ext_stdlib_memory
1500 func_echo "$element"
1505 func_module xalloc-die
1507 func_module alloca-opt
1509 func_module xallocsa
1512 element="Integer arithmetic functions <stdlib.h>"
1513 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1514 func_section_wrap ansic_ext_stdlib_arith
1516 func_echo "$element"
1523 element="Environment variables <stdlib.h>"
1524 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1525 func_section_wrap ansic_ext_stdlib_env
1527 func_echo "$element"
1535 element="Character handling <ctype.h>"
1536 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1537 func_section_wrap ansic_ext_ctype
1539 func_echo "$element"
1545 element="String handling <string.h>"
1546 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1547 func_section_wrap ansic_ext_string
1549 func_echo "$element"
1558 func_module c-strcase
1560 func_module c-strcasestr
1561 func_module strcasestr
1562 func_module strchrnul
1565 func_module strnlen1
1568 func_module c-strstr
1570 #func_module fstrcmp
1571 func_module xstrndup
1574 element="Numeric conversion functions <stdlib.h>"
1575 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1576 func_section_wrap ansic_ext_stdlib_conv
1578 func_echo "$element"
1581 func_module c-strtod
1582 func_module c-strtold
1585 func_module xstrtold
1588 element="Date and time <time.h>"
1589 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1590 func_section_wrap ansic_ext_time_datetime
1592 func_echo "$element"
1600 element="Input/Output <stdio.h>"
1601 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1602 func_section_wrap ansic_ext_stdio
1604 func_echo "$element"
1607 func_module unlocked-io
1608 func_module fwriteerror
1609 func_module vasnprintf
1610 func_module vasprintf
1611 func_module xvasprintf
1614 element="Signal handling <signal.h>"
1615 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1616 func_section_wrap ansic_ext_signal
1618 func_echo "$element"
1621 func_module fatal-signal
1625 element="Command-line arguments"
1626 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1627 func_section_wrap ansic_ext_argv
1629 func_echo "$element"
1632 func_module argmatch
1633 func_module version-etc
1634 func_module version-etc-fsf
1635 func_module long-options
1638 element="Container data structures"
1639 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1640 func_section_wrap ansic_ext_container
1642 func_echo "$element"
1646 func_module array-list
1647 func_module carray-list
1648 func_module linked-list
1649 func_module avltree-list
1650 func_module rbtree-list
1651 func_module linkedhash-list
1652 func_module avltreehash-list
1653 func_module rbtreehash-list
1655 func_module array-oset
1656 func_module avltree-oset
1657 func_module rbtree-oset
1660 element="Cryptographic computations"
1661 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1662 func_section_wrap ansic_ext_crypto
1664 func_echo "$element"
1672 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1673 func_section_wrap ansic_ext_misc
1675 func_echo "$element"
1679 func_module check-version
1682 func_module getdelim
1683 func_module getnline
1684 func_module getndelim2
1685 func_module linebuffer
1687 func_module hash-pjw
1689 func_module readline
1690 func_module readtokens
1691 func_module readtokens0
1692 func_module strverscmp
1695 element="Support for systems lacking ISO C 99"
1696 func_section_wrap isoc_sup
1698 func_echo "$element"
1700 element="Sizes of integer types <limits.h>"
1701 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1702 func_section_wrap isoc_sup_limits
1704 func_echo "$element"
1707 func_module size_max
1710 element="Variable arguments <stdarg.h>"
1711 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1712 func_section_wrap isoc_sup_stdarg
1714 func_echo "$element"
1720 element="Boolean type and values <stdbool.h>"
1721 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1722 func_section_wrap isoc_sup_stdbool
1724 func_echo "$element"
1730 element="Integer types and values <stdint.h>"
1731 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1732 func_section_wrap isoc_sup_stdint
1734 func_echo "$element"
1740 element="Input/output <stdio.h>"
1741 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1742 func_section_wrap isoc_sup_stdio
1744 func_echo "$element"
1747 func_module snprintf
1748 func_module vsnprintf
1751 element="Numeric conversion functions <stdlib.h>"
1752 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1753 func_section_wrap isoc_sup_stdlib_conv
1755 func_echo "$element"
1759 func_module strtoull
1762 element="Functions for greatest-width integer types <inttypes.h>"
1763 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1764 func_section_wrap isoc_sup_inttypes
1766 func_echo "$element"
1769 func_module strtoimax
1770 func_module strtoumax
1773 element="Mathematics <math.h>"
1774 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1775 func_section_wrap isoc_sup_math
1777 func_echo "$element"
1783 element="Enhancements for ISO C 99 functions"
1784 func_section_wrap isoc_enh
1786 func_echo "$element"
1791 element="Extra functions based on ISO C 99"
1792 func_section_wrap isoc_ext
1794 func_echo "$element"
1796 element="Numeric conversion functions <stdlib.h>"
1797 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1798 func_section_wrap isoc_ext_stdlib_conv
1800 func_echo "$element"
1803 func_module intprops
1804 func_module inttostr
1805 func_module xstrtoimax
1806 func_module xstrtoumax
1809 element="Extended multibyte and wide character utilities <wchar.h>"
1810 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1811 func_section_wrap isoc_ext_wchar_mb
1813 func_echo "$element"
1822 element="Support for systems lacking POSIX:2001"
1823 func_section_wrap posix_sup
1825 func_echo "$element"
1830 func_module ftruncate
1831 func_module getaddrinfo
1833 func_module getgroups
1834 func_module gethostname
1835 func_module getlogin_r
1836 func_module getsubopt
1837 func_module gettimeofday
1838 func_module inet_ntop
1839 func_module inet_pton
1844 func_module readlink
1847 func_module timespec
1848 func_module nanosleep
1852 func_module sigprocmask
1854 func_module strtok_r
1855 func_module sys_stat
1861 element="Compatibility checks for POSIX:2001 functions"
1862 func_section_wrap posix_compat
1864 func_echo "$element"
1869 func_module link-follow
1870 func_module rename-dest-slash
1871 func_module rmdir-errno
1872 func_module unlink-busy
1873 func_module winsz-ioctl
1874 func_module winsz-termios
1877 element="Enhancements for POSIX:2001 functions"
1878 func_section_wrap posix_enh
1880 func_echo "$element"
1885 func_module unistd-safer
1887 func_module fnmatch-posix
1888 func_module fnmatch-gnu
1893 element="Extra functions based on POSIX:2001"
1894 func_section_wrap posix_ext
1896 func_echo "$element"
1898 element="Numeric conversion functions"
1899 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1900 func_section_wrap posix_ext_conv
1902 func_echo "$element"
1908 element="File system functions"
1909 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1910 func_section_wrap posix_ext_filesys
1912 func_echo "$element"
1916 func_module backupfile
1917 func_module canonicalize
1918 func_module clean-temp
1919 func_module copy-file
1920 func_module cycle-check
1923 func_module euidaccess
1924 func_module file-type
1925 func_module fileblocks
1926 func_module filemode
1927 func_module filenamecat
1929 func_module fts-lgpl
1933 func_module mkancesdirs
1935 func_module modechange
1936 func_module mountlist
1937 func_module pathname
1940 func_module save-cwd
1943 func_module stat-time
1945 func_module unlinkdir
1946 func_module utimecmp
1949 func_module xreadlink
1952 element="File descriptor based Input/Output"
1953 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1954 func_section_wrap posix_ext_filedesc
1956 func_echo "$element"
1959 func_module fcntl-safer
1960 func_module safe-read
1961 func_module safe-write
1962 func_module full-read
1963 func_module full-write
1964 func_module binary-io
1968 element="File stream based Input/Output"
1969 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1970 func_section_wrap posix_ext_filestream
1972 func_echo "$element"
1975 func_module close-stream
1976 func_module closeout
1977 func_module fopen-safer
1978 func_module fpending
1980 func_module getpass-gnu
1981 func_module stdlib-safer
1982 func_module tmpfile-safer
1985 element="Users and groups"
1986 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1987 func_section_wrap posix_ext_uidgid
1989 func_echo "$element"
1992 func_module getugroups
1993 func_module group-member
1995 func_module userspec
1998 element="Date and time"
1999 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2000 func_section_wrap posix_ext_datetime
2002 func_echo "$element"
2008 func_module xnanosleep
2011 element="Networking functions"
2012 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2013 func_section_wrap posix_ext_net
2015 func_echo "$element"
2018 func_module xgethostname
2019 func_module canon-host
2022 element="Multithreading"
2023 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2024 func_section_wrap posix_ext_thread
2026 func_echo "$element"
2033 element="Internationalization functions"
2034 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2035 func_section_wrap posix_ext_i18n
2037 func_echo "$element"
2041 func_module gettext-h
2043 func_module striconv
2044 func_module xstriconv
2046 func_module localcharset
2047 func_module hard-locale
2048 func_module mbswidth
2049 func_module memcasecmp
2051 func_module xmemcoll
2052 func_module unicodeio
2055 func_module ucs4-utf8
2056 func_module ucs4-utf16
2057 func_module utf8-ucs4
2058 func_module utf16-ucs4
2059 func_module linebreak
2060 func_module bison-i18n
2063 element="Executing programs"
2064 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2065 func_section_wrap posix_ext_exec
2067 func_echo "$element"
2071 func_module findprog
2072 func_module wait-process
2075 func_module sh-quote
2079 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2080 func_section_wrap posix_ext_java
2082 func_echo "$element"
2085 func_module classpath
2086 func_module javacomp
2087 func_module javaexec
2088 func_module javaversion
2093 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2094 func_section_wrap posix_ext_csharp
2096 func_echo "$element"
2099 func_module csharpcomp
2100 func_module csharpexec
2104 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2105 func_section_wrap posix_ext_misc
2107 func_echo "$element"
2112 func_module byteswap
2113 func_module exitfail
2116 func_module extensions
2117 func_module getdomainname
2118 func_module xgetdomainname
2119 func_module getloadavg
2120 func_module getpagesize
2121 func_module getusershell
2123 func_module posixver
2124 func_module progname
2125 func_module quotearg
2127 func_module readutmp
2129 func_module sysexits
2131 func_module visibility
2134 element="Support for building libraries and executables"
2135 func_section_wrap build_lib
2137 func_echo "$element"
2140 func_module config-h
2141 func_module configmake
2143 func_module elisp-comp
2145 func_module lib-ignore
2148 element="Support for building documentation"
2149 func_section_wrap build_doc
2151 func_echo "$element"
2158 func_module regexprops-generic
2161 element="Support for maintaining and release projects"
2162 func_section_wrap maintain
2164 func_echo "$element"
2167 func_module gnupload
2168 func_module maintainer-makefile
2172 func_section_wrap misc
2174 func_echo "$element"
2184 echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">'
2189 element="Gnulib Module List"
2191 func_echo "$element"
2193 modules=`gnulib-tool --list`
2194 modules=`for m in $modules; do printf "%s, " $m; done | sed -e 's/, $//'`
2195 func_echo '<META NAME="keywords" CONTENT="'"${modules}"'">'
2201 element="Gnulib Module List"
2203 func_echo "$element"
2205 func_echo 'This is a list of the modules which make up gnulib, with dependencies.'
2213 if test -n "$missed_modules"; then
2215 element="Unclassified modules - please update MODULES.html.sh"
2216 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2218 func_echo "$element"
2221 for module in $missed_modules; do
2228 if test -n "$missed_files"; then
2230 element="Lone files - please create new modules containing them"
2231 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2233 func_echo "$element"
2236 echo "$missed_files" | sed -e 's,^\(.*\)$,<A HREF="\1">\1</A>,'
2241 element="Future developments"
2242 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2244 func_echo "$element"
2246 func_echo 'Ideally a module could consist of:'
2248 func_echo '<LI>A header file: lib/<VAR>module</VAR>.h'
2249 func_echo '<LI>One or more implementation files: lib/<VAR>module</VAR>.c et al.'
2250 func_echo '<LI>One or more autoconf macro files: m4/<VAR>module</VAR>.m4 et al.'
2251 func_echo '<LI>A configure.ac fragment, Makefile.am fragment, dependency list: modules/<VAR>module</VAR>'
2252 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'
2253 func_echo '<LI>Some documentation'
2254 func_echo '<LI>A POT file and some PO files'
2258 func_echo 'Generated from <CODE>MODULES.html.sh</CODE> on '`LC_ALL=C date +"%e %B %Y"`.