New macro gl_CANONICALIZE_LGPL_SEPARATE.
authorBruno Haible <bruno@clisp.org>
Sat, 3 Mar 2007 19:24:32 +0000 (19:24 +0000)
committerBruno Haible <bruno@clisp.org>
Sat, 3 Mar 2007 19:24:32 +0000 (19:24 +0000)
ChangeLog
m4/canonicalize-lgpl.m4

index 8eb38ab..51b9c28 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2007-03-03  Bruno Haible  <bruno@clisp.org>
 
+       * m4/canonicalize-lgpl.m4 (gl_CANONICALIZE_LGPL_SEPARATE): New macro.
+
+2007-03-03  Bruno Haible  <bruno@clisp.org>
+
        * lib/xreadlink.c: Include <unistd.h> unconditionally.
        * modules/xreadlink (Depends-on): Add unistd.
        * modules/xreadlink-with-size (Depends-on): Likewise.
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],
 [