summaryrefslogtreecommitdiff
path: root/m4/build-to-host.m4
Commit message (Collapse)AuthorAgeFilesLines
* configmake: Add support for $build_os != $host_os.Bruno Haible2023-02-181-0/+73
* 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.