<commit_before>find_package( PkgConfig )
if( PKG_CONFIG_FOUND )
  pkg_check_modules( SDL2 sdl2 )
else()
  set( SDL2_FOUND "" CACHE INTERNAL "" )
endif()

if( SDL2_REQUIRED AND NOT SDL2_FOUND )
  message( FATAL_ERROR "SDL2 not present" )
endif()<commit_msg>Get linkage working with external SDL 1.2 or 2.0.<commit_after>find_package( PkgConfig )
if( PKG_CONFIG_FOUND )
  pkg_check_modules( SDL2 sdl2 )
  find_library( SDL2_LIBRARY NAMES ${SDL2_LIBRARIES} HINTS ${SDL2_LIBDIR} ${SDL2_LIBRARY_DIRS} )
else()
  set( SDL2_FOUND "" CACHE INTERNAL "" )
endif()

if( SDL2_REQUIRED AND NOT SDL2_FOUND )
  message( FATAL_ERROR "SDL2 not present" )
endif()
{'fraction_non_alphanumeric': 0.10542635658914729, 'fraction_numerical': 0.031007751937984496, 'mean_word_length': 5.591836734693878, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '7088947', 'n_tokens_mistral': 279, 'n_tokens_neox': 252, 'n_words': 62}