<commit_before>#serial 1
# Author: <NAME> <<EMAIL>>
#
# SYNOPSIS
# 
#   ACX_CAPD([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
#
AC_DEFUN([ACX_CADP], [
AC_ARG_WITH([cadp],
  [AS_HELP_STRING([--with-cadp=<prefix>],[CADP prefix directory])])
AC_SUBST(CADP,[$CADP])
case "$with_cadp" in
  no|disable) CADP= ;;
  '') ;;
  *) CADP="$with_cadp"; export CADP ;;
esac
AC_MSG_CHECKING([for CADP])
if test x"$CADP" != x && test -f "$CADP/com/arch"; then
    AC_MSG_RESULT([$CADP])
    AC_CHECK_SIZEOF([void *])
    if test x"$ac_cv_sizeof_void_p" = x8; then
       AC_MSG_CHECKING([for 64 bit CADP architecture string])
       AC_SUBST(CADP_ARCH, ["$(CADP_BITS=64 $CADP/com/arch)"])
    else
        AC_MSG_CHECKING([for 32 bit CADP architecture string])
        AC_SUBST(CADP_ARCH, ["$(CADP_BITS=32 $CADP/com/arch)"])
    fi
    if test x"$CADP_ARCH" != x; then
        AC_MSG_RESULT([$CADP_ARCH])
        AC_SUBST(CADP_LDFLAGS,  ["-L$CADP/bin.$CADP_ARCH"])
        AC_SUBST(CADP_CPPFLAGS, ["-I$CADP/incl"])
        acx_cadp=yes
    else
        AC_MSG_RESULT([unknown])
        acx_cadp=no
        CADP=
    fi
else
    AC_MSG_RESULT([no])
fi

if test x"$acx_cadp" = xyes; then
    $1
    :
else<commit_msg>Fix CADP detection of unknown platform<commit_after>#serial 1
# Author: <NAME> <<EMAIL>>
#
# SYNOPSIS
# 
#   ACX_CAPD([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
#
AC_DEFUN([ACX_CADP], [
AC_ARG_WITH([cadp],
  [AS_HELP_STRING([--with-cadp=<prefix>],[CADP prefix directory])])
AC_SUBST(CADP,[$CADP])
case "$with_cadp" in
  no|disable) CADP= ;;
  '') ;;
  *) CADP="$with_cadp"; export CADP ;;
esac
AC_MSG_CHECKING([for CADP])
if test x"$CADP" != x && test -f "$CADP/com/arch"; then
    AC_MSG_RESULT([$CADP])
    AC_CHECK_SIZEOF([void *])
    if test x"$ac_cv_sizeof_void_p" = x8; then
       AC_MSG_CHECKING([for 64 bit CADP architecture string])
       AC_SUBST(CADP_ARCH, ["$(CADP_BITS=64 $CADP/com/arch)"])
    else
        AC_MSG_CHECKING([for 32 bit CADP architecture string])
        AC_SUBST(CADP_ARCH, ["$(CADP_BITS=32 $CADP/com/arch)"])
    fi
    if test x"$CADP_ARCH" != x && \
       test x"$CADP_ARCH" != x"UNKNOWN ARCHITECTURE"; then
        AC_MSG_RESULT([$CADP_ARCH])
        AC_SUBST(CADP_LDFLAGS,  ["-L$CADP/bin.$CADP_ARCH"])
        AC_SUBST(CADP_CPPFLAGS, ["-I$CADP/incl"])
        acx_cadp=yes
    else
        AC_MSG_RESULT([unknown])
        acx_cadp=no
        CADP=
    fi
else
    AC_MSG_RESULT([no])
fi

if test x"$acx_cadp" = xyes; then
    $1
    :
else
{'fraction_non_alphanumeric': 0.16740800646987464, 'fraction_numerical': 0.008896077638495753, 'mean_word_length': 3.457657657657658, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '6836265', 'n_tokens_mistral': 1129, 'n_tokens_neox': 1041, 'n_words': 180}