summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-01-11 08:16:56 +0000
committerJim Meyering <jim@meyering.net>2003-01-11 08:16:56 +0000
commitc600ace840c66bc89ef97c4bda52a3739d58df99 (patch)
tree26d3ba1c6de41525b09c67ad08b7fbfff03b7326 /m4
parent8920dfdb57e0af5de59d8db9c3fbf0992b5cd18c (diff)
downloadcoreutils-c600ace840c66bc89ef97c4bda52a3739d58df99.tar.xz
(AC_FUNC_CANONICALIZE_FILE_NAME): New file and macro.
Diffstat (limited to 'm4')
-rw-r--r--m4/canonicalize.m49
1 files changed, 9 insertions, 0 deletions
diff --git a/m4/canonicalize.m4 b/m4/canonicalize.m4
new file mode 100644
index 000000000..d859de6d0
--- /dev/null
+++ b/m4/canonicalize.m4
@@ -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)])
+ ])