+2024-09-25 Bruno Haible <bruno@clisp.org>
+
+ relocatable-lib-lgpl: Add support for mingw builds on Cygwin hosts.
+ Reported by Michele Locati <michele@locati.it> in
+ <https://lists.gnu.org/archive/html/bug-gettext/2024-09/msg00033.html>.
+ * m4/relocatable-lib.m4 (gl_RELOCATABLE_LIBRARY_BODY): Use
+ gl_BUILD_TO_HOST on the value of INSTALLPREFIX.
+ * modules/relocatable-lib (Files): Add m4/build-to-host.m4.
+ * modules/relocatable-lib-lgpl (Files): Likewise.
+ * modules/relocatable-prog-wrapper (Files): Likewise.
+
2024-09-25 Bruno Haible <bruno@clisp.org>
build-to-host.m4: Add some convenience macros.
# relocatable-lib.m4
-# serial 7
+# serial 8
dnl Copyright (C) 2003, 2005-2007, 2009-2024 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
else
reloc_final_prefix="$prefix"
fi
- AC_DEFINE_UNQUOTED([INSTALLPREFIX], ["${reloc_final_prefix}"],
+ dnl Define reloc_final_prefix_c and reloc_final_prefix_c_make.
+ gl_BUILD_TO_HOST([reloc_final_prefix])
+ AC_DEFINE_UNQUOTED([INSTALLPREFIX], [${reloc_final_prefix_c}],
[Define to the value of ${prefix}, as a string.])
if test $RELOCATABLE = yes; then
AC_DEFINE([ENABLE_RELOCATABLE], [1],