canonicalize: avoid resolvepath
[gnulib.git] / m4 / canonicalize.m4
1 # canonicalize.m4 serial 14
2
3 # Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009 Free Software
4 # Foundation, Inc.
5
6 # This file is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
9
10 # Written by Jim Meyering.
11
12 AC_DEFUN([gl_FUNC_CANONICALIZE_FILENAME_MODE],
13 [
14   AC_LIBOBJ([canonicalize])
15
16   AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
17   AC_CHECK_FUNCS_ONCE([canonicalize_file_name])
18 ])