@@ -41,7 +41,7 @@ listterseoutput editor variantshortcut bashcompletiondir fishcompletiondir \
4141zshcompletiondir tcllinter tcllinteropts nagelfardatadir nagelfaraddons \
4242stickypurge uniquenameloaded abortonerror sourcecache logger loggeropts \
4343loggedevents conflictunload spideroutput spiderterseoutput spiderindepth \
44- emacsdatadir emacsaddons requirevia"
44+ emacsdatadir emacsaddons requirevia setpythonpath appendpythonpath "
4545libarglist=()
4646
4747# flags to know if argument has been specified on command-line
@@ -52,6 +52,8 @@ defloggeropts=1
5252prefix=/usr/local/Modules
5353setmanpath=y
5454appendmanpath=n
55+ setpythonpath=y
56+ appendpythonpath=y
5557setbinpath=y
5658appendbinpath=n
5759setmodulespath=n
@@ -237,6 +239,8 @@ Optional Features:
237239 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
238240 --enable-set-manpath set mandir to MANPATH in init scripts [yes]
239241 --enable-append-manpath append rather prepend mandir to MANPATH [no]
242+ --enable-set-pythonpath set initdir to PYTHONPATH in init scripts [yes]
243+ --enable-append-manpath append rather prepend initdir to PYTHONPATH [no]
240244 --enable-set-binpath set bindir to PATH in init scripts [yes]
241245 --enable-append-binpath append rather prepend bindir to PATH [no]
242246 --enable-modulespath, --enable-dotmodulespath
@@ -720,6 +724,12 @@ for arg in "$@"; do
720724 --enable-append-manpath* |--disable-append-manpath)
721725 # shellcheck disable=SC2034
722726 appendmanpath=$( get_feature_value " $arg " ) ;;
727+ --enable-set-pythonpath* |--disable-set-pythonpath)
728+ # shellcheck disable=SC2034
729+ setpythonpath=$( get_feature_value " $arg " ) ;;
730+ --enable-append-pythonpath* |--disable-append-manpath)
731+ # shellcheck disable=SC2034
732+ appendpythonpath=$( get_feature_value " $arg " ) ;;
723733 --enable-set-binpath* |--disable-set-binpath)
724734 # shellcheck disable=SC2034
725735 setbinpath=$( get_feature_value " $arg " ) ;;
0 commit comments