CLI pipe save function
This commit is contained in:
parent
f9faf1039a
commit
e55e05353f
6 changed files with 118 additions and 5 deletions
49
configure
vendored
49
configure
vendored
|
|
@ -651,6 +651,7 @@ LIBOBJS
|
|||
CLICON_GROUP
|
||||
CLICON_USER
|
||||
CLIGEN_DIR
|
||||
CAT_BIN
|
||||
WC_BIN
|
||||
TAIL_BIN
|
||||
GREP
|
||||
|
|
@ -5904,6 +5905,54 @@ fi
|
|||
|
||||
printf "%s\n" "#define WC_BIN \"$WC_BIN\"" >>confdefs.h
|
||||
|
||||
# Extract the first word of "cat", so it can be a program name with args.
|
||||
set dummy cat; ac_word=$2
|
||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
||||
printf %s "checking for $ac_word... " >&6; }
|
||||
if test ${ac_cv_path_CAT_BIN+y}
|
||||
then :
|
||||
printf %s "(cached) " >&6
|
||||
else $as_nop
|
||||
case $CAT_BIN in
|
||||
[\\/]* | ?:[\\/]*)
|
||||
ac_cv_path_CAT_BIN="$CAT_BIN" # 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
|
||||
case $as_dir in #(((
|
||||
'') as_dir=./ ;;
|
||||
*/) ;;
|
||||
*) as_dir=$as_dir/ ;;
|
||||
esac
|
||||
for ac_exec_ext in '' $ac_executable_extensions; do
|
||||
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
||||
ac_cv_path_CAT_BIN="$as_dir$ac_word$ac_exec_ext"
|
||||
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
||||
break 2
|
||||
fi
|
||||
done
|
||||
done
|
||||
IFS=$as_save_IFS
|
||||
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
CAT_BIN=$ac_cv_path_CAT_BIN
|
||||
if test -n "$CAT_BIN"; then
|
||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CAT_BIN" >&5
|
||||
printf "%s\n" "$CAT_BIN" >&6; }
|
||||
else
|
||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||
printf "%s\n" "no" >&6; }
|
||||
fi
|
||||
|
||||
|
||||
|
||||
printf "%s\n" "#define CAT_BIN \"$CAT_BIN\"" >>confdefs.h
|
||||
|
||||
|
||||
# Get "bison" from bison -y or other string
|
||||
if test "$YACC" = "${YACC##bison}" ; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue