]> Savannah Git Hosting - gnulib.git/commitdiff
crc: Avoid potential conflict with other configure.ac files.
authorBruno Haible <bruno@clisp.org>
Thu, 31 Oct 2024 19:51:10 +0000 (20:51 +0100)
committerBruno Haible <bruno@clisp.org>
Thu, 31 Oct 2024 19:51:10 +0000 (20:51 +0100)
Suggested by Simon Josefsson.

* modules/crc (configure.ac, Makefile.am): Rename CROSS_COMPILING to
GL_CROSS_COMPILING.

ChangeLog
modules/crc

index 62c9f9b88fbf8794a67152f2a928f42bf5c670ec..711d08f05831f515d894bca0f2587ae95a4cc815 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2024-10-31  Bruno Haible  <bruno@clisp.org>
+
+       crc: Avoid potential conflict with other configure.ac files.
+       Suggested by Simon Josefsson.
+       * modules/crc (configure.ac, Makefile.am): Rename CROSS_COMPILING to
+       GL_CROSS_COMPILING.
+
 2024-10-31 Sam Russell  <sam.h.russell@gmail.com>
 
        crc: Fix compile warnings
index e8b0d91ea6690950b36b0fd891aafb5a6ee54688..f3122ddd3bb7e410880f15612a9512c43660c69d 100644 (file)
@@ -13,8 +13,10 @@ endian
 
 configure.ac:
 AC_REQUIRE([gl_CRC_SLICE_BY_8])
-CROSS_COMPILING=$cross_compiling
-AC_SUBST([CROSS_COMPILING])
+# Set to 'yes' if executables created by the C compiler $CC can be run in the
+# build environment, or to 'no' otherwise.
+GL_CROSS_COMPILING=$cross_compiling
+AC_SUBST([GL_CROSS_COMPILING])
 AC_PROG_MKDIR_P
 
 Makefile.am:
@@ -28,7 +30,7 @@ lib_SOURCES += crc.c
 # $(AM_LDFLAGS).  And do the compilation in a temporary directory, where
 # gnulib-generated stdio.h and stdlib.h files are not visible.
 $(srcdir)/crc-sliceby8.h: $(srcdir)/crc-generate-table.c
-       if test @CROSS_COMPILING@ = no; then \
+       if test @GL_CROSS_COMPILING@ = no; then \
          $(MKDIR_P) crc-tmp \
          && abs_srcdir=`cd $(srcdir) && pwd` \
          && (cd crc-tmp \