@@ -1533,7 +1533,7 @@ Optional Packages:
15331533 --with-vim-name=NAME what to call the Vim executable
15341534 --with-ex-name=NAME what to call the Ex executable
15351535 --with-view-name=NAME what to call the View executable
1536- --with-global-runtime=DIR global runtime directory in 'runtimepath'
1536+ --with-global-runtime=DIR global runtime directory in 'runtimepath', comma-separated for multiple directories
15371537 --with-modified-by=NAME name of who modified a release version
15381538 --with-features=TYPE tiny, small, normal, big or huge (default: huge)
15391539 --with-compiledby=NAME name to show in :version message
@@ -4890,17 +4890,26 @@ $as_echo_n "checking --with-global-runtime argument... " >&6; }
48904890
48914891# Check whether --with-global-runtime was given.
48924892if test " ${with_global_runtime+set} " = set ; then :
4893- withval=$with_global_runtime ; { $as_echo " $as_me :${as_lineno-$LINENO } : result: $withval " >&5
4894- $as_echo " $withval " >&6 ; }; cat >> confdefs.h << _ACEOF
4895- #define RUNTIME_GLOBAL "$withval "
4896- _ACEOF
4897-
4893+ withval=$with_global_runtime ; RUNTIME_GLOBAL=" $withval " ; { $as_echo " $as_me :${as_lineno-$LINENO } : result: $withval " >&5
4894+ $as_echo " $withval " >&6 ; }
48984895else
48994896 { $as_echo " $as_me :${as_lineno-$LINENO } : result: no" >&5
49004897$as_echo " no" >&6 ; }
49014898fi
49024899
49034900
4901+ if test " X$RUNTIME_GLOBAL " ! = " X" ; then
4902+ RUNTIME_GLOBAL_AFTER=$( printf -- " $RUNTIME_GLOBAL \\ n" | $AWK -F, ' BEGIN { comma=0 } { for (i = NF; i > 0; i--) { if (comma) { printf ",%s/after", $i } else { printf "%s/after", $i; comma=1 } } } END { printf "\n" }' )
4903+ cat >> confdefs.h << _ACEOF
4904+ #define RUNTIME_GLOBAL "$RUNTIME_GLOBAL "
4905+ _ACEOF
4906+
4907+ cat >> confdefs.h << _ACEOF
4908+ #define RUNTIME_GLOBAL_AFTER "$RUNTIME_GLOBAL_AFTER "
4909+ _ACEOF
4910+
4911+ fi
4912+
49044913{ $as_echo " $as_me :${as_lineno-$LINENO } : checking --with-modified-by argument" >&5
49054914$as_echo_n " checking --with-modified-by argument... " >&6 ; }
49064915
0 commit comments