]> Savannah Git Hosting - gnulib.git/commitdiff
endian: Unquote variables that are always defined.
authorCollin Funk <collin.funk1@gmail.com>
Thu, 30 May 2024 20:30:25 +0000 (13:30 -0700)
committerCollin Funk <collin.funk1@gmail.com>
Thu, 30 May 2024 20:30:25 +0000 (13:30 -0700)
* m4/endian.m4 (gl_ENDIAN_H): Unquote $ac_cv_header_endian_h and
$GL_GENERATE_ENDIAN_H.

ChangeLog
m4/endian_h.m4

index 2d96de1066c540c6b95b39b9c36834ad5b4201f1..5439029905124c407038ace30789e9168d1ab981 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-05-30  Collin Funk  <collin.funk1@gmail.com>
+
+       endian: Unquote variables that are always defined.
+       * m4/endian.m4 (gl_ENDIAN_H): Unquote $ac_cv_header_endian_h and
+       $GL_GENERATE_ENDIAN_H.
+
 2024-05-30  Bruno Haible  <bruno@clisp.org>
 
        attribute: Try harder to avoid syntax errors.
index a3b43b25b77a6f09b8f52977398907a1d314d47c..3149b4922708a986e906211f59a5eb6b435ab95f 100644 (file)
@@ -1,5 +1,5 @@
 # endian_h.m4
-# serial 3
+# serial 4
 dnl Copyright 2024 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -13,7 +13,7 @@ AC_DEFUN_ONCE([gl_ENDIAN_H],
 
   AC_CHECK_HEADERS_ONCE([endian.h])
   gl_CHECK_NEXT_HEADERS([endian.h])
-  if test "$ac_cv_header_endian_h" = yes; then
+  if test $ac_cv_header_endian_h = yes; then
     HAVE_ENDIAN_H=1
     dnl Check if endian.h defines uint16_t, uint32_t, and uint64_t.
     AC_CACHE_CHECK([if endian.h defines stdint types],
@@ -88,7 +88,7 @@ return !(value16_1 + value32_1 + value64_1
   fi
 
   dnl Check if endian.h works but is missing types from stdint.h.
-  if test "$GL_GENERATE_ENDIAN_H"; then
+  if test $GL_GENERATE_ENDIAN_H; then
     if test "$gl_cv_header_working_endian_h" = yes; then
       ENDIAN_H_JUST_MISSING_STDINT=1
     else