From 10a8a032e189c1d5e3b385671fb714fbf224a034 Mon Sep 17 00:00:00 2001 From: Martin Larralde Date: Thu, 10 Oct 2024 20:54:47 +0200 Subject: [PATCH] Remove include guards from `esl_config.h.in` --- CMakeLists.txt | 6 +++--- src/easel/CMakeLists.txt | 2 +- src/easel/esl_config.h.in | 36 ++++++++++++++++++------------------ 3 files changed, 22 insertions(+), 22 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d5eaa01..02ae862 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -38,9 +38,9 @@ else() message(FATAL_ERROR "Unsupported platform, none of SSE2, NEON or AltiVec available.") endif() -if(IMPL_FLAGS) - add_compile_options(${IMPL_FLAGS}) -endif() +# if(IMPL_FLAGS) +# add_compile_options(${IMPL_FLAGS}) +# endif() # --- Setup include folders ---------------------------------------------------- diff --git a/src/easel/CMakeLists.txt b/src/easel/CMakeLists.txt index 748760e..fd1d68c 100644 --- a/src/easel/CMakeLists.txt +++ b/src/easel/CMakeLists.txt @@ -12,7 +12,7 @@ CHECK_INCLUDE_FILE("sys/types.h" HAVE_SYS_TYPES_H) CHECK_INCLUDE_FILE("unistd.h" HAVE_UNISTD_H) CHECK_INCLUDE_FILE("endian.h" HAVE_ENDIAN_H) CHECK_INCLUDE_FILE("netinet/in.h" HAVE_NETINET_IN_H) -CHECK_INCLUDE_FILE("sys/[aram.h" HAVE_SYS_PARAM_H) +CHECK_INCLUDE_FILE("sys/param.h" HAVE_SYS_PARAM_H) CHECK_INCLUDE_FILE("sys/sysctl.h" HAVE_SYS_SYSCTL_H) CHECK_FUNCTION_EXISTS(aligned_alloc HAVE_ALIGNED_ALLOC) diff --git a/src/easel/esl_config.h.in b/src/easel/esl_config.h.in index 4e05d21..9114194 100644 --- a/src/easel/esl_config.h.in +++ b/src/easel/esl_config.h.in @@ -49,33 +49,33 @@ #cmakedefine HAVE_LIBGSL /* Headers */ -#ifndef HAVE_ENDIAN_H +// #ifndef HAVE_ENDIAN_H #cmakedefine HAVE_ENDIAN_H @HAVE_ENDIAN_H@ -#endif -#ifndef HAVE_INTTYPES_H +// #endif +// #ifndef HAVE_INTTYPES_H #cmakedefine HAVE_INTTYPES_H @HAVE_INTTYPES_H@ -#endif -#ifndef HAVE_STDINT_H +// #endif +// #ifndef HAVE_STDINT_H #cmakedefine HAVE_STDINT_H @HAVE_STDINT_H@ -#endif -#ifndef HAVE_UNISTD_H +// #endif +// #ifndef HAVE_UNISTD_H #cmakedefine HAVE_UNISTD_H @HAVE_UNISTD_H@ -#endif -#ifndef HAVE_SYS_TYPES_H +// #endif +// #ifndef HAVE_SYS_TYPES_H #cmakedefine HAVE_SYS_TYPES_H @HAVE_SYS_TYPES_H@ -#endif -#ifndef HAVE_STRINGS_H +// #endif +// #ifndef HAVE_STRINGS_H #cmakedefine HAVE_STRINGS_H @HAVE_STRINGS_H@ -#endif -#ifndef HAVE_NETINET_IN_H +// #endif +// #ifndef HAVE_NETINET_IN_H #cmakedefine HAVE_NETINET_IN_H @HAVE_NETINET_IN_H@ /* On FreeBSD, you need netinet/in.h for struct sockaddr_in */ -#endif -#ifndef HAVE_SYS_PARAM_H +// #endif +// #ifndef HAVE_SYS_PARAM_H #cmakedefine HAVE_SYS_PARAM_H @HAVE_SYS_PARAM_H@ -#endif -#ifndef HAVE_SYS_SYSCTL_H +// #endif +// #ifndef HAVE_SYS_SYSCTL_H #cmakedefine HAVE_SYS_SYSCTL_H @HAVE_SYS_SYSCTL_H@ -#endif +// #endif /* Types */ #cmakedefine WORDS_BIGENDIAN