(AC_FUNC_CANONICALIZE_FILE_NAME): Do not add canonicalize.c here.
authorJim Meyering <jim@meyering.net>
Tue, 6 Jul 2004 16:17:10 +0000 (16:17 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 6 Jul 2004 16:17:10 +0000 (16:17 +0000)
m4/canonicalize.m4

index 7e6276c5d5afa9687ea093e0a4fe219ddcfee386..58453896bcfd3e8673373658974ad1fc1cbe5d88 100644 (file)
@@ -1,13 +1,8 @@
-#serial 1
+#serial 2
 AC_DEFUN([AC_FUNC_CANONICALIZE_FILE_NAME],
   [
     AC_REQUIRE([AC_HEADER_STDC])
     AC_CHECK_HEADERS(string.h sys/param.h stddef.h)
-    AC_CHECK_FUNCS(resolvepath)
+    AC_CHECK_FUNCS(resolvepath canonicalize_file_name)
     AC_REQUIRE([AC_HEADER_STAT])
-
-    # 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_CHECK_FUNC([canonicalize_file_name], , [AC_LIBOBJ(canonicalize)])
   ])