Mercurial > vim
comparison src/auto/configure @ 30645:101f08b49ed3 v9.0.0657
patch 9.0.0657: too many #ifdefs
Commit: https://github.com/vim/vim/commit/7904fa420eb577274c4c3711295240100167d495
Author: Martin Tournoij <martin@arp242.net>
Date: Tue Oct 4 16:28:45 2022 +0100
patch 9.0.0657: too many #ifdefs
Problem: Too many #ifdefs.
Solution: Graduate the +cmdwin feature. Now the tiny and small builds are
equal, drop the small build. (Martin Tournoij, closes #11268)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 04 Oct 2022 17:30:06 +0200 |
parents | 425b686c5244 |
children | 2295ee9c025d |
comparison
equal
deleted
inserted
replaced
30644:0c102a723b9a | 30645:101f08b49ed3 |
---|---|
1521 --with-vim-name=NAME what to call the Vim executable | 1521 --with-vim-name=NAME what to call the Vim executable |
1522 --with-ex-name=NAME what to call the Ex executable | 1522 --with-ex-name=NAME what to call the Ex executable |
1523 --with-view-name=NAME what to call the View executable | 1523 --with-view-name=NAME what to call the View executable |
1524 --with-global-runtime=DIR global runtime directory in 'runtimepath', comma-separated for multiple directories | 1524 --with-global-runtime=DIR global runtime directory in 'runtimepath', comma-separated for multiple directories |
1525 --with-modified-by=NAME name of who modified a release version | 1525 --with-modified-by=NAME name of who modified a release version |
1526 --with-features=TYPE tiny, small, normal, big or huge (default: huge) | 1526 --with-features=TYPE tiny, normal, big or huge (default: huge) |
1527 --with-compiledby=NAME name to show in :version message | 1527 --with-compiledby=NAME name to show in :version message |
1528 --with-lua-prefix=PFX Prefix where Lua is installed. | 1528 --with-lua-prefix=PFX Prefix where Lua is installed. |
1529 --with-luajit Link with LuaJIT instead of Lua. | 1529 --with-luajit Link with LuaJIT instead of Lua. |
1530 --with-plthome=PLTHOME Use PLTHOME. | 1530 --with-plthome=PLTHOME Use PLTHOME. |
1531 --with-python-command=NAME name of the Python 2 command (default: python2 or python) | 1531 --with-python-command=NAME name of the Python 2 command (default: python2 or python) |
5217 features="huge"; { $as_echo "$as_me:${as_lineno-$LINENO}: result: Defaulting to huge" >&5 | 5217 features="huge"; { $as_echo "$as_me:${as_lineno-$LINENO}: result: Defaulting to huge" >&5 |
5218 $as_echo "Defaulting to huge" >&6; } | 5218 $as_echo "Defaulting to huge" >&6; } |
5219 fi | 5219 fi |
5220 | 5220 |
5221 | 5221 |
5222 case "$features" in | |
5223 small) features="tiny" ;; | |
5224 esac | |
5225 | |
5222 dovimdiff="" | 5226 dovimdiff="" |
5223 dogvimdiff="" | 5227 dogvimdiff="" |
5224 case "$features" in | 5228 case "$features" in |
5225 tiny) $as_echo "#define FEAT_TINY 1" >>confdefs.h | 5229 tiny) $as_echo "#define FEAT_TINY 1" >>confdefs.h |
5226 ;; | |
5227 small) $as_echo "#define FEAT_SMALL 1" >>confdefs.h | |
5228 ;; | 5230 ;; |
5229 normal) $as_echo "#define FEAT_NORMAL 1" >>confdefs.h | 5231 normal) $as_echo "#define FEAT_NORMAL 1" >>confdefs.h |
5230 dovimdiff="installvimdiff"; | 5232 dovimdiff="installvimdiff"; |
5231 dogvimdiff="installgvimdiff" ;; | 5233 dogvimdiff="installgvimdiff" ;; |
5232 big) $as_echo "#define FEAT_BIG 1" >>confdefs.h | 5234 big) $as_echo "#define FEAT_BIG 1" >>confdefs.h |
5240 esac | 5242 esac |
5241 | 5243 |
5242 | 5244 |
5243 | 5245 |
5244 | 5246 |
5245 if test "x$features" = "xtiny" -o "x$features" = "xsmall"; then | 5247 if test "x$features" = "xtiny"; then |
5246 has_eval=no | 5248 has_eval=no |
5247 else | 5249 else |
5248 has_eval=yes | 5250 has_eval=yes |
5249 fi | 5251 fi |
5250 | 5252 |
5298 $as_echo "yes" >&6; } | 5300 $as_echo "yes" >&6; } |
5299 fi | 5301 fi |
5300 | 5302 |
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking diff feature" >&5 | 5303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking diff feature" >&5 |
5302 $as_echo_n "checking diff feature... " >&6; } | 5304 $as_echo_n "checking diff feature... " >&6; } |
5303 if test "x$features" = "xtiny" -o "x$features" = "xsmall"; then | 5305 if test "x$features" = "xtiny"; then |
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled in $features version" >&5 | 5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled in $features version" >&5 |
5305 $as_echo "disabled in $features version" >&6; } | 5307 $as_echo "disabled in $features version" >&6; } |
5306 else | 5308 else |
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: enabled" >&5 | 5309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: enabled" >&5 |
5308 $as_echo "enabled" >&6; } | 5310 $as_echo "enabled" >&6; } |
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_luainterp" >&5 | 5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_luainterp" >&5 |
5325 $as_echo "$enable_luainterp" >&6; } | 5327 $as_echo "$enable_luainterp" >&6; } |
5326 | 5328 |
5327 if test "$enable_luainterp" = "yes" -o "$enable_luainterp" = "dynamic"; then | 5329 if test "$enable_luainterp" = "yes" -o "$enable_luainterp" = "dynamic"; then |
5328 if test "$has_eval" = "no"; then | 5330 if test "$has_eval" = "no"; then |
5329 as_fn_error $? "cannot use Lua with tiny or small features" "$LINENO" 5 | 5331 as_fn_error $? "cannot use Lua with tiny features" "$LINENO" 5 |
5330 fi | 5332 fi |
5331 | 5333 |
5332 | 5334 |
5333 | 5335 |
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking --with-lua-prefix argument" >&5 | 5336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking --with-lua-prefix argument" >&5 |
6094 | 6096 |
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_perlinterp" >&5 | 6097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_perlinterp" >&5 |
6096 $as_echo "$enable_perlinterp" >&6; } | 6098 $as_echo "$enable_perlinterp" >&6; } |
6097 if test "$enable_perlinterp" = "yes" -o "$enable_perlinterp" = "dynamic"; then | 6099 if test "$enable_perlinterp" = "yes" -o "$enable_perlinterp" = "dynamic"; then |
6098 if test "$has_eval" = "no"; then | 6100 if test "$has_eval" = "no"; then |
6099 as_fn_error $? "cannot use Perl with tiny or small features" "$LINENO" 5 | 6101 as_fn_error $? "cannot use Perl with tiny features" "$LINENO" 5 |
6100 fi | 6102 fi |
6101 | 6103 |
6102 # Extract the first word of "perl", so it can be a program name with args. | 6104 # Extract the first word of "perl", so it can be a program name with args. |
6103 set dummy perl; ac_word=$2 | 6105 set dummy perl; ac_word=$2 |
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 6106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6299 | 6301 |
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_pythoninterp" >&5 | 6302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_pythoninterp" >&5 |
6301 $as_echo "$enable_pythoninterp" >&6; } | 6303 $as_echo "$enable_pythoninterp" >&6; } |
6302 if test "$enable_pythoninterp" = "yes" -o "$enable_pythoninterp" = "dynamic"; then | 6304 if test "$enable_pythoninterp" = "yes" -o "$enable_pythoninterp" = "dynamic"; then |
6303 if test "$has_eval" = "no"; then | 6305 if test "$has_eval" = "no"; then |
6304 as_fn_error $? "cannot use Python with tiny or small features" "$LINENO" 5 | 6306 as_fn_error $? "cannot use Python with tiny features" "$LINENO" 5 |
6305 fi | 6307 fi |
6306 | 6308 |
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking --with-python-command argument" >&5 | 6309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking --with-python-command argument" >&5 |
6308 $as_echo_n "checking --with-python-command argument... " >&6; } | 6310 $as_echo_n "checking --with-python-command argument... " >&6; } |
6309 | 6311 |
6650 | 6652 |
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_python3interp" >&5 | 6653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_python3interp" >&5 |
6652 $as_echo "$enable_python3interp" >&6; } | 6654 $as_echo "$enable_python3interp" >&6; } |
6653 if test "$enable_python3interp" = "yes" -o "$enable_python3interp" = "dynamic"; then | 6655 if test "$enable_python3interp" = "yes" -o "$enable_python3interp" = "dynamic"; then |
6654 if test "$has_eval" = "no"; then | 6656 if test "$has_eval" = "no"; then |
6655 as_fn_error $? "cannot use Python with tiny or small features" "$LINENO" 5 | 6657 as_fn_error $? "cannot use Python with tiny features" "$LINENO" 5 |
6656 fi | 6658 fi |
6657 | 6659 |
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking --with-python3-command argument" >&5 | 6660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking --with-python3-command argument" >&5 |
6659 $as_echo_n "checking --with-python3-command argument... " >&6; } | 6661 $as_echo_n "checking --with-python3-command argument... " >&6; } |
6660 | 6662 |
7578 | 7580 |
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_rubyinterp" >&5 | 7581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_rubyinterp" >&5 |
7580 $as_echo "$enable_rubyinterp" >&6; } | 7582 $as_echo "$enable_rubyinterp" >&6; } |
7581 if test "$enable_rubyinterp" = "yes" -o "$enable_rubyinterp" = "dynamic"; then | 7583 if test "$enable_rubyinterp" = "yes" -o "$enable_rubyinterp" = "dynamic"; then |
7582 if test "$has_eval" = "no"; then | 7584 if test "$has_eval" = "no"; then |
7583 as_fn_error $? "cannot use Ruby with tiny or small features" "$LINENO" 5 | 7585 as_fn_error $? "cannot use Ruby with tiny features" "$LINENO" 5 |
7584 fi | 7586 fi |
7585 | 7587 |
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking --with-ruby-command argument" >&5 | 7588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking --with-ruby-command argument" >&5 |
7587 $as_echo_n "checking --with-ruby-command argument... " >&6; } | 7589 $as_echo_n "checking --with-ruby-command argument... " >&6; } |
7588 | 7590 |
7756 enable_netbeans="yes" | 7758 enable_netbeans="yes" |
7757 fi | 7759 fi |
7758 | 7760 |
7759 if test "$enable_netbeans" = "yes"; then | 7761 if test "$enable_netbeans" = "yes"; then |
7760 if test "$has_eval" = "no"; then | 7762 if test "$has_eval" = "no"; then |
7761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot use NetBeans with tiny or small features" >&5 | 7763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot use NetBeans with tiny features" >&5 |
7762 $as_echo "cannot use NetBeans with tiny or small features" >&6; } | 7764 $as_echo "cannot use NetBeans with tiny features" >&6; } |
7763 enable_netbeans="no" | 7765 enable_netbeans="no" |
7764 else | 7766 else |
7765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 7767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7766 $as_echo "no" >&6; } | 7768 $as_echo "no" >&6; } |
7767 fi | 7769 fi |
7779 enable_channel="yes" | 7781 enable_channel="yes" |
7780 fi | 7782 fi |
7781 | 7783 |
7782 if test "$enable_channel" = "yes"; then | 7784 if test "$enable_channel" = "yes"; then |
7783 if test "$has_eval" = "no"; then | 7785 if test "$has_eval" = "no"; then |
7784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot use channels with tiny or small features" >&5 | 7786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot use channels with tiny features" >&5 |
7785 $as_echo "cannot use channels with tiny or small features" >&6; } | 7787 $as_echo "cannot use channels with tiny features" >&6; } |
7786 enable_channel="no" | 7788 enable_channel="no" |
7787 else | 7789 else |
7788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 7790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7789 $as_echo "no" >&6; } | 7791 $as_echo "no" >&6; } |
7790 fi | 7792 fi |
8083 enable_terminal="auto" | 8085 enable_terminal="auto" |
8084 fi | 8086 fi |
8085 | 8087 |
8086 if test "$enable_terminal" = "yes" || test "$enable_terminal" = "auto" -a "x$features" = "xhuge" ; then | 8088 if test "$enable_terminal" = "yes" || test "$enable_terminal" = "auto" -a "x$features" = "xhuge" ; then |
8087 if test "$has_eval" = "no"; then | 8089 if test "$has_eval" = "no"; then |
8088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot use terminal emulator with tiny or small features" >&5 | 8090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot use terminal emulator with tiny features" >&5 |
8089 $as_echo "cannot use terminal emulator with tiny or small features" >&6; } | 8091 $as_echo "cannot use terminal emulator with tiny features" >&6; } |
8090 enable_terminal="no" | 8092 enable_terminal="no" |
8091 else | 8093 else |
8092 if test "$enable_terminal" = "auto"; then | 8094 if test "$enable_terminal" = "auto"; then |
8093 enable_terminal="yes" | 8095 enable_terminal="yes" |
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: defaulting to yes" >&5 | 8096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: defaulting to yes" >&5 |
12890 $as_echo "Defaulting to no" >&6; } | 12892 $as_echo "Defaulting to no" >&6; } |
12891 enable_canberra="no" | 12893 enable_canberra="no" |
12892 fi | 12894 fi |
12893 else | 12895 else |
12894 if test "$enable_canberra" = "yes" -a "$has_eval" = "no"; then | 12896 if test "$enable_canberra" = "yes" -a "$has_eval" = "no"; then |
12895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot use sound with tiny or small features" >&5 | 12897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot use sound with tiny features" >&5 |
12896 $as_echo "cannot use sound with tiny or small features" >&6; } | 12898 $as_echo "cannot use sound with tiny features" >&6; } |
12897 enable_canberra="no" | 12899 enable_canberra="no" |
12898 else | 12900 else |
12899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_canberra" >&5 | 12901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_canberra" >&5 |
12900 $as_echo "$enable_canberra" >&6; } | 12902 $as_echo "$enable_canberra" >&6; } |
12901 fi | 12903 fi |
14719 conftest$ac_exeext conftest.$ac_ext | 14721 conftest$ac_exeext conftest.$ac_ext |
14720 else | 14722 else |
14721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: msgfmt not found - disabled" >&5 | 14723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: msgfmt not found - disabled" >&5 |
14722 $as_echo "msgfmt not found - disabled" >&6; }; | 14724 $as_echo "msgfmt not found - disabled" >&6; }; |
14723 fi | 14725 fi |
14724 if test $have_gettext = "yes" -a "x$features" != "xtiny" -a "x$features" != "xsmall"; then | 14726 if test $have_gettext = "yes" -a "x$features" != "xtiny"; then |
14725 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h | 14727 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h |
14726 | 14728 |
14727 MAKEMO=yes | 14729 MAKEMO=yes |
14728 | 14730 |
14729 for ac_func in bind_textdomain_codeset | 14731 for ac_func in bind_textdomain_codeset |