<commit_before>dnl
dnl $Id$
dnl

PHP_ARG_WITH(libsmbclient,for libsmbclient support,
[  --with-libsmbclient[=DIR]       Include libsmbclient support])

PHP_ARG_WITH(libsmbclient-dir,if the location of libsmbclient install directory is defined,
[  --with-libsmbclient-dir=<DIR>   Define the location of the libsmbclient install directory], no, no)

if test "$PHP_LIBSMBCLIENT" != "no" -o "$PHP_LIBSMBCLIENT_DIR" != "no"; then
  PHP_NEW_EXTENSION(libsmbclient, libsmbclient.c, $ext_shared)
  PHP_SUBST(LIBSMBCLIENT_SHARED_LIBADD)
  
  if test "$PHP_LIBSMBCLIENT" != "yes" -a "$PHP_LIBSMBCLIENT" != "no"; then 
    if test -f $PHP_LIBSMBCLIENT/include/libsmbclient.h; then
      LIBSMBCLIENT_DIR=$PHP_LIBSMBCLIENT
      LIBSMBCLIENT_INCDIR=$LIBSMBCLIENT_DIR/include
    fi
  else 
    for i in /usr/local /usr $PHP_LIBSMBCLIENT_DIR; do
      if test -f $i/include/libsmbclient.h; then
        LIBSMBCLIENT_DIR=$i
        LIBSMBCLIENT_INCDIR=$i/include<commit_msg>typo fix<commit_after>dnl
dnl $Id$
dnl

PHP_ARG_WITH(libsmbclient,for libsmbclient support,
[  --with-libsmbclient[=DIR]       Include libsmbclient support])

PHP_ARG_WITH(libsmbclient-dir,if the location of libsmbclient install directory is defined,
[  --with-libsmbclient-dir=<DIR>   Define the location of the libsmbclient install directory], no, no)

if test "$PHP_LIBSMBCLIENT" != "no" -o "$PHP_LIBSMBCLIENT_DIR" != "no"; then
  PHP_NEW_EXTENSION(libsmbclient, smbclient_module.c, $ext_shared)
  PHP_SUBST(LIBSMBCLIENT_SHARED_LIBADD)
  
  if test "$PHP_LIBSMBCLIENT" != "yes" -a "$PHP_LIBSMBCLIENT" != "no"; then 
    if test -f $PHP_LIBSMBCLIENT/include/libsmbclient.h; then
      LIBSMBCLIENT_DIR=$PHP_LIBSMBCLIENT
      LIBSMBCLIENT_INCDIR=$LIBSMBCLIENT_DIR/include
    fi
  else 
    for i in /usr/local /usr $PHP_LIBSMBCLIENT_DIR; do
      if test -f $i/include/libsmbclient.h; then
        LIBSMBCLIENT_DIR=$i
        LIBSMBCLIENT_INCDIR=$i/include
{'fraction_non_alphanumeric': 0.10422094841063054, 'fraction_numerical': 0.0, 'mean_word_length': 4.454545454545454, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5337647', 'n_tokens_mistral': 744, 'n_tokens_neox': 741, 'n_words': 148}