view modules/locale @ 10560:0eefc6edf646

Tests for module 'cond'.
author Yoann Vandoorselaere <yoann.v@prelude-ids.com>
date Wed, 01 Oct 2008 03:39:40 +0200
parents f96e845fc36d
children ff3dd373542b
line wrap: on
line source

Description:
A <locale.h> that conforms to POSIX.

Files:
lib/locale.in.h
m4/locale_h.m4

Depends-on:
include_next

configure.ac:
gl_LOCALE_H

Makefile.am:
BUILT_SOURCES += $(LOCALE_H)

# We need the following in order to create <locale.h> when the system
# doesn't have one that provides all definitions.
locale.h: locale.in.h
	rm -f $@-t $@
	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
	  sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
	      -e 's|@''NEXT_LOCALE_H''@|$(NEXT_LOCALE_H)|g' \
	      < $(srcdir)/locale.in.h; \
	} > $@-t
	mv $@-t $@
MOSTLYCLEANFILES += locale.h locale.h-t

Include:
<locale.h>

License:
LGPL

Maintainer:
Bruno Haible