+echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
+echo "configure:1195: checking whether ln -s works" >&5
+if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ rm -f conftestdata
+if ln -s X conftestdata 2>/dev/null
+then
+ rm -f conftestdata
+ ac_cv_prog_LN_S="ln -s"
+else
+ ac_cv_prog_LN_S=ln
+fi
+fi
+LN_S="$ac_cv_prog_LN_S"
+if test "$ac_cv_prog_LN_S" = "ln -s"; then
+ echo "$ac_t""yes" 1>&6
+else
+ echo "$ac_t""no" 1>&6
+fi
+
+
+if test "$enable_auto_documentation" = yes; then
+ # Extract the first word of "robodoc", so it can be a program name with args.
+set dummy robodoc; ac_word=$2
+echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+echo "configure:1220: checking for $ac_word" >&5
+if eval "test \"`echo '$''{'ac_cv_prog_ROBODOC'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ if test -n "$ROBODOC"; then
+ ac_cv_prog_ROBODOC="$ROBODOC" # Let the user override the test.
+else
+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
+ ac_dummy="$PATH"
+ for ac_dir in $ac_dummy; do
+ test -z "$ac_dir" && ac_dir=.
+ if test -f $ac_dir/$ac_word; then
+ ac_cv_prog_ROBODOC=""robodoc""
+ break
+ fi
+ done
+ IFS="$ac_save_ifs"
+ test -z "$ac_cv_prog_ROBODOC" && ac_cv_prog_ROBODOC=""""
+fi
+fi
+ROBODOC="$ac_cv_prog_ROBODOC"
+if test -n "$ROBODOC"; then
+ echo "$ac_t""$ROBODOC" 1>&6
+else
+ echo "$ac_t""no" 1>&6
+fi
+
+ if test "$ROBODOC" != "robodoc"; then
+ { echo "configure: error: need robodoc for auto documentation (IPD: module add robodoc)" 1>&2; exit 1; }
+ fi
+fi
+