]> Savannah Git Hosting - gnulib.git/commit
configmake: Add support for $build_os != $host_os.
authorBruno Haible <bruno@clisp.org>
Sat, 18 Feb 2023 15:59:22 +0000 (16:59 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 18 Feb 2023 15:59:22 +0000 (16:59 +0100)
commitbb3fd10e6309f017618a12b2c10d3bfb813bfc08
tree008d92794c0e93e9e9f6381dfe06311d459146f8
parentf77a31de60963c994cd9b42c8088be0e734962d7
configmake: Add support for $build_os != $host_os.

* m4/build-to-host.m4: New file.
* m4/configmake.m4 (gl_CONFIGMAKE_PREP): Provide a configure-time
definition for pkgdatadir, pkgincludedir, pkglibdir.
(gl_CONFIGMAKE): New macro.
* modules/configmake (Files): Add m4/build-to-host.m4.
(configure.ac): Invoke gl_CONFIGMAKE instead of gl_CONFIGMAKE_PREP.
(Makefile.am): For creating configmake.h, use the various *prefix_c_make
and *dir_c_make variables.
ChangeLog
m4/build-to-host.m4 [new file with mode: 0644]
m4/configmake.m4
modules/configmake