(AC_FUNC_CANONICALIZE_FILE_NAME): New file and macro.
authorJim Meyering <jim@meyering.net>
Sat, 11 Jan 2003 08:16:56 +0000 (08:16 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 11 Jan 2003 08:16:56 +0000 (08:16 +0000)
m4/canonicalize.m4 [new file with mode: 0644]

diff --git a/m4/canonicalize.m4 b/m4/canonicalize.m4
new file mode 100644 (file)
index 0000000..d859de6
--- /dev/null
@@ -0,0 +1,9 @@
+#serial 1
+# This would simply be AC_REPLACE_FUNC([canonicalize_file_name])
+# if the function name weren't so long.  Besides, I would rather
+# not have underscores in file names.
+AC_DEFUN([AC_FUNC_CANONICALIZE_FILE_NAME],
+  [
+    dnl FIXME: add prerequisites here
+    AC_CHECK_FUNC(canonicalize_file_name, , [AC_LIBOBJ(canonicalize)])
+  ])