* NEWS: In xstrtol, remove STRTOL_FATAL_ERROR and add xstrtol_fatal.
[gnulib.git] / m4 / canonicalize-lgpl.m4
index 7b1cd03..b0a7902 100755 (executable)
@@ -1,5 +1,5 @@
-# canonicalize-lgpl.m4 serial 3
-dnl Copyright (C) 2003, 2006 Free Software Foundation, Inc.
+# canonicalize-lgpl.m4 serial 4
+dnl Copyright (C) 2003, 2006-2007 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -18,6 +18,15 @@ AC_DEFUN([gl_CANONICALIZE_LGPL],
   fi
 ])
 
+# Like gl_CANONICALIZE_LGPL, except prepare for separate compilation
+# (no AC_LIBOBJ).
+AC_DEFUN([gl_CANONICALIZE_LGPL_SEPARATE],
+[
+  AC_CHECK_DECLS_ONCE(canonicalize_file_name)
+  AC_CHECK_FUNCS_ONCE(canonicalize_file_name)
+  gl_PREREQ_CANONICALIZE_LGPL
+])
+
 # Prerequisites of lib/canonicalize-lgpl.c.
 AC_DEFUN([gl_PREREQ_CANONICALIZE_LGPL],
 [