+2007-01-08 Bruno Haible <bruno@clisp.org>
+
+ * m4/canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME): Remove
+ PROVIDE_CANONICALIZE_FILENAME_MODE macro definition.
+ * lib/canonicalize.h: Test GNULIB_CANONICALIZE instead of
+ PROVIDE_CANONICALIZE_FILENAME_MODE.
+ * modules/canonicalize (configure.ac): Use gl_MODULE_INDICATOR.
+
2007-01-08 Bruno Haible <bruno@clisp.org>
* m4/fts.m4 (gl_FUNC_FTS_LGPL): Remove _LGPL_PACKAGE macro definition.
/* Return the canonical absolute name of a given file.
- Copyright (C) 1996-2006 Free Software Foundation, Inc.
+ Copyright (C) 1996-2007 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#ifndef CANONICALIZE_H_
# define CANONICALIZE_H_
-# ifdef PROVIDE_CANONICALIZE_FILENAME_MODE
+# if GNULIB_CANONICALIZE
enum canonicalize_mode_t
{
/* All components must exist. */
-#serial 11
+#serial 12
-# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
+# Copyright (C) 2003, 2004, 2005, 2006, 2007 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.
AC_CHECK_HEADERS_ONCE([sys/param.h])
AC_CHECK_DECLS_ONCE([canonicalize_file_name])
AC_CHECK_FUNCS_ONCE([canonicalize_file_name resolvepath])
- AC_DEFINE([PROVIDE_CANONICALIZE_FILENAME_MODE], 1,
- [Define to 1 to provide canonicalize_filename_mode.])
])
configure.ac:
AC_FUNC_CANONICALIZE_FILE_NAME
+gl_MODULE_INDICATOR([canonicalize])
Makefile.am: