Mercurial > hg > octave-shane > gnulib-hg
annotate m4/localcharset.m4 @ 10638:28050ad34088
Fix getaddrinfo emulation for systems with struct sockaddr.sa_len.
2008-10-13 Paolo Bonzini <bonzini@gnu.org>
fix getaddrinfo emulation for systems with struct sockaddr.sa_len
* m4/getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Detect
struct sockaddr.sa_len.
* lib/getaddrinfo.c (getaddrinfo): Set it if appropriate.
author | Paolo Bonzini <bonzini@gnu.org> |
---|---|
date | Mon, 13 Oct 2008 19:49:44 +0200 |
parents | e8059bfe7afd |
children | f6cba5a556ce |
rev | line source |
---|---|
7519
e8059bfe7afd
No need any more to check for setlocale - all systems have it.
Bruno Haible <bruno@clisp.org>
parents:
7085
diff
changeset
|
1 # localcharset.m4 serial 5 |
6535
f0b048cba3a9
Optimize file reading where possible.
Bruno Haible <bruno@clisp.org>
parents:
5585
diff
changeset
|
2 dnl Copyright (C) 2002, 2004, 2006 Free Software Foundation, Inc. |
5585
adff74659d81
Use an all-permissive copyright notice, recommended by RMS.
Bruno Haible <bruno@clisp.org>
parents:
5016
diff
changeset
|
3 dnl This file is free software; the Free Software Foundation |
adff74659d81
Use an all-permissive copyright notice, recommended by RMS.
Bruno Haible <bruno@clisp.org>
parents:
5016
diff
changeset
|
4 dnl gives unlimited permission to copy and/or distribute it, |
adff74659d81
Use an all-permissive copyright notice, recommended by RMS.
Bruno Haible <bruno@clisp.org>
parents:
5016
diff
changeset
|
5 dnl with or without modifications, as long as this notice is preserved. |
4107
7c1a6b73f48e
An autoconf macro for its associated module.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
6 |
7c1a6b73f48e
An autoconf macro for its associated module.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
7 AC_DEFUN([gl_LOCALCHARSET], |
7c1a6b73f48e
An autoconf macro for its associated module.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
8 [ |
7c1a6b73f48e
An autoconf macro for its associated module.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
9 dnl Prerequisites of lib/localcharset.c. |
7c1a6b73f48e
An autoconf macro for its associated module.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
10 AC_REQUIRE([AM_LANGINFO_CODESET]) |
6535
f0b048cba3a9
Optimize file reading where possible.
Bruno Haible <bruno@clisp.org>
parents:
5585
diff
changeset
|
11 AC_CHECK_DECLS_ONCE(getc_unlocked) |
4107
7c1a6b73f48e
An autoconf macro for its associated module.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
12 |
7c1a6b73f48e
An autoconf macro for its associated module.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
13 dnl Prerequisites of the lib/Makefile.am snippet. |
7c1a6b73f48e
An autoconf macro for its associated module.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
14 AC_REQUIRE([AC_CANONICAL_HOST]) |
5016
7141ea4946af
Change jm_ to gl_ in AC_DEFINE'd names. Update all uses.
Jim Meyering <jim@meyering.net>
parents:
4107
diff
changeset
|
15 AC_REQUIRE([gl_GLIBC21]) |
4107
7c1a6b73f48e
An autoconf macro for its associated module.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
16 ]) |