@@ -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=n
5557setbinpath=y
5658appendbinpath=n
5759setmodulespath=n
@@ -237,6 +239,9 @@ 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-pythonpath
244+ append rather prepend initdir to PYTHONPATH [no]
240245 --enable-set-binpath set bindir to PATH in init scripts [yes]
241246 --enable-append-binpath append rather prepend bindir to PATH [no]
242247 --enable-modulespath, --enable-dotmodulespath
@@ -720,6 +725,12 @@ for arg in "$@"; do
720725 --enable-append-manpath* |--disable-append-manpath)
721726 # shellcheck disable=SC2034
722727 appendmanpath=$( get_feature_value " $arg " ) ;;
728+ --enable-set-pythonpath* |--disable-set-pythonpath)
729+ # shellcheck disable=SC2034
730+ setpythonpath=$( get_feature_value " $arg " ) ;;
731+ --enable-append-pythonpath* |--disable-append-pythonpath)
732+ # shellcheck disable=SC2034
733+ appendpythonpath=$( get_feature_value " $arg " ) ;;
723734 --enable-set-binpath* |--disable-set-binpath)
724735 # shellcheck disable=SC2034
725736 setbinpath=$( get_feature_value " $arg " ) ;;
0 commit comments