This commit is contained in:
Rodney, Tiara 2025-05-17 20:22:48 +02:00 committed by Tiara Rodney
commit 4cbe50253a
No known key found for this signature in database
GPG key ID: 5F43FAB4FBE5B5EB
36 changed files with 4073 additions and 0 deletions

37
configure.ac Normal file
View file

@ -0,0 +1,37 @@
AC_INIT
AC_CHECK_PROGS([MAKE], [make], [no])
AS_IF([test "$MAKE" == "no"],
[AC_MSG_NOTICE([without GNU Make, you have to inspect 'Makefile' and deduce build targets yourself.])])
AC_CHECK_PROGS([GIT], [git], [no])
AS_IF([test "$GIT" == "no"],
[AC_MSG_ERROR([install Git, before continuing.])])
AC_CHECK_PROGS([PYTHON3], [python3], [no])
AS_IF([test "$PYTHON3" == "no"],
[AC_MSG_ERROR([install Python 3, before continuing.])])
AC_CHECK_PROGS([PYTHON3], [pipenv], [no])
# required in Makefile to ensure proper path resolution during preprocessing
# realpath is not available on macOS
AC_CHECK_PROGS([REALPATH], [realpath], [no])
AS_IF([test "$REALPATH" == "no"],
[AC_MSG_ERROR([set a persistent alias for 'realpath', before continuing, e.g.
alias='python3 -c "import pathlib,sys;print(pathlib.Path(sys.argv[[1]]).resolve())"'"
])])
sh -ex << 'EOF'
uname
git --version
python3 --version
python3 -m pip --version
python3 -m pipenv --version
EOF
AC_MSG_NOTICE([initializing pipenv...])
sh -exc 'python3 -m pipenv install -d -v --skip-lock'
AC_OUTPUT