-# --disable-docs
-# Check whether --enable-docs was given.
-if test "${enable_docs+set}" = set; then :
- enableval=$enable_docs;
-else
- enable_docs=yes
-fi
-
-if test x$enable_docs = xyes; then
- for ac_prog in c2man
-do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_C2MAN+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$C2MAN"; then
- ac_cv_prog_C2MAN="$C2MAN" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_C2MAN="$ac_prog"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-C2MAN=$ac_cv_prog_C2MAN
-if test -n "$C2MAN"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $C2MAN" >&5
-$as_echo "$C2MAN" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- test -n "$C2MAN" && break
-done
-
- if test -z "$C2MAN"; then
- as_fn_error $? "c2man is required to build documentation" "$LINENO" 5
- fi
-fi
- if test -n "$C2MAN"; then
- FRIBIDI_ENABLE_DOC_TRUE=
- FRIBIDI_ENABLE_DOC_FALSE='#'
-else
- FRIBIDI_ENABLE_DOC_TRUE='#'
- FRIBIDI_ENABLE_DOC_FALSE=
-fi
-
-