Mercurial > hg > octave-kai > gnulib-hg
view modules/wctype-h @ 15053:d8eeaab555f5
mktime: Respect rules for use of AC_LIBOBJ.
* m4/mktime.m4 (AC_FUNC_MKTIME): Remove macro.
(gl_FUNC_MKTIME): Inline it here. Set gl_cv_func_working_mktime. Move
AC_LIBOBJ and gl_PREREQ_MKTIME invocations from here...
(gl_FUNC_MKTIME_INTERNAL): ... and here...
* modules/mktime (configure.ac): ... to here.
* modules/mktime-internal (configure.ac): ... and here.
* m4/timegm.m4 (gl_FUNC_TIMEGM): Update.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sat, 21 May 2011 16:14:17 +0200 |
parents | 5f709022a256 |
children | 10b35faca629 |
line wrap: on
line source
Description: A <wctype.h> that conforms better to C99. Files: lib/wctype.in.h m4/wctype_h.m4 m4/wint_t.m4 Depends-on: include_next c++defs warn-on-use configure.ac: gl_WCTYPE_H Makefile.am: BUILT_SOURCES += wctype.h # We need the following in order to create <wctype.h> when the system # doesn't have one that works with the given compiler. wctype.h: wctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \ -e 's/@''GNULIB_ISWBLANK''@/$(GNULIB_ISWBLANK)/g' \ -e 's/@''GNULIB_WCTYPE''@/$(GNULIB_WCTYPE)/g' \ -e 's/@''GNULIB_ISWCTYPE''@/$(GNULIB_ISWCTYPE)/g' \ -e 's/@''GNULIB_WCTRANS''@/$(GNULIB_WCTRANS)/g' \ -e 's/@''GNULIB_TOWCTRANS''@/$(GNULIB_TOWCTRANS)/g' \ -e 's/@''HAVE_ISWBLANK''@/$(HAVE_ISWBLANK)/g' \ -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \ -e 's/@''HAVE_WCTYPE_T''@/$(HAVE_WCTYPE_T)/g' \ -e 's/@''HAVE_WCTRANS_T''@/$(HAVE_WCTRANS_T)/g' \ -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \ -e 's/@''REPLACE_ISWBLANK''@/$(REPLACE_ISWBLANK)/g' \ -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/wctype.in.h; \ } > $@-t && \ mv $@-t $@ MOSTLYCLEANFILES += wctype.h wctype.h-t Include: <wctype.h> License: LGPLv2+ Maintainer: all