<commit_before>###
## compile dependencies of davix



IF(NOT HAVE_STRPTIME_H)
    SET(SRC_STRPTIME "${CMAKE_CURRENT_SOURCE_DIR}/strptime/strptime.c" PARENT_SCOPE)
ELSE(NOT HAVE_STRPTIME_H)
    SET(SRC_STRPTIME "" PARENT_SCOPE)
ENDIF(NOT HAVE_STRPTIME_H)

IF(NOT HAVE_MEMPCPY_H)
    SET(SRC_MEMPCPY "${CMAKE_CURRENT_SOURCE_DIR}/mempcpy/mempcpy.c" PARENT_SCOPE)
ELSE(NOT HAVE_MEMPCPY_H)
    SET(SRC_SMEMPCPY "" PARENT_SCOPE)
ENDIF(NOT HAVE_MEMPCPY_H)


IF(NOT HAVE_STRLCPY_H)
    SET(SRC_STRLCPY "${CMAKE_CURRENT_SOURCE_DIR}/strlcpy/strlcpy.c" PARENT_SCOPE)
ELSE(NOT HAVE_STRLCPY_H)
    SET(SRC_STRLCPY "" PARENT_SCOPE)
ENDIF(NOT HAVE_STRLCPY_H)


SET(SRC_SIMPLE_GET_PASS "${CMAKE_CURRENT_SOURCE_DIR}/simple_getpass/simple_get_pass.c" PARENT_SCOPE)


#set(NEON_CONFIGURE_COMMAND "${CMAKE_CURRENT_SOURCE_DIR}/libneon/configure")
#list(APPEND NEON_CONFIGURE_ARGS  "--with-ssl=openssl" "--with-libxml2" "--without-gssapi")
#set(CONFIGURE_RESULT_CODE "-1")
#set(CONFIGURE_RESULT_MSG "")

#file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/libneon)

#IF(NOT ( CONFIGURE_RESULT_CODE STREQUAL "0"))

#    if(NOT EXISTS ${CMAKE_CURRENT_BINARY_DIR}/libneon/Makefile )
#    execute_process(COMMAND "${NEON_CONFIGURE_COMMAND}" ${NEON_CONFIGURE_ARGS}
  #                  WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/libneon/"
#                    RESULT_VARIABLE CONFIGURE_RESULT_CODE
 #                   )

  #  ENDIF(NOT EXISTS ${CMAKE_CURRENT_BINARY_DIR}/libneon/Makefile )

#ENDIF(NOT ( CONFIGURE_RESULT_CODE STREQUAL "0"))

#add_custom_target(neon_static ALL
 #               "${CMAKE_MAKE_PROGRAM}"
  #              WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/libneon/"
  #              COMMENT "neon-build"
   #             )


#pkg_search_module(LIBGSSAPI_PKG REQUIRED libgssapi gss libgssglue)

#message("include dir : ${LIBXML2_PKG_INCLUDE_DIRS}")

add_subdirectory(libneon)

SET(HTTPLIB_PKG_VERSION "0.29.0" PARENT_SCOPE)
SET(HTTPLIB_PKG_STATIC_LIB_PATH "${CMAKE_CURRENT_BINARY_DIR}/libneon/src/libneon.a")
SET(HTTPLIB_PKG_LIBRARIES ${HTTPLIB_PKG_STATIC_LIB_PATH} ${LIBSSL_PKG_LIBRARIES} ${LIBGSSAPI_PKG_LIBRARIES} ${LIBXML2_LIBRARIES} PARENT_SCOPE)
SET(HTTPLIB_PKG_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/libneon/src/  ${LIBXML2_INCLUDE_DIRS} ${LIBSSL_PKG_INCLUDE_DIRS}  ${LIBGSSAPI_PKG_INCLUDE_DIRS} PARENT_SCOPE)

<commit_msg>-suppress old neon autools style compilation<commit_after>###
## compile dependencies of davix



IF(NOT HAVE_STRPTIME_H)
    SET(SRC_STRPTIME "${CMAKE_CURRENT_SOURCE_DIR}/strptime/strptime.c" PARENT_SCOPE)
ELSE(NOT HAVE_STRPTIME_H)
    SET(SRC_STRPTIME "" PARENT_SCOPE)
ENDIF(NOT HAVE_STRPTIME_H)

IF(NOT HAVE_MEMPCPY_H)
    SET(SRC_MEMPCPY "${CMAKE_CURRENT_SOURCE_DIR}/mempcpy/mempcpy.c" PARENT_SCOPE)
ELSE(NOT HAVE_MEMPCPY_H)
    SET(SRC_SMEMPCPY "" PARENT_SCOPE)
ENDIF(NOT HAVE_MEMPCPY_H)


IF(NOT HAVE_STRLCPY_H)
    SET(SRC_STRLCPY "${CMAKE_CURRENT_SOURCE_DIR}/strlcpy/strlcpy.c" PARENT_SCOPE)
ELSE(NOT HAVE_STRLCPY_H)
    SET(SRC_STRLCPY "" PARENT_SCOPE)
ENDIF(NOT HAVE_STRLCPY_H)


SET(SRC_SIMPLE_GET_PASS "${CMAKE_CURRENT_SOURCE_DIR}/simple_getpass/simple_get_pass.c" PARENT_SCOPE)

add_subdirectory(libneon)

SET(HTTPLIB_PKG_VERSION "0.29.0" PARENT_SCOPE)
SET(HTTPLIB_PKG_STATIC_LIB_PATH "${CMAKE_CURRENT_BINARY_DIR}/libneon/src/libneon.a")
SET(HTTPLIB_PKG_LIBRARIES ${HTTPLIB_PKG_STATIC_LIB_PATH} ${LIBSSL_PKG_LIBRARIES} ${LIBGSSAPI_PKG_LIBRARIES} ${LIBXML2_LIBRARIES} PARENT_SCOPE)
SET(HTTPLIB_PKG_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/libneon/src/  ${LIBXML2_INCLUDE_DIRS} ${LIBSSL_PKG_INCLUDE_DIRS}  ${LIBGSSAPI_PKG_INCLUDE_DIRS} PARENT_SCOPE)


{'fraction_non_alphanumeric': 0.10820584144645341, 'fraction_numerical': 0.004728789986091794, 'mean_word_length': 6.570526315789474, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 1}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7277199', 'n_tokens_mistral': 1647, 'n_tokens_neox': 1511, 'n_words': 171}