Tag
Hash :
73f2a1c0
Author :
Date :
2007-06-21T17:08:44
* m4/fchdir.m4 (gl_FUNC_FCHDIR): Likewise. * m4/iconv_h.m4 (gl_ICONV_H): Likewise. * m4/locale_h.m4 (gl_LOCALE_H): Likewise. * m4/netinet_in_h.m4 (gl_HEADER_NETINET_IN): Likewise. * m4/sys_select_h.m4 (gl_HEADER_SYS_SELECT): Likewise. * m4/sys_socket_h.m4 (gl_HEADER_SYS_SOCKET): Likewise. * m4/sysexits.m4 (gl_SYSEXITS): Likewise. SCALAR(0x828a248) * lib/dirent_.h: Likewise. * lib/iconv_.h: Likewise. * lib/locale_.h: Likewise. * lib/netinet_in_.h: Likewise. * lib/sys_select_.h: Likewise. * lib/sys_socket_.h: Likewise. * lib/sysexits_.h: Likewise. * modules/fchdir: Likewise. * modules/iconv_open: Likewise. * modules/locale: Likewise. * modules/netinet_in: Likewise. * modules/sys_select: Likewise. * modules/sys_socket: Likewise. * modules/sysexits: Likewise.
# locale_h.m4 serial 2
dnl Copyright (C) 2007 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_LOCALE_H],
[
AC_CACHE_CHECK([whether locale.h conforms to POSIX],
[gl_cv_header_working_locale_h],
[AC_TRY_COMPILE([#include <locale.h>
int x = LC_MESSAGES;], [],
[gl_cv_header_working_locale_h=yes],
[gl_cv_header_working_locale_h=no])])
if test $gl_cv_header_working_locale_h = yes; then
LOCALE_H=
else
gl_CHECK_NEXT_HEADERS([locale.h])
LOCALE_H=locale.h
fi
AC_SUBST([LOCALE_H])
])