3 # Copyright (C) 2002-2011 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"
1617 func_echo 'These modules are not listed among dependencies below, for simplicity.'
1618 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.'
1620 element="Support for systems lacking ANSI C 89"
1621 func_section_wrap ansic_sup
1623 func_echo "$element"
1628 func_module strerror
1632 element="Enhancements for ANSI C 89 functions"
1633 func_section_wrap ansic_enh
1635 func_echo "$element"
1637 element="Diagnostics <assert.h>"
1638 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1639 func_section_wrap ansic_enh_assert_diagnostics
1641 func_echo "$element"
1648 element="Mathematics <math.h>"
1649 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1650 func_section_wrap ansic_enh_math
1652 func_echo "$element"
1658 element="Input/output <stdio.h>"
1659 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1660 func_section_wrap ansic_enh_stdio
1662 func_echo "$element"
1670 element="Memory management functions <stdlib.h>"
1671 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1672 func_section_wrap ansic_enh_stdlib_memory
1674 func_echo "$element"
1677 func_module calloc-gnu
1680 func_module malloc-gnu
1681 func_module realloc-gnu
1682 func_module pagealign_alloc
1685 element="Sorting functions <stdlib.h>"
1686 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1687 func_section_wrap ansic_enh_stdlib_sorting
1689 func_echo "$element"
1692 func_module array-mergesort
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"
1777 func_module memmem-simple
1780 func_module amemxfrm
1781 func_module rawmemchr
1784 func_module c-strcase
1786 func_module c-strcaseeq
1787 func_module c-strcasestr
1788 func_module strcasestr
1789 func_module strcasestr-simple
1790 func_module strchrnul
1793 func_module strnlen1
1797 func_module strstr-simple
1798 func_module c-strstr
1799 func_module astrxfrm
1802 func_module xstrndup
1805 element="Mathematics <math.h>"
1806 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1807 func_section_wrap ansic_ext_math
1809 func_echo "$element"
1812 func_module printf-frexp
1815 element="Numeric conversion functions <stdlib.h>"
1816 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1817 func_section_wrap ansic_ext_stdlib_conv
1819 func_echo "$element"
1822 func_module c-strtod
1823 func_module c-strtold
1826 func_module xstrtoll
1827 func_module xstrtold
1830 element="Date and time <time.h>"
1831 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1832 func_section_wrap ansic_ext_time_datetime
1834 func_echo "$element"
1837 func_module parse-datetime
1842 element="Input/Output <stdio.h>"
1843 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1844 func_section_wrap ansic_ext_stdio
1846 func_echo "$element"
1849 func_module unlocked-io
1850 func_module fwriteerror
1851 func_module vasnprintf
1852 func_module vasprintf
1854 func_module xvasprintf
1857 element="Signal handling <signal.h>"
1858 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1859 func_section_wrap ansic_ext_signal
1861 func_echo "$element"
1864 func_module fatal-signal
1866 func_module strsignal
1869 element="Command-line arguments"
1870 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1871 func_section_wrap ansic_ext_argv
1873 func_echo "$element"
1876 func_module argmatch
1877 func_module argv-iter
1878 func_module version-etc
1879 func_module version-etc-fsf
1880 func_module long-options
1883 element="Container data structures"
1884 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1885 func_section_wrap ansic_ext_container
1887 func_echo "$element"
1892 func_module array-list
1893 func_module carray-list
1894 func_module linked-list
1895 func_module avltree-list
1896 func_module rbtree-list
1897 func_module linkedhash-list
1898 func_module avltreehash-list
1899 func_module rbtreehash-list
1901 func_module xsublist
1904 func_module array-oset
1905 func_module avltree-oset
1906 func_module rbtree-oset
1909 element="Cryptographic computations (low-level)"
1910 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1911 func_section_wrap ansic_ext_crypto
1913 func_echo "$element"
1916 func_module crypto/arcfour
1917 func_module crypto/arctwo
1918 func_module crypto/des
1919 func_module crypto/hmac-md5
1920 func_module crypto/hmac-sha1
1921 func_module crypto/md2
1922 func_module crypto/md4
1923 func_module crypto/md5
1924 func_module crypto/rijndael
1925 func_module crypto/sha1
1926 func_module crypto/sha256
1927 func_module crypto/sha512
1930 element="Cryptographic computations (high-level)"
1931 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1932 func_section_wrap ansic_ext_crypto2
1934 func_echo "$element"
1937 func_module crypto/gc
1938 func_module crypto/gc-arcfour
1939 func_module crypto/gc-arctwo
1940 func_module crypto/gc-camellia
1941 func_module crypto/gc-des
1942 func_module crypto/gc-hmac-md5
1943 func_module crypto/gc-hmac-sha1
1944 func_module crypto/gc-md2
1945 func_module crypto/gc-md4
1946 func_module crypto/gc-md5
1947 func_module crypto/gc-pbkdf2-sha1
1948 func_module crypto/gc-random
1949 func_module crypto/gc-rijndael
1950 func_module crypto/gc-sha1
1953 element="Compiler warning management"
1954 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1955 func_section_wrap ansic_ext_compwarn
1957 func_echo "$element"
1960 func_module ignore-value
1964 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1965 func_section_wrap ansic_ext_misc
1967 func_echo "$element"
1971 func_module check-version
1976 func_module getdelim
1977 func_module getnline
1978 func_module getndelim2
1979 func_module linebuffer
1982 func_module obstack-printf
1983 func_module obstack-printf-posix
1984 func_module hash-pjw
1986 func_module readline
1987 func_module readtokens
1988 func_module readtokens0
1989 func_module strverscmp
1990 func_module filevercmp
1993 element="Support for systems lacking ISO C 99"
1994 func_section_wrap isoc_sup
1996 func_echo "$element"
1998 element="Core language properties"
1999 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2000 func_section_wrap isoc_core_properties
2002 func_echo "$element"
2006 func_module flexmember
2010 func_module longlong
2011 func_module unused-parameter
2013 func_module vararrays
2016 element="Sizes of integer types <limits.h>"
2017 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2018 func_section_wrap isoc_sup_limits
2020 func_echo "$element"
2023 func_module size_max
2026 element="Variable arguments <stdarg.h>"
2027 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2028 func_section_wrap isoc_sup_stdarg
2030 func_echo "$element"
2036 element="Boolean type and values <stdbool.h>"
2037 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2038 func_section_wrap isoc_sup_stdbool
2040 func_echo "$element"
2046 element="Basic types <stddef.h>"
2047 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2048 func_section_wrap isoc_sup_stddef
2050 func_echo "$element"
2056 element="Integer types and values <stdint.h>"
2057 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2058 func_section_wrap isoc_sup_stdint
2060 func_echo "$element"
2066 element="Input/output <stdio.h>"
2067 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2068 func_section_wrap isoc_sup_stdio
2070 func_echo "$element"
2074 func_module snprintf
2075 func_module vsnprintf
2078 element="Process control, Numeric conversion functions <stdlib.h>"
2079 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2080 func_section_wrap isoc_sup_stdlib_procconv
2082 func_echo "$element"
2088 func_module strtoull
2091 element="Unibyte characters <ctype.h>"
2092 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2093 func_section_wrap isoc_sup_ctype
2095 func_echo "$element"
2101 element="Functions for greatest-width integer types <inttypes.h>"
2102 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2103 func_section_wrap isoc_sup_inttypes
2105 func_echo "$element"
2110 func_module inttypes
2111 func_module strtoimax
2112 func_module strtoumax
2115 element="String handling <string.h>"
2116 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2117 func_section_wrap isoc_sup_string
2119 func_echo "$element"
2125 element="Extended multibyte and wide character utilities <wchar.h>"
2126 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2127 func_section_wrap isoc_sup_wchar
2129 func_echo "$element"
2138 func_module mbsrtowcs
2140 func_module wcsrtombs
2143 element="Wide character classification and mapping utilities <wctype.h>"
2144 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2145 func_section_wrap isoc_sup_wctype
2147 func_echo "$element"
2153 element="Characteristics of floating types <float.h>"
2154 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2155 func_section_wrap isoc_sup_float
2157 func_echo "$element"
2163 element="Mathematics <math.h>"
2164 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2165 func_section_wrap isoc_sup_math
2167 func_echo "$element"
2181 func_module copysign
2195 func_module frexp-nolibm
2197 func_module frexpl-nolibm
2199 func_module isfinite
2203 func_module isnanf-nolibm
2205 func_module isnand-nolibm
2207 func_module isnanl-nolibm
2222 func_module nextafter
2224 func_module remainder
2246 element="Enhancements for ISO C 99 functions"
2247 func_section_wrap isoc_enh
2249 func_echo "$element"
2251 element="Input/output <stdio.h>"
2252 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2253 func_section_wrap isoc_enh_stdio
2255 func_echo "$element"
2258 func_module printf-safe
2261 element="Extra functions based on ISO C 99"
2262 func_section_wrap isoc_ext
2264 func_echo "$element"
2266 element="Mathematics <math.h>"
2267 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2268 func_section_wrap isoc_ext_math
2270 func_echo "$element"
2273 func_module printf-frexpl
2276 element="Numeric conversion functions <stdlib.h>"
2277 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2278 func_section_wrap isoc_ext_stdlib_conv
2280 func_echo "$element"
2285 func_module intprops
2286 func_module inttostr
2287 func_module ldtoastr
2288 func_module xstrtoimax
2289 func_module xstrtoumax
2292 element="Extended multibyte and wide character utilities <wchar.h>"
2293 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2294 func_section_wrap isoc_ext_wchar_mb
2296 func_echo "$element"
2305 element="Support for obsolete systems lacking POSIX:2008"
2306 func_section_wrap posix_sup_obsolete
2308 func_echo "$element"
2314 func_echo 'These modules are not listed among dependencies below, for simplicity.'
2315 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.'
2317 element="Support for systems lacking POSIX:2008"
2318 func_section_wrap posix_sup
2320 func_echo "$element"
2324 func_module alphasort
2325 func_module arpa_inet
2327 func_module calloc-posix
2333 func_module dprintf-posix
2335 func_module duplocale
2344 func_module fprintf-posix
2351 func_module ftruncate
2352 func_module futimens
2353 func_module getaddrinfo
2355 func_module getcwd-lgpl
2356 func_module getgroups
2357 func_module gethostname
2358 func_module getlogin
2359 func_module getlogin_r
2360 func_module getopt-posix
2361 func_module getpeername
2362 func_module getsockname
2363 func_module getsockopt
2364 func_module getsubopt
2365 func_module gettimeofday
2369 func_module iconv_open
2370 func_module inet_ntop
2371 func_module inet_pton
2374 func_module langinfo
2381 func_module malloc-posix
2382 func_module mbsnrtowcs
2389 func_module netinet_in
2390 func_module nl_langinfo
2395 func_module posix_spawn
2396 func_module posix_spawnattr_destroy
2397 func_module posix_spawnattr_getflags
2398 func_module posix_spawnattr_getpgroup
2399 func_module posix_spawnattr_getschedparam
2400 func_module posix_spawnattr_getschedpolicy
2401 func_module posix_spawnattr_getsigdefault
2402 func_module posix_spawnattr_getsigmask
2403 func_module posix_spawnattr_init
2404 func_module posix_spawnattr_setflags
2405 func_module posix_spawnattr_setpgroup
2406 func_module posix_spawnattr_setschedparam
2407 func_module posix_spawnattr_setschedpolicy
2408 func_module posix_spawnattr_setsigdefault
2409 func_module posix_spawnattr_setsigmask
2410 func_module posix_spawn_file_actions_addclose
2411 func_module posix_spawn_file_actions_adddup2
2412 func_module posix_spawn_file_actions_addopen
2413 func_module posix_spawn_file_actions_destroy
2414 func_module posix_spawn_file_actions_init
2415 func_module posix_spawn-internal
2416 func_module posix_spawnp
2418 func_module printf-posix
2422 func_module readlink
2423 func_module realloc-posix
2425 func_module recvfrom
2433 func_module setsockopt
2434 func_module shutdown
2437 func_module snprintf-posix
2440 func_module sprintf-posix
2442 func_module strdup-posix
2445 func_module tempname
2449 func_module timespec
2450 func_module nanosleep
2453 func_module renameat
2456 func_module sigaction
2457 func_module sigprocmask
2460 func_module strptime
2461 func_module strtok_r
2462 func_module sys_select
2463 func_module sys_socket
2464 func_module sys_stat
2465 func_module sys_time
2466 func_module sys_times
2468 func_module sys_utsname
2469 func_module sys_wait
2471 func_module ttyname_r
2475 func_module unlockpt
2476 func_module utimensat
2477 func_module vasnprintf-posix
2478 func_module vasprintf-posix
2479 func_module vdprintf
2480 func_module vdprintf-posix
2481 func_module vfprintf-posix
2482 func_module vprintf-posix
2483 func_module vsnprintf-posix
2484 func_module vsprintf-posix
2485 func_module wcsnrtombs
2490 element="Compatibility checks for POSIX:2008 functions"
2491 func_section_wrap posix_compat
2493 func_echo "$element"
2496 func_module clock-time
2499 func_module link-follow
2500 func_module rename-dest-slash
2501 func_module rmdir-errno
2502 func_module unlink-busy
2503 func_module winsz-ioctl
2504 func_module winsz-termios
2507 element="Enhancements for POSIX:2008 functions"
2508 func_section_wrap posix_enh
2510 func_echo "$element"
2513 func_module chdir-long
2514 func_module dirent-safer
2516 func_module dirname-lgpl
2517 func_module getopt-gnu
2518 func_module iconv_open-utf
2519 func_module unistd-safer
2521 func_module fnmatch-posix
2522 func_module fnmatch-gnu
2527 element="Extra functions based on POSIX:2008"
2528 func_section_wrap posix_ext
2530 func_echo "$element"
2532 element="Input/output"
2533 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2534 func_section_wrap posix_ext_stdio
2536 func_echo "$element"
2539 func_module xprintf-posix
2540 func_module xvasprintf-posix
2543 element="Numeric conversion functions"
2544 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2545 func_section_wrap posix_ext_conv
2547 func_echo "$element"
2553 element="File system functions"
2554 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2555 func_section_wrap posix_ext_filesys
2557 func_echo "$element"
2561 func_module areadlink
2562 func_module areadlink-with-size
2563 func_module areadlinkat
2564 func_module areadlinkat-with-size
2565 func_module backupfile
2566 func_module canonicalize
2567 func_module canonicalize-lgpl
2568 func_module chdir-safer
2569 func_module clean-temp
2570 func_module concat-filename
2571 func_module copy-file
2574 func_module double-slash-root
2575 func_module euidaccess
2576 func_module faccessat
2577 func_module fdopendir
2578 func_module fdutimensat
2579 func_module file-type
2580 func_module fileblocks
2581 func_module filemode
2582 func_module filename
2583 func_module filenamecat
2584 func_module filenamecat-lgpl
2589 func_module mkancesdirs
2590 func_module mkfifoat
2592 func_module mkostemp
2593 func_module mkostemps
2594 func_module mkstemps
2595 func_module modechange
2596 func_module mountlist
2598 func_module openat-die
2600 func_module read-file
2601 func_module readlinkat
2603 func_module save-cwd
2606 func_module stat-macros
2607 func_module stat-time
2609 func_module symlinkat
2610 func_module sys_file
2611 func_module sys_ioctl
2613 func_module unlinkdir
2614 func_module utimecmp
2616 func_module write-any-file
2617 func_module xconcat-filename
2619 func_module xreadlink
2620 func_module xreadlinkat
2623 element="File system as inode set"
2624 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2625 func_section_wrap posix_ext_inodeset
2627 func_echo "$element"
2630 func_module cycle-check
2632 func_module file-set
2633 func_module hash-triple
2635 func_module same-inode
2638 element="File descriptor based Input/Output"
2639 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2640 func_section_wrap posix_ext_filedesc
2642 func_echo "$element"
2646 func_module fd-safer-flag
2647 func_module getdtablesize
2648 func_module fcntl-safer
2649 func_module openat-safer
2650 func_module safe-read
2651 func_module safe-write
2652 func_module full-read
2653 func_module full-write
2654 func_module binary-io
2656 func_module pipe-posix
2658 func_module pipe2-safer
2661 element="File stream based Input/Output"
2662 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2663 func_section_wrap posix_ext_filestream
2665 func_echo "$element"
2668 func_module close-stream
2670 func_module closeout
2671 func_module fbufmode
2672 func_module fopen-safer
2673 func_module fpending
2675 func_module freadable
2676 func_module freadahead
2677 func_module freading
2678 func_module freadptr
2679 func_module freadseek
2680 func_module freopen-safer
2681 func_module fwritable
2682 func_module fwriting
2684 func_module getpass-gnu
2685 func_module popen-safer
2686 func_module stdlib-safer
2687 func_module tmpfile-safer
2688 func_module xfreopen
2691 element="Users and groups"
2692 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2693 func_section_wrap posix_ext_uidgid
2695 func_echo "$element"
2698 func_module getugroups
2699 func_module group-member
2701 func_module mgetgroups
2702 func_module userspec
2706 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2707 func_section_wrap posix_ext_security
2709 func_echo "$element"
2712 func_module idpriv-drop
2713 func_module idpriv-droptemp
2714 func_module priv-set
2717 element="Date and time"
2718 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2719 func_section_wrap posix_ext_datetime
2721 func_echo "$element"
2724 func_module gethrxtime
2729 func_module xnanosleep
2732 element="Networking functions"
2733 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2734 func_section_wrap posix_ext_net
2736 func_echo "$element"
2740 func_module xgethostname
2741 func_module canon-host
2745 element="Multithreading"
2746 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2747 func_section_wrap posix_ext_thread
2749 func_echo "$element"
2752 func_module threadlib
2761 element="Signal handling"
2762 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2763 func_section_wrap posix_ext_signal
2765 func_echo "$element"
2769 func_module libsigsegv
2772 func_module sigpipe-die
2775 element="Internationalization functions"
2776 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2777 func_section_wrap posix_ext_i18n
2779 func_echo "$element"
2783 func_module gettext-h
2784 func_module propername
2786 func_module striconv
2787 func_module xstriconv
2788 func_module striconveh
2789 func_module xstriconveh
2790 func_module striconveha
2791 func_module localcharset
2792 func_module hard-locale
2793 func_module localename
2794 func_module mbmemcasecmp
2795 func_module mbmemcasecoll
2801 func_module mbscasecmp
2802 func_module mbsncasecmp
2803 func_module mbspcasecmp
2804 func_module mbscasestr
2809 func_module mbstok_r
2810 func_module mbswidth
2811 func_module memcasecmp
2813 func_module xmemcoll
2814 func_module unicodeio
2817 func_module bison-i18n
2820 element="Unicode string functions"
2821 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2822 func_section_wrap posix_ext_unicode
2824 func_echo "$element"
2827 func_module libunistring
2828 func_module libunistring-optional
2829 func_module unitypes
2830 func_module ucs4-utf8
2831 func_module ucs4-utf16
2832 func_module utf8-ucs4-unsafe
2833 func_module utf16-ucs4-unsafe
2834 func_module utf8-ucs4
2835 func_module utf16-ucs4
2836 func_module unistr/base
2837 func_module unistr/u8-to-u16
2838 func_module unistr/u8-to-u32
2839 func_module unistr/u16-to-u8
2840 func_module unistr/u16-to-u32
2841 func_module unistr/u32-to-u8
2842 func_module unistr/u32-to-u16
2843 func_module unistr/u8-check
2844 func_module unistr/u16-check
2845 func_module unistr/u32-check
2846 func_module unistr/u8-chr
2847 func_module unistr/u16-chr
2848 func_module unistr/u32-chr
2849 func_module unistr/u8-cmp
2850 func_module unistr/u16-cmp
2851 func_module unistr/u32-cmp
2852 func_module unistr/u8-cmp2
2853 func_module unistr/u16-cmp2
2854 func_module unistr/u32-cmp2
2855 func_module unistr/u8-cpy
2856 func_module unistr/u16-cpy
2857 func_module unistr/u32-cpy
2858 func_module unistr/u8-cpy-alloc
2859 func_module unistr/u16-cpy-alloc
2860 func_module unistr/u32-cpy-alloc
2861 func_module unistr/u8-endswith
2862 func_module unistr/u16-endswith
2863 func_module unistr/u32-endswith
2864 func_module unistr/u8-mblen
2865 func_module unistr/u16-mblen
2866 func_module unistr/u32-mblen
2867 func_module unistr/u8-mbsnlen
2868 func_module unistr/u16-mbsnlen
2869 func_module unistr/u32-mbsnlen
2870 func_module unistr/u8-mbtouc-unsafe
2871 func_module unistr/u16-mbtouc-unsafe
2872 func_module unistr/u32-mbtouc-unsafe
2873 func_module unistr/u8-mbtouc
2874 func_module unistr/u16-mbtouc
2875 func_module unistr/u32-mbtouc
2876 func_module unistr/u8-mbtoucr
2877 func_module unistr/u16-mbtoucr
2878 func_module unistr/u32-mbtoucr
2879 func_module unistr/u8-move
2880 func_module unistr/u16-move
2881 func_module unistr/u32-move
2882 func_module unistr/u8-next
2883 func_module unistr/u16-next
2884 func_module unistr/u32-next
2885 func_module unistr/u8-prev
2886 func_module unistr/u16-prev
2887 func_module unistr/u32-prev
2888 func_module unistr/u8-set
2889 func_module unistr/u16-set
2890 func_module unistr/u32-set
2891 func_module unistr/u8-startswith
2892 func_module unistr/u16-startswith
2893 func_module unistr/u32-startswith
2894 func_module unistr/u8-stpcpy
2895 func_module unistr/u16-stpcpy
2896 func_module unistr/u32-stpcpy
2897 func_module unistr/u8-stpncpy
2898 func_module unistr/u16-stpncpy
2899 func_module unistr/u32-stpncpy
2900 func_module unistr/u8-strcat
2901 func_module unistr/u16-strcat
2902 func_module unistr/u32-strcat
2903 func_module unistr/u8-strchr
2904 func_module unistr/u16-strchr
2905 func_module unistr/u32-strchr
2906 func_module unistr/u8-strcmp
2907 func_module unistr/u16-strcmp
2908 func_module unistr/u32-strcmp
2909 func_module unistr/u8-strcoll
2910 func_module unistr/u16-strcoll
2911 func_module unistr/u32-strcoll
2912 func_module unistr/u8-strcpy
2913 func_module unistr/u16-strcpy
2914 func_module unistr/u32-strcpy
2915 func_module unistr/u8-strcspn
2916 func_module unistr/u16-strcspn
2917 func_module unistr/u32-strcspn
2918 func_module unistr/u8-strdup
2919 func_module unistr/u16-strdup
2920 func_module unistr/u32-strdup
2921 func_module unistr/u8-strlen
2922 func_module unistr/u16-strlen
2923 func_module unistr/u32-strlen
2924 func_module unistr/u8-strmblen
2925 func_module unistr/u16-strmblen
2926 func_module unistr/u32-strmblen
2927 func_module unistr/u8-strmbtouc
2928 func_module unistr/u16-strmbtouc
2929 func_module unistr/u32-strmbtouc
2930 func_module unistr/u8-strncat
2931 func_module unistr/u16-strncat
2932 func_module unistr/u32-strncat
2933 func_module unistr/u8-strncmp
2934 func_module unistr/u16-strncmp
2935 func_module unistr/u32-strncmp
2936 func_module unistr/u8-strncpy
2937 func_module unistr/u16-strncpy
2938 func_module unistr/u32-strncpy
2939 func_module unistr/u8-strnlen
2940 func_module unistr/u16-strnlen
2941 func_module unistr/u32-strnlen
2942 func_module unistr/u8-strpbrk
2943 func_module unistr/u16-strpbrk
2944 func_module unistr/u32-strpbrk
2945 func_module unistr/u8-strrchr
2946 func_module unistr/u16-strrchr
2947 func_module unistr/u32-strrchr
2948 func_module unistr/u8-strspn
2949 func_module unistr/u16-strspn
2950 func_module unistr/u32-strspn
2951 func_module unistr/u8-strstr
2952 func_module unistr/u16-strstr
2953 func_module unistr/u32-strstr
2954 func_module unistr/u8-strtok
2955 func_module unistr/u16-strtok
2956 func_module unistr/u32-strtok
2957 func_module unistr/u8-uctomb
2958 func_module unistr/u16-uctomb
2959 func_module unistr/u32-uctomb
2960 func_module uniconv/base
2961 func_module uniconv/u8-conv-from-enc
2962 func_module uniconv/u16-conv-from-enc
2963 func_module uniconv/u32-conv-from-enc
2964 func_module uniconv/u8-conv-to-enc
2965 func_module uniconv/u16-conv-to-enc
2966 func_module uniconv/u32-conv-to-enc
2967 func_module uniconv/u8-strconv-from-enc
2968 func_module uniconv/u16-strconv-from-enc
2969 func_module uniconv/u32-strconv-from-enc
2970 func_module uniconv/u8-strconv-to-enc
2971 func_module uniconv/u16-strconv-to-enc
2972 func_module uniconv/u32-strconv-to-enc
2973 func_module uniconv/u8-strconv-from-locale
2974 func_module uniconv/u16-strconv-from-locale
2975 func_module uniconv/u32-strconv-from-locale
2976 func_module uniconv/u8-strconv-to-locale
2977 func_module uniconv/u16-strconv-to-locale
2978 func_module uniconv/u32-strconv-to-locale
2979 func_module unistdio/base
2980 func_module unistdio/u-printf-args
2981 func_module unistdio/ulc-asnprintf
2982 func_module unistdio/ulc-asprintf
2983 func_module unistdio/ulc-fprintf
2984 func_module unistdio/ulc-printf-parse
2985 func_module unistdio/ulc-snprintf
2986 func_module unistdio/ulc-sprintf
2987 func_module unistdio/ulc-vasnprintf
2988 func_module unistdio/ulc-vasprintf
2989 func_module unistdio/ulc-vfprintf
2990 func_module unistdio/ulc-vsnprintf
2991 func_module unistdio/ulc-vsprintf
2992 func_module unistdio/u8-asnprintf
2993 func_module unistdio/u8-asprintf
2994 func_module unistdio/u8-printf-parse
2995 func_module unistdio/u8-snprintf
2996 func_module unistdio/u8-sprintf
2997 func_module unistdio/u8-vasnprintf
2998 func_module unistdio/u8-vasprintf
2999 func_module unistdio/u8-vsnprintf
3000 func_module unistdio/u8-vsprintf
3001 func_module unistdio/u8-u8-asnprintf
3002 func_module unistdio/u8-u8-asprintf
3003 func_module unistdio/u8-u8-snprintf
3004 func_module unistdio/u8-u8-sprintf
3005 func_module unistdio/u8-u8-vasnprintf
3006 func_module unistdio/u8-u8-vasprintf
3007 func_module unistdio/u8-u8-vsnprintf
3008 func_module unistdio/u8-u8-vsprintf
3009 func_module unistdio/u16-asnprintf
3010 func_module unistdio/u16-asprintf
3011 func_module unistdio/u16-printf-parse
3012 func_module unistdio/u16-snprintf
3013 func_module unistdio/u16-sprintf
3014 func_module unistdio/u16-vasnprintf
3015 func_module unistdio/u16-vasprintf
3016 func_module unistdio/u16-vsnprintf
3017 func_module unistdio/u16-vsprintf
3018 func_module unistdio/u16-u16-asnprintf
3019 func_module unistdio/u16-u16-asprintf
3020 func_module unistdio/u16-u16-snprintf
3021 func_module unistdio/u16-u16-sprintf
3022 func_module unistdio/u16-u16-vasnprintf
3023 func_module unistdio/u16-u16-vasprintf
3024 func_module unistdio/u16-u16-vsnprintf
3025 func_module unistdio/u16-u16-vsprintf
3026 func_module unistdio/u32-asnprintf
3027 func_module unistdio/u32-asprintf
3028 func_module unistdio/u32-printf-parse
3029 func_module unistdio/u32-snprintf
3030 func_module unistdio/u32-sprintf
3031 func_module unistdio/u32-vasnprintf
3032 func_module unistdio/u32-vasprintf
3033 func_module unistdio/u32-vsnprintf
3034 func_module unistdio/u32-vsprintf
3035 func_module unistdio/u32-u32-asnprintf
3036 func_module unistdio/u32-u32-asprintf
3037 func_module unistdio/u32-u32-snprintf
3038 func_module unistdio/u32-u32-sprintf
3039 func_module unistdio/u32-u32-vasnprintf
3040 func_module unistdio/u32-u32-vasprintf
3041 func_module unistdio/u32-u32-vsnprintf
3042 func_module unistdio/u32-u32-vsprintf
3043 func_module uniname/base
3044 func_module uniname/uniname
3045 func_module unictype/base
3046 func_module unictype/bidicategory-byname
3047 func_module unictype/bidicategory-name
3048 func_module unictype/bidicategory-of
3049 func_module unictype/bidicategory-test
3050 func_module unictype/bidicategory-all
3051 func_module unictype/block-list
3052 func_module unictype/block-of
3053 func_module unictype/block-test
3054 func_module unictype/block-all
3055 func_module unictype/category-C
3056 func_module unictype/category-Cc
3057 func_module unictype/category-Cf
3058 func_module unictype/category-Cn
3059 func_module unictype/category-Co
3060 func_module unictype/category-Cs
3061 func_module unictype/category-L
3062 func_module unictype/category-Ll
3063 func_module unictype/category-Lm
3064 func_module unictype/category-Lo
3065 func_module unictype/category-Lt
3066 func_module unictype/category-Lu
3067 func_module unictype/category-M
3068 func_module unictype/category-Mc
3069 func_module unictype/category-Me
3070 func_module unictype/category-Mn
3071 func_module unictype/category-N
3072 func_module unictype/category-Nd
3073 func_module unictype/category-Nl
3074 func_module unictype/category-No
3075 func_module unictype/category-P
3076 func_module unictype/category-Pc
3077 func_module unictype/category-Pd
3078 func_module unictype/category-Pe
3079 func_module unictype/category-Pf
3080 func_module unictype/category-Pi
3081 func_module unictype/category-Po
3082 func_module unictype/category-Ps
3083 func_module unictype/category-S
3084 func_module unictype/category-Sc
3085 func_module unictype/category-Sk
3086 func_module unictype/category-Sm
3087 func_module unictype/category-So
3088 func_module unictype/category-Z
3089 func_module unictype/category-Zl
3090 func_module unictype/category-Zp
3091 func_module unictype/category-Zs
3092 func_module unictype/category-and
3093 func_module unictype/category-and-not
3094 func_module unictype/category-byname
3095 func_module unictype/category-name
3096 func_module unictype/category-none
3097 func_module unictype/category-of
3098 func_module unictype/category-or
3099 func_module unictype/category-test
3100 func_module unictype/category-test-withtable
3101 func_module unictype/category-all
3102 func_module unictype/combining-class
3103 func_module unictype/ctype-alnum
3104 func_module unictype/ctype-alpha
3105 func_module unictype/ctype-blank
3106 func_module unictype/ctype-cntrl
3107 func_module unictype/ctype-digit
3108 func_module unictype/ctype-graph
3109 func_module unictype/ctype-lower
3110 func_module unictype/ctype-print
3111 func_module unictype/ctype-punct
3112 func_module unictype/ctype-space
3113 func_module unictype/ctype-upper
3114 func_module unictype/ctype-xdigit
3115 func_module unictype/decimal-digit
3116 func_module unictype/digit
3117 func_module unictype/mirror
3118 func_module unictype/numeric
3119 func_module unictype/property-alphabetic
3120 func_module unictype/property-ascii-hex-digit
3121 func_module unictype/property-bidi-arabic-digit
3122 func_module unictype/property-bidi-arabic-right-to-left
3123 func_module unictype/property-bidi-block-separator
3124 func_module unictype/property-bidi-boundary-neutral
3125 func_module unictype/property-bidi-common-separator
3126 func_module unictype/property-bidi-control
3127 func_module unictype/property-bidi-embedding-or-override
3128 func_module unictype/property-bidi-eur-num-separator
3129 func_module unictype/property-bidi-eur-num-terminator
3130 func_module unictype/property-bidi-european-digit
3131 func_module unictype/property-bidi-hebrew-right-to-left
3132 func_module unictype/property-bidi-left-to-right
3133 func_module unictype/property-bidi-non-spacing-mark
3134 func_module unictype/property-bidi-other-neutral
3135 func_module unictype/property-bidi-pdf
3136 func_module unictype/property-bidi-segment-separator
3137 func_module unictype/property-bidi-whitespace
3138 func_module unictype/property-byname
3139 func_module unictype/property-case-ignorable
3140 func_module unictype/property-cased
3141 func_module unictype/property-changes-when-casefolded
3142 func_module unictype/property-changes-when-casemapped
3143 func_module unictype/property-changes-when-lowercased
3144 func_module unictype/property-changes-when-titlecased
3145 func_module unictype/property-changes-when-uppercased
3146 func_module unictype/property-combining
3147 func_module unictype/property-composite
3148 func_module unictype/property-currency-symbol
3149 func_module unictype/property-dash
3150 func_module unictype/property-decimal-digit
3151 func_module unictype/property-default-ignorable-code-point
3152 func_module unictype/property-deprecated
3153 func_module unictype/property-diacritic
3154 func_module unictype/property-extender
3155 func_module unictype/property-format-control
3156 func_module unictype/property-grapheme-base
3157 func_module unictype/property-grapheme-extend
3158 func_module unictype/property-grapheme-link
3159 func_module unictype/property-hex-digit
3160 func_module unictype/property-hyphen
3161 func_module unictype/property-id-continue
3162 func_module unictype/property-id-start
3163 func_module unictype/property-ideographic
3164 func_module unictype/property-ids-binary-operator
3165 func_module unictype/property-ids-trinary-operator
3166 func_module unictype/property-ignorable-control
3167 func_module unictype/property-iso-control
3168 func_module unictype/property-join-control
3169 func_module unictype/property-left-of-pair
3170 func_module unictype/property-line-separator
3171 func_module unictype/property-logical-order-exception
3172 func_module unictype/property-lowercase
3173 func_module unictype/property-math
3174 func_module unictype/property-non-break
3175 func_module unictype/property-not-a-character
3176 func_module unictype/property-numeric
3177 func_module unictype/property-other-alphabetic
3178 func_module unictype/property-other-default-ignorable-code-point
3179 func_module unictype/property-other-grapheme-extend
3180 func_module unictype/property-other-id-continue
3181 func_module unictype/property-other-id-start
3182 func_module unictype/property-other-lowercase
3183 func_module unictype/property-other-math
3184 func_module unictype/property-other-uppercase
3185 func_module unictype/property-paired-punctuation
3186 func_module unictype/property-paragraph-separator
3187 func_module unictype/property-pattern-syntax
3188 func_module unictype/property-pattern-white-space
3189 func_module unictype/property-private-use
3190 func_module unictype/property-punctuation
3191 func_module unictype/property-quotation-mark
3192 func_module unictype/property-radical
3193 func_module unictype/property-sentence-terminal
3194 func_module unictype/property-soft-dotted
3195 func_module unictype/property-space
3196 func_module unictype/property-terminal-punctuation
3197 func_module unictype/property-test
3198 func_module unictype/property-titlecase
3199 func_module unictype/property-unassigned-code-value
3200 func_module unictype/property-unified-ideograph
3201 func_module unictype/property-uppercase
3202 func_module unictype/property-variation-selector
3203 func_module unictype/property-white-space
3204 func_module unictype/property-xid-continue
3205 func_module unictype/property-xid-start
3206 func_module unictype/property-zero-width
3207 func_module unictype/property-all
3208 func_module unictype/scripts
3209 func_module unictype/scripts-all
3210 func_module unictype/syntax-c-ident
3211 func_module unictype/syntax-c-whitespace
3212 func_module unictype/syntax-java-ident
3213 func_module unictype/syntax-java-whitespace
3214 func_module uniwidth/base
3215 func_module uniwidth/u8-strwidth
3216 func_module uniwidth/u8-width
3217 func_module uniwidth/u16-strwidth
3218 func_module uniwidth/u16-width
3219 func_module uniwidth/u32-strwidth
3220 func_module uniwidth/u32-width
3221 func_module uniwidth/width
3222 func_module uniwbrk/base
3223 func_module uniwbrk/ulc-wordbreaks
3224 func_module uniwbrk/u8-wordbreaks
3225 func_module uniwbrk/u16-wordbreaks
3226 func_module uniwbrk/u32-wordbreaks
3227 func_module uniwbrk/wordbreak-property
3228 func_module unilbrk/base
3229 func_module unilbrk/tables
3230 func_module unilbrk/ulc-common
3231 func_module unilbrk/u8-possible-linebreaks
3232 func_module unilbrk/u16-possible-linebreaks
3233 func_module unilbrk/u32-possible-linebreaks
3234 func_module unilbrk/ulc-possible-linebreaks
3235 func_module unilbrk/u8-width-linebreaks
3236 func_module unilbrk/u16-width-linebreaks
3237 func_module unilbrk/u32-width-linebreaks
3238 func_module unilbrk/ulc-width-linebreaks
3239 func_module uninorm/base
3240 func_module uninorm/canonical-decomposition
3241 func_module uninorm/composition
3242 func_module uninorm/decomposing-form
3243 func_module uninorm/decomposition
3244 func_module uninorm/filter
3245 func_module uninorm/nfc
3246 func_module uninorm/nfd
3247 func_module uninorm/nfkc
3248 func_module uninorm/nfkd
3249 func_module uninorm/u8-normalize
3250 func_module uninorm/u16-normalize
3251 func_module uninorm/u32-normalize
3252 func_module uninorm/u8-normcmp
3253 func_module uninorm/u16-normcmp
3254 func_module uninorm/u32-normcmp
3255 func_module uninorm/u8-normcoll
3256 func_module uninorm/u16-normcoll
3257 func_module uninorm/u32-normcoll
3258 func_module uninorm/u8-normxfrm
3259 func_module uninorm/u16-normxfrm
3260 func_module uninorm/u32-normxfrm
3261 func_module unicase/base
3262 func_module unicase/empty-prefix-context
3263 func_module unicase/empty-suffix-context
3264 func_module unicase/locale-language
3265 func_module unicase/tolower
3266 func_module unicase/totitle
3267 func_module unicase/toupper
3268 func_module unicase/ulc-casecmp
3269 func_module unicase/ulc-casecoll
3270 func_module unicase/ulc-casexfrm
3271 func_module unicase/u8-casecmp
3272 func_module unicase/u16-casecmp
3273 func_module unicase/u32-casecmp
3274 func_module unicase/u8-casecoll
3275 func_module unicase/u16-casecoll
3276 func_module unicase/u32-casecoll
3277 func_module unicase/u8-casefold
3278 func_module unicase/u16-casefold
3279 func_module unicase/u32-casefold
3280 func_module unicase/u8-casexfrm
3281 func_module unicase/u16-casexfrm
3282 func_module unicase/u32-casexfrm
3283 func_module unicase/u8-ct-casefold
3284 func_module unicase/u16-ct-casefold
3285 func_module unicase/u32-ct-casefold
3286 func_module unicase/u8-ct-tolower
3287 func_module unicase/u16-ct-tolower
3288 func_module unicase/u32-ct-tolower
3289 func_module unicase/u8-ct-totitle
3290 func_module unicase/u16-ct-totitle
3291 func_module unicase/u32-ct-totitle
3292 func_module unicase/u8-ct-toupper
3293 func_module unicase/u16-ct-toupper
3294 func_module unicase/u32-ct-toupper
3295 func_module unicase/u8-is-cased
3296 func_module unicase/u16-is-cased
3297 func_module unicase/u32-is-cased
3298 func_module unicase/u8-is-casefolded
3299 func_module unicase/u16-is-casefolded
3300 func_module unicase/u32-is-casefolded
3301 func_module unicase/u8-is-lowercase
3302 func_module unicase/u16-is-lowercase
3303 func_module unicase/u32-is-lowercase
3304 func_module unicase/u8-is-titlecase
3305 func_module unicase/u16-is-titlecase
3306 func_module unicase/u32-is-titlecase
3307 func_module unicase/u8-is-uppercase
3308 func_module unicase/u16-is-uppercase
3309 func_module unicase/u8-prefix-context
3310 func_module unicase/u16-prefix-context
3311 func_module unicase/u32-prefix-context
3312 func_module unicase/u8-suffix-context
3313 func_module unicase/u16-suffix-context
3314 func_module unicase/u32-suffix-context
3315 func_module unicase/u8-tolower
3316 func_module unicase/u16-tolower
3317 func_module unicase/u32-tolower
3318 func_module unicase/u8-totitle
3319 func_module unicase/u16-totitle
3320 func_module unicase/u32-totitle
3321 func_module unicase/u8-toupper
3322 func_module unicase/u16-toupper
3323 func_module unicase/u32-toupper
3326 element="Executing programs"
3327 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
3328 func_section_wrap posix_ext_exec
3330 func_echo "$element"
3334 func_module findprog
3335 func_module findprog-lgpl
3336 func_module wait-process
3338 func_module spawn-pipe
3339 func_module pipe-filter-gi
3340 func_module pipe-filter-ii
3341 func_module sh-quote
3345 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
3346 func_section_wrap posix_ext_java
3348 func_echo "$element"
3351 func_module classpath
3352 func_module javacomp-script
3353 func_module javacomp
3354 func_module javaexec-script
3355 func_module javaexec
3356 func_module javaversion
3361 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
3362 func_section_wrap posix_ext_csharp
3364 func_echo "$element"
3367 func_module csharpcomp-script
3368 func_module csharpcomp
3369 func_module csharpexec-script
3370 func_module csharpexec
3374 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
3375 func_section_wrap posix_ext_misc
3377 func_echo "$element"
3381 func_module argp-version-etc
3383 func_module bitrotate
3384 func_module byteswap
3385 func_module exitfail
3387 func_module extensions
3389 func_module getdomainname
3390 func_module xgetdomainname
3391 func_module getloadavg
3392 func_module getpagesize
3393 func_module getusershell
3394 func_module lib-symbol-visibility
3395 func_module login_tty
3398 func_module parse-duration
3400 func_module posixver
3401 func_module progname
3403 func_module quotearg
3405 func_module readutmp
3406 func_module random_r
3407 func_module selinux-h
3408 func_module selinux-at
3409 func_module sysexits
3414 element="Support for building libraries and executables"
3415 func_section_wrap build_lib
3417 func_echo "$element"
3420 func_module absolute-header
3421 func_module arg-nonnull
3422 func_module config-h
3423 func_module configmake
3425 func_module elisp-comp
3428 func_module include_next
3430 func_module lib-ignore
3431 func_module lib-msvc-compat
3432 func_module lib-symbol-versions
3433 func_module link-warning
3434 func_module manywarnings
3436 func_module relocatable-lib
3437 func_module relocatable-lib-lgpl
3438 func_module relocatable-prog
3439 func_module relocatable-prog-wrapper
3440 func_module relocatable-script
3441 func_module warn-on-use
3442 func_module warnings
3445 element="Support for building documentation"
3446 func_section_wrap build_doc
3448 func_echo "$element"
3451 func_module agpl-3.0
3457 func_module lgpl-2.1
3458 func_module pmccabe2html
3459 func_module regexprops-generic
3462 element="Support for maintaining and releasing projects"
3463 func_section_wrap maintain
3465 func_echo "$element"
3468 func_module announce-gen
3469 func_module autobuild
3470 func_module do-release-commit-and-tag
3471 func_module git-version-gen
3472 func_module gitlog-to-changelog
3473 func_module gnu-web-doc-update
3474 func_module gnumakefile
3475 func_module gnupload
3476 func_module maintainer-makefile
3478 func_module readme-release
3479 func_module update-copyright
3480 func_module useless-if-before-free
3481 func_module vc-list-files
3485 func_section_wrap misc
3487 func_echo "$element"
3490 func_module gnu-make
3494 func_module posix-shell
3501 trap 'exit_status=$?
3502 if test "$signal" != 0; then
3503 echo "caught signal $signal" >&2
3506 exit $exit_status' 0
3507 for signal in 1 2 3 13 15; do
3508 trap '{ signal='$signal'; func_exit 1; }' $signal
3512 echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">'
3517 element="Gnulib Module List"
3519 func_echo "$element"
3521 modules=`gnulib-tool --list`
3522 modules=`for m in $modules; do printf "%s, " $m; done | sed -e 's/, $//'`
3523 func_echo '<META NAME="keywords" CONTENT="'"${modules}"'">'
3529 element="Gnulib Module List"
3531 func_echo "$element"
3533 func_echo 'This is a list of the modules which make up gnulib, with dependencies.'
3542 gnulib-tool --list > "$tmp/all-modules"
3543 missed_modules=`for module in $seen_modules; do echo $module; done \
3544 | LC_ALL=C sort -u \
3545 | LC_ALL=C join -v 2 - "$tmp/all-modules"`
3547 if test -n "$missed_modules"; then
3549 element="Unclassified modules - please update MODULES.html.sh"
3550 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
3552 func_echo "$element"
3555 for module in $missed_modules; do
3562 { 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"
3563 missed_files=`for file in $seen_files; do echo $file; done \
3564 | LC_ALL=C sort -u \
3565 | LC_ALL=C join -v 2 - "$tmp/all-files"`
3567 if test -n "$missed_files"; then
3569 element="Lone files - please create new modules containing them"
3570 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
3572 func_echo "$element"
3575 echo "$missed_files" | sed -e 's,^\(.*\)$,<A HREF="'$repo_url_prefix'\1'$repo_url_suffix_repl'">\1</A>,'
3580 element="Future developments"
3581 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
3583 func_echo "$element"
3585 func_echo 'Ideally a module could consist of:'
3587 func_echo '<LI>A header file: lib/<VAR>module</VAR>.h'
3588 func_echo '<LI>One or more implementation files: lib/<VAR>module</VAR>.c et al.'
3589 func_echo '<LI>One or more autoconf macro files: m4/<VAR>module</VAR>.m4 et al.'
3590 func_echo '<LI>A configure.ac fragment, Makefile.am fragment, dependency list: modules/<VAR>module</VAR>'
3591 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'
3592 func_echo '<LI>Some documentation'
3593 func_echo '<LI>A POT file and some PO files'
3597 func_echo 'Generated from <CODE>MODULES.html.sh</CODE> on '`LC_ALL=C date +"%e %B %Y"`.
3604 # Undo the effect of the previous 'trap' command.
3606 trap 'func_exit $?' 1 2 3 13 15
3611 # indent-tabs-mode: nil
3612 # whitespace-check-buffer-indent: nil