File: canonicalize.m4

package info (click to toggle)
rcs-blame 1.4%2B20240206-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 2,816 kB
  • sloc: ansic: 15,922; sh: 10,108; makefile: 399; yacc: 389; lex: 156
file content (19 lines) | stat: -rw-r--r-- 635 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#serial 11

# Copyright (C) 2003, 2004, 2005, 2006 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.

# Written by Jim Meyering.

AC_DEFUN([AC_FUNC_CANONICALIZE_FILE_NAME],
  [
    AC_LIBOBJ([canonicalize])

    AC_CHECK_HEADERS([sys/param.h])
    AC_CHECK_DECLS([canonicalize_file_name])
    AC_CHECK_FUNCS([canonicalize_file_name resolvepath])
    AC_DEFINE([PROVIDE_CANONICALIZE_FILENAME_MODE], 1,
      [Define to 1 to provide canonicalize_filename_mode.])
  ])