* lib/fnmatch.c (WIDE_CHAR_SUPPORT): Require HAVE_ISWCTYPE, too.
[gnulib.git] / m4 / canonicalize.m4
1 #serial 11
2
3 # Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 # This file is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
7
8 # Written by Jim Meyering.
9
10 AC_DEFUN([AC_FUNC_CANONICALIZE_FILE_NAME],
11   [
12     AC_LIBOBJ([canonicalize])
13
14     AC_CHECK_HEADERS_ONCE([sys/param.h])
15     AC_CHECK_DECLS_ONCE([canonicalize_file_name])
16     AC_CHECK_FUNCS_ONCE([canonicalize_file_name resolvepath])
17     AC_DEFINE([PROVIDE_CANONICALIZE_FILENAME_MODE], 1,
18       [Define to 1 to provide canonicalize_filename_mode.])
19   ])