[PATCH] [FreeBSD 8] Add langinfo.h to the system/locale.h

Timur I. Bakeyev timur at com.bat.ru
Sun Jun 7 12:39:22 GMT 2009


This patch for Samba4. It's not really inspired by any real need, just
for the consistency. We define replace/system/locale.h as a generic
header, that includes all locale related headers and we are using
nl_langinfo at least in Samba3. So, it would be consistent to add yet
another locale-related header to the set of locale.h headers.

Here is the patch.

With regards,
Timur Bakeyev.
-------------- next part --------------
--- ./lib/replace/system/config.m4.orig	2009-04-30 07:53:01.000000000 +0000
+++ ./lib/replace/system/config.m4	2009-06-01 11:49:40.000000000 +0000
@@ -118,7 +118,7 @@
 	])
 
 # locale
-AC_CHECK_HEADERS(ctype.h locale.h)
+AC_CHECK_HEADERS(ctype.h locale.h langinfo.h)
 
 # glob
 AC_CHECK_HEADERS(fnmatch.h)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-lib__replace__system__locale.h
Type: text/x-chdr
Size: 259 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20090607/a36a42b5/patch-lib__replace__system__locale.bin


More information about the samba-technical mailing list