summaryrefslogtreecommitdiff
path: root/m4/canonicalize.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/canonicalize.m4')
-rw-r--r--m4/canonicalize.m417
1 files changed, 17 insertions, 0 deletions
diff --git a/m4/canonicalize.m4 b/m4/canonicalize.m4
new file mode 100644
index 0000000..817edd5
--- /dev/null
+++ b/m4/canonicalize.m4
@@ -0,0 +1,17 @@
+#serial 12
+
+# 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.
+
+# Written by Jim Meyering.
+
+AC_DEFUN([AC_FUNC_CANONICALIZE_FILE_NAME],
+ [
+ AC_LIBOBJ([canonicalize])
+
+ AC_CHECK_HEADERS_ONCE([sys/param.h])
+ AC_CHECK_DECLS_ONCE([canonicalize_file_name])
+ AC_CHECK_FUNCS_ONCE([canonicalize_file_name resolvepath])
+ ])