Missing part of allocsa -> malloca transition.
[gnulib.git] / MODULES.html.sh
1 #!/bin/sh
2 #
3 # Copyright (C) 2002-2007 Free Software Foundation, Inc.
4 #
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2, or (at your option)
8 # any later version.
9 #
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.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software
17 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 #
19
20 # Usage: MODULES.html.sh [--cvs-urls|--git-urls] > MODULES.html
21
22 # Extend the PATH so that gnulib-tool is found.
23 PATH=`dirname "$0"`:$PATH; export PATH
24
25 POSIX2001_URL='http://www.opengroup.org/susv3'
26 case $USER in
27   bruno )
28     POSIX2001_URL='file:/packages/www/www.opengroup.org/susv3' ;;
29 esac
30
31 repo_url_prefix=
32 repo_url_suffix=
33 if test $# != 0; then
34   case "$1" in
35     --cvs-urls)
36       # Generate URLs to the official gnulib CVS repository.
37       repo_url_prefix='http://cvs.sv.gnu.org/viewcvs/*checkout*/gnulib/'
38       repo_url_suffix='?root=gnulib&content-type=text/plain'
39       ;;
40     --git-urls)
41       # Generate URLs to the official gnulib git repository.
42       repo_url_prefix='http://git.sv.gnu.org/gitweb/?p=gnulib.git;a=blob_plain;f='
43       repo_url_suffix=''
44       ;;
45   esac
46 fi
47 # For sed replacements: Escape the '&'.
48 repo_url_suffix_repl=`echo "$repo_url_suffix" | sed -e 's,[&],\\\&,'`
49
50 sed_lt='s,<,\&lt;,g'
51 sed_gt='s,>,\&gt;,g'
52 sed_escape_dot='s,\.,\\.,g'
53 sed_escape_slash='s,/,\\/,g'
54 trnl='\012'
55 sed_alt1='s,$,\\|,'
56 sed_alt2='s,^\\|,\\(,'
57 sed_alt3='s,\\|\\|$,\\),'
58 posix_headers=`echo '
59 aio
60 arpa/inet
61 assert
62 complex
63 cpio
64 ctype
65 dirent
66 dlfcn
67 errno
68 fcntl
69 fenv
70 float
71 fmtmsg
72 fnmatch
73 ftw
74 glob
75 grp
76 iconv
77 inttypes
78 iso646
79 langinfo
80 libgen
81 limits
82 locale
83 math
84 monetary
85 mqueue
86 ndbm
87 net/if
88 netdb
89 netinet/in
90 netinet/tcp
91 nl_types
92 poll
93 pthread
94 pwd
95 regex
96 sched
97 search
98 semaphore
99 setjmp
100 signal
101 spawn
102 stdarg
103 stdbool
104 stddef
105 stdint
106 stdio
107 stdlib
108 string
109 strings
110 stropts
111 sys/ipc
112 sys/mman
113 sys/msg
114 sys/resource
115 sys/select
116 sys/sem
117 sys/shm
118 sys/socket
119 sys/stat
120 sys/statvfs
121 sys/time
122 sys/timeb
123 sys/times
124 sys/types
125 sys/uio
126 sys/un
127 sys/utsname
128 sys/wait
129 syslog
130 tar
131 termios
132 tgmath
133 time
134 trace
135 ucontext
136 ulimit
137 unistd
138 utime
139 utmpx
140 wchar
141 wctype
142 wordexp
143 ' | sed -e "$sed_alt1" | tr -d "$trnl" | sed -e "$sed_alt2" -e "$sed_alt3"`
144 posix_functions=`echo '
145 FD_CLR
146 FD_ISSET
147 FD_SET
148 FD_ZERO
149 _Exit
150 _exit
151 _longjmp
152 _setjmp
153 _tolower
154 _toupper
155 a64l
156 abort
157 abs
158 accept
159 access
160 acos
161 acosf
162 acosh
163 acoshf
164 acoshl
165 acosl
166 aio_cancel
167 aio_error
168 aio_fsync
169 aio_read
170 aio_return
171 aio_suspend
172 aio_write
173 alarm
174 asctime
175 asctime_r
176 asin
177 asinf
178 asinh
179 asinhf
180 asinhl
181 asinl
182 assert
183 atan
184 atan2
185 atan2f
186 atan2l
187 atanf
188 atanh
189 atanhf
190 atanhl
191 atanl
192 atexit
193 atof
194 atoi
195 atol
196 atoll
197 basename
198 bcmp
199 bcopy
200 bind
201 bsd_signal
202 bsearch
203 btowc
204 bzero
205 cabs
206 cabsf
207 cabsl
208 cacos
209 cacosf
210 cacosh
211 cacoshf
212 cacoshl
213 cacosl
214 calloc
215 carg
216 cargf
217 cargl
218 casin
219 casinf
220 casinh
221 casinhf
222 casinhl
223 casinl
224 catan
225 catanf
226 catanh
227 catanhf
228 catanhl
229 catanl
230 catclose
231 catgets
232 catopen
233 cbrt
234 cbrtf
235 cbrtl
236 ccos
237 ccosf
238 ccosh
239 ccoshf
240 ccoshl
241 ccosl
242 ceil
243 ceilf
244 ceill
245 cexp
246 cexpf
247 cexpl
248 cfgetispeed
249 cfgetospeed
250 cfsetispeed
251 cfsetospeed
252 chdir
253 chmod
254 chown
255 cimag
256 cimagf
257 cimagl
258 clearerr
259 clock
260 clock_getcpuclockid
261 clock_getres
262 clock_gettime
263 clock_nanosleep
264 clock_settime
265 clog
266 clogf
267 clogl
268 close
269 closedir
270 closelog
271 confstr
272 conj
273 conjf
274 conjl
275 connect
276 copysign
277 copysignf
278 copysignl
279 cos
280 cosf
281 cosh
282 coshf
283 coshl
284 cosl
285 cpow
286 cpowf
287 cpowl
288 cproj
289 cprojf
290 cprojl
291 creal
292 crealf
293 creall
294 creat
295 crypt
296 csin
297 csinf
298 csinh
299 csinhf
300 csinhl
301 csinl
302 csqrt
303 csqrtf
304 csqrtl
305 ctan
306 ctanf
307 ctanh
308 ctanhf
309 ctanhl
310 ctanl
311 ctermid
312 ctime
313 ctime_r
314 daylight
315 dbm_clearerr
316 dbm_close
317 dbm_delete
318 dbm_error
319 dbm_fetch
320 dbm_firstkey
321 dbm_nextkey
322 dbm_open
323 dbm_store
324 difftime
325 dirname
326 div
327 dlclose
328 dlerror
329 dlopen
330 dlsym
331 drand48
332 dup
333 dup2
334 ecvt
335 encrypt
336 endgrent
337 endhostent
338 endnetent
339 endprotoent
340 endpwent
341 endservent
342 endutxent
343 environ
344 erand48
345 erf
346 erfc
347 erfcf
348 erfcl
349 erff
350 erfl
351 errno
352 execl
353 execle
354 execlp
355 execv
356 execve
357 execvp
358 exit
359 exp
360 exp2
361 exp2f
362 exp2l
363 expf
364 expl
365 expm1
366 expm1f
367 expm1l
368 fabs
369 fabsf
370 fabsl
371 fattach
372 fchdir
373 fchmod
374 fchown
375 fclose
376 fcntl
377 fcvt
378 fdatasync
379 fdetach
380 fdim
381 fdimf
382 fdiml
383 fdopen
384 feclearexcept
385 fegetenv
386 fegetexceptflag
387 fegetround
388 feholdexcept
389 feof
390 feraiseexcept
391 ferror
392 fesetenv
393 fesetexceptflag
394 fesetround
395 fetestexcept
396 feupdateenv
397 fflush
398 ffs
399 fgetc
400 fgetpos
401 fgets
402 fgetwc
403 fgetws
404 fileno
405 flockfile
406 floor
407 floorf
408 floorl
409 fma
410 fmaf
411 fmal
412 fmax
413 fmaxf
414 fmaxl
415 fmin
416 fminf
417 fminl
418 fmod
419 fmodf
420 fmodl
421 fmtmsg
422 fnmatch
423 fopen
424 fork
425 fpathconf
426 fpclassify
427 fprintf
428 fputc
429 fputs
430 fputwc
431 fputws
432 fread
433 free
434 freeaddrinfo
435 freopen
436 frexp
437 frexpf
438 frexpl
439 fscanf
440 fseek
441 fseeko
442 fsetpos
443 fstat
444 fstatvfs
445 fsync
446 ftell
447 ftello
448 ftime
449 ftok
450 ftruncate
451 ftrylockfile
452 ftw
453 funlockfile
454 fwide
455 fwprintf
456 fwrite
457 fwscanf
458 gai_strerror
459 gcvt
460 getaddrinfo
461 getc
462 getc_unlocked
463 getchar
464 getchar_unlocked
465 getcontext
466 getcwd
467 getdate
468 getegid
469 getenv
470 geteuid
471 getgid
472 getgrent
473 getgrgid
474 getgrgid_r
475 getgrnam
476 getgrnam_r
477 getgroups
478 gethostbyaddr
479 gethostbyname
480 gethostent
481 gethostid
482 gethostname
483 getitimer
484 getlogin
485 getlogin_r
486 getmsg
487 getnameinfo
488 getnetbyaddr
489 getnetbyname
490 getnetent
491 getopt
492 getpeername
493 getpgid
494 getpgrp
495 getpid
496 getpmsg
497 getppid
498 getpriority
499 getprotobyname
500 getprotobynumber
501 getprotoent
502 getpwent
503 getpwnam
504 getpwnam_r
505 getpwuid
506 getpwuid_r
507 getrlimit
508 getrusage
509 gets
510 getservbyname
511 getservbyport
512 getservent
513 getsid
514 getsockname
515 getsockopt
516 getsubopt
517 gettimeofday
518 getuid
519 getutxent
520 getutxid
521 getutxline
522 getwc
523 getwchar
524 getwd
525 glob
526 globfree
527 gmtime
528 gmtime_r
529 grantpt
530 h_errno
531 hcreate
532 hdestroy
533 hsearch
534 htonl
535 htons
536 hypot
537 hypotf
538 hypotl
539 iconv
540 iconv_close
541 iconv_open
542 if_freenameindex
543 if_indextoname
544 if_nameindex
545 if_nametoindex
546 ilogb
547 ilogbf
548 ilogbl
549 imaxabs
550 imaxdiv
551 index
552 inet_addr
553 inet_ntoa
554 inet_ntop
555 inet_pton
556 initstate
557 insque
558 ioctl
559 isalnum
560 isalpha
561 isascii
562 isastream
563 isatty
564 isblank
565 iscntrl
566 isdigit
567 isfinite
568 isgraph
569 isgreater
570 isgreaterequal
571 isinf
572 isless
573 islessequal
574 islessgreater
575 islower
576 isnan
577 isnormal
578 isprint
579 ispunct
580 isspace
581 isunordered
582 isupper
583 iswalnum
584 iswalpha
585 iswblank
586 iswcntrl
587 iswctype
588 iswdigit
589 iswgraph
590 iswlower
591 iswprint
592 iswpunct
593 iswspace
594 iswupper
595 iswxdigit
596 isxdigit
597 j0
598 j1
599 jn
600 jrand48
601 kill
602 killpg
603 l64a
604 labs
605 lchown
606 lcong48
607 ldexp
608 ldexpf
609 ldexpl
610 ldiv
611 lfind
612 lgamma
613 lgammaf
614 lgammal
615 link
616 lio_listio
617 listen
618 llabs
619 lldiv
620 llrint
621 llrintf
622 llrintl
623 llround
624 llroundf
625 llroundl
626 localeconv
627 localtime
628 localtime_r
629 lockf
630 log
631 log10
632 log10f
633 log10l
634 log1p
635 log1pf
636 log1pl
637 log2
638 log2f
639 log2l
640 logb
641 logbf
642 logbl
643 logf
644 logl
645 longjmp
646 lrand48
647 lrint
648 lrintf
649 lrintl
650 lround
651 lroundf
652 lroundl
653 lsearch
654 lseek
655 lstat
656 makecontext
657 malloc
658 mblen
659 mbrlen
660 mbrtowc
661 mbsinit
662 mbsrtowcs
663 mbstowcs
664 mbtowc
665 memccpy
666 memchr
667 memcmp
668 memcpy
669 memmove
670 memset
671 mkdir
672 mkfifo
673 mknod
674 mkstemp
675 mktemp
676 mktime
677 mlock
678 mlockall
679 mmap
680 modf
681 modff
682 modfl
683 mprotect
684 mq_close
685 mq_getattr
686 mq_notify
687 mq_open
688 mq_receive
689 mq_send
690 mq_setattr
691 mq_timedreceive
692 mq_timedsend
693 mq_unlink
694 mrand48
695 msgctl
696 msgget
697 msgrcv
698 msgsnd
699 msync
700 munlock
701 munlockall
702 munmap
703 nan
704 nanf
705 nanl
706 nanosleep
707 nearbyint
708 nearbyintf
709 nearbyintl
710 nextafter
711 nextafterf
712 nextafterl
713 nexttoward
714 nexttowardf
715 nexttowardl
716 nftw
717 nice
718 nl_langinfo
719 nrand48
720 ntohl
721 ntohs
722 open
723 opendir
724 openlog
725 optarg
726 pathconf
727 pause
728 pclose
729 perror
730 pipe
731 poll
732 popen
733 posix_fadvise
734 posix_fallocate
735 posix_madvise
736 posix_mem_offset
737 posix_memalign
738 posix_openpt
739 posix_spawn
740 posix_spawn_file_actions_addclose
741 posix_spawn_file_actions_adddup2
742 posix_spawn_file_actions_addopen
743 posix_spawn_file_actions_destroy
744 posix_spawn_file_actions_init
745 posix_spawnattr_destroy
746 posix_spawnattr_getflags
747 posix_spawnattr_getpgroup
748 posix_spawnattr_getschedparam
749 posix_spawnattr_getschedpolicy
750 posix_spawnattr_getsigdefault
751 posix_spawnattr_getsigmask
752 posix_spawnattr_init
753 posix_spawnattr_setflags
754 posix_spawnattr_setpgroup
755 posix_spawnattr_setschedparam
756 posix_spawnattr_setschedpolicy
757 posix_spawnattr_setsigdefault
758 posix_spawnattr_setsigmask
759 posix_spawnp
760 posix_trace_attr_destroy
761 posix_trace_attr_getclockres
762 posix_trace_attr_getcreatetime
763 posix_trace_attr_getgenversion
764 posix_trace_attr_getinherited
765 posix_trace_attr_getlogfullpolicy
766 posix_trace_attr_getlogsize
767 posix_trace_attr_getmaxdatasize
768 posix_trace_attr_getmaxsystemeventsize
769 posix_trace_attr_getmaxusereventsize
770 posix_trace_attr_getname
771 posix_trace_attr_getstreamfullpolicy
772 posix_trace_attr_getstreamsize
773 posix_trace_attr_init
774 posix_trace_attr_setinherited
775 posix_trace_attr_setlogfullpolicy
776 posix_trace_attr_setlogsize
777 posix_trace_attr_setmaxdatasize
778 posix_trace_attr_setname
779 posix_trace_attr_setstreamfullpolicy
780 posix_trace_attr_setstreamsize
781 posix_trace_clear
782 posix_trace_close
783 posix_trace_create
784 posix_trace_create_withlog
785 posix_trace_event
786 posix_trace_eventid_equal
787 posix_trace_eventid_get_name
788 posix_trace_eventid_open
789 posix_trace_eventset_add
790 posix_trace_eventset_del
791 posix_trace_eventset_empty
792 posix_trace_eventset_fill
793 posix_trace_eventset_ismember
794 posix_trace_eventtypelist_getnext_id
795 posix_trace_eventtypelist_rewind
796 posix_trace_flush
797 posix_trace_get_attr
798 posix_trace_get_filter
799 posix_trace_get_status
800 posix_trace_getnext_event
801 posix_trace_open
802 posix_trace_rewind
803 posix_trace_set_filter
804 posix_trace_shutdown
805 posix_trace_start
806 posix_trace_stop
807 posix_trace_timedgetnext_event
808 posix_trace_trid_eventid_open
809 posix_trace_trygetnext_event
810 posix_typed_mem_get_info
811 posix_typed_mem_open
812 pow
813 powf
814 powl
815 pread
816 printf
817 pselect
818 pthread_atfork
819 pthread_attr_destroy
820 pthread_attr_getdetachstate
821 pthread_attr_getguardsize
822 pthread_attr_getinheritsched
823 pthread_attr_getschedparam
824 pthread_attr_getschedpolicy
825 pthread_attr_getscope
826 pthread_attr_getstack
827 pthread_attr_getstackaddr
828 pthread_attr_getstacksize
829 pthread_attr_init
830 pthread_attr_setdetachstate
831 pthread_attr_setguardsize
832 pthread_attr_setinheritsched
833 pthread_attr_setschedparam
834 pthread_attr_setschedpolicy
835 pthread_attr_setscope
836 pthread_attr_setstack
837 pthread_attr_setstackaddr
838 pthread_attr_setstacksize
839 pthread_barrier_destroy
840 pthread_barrier_init
841 pthread_barrier_wait
842 pthread_barrierattr_destroy
843 pthread_barrierattr_getpshared
844 pthread_barrierattr_init
845 pthread_barrierattr_setpshared
846 pthread_cancel
847 pthread_cleanup_pop
848 pthread_cleanup_push
849 pthread_cond_broadcast
850 pthread_cond_destroy
851 pthread_cond_init
852 pthread_cond_signal
853 pthread_cond_timedwait
854 pthread_cond_wait
855 pthread_condattr_destroy
856 pthread_condattr_getclock
857 pthread_condattr_getpshared
858 pthread_condattr_init
859 pthread_condattr_setclock
860 pthread_condattr_setpshared
861 pthread_create
862 pthread_detach
863 pthread_equal
864 pthread_exit
865 pthread_getconcurrency
866 pthread_getcpuclockid
867 pthread_getschedparam
868 pthread_getspecific
869 pthread_join
870 pthread_key_create
871 pthread_key_delete
872 pthread_kill
873 pthread_mutex_destroy
874 pthread_mutex_getprioceiling
875 pthread_mutex_init
876 pthread_mutex_lock
877 pthread_mutex_setprioceiling
878 pthread_mutex_timedlock
879 pthread_mutex_trylock
880 pthread_mutex_unlock
881 pthread_mutexattr_destroy
882 pthread_mutexattr_getprioceiling
883 pthread_mutexattr_getprotocol
884 pthread_mutexattr_getpshared
885 pthread_mutexattr_gettype
886 pthread_mutexattr_init
887 pthread_mutexattr_setprioceiling
888 pthread_mutexattr_setprotocol
889 pthread_mutexattr_setpshared
890 pthread_mutexattr_settype
891 pthread_once
892 pthread_rwlock_destroy
893 pthread_rwlock_init
894 pthread_rwlock_rdlock
895 pthread_rwlock_timedrdlock
896 pthread_rwlock_timedwrlock
897 pthread_rwlock_tryrdlock
898 pthread_rwlock_trywrlock
899 pthread_rwlock_unlock
900 pthread_rwlock_wrlock
901 pthread_rwlockattr_destroy
902 pthread_rwlockattr_getpshared
903 pthread_rwlockattr_init
904 pthread_rwlockattr_setpshared
905 pthread_self
906 pthread_setcancelstate
907 pthread_setcanceltype
908 pthread_setconcurrency
909 pthread_setschedparam
910 pthread_setschedprio
911 pthread_setspecific
912 pthread_sigmask
913 pthread_spin_destroy
914 pthread_spin_init
915 pthread_spin_lock
916 pthread_spin_trylock
917 pthread_spin_unlock
918 pthread_testcancel
919 ptsname
920 putc
921 putc_unlocked
922 putchar
923 putchar_unlocked
924 putenv
925 putmsg
926 putpmsg
927 puts
928 pututxline
929 putwc
930 putwchar
931 pwrite
932 qsort
933 raise
934 rand
935 rand_r
936 random
937 read
938 readdir
939 readdir_r
940 readlink
941 readv
942 realloc
943 realpath
944 recv
945 recvfrom
946 recvmsg
947 regcomp
948 regerror
949 regexec
950 regfree
951 remainder
952 remainderf
953 remainderl
954 remove
955 remque
956 remquo
957 remquof
958 remquol
959 rename
960 rewind
961 rewinddir
962 rindex
963 rint
964 rintf
965 rintl
966 rmdir
967 round
968 roundf
969 roundl
970 scalb
971 scalbln
972 scalblnf
973 scalblnl
974 scalbn
975 scalbnf
976 scalbnl
977 scanf
978 sched_get_priority_max
979 sched_getparam
980 sched_getscheduler
981 sched_rr_get_interval
982 sched_setparam
983 sched_setscheduler
984 sched_yield
985 seed48
986 seekdir
987 select
988 sem_close
989 sem_destroy
990 sem_getvalue
991 sem_init
992 sem_open
993 sem_post
994 sem_timedwait
995 sem_trywait
996 sem_unlink
997 sem_wait
998 semctl
999 semget
1000 semop
1001 send
1002 sendmsg
1003 sendto
1004 setbuf
1005 setcontext
1006 setegid
1007 setenv
1008 seteuid
1009 setgid
1010 setgrent
1011 sethostent
1012 setitimer
1013 setjmp
1014 setkey
1015 setlocale
1016 setlogmask
1017 setnetent
1018 setpgid
1019 setpgrp
1020 setpriority
1021 setprotoent
1022 setpwent
1023 setregid
1024 setreuid
1025 setrlimit
1026 setservent
1027 setsid
1028 setsockopt
1029 setstate
1030 setuid
1031 setutxent
1032 setvbuf
1033 shm_open
1034 shm_unlink
1035 shmat
1036 shmctl
1037 shmdt
1038 shmget
1039 shutdown
1040 sigaction
1041 sigaddset
1042 sigaltstack
1043 sigdelset
1044 sigemptyset
1045 sigfillset
1046 sighold
1047 sigignore
1048 siginterrupt
1049 sigismember
1050 siglongjmp
1051 signal
1052 signbit
1053 sigpause
1054 sigpending
1055 sigprocmask
1056 sigqueue
1057 sigrelse
1058 sigset
1059 sigsetjmp
1060 sigsuspend
1061 sigtimedwait
1062 sigwait
1063 sigwaitinfo
1064 sin
1065 sinf
1066 sinh
1067 sinhf
1068 sinhl
1069 sinl
1070 sleep
1071 snprintf
1072 sockatmark
1073 socket
1074 socketpair
1075 sprintf
1076 sqrt
1077 sqrtf
1078 sqrtl
1079 srand
1080 srand48
1081 srandom
1082 sscanf
1083 stat
1084 statvfs
1085 stdin
1086 strcasecmp
1087 strcat
1088 strchr
1089 strcmp
1090 strcoll
1091 strcpy
1092 strcspn
1093 strdup
1094 strerror
1095 strerror_r
1096 strfmon
1097 strftime
1098 strlen
1099 strncasecmp
1100 strncat
1101 strncmp
1102 strncpy
1103 strpbrk
1104 strptime
1105 strrchr
1106 strspn
1107 strstr
1108 strtod
1109 strtof
1110 strtoimax
1111 strtok
1112 strtok_r
1113 strtol
1114 strtold
1115 strtoll
1116 strtoul
1117 strtoull
1118 strtoumax
1119 strxfrm
1120 swab
1121 swapcontext
1122 swprintf
1123 swscanf
1124 symlink
1125 sync
1126 sysconf
1127 syslog
1128 system
1129 tan
1130 tanf
1131 tanh
1132 tanhf
1133 tanhl
1134 tanl
1135 tcdrain
1136 tcflow
1137 tcflush
1138 tcgetattr
1139 tcgetpgrp
1140 tcgetsid
1141 tcsendbreak
1142 tcsetattr
1143 tcsetpgrp
1144 tdelete
1145 telldir
1146 tempnam
1147 tfind
1148 tgamma
1149 tgammaf
1150 tgammal
1151 time
1152 timer_create
1153 timer_delete
1154 timer_getoverrun
1155 timer_settime
1156 times
1157 timezone
1158 tmpfile
1159 tmpnam
1160 toascii
1161 tolower
1162 toupper
1163 towctrans
1164 towlower
1165 towupper
1166 trunc
1167 truncate
1168 truncf
1169 truncl
1170 tsearch
1171 ttyname
1172 ttyname_r
1173 twalk
1174 tzname
1175 tzset
1176 ualarm
1177 ulimit
1178 umask
1179 uname
1180 ungetc
1181 ungetwc
1182 unlink
1183 unlockpt
1184 unsetenv
1185 usleep
1186 utime
1187 utimes
1188 va_arg
1189 va_copy
1190 va_end
1191 va_start
1192 vfork
1193 vfprintf
1194 vfscanf
1195 vfwprintf
1196 vfwscanf
1197 vprintf
1198 vscanf
1199 vsnprintf
1200 vsprintf
1201 vsscanf
1202 vswprintf
1203 vswscanf
1204 vwprintf
1205 vwscanf
1206 wait
1207 waitid
1208 waitpid
1209 wcrtomb
1210 wcscat
1211 wcschr
1212 wcscmp
1213 wcscoll
1214 wcscpy
1215 wcscspn
1216 wcsftime
1217 wcslen
1218 wcsncat
1219 wcsncmp
1220 wcsncpy
1221 wcspbrk
1222 wcsrchr
1223 wcsrtombs
1224 wcsspn
1225 wcsstr
1226 wcstod
1227 wcstof
1228 wcstoimax
1229 wcstok
1230 wcstol
1231 wcstold
1232 wcstoll
1233 wcstombs
1234 wcstoul
1235 wcstoull
1236 wcstoumax
1237 wcswcs
1238 wcswidth
1239 wcsxfrm
1240 wctob
1241 wctomb
1242 wctrans
1243 wctype
1244 wcwidth
1245 wmemchr
1246 wmemcmp
1247 wmemcpy
1248 wmemmove
1249 wmemset
1250 wordexp
1251 wordfree
1252 wprintf
1253 write
1254 writev
1255 wscanf
1256 y0
1257 y1
1258 yn
1259 ' | sed -e "$sed_alt1" | tr -d "$trnl" | sed -e "$sed_alt2" -e "$sed_alt3"`
1260
1261 indent=""
1262 seen_modules=
1263 seen_files=
1264
1265 # func_exit STATUS
1266 # exit with status
1267 func_exit ()
1268 {
1269   (exit $1); exit $1
1270 }
1271
1272 # func_tmpdir
1273 # creates a temporary directory.
1274 # Sets variable
1275 # - tmp             pathname of freshly created temporary directory
1276 func_tmpdir ()
1277 {
1278   # Use the environment variable TMPDIR, falling back to /tmp. This allows
1279   # users to specify a different temporary directory, for example, if their
1280   # /tmp is filled up or too small.
1281   : ${TMPDIR=/tmp}
1282   {
1283     # Use the mktemp program if available. If not available, hide the error
1284     # message.
1285     tmp=`(umask 077 && mktemp -d "$TMPDIR/MDXXXXXX") 2>/dev/null` &&
1286     test -n "$tmp" && test -d "$tmp"
1287   } ||
1288   {
1289     # Use a simple mkdir command. It is guaranteed to fail if the directory
1290     # already exists.  $RANDOM is bash specific and expands to empty in shells
1291     # other than bash, ksh and zsh.  Its use does not increase security;
1292     # rather, it minimizes the probability of failure in a very cluttered /tmp
1293     # directory.
1294     tmp=$TMPDIR/MD$$-$RANDOM
1295     (umask 077 && mkdir "$tmp")
1296   } ||
1297   {
1298     echo "$0: cannot create a temporary directory in $TMPDIR" >&2
1299     func_exit 1
1300   }
1301 }
1302
1303 # func_append var value
1304 # appends the given value to the shell variable var.
1305 if ( foo=bar; foo+=baz && test "$foo" = barbaz ) >/dev/null 2>&1; then
1306   # Use bash's += operator. It reduces complexity of appending repeatedly to
1307   # a single variable from O(n^2) to O(n).
1308   func_append ()
1309   {
1310     eval "$1+=\"\$2\""
1311   }
1312 else
1313   func_append ()
1314   {
1315     eval "$1=\"\$$1\$2\""
1316   }
1317 fi
1318
1319 # func_echo line
1320 # outputs line with indentation.
1321 func_echo ()
1322 {
1323   echo "${indent}$*"
1324 }
1325
1326 # func_indent
1327 # increases the indentation.
1328 func_indent ()
1329 {
1330   indent="$indent  "
1331 }
1332
1333 # func_unindent
1334 # decreases the indentation.
1335 func_unindent ()
1336 {
1337   indent=`echo "$indent" | sed -e 's/  $//'`
1338 }
1339
1340 # func_begin tag [attribute...]
1341 # opens a HTML tag.
1342 func_begin ()
1343 {
1344   func_echo "<$*>"
1345   func_indent
1346 }
1347
1348 # func_end tag
1349 # closes a HTML tag.
1350 func_end ()
1351 {
1352   func_unindent
1353   func_echo "</$1>"
1354 }
1355
1356 # func_wrap tag [attribute...]
1357 # encloses $element in a HTML tag, without line breaks.
1358 func_wrap ()
1359 {
1360   element="<$*>${element}</$1>"
1361 }
1362
1363 # func_section_wrap sectiontag
1364 # encloses $element in a HTML tag referring to the given tag.
1365 func_section_wrap ()
1366 {
1367   if test -n "$in_toc"; then
1368     func_wrap A "HREF=\"#$1\""
1369   else
1370     func_wrap A "NAME=\"$1\""
1371   fi
1372 }
1373
1374 # func_begin_table
1375 func_begin_table ()
1376 {
1377   func_begin TABLE
1378   if test -z "$in_toc"; then
1379     func_begin TR
1380     func_echo "<TH ALIGN=LEFT>modules/"
1381     func_echo "<TH ALIGN=LEFT>lib/"
1382     func_echo "<TH ALIGN=LEFT>lib/"
1383     func_echo "<TH ALIGN=LEFT>m4/"
1384     func_echo "<TH ALIGN=LEFT>&nbsp;"
1385     func_end TR
1386     func_begin TR
1387     func_echo "<TH ALIGN=LEFT>Module"
1388     func_echo "<TH ALIGN=LEFT>Header"
1389     func_echo "<TH ALIGN=LEFT>Implementation"
1390     func_echo "<TH ALIGN=LEFT>Autoconf macro"
1391     func_echo "<TH ALIGN=LEFT>Depends on"
1392     func_end TR
1393   fi
1394 }
1395
1396 # func_module module
1397 func_module ()
1398 {
1399     sed_remove_trailing_empty_line='${
1400 /^$/d
1401 }'
1402
1403   if test -n "$in_toc"; then
1404
1405     func_begin TR "WIDTH=\"100%\""
1406
1407     element='<A HREF="#module='$1'">'$1'</A>'
1408     func_echo "<TD ALIGN=LEFT VALIGN=TOP WIDTH=\"20%\">$element"
1409
1410     element=`gnulib-tool --extract-description $1 \
1411              | sed -e "$sed_lt" -e "$sed_gt" -e "$sed_remove_trailing_empty_line" \
1412                    -e 's,^, ,' \
1413                    -e 's,\([^a-zA-Z]\)'"${posix_functions}"'(),\1<A HREF="'"$POSIX2001_URL"'xsh/\2.html">\2</A>(),g' \
1414                    -e 's,^ ,,'`
1415     func_echo "<TD ALIGN=LEFT VALIGN=TOP WIDTH=\"80%\">$element"
1416
1417     func_end TR
1418
1419   else
1420
1421     func_begin TR
1422
1423     element='<A NAME="module='$1'"></A><A HREF="'$repo_url_prefix'modules/'$1$repo_url_suffix'">'$1'</A>'
1424     func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
1425
1426     includes=`gnulib-tool --extract-include-directive $1`
1427     files=`gnulib-tool --extract-filelist $1 \
1428            | grep -v '^m4/gnulib-common\.m4$'`
1429     element=`echo "$includes" \
1430              | sed -e "$sed_lt" -e "$sed_gt" -e "$sed_remove_trailing_empty_line" \
1431                    -e 's,^#include "\(.*\)"$,#include "<A HREF="'$repo_url_prefix'lib/\1'$repo_url_suffix_repl'">\1</A>",' \
1432                    -e 's,^#include &lt;'"${posix_headers}"'\.h&gt;$,#include \&lt;<A HREF="'"$POSIX2001_URL"'xbd/\1.h.html">\1.h</A>\&gt;,' \
1433                    -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'`
1434     test -n "$element" || element='---'
1435     func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
1436
1437     sed_choose_unconditional_nonstandard_include='s,^#include "\(.*\)"$,\1,p'
1438     includefile=`echo "$includes" \
1439                  | sed -n -e "$sed_choose_unconditional_nonstandard_include" \
1440                  | sed -e "$sed_escape_dot" | tr -d "$trnl"`
1441     sed_choose_lib_files='s,^lib/\(.*\)$,\1,p'
1442     element=`echo "$files" \
1443              | sed -e '/^$/d' \
1444              | sed -n -e "$sed_choose_lib_files" \
1445              | sed -e '/^'"${includefile}"'$/d' \
1446                    -e 's,^\(.*\)$,<A HREF="'$repo_url_prefix'lib/\1'$repo_url_suffix_repl'">\1</A>,' \
1447                    -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'`
1448     test -n "$element" || element='---'
1449     func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
1450
1451     sed_choose_m4_files='s,^m4/\(.*\)$,\1,p'
1452     element=`(echo "$files" \
1453               | sed -e "$sed_remove_trailing_empty_line" \
1454               | sed -n -e "$sed_choose_m4_files" \
1455               | sed -e '/^onceonly/d' \
1456                     -e 's,^\(.*\)$,<A HREF="'$repo_url_prefix'm4/\1'$repo_url_suffix_repl'">\1</A>,'; \
1457               gnulib-tool --extract-autoconf-snippet $1 \
1458               | sed -e "$sed_remove_trailing_empty_line") \
1459               | sed -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'`
1460     test -n "$element" || element='---'
1461     func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
1462
1463     element=`gnulib-tool --extract-dependencies $1 \
1464              | sed -e "$sed_remove_trailing_empty_line" \
1465                    -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'`
1466     test -n "$element" || element='---'
1467     func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
1468
1469     func_end TR
1470
1471     func_append seen_modules " $1"
1472     func_append seen_files " $files"
1473   fi
1474 }
1475
1476 # func_end_table
1477 func_end_table ()
1478 {
1479   func_end TABLE
1480 }
1481
1482 # func_all_modules
1483 func_all_modules ()
1484 {
1485   element="Support for systems lacking ANSI C 89"
1486   func_section_wrap ansic_sup
1487   func_wrap H2
1488   func_echo "$element"
1489
1490   func_begin_table
1491   func_module stdlib
1492   func_module exit
1493   func_module atexit
1494   func_module strtod
1495   func_module strtol
1496   func_module strtoul
1497   func_module memchr
1498   func_module memcmp
1499   func_module memcpy
1500   func_module memmove
1501   func_module memset
1502   func_module strcspn
1503   func_module strpbrk
1504   func_module strerror
1505   func_module mktime
1506   func_end_table
1507
1508   func_echo 'Most of these modules are not listed among dependencies below, for simplicity.'
1509
1510   element="Enhancements for ANSI C 89 functions"
1511   func_section_wrap ansic_enh
1512   func_wrap H2
1513   func_echo "$element"
1514
1515   element="Diagnostics <assert.h>"
1516   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1517   func_section_wrap ansic_enh_assert_diagnostics
1518   func_wrap H3
1519   func_echo "$element"
1520
1521   func_begin_table
1522   func_module assert
1523   func_module verify
1524   func_end_table
1525
1526   element="Mathematics <math.h>"
1527   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1528   func_section_wrap ansic_enh_math
1529   func_wrap H3
1530   func_echo "$element"
1531
1532   func_begin_table
1533   func_module fpieee
1534   func_end_table
1535
1536   element="Input/output <stdio.h>"
1537   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1538   func_section_wrap ansic_enh_stdio
1539   func_wrap H3
1540   func_echo "$element"
1541
1542   func_begin_table
1543   func_module fflush
1544   func_module fseterr
1545   func_module tmpfile
1546   func_end_table
1547
1548   element="Memory management functions <stdlib.h>"
1549   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1550   func_section_wrap ansic_enh_stdlib_memory
1551   func_wrap H3
1552   func_echo "$element"
1553
1554   func_begin_table
1555   func_module calloc
1556   func_module eealloc
1557   func_module free
1558   func_module malloc
1559   func_module realloc
1560   func_module pagealign_alloc
1561   func_end_table
1562
1563   element="Sorting functions <stdlib.h>"
1564   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1565   func_section_wrap ansic_enh_stdlib_sorting
1566   func_wrap H3
1567   func_echo "$element"
1568
1569   func_begin_table
1570   func_module mpsort
1571   func_end_table
1572
1573   element="Date and time <time.h>"
1574   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1575   func_section_wrap ansic_enh_time_datetime
1576   func_wrap H3
1577   func_echo "$element"
1578
1579   func_begin_table
1580   func_module fprintftime
1581   func_module strftime
1582   func_end_table
1583
1584   element="Extra functions based on ANSI C 89"
1585   func_section_wrap ansic_ext
1586   func_wrap H2
1587   func_echo "$element"
1588
1589   element="Memory management functions <stdlib.h>"
1590   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1591   func_section_wrap ansic_ext_stdlib_memory
1592   func_wrap H3
1593   func_echo "$element"
1594
1595   func_begin_table
1596   func_module xsize
1597   func_module xalloc
1598   func_module xalloc-die
1599   func_module alloca
1600   func_module alloca-opt
1601   func_module malloca
1602   func_module xmalloca
1603   func_end_table
1604
1605   element="Integer arithmetic functions <stdlib.h>"
1606   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1607   func_section_wrap ansic_ext_stdlib_arith
1608   func_wrap H3
1609   func_echo "$element"
1610
1611   func_begin_table
1612   func_module gcd
1613   func_module minmax
1614   func_end_table
1615
1616   element="Environment variables <stdlib.h>"
1617   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1618   func_section_wrap ansic_ext_stdlib_env
1619   func_wrap H3
1620   func_echo "$element"
1621
1622   func_begin_table
1623   func_module putenv
1624   func_module setenv
1625   func_module xsetenv
1626   func_end_table
1627
1628   element="Character handling <ctype.h>"
1629   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1630   func_section_wrap ansic_ext_ctype
1631   func_wrap H3
1632   func_echo "$element"
1633
1634   func_begin_table
1635   func_module c-ctype
1636   func_end_table
1637
1638   element="String handling <string.h>"
1639   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1640   func_section_wrap ansic_ext_string
1641   func_wrap H3
1642   func_echo "$element"
1643
1644   func_begin_table
1645   func_module bcopy
1646   func_module memmem
1647   func_module mempcpy
1648   func_module memrchr
1649   func_module stpcpy
1650   func_module stpncpy
1651   func_module c-strcase
1652   func_module strcase
1653   func_module c-strcaseeq
1654   func_module c-strcasestr
1655   func_module strcasestr
1656   func_module strchrnul
1657   func_module strdup
1658   func_module streq
1659   func_module strnlen
1660   func_module strnlen1
1661   func_module strndup
1662   func_module strsep
1663   func_module c-strstr
1664   func_module trim
1665   #func_module fstrcmp
1666   func_module xstrndup
1667   func_end_table
1668
1669   element="Mathematics <math.h>"
1670   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1671   func_section_wrap ansic_ext_math
1672   func_wrap H3
1673   func_echo "$element"
1674
1675   func_begin_table
1676   func_module printf-frexp
1677   func_end_table
1678
1679   element="Numeric conversion functions <stdlib.h>"
1680   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1681   func_section_wrap ansic_ext_stdlib_conv
1682   func_wrap H3
1683   func_echo "$element"
1684
1685   func_begin_table
1686   func_module c-strtod
1687   func_module c-strtold
1688   func_module xstrtod
1689   func_module xstrtol
1690   func_module xstrtold
1691   func_end_table
1692
1693   element="Date and time <time.h>"
1694   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1695   func_section_wrap ansic_ext_time_datetime
1696   func_wrap H3
1697   func_echo "$element"
1698
1699   func_begin_table
1700   func_module getdate
1701   func_module timegm
1702   func_module tzset
1703   func_end_table
1704
1705   element="Input/Output <stdio.h>"
1706   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1707   func_section_wrap ansic_ext_stdio
1708   func_wrap H3
1709   func_echo "$element"
1710
1711   func_begin_table
1712   func_module unlocked-io
1713   func_module fwriteerror
1714   func_module vasnprintf
1715   func_module vasprintf
1716   func_module xvasprintf
1717   func_end_table
1718
1719   element="Signal handling <signal.h>"
1720   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1721   func_section_wrap ansic_ext_signal
1722   func_wrap H3
1723   func_echo "$element"
1724
1725   func_begin_table
1726   func_module fatal-signal
1727   func_module raise
1728   func_end_table
1729
1730   element="Command-line arguments"
1731   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1732   func_section_wrap ansic_ext_argv
1733   func_wrap H3
1734   func_echo "$element"
1735
1736   func_begin_table
1737   func_module argmatch
1738   func_module version-etc
1739   func_module version-etc-fsf
1740   func_module long-options
1741   func_end_table
1742
1743   element="Container data structures"
1744   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1745   func_section_wrap ansic_ext_container
1746   func_wrap H3
1747   func_echo "$element"
1748
1749   func_begin_table
1750   func_module list
1751   func_module array-list
1752   func_module carray-list
1753   func_module linked-list
1754   func_module avltree-list
1755   func_module rbtree-list
1756   func_module linkedhash-list
1757   func_module avltreehash-list
1758   func_module rbtreehash-list
1759   func_module sublist
1760   func_module oset
1761   func_module array-oset
1762   func_module avltree-oset
1763   func_module rbtree-oset
1764   func_end_table
1765
1766   element="Cryptographic computations (low-level)"
1767   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1768   func_section_wrap ansic_ext_crypto
1769   func_wrap H3
1770   func_echo "$element"
1771
1772   func_begin_table
1773   func_module crypto/arcfour
1774   func_module crypto/arctwo
1775   func_module crypto/des
1776   func_module crypto/hmac-md5
1777   func_module crypto/hmac-sha1
1778   func_module crypto/md2
1779   func_module crypto/md4
1780   func_module crypto/md5
1781   func_module crypto/rijndael
1782   func_module crypto/sha1
1783   func_end_table
1784
1785   element="Cryptographic computations (high-level)"
1786   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1787   func_section_wrap ansic_ext_crypto2
1788   func_wrap H3
1789   func_echo "$element"
1790
1791   func_begin_table
1792   func_module crypto/gc
1793   func_module crypto/gc-arcfour
1794   func_module crypto/gc-arctwo
1795   func_module crypto/gc-des
1796   func_module crypto/gc-hmac-md5
1797   func_module crypto/gc-hmac-sha1
1798   func_module crypto/gc-md2
1799   func_module crypto/gc-md4
1800   func_module crypto/gc-md5
1801   func_module crypto/gc-pbkdf2-sha1
1802   func_module crypto/gc-random
1803   func_module crypto/gc-rijndael
1804   func_module crypto/gc-sha1
1805   func_end_table
1806
1807   element="Misc"
1808   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1809   func_section_wrap ansic_ext_misc
1810   func_wrap H3
1811   func_echo "$element"
1812
1813   func_begin_table
1814   func_module base64
1815   func_module check-version
1816   func_module diacrit
1817   func_module getline
1818   func_module getdelim
1819   func_module getnline
1820   func_module getndelim2
1821   func_module linebuffer
1822   func_module obstack
1823   func_module hash-pjw
1824   func_module hash
1825   func_module readline
1826   func_module readtokens
1827   func_module readtokens0
1828   func_module strverscmp
1829   func_end_table
1830
1831   element="Support for systems lacking ISO C 99"
1832   func_section_wrap isoc_sup
1833   func_wrap H2
1834   func_echo "$element"
1835
1836   element="Core language properties"
1837   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1838   func_section_wrap isoc_core_properties
1839   func_wrap H3
1840   func_echo "$element"
1841
1842   func_begin_table
1843   func_module flexmember
1844   func_module fpucw
1845   func_module inline
1846   func_module vararrays
1847   func_end_table
1848
1849   element="Sizes of integer types <limits.h>"
1850   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1851   func_section_wrap isoc_sup_limits
1852   func_wrap H3
1853   func_echo "$element"
1854
1855   func_begin_table
1856   func_module size_max
1857   func_end_table
1858
1859   element="Variable arguments <stdarg.h>"
1860   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1861   func_section_wrap isoc_sup_stdarg
1862   func_wrap H3
1863   func_echo "$element"
1864
1865   func_begin_table
1866   func_module stdarg
1867   func_end_table
1868
1869   element="Boolean type and values <stdbool.h>"
1870   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1871   func_section_wrap isoc_sup_stdbool
1872   func_wrap H3
1873   func_echo "$element"
1874
1875   func_begin_table
1876   func_module stdbool
1877   func_end_table
1878
1879   element="Integer types and values <stdint.h>"
1880   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1881   func_section_wrap isoc_sup_stdint
1882   func_wrap H3
1883   func_echo "$element"
1884
1885   func_begin_table
1886   func_module stdint
1887   func_end_table
1888
1889   element="Input/output <stdio.h>"
1890   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1891   func_section_wrap isoc_sup_stdio
1892   func_wrap H3
1893   func_echo "$element"
1894
1895   func_begin_table
1896   func_module stdio
1897   func_module snprintf
1898   func_module vsnprintf
1899   func_end_table
1900
1901   element="Numeric conversion functions <stdlib.h>"
1902   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1903   func_section_wrap isoc_sup_stdlib_conv
1904   func_wrap H3
1905   func_echo "$element"
1906
1907   func_begin_table
1908   func_module strtoll
1909   func_module strtoull
1910   func_end_table
1911
1912   element="Functions for greatest-width integer types <inttypes.h>"
1913   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1914   func_section_wrap isoc_sup_inttypes
1915   func_wrap H3
1916   func_echo "$element"
1917
1918   func_begin_table
1919   func_module imaxabs
1920   func_module imaxdiv
1921   func_module inttypes
1922   func_module strtoimax
1923   func_module strtoumax
1924   func_end_table
1925
1926   element="Extended multibyte and wide character utilities <wchar.h>"
1927   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1928   func_section_wrap isoc_sup_wchar
1929   func_wrap H3
1930   func_echo "$element"
1931
1932   func_begin_table
1933   func_module wchar
1934   func_end_table
1935
1936   element="Wide character classification and mapping utilities <wctype.h>"
1937   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1938   func_section_wrap isoc_sup_wctype
1939   func_wrap H3
1940   func_echo "$element"
1941
1942   func_begin_table
1943   func_module wctype
1944   func_end_table
1945
1946   element="Mathematics <math.h>"
1947   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1948   func_section_wrap isoc_sup_math
1949   func_wrap H3
1950   func_echo "$element"
1951
1952   func_begin_table
1953   func_module frexp
1954   func_module frexpl
1955   func_module isnan-nolibm
1956   func_module isnanl
1957   func_module isnanl-nolibm
1958   func_module ldexpl
1959   func_module math
1960   func_module mathl
1961   func_end_table
1962
1963   element="Enhancements for ISO C 99 functions"
1964   func_section_wrap isoc_enh
1965   func_wrap H2
1966   func_echo "$element"
1967
1968   func_begin_table
1969   func_end_table
1970
1971   element="Extra functions based on ISO C 99"
1972   func_section_wrap isoc_ext
1973   func_wrap H2
1974   func_echo "$element"
1975
1976   element="Mathematics <math.h>"
1977   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1978   func_section_wrap isoc_ext_math
1979   func_wrap H3
1980   func_echo "$element"
1981
1982   func_begin_table
1983   func_module printf-frexpl
1984   func_end_table
1985
1986   element="Numeric conversion functions <stdlib.h>"
1987   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1988   func_section_wrap isoc_ext_stdlib_conv
1989   func_wrap H3
1990   func_echo "$element"
1991
1992   func_begin_table
1993   func_module intprops
1994   func_module inttostr
1995   func_module xstrtoimax
1996   func_module xstrtoumax
1997   func_end_table
1998
1999   element="Extended multibyte and wide character utilities <wchar.h>"
2000   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2001   func_section_wrap isoc_ext_wchar_mb
2002   func_wrap H3
2003   func_echo "$element"
2004
2005   func_begin_table
2006   func_module mbchar
2007   func_module mbiter
2008   func_module mbuiter
2009   func_module mbfile
2010   func_end_table
2011
2012   element="Support for systems lacking POSIX:2001"
2013   func_section_wrap posix_sup
2014   func_wrap H2
2015   func_echo "$element"
2016
2017   func_begin_table
2018   func_module chown
2019   func_module dup2
2020   func_module fchdir
2021   func_module fprintf-posix
2022   func_module ftruncate
2023   func_module getaddrinfo
2024   func_module getcwd
2025   func_module getgroups
2026   func_module gethostname
2027   func_module getlogin_r
2028   func_module getsubopt
2029   func_module gettimeofday
2030   func_module inet_ntop
2031   func_module inet_pton
2032   func_module lseek
2033   func_module lstat
2034   func_module mkdir
2035   func_module mkdtemp
2036   func_module mkstemp
2037   func_module poll
2038   func_module printf-posix
2039   func_module readlink
2040   func_module snprintf-posix
2041   func_module sprintf-posix
2042   func_module string
2043   func_module tempname
2044   func_module time
2045   func_module time_r
2046   func_module timespec
2047   func_module nanosleep
2048   func_module regex
2049   func_module rename
2050   func_module rmdir
2051   func_module search
2052   func_module sigprocmask
2053   func_module socklen
2054   func_module ssize_t
2055   func_module strptime
2056   func_module strtok_r
2057   func_module sys_select
2058   func_module sys_socket
2059   func_module sys_stat
2060   func_module sys_time
2061   func_module tsearch
2062   func_module unistd
2063   func_module utime
2064   func_module vasnprintf-posix
2065   func_module vasprintf-posix
2066   func_module vfprintf-posix
2067   func_module vprintf-posix
2068   func_module vsnprintf-posix
2069   func_module vsprintf-posix
2070   func_module wcwidth
2071   func_end_table
2072
2073   element="Compatibility checks for POSIX:2001 functions"
2074   func_section_wrap posix_compat
2075   func_wrap H2
2076   func_echo "$element"
2077
2078   func_begin_table
2079   func_module d-ino
2080   func_module d-type
2081   func_module link-follow
2082   func_module rename-dest-slash
2083   func_module rmdir-errno
2084   func_module unlink-busy
2085   func_module winsz-ioctl
2086   func_module winsz-termios
2087   func_end_table
2088
2089   element="Enhancements for POSIX:2001 functions"
2090   func_section_wrap posix_enh
2091   func_wrap H2
2092   func_echo "$element"
2093
2094   func_begin_table
2095   func_module dirname
2096   func_module getopt
2097   func_module unistd-safer
2098   func_module fnmatch
2099   func_module fnmatch-posix
2100   func_module fnmatch-gnu
2101   func_module glob
2102   func_module exclude
2103   func_end_table
2104
2105   element="Extra functions based on POSIX:2001"
2106   func_section_wrap posix_ext
2107   func_wrap H2
2108   func_echo "$element"
2109
2110   element="Numeric conversion functions"
2111   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2112   func_section_wrap posix_ext_conv
2113   func_wrap H3
2114   func_echo "$element"
2115
2116   func_begin_table
2117   func_module human
2118   func_end_table
2119
2120   element="File system functions"
2121   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2122   func_section_wrap posix_ext_filesys
2123   func_wrap H3
2124   func_echo "$element"
2125
2126   func_begin_table
2127   func_module acl
2128   func_module backupfile
2129   func_module canonicalize
2130   func_module canonicalize-lgpl
2131   func_module clean-temp
2132   func_module copy-file
2133   func_module cycle-check
2134   func_module fsusage
2135   func_module dirfd
2136   func_module double-slash-root
2137   func_module euidaccess
2138   func_module file-type
2139   func_module fileblocks
2140   func_module filemode
2141   func_module filename
2142   func_module filenamecat
2143   func_module fts
2144   func_module fts-lgpl
2145   func_module isdir
2146   func_module lchmod
2147   func_module lchown
2148   func_module mkancesdirs
2149   func_module mkdir-p
2150   func_module modechange
2151   func_module mountlist
2152   func_module openat
2153   func_module pathmax
2154   func_module same
2155   func_module save-cwd
2156   func_module savedir
2157   func_module savewd
2158   func_module stat-time
2159   func_module tmpdir
2160   func_module unlinkdir
2161   func_module utimecmp
2162   func_module utimens
2163   func_module write-any-file
2164   func_module xgetcwd
2165   func_module xreadlink
2166   func_module xreadlink-with-size
2167   func_end_table
2168
2169   element="File descriptor based Input/Output"
2170   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2171   func_section_wrap posix_ext_filedesc
2172   func_wrap H3
2173   func_echo "$element"
2174
2175   func_begin_table
2176   func_module fcntl-safer
2177   func_module safe-read
2178   func_module safe-write
2179   func_module full-read
2180   func_module full-write
2181   func_module binary-io
2182   func_module isapipe
2183   func_end_table
2184
2185   element="File stream based Input/Output"
2186   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2187   func_section_wrap posix_ext_filestream
2188   func_wrap H3
2189   func_echo "$element"
2190
2191   func_begin_table
2192   func_module close-stream
2193   func_module closein
2194   func_module closeout
2195   func_module fopen-safer
2196   func_module fpending
2197   func_module freading
2198   func_module fwriting
2199   func_module getpass
2200   func_module getpass-gnu
2201   func_module stdlib-safer
2202   func_module tmpfile-safer
2203   func_end_table
2204
2205   element="Users and groups"
2206   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2207   func_section_wrap posix_ext_uidgid
2208   func_wrap H3
2209   func_echo "$element"
2210
2211   func_begin_table
2212   func_module getugroups
2213   func_module group-member
2214   func_module idcache
2215   func_module userspec
2216   func_end_table
2217
2218   element="Date and time"
2219   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2220   func_section_wrap posix_ext_datetime
2221   func_wrap H3
2222   func_echo "$element"
2223
2224   func_begin_table
2225   func_module gettime
2226   func_module settime
2227   func_module posixtm
2228   func_module xnanosleep
2229   func_end_table
2230
2231   element="Networking functions"
2232   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2233   func_section_wrap posix_ext_net
2234   func_wrap H3
2235   func_echo "$element"
2236
2237   func_begin_table
2238   func_module xgethostname
2239   func_module canon-host
2240   func_end_table
2241
2242   element="Multithreading"
2243   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2244   func_section_wrap posix_ext_thread
2245   func_wrap H3
2246   func_echo "$element"
2247
2248   func_begin_table
2249   func_module lock
2250   func_module tls
2251   func_end_table
2252
2253   element="Internationalization functions"
2254   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2255   func_section_wrap posix_ext_i18n
2256   func_wrap H3
2257   func_echo "$element"
2258
2259   func_begin_table
2260   func_module gettext
2261   func_module gettext-h
2262   func_module iconv
2263   func_module striconv
2264   func_module xstriconv
2265   func_module striconveh
2266   func_module striconveha
2267   func_module localcharset
2268   func_module hard-locale
2269   func_module mbslen
2270   func_module mbsnlen
2271   func_module mbschr
2272   func_module mbsrchr
2273   func_module mbsstr
2274   func_module mbscasecmp
2275   func_module mbsncasecmp
2276   func_module mbspcasecmp
2277   func_module mbscasestr
2278   func_module mbscspn
2279   func_module mbspbrk
2280   func_module mbsspn
2281   func_module mbssep
2282   func_module mbstok_r
2283   func_module mbswidth
2284   func_module memcasecmp
2285   func_module memcoll
2286   func_module xmemcoll
2287   func_module unicodeio
2288   func_module rpmatch
2289   func_module yesno
2290   func_module linebreak
2291   func_module bison-i18n
2292   func_end_table
2293
2294   element="Unicode string functions"
2295   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2296   func_section_wrap posix_ext_unicode
2297   func_wrap H3
2298   func_echo "$element"
2299
2300   func_begin_table
2301   func_module unitypes
2302   func_module ucs4-utf8
2303   func_module ucs4-utf16
2304   func_module utf8-ucs4-unsafe
2305   func_module utf16-ucs4-unsafe
2306   func_module utf8-ucs4
2307   func_module utf16-ucs4
2308   func_module unistr/base
2309   func_module unistr/u8-to-u16
2310   func_module unistr/u8-to-u32
2311   func_module unistr/u16-to-u8
2312   func_module unistr/u16-to-u32
2313   func_module unistr/u32-to-u8
2314   func_module unistr/u32-to-u16
2315   func_module unistr/u8-check
2316   func_module unistr/u16-check
2317   func_module unistr/u32-check
2318   func_module unistr/u8-chr
2319   func_module unistr/u16-chr
2320   func_module unistr/u32-chr
2321   func_module unistr/u8-cmp
2322   func_module unistr/u16-cmp
2323   func_module unistr/u32-cmp
2324   func_module unistr/u8-cpy
2325   func_module unistr/u16-cpy
2326   func_module unistr/u32-cpy
2327   func_module unistr/u8-cpy-alloc
2328   func_module unistr/u16-cpy-alloc
2329   func_module unistr/u32-cpy-alloc
2330   func_module unistr/u8-endswith
2331   func_module unistr/u16-endswith
2332   func_module unistr/u32-endswith
2333   func_module unistr/u8-mblen
2334   func_module unistr/u16-mblen
2335   func_module unistr/u32-mblen
2336   func_module unistr/u8-mbtouc-unsafe
2337   func_module unistr/u16-mbtouc-unsafe
2338   func_module unistr/u32-mbtouc-unsafe
2339   func_module unistr/u8-mbtouc
2340   func_module unistr/u16-mbtouc
2341   func_module unistr/u32-mbtouc
2342   func_module unistr/u8-mbtoucr
2343   func_module unistr/u16-mbtoucr
2344   func_module unistr/u32-mbtoucr
2345   func_module unistr/u8-move
2346   func_module unistr/u16-move
2347   func_module unistr/u32-move
2348   func_module unistr/u8-next
2349   func_module unistr/u16-next
2350   func_module unistr/u32-next
2351   func_module unistr/u8-prev
2352   func_module unistr/u16-prev
2353   func_module unistr/u32-prev
2354   func_module unistr/u8-set
2355   func_module unistr/u16-set
2356   func_module unistr/u32-set
2357   func_module unistr/u8-startswith
2358   func_module unistr/u16-startswith
2359   func_module unistr/u32-startswith
2360   func_module unistr/u8-stpcpy
2361   func_module unistr/u16-stpcpy
2362   func_module unistr/u32-stpcpy
2363   func_module unistr/u8-stpncpy
2364   func_module unistr/u16-stpncpy
2365   func_module unistr/u32-stpncpy
2366   func_module unistr/u8-strcat
2367   func_module unistr/u16-strcat
2368   func_module unistr/u32-strcat
2369   func_module unistr/u8-strchr
2370   func_module unistr/u16-strchr
2371   func_module unistr/u32-strchr
2372   func_module unistr/u8-strcmp
2373   func_module unistr/u16-strcmp
2374   func_module unistr/u32-strcmp
2375   func_module unistr/u8-strcpy
2376   func_module unistr/u16-strcpy
2377   func_module unistr/u32-strcpy
2378   func_module unistr/u8-strcspn
2379   func_module unistr/u16-strcspn
2380   func_module unistr/u32-strcspn
2381   func_module unistr/u8-strdup
2382   func_module unistr/u16-strdup
2383   func_module unistr/u32-strdup
2384   func_module unistr/u8-strlen
2385   func_module unistr/u16-strlen
2386   func_module unistr/u32-strlen
2387   func_module unistr/u8-strmblen
2388   func_module unistr/u16-strmblen
2389   func_module unistr/u32-strmblen
2390   func_module unistr/u8-strmbtouc
2391   func_module unistr/u16-strmbtouc
2392   func_module unistr/u32-strmbtouc
2393   func_module unistr/u8-strncat
2394   func_module unistr/u16-strncat
2395   func_module unistr/u32-strncat
2396   func_module unistr/u8-strncmp
2397   func_module unistr/u16-strncmp
2398   func_module unistr/u32-strncmp
2399   func_module unistr/u8-strncpy
2400   func_module unistr/u16-strncpy
2401   func_module unistr/u32-strncpy
2402   func_module unistr/u8-strnlen
2403   func_module unistr/u16-strnlen
2404   func_module unistr/u32-strnlen
2405   func_module unistr/u8-strpbrk
2406   func_module unistr/u16-strpbrk
2407   func_module unistr/u32-strpbrk
2408   func_module unistr/u8-strrchr
2409   func_module unistr/u16-strrchr
2410   func_module unistr/u32-strrchr
2411   func_module unistr/u8-strspn
2412   func_module unistr/u16-strspn
2413   func_module unistr/u32-strspn
2414   func_module unistr/u8-strstr
2415   func_module unistr/u16-strstr
2416   func_module unistr/u32-strstr
2417   func_module unistr/u8-strtok
2418   func_module unistr/u16-strtok
2419   func_module unistr/u32-strtok
2420   func_module unistr/u8-uctomb
2421   func_module unistr/u16-uctomb
2422   func_module unistr/u32-uctomb
2423   func_module uniconv/base
2424   func_module uniconv/u8-conv-from-enc
2425   func_module uniconv/u16-conv-from-enc
2426   func_module uniconv/u32-conv-from-enc
2427   func_module uniconv/u8-conv-to-enc
2428   func_module uniconv/u16-conv-to-enc
2429   func_module uniconv/u32-conv-to-enc
2430   func_module uniconv/u8-strconv-from-enc
2431   func_module uniconv/u16-strconv-from-enc
2432   func_module uniconv/u32-strconv-from-enc
2433   func_module uniconv/u8-strconv-to-enc
2434   func_module uniconv/u16-strconv-to-enc
2435   func_module uniconv/u32-strconv-to-enc
2436   func_module uniconv/u8-strconv-from-locale
2437   func_module uniconv/u16-strconv-from-locale
2438   func_module uniconv/u32-strconv-from-locale
2439   func_module uniconv/u8-strconv-to-locale
2440   func_module uniconv/u16-strconv-to-locale
2441   func_module uniconv/u32-strconv-to-locale
2442   func_end_table
2443
2444   element="Executing programs"
2445   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2446   func_section_wrap posix_ext_exec
2447   func_wrap H3
2448   func_echo "$element"
2449
2450   func_begin_table
2451   func_module cloexec
2452   func_module findprog
2453   func_module wait-process
2454   func_module execute
2455   func_module pipe
2456   func_module sh-quote
2457   func_end_table
2458
2459   element="Java"
2460   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2461   func_section_wrap posix_ext_java
2462   func_wrap H3
2463   func_echo "$element"
2464
2465   func_begin_table
2466   func_module classpath
2467   func_module javacomp-script
2468   func_module javacomp
2469   func_module javaexec-script
2470   func_module javaexec
2471   func_module javaversion
2472   #func_module gcj
2473   func_end_table
2474
2475   element="C#"
2476   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2477   func_section_wrap posix_ext_csharp
2478   func_wrap H3
2479   func_echo "$element"
2480
2481   func_begin_table
2482   func_module csharpcomp-script
2483   func_module csharpcomp
2484   func_module csharpexec-script
2485   func_module csharpexec
2486   func_end_table
2487
2488   element="Misc"
2489   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2490   func_section_wrap posix_ext_misc
2491   func_wrap H3
2492   func_echo "$element"
2493
2494   func_begin_table
2495   func_module argp
2496   func_module argz
2497   func_module byteswap
2498   func_module exitfail
2499   func_module c-stack
2500   func_module error
2501   func_module extensions
2502   func_module getdomainname
2503   func_module xgetdomainname
2504   func_module getloadavg
2505   func_module getpagesize
2506   func_module getusershell
2507   func_module physmem
2508   func_module posixver
2509   func_module progname
2510   func_module quotearg
2511   func_module quote
2512   func_module readutmp
2513   func_module sig2str
2514   func_module sysexits
2515   func_module verror
2516   func_module visibility
2517   func_end_table
2518
2519   element="Support for building libraries and executables"
2520   func_section_wrap build_lib
2521   func_wrap H2
2522   func_echo "$element"
2523
2524   func_begin_table
2525   func_module absolute-header
2526   func_module config-h
2527   func_module configmake
2528   func_module dummy
2529   func_module elisp-comp
2530   func_module havelib
2531   func_module ldd
2532   func_module lib-ignore
2533   func_module link-warning
2534   func_module no-c++
2535   func_module relocatable-lib
2536   func_module relocatable-lib-lgpl
2537   func_module relocatable-prog
2538   func_module relocatable-prog-wrapper
2539   func_module relocatable-script
2540   func_end_table
2541
2542   element="Support for building documentation"
2543   func_section_wrap build_doc
2544   func_wrap H2
2545   func_echo "$element"
2546
2547   func_begin_table
2548   func_module fdl
2549   func_module gendocs
2550   func_module gpl
2551   func_module lgpl
2552   func_module regexprops-generic
2553   func_end_table
2554
2555   element="Support for maintaining and releasing projects"
2556   func_section_wrap maintain
2557   func_wrap H2
2558   func_echo "$element"
2559
2560   func_begin_table
2561   func_module announce-gen
2562   func_module autobuild
2563   func_module gnupload
2564   func_module maintainer-makefile
2565   func_end_table
2566
2567   element="Misc"
2568   func_section_wrap misc
2569   func_wrap H2
2570   func_echo "$element"
2571
2572   func_begin_table
2573   func_module host-os
2574   func_module perl
2575   func_module uptime
2576   func_end_table
2577 }
2578
2579
2580 func_tmpdir
2581 trap 'exit_status=$?
2582       if test "$signal" != 0; then
2583         echo "caught signal $signal" >&2
2584       fi
2585       rm -rf "$tmp"
2586       exit $exit_status' 0
2587 for signal in 1 2 3 13 15; do
2588   trap '{ signal='$signal'; func_exit 1; }' $signal
2589 done
2590 signal=0
2591
2592 echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">'
2593 func_begin HTML
2594
2595 func_begin HEAD
2596
2597 element="Gnulib Module List"
2598 func_wrap TITLE
2599 func_echo "$element"
2600
2601 modules=`gnulib-tool --list`
2602 modules=`for m in $modules; do printf "%s, " $m; done | sed -e 's/, $//'`
2603 func_echo '<META NAME="keywords" CONTENT="'"${modules}"'">'
2604
2605 func_end HEAD
2606
2607 func_begin BODY
2608
2609 element="Gnulib Module List"
2610 func_wrap H1
2611 func_echo "$element"
2612
2613 func_echo 'This is a list of the modules which make up gnulib, with dependencies.'
2614
2615 in_toc=yes
2616 func_all_modules
2617
2618 in_toc=
2619 func_all_modules
2620
2621
2622 gnulib-tool --list > "$tmp/all-modules"
2623 missed_modules=`for module in $seen_modules; do echo $module; done \
2624                   | LC_ALL=C sort -u \
2625                   | LC_ALL=C join -v 2 - "$tmp/all-modules"`
2626
2627 if test -n "$missed_modules"; then
2628
2629   element="Unclassified modules - please update MODULES.html.sh"
2630   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2631   func_wrap H2
2632   func_echo "$element"
2633
2634   func_begin_table
2635   for module in $missed_modules; do
2636     func_module $module
2637   done
2638   func_end_table
2639
2640 fi
2641
2642 LC_ALL=C ls -d lib/* m4/* | sed -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"
2643 missed_files=`for file in $seen_files; do echo $file; done \
2644                 | LC_ALL=C sort -u \
2645                 | LC_ALL=C join -v 2 - "$tmp/all-files"`
2646
2647 if test -n "$missed_files"; then
2648
2649   element="Lone files - please create new modules containing them"
2650   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2651   func_wrap H2
2652   func_echo "$element"
2653
2654   func_echo '<PRE>'
2655   echo "$missed_files" | sed -e 's,^\(.*\)$,<A HREF="'$repo_url_prefix'\1'$repo_url_suffix_repl'">\1</A>,'
2656   echo '</PRE>'
2657
2658 fi
2659
2660 element="Future developments"
2661 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2662 func_wrap H2
2663 func_echo "$element"
2664
2665 func_echo 'Ideally a module could consist of:'
2666 func_begin UL
2667 func_echo '<LI>A header file: lib/<VAR>module</VAR>.h'
2668 func_echo '<LI>One or more implementation files: lib/<VAR>module</VAR>.c et al.'
2669 func_echo '<LI>One or more autoconf macro files: m4/<VAR>module</VAR>.m4 et al.'
2670 func_echo '<LI>A configure.ac fragment, Makefile.am fragment, dependency list: modules/<VAR>module</VAR>'
2671 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'
2672 func_echo '<LI>Some documentation'
2673 func_echo '<LI>A POT file and some PO files'
2674 func_end UL
2675
2676 func_echo '<HR>'
2677 func_echo 'Generated from <CODE>MODULES.html.sh</CODE> on '`LC_ALL=C date +"%e %B %Y"`.
2678
2679 func_end BODY
2680
2681 func_end HTML
2682
2683 rm -rf "$tmp"
2684 # Undo the effect of the previous 'trap' command.
2685 trap '' 0
2686 trap 'func_exit $?' 1 2 3 13 15
2687
2688 exit 0
2689
2690 # Local Variables:
2691 # indent-tabs-mode: nil
2692 # whitespace-check-buffer-indent: nil
2693 # End: