forked from github/server
fix libbsd and string function detection
This commit is contained in:
parent
74f6076022
commit
4dfa1035b6
2
clibs
2
clibs
|
@ -1 +1 @@
|
||||||
Subproject commit 48ddc013ffc2e7afb33b348bb605443896e55a28
|
Subproject commit c8f4a372b97e9249fe87ca4f7b60dea4799bae7f
|
|
@ -285,19 +285,19 @@ add_test(server test_eressea)
|
||||||
install(TARGETS eressea DESTINATION "bin")
|
install(TARGETS eressea DESTINATION "bin")
|
||||||
|
|
||||||
if (HAVE_EXECINFO_H AND HAVE_SIGNAL_H)
|
if (HAVE_EXECINFO_H AND HAVE_SIGNAL_H)
|
||||||
add_definitions(-DHAVE_BACKTRACE)
|
add_compile_definitions(HAVE_BACKTRACE)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
if (HAVE_LIBBSD)
|
if (HAVE_LIBBSD)
|
||||||
add_definitions(-DHAVE_LIBBSD)
|
add_compile_definitions(HAVE_LIBBSD)
|
||||||
endif (HAVE_LIBBSD)
|
endif (HAVE_LIBBSD)
|
||||||
|
|
||||||
if (HAVE_STRLCAT)
|
if (HAVE_STRLCAT)
|
||||||
add_definitions(-DHAVE_BSDSTRING)
|
add_compile_definitions(HAVE_BSDSTRING)
|
||||||
endif (HAVE_STRLCAT)
|
endif (HAVE_STRLCAT)
|
||||||
|
|
||||||
if (HAVE_STRDUP)
|
if (HAVE_STRDUP)
|
||||||
add_definitions(-DHAVE_STRDUP)
|
add_compile_definitions(HAVE_STRDUP)
|
||||||
endif(HAVE_STRDUP)
|
endif(HAVE_STRDUP)
|
||||||
|
|
||||||
if (HAVE_LIBBSD)
|
if (HAVE_LIBBSD)
|
||||||
|
|
Loading…
Reference in New Issue