view modules/wchar @ 8522:2ac1de49bbbe

Reorganize modules utf8-ucs4-unsafe, utf16-ucs4-unsafe, utf8-ucs4, utf16-ucs4, ucs4-utf8, ucs4-utf16.
author Bruno Haible <bruno@clisp.org>
date Sat, 24 Mar 2007 14:55:28 +0000
parents 708da4ac0ccd
children 34cf20b69fd7
line wrap: on
line source

Description:
A <wchar.h> that works around platform issues.

Files:
lib/wchar_.h
m4/wchar.m4

Depends-on:
absolute-header

configure.ac:
gl_WCHAR_H

Makefile.am:
BUILT_SOURCES += $(WCHAR_H)

# We need the following in order to create <wchar.h> when the system
# version does not work standalone.
wchar.h: wchar_.h
	rm -f $@-t $@
	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
	  sed -e 's|@''ABSOLUTE_WCHAR_H''@|$(ABSOLUTE_WCHAR_H)|g' \
	    < $(srcdir)/wchar_.h; \
	} > $@-t
	mv $@-t $@
MOSTLYCLEANFILES += wchar.h wchar.h-t

Include:
#include <wchar.h>

License:
LGPL

Maintainer:
all