summaryrefslogtreecommitdiff
path: root/modules/getopt
Commit message (Collapse)AuthorAgeFilesLines
* getopt: Fix link error for users of getopt() in <unistd.h>.Bruno Haible2016-12-181-1/+1
| | | | | | | | * lib/getopt.in.h (getopt etc.): Do the macro definitions also when __need_getopt is defined. Undefine all macros before defining them. * modules/getopt (Include): Clarify that including <unistd.h> is also OK. * tests/test-getopt.c: Add comment.
* Fix confusion regarding deprecated modules.Bruno Haible2011-05-171-2/+2
| | | | | | | | | | | | | | | | | * modules/calloc (Status, Notice): Mark module as deprecated, not obsolete. * modules/fnmatch-posix (Status, Notice): Likewise. * modules/getdate (Status, Notice): Likewise. * modules/getopt (Status, Notice): Likewise. * modules/malloc (Status, Notice): Likewise. * modules/pipe (Status, Notice): Likewise. * modules/realloc (Status, Notice): Likewise. * modules/rename-dest-slash (Status, Notice): Likewise. * modules/unictype/bidicategory-all (Status, Notice): Likewise. * modules/unictype/bidicategory-byname (Status, Notice): Likewise. * modules/unictype/bidicategory-name (Status, Notice): Likewise. * modules/unictype/bidicategory-of (Status, Notice): Likewise. * modules/unictype/bidicategory-test (Status, Notice): Likewise.
* New modules 'getopt-posix', 'getopt-gnu'.Bruno Haible2009-08-131-19/+7
|
* Ensure that optarg etc. get declared by <unistd.h>.Bruno Haible2009-08-131-0/+1
|
* Rename getopt_.h to getopt.in.h.Bruno Haible2007-10-021-3/+3
|
* gnulib-tool now synthesizes the EXTRA_DIST line.Bruno Haible2006-10-131-1/+0
|
* Distribute all lib/* source files through EXTRA_DIST.Bruno Haible2006-10-121-1/+1
|
* Mark generated files as "DO NOT EDIT".Bruno Haible2006-10-071-1/+3
|
* Don't make generated files read-only. That would bother too manyJim Meyering2006-09-081-4/+2
| | | | | | | | | | | | | people. However, do retain the ability to work when targets are read-only: remove the destination and temporary files before writing them (when generated via sed or echo), or by using the -f option for both cp and mv commands. Suggestion to use -f from Paul Eggert. * modules/alloca-opt, modules/argz, modules/arpa_inet: * modules/byteswap, modules/configmake, modules/fcntl: * modules/fnmatch, modules/getopt, modules/glob, modules/inttypes: * modules/localcharset, modules/netinet_in, modules/poll: * modules/stdbool, modules/stdint, modules/sys_select: * modules/sys_socket, modules/sys_stat, modules/sysexits:
* Fix global typo in last change: use chmod u-w, not chmod u-x.Jim Meyering2006-09-071-1/+1
| | | | | | | | | | Spotted by Paul Eggert and Bruce Korb. * modules/alloca-opt, modules/argz, modules/arpa_inet: * modules/byteswap, modules/configmake, modules/fcntl: * modules/fnmatch, modules/getopt, modules/glob, modules/inttypes: * modules/localcharset, modules/netinet_in, modules/poll: * modules/stdbool, modules/stdint, modules/sys_select: * modules/sys_socket, modules/sys_stat, modules/sysexits:
* Make generated files be read-only.Jim Meyering2006-09-061-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * modules/alloca-opt (Makefile.am): Work also when $@ is read-only. Ensure that each generated file is now read-only. * modules/argz: Likewise. * modules/arpa_inet: Likewise. * modules/byteswap: Likewise. * modules/configmake: Likewise. * modules/fcntl: Likewise. * modules/fnmatch: Likewise. * modules/getopt: Likewise. * modules/glob: Likewise. * modules/inttypes: Likewise. * modules/netinet_in: Likewise. * modules/poll: Likewise. * modules/stdbool: Likewise. * modules/stdint: Likewise. * modules/sys_select: Likewise. * modules/sys_socket: Likewise. * modules/sys_stat: Likewise. * modules/sysexits: Likewise. * modules/localcharset: Same as above, but continue using temporary file named "t-$@" (why different?) rather than the "$@-t" used everywhere else. * modules/sysexits (Makefile.am): Replace literal occurrences of "sysexit.h" more readable, and more consistent, "$@".
* Fix use of unistd.h in getopt through a new unistd module.Simon Josefsson2006-03-071-0/+1
|
* * modules/alloca-opt (Makefile.am): Remove explicit dependency onPaul Eggert2005-07-221-2/+1
| | | | | | | | | | | | | | | | | | | | | | | $(ALLOCA_H), redundant through BUILT_SOURCES. * modules/argz (Makefile.am): Remove explicit dependency on $(ARGZ_H), redundant through BUILT_SOURCES. * modules/byteswap (Makefile.am): Remove explicit dependency on $(BYTESWAP_H), redundant through BUILT_SOURCES. * modules/fnmatch (Makefile.am): Remove explicit dependency on $(FNMATCH_H), redundant through BUILT_SOURCES. * modules/getopt (Makefile.am): Remove explicit dependency on $(GETOPT_H), redundant through BUILT_SOURCES. * modules/glob (Makefile.am): Remove explicit dependency on $(GLOB_H), redundant through BUILT_SOURCES. * modules/poll (Makefile.am): Remove explicit dependency on $(POLL_H), redundant through BUILT_SOURCES. * modules/stdbool (Makefile.am): Remove explicit dependency on $(STDBOOL_H), redundant through BUILT_SOURCES. * modules/stdint (Makefile.am): Remove explicit dependency on $(STDINT_H), redundant through BUILT_SOURCES. * modules/sysexits (Makefile.am): Add $(SYSEXITS_H) to BUILT_SOURCES. Remove explicit dependency on $(SYSEXITS_H). Reported by Alexandre Duret-Lutz <adl@src.lip6.fr>.
* Support programs like Emacs that use gnulib but not gettext.Paul Eggert2005-07-061-2/+1
| | | | | | | | | | | | | | | | | | | * MODULES.html.sh (Internationalization functions): Add gettext-h. * modules/gettext-h: New file. * modules/gettext (Files): Remove lib/gettext.h. (Depends-on): Add gettext-h. (Makefile.am): Remove lib_SOURCES. * modules/argmatch, modules/c-stack, modules/closeout: * modules/copy-file, modules/csharpcomp, modules/csharpexec: * modules/execute, modules/file-type, modules/getaddrinfo: * modules/getopt, modules/human, modules/javacomp: * modules/javaexec, modules/mkdir-p, modules/obstack: * modules/openat, modules/pagealign_alloc, modules/pipe: * modules/quotearg, modules/regex, modules/rpmatch: * modules/unicodeio, modules/userspec, modules/version-etc: * modules/wait-process, modules/xalloc-die, modules/xmemcoll: * modules/xsetenv: Depend on gettext-h, not gettext.
* Add a license tag to every module.Bruno Haible2004-09-221-0/+3
|
* (Files): Rename getopt.h to getopt_.h.Paul Eggert2004-08-121-3/+12
| | | | | (Makefile.am): Rewrite, use logic from argz. (Include): Use <getopt.h> instead of "getopt.h".
* * modules/getopt (lib_SOURCES): Add getopt_int.h.Paul Eggert2004-04-121-1/+1
|
* Sync getopt and argp from libc CVS.Paul Eggert2004-03-091-0/+1
|
* Add a Maintainer.Bruno Haible2003-01-201-0/+3
|
* Add module descriptions.Bruno Haible2003-01-131-0/+1
|
* Module description.Bruno Haible2002-12-311-0/+20