.
[coreutils.git] / m4 / canonicalize.m4
blob7e6276c5d5afa9687ea093e0a4fe219ddcfee386
1 #serial 1
2 AC_DEFUN([AC_FUNC_CANONICALIZE_FILE_NAME],
3   [
4     AC_REQUIRE([AC_HEADER_STDC])
5     AC_CHECK_HEADERS(string.h sys/param.h stddef.h)
6     AC_CHECK_FUNCS(resolvepath)
7     AC_REQUIRE([AC_HEADER_STAT])
9     # This would simply be AC_REPLACE_FUNC([canonicalize_file_name])
10     # if the function name weren't so long.  Besides, I would rather
11     # not have underscores in file names.
12     AC_CHECK_FUNC([canonicalize_file_name], , [AC_LIBOBJ(canonicalize)])
13   ])