Fix conflict between modules 'canonicalize' and 'canonicalize-lgpl'.
authorBruno Haible <bruno@clisp.org>
Sun, 13 Apr 2008 20:39:41 +0000 (22:39 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 13 Apr 2008 20:39:41 +0000 (22:39 +0200)
ChangeLog
lib/canonicalize-lgpl.c

index 60de28f..5b205be 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2008-04-13  Bruno Haible  <bruno@clisp.org>
 
+       Fix conflict between modules 'canonicalize' and 'canonicalize-lgpl'.
+       * lib/canonicalize-lgpl.c: Elide the contents if the 'canonicalize'
+       module is also used and while not building the reloc-wrapper.
+
+2008-04-13  Bruno Haible  <bruno@clisp.org>
+
        * tests/test-getaddrinfo.c (simple): Ignore EAI_NODATA error.
 
 2008-04-13  Bruno Haible  <bruno@clisp.org>
index 80bef72..7446dfd 100644 (file)
@@ -21,7 +21,7 @@
    <stdlib.h> on Solaris 2.5.1.  */
 #undef realpath
 
-#if !HAVE_CANONICALIZE_FILE_NAME || defined _LIBC
+#if !(HAVE_CANONICALIZE_FILE_NAME || (GNULIB_CANONICALIZE && !defined IN_RELOCWRAPPER)) || defined _LIBC
 
 #include <alloca.h>