forked from aniani/vim
patch 7.4.1221
Problem: Including netbeans and channel support in small and tiny builds.
Build fails with some interfaces.
Solution: Only include these features in small build and above. Let
configure fail if trying to enable an interface that won't build.
This commit is contained in:
23
src/auto/configure
vendored
23
src/auto/configure
vendored
@@ -4858,6 +4858,10 @@ fi
|
|||||||
$as_echo "$enable_luainterp" >&6; }
|
$as_echo "$enable_luainterp" >&6; }
|
||||||
|
|
||||||
if test "$enable_luainterp" = "yes" -o "$enable_luainterp" = "dynamic"; then
|
if test "$enable_luainterp" = "yes" -o "$enable_luainterp" = "dynamic"; then
|
||||||
|
if test "x$features" = "xtiny" -o "x$features" = "xsmall"; then
|
||||||
|
as_fn_error $? "cannot use Lua with tiny or small features" "$LINENO" 5
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking --with-lua-prefix argument" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking --with-lua-prefix argument" >&5
|
||||||
@@ -5598,6 +5602,9 @@ fi
|
|||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_perlinterp" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_perlinterp" >&5
|
||||||
$as_echo "$enable_perlinterp" >&6; }
|
$as_echo "$enable_perlinterp" >&6; }
|
||||||
if test "$enable_perlinterp" = "yes" -o "$enable_perlinterp" = "dynamic"; then
|
if test "$enable_perlinterp" = "yes" -o "$enable_perlinterp" = "dynamic"; then
|
||||||
|
if test "x$features" = "xtiny" -o "x$features" = "xsmall"; then
|
||||||
|
as_fn_error $? "cannot use Perl with tiny or small features" "$LINENO" 5
|
||||||
|
fi
|
||||||
|
|
||||||
# Extract the first word of "perl", so it can be a program name with args.
|
# Extract the first word of "perl", so it can be a program name with args.
|
||||||
set dummy perl; ac_word=$2
|
set dummy perl; ac_word=$2
|
||||||
@@ -7235,8 +7242,14 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$enable_netbeans" = "yes"; then
|
if test "$enable_netbeans" = "yes"; then
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
if test "x$features" = "xtiny" -o "x$features" = "xsmall"; then
|
||||||
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot use NetBeans with tiny or small features" >&5
|
||||||
|
$as_echo "cannot use NetBeans with tiny or small features" >&6; }
|
||||||
|
enable_netbeans="no"
|
||||||
|
else
|
||||||
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||||
$as_echo "no" >&6; }
|
$as_echo "no" >&6; }
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||||
$as_echo "yes" >&6; }
|
$as_echo "yes" >&6; }
|
||||||
@@ -7252,8 +7265,14 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$enable_channel" = "yes"; then
|
if test "$enable_channel" = "yes"; then
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
if test "x$features" = "xtiny" -o "x$features" = "xsmall"; then
|
||||||
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot use channels with tiny or small features" >&5
|
||||||
|
$as_echo "cannot use channels with tiny or small features" >&6; }
|
||||||
|
enable_channel="no"
|
||||||
|
else
|
||||||
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||||
$as_echo "no" >&6; }
|
$as_echo "no" >&6; }
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
if test "$enable_netbeans" = "yes"; then
|
if test "$enable_netbeans" = "yes"; then
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, netbeans also disabled" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, netbeans also disabled" >&5
|
||||||
|
|||||||
@@ -490,6 +490,10 @@ AC_ARG_ENABLE(luainterp,
|
|||||||
AC_MSG_RESULT($enable_luainterp)
|
AC_MSG_RESULT($enable_luainterp)
|
||||||
|
|
||||||
if test "$enable_luainterp" = "yes" -o "$enable_luainterp" = "dynamic"; then
|
if test "$enable_luainterp" = "yes" -o "$enable_luainterp" = "dynamic"; then
|
||||||
|
if test "x$features" = "xtiny" -o "x$features" = "xsmall"; then
|
||||||
|
AC_MSG_ERROR([cannot use Lua with tiny or small features])
|
||||||
|
fi
|
||||||
|
|
||||||
dnl -- find the lua executable
|
dnl -- find the lua executable
|
||||||
AC_SUBST(vi_cv_path_lua)
|
AC_SUBST(vi_cv_path_lua)
|
||||||
|
|
||||||
@@ -950,6 +954,9 @@ AC_ARG_ENABLE(perlinterp,
|
|||||||
[enable_perlinterp="no"])
|
[enable_perlinterp="no"])
|
||||||
AC_MSG_RESULT($enable_perlinterp)
|
AC_MSG_RESULT($enable_perlinterp)
|
||||||
if test "$enable_perlinterp" = "yes" -o "$enable_perlinterp" = "dynamic"; then
|
if test "$enable_perlinterp" = "yes" -o "$enable_perlinterp" = "dynamic"; then
|
||||||
|
if test "x$features" = "xtiny" -o "x$features" = "xsmall"; then
|
||||||
|
AC_MSG_ERROR([cannot use Perl with tiny or small features])
|
||||||
|
fi
|
||||||
AC_SUBST(vi_cv_path_perl)
|
AC_SUBST(vi_cv_path_perl)
|
||||||
AC_PATH_PROG(vi_cv_path_perl, perl)
|
AC_PATH_PROG(vi_cv_path_perl, perl)
|
||||||
if test "X$vi_cv_path_perl" != "X"; then
|
if test "X$vi_cv_path_perl" != "X"; then
|
||||||
@@ -1937,7 +1944,12 @@ AC_ARG_ENABLE(netbeans,
|
|||||||
[ --disable-netbeans Disable NetBeans integration support.],
|
[ --disable-netbeans Disable NetBeans integration support.],
|
||||||
, [enable_netbeans="yes"])
|
, [enable_netbeans="yes"])
|
||||||
if test "$enable_netbeans" = "yes"; then
|
if test "$enable_netbeans" = "yes"; then
|
||||||
AC_MSG_RESULT(no)
|
if test "x$features" = "xtiny" -o "x$features" = "xsmall"; then
|
||||||
|
AC_MSG_RESULT([cannot use NetBeans with tiny or small features])
|
||||||
|
enable_netbeans="no"
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT(no)
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
AC_MSG_RESULT(yes)
|
AC_MSG_RESULT(yes)
|
||||||
fi
|
fi
|
||||||
@@ -1947,7 +1959,12 @@ AC_ARG_ENABLE(channel,
|
|||||||
[ --disable-channel Disable process communication support.],
|
[ --disable-channel Disable process communication support.],
|
||||||
, [enable_channel="yes"])
|
, [enable_channel="yes"])
|
||||||
if test "$enable_channel" = "yes"; then
|
if test "$enable_channel" = "yes"; then
|
||||||
AC_MSG_RESULT(no)
|
if test "x$features" = "xtiny" -o "x$features" = "xsmall"; then
|
||||||
|
AC_MSG_RESULT([cannot use channels with tiny or small features])
|
||||||
|
enable_channel="no"
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT(no)
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
if test "$enable_netbeans" = "yes"; then
|
if test "$enable_netbeans" = "yes"; then
|
||||||
AC_MSG_RESULT([yes, netbeans also disabled])
|
AC_MSG_RESULT([yes, netbeans also disabled])
|
||||||
|
|||||||
@@ -746,6 +746,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1221,
|
||||||
/**/
|
/**/
|
||||||
1220,
|
1220,
|
||||||
/**/
|
/**/
|
||||||
|
|||||||
Reference in New Issue
Block a user