<commit_before># - Try to find Alure
# Once done this will define
#
#  ALURE_FOUND - system has Alure
#  ALURE_INCLUDE_DIRS - the Alure include directory
#  ALURE_LIBRARIES - Link these to use Alure
#
#  Copyright © 2011 <NAME> <<EMAIL>>
#
#  Redistribution and use is allowed according to the terms of the New
#  BSD license.
#  For details see the accompanying COPYING-CMAKE-SCRIPTS file.
#

find_path(ALURE_INCLUDE_DIR
    NAMES
      alure.h
      PATH_SUFFIXES AL OpenAL
    PATHS
      /usr/include
      /usr/local/include
      /opt/local/include
      /sw/include
  )

  find_library(ALURE_LIBRARY<commit_msg>Audio/Alure: Return error if the proper version is not available<commit_after># - Try to find Alure
# Once done this will define
#
#  ALURE_FOUND - system has Alure
#  ALURE_INCLUDE_DIRS - the Alure include directory
#  ALURE_LIBRARIES - Link these to use Alure
#
#  Copyright © 2011 <NAME> <<EMAIL>>
#
#  Redistribution and use is allowed according to the terms of the New
#  BSD license.
#  For details see the accompanying COPYING-CMAKE-SCRIPTS file.
#

find_path(ALURE_INCLUDE_DIR
    NAMES
      alure.h
      PATH_SUFFIXES AL OpenAL
    PATHS
      /usr/include
      /usr/local/include
      /opt/local/include
      /sw/include
  )

IF(APPLE)
    set(ALURE_INCLUDE_DIR_PREFIX "OpenAL")
ELSEIF(UNIX)
    set(ALURE_INCLUDE_DIR_PREFIX "AL")
ELSEIF(WIN32)
    set(ALURE_INCLUDE_DIR_PREFIX "AL")
ELSE()
    set(ALURE_INCLUDE_DIR_PREFIX "AL")
ENDIF()

IF (NOT ALURE_MIN_VERSION)
  SET(ALURE_MIN_VERSION "1.1")
ENDIF(NOT ALURE_MIN_VERSION)

SET(ALURE_VERSION_OK TRUE)
IF(ALURE_INCLUDE_DIR)
    FILE(READ ${ALURE_INCLUDE_DIR}/alure.h ALURE_VERSION_CONTENT)
    STRING (REGEX MATCH "ALURE_API.*.alureUpdateInterval" ALURE_VERSION_MATCH "${ALURE_VERSION_CONTENT}")
    IF(ALURE_VERSION_MATCH)
        SET(ALURE_VERSION "1.1")
    ELSE(ALURE_VERSION_MATCH)
        SET(ALURE_VERSION_OK FALSE)
        MESSAGE(FATAL_ERROR "Can not find a recent enough version of Alure. Please install ${ALURE_MIN_VERSION} or newer.")
    ENDIF(ALURE_VERSION_MATCH)
ENDIF(ALURE_INCLUDE_DIR)


  find_library(ALURE_LIBRARY
{'fraction_non_alphanumeric': 0.0821529745042493, 'fraction_numerical': 0.0066100094428706326, 'mean_word_length': 3.7088888888888887, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '4862923', 'n_tokens_mistral': 805, 'n_tokens_neox': 752, 'n_words': 189}