view m4/st_dm_mode.m4 @ 14473:acd1454e6a45

New module 'unictype/category-LC'. * lib/unictype.in.h (UC_CATEGORY_MASK_LC): New enumeration value. (UC_CATEGORY_LC): New declaration. (UC_CASED_LETTER): New macro. * lib/gen-uni-tables.c (is_category_LC): New function. (output_categories): Also handle category LC. (UC_CATEGORY_MASK_LC): New enumeration value. (general_category_byname): Also handle category LC. * lib/unictype/categ_LC.c: New file. * lib/unictype/categ_LC.h: New file, automatically generated. * lib/unictype/categ_name.c (uc_general_category_name): Also handle category LC. * lib/unictype/categ_byname.c (uc_general_category_byname): Likewise. * modules/unictype/category-LC: New file. * modules/unictype/category-all (Depends-on): Add unictype/category-LC.
author Bruno Haible <bruno@clisp.org>
date Fri, 25 Mar 2011 20:23:43 +0100
parents 97fc9a21a8fb
children 8250f2777afc
line wrap: on
line source

# serial 6

# Copyright (C) 1998-1999, 2001, 2009-2011 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# Define HAVE_ST_DM_MODE if struct stat has an st_dm_mode member.

AC_DEFUN([AC_STRUCT_ST_DM_MODE],
 [AC_CACHE_CHECK([for st_dm_mode in struct stat], [ac_cv_struct_st_dm_mode],
   [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#include <sys/types.h>
#include <sys/stat.h>]], [[struct stat s; s.st_dm_mode;]])],
     [ac_cv_struct_st_dm_mode=yes],
     [ac_cv_struct_st_dm_mode=no])])

  if test $ac_cv_struct_st_dm_mode = yes; then
    AC_DEFINE([HAVE_ST_DM_MODE], [1],
              [Define if struct stat has an st_dm_mode member. ])
  fi
 ]
)