mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-10 04:43:00 +03:00
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.
This commit is contained in:
11
ChangeLog
11
ChangeLog
@@ -1,3 +1,14 @@
|
|||||||
|
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>
|
2024-09-25 Bruno Haible <bruno@clisp.org>
|
||||||
|
|
||||||
build-to-host.m4: Add some convenience macros.
|
build-to-host.m4: Add some convenience macros.
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
# relocatable-lib.m4
|
# relocatable-lib.m4
|
||||||
# serial 7
|
# serial 8
|
||||||
dnl Copyright (C) 2003, 2005-2007, 2009-2024 Free Software Foundation, Inc.
|
dnl Copyright (C) 2003, 2005-2007, 2009-2024 Free Software Foundation, Inc.
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -21,7 +21,9 @@ AC_DEFUN([gl_RELOCATABLE_LIBRARY_BODY],
|
|||||||
else
|
else
|
||||||
reloc_final_prefix="$prefix"
|
reloc_final_prefix="$prefix"
|
||||||
fi
|
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.])
|
[Define to the value of ${prefix}, as a string.])
|
||||||
if test $RELOCATABLE = yes; then
|
if test $RELOCATABLE = yes; then
|
||||||
AC_DEFINE([ENABLE_RELOCATABLE], [1],
|
AC_DEFINE([ENABLE_RELOCATABLE], [1],
|
||||||
|
@@ -8,6 +8,7 @@ lib/relocatable.h
|
|||||||
lib/relocatable.c
|
lib/relocatable.c
|
||||||
lib/relocatable.valgrind
|
lib/relocatable.valgrind
|
||||||
m4/relocatable-lib.m4
|
m4/relocatable-lib.m4
|
||||||
|
m4/build-to-host.m4
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
xalloc
|
xalloc
|
||||||
|
@@ -8,6 +8,7 @@ lib/relocatable.h
|
|||||||
lib/relocatable.c
|
lib/relocatable.c
|
||||||
lib/relocatable.valgrind
|
lib/relocatable.valgrind
|
||||||
m4/relocatable-lib.m4
|
m4/relocatable-lib.m4
|
||||||
|
m4/build-to-host.m4
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
strdup
|
strdup
|
||||||
|
@@ -47,6 +47,7 @@ m4/rawmemchr.m4
|
|||||||
m4/readlink.m4
|
m4/readlink.m4
|
||||||
m4/realloc.m4
|
m4/realloc.m4
|
||||||
m4/relocatable-lib.m4
|
m4/relocatable-lib.m4
|
||||||
|
m4/build-to-host.m4
|
||||||
m4/setenv.m4
|
m4/setenv.m4
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
|
Reference in New Issue
Block a user