This commit is contained in:
Tiara Rodney 2025-05-25 21:09:56 +02:00
parent a6979d54bd
commit 9632c5a54a
No known key found for this signature in database
GPG key ID: 5F43FAB4FBE5B5EB
9 changed files with 355 additions and 19 deletions

120
configure vendored
View file

@ -608,8 +608,10 @@ PACKAGE_URL=''
ac_subst_vars='LTLIBOBJS
LIBOBJS
REALPATH
PIPENV
PYTHON3
GIT
M4
MAKE
target_alias
host_alias
@ -1766,6 +1768,61 @@ then :
printf "%s\n" "$as_me: without GNU Make, you have to inspect 'Makefile' and deduce build targets yourself." >&6;}
fi
for ac_prog in m4
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_prog_M4+y}
then :
printf %s "(cached) " >&6
else case e in #(
e) if test -n "$M4"; then
ac_cv_prog_M4="$M4" # Let the user override the test.
else
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_prog_M4="$ac_prog"
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
fi ;;
esac
fi
M4=$ac_cv_prog_M4
if test -n "$M4"; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $M4" >&5
printf "%s\n" "$M4" >&6; }
else
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
fi
test -n "$M4" && break
done
test -n "$M4" || M4="no"
if test "$M4" == "no"
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: without GNU M4, you will be unable to generate bitbucket-pipelines.yml." >&5
printf "%s\n" "$as_me: without GNU M4, you will be unable to generate bitbucket-pipelines.yml." >&6;}
fi
for ac_prog in git
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
@ -1880,12 +1937,12 @@ do
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_prog_PYTHON3+y}
if test ${ac_cv_prog_PIPENV+y}
then :
printf %s "(cached) " >&6
else case e in #(
e) if test -n "$PYTHON3"; then
ac_cv_prog_PYTHON3="$PYTHON3" # Let the user override the test.
e) if test -n "$PIPENV"; then
ac_cv_prog_PIPENV="$PIPENV" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
@ -1898,7 +1955,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_prog_PYTHON3="$ac_prog"
ac_cv_prog_PIPENV="$ac_prog"
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
break 2
fi
@ -1909,20 +1966,34 @@ IFS=$as_save_IFS
fi ;;
esac
fi
PYTHON3=$ac_cv_prog_PYTHON3
if test -n "$PYTHON3"; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON3" >&5
printf "%s\n" "$PYTHON3" >&6; }
PIPENV=$ac_cv_prog_PIPENV
if test -n "$PIPENV"; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PIPENV" >&5
printf "%s\n" "$PIPENV" >&6; }
else
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
fi
test -n "$PYTHON3" && break
test -n "$PIPENV" && break
done
test -n "$PYTHON3" || PYTHON3="no"
test -n "$PIPENV" || PIPENV="no"
if test "$PIPENV" == "no"
then :
as_fn_error $? "install pipenv (pip) package, before continuing.
Alternatively bootstrap a venv:
python3 -m venv --system-site-packages .venv
.venv/bin/python3 -m pip install pipenv
Then execute this script through pipenv:
.venv/bin/python -m pipenv run sh ./configure
" "$LINENO" 5
fi
# required in Makefile to ensure proper path resolution during preprocessing
# realpath is not available on macOS
@ -1983,6 +2054,35 @@ alias='python3 -c \"import pathlib,sys;print(pathlib.Path(sys.argv[1]).resolve()
" "$LINENO" 5
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TWINE_PASSWORD" >&5
printf %s "checking for TWINE_PASSWORD... " >&6; }
if test -z "$TWINE_PASSWORD"; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING:
TWINE_PASSWORD must be set to an API token of a PyPI account.
" >&5
printf "%s\n" "$as_me: WARNING:
TWINE_PASSWORD must be set to an API token of a PyPI account.
" >&2;}
else
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BITBUCKET_ACCESS_TOKEN" >&5
printf %s "checking for BITBUCKET_ACCESS_TOKEN... " >&6; }
if test -z "$BITBUCKET_ACCESS_TOKEN"; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: BITBUCKET_ACCESS_TOKEN not set" >&5
printf "%s\n" "$as_me: WARNING: BITBUCKET_ACCESS_TOKEN not set" >&2;}
else
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
fi
sh -ex << 'EOF'
uname
git --version