3 # Copyright (C) 2002-2010 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 3 of the License, or
8 # (at your option) any later version.
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, see <http://www.gnu.org/licenses/>.
19 # Usage: MODULES.html.sh [--git-urls] > MODULES.html
21 # Extend the PATH so that gnulib-tool is found.
22 PATH=`dirname "$0"`:$PATH; export PATH
24 POSIX2001_URL='http://www.opengroup.org/susv3'
25 POSIX2008_URL='http://www.opengroup.org/onlinepubs/9699919799'
32 # Generate URLs to the official gnulib git repository.
33 repo_url_prefix='http://git.sv.gnu.org/gitweb/?p=gnulib.git;a=blob_plain;f='
38 # For sed replacements: Escape the '&'.
39 repo_url_suffix_repl=`echo "$repo_url_suffix" | sed -e 's,[&],\\\&,'`
43 sed_escape_dot='s,\.,\\.,g'
44 sed_escape_slash='s,/,\\/,g'
47 sed_alt2='s,^\\|,\\(,'
48 sed_alt3='s,\\|\\|$,\\),'
132 ' | sed -e "$sed_alt1" | tr -d "$trnl" | sed -e "$sed_alt2" -e "$sed_alt3"`
133 posix2001_headers=`echo '
136 ' | sed -e "$sed_alt1" | tr -d "$trnl" | sed -e "$sed_alt2" -e "$sed_alt3"`
137 posix_functions=`echo '
773 posix_spawn_file_actions_addclose
774 posix_spawn_file_actions_adddup2
775 posix_spawn_file_actions_addopen
776 posix_spawn_file_actions_destroy
777 posix_spawn_file_actions_init
778 posix_spawnattr_destroy
779 posix_spawnattr_getflags
780 posix_spawnattr_getpgroup
781 posix_spawnattr_getschedparam
782 posix_spawnattr_getschedpolicy
783 posix_spawnattr_getsigdefault
784 posix_spawnattr_getsigmask
786 posix_spawnattr_setflags
787 posix_spawnattr_setpgroup
788 posix_spawnattr_setschedparam
789 posix_spawnattr_setschedpolicy
790 posix_spawnattr_setsigdefault
791 posix_spawnattr_setsigmask
793 posix_trace_attr_destroy
794 posix_trace_attr_getclockres
795 posix_trace_attr_getcreatetime
796 posix_trace_attr_getgenversion
797 posix_trace_attr_getinherited
798 posix_trace_attr_getlogfullpolicy
799 posix_trace_attr_getlogsize
800 posix_trace_attr_getmaxdatasize
801 posix_trace_attr_getmaxsystemeventsize
802 posix_trace_attr_getmaxusereventsize
803 posix_trace_attr_getname
804 posix_trace_attr_getstreamfullpolicy
805 posix_trace_attr_getstreamsize
806 posix_trace_attr_init
807 posix_trace_attr_setinherited
808 posix_trace_attr_setlogfullpolicy
809 posix_trace_attr_setlogsize
810 posix_trace_attr_setmaxdatasize
811 posix_trace_attr_setname
812 posix_trace_attr_setstreamfullpolicy
813 posix_trace_attr_setstreamsize
817 posix_trace_create_withlog
819 posix_trace_eventid_equal
820 posix_trace_eventid_get_name
821 posix_trace_eventid_open
822 posix_trace_eventset_add
823 posix_trace_eventset_del
824 posix_trace_eventset_empty
825 posix_trace_eventset_fill
826 posix_trace_eventset_ismember
827 posix_trace_eventtypelist_getnext_id
828 posix_trace_eventtypelist_rewind
831 posix_trace_get_filter
832 posix_trace_get_status
833 posix_trace_getnext_event
836 posix_trace_set_filter
840 posix_trace_timedgetnext_event
841 posix_trace_trid_eventid_open
842 posix_trace_trygetnext_event
843 posix_typed_mem_get_info
855 pthread_attr_getdetachstate
856 pthread_attr_getguardsize
857 pthread_attr_getinheritsched
858 pthread_attr_getschedparam
859 pthread_attr_getschedpolicy
860 pthread_attr_getscope
861 pthread_attr_getstack
862 pthread_attr_getstacksize
864 pthread_attr_setdetachstate
865 pthread_attr_setguardsize
866 pthread_attr_setinheritsched
867 pthread_attr_setschedparam
868 pthread_attr_setschedpolicy
869 pthread_attr_setscope
870 pthread_attr_setstack
871 pthread_attr_setstacksize
872 pthread_barrier_destroy
875 pthread_barrierattr_destroy
876 pthread_barrierattr_getpshared
877 pthread_barrierattr_init
878 pthread_barrierattr_setpshared
882 pthread_cond_broadcast
886 pthread_cond_timedwait
888 pthread_condattr_destroy
889 pthread_condattr_getclock
890 pthread_condattr_getpshared
891 pthread_condattr_init
892 pthread_condattr_setclock
893 pthread_condattr_setpshared
898 pthread_getconcurrency
899 pthread_getcpuclockid
900 pthread_getschedparam
906 pthread_mutex_consistent
907 pthread_mutex_destroy
908 pthread_mutex_getprioceiling
911 pthread_mutex_setprioceiling
912 pthread_mutex_timedlock
913 pthread_mutex_trylock
915 pthread_mutexattr_destroy
916 pthread_mutexattr_getprioceiling
917 pthread_mutexattr_getprotocol
918 pthread_mutexattr_getpshared
919 pthread_mutexattr_getrobust
920 pthread_mutexattr_gettype
921 pthread_mutexattr_init
922 pthread_mutexattr_setprioceiling
923 pthread_mutexattr_setprotocol
924 pthread_mutexattr_setpshared
925 pthread_mutexattr_setrobust
926 pthread_mutexattr_settype
928 pthread_rwlock_destroy
930 pthread_rwlock_rdlock
931 pthread_rwlock_timedrdlock
932 pthread_rwlock_timedwrlock
933 pthread_rwlock_tryrdlock
934 pthread_rwlock_trywrlock
935 pthread_rwlock_unlock
936 pthread_rwlock_wrlock
937 pthread_rwlockattr_destroy
938 pthread_rwlockattr_getpshared
939 pthread_rwlockattr_init
940 pthread_rwlockattr_setpshared
942 pthread_setcancelstate
943 pthread_setcanceltype
944 pthread_setconcurrency
945 pthread_setschedparam
1015 sched_get_priority_max
1016 sched_get_priority_min
1019 sched_rr_get_interval
1330 ' | sed -e "$sed_alt1" | tr -d "$trnl" | sed -e "$sed_alt2" -e "$sed_alt3"`
1331 posix2001_functions=`echo '
1349 pthread_attr_getstackaddr
1350 pthread_attr_setstackaddr
1359 ' | sed -e "$sed_alt1" | tr -d "$trnl" | sed -e "$sed_alt2" -e "$sed_alt3"`
1373 # creates a temporary directory.
1375 # - tmp pathname of freshly created temporary directory
1378 # Use the environment variable TMPDIR, falling back to /tmp. This allows
1379 # users to specify a different temporary directory, for example, if their
1380 # /tmp is filled up or too small.
1383 # Use the mktemp program if available. If not available, hide the error
1385 tmp=`(umask 077 && mktemp -d "$TMPDIR/MDXXXXXX") 2>/dev/null` &&
1386 test -n "$tmp" && test -d "$tmp"
1389 # Use a simple mkdir command. It is guaranteed to fail if the directory
1390 # already exists. $RANDOM is bash specific and expands to empty in shells
1391 # other than bash, ksh and zsh. Its use does not increase security;
1392 # rather, it minimizes the probability of failure in a very cluttered /tmp
1394 tmp=$TMPDIR/MD$$-$RANDOM
1395 (umask 077 && mkdir "$tmp")
1398 echo "$0: cannot create a temporary directory in $TMPDIR" >&2
1403 # func_append var value
1404 # appends the given value to the shell variable var.
1405 if ( foo=bar; foo+=baz && test "$foo" = barbaz ) >/dev/null 2>&1; then
1406 # Use bash's += operator. It reduces complexity of appending repeatedly to
1407 # a single variable from O(n^2) to O(n).
1415 eval "$1=\"\$$1\$2\""
1420 # outputs line with indentation.
1427 # increases the indentation.
1434 # decreases the indentation.
1437 indent=`echo "$indent" | sed -e 's/ $//'`
1440 # func_begin tag [attribute...]
1449 # closes a HTML tag.
1456 # func_wrap tag [attribute...]
1457 # encloses $element in a HTML tag, without line breaks.
1460 element="<$*>${element}</$1>"
1463 # func_section_wrap sectiontag
1464 # encloses $element in a HTML tag referring to the given tag.
1465 func_section_wrap ()
1467 if test -n "$in_toc"; then
1468 func_wrap A "HREF=\"#$1\""
1470 func_wrap A "NAME=\"$1\""
1478 if test -z "$in_toc"; then
1480 func_echo "<TH ALIGN=LEFT>modules/"
1481 func_echo "<TH ALIGN=LEFT>lib/"
1482 func_echo "<TH ALIGN=LEFT>lib/"
1483 func_echo "<TH ALIGN=LEFT>m4/"
1484 func_echo "<TH ALIGN=LEFT> "
1487 func_echo "<TH ALIGN=LEFT>Module"
1488 func_echo "<TH ALIGN=LEFT>Header"
1489 func_echo "<TH ALIGN=LEFT>Implementation"
1490 func_echo "<TH ALIGN=LEFT>Autoconf macro"
1491 func_echo "<TH ALIGN=LEFT>Depends on"
1496 # func_module module
1499 sed_remove_trailing_empty_line='${
1503 if test -n "$in_toc"; then
1505 func_begin TR "WIDTH=\"100%\""
1507 element='<A HREF="#module='$1'">'$1'</A>'
1508 func_echo "<TD ALIGN=LEFT VALIGN=TOP WIDTH=\"20%\">$element"
1510 # Rendering the description:
1511 # - Change the symbol() syntax as suitable for documentation, removing the
1512 # parentheses (as per GNU standards, section "GNU Manuals").
1513 # - Flag the remaining symbol() constructs as errors.
1514 # - Change 'xxx' to <CODE>xxx</CODE>.
1515 element=`gnulib-tool --extract-description $1 \
1516 | sed -e "$sed_lt" -e "$sed_gt" -e "$sed_remove_trailing_empty_line" \
1517 -e 's,^, ,' -e 's,$, ,' \
1518 -e 's,\([^a-zA-Z_]\)'"${posix_functions}"'() \(function\|macro\),\1<A HREF="'"$POSIX2008_URL"'/functions/\2.html">\2</A> \3,g' \
1519 -e 's,\([^a-zA-Z_]\)'"${posix_functions}"' \(function\|macro\),\1<A HREF="'"$POSIX2008_URL"'/functions/\2.html">\2</A> \3,g' \
1520 -e 's,\([^a-zA-Z_]\)'"${posix_functions}"'(),\1<A HREF="'"$POSIX2008_URL"'/functions/\2.html">\2</A> <SPAN STYLE="color:#FF0000;">what?? If you mean a function\, please say so.</SPAN>,g' \
1521 -e 's,\([^a-zA-Z_]\)'"${posix2001_functions}"'() \(function\|macro\),\1<A HREF="'"$POSIX2001_URL"'xsh/\2.html">\2</A> \3,g' \
1522 -e 's,\([^a-zA-Z_]\)'"${posix2001_functions}"' \(function\|macro\),\1<A HREF="'"$POSIX2001_URL"'xsh/\2.html">\2</A> \3,g' \
1523 -e 's,\([^a-zA-Z_]\)'"${posix2001_functions}"'(),\1<A HREF="'"$POSIX2001_URL"'xsh/\2.html">\2</A> <SPAN STYLE="color:#FF0000;">what?? If you mean a function\, please say so.</SPAN>,g' \
1524 -e 's,\([^a-zA-Z_]\)\([a-zA-Z_][a-zA-Z0-9_]*\)() \(function\|macro\),\1\2 \3,g' \
1525 -e 's,\([^a-zA-Z_]\)\([a-zA-Z_][a-zA-Z0-9_]*\)(),\1\2 <SPAN STYLE="color:#FF0000;">what?? If you mean a function\, please say so.</SPAN>,g' \
1526 -e 's, '"'"'\([a-zA-Z0-9_ -]*\)'"'"'\([^a-zA-Z0-9_]\), <CODE>\1</CODE>\2,g' \
1527 -e 's,^ ,,' -e 's, $,,'`
1528 func_echo "<TD ALIGN=LEFT VALIGN=TOP WIDTH=\"80%\">$element"
1536 element='<A NAME="module='$1'"></A><A HREF="'$repo_url_prefix'modules/'$1$repo_url_suffix'">'$1'</A>'
1537 func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
1539 includes=`gnulib-tool --extract-include-directive $1`
1540 files=`gnulib-tool --extract-filelist $1 \
1541 | grep -v '^m4/gnulib-common\.m4$'`
1542 element=`echo "$includes" \
1543 | sed -e "$sed_lt" -e "$sed_gt" -e "$sed_remove_trailing_empty_line" \
1544 -e 's,^#include "\(.*\)"$,#include "<A HREF="'$repo_url_prefix'lib/\1'$repo_url_suffix_repl'">\1</A>",' \
1545 -e 's,^#include <'"${posix_headers}"'\.h>$,#include \<<A HREF="'"$POSIX2008_URL"'/basedefs/\1.h.html">\1.h</A>\>,' \
1546 -e 's,<A HREF="'"$POSIX2008_URL"'/basedefs/\([a-zA-Z0-9_]*\)/\([a-zA-Z0-9_]*\)\.h\.html">,<A HREF="'"$POSIX2008_URL"'/basedefs/\1_\2.h.html">,' \
1547 -e 's,^#include <'"${posix2001_headers}"'\.h>$,#include \<<A HREF="'"$POSIX2001_URL"'xbd/\1.h.html">\1.h</A>\>,' \
1548 -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'`
1549 test -n "$element" || element='---'
1550 func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
1552 sed_choose_unconditional_nonstandard_include='s,^#include "\(.*\)"$,\1,p'
1553 includefile=`echo "$includes" \
1554 | sed -n -e "$sed_choose_unconditional_nonstandard_include" \
1555 | sed -e "$sed_escape_dot" | tr -d "$trnl"`
1556 sed_choose_lib_files='s,^lib/\(.*\)$,\1,p'
1557 element=`echo "$files" \
1559 | sed -n -e "$sed_choose_lib_files" \
1560 | sed -e '\|^'"${includefile}"'$|d' \
1561 -e 's,^\(.*\)$,<A HREF="'$repo_url_prefix'lib/\1'$repo_url_suffix_repl'">\1</A>,' \
1562 -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'`
1563 test -n "$element" || element='---'
1564 func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
1566 sed_choose_m4_files='s,^m4/\(.*\)$,\1,p'
1567 element=`(echo "$files" \
1568 | sed -e "$sed_remove_trailing_empty_line" \
1569 | sed -n -e "$sed_choose_m4_files" \
1570 | sed -e '/^onceonly/d' \
1571 -e 's,^\(.*\)$,<A HREF="'$repo_url_prefix'm4/\1'$repo_url_suffix_repl'">\1</A>,'; \
1572 gnulib-tool --extract-autoconf-snippet $1 \
1573 | sed -e "$sed_remove_trailing_empty_line") \
1574 | sed -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'`
1575 test -n "$element" || element='---'
1576 func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
1578 element=`gnulib-tool --extract-dependencies $1 \
1579 | sed -e "$sed_remove_trailing_empty_line" \
1580 -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'`
1581 test -n "$element" || element='---'
1582 func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
1586 func_append seen_modules " $1"
1587 func_append seen_files " $files"
1600 element="Support for obsolete systems lacking ANSI C 89"
1601 func_section_wrap ansic_sup_obsolete
1603 func_echo "$element"
1618 func_echo 'These modules are not listed among dependencies below, for simplicity.'
1619 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.'
1621 element="Support for systems lacking ANSI C 89"
1622 func_section_wrap ansic_sup
1624 func_echo "$element"
1629 func_module strerror
1633 element="Enhancements for ANSI C 89 functions"
1634 func_section_wrap ansic_enh
1636 func_echo "$element"
1638 element="Diagnostics <assert.h>"
1639 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1640 func_section_wrap ansic_enh_assert_diagnostics
1642 func_echo "$element"
1649 element="Mathematics <math.h>"
1650 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1651 func_section_wrap ansic_enh_math
1653 func_echo "$element"
1659 element="Input/output <stdio.h>"
1660 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1661 func_section_wrap ansic_enh_stdio
1663 func_echo "$element"
1671 element="Memory management functions <stdlib.h>"
1672 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1673 func_section_wrap ansic_enh_stdlib_memory
1675 func_echo "$element"
1683 func_module pagealign_alloc
1686 element="Sorting functions <stdlib.h>"
1687 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1688 func_section_wrap ansic_enh_stdlib_sorting
1690 func_echo "$element"
1696 element="Date and time <time.h>"
1697 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1698 func_section_wrap ansic_enh_time_datetime
1700 func_echo "$element"
1703 func_module fprintftime
1704 func_module strftime
1707 element="Extra functions based on ANSI C 89"
1708 func_section_wrap ansic_ext
1710 func_echo "$element"
1712 element="Memory management functions <stdlib.h>"
1713 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1714 func_section_wrap ansic_ext_stdlib_memory
1716 func_echo "$element"
1721 func_module xalloc-die
1723 func_module alloca-opt
1725 func_module xmalloca
1726 func_module xmemdup0
1727 func_module safe-alloc
1730 element="Integer arithmetic functions <stdlib.h>"
1731 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1732 func_section_wrap ansic_ext_stdlib_arith
1734 func_echo "$element"
1737 func_module count-one-bits
1742 element="Environment variables <stdlib.h>"
1743 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1744 func_section_wrap ansic_ext_stdlib_env
1746 func_echo "$element"
1751 func_module unsetenv
1755 element="Character handling <ctype.h>"
1756 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1757 func_section_wrap ansic_ext_ctype
1759 func_echo "$element"
1765 element="String handling <string.h>"
1766 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1767 func_section_wrap ansic_ext_string
1769 func_echo "$element"
1776 func_module memmem-simple
1779 func_module rawmemchr
1782 func_module c-strcase
1784 func_module c-strcaseeq
1785 func_module c-strcasestr
1786 func_module strcasestr
1787 func_module strcasestr-simple
1788 func_module strchrnul
1791 func_module strnlen1
1795 func_module strstr-simple
1796 func_module c-strstr
1799 func_module xstrndup
1802 element="Mathematics <math.h>"
1803 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1804 func_section_wrap ansic_ext_math
1806 func_echo "$element"
1809 func_module printf-frexp
1812 element="Numeric conversion functions <stdlib.h>"
1813 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1814 func_section_wrap ansic_ext_stdlib_conv
1816 func_echo "$element"
1819 func_module c-strtod
1820 func_module c-strtold
1823 func_module xstrtoll
1824 func_module xstrtold
1827 element="Date and time <time.h>"
1828 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1829 func_section_wrap ansic_ext_time_datetime
1831 func_echo "$element"
1839 element="Input/Output <stdio.h>"
1840 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1841 func_section_wrap ansic_ext_stdio
1843 func_echo "$element"
1846 func_module unlocked-io
1847 func_module fwriteerror
1848 func_module vasnprintf
1849 func_module vasprintf
1851 func_module xvasprintf
1854 element="Signal handling <signal.h>"
1855 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1856 func_section_wrap ansic_ext_signal
1858 func_echo "$element"
1861 func_module fatal-signal
1863 func_module strsignal
1866 element="Command-line arguments"
1867 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1868 func_section_wrap ansic_ext_argv
1870 func_echo "$element"
1873 func_module argmatch
1874 func_module argv-iter
1875 func_module version-etc
1876 func_module version-etc-fsf
1877 func_module long-options
1880 element="Container data structures"
1881 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1882 func_section_wrap ansic_ext_container
1884 func_echo "$element"
1888 func_module array-list
1889 func_module carray-list
1890 func_module linked-list
1891 func_module avltree-list
1892 func_module rbtree-list
1893 func_module linkedhash-list
1894 func_module avltreehash-list
1895 func_module rbtreehash-list
1898 func_module array-oset
1899 func_module avltree-oset
1900 func_module rbtree-oset
1903 element="Cryptographic computations (low-level)"
1904 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1905 func_section_wrap ansic_ext_crypto
1907 func_echo "$element"
1910 func_module crypto/arcfour
1911 func_module crypto/arctwo
1912 func_module crypto/des
1913 func_module crypto/hmac-md5
1914 func_module crypto/hmac-sha1
1915 func_module crypto/md2
1916 func_module crypto/md4
1917 func_module crypto/md5
1918 func_module crypto/rijndael
1919 func_module crypto/sha1
1920 func_module crypto/sha256
1921 func_module crypto/sha512
1924 element="Cryptographic computations (high-level)"
1925 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1926 func_section_wrap ansic_ext_crypto2
1928 func_echo "$element"
1931 func_module crypto/gc
1932 func_module crypto/gc-arcfour
1933 func_module crypto/gc-arctwo
1934 func_module crypto/gc-camellia
1935 func_module crypto/gc-des
1936 func_module crypto/gc-hmac-md5
1937 func_module crypto/gc-hmac-sha1
1938 func_module crypto/gc-md2
1939 func_module crypto/gc-md4
1940 func_module crypto/gc-md5
1941 func_module crypto/gc-pbkdf2-sha1
1942 func_module crypto/gc-random
1943 func_module crypto/gc-rijndael
1944 func_module crypto/gc-sha1
1947 element="Compiler warning management"
1948 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1949 func_section_wrap ansic_ext_misc
1951 func_echo "$element"
1954 func_module ignore-value
1958 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1959 func_section_wrap ansic_ext_misc
1961 func_echo "$element"
1965 func_module check-version
1970 func_module getdelim
1971 func_module getnline
1972 func_module getndelim2
1973 func_module linebuffer
1976 func_module obstack-printf
1977 func_module obstack-printf-posix
1978 func_module hash-pjw
1980 func_module readline
1981 func_module readtokens
1982 func_module readtokens0
1983 func_module strverscmp
1984 func_module filevercmp
1987 element="Support for systems lacking ISO C 99"
1988 func_section_wrap isoc_sup
1990 func_echo "$element"
1992 element="Core language properties"
1993 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1994 func_section_wrap isoc_core_properties
1996 func_echo "$element"
1999 func_module flexmember
2003 func_module longlong
2005 func_module vararrays
2008 element="Sizes of integer types <limits.h>"
2009 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2010 func_section_wrap isoc_sup_limits
2012 func_echo "$element"
2015 func_module size_max
2018 element="Variable arguments <stdarg.h>"
2019 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2020 func_section_wrap isoc_sup_stdarg
2022 func_echo "$element"
2028 element="Boolean type and values <stdbool.h>"
2029 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2030 func_section_wrap isoc_sup_stdbool
2032 func_echo "$element"
2038 element="Basic types <stddef.h>"
2039 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2040 func_section_wrap isoc_sup_stddef
2042 func_echo "$element"
2048 element="Integer types and values <stdint.h>"
2049 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2050 func_section_wrap isoc_sup_stdint
2052 func_echo "$element"
2058 element="Input/output <stdio.h>"
2059 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2060 func_section_wrap isoc_sup_stdio
2062 func_echo "$element"
2066 func_module snprintf
2067 func_module vsnprintf
2070 element="Numeric conversion functions <stdlib.h>"
2071 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2072 func_section_wrap isoc_sup_stdlib_conv
2074 func_echo "$element"
2078 func_module strtoull
2081 element="Functions for greatest-width integer types <inttypes.h>"
2082 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2083 func_section_wrap isoc_sup_inttypes
2085 func_echo "$element"
2090 func_module inttypes
2091 func_module strtoimax
2092 func_module strtoumax
2095 element="Extended multibyte and wide character utilities <wchar.h>"
2096 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2097 func_section_wrap isoc_sup_wchar
2099 func_echo "$element"
2108 func_module mbsrtowcs
2110 func_module wcsrtombs
2113 element="Wide character classification and mapping utilities <wctype.h>"
2114 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2115 func_section_wrap isoc_sup_wctype
2117 func_echo "$element"
2123 element="Characteristics of floating types <float.h>"
2124 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2125 func_section_wrap isoc_sup_float
2127 func_echo "$element"
2133 element="Mathematics <math.h>"
2134 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2135 func_section_wrap isoc_sup_math
2137 func_echo "$element"
2147 func_module frexp-nolibm
2149 func_module frexpl-nolibm
2150 func_module isfinite
2154 func_module isnanf-nolibm
2156 func_module isnand-nolibm
2158 func_module isnanl-nolibm
2171 element="Enhancements for ISO C 99 functions"
2172 func_section_wrap isoc_enh
2174 func_echo "$element"
2176 element="Input/output <stdio.h>"
2177 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2178 func_section_wrap isoc_enh_stdio
2180 func_echo "$element"
2183 func_module printf-safe
2186 element="Extra functions based on ISO C 99"
2187 func_section_wrap isoc_ext
2189 func_echo "$element"
2191 element="Mathematics <math.h>"
2192 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2193 func_section_wrap isoc_ext_math
2195 func_echo "$element"
2198 func_module printf-frexpl
2201 element="Numeric conversion functions <stdlib.h>"
2202 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2203 func_section_wrap isoc_ext_stdlib_conv
2205 func_echo "$element"
2208 func_module intprops
2209 func_module inttostr
2210 func_module xstrtoimax
2211 func_module xstrtoumax
2214 element="Extended multibyte and wide character utilities <wchar.h>"
2215 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2216 func_section_wrap isoc_ext_wchar_mb
2218 func_echo "$element"
2227 element="Support for obsolete systems lacking POSIX:2008"
2228 func_section_wrap posix_sup_obsolete
2230 func_echo "$element"
2236 func_echo 'These modules are not listed among dependencies below, for simplicity.'
2237 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.'
2239 element="Support for systems lacking POSIX:2008"
2240 func_section_wrap posix_sup
2242 func_echo "$element"
2246 func_module arpa_inet
2248 func_module calloc-posix
2260 func_module fprintf-posix
2267 func_module ftruncate
2268 func_module futimens
2269 func_module getaddrinfo
2271 func_module getgroups
2272 func_module gethostname
2273 func_module getlogin_r
2274 func_module getpeername
2275 func_module getsockname
2276 func_module getsockopt
2277 func_module getsubopt
2278 func_module gettimeofday
2280 func_module iconv_open
2281 func_module inet_ntop
2282 func_module inet_pton
2289 func_module malloc-posix
2290 func_module mbsnrtowcs
2297 func_module netinet_in
2302 func_module posix_spawn
2303 func_module posix_spawnattr_destroy
2304 func_module posix_spawnattr_getflags
2305 func_module posix_spawnattr_getpgroup
2306 func_module posix_spawnattr_getschedparam
2307 func_module posix_spawnattr_getschedpolicy
2308 func_module posix_spawnattr_getsigdefault
2309 func_module posix_spawnattr_getsigmask
2310 func_module posix_spawnattr_init
2311 func_module posix_spawnattr_setflags
2312 func_module posix_spawnattr_setpgroup
2313 func_module posix_spawnattr_setschedparam
2314 func_module posix_spawnattr_setschedpolicy
2315 func_module posix_spawnattr_setsigdefault
2316 func_module posix_spawnattr_setsigmask
2317 func_module posix_spawn_file_actions_addclose
2318 func_module posix_spawn_file_actions_adddup2
2319 func_module posix_spawn_file_actions_addopen
2320 func_module posix_spawn_file_actions_destroy
2321 func_module posix_spawn_file_actions_init
2322 func_module posix_spawn-internal
2323 func_module posix_spawnp
2324 func_module printf-posix
2326 func_module readlink
2327 func_module realloc-posix
2329 func_module recvfrom
2335 func_module setsockopt
2336 func_module shutdown
2339 func_module snprintf-posix
2342 func_module sprintf-posix
2344 func_module strdup-posix
2347 func_module tempname
2351 func_module timespec
2352 func_module nanosleep
2355 func_module renameat
2358 func_module sigaction
2359 func_module sigprocmask
2362 func_module strptime
2363 func_module strtok_r
2364 func_module sys_select
2365 func_module sys_socket
2366 func_module sys_stat
2367 func_module sys_time
2368 func_module sys_times
2369 func_module sys_wait
2374 func_module utimensat
2375 func_module vasnprintf-posix
2376 func_module vasprintf-posix
2377 func_module vfprintf-posix
2378 func_module vprintf-posix
2379 func_module vsnprintf-posix
2380 func_module vsprintf-posix
2381 func_module wcsnrtombs
2386 element="Compatibility checks for POSIX:2008 functions"
2387 func_section_wrap posix_compat
2389 func_echo "$element"
2392 func_module clock-time
2395 func_module link-follow
2396 func_module rename-dest-slash
2397 func_module rmdir-errno
2398 func_module unlink-busy
2399 func_module winsz-ioctl
2400 func_module winsz-termios
2403 element="Enhancements for POSIX:2008 functions"
2404 func_section_wrap posix_enh
2406 func_echo "$element"
2409 func_module chdir-long
2410 func_module dirent-safer
2412 func_module dirname-lgpl
2414 func_module iconv_open-utf
2415 func_module unistd-safer
2417 func_module fnmatch-posix
2418 func_module fnmatch-gnu
2423 element="Extra functions based on POSIX:2008"
2424 func_section_wrap posix_ext
2426 func_echo "$element"
2428 element="Input/output"
2429 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2430 func_section_wrap posix_ext_stdio
2432 func_echo "$element"
2435 func_module xprintf-posix
2436 func_module xvasprintf-posix
2439 element="Numeric conversion functions"
2440 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2441 func_section_wrap posix_ext_conv
2443 func_echo "$element"
2449 element="File system functions"
2450 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2451 func_section_wrap posix_ext_filesys
2453 func_echo "$element"
2457 func_module areadlink
2458 func_module areadlink-with-size
2459 func_module areadlinkat
2460 func_module areadlinkat-with-size
2461 func_module backupfile
2462 func_module canonicalize
2463 func_module canonicalize-lgpl
2464 func_module chdir-safer
2465 func_module clean-temp
2466 func_module copy-file
2469 func_module double-slash-root
2470 func_module euidaccess
2471 func_module faccessat
2472 func_module fdopendir
2473 func_module fdutimensat
2474 func_module file-type
2475 func_module fileblocks
2476 func_module filemode
2477 func_module filename
2478 func_module filenamecat
2479 func_module filenamecat-lgpl
2484 func_module mkancesdirs
2485 func_module mkfifoat
2487 func_module mkostemp
2488 func_module mkostemps
2489 func_module mkstemps
2490 func_module modechange
2491 func_module mountlist
2493 func_module openat-die
2495 func_module read-file
2497 func_module save-cwd
2500 func_module stat-macros
2501 func_module stat-time
2503 func_module symlinkat
2505 func_module unlinkdir
2506 func_module utimecmp
2508 func_module write-any-file
2510 func_module xreadlink
2511 func_module xreadlinkat
2514 element="File system as inode set"
2515 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2516 func_section_wrap posix_ext_inodeset
2518 func_echo "$element"
2521 func_module cycle-check
2523 func_module file-set
2524 func_module hash-triple
2526 func_module same-inode
2529 element="File descriptor based Input/Output"
2530 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2531 func_section_wrap posix_ext_filedesc
2533 func_echo "$element"
2536 func_module fcntl-safer
2537 func_module openat-safer
2538 func_module safe-read
2539 func_module safe-write
2540 func_module full-read
2541 func_module full-write
2542 func_module binary-io
2546 element="File stream based Input/Output"
2547 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2548 func_section_wrap posix_ext_filestream
2550 func_echo "$element"
2553 func_module close-stream
2555 func_module closeout
2556 func_module fbufmode
2557 func_module fopen-safer
2558 func_module fpending
2560 func_module freadable
2561 func_module freadahead
2562 func_module freading
2563 func_module freadptr
2564 func_module freadseek
2565 func_module freopen-safer
2566 func_module fwritable
2567 func_module fwriting
2569 func_module getpass-gnu
2570 func_module popen-safer
2571 func_module stdlib-safer
2572 func_module tmpfile-safer
2573 func_module xfreopen
2576 element="Users and groups"
2577 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2578 func_section_wrap posix_ext_uidgid
2580 func_echo "$element"
2583 func_module getugroups
2584 func_module group-member
2586 func_module mgetgroups
2587 func_module userspec
2590 element="Date and time"
2591 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2592 func_section_wrap posix_ext_datetime
2594 func_echo "$element"
2597 func_module gethrxtime
2602 func_module xnanosleep
2605 element="Networking functions"
2606 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2607 func_section_wrap posix_ext_net
2609 func_echo "$element"
2612 func_module xgethostname
2613 func_module canon-host
2617 element="Multithreading"
2618 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2619 func_section_wrap posix_ext_thread
2621 func_echo "$element"
2624 func_module threadlib
2633 element="Signal handling"
2634 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2635 func_section_wrap posix_ext_signal
2637 func_echo "$element"
2641 func_module libsigsegv
2643 func_module sigpipe-die
2646 element="Internationalization functions"
2647 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2648 func_section_wrap posix_ext_i18n
2650 func_echo "$element"
2654 func_module gettext-h
2655 func_module propername
2657 func_module striconv
2658 func_module xstriconv
2659 func_module striconveh
2660 func_module striconveha
2661 func_module localcharset
2662 func_module hard-locale
2663 func_module localename
2669 func_module mbscasecmp
2670 func_module mbsncasecmp
2671 func_module mbspcasecmp
2672 func_module mbscasestr
2677 func_module mbstok_r
2678 func_module mbswidth
2679 func_module memcasecmp
2681 func_module xmemcoll
2682 func_module unicodeio
2685 func_module bison-i18n
2688 element="Unicode string functions"
2689 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2690 func_section_wrap posix_ext_unicode
2692 func_echo "$element"
2695 func_module libunistring
2696 func_module unitypes
2697 func_module ucs4-utf8
2698 func_module ucs4-utf16
2699 func_module utf8-ucs4-unsafe
2700 func_module utf16-ucs4-unsafe
2701 func_module utf8-ucs4
2702 func_module utf16-ucs4
2703 func_module unistr/base
2704 func_module unistr/u8-to-u16
2705 func_module unistr/u8-to-u32
2706 func_module unistr/u16-to-u8
2707 func_module unistr/u16-to-u32
2708 func_module unistr/u32-to-u8
2709 func_module unistr/u32-to-u16
2710 func_module unistr/u8-check
2711 func_module unistr/u16-check
2712 func_module unistr/u32-check
2713 func_module unistr/u8-chr
2714 func_module unistr/u16-chr
2715 func_module unistr/u32-chr
2716 func_module unistr/u8-cmp
2717 func_module unistr/u16-cmp
2718 func_module unistr/u32-cmp
2719 func_module unistr/u8-cpy
2720 func_module unistr/u16-cpy
2721 func_module unistr/u32-cpy
2722 func_module unistr/u8-cpy-alloc
2723 func_module unistr/u16-cpy-alloc
2724 func_module unistr/u32-cpy-alloc
2725 func_module unistr/u8-endswith
2726 func_module unistr/u16-endswith
2727 func_module unistr/u32-endswith
2728 func_module unistr/u8-mblen
2729 func_module unistr/u16-mblen
2730 func_module unistr/u32-mblen
2731 func_module unistr/u8-mbsnlen
2732 func_module unistr/u16-mbsnlen
2733 func_module unistr/u32-mbsnlen
2734 func_module unistr/u8-mbtouc-unsafe
2735 func_module unistr/u16-mbtouc-unsafe
2736 func_module unistr/u32-mbtouc-unsafe
2737 func_module unistr/u8-mbtouc
2738 func_module unistr/u16-mbtouc
2739 func_module unistr/u32-mbtouc
2740 func_module unistr/u8-mbtoucr
2741 func_module unistr/u16-mbtoucr
2742 func_module unistr/u32-mbtoucr
2743 func_module unistr/u8-move
2744 func_module unistr/u16-move
2745 func_module unistr/u32-move
2746 func_module unistr/u8-next
2747 func_module unistr/u16-next
2748 func_module unistr/u32-next
2749 func_module unistr/u8-prev
2750 func_module unistr/u16-prev
2751 func_module unistr/u32-prev
2752 func_module unistr/u8-set
2753 func_module unistr/u16-set
2754 func_module unistr/u32-set
2755 func_module unistr/u8-startswith
2756 func_module unistr/u16-startswith
2757 func_module unistr/u32-startswith
2758 func_module unistr/u8-stpcpy
2759 func_module unistr/u16-stpcpy
2760 func_module unistr/u32-stpcpy
2761 func_module unistr/u8-stpncpy
2762 func_module unistr/u16-stpncpy
2763 func_module unistr/u32-stpncpy
2764 func_module unistr/u8-strcat
2765 func_module unistr/u16-strcat
2766 func_module unistr/u32-strcat
2767 func_module unistr/u8-strchr
2768 func_module unistr/u16-strchr
2769 func_module unistr/u32-strchr
2770 func_module unistr/u8-strcmp
2771 func_module unistr/u16-strcmp
2772 func_module unistr/u32-strcmp
2773 func_module unistr/u8-strcpy
2774 func_module unistr/u16-strcpy
2775 func_module unistr/u32-strcpy
2776 func_module unistr/u8-strcspn
2777 func_module unistr/u16-strcspn
2778 func_module unistr/u32-strcspn
2779 func_module unistr/u8-strdup
2780 func_module unistr/u16-strdup
2781 func_module unistr/u32-strdup
2782 func_module unistr/u8-strlen
2783 func_module unistr/u16-strlen
2784 func_module unistr/u32-strlen
2785 func_module unistr/u8-strmblen
2786 func_module unistr/u16-strmblen
2787 func_module unistr/u32-strmblen
2788 func_module unistr/u8-strmbtouc
2789 func_module unistr/u16-strmbtouc
2790 func_module unistr/u32-strmbtouc
2791 func_module unistr/u8-strncat
2792 func_module unistr/u16-strncat
2793 func_module unistr/u32-strncat
2794 func_module unistr/u8-strncmp
2795 func_module unistr/u16-strncmp
2796 func_module unistr/u32-strncmp
2797 func_module unistr/u8-strncpy
2798 func_module unistr/u16-strncpy
2799 func_module unistr/u32-strncpy
2800 func_module unistr/u8-strnlen
2801 func_module unistr/u16-strnlen
2802 func_module unistr/u32-strnlen
2803 func_module unistr/u8-strpbrk
2804 func_module unistr/u16-strpbrk
2805 func_module unistr/u32-strpbrk
2806 func_module unistr/u8-strrchr
2807 func_module unistr/u16-strrchr
2808 func_module unistr/u32-strrchr
2809 func_module unistr/u8-strspn
2810 func_module unistr/u16-strspn
2811 func_module unistr/u32-strspn
2812 func_module unistr/u8-strstr
2813 func_module unistr/u16-strstr
2814 func_module unistr/u32-strstr
2815 func_module unistr/u8-strtok
2816 func_module unistr/u16-strtok
2817 func_module unistr/u32-strtok
2818 func_module unistr/u8-uctomb
2819 func_module unistr/u16-uctomb
2820 func_module unistr/u32-uctomb
2821 func_module uniconv/base
2822 func_module uniconv/u8-conv-from-enc
2823 func_module uniconv/u16-conv-from-enc
2824 func_module uniconv/u32-conv-from-enc
2825 func_module uniconv/u8-conv-to-enc
2826 func_module uniconv/u16-conv-to-enc
2827 func_module uniconv/u32-conv-to-enc
2828 func_module uniconv/u8-strconv-from-enc
2829 func_module uniconv/u16-strconv-from-enc
2830 func_module uniconv/u32-strconv-from-enc
2831 func_module uniconv/u8-strconv-to-enc
2832 func_module uniconv/u16-strconv-to-enc
2833 func_module uniconv/u32-strconv-to-enc
2834 func_module uniconv/u8-strconv-from-locale
2835 func_module uniconv/u16-strconv-from-locale
2836 func_module uniconv/u32-strconv-from-locale
2837 func_module uniconv/u8-strconv-to-locale
2838 func_module uniconv/u16-strconv-to-locale
2839 func_module uniconv/u32-strconv-to-locale
2840 func_module unistdio/base
2841 func_module unistdio/u-printf-args
2842 func_module unistdio/ulc-asnprintf
2843 func_module unistdio/ulc-asprintf
2844 func_module unistdio/ulc-fprintf
2845 func_module unistdio/ulc-printf-parse
2846 func_module unistdio/ulc-snprintf
2847 func_module unistdio/ulc-sprintf
2848 func_module unistdio/ulc-vasnprintf
2849 func_module unistdio/ulc-vasprintf
2850 func_module unistdio/ulc-vfprintf
2851 func_module unistdio/ulc-vsnprintf
2852 func_module unistdio/ulc-vsprintf
2853 func_module unistdio/u8-asnprintf
2854 func_module unistdio/u8-asprintf
2855 func_module unistdio/u8-printf-parse
2856 func_module unistdio/u8-snprintf
2857 func_module unistdio/u8-sprintf
2858 func_module unistdio/u8-vasnprintf
2859 func_module unistdio/u8-vasprintf
2860 func_module unistdio/u8-vsnprintf
2861 func_module unistdio/u8-vsprintf
2862 func_module unistdio/u8-u8-asnprintf
2863 func_module unistdio/u8-u8-asprintf
2864 func_module unistdio/u8-u8-snprintf
2865 func_module unistdio/u8-u8-sprintf
2866 func_module unistdio/u8-u8-vasnprintf
2867 func_module unistdio/u8-u8-vasprintf
2868 func_module unistdio/u8-u8-vsnprintf
2869 func_module unistdio/u8-u8-vsprintf
2870 func_module unistdio/u16-asnprintf
2871 func_module unistdio/u16-asprintf
2872 func_module unistdio/u16-printf-parse
2873 func_module unistdio/u16-snprintf
2874 func_module unistdio/u16-sprintf
2875 func_module unistdio/u16-vasnprintf
2876 func_module unistdio/u16-vasprintf
2877 func_module unistdio/u16-vsnprintf
2878 func_module unistdio/u16-vsprintf
2879 func_module unistdio/u16-u16-asnprintf
2880 func_module unistdio/u16-u16-asprintf
2881 func_module unistdio/u16-u16-snprintf
2882 func_module unistdio/u16-u16-sprintf
2883 func_module unistdio/u16-u16-vasnprintf
2884 func_module unistdio/u16-u16-vasprintf
2885 func_module unistdio/u16-u16-vsnprintf
2886 func_module unistdio/u16-u16-vsprintf
2887 func_module unistdio/u32-asnprintf
2888 func_module unistdio/u32-asprintf
2889 func_module unistdio/u32-printf-parse
2890 func_module unistdio/u32-snprintf
2891 func_module unistdio/u32-sprintf
2892 func_module unistdio/u32-vasnprintf
2893 func_module unistdio/u32-vasprintf
2894 func_module unistdio/u32-vsnprintf
2895 func_module unistdio/u32-vsprintf
2896 func_module unistdio/u32-u32-asnprintf
2897 func_module unistdio/u32-u32-asprintf
2898 func_module unistdio/u32-u32-snprintf
2899 func_module unistdio/u32-u32-sprintf
2900 func_module unistdio/u32-u32-vasnprintf
2901 func_module unistdio/u32-u32-vasprintf
2902 func_module unistdio/u32-u32-vsnprintf
2903 func_module unistdio/u32-u32-vsprintf
2904 func_module uniname/base
2905 func_module uniname/uniname
2906 func_module unictype/base
2907 func_module unictype/bidicategory-byname
2908 func_module unictype/bidicategory-name
2909 func_module unictype/bidicategory-of
2910 func_module unictype/bidicategory-test
2911 func_module unictype/bidicategory-all
2912 func_module unictype/block-list
2913 func_module unictype/block-of
2914 func_module unictype/block-test
2915 func_module unictype/block-all
2916 func_module unictype/category-C
2917 func_module unictype/category-Cc
2918 func_module unictype/category-Cf
2919 func_module unictype/category-Cn
2920 func_module unictype/category-Co
2921 func_module unictype/category-Cs
2922 func_module unictype/category-L
2923 func_module unictype/category-Ll
2924 func_module unictype/category-Lm
2925 func_module unictype/category-Lo
2926 func_module unictype/category-Lt
2927 func_module unictype/category-Lu
2928 func_module unictype/category-M
2929 func_module unictype/category-Mc
2930 func_module unictype/category-Me
2931 func_module unictype/category-Mn
2932 func_module unictype/category-N
2933 func_module unictype/category-Nd
2934 func_module unictype/category-Nl
2935 func_module unictype/category-No
2936 func_module unictype/category-P
2937 func_module unictype/category-Pc
2938 func_module unictype/category-Pd
2939 func_module unictype/category-Pe
2940 func_module unictype/category-Pf
2941 func_module unictype/category-Pi
2942 func_module unictype/category-Po
2943 func_module unictype/category-Ps
2944 func_module unictype/category-S
2945 func_module unictype/category-Sc
2946 func_module unictype/category-Sk
2947 func_module unictype/category-Sm
2948 func_module unictype/category-So
2949 func_module unictype/category-Z
2950 func_module unictype/category-Zl
2951 func_module unictype/category-Zp
2952 func_module unictype/category-Zs
2953 func_module unictype/category-and
2954 func_module unictype/category-and-not
2955 func_module unictype/category-byname
2956 func_module unictype/category-name
2957 func_module unictype/category-none
2958 func_module unictype/category-of
2959 func_module unictype/category-or
2960 func_module unictype/category-test
2961 func_module unictype/category-test-withtable
2962 func_module unictype/category-all
2963 func_module unictype/combining-class
2964 func_module unictype/ctype-alnum
2965 func_module unictype/ctype-alpha
2966 func_module unictype/ctype-blank
2967 func_module unictype/ctype-cntrl
2968 func_module unictype/ctype-digit
2969 func_module unictype/ctype-graph
2970 func_module unictype/ctype-lower
2971 func_module unictype/ctype-print
2972 func_module unictype/ctype-punct
2973 func_module unictype/ctype-space
2974 func_module unictype/ctype-upper
2975 func_module unictype/ctype-xdigit
2976 func_module unictype/decimal-digit
2977 func_module unictype/digit
2978 func_module unictype/mirror
2979 func_module unictype/numeric
2980 func_module unictype/property-alphabetic
2981 func_module unictype/property-ascii-hex-digit
2982 func_module unictype/property-bidi-arabic-digit
2983 func_module unictype/property-bidi-arabic-right-to-left
2984 func_module unictype/property-bidi-block-separator
2985 func_module unictype/property-bidi-boundary-neutral
2986 func_module unictype/property-bidi-common-separator
2987 func_module unictype/property-bidi-control
2988 func_module unictype/property-bidi-embedding-or-override
2989 func_module unictype/property-bidi-eur-num-separator
2990 func_module unictype/property-bidi-eur-num-terminator
2991 func_module unictype/property-bidi-european-digit
2992 func_module unictype/property-bidi-hebrew-right-to-left
2993 func_module unictype/property-bidi-left-to-right
2994 func_module unictype/property-bidi-non-spacing-mark
2995 func_module unictype/property-bidi-other-neutral
2996 func_module unictype/property-bidi-pdf
2997 func_module unictype/property-bidi-segment-separator
2998 func_module unictype/property-bidi-whitespace
2999 func_module unictype/property-byname
3000 func_module unictype/property-combining
3001 func_module unictype/property-composite
3002 func_module unictype/property-currency-symbol
3003 func_module unictype/property-dash
3004 func_module unictype/property-decimal-digit
3005 func_module unictype/property-default-ignorable-code-point
3006 func_module unictype/property-deprecated
3007 func_module unictype/property-diacritic
3008 func_module unictype/property-extender
3009 func_module unictype/property-format-control
3010 func_module unictype/property-grapheme-base
3011 func_module unictype/property-grapheme-extend
3012 func_module unictype/property-grapheme-link
3013 func_module unictype/property-hex-digit
3014 func_module unictype/property-hyphen
3015 func_module unictype/property-id-continue
3016 func_module unictype/property-id-start
3017 func_module unictype/property-ideographic
3018 func_module unictype/property-ids-binary-operator
3019 func_module unictype/property-ids-trinary-operator
3020 func_module unictype/property-ignorable-control
3021 func_module unictype/property-iso-control
3022 func_module unictype/property-join-control
3023 func_module unictype/property-left-of-pair
3024 func_module unictype/property-line-separator
3025 func_module unictype/property-logical-order-exception
3026 func_module unictype/property-lowercase
3027 func_module unictype/property-math
3028 func_module unictype/property-non-break
3029 func_module unictype/property-not-a-character
3030 func_module unictype/property-numeric
3031 func_module unictype/property-other-alphabetic
3032 func_module unictype/property-other-default-ignorable-code-point
3033 func_module unictype/property-other-grapheme-extend
3034 func_module unictype/property-other-id-continue
3035 func_module unictype/property-other-id-start
3036 func_module unictype/property-other-lowercase
3037 func_module unictype/property-other-math
3038 func_module unictype/property-other-uppercase
3039 func_module unictype/property-paired-punctuation
3040 func_module unictype/property-paragraph-separator
3041 func_module unictype/property-pattern-syntax
3042 func_module unictype/property-pattern-white-space
3043 func_module unictype/property-private-use
3044 func_module unictype/property-punctuation
3045 func_module unictype/property-quotation-mark
3046 func_module unictype/property-radical
3047 func_module unictype/property-sentence-terminal
3048 func_module unictype/property-soft-dotted
3049 func_module unictype/property-space
3050 func_module unictype/property-terminal-punctuation
3051 func_module unictype/property-test
3052 func_module unictype/property-titlecase
3053 func_module unictype/property-unassigned-code-value
3054 func_module unictype/property-unified-ideograph
3055 func_module unictype/property-uppercase
3056 func_module unictype/property-variation-selector
3057 func_module unictype/property-white-space
3058 func_module unictype/property-xid-continue
3059 func_module unictype/property-xid-start
3060 func_module unictype/property-zero-width
3061 func_module unictype/property-all
3062 func_module unictype/scripts
3063 func_module unictype/scripts-all
3064 func_module unictype/syntax-c-ident
3065 func_module unictype/syntax-c-whitespace
3066 func_module unictype/syntax-java-ident
3067 func_module unictype/syntax-java-whitespace
3068 func_module uniwidth/base
3069 func_module uniwidth/u8-strwidth
3070 func_module uniwidth/u8-width
3071 func_module uniwidth/u16-strwidth
3072 func_module uniwidth/u16-width
3073 func_module uniwidth/u32-strwidth
3074 func_module uniwidth/u32-width
3075 func_module uniwidth/width
3076 func_module unilbrk/base
3077 func_module unilbrk/tables
3078 func_module unilbrk/ulc-common
3079 func_module unilbrk/u8-possible-linebreaks
3080 func_module unilbrk/u16-possible-linebreaks
3081 func_module unilbrk/u32-possible-linebreaks
3082 func_module unilbrk/ulc-possible-linebreaks
3083 func_module unilbrk/u8-width-linebreaks
3084 func_module unilbrk/u16-width-linebreaks
3085 func_module unilbrk/u32-width-linebreaks
3086 func_module unilbrk/ulc-width-linebreaks
3089 element="Executing programs"
3090 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
3091 func_section_wrap posix_ext_exec
3093 func_echo "$element"
3097 func_module findprog
3098 func_module wait-process
3101 func_module sh-quote
3105 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
3106 func_section_wrap posix_ext_java
3108 func_echo "$element"
3111 func_module classpath
3112 func_module javacomp-script
3113 func_module javacomp
3114 func_module javaexec-script
3115 func_module javaexec
3116 func_module javaversion
3121 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
3122 func_section_wrap posix_ext_csharp
3124 func_echo "$element"
3127 func_module csharpcomp-script
3128 func_module csharpcomp
3129 func_module csharpexec-script
3130 func_module csharpexec
3134 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
3135 func_section_wrap posix_ext_misc
3137 func_echo "$element"
3142 func_module bitrotate
3143 func_module byteswap
3144 func_module exitfail
3146 func_module extensions
3147 func_module getdomainname
3148 func_module xgetdomainname
3149 func_module getloadavg
3150 func_module getpagesize
3151 func_module getusershell
3152 func_module lib-symbol-visibility
3155 func_module posixver
3156 func_module progname
3157 func_module quotearg
3159 func_module readutmp
3160 func_module random_r
3161 func_module selinux-h
3162 func_module selinux-at
3163 func_module sysexits
3168 element="Support for building libraries and executables"
3169 func_section_wrap build_lib
3171 func_echo "$element"
3174 func_module absolute-header
3175 func_module arg-nonnull
3176 func_module config-h
3177 func_module configmake
3179 func_module elisp-comp
3182 func_module include_next
3184 func_module lib-ignore
3185 func_module lib-msvc-compat
3186 func_module lib-symbol-versions
3187 func_module link-warning
3188 func_module manywarnings
3190 func_module relocatable-lib
3191 func_module relocatable-lib-lgpl
3192 func_module relocatable-prog
3193 func_module relocatable-prog-wrapper
3194 func_module relocatable-script
3195 func_module warn-on-use
3196 func_module warnings
3199 element="Support for building documentation"
3200 func_section_wrap build_doc
3202 func_echo "$element"
3205 func_module agpl-3.0
3211 func_module lgpl-2.1
3212 func_module pmccabe2html
3213 func_module regexprops-generic
3216 element="Support for maintaining and releasing projects"
3217 func_section_wrap maintain
3219 func_echo "$element"
3222 func_module announce-gen
3223 func_module autobuild
3224 func_module do-release-commit-and-tag
3225 func_module git-version-gen
3226 func_module gitlog-to-changelog
3227 func_module gnu-web-doc-update
3228 func_module gnumakefile
3229 func_module gnupload
3230 func_module maintainer-makefile
3232 func_module update-copyright
3233 func_module useless-if-before-free
3234 func_module vc-list-files
3238 func_section_wrap misc
3240 func_echo "$element"
3243 func_module gnu-make
3247 func_module posix-shell
3254 trap 'exit_status=$?
3255 if test "$signal" != 0; then
3256 echo "caught signal $signal" >&2
3259 exit $exit_status' 0
3260 for signal in 1 2 3 13 15; do
3261 trap '{ signal='$signal'; func_exit 1; }' $signal
3265 echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">'
3270 element="Gnulib Module List"
3272 func_echo "$element"
3274 modules=`gnulib-tool --list`
3275 modules=`for m in $modules; do printf "%s, " $m; done | sed -e 's/, $//'`
3276 func_echo '<META NAME="keywords" CONTENT="'"${modules}"'">'
3282 element="Gnulib Module List"
3284 func_echo "$element"
3286 func_echo 'This is a list of the modules which make up gnulib, with dependencies.'
3295 gnulib-tool --list > "$tmp/all-modules"
3296 missed_modules=`for module in $seen_modules; do echo $module; done \
3297 | LC_ALL=C sort -u \
3298 | LC_ALL=C join -v 2 - "$tmp/all-modules"`
3300 if test -n "$missed_modules"; then
3302 element="Unclassified modules - please update MODULES.html.sh"
3303 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
3305 func_echo "$element"
3308 for module in $missed_modules; do
3315 { find lib -type f -print; find m4 -type f -print; } | LC_ALL=C sort | sed -e '/\/\./d' -e /CVS/d -e /README/d -e /ChangeLog/d -e /Makefile/d -e /TODO/d -e '/tags$/d' -e '/TAGS$/d' -e '/~$/d' > "$tmp/all-files"
3316 missed_files=`for file in $seen_files; do echo $file; done \
3317 | LC_ALL=C sort -u \
3318 | LC_ALL=C join -v 2 - "$tmp/all-files"`
3320 if test -n "$missed_files"; then
3322 element="Lone files - please create new modules containing them"
3323 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
3325 func_echo "$element"
3328 echo "$missed_files" | sed -e 's,^\(.*\)$,<A HREF="'$repo_url_prefix'\1'$repo_url_suffix_repl'">\1</A>,'
3333 element="Future developments"
3334 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
3336 func_echo "$element"
3338 func_echo 'Ideally a module could consist of:'
3340 func_echo '<LI>A header file: lib/<VAR>module</VAR>.h'
3341 func_echo '<LI>One or more implementation files: lib/<VAR>module</VAR>.c et al.'
3342 func_echo '<LI>One or more autoconf macro files: m4/<VAR>module</VAR>.m4 et al.'
3343 func_echo '<LI>A configure.ac fragment, Makefile.am fragment, dependency list: modules/<VAR>module</VAR>'
3344 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'
3345 func_echo '<LI>Some documentation'
3346 func_echo '<LI>A POT file and some PO files'
3350 func_echo 'Generated from <CODE>MODULES.html.sh</CODE> on '`LC_ALL=C date +"%e %B %Y"`.
3357 # Undo the effect of the previous 'trap' command.
3359 trap 'func_exit $?' 1 2 3 13 15
3364 # indent-tabs-mode: nil
3365 # whitespace-check-buffer-indent: nil