-
-
- for ac_prog in perl5 perl
-do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_path_SYSCONFTOOL_PERL+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- case $SYSCONFTOOL_PERL in
- [\\/]* | ?:[\\/]*)
- ac_cv_path_SYSCONFTOOL_PERL="$SYSCONFTOOL_PERL" # Let the user override the test with a path.
- ;;
- *)
- 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_path_SYSCONFTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-fi
-SYSCONFTOOL_PERL=$ac_cv_path_SYSCONFTOOL_PERL
-if test -n "$SYSCONFTOOL_PERL"; then
- { echo "$as_me:$LINENO: result: $SYSCONFTOOL_PERL" >&5
-echo "${ECHO_T}$SYSCONFTOOL_PERL" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
- test -n "$SYSCONFTOOL_PERL" && break
-done
-test -n "$SYSCONFTOOL_PERL" || SYSCONFTOOL_PERL="perl"
-
-
- if test "$SYSCONFTOOL_PERL" = "perl"
- then
- { { echo "$as_me:$LINENO: error: perl not found - please install perl" >&5
-echo "$as_me: error: perl not found - please install perl" >&2;}
- { (exit 1); exit 1; }; }
- fi
-
- { echo "$as_me:$LINENO: checking for sysconftool..." >&5
-echo $ECHO_N "checking for sysconftool...... $ECHO_C" >&6; }
- SYSCONFTOOL=""
- for sysconf_dir in $ac_aux_dir . .. ../..
- do
- if test -f $srcdir/$sysconf_dir/sysconftool
- then
- SYSCONFTOOL=$srcdir/$sysconf_dir/sysconftool
- break
- fi
- done
-
- if test "$SYSCONFTOOL" = ""
- then
- { { echo "$as_me:$LINENO: error: sysconftool missing - not in the package" >&5
-echo "$as_me: error: sysconftool missing - not in the package" >&2;}
- { (exit 1); exit 1; }; }
- fi
-
- { echo "$as_me:$LINENO: result: $SYSCONFTOOL" >&5
-echo "${ECHO_T}$SYSCONFTOOL" >&6; }
- SYSCONFTOOL="$SYSCONFTOOL_PERL $SYSCONFTOOL"
-
-
-