Mercurial > hg > octave-nkf > gnulib-hg
annotate modules/gethostname @ 14675:d214c42cc3fe
exit: drop remaining clients
Anyone using EXIT_FAILURE needs to depend on stdlib, now that
the exit module is gone.
* modules/argmatch (Depends-on): Replace exit with stdlib.
* modules/copy-file (Depends-on): Likewise.
* modules/execute (Depends-on): Likewise.
* modules/exitfail (Depends-on): Likewise.
* modules/obstack (Depends-on): Likewise.
* modules/pagealign_alloc (Depends-on): Likewise.
* modules/pipe-filter-gi (Depends-on): Likewise.
* modules/pipe-filter-ii (Depends-on): Likewise.
* modules/savewd (Depends-on): Likewise.
* modules/spawn-pipe (Depends-on): Likewise.
* modules/wait-process (Depends-on): Likewise.
* modules/xsetenv (Depends-on): Likewise.
* modules/chdir-long (Depends-on): Add stdlib, for EXIT_FAILURE.
* modules/git-merge-changelog (Depends-on): Likewise.
* modules/long-options (Depends-on): Likewise.
* modules/pt_chown (Depends-on): Likewise.
* modules/sysexits (Depends-on): Likewise.
Signed-off-by: Eric Blake <eblake@redhat.com>
author | Eric Blake <eblake@redhat.com> |
---|---|
date | Mon, 02 May 2011 11:59:00 -0600 |
parents | 4b822ff432cf |
children | efab6978105e |
rev | line source |
---|---|
4110 | 1 Description: |
4172 | 2 gethostname() function: Return machine's hostname. |
4110 | 3 |
4 Files: | |
5 lib/gethostname.c | |
6 m4/gethostname.m4 | |
11751
8153fe87d193
Implement gethostname correctly for native Windows.
Simon Josefsson <simon@josefsson.org>
parents:
10731
diff
changeset
|
7 lib/w32sock.h |
4110 | 8 |
9 Depends-on: | |
10692
b867b19bccb3
Add gethostname() declaration to <unistd.h>.
Bruno Haible <bruno@clisp.org>
parents:
7497
diff
changeset
|
10 unistd |
11751
8153fe87d193
Implement gethostname correctly for native Windows.
Simon Josefsson <simon@josefsson.org>
parents:
10731
diff
changeset
|
11 sys_socket |
8153fe87d193
Implement gethostname correctly for native Windows.
Simon Josefsson <simon@josefsson.org>
parents:
10731
diff
changeset
|
12 errno |
11765
4b822ff432cf
Implicitly initialize the sockets library.
Bruno Haible <bruno@clisp.org>
parents:
11751
diff
changeset
|
13 sockets |
4110 | 14 |
15 configure.ac: | |
16 gl_FUNC_GETHOSTNAME | |
10692
b867b19bccb3
Add gethostname() declaration to <unistd.h>.
Bruno Haible <bruno@clisp.org>
parents:
7497
diff
changeset
|
17 gl_UNISTD_MODULE_INDICATOR([gethostname]) |
4110 | 18 |
19 Makefile.am: | |
20 | |
21 Include: | |
10692
b867b19bccb3
Add gethostname() declaration to <unistd.h>.
Bruno Haible <bruno@clisp.org>
parents:
7497
diff
changeset
|
22 <unistd.h> |
4110 | 23 |
11751
8153fe87d193
Implement gethostname correctly for native Windows.
Simon Josefsson <simon@josefsson.org>
parents:
10731
diff
changeset
|
24 Link: |
8153fe87d193
Implement gethostname correctly for native Windows.
Simon Josefsson <simon@josefsson.org>
parents:
10731
diff
changeset
|
25 $(GETHOSTNAME_LIB) |
8153fe87d193
Implement gethostname correctly for native Windows.
Simon Josefsson <simon@josefsson.org>
parents:
10731
diff
changeset
|
26 |
5251
42b53a22aee5
Add a license tag to every module.
Bruno Haible <bruno@clisp.org>
parents:
4197
diff
changeset
|
27 License: |
10731
98ea7b28018f
* modules/gethostname (License): Relicense: LGPL -> LGPLv2+.
Jim Meyering <meyering@redhat.com>
parents:
10716
diff
changeset
|
28 LGPLv2+ |
5251
42b53a22aee5
Add a license tag to every module.
Bruno Haible <bruno@clisp.org>
parents:
4197
diff
changeset
|
29 |
4197 | 30 Maintainer: |
31 all |