This is an automated email from the ASF dual-hosted git repository.

bcall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new 83fd7ac796 cmake: added endian.h detection for Linux (#9922)
83fd7ac796 is described below

commit 83fd7ac796a65c25d1fadd0d11c196a9ed29ac32
Author: Bryan Call <[email protected]>
AuthorDate: Tue Jun 27 12:33:43 2023 -0700

    cmake: added endian.h detection for Linux (#9922)
---
 CMakeLists.txt                       | 1 +
 include/tscore/ink_config.h.cmake.in | 1 +
 2 files changed, 2 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 12d5ab8736..e5cf1493f0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -127,6 +127,7 @@ CHECK_INCLUDE_FILE(arpa/inet.h HAVE_ARPA_INET_H)
 CHECK_INCLUDE_FILE(arpa/nameser.h HAVE_ARPA_NAMESER_H)
 CHECK_INCLUDE_FILE(arpa/nameser_compat.h HAVE_ARPA_NAMESER_COMPAT_H)
 CHECK_INCLUDE_FILE(siginfo.h HAVE_SIGINFO_H)
+CHECK_INCLUDE_FILE(endian.h HAVE_ENDIAN_H)
 
 # Find libraries
 find_package(Backtrace)
diff --git a/include/tscore/ink_config.h.cmake.in 
b/include/tscore/ink_config.h.cmake.in
index 56401d913a..9472d7f217 100644
--- a/include/tscore/ink_config.h.cmake.in
+++ b/include/tscore/ink_config.h.cmake.in
@@ -65,6 +65,7 @@
 #cmakedefine HAVE_ARPA_NAMESER_H 1
 #cmakedefine HAVE_ARPA_NAMESER_COMPAT_H 1
 #cmakedefine HAVE_SIGINFO_H 1
+#cmakedefine HAVE_ENDIAN_H 1
 
 #cmakedefine01 HAVE_GETRESUID
 #cmakedefine01 HAVE_GETRESGID

Reply via email to