Skip to content

Commit

Permalink
build: toolchain m4 isn't compatible with older autoconf
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Collins <[email protected]>
  • Loading branch information
benmcollins committed Dec 23, 2024
1 parent c9d06fa commit 25f4653
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ target_sources(jwt PRIVATE libjwt/jwt.c libjwt/jwks.c libjwt/base64.c)

generate_export_header(jwt)

include_directories(${CMAKE_SOURCE_DIR}/include)
include_directories(${CMAKE_SOURCE_DIR}/include ${CMAKE_BINARY_DIR})

target_link_libraries(jwt PUBLIC ${JANSSON_LINK_LIBRARIES})
target_include_directories(jwt PUBLIC
Expand Down
6 changes: 4 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,10 @@ PKG_CHECK_MODULES([CHECK], [check >= 0.9.4],
AC_SUBST([RPMBUILD_OPTS],["$RPMB_OPENSSL $RPMB_GNUTLS $RPMB_CHECK"])

dnl Check for compiler support flags
AX_GCC_FUNC_ATTRIBUTE([deprecated])
AX_GCC_FUNC_ATTRIBUTE([visibility])
dnl AX_GCC_FUNC_ATTRIBUTE([deprecated])
dnl AX_GCC_FUNC_ATTRIBUTE([visibility])
AC_SUBST([GCC_FUNC_DEPRECATED],["__attribute__((__deprecated__))"])
AC_SUBST([GCC_EXPORT],["__attribute__((visibility(\"default\")))"])

dnl Valgrind defaults
AX_VALGRIND_DFLT([memcheck], [on])
Expand Down

0 comments on commit 25f4653

Please sign in to comment.