fix libbsd and string function detection

This commit is contained in:
Enno Rehling 2021-02-18 22:26:41 +01:00
parent 74f6076022
commit 4dfa1035b6
2 changed files with 5 additions and 5 deletions

2
clibs

@ -1 +1 @@
Subproject commit 48ddc013ffc2e7afb33b348bb605443896e55a28
Subproject commit c8f4a372b97e9249fe87ca4f7b60dea4799bae7f

View File

@ -285,19 +285,19 @@ add_test(server test_eressea)
install(TARGETS eressea DESTINATION "bin")
if (HAVE_EXECINFO_H AND HAVE_SIGNAL_H)
add_definitions(-DHAVE_BACKTRACE)
add_compile_definitions(HAVE_BACKTRACE)
endif ()
if (HAVE_LIBBSD)
add_definitions(-DHAVE_LIBBSD)
add_compile_definitions(HAVE_LIBBSD)
endif (HAVE_LIBBSD)
if (HAVE_STRLCAT)
add_definitions(-DHAVE_BSDSTRING)
add_compile_definitions(HAVE_BSDSTRING)
endif (HAVE_STRLCAT)
if (HAVE_STRDUP)
add_definitions(-DHAVE_STRDUP)
add_compile_definitions(HAVE_STRDUP)
endif(HAVE_STRDUP)
if (HAVE_LIBBSD)