[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS: a2ps/m4 mbrtowc.m4,NONE,1.1.2.1 mbstate_t.m4,NONE,1.1.2.1 prereq.m4
From: |
Akim Demaille <address@hidden> |
Subject: |
CVS: a2ps/m4 mbrtowc.m4,NONE,1.1.2.1 mbstate_t.m4,NONE,1.1.2.1 prereq.m4,NONE,1.1.2.1 Makefile.am,1.1.1.1.2.4,1.1.1.1.2.5 |
Date: |
Tue, 03 Sep 2002 10:06:31 -0400 |
Update of /cvsroot/a2ps/a2ps/m4
In directory subversions:/tmp/cvs-serv27094/m4
Modified Files:
Tag: a2ps-4-1x
Makefile.am
Added Files:
Tag: a2ps-4-1x
mbrtowc.m4 mbstate_t.m4 prereq.m4
Log Message:
* mbrtowc.m4, mbstate_t.m4, prereq.m4: New.
* configure.in: Forbid `^jm_[A-Z]'.
--- NEW FILE ---
# mbrtowc.m4 serial 4 (fileutils-4.1.3)
dnl Copyright (C) 2001-2002 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
dnl that contains a configuration script generated by Autoconf, under
dnl the same distribution terms as the rest of that program.
dnl From Paul Eggert
AC_DEFUN([jm_FUNC_MBRTOWC],
[
AC_CACHE_CHECK([whether mbrtowc and mbstate_t are properly declared],
jm_cv_func_mbrtowc,
[AC_TRY_LINK(
[#include <wchar.h>],
[mbstate_t state; return ! (sizeof state && mbrtowc);],
jm_cv_func_mbrtowc=yes,
jm_cv_func_mbrtowc=no)])
if test $jm_cv_func_mbrtowc = yes; then
AC_DEFINE(HAVE_MBRTOWC, 1,
[Define to 1 if mbrtowc and mbstate_t are properly declared.])
fi
])
--- NEW FILE ---
# mbstate_t.m4 serial 9
dnl Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
dnl that contains a configuration script generated by Autoconf, under
dnl the same distribution terms as the rest of that program.
# From Paul Eggert.
# BeOS 5 has <wchar.h> but does not define mbstate_t,
# so you can't declare an object of that type.
# Check for this incompatibility with Standard C.
# AC_TYPE_MBSTATE_T
# -----------------
AC_DEFUN([AC_TYPE_MBSTATE_T],
[AC_CACHE_CHECK([for mbstate_t], ac_cv_type_mbstate_t,
[AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM(
[AC_INCLUDES_DEFAULT
# include <wchar.h>],
[mbstate_t x; return sizeof x;])],
[ac_cv_type_mbstate_t=yes],
[ac_cv_type_mbstate_t=no])])
if test $ac_cv_type_mbstate_t = yes; then
AC_DEFINE([HAVE_MBSTATE_T], 1,
[Define to 1 if <wchar.h> declares mbstate_t.])
else
AC_DEFINE([mbstate_t], int,
[Define to a type if <wchar.h> does not define.])
fi])
--- NEW FILE ---
#serial 2
dnl These are the prerequisite macros for files in the lib/
dnl directories of Bison.
AC_DEFUN([jm_PREREQ_QUOTEARG],
[
AC_CHECK_FUNCS(isascii iswprint mbsinit)
jm_FUNC_MBRTOWC
AC_CHECK_HEADERS(limits.h stddef.h stdlib.h string.h wchar.h wctype.h)
AC_HEADER_STDC
AC_C_BACKSLASH_A
AC_TYPE_MBSTATE_T
AM_C_PROTOTYPES
])
Index: Makefile.am
===================================================================
RCS file: /cvsroot/a2ps/a2ps/m4/Makefile.am,v
retrieving revision 1.1.1.1.2.4
retrieving revision 1.1.1.1.2.5
diff -C2 -r1.1.1.1.2.4 -r1.1.1.1.2.5
*** Makefile.am 2 Sep 2002 12:36:00 -0000 1.1.1.1.2.4
--- Makefile.am 3 Sep 2002 14:06:29 -0000 1.1.1.1.2.5
***************
*** 13,18 ****
--- 13,21 ----
lpr.m4 \
malloc.m4 \
+ mbrtowc.m4 \
+ mbstate_t.m4 \
m4.m4 \
perl.m4 \
+ prereq.m4 \
protos.m4 \
realloc.m4 \
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- CVS: a2ps/m4 mbrtowc.m4,NONE,1.1.2.1 mbstate_t.m4,NONE,1.1.2.1 prereq.m4,NONE,1.1.2.1 Makefile.am,1.1.1.1.2.4,1.1.1.1.2.5,
Akim Demaille <address@hidden> <=
- Prev by Date:
CVS: a2ps ChangeLog,1.4.2.10,1.4.2.11 configure.in,1.2.2.5,1.2.2.6
- Next by Date:
CVS: a2ps/lib options.c,1.2,1.3
- Previous by thread:
CVS: a2ps ChangeLog,1.4.2.10,1.4.2.11 configure.in,1.2.2.5,1.2.2.6
- Next by thread:
CVS: a2ps/lib options.c,1.2,1.3
- Index(es):