wip
This commit is contained in:
83
configure
vendored
83
configure
vendored
@@ -640,7 +640,8 @@ build_os
|
||||
build_vendor
|
||||
build_cpu
|
||||
build
|
||||
DBUILDPACKAGE
|
||||
NODE
|
||||
YARN
|
||||
CP
|
||||
GO
|
||||
go
|
||||
@@ -2722,19 +2723,19 @@ if test -z "$CP"; then
|
||||
as_fn_error $? "Requested program cp not found" "$LINENO" 5
|
||||
fi
|
||||
|
||||
for ac_prog in dpkg-buildpackage true
|
||||
for ac_prog in yarn npm
|
||||
do
|
||||
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
||||
set dummy $ac_prog; 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_DBUILDPACKAGE+y}
|
||||
if test ${ac_cv_path_YARN+y}
|
||||
then :
|
||||
printf %s "(cached) " >&6
|
||||
else $as_nop
|
||||
case $DBUILDPACKAGE in
|
||||
case $YARN in
|
||||
[\\/]* | ?:[\\/]*)
|
||||
ac_cv_path_DBUILDPACKAGE="$DBUILDPACKAGE" # Let the user override the test with a path.
|
||||
ac_cv_path_YARN="$YARN" # Let the user override the test with a path.
|
||||
;;
|
||||
*)
|
||||
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
||||
@@ -2748,7 +2749,7 @@ do
|
||||
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_DBUILDPACKAGE="$as_dir$ac_word$ac_exec_ext"
|
||||
ac_cv_path_YARN="$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
|
||||
@@ -2759,19 +2760,76 @@ IFS=$as_save_IFS
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
DBUILDPACKAGE=$ac_cv_path_DBUILDPACKAGE
|
||||
if test -n "$DBUILDPACKAGE"; then
|
||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DBUILDPACKAGE" >&5
|
||||
printf "%s\n" "$DBUILDPACKAGE" >&6; }
|
||||
YARN=$ac_cv_path_YARN
|
||||
if test -n "$YARN"; then
|
||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $YARN" >&5
|
||||
printf "%s\n" "$YARN" >&6; }
|
||||
else
|
||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||
printf "%s\n" "no" >&6; }
|
||||
fi
|
||||
|
||||
|
||||
test -n "$DBUILDPACKAGE" && break
|
||||
test -n "$YARN" && break
|
||||
done
|
||||
|
||||
if test -z "$YARN"; then
|
||||
as_fn_error $? "Requested program yarn not found" "$LINENO" 5
|
||||
fi
|
||||
|
||||
for ac_prog in node
|
||||
do
|
||||
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
||||
set dummy $ac_prog; 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_NODE+y}
|
||||
then :
|
||||
printf %s "(cached) " >&6
|
||||
else $as_nop
|
||||
case $NODE in
|
||||
[\\/]* | ?:[\\/]*)
|
||||
ac_cv_path_NODE="$NODE" # 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_NODE="$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
|
||||
NODE=$ac_cv_path_NODE
|
||||
if test -n "$NODE"; then
|
||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NODE" >&5
|
||||
printf "%s\n" "$NODE" >&6; }
|
||||
else
|
||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||
printf "%s\n" "no" >&6; }
|
||||
fi
|
||||
|
||||
|
||||
test -n "$NODE" && break
|
||||
done
|
||||
|
||||
if test -z "$NODE"; then
|
||||
as_fn_error $? "Requested program node not found" "$LINENO" 5
|
||||
fi
|
||||
|
||||
|
||||
|
||||
@@ -3208,7 +3266,7 @@ fi
|
||||
srv_name="$PACKAGE"
|
||||
|
||||
|
||||
ac_config_files="$ac_config_files Makefile internal/config/path.go initrc/hamloggerd.service initrc/hamloggerd"
|
||||
ac_config_files="$ac_config_files Makefile internal/config/path.go initrc/hamloggerd.service initrc/hamloggerd front/Makefile"
|
||||
|
||||
cat >confcache <<\_ACEOF
|
||||
# This file is a shell script that caches the results of configure
|
||||
@@ -3958,6 +4016,7 @@ do
|
||||
"internal/config/path.go") CONFIG_FILES="$CONFIG_FILES internal/config/path.go" ;;
|
||||
"initrc/hamloggerd.service") CONFIG_FILES="$CONFIG_FILES initrc/hamloggerd.service" ;;
|
||||
"initrc/hamloggerd") CONFIG_FILES="$CONFIG_FILES initrc/hamloggerd" ;;
|
||||
"front/Makefile") CONFIG_FILES="$CONFIG_FILES front/Makefile" ;;
|
||||
|
||||
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user