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 8eb38abc600ced863bad57d9d423c7b91f39f8a4..51b9c287fcd462f972a5b5b13448101616062583 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+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.
index 7b1cd036c5f5778b98e657ef3c5ed7e1d8017559..b0a79025c75841837b7cf76c39703e0427376421 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],
 [