(License): Change to LGPL.
[gnulib.git] / m4 / canonicalize.m4
index 182bda7..083ee7e 100644 (file)
@@ -1,6 +1,6 @@
-#serial 4
+#serial 7
 
-# Copyright (C) 2003, 2004 Free Software Foundation, Inc.
+# Copyright (C) 2003, 2004, 2005 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.
@@ -9,8 +9,10 @@
 
 AC_DEFUN([AC_FUNC_CANONICALIZE_FILE_NAME],
   [
+    AC_LIBSOURCES([canonicalize.c, canonicalize.h])
+    AC_LIBOBJ([canonicalize])
+
     AC_REQUIRE([AC_HEADER_STDC])
     AC_CHECK_HEADERS(string.h sys/param.h stddef.h)
     AC_CHECK_FUNCS(resolvepath canonicalize_file_name)
-    AC_REQUIRE([AC_HEADER_STAT])
   ])