]> Savannah Git Hosting - gnulib.git/commit
crc: Don't attempt to run a compiled C program when cross-compiling.
authorBruno Haible <bruno@clisp.org>
Thu, 31 Oct 2024 13:48:35 +0000 (14:48 +0100)
committerBruno Haible <bruno@clisp.org>
Thu, 31 Oct 2024 13:48:35 +0000 (14:48 +0100)
commit1460b29ed134498aec3d6392b5d20cc8478ac892
treebcac66b9921f49afa4926daf0355a65cacff64f5
parentc64f10f0d58c768b7ad8c508037f483693d26e4d
crc: Don't attempt to run a compiled C program when cross-compiling.

* lib/crc-generate-table.c: Don't include config.h.
* modules/crc (configure.ac): Define CROSS_COMPILING variable. Invoke
AC_PROG_MKDIR_P.
(Makefile.am): When cross-compiling, don't regenerate crc-sliceby8.h.
Don't use Gnulib modules while compiling the generator.
ChangeLog
lib/crc-generate-table.c
modules/crc