Mercurial > vim
comparison src/auto/configure @ 3222:6cc788692b2e v7.3.381
updated for version 7.3.381
Problem: Configure silently skips interfaces that won't work.
Solution: Add the --enable-fail_if_missing argument. (Shlomi Fish)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 14 Dec 2011 20:51:25 +0100 |
parents | a7517e84d9b8 |
children | 81201fb337a5 |
comparison
equal
deleted
inserted
replaced
3221:085b8bef0868 | 3222:6cc788692b2e |
---|---|
739 PATH_SEPARATOR | 739 PATH_SEPARATOR |
740 SHELL' | 740 SHELL' |
741 ac_subst_files='' | 741 ac_subst_files='' |
742 ac_user_opts=' | 742 ac_user_opts=' |
743 enable_option_checking | 743 enable_option_checking |
744 enable_fail_if_missing | |
744 enable_darwin | 745 enable_darwin |
745 with_mac_arch | 746 with_mac_arch |
746 with_developer_dir | 747 with_developer_dir |
747 with_local_dir | 748 with_local_dir |
748 with_vim_name | 749 with_vim_name |
1416 | 1417 |
1417 Optional Features: | 1418 Optional Features: |
1418 --disable-option-checking ignore unrecognized --enable/--with options | 1419 --disable-option-checking ignore unrecognized --enable/--with options |
1419 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | 1420 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1420 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | 1421 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1422 --enable-fail-if-missing Fail if dependencies on additional features | |
1423 specified on the command line are missing. | |
1421 --disable-darwin Disable Darwin (Mac OS X) support. | 1424 --disable-darwin Disable Darwin (Mac OS X) support. |
1422 --disable-selinux Don't check for SELinux support. | 1425 --disable-selinux Don't check for SELinux support. |
1423 --disable-xsmp Disable XSMP session management | 1426 --disable-xsmp Disable XSMP session management |
1424 --disable-xsmp-interact Disable XSMP interaction | 1427 --disable-xsmp-interact Disable XSMP interaction |
1425 --enable-luainterp=OPTS Include Lua interpreter. default=no OPTS=no/yes/dynamic | 1428 --enable-luainterp=OPTS Include Lua interpreter. default=no OPTS=no/yes/dynamic |
3947 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h | 3950 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h |
3948 | 3951 |
3949 fi | 3952 fi |
3950 | 3953 |
3951 | 3954 |
3955 | |
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking --enable-fail-if-missing argument" >&5 | |
3957 $as_echo_n "checking --enable-fail-if-missing argument... " >&6; } | |
3958 # Check whether --enable-fail_if_missing was given. | |
3959 if test "${enable_fail_if_missing+set}" = set; then : | |
3960 enableval=$enable_fail_if_missing; fail_if_missing="yes" | |
3961 else | |
3962 fail_if_missing="no" | |
3963 fi | |
3964 | |
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fail_if_missing" >&5 | |
3966 $as_echo "$fail_if_missing" >&6; } | |
3967 | |
3952 if test -z "$CFLAGS"; then | 3968 if test -z "$CFLAGS"; then |
3953 CFLAGS="-O" | 3969 CFLAGS="-O" |
3954 test "$GCC" = yes && CFLAGS="-O2 -fno-strength-reduce -Wall" | 3970 test "$GCC" = yes && CFLAGS="-O2 -fno-strength-reduce -Wall" |
3955 fi | 3971 fi |
3956 if test "$GCC" = yes; then | 3972 if test "$GCC" = yes; then |
4724 $as_echo "#define DYNAMIC_LUA 1" >>confdefs.h | 4740 $as_echo "#define DYNAMIC_LUA 1" >>confdefs.h |
4725 | 4741 |
4726 LUA_LIBS="" | 4742 LUA_LIBS="" |
4727 LUA_CFLAGS="-DDYNAMIC_LUA_DLL=\\\"liblua${vi_cv_version_lua}.so$LUA_SONAME\\\" $LUA_CFLAGS" | 4743 LUA_CFLAGS="-DDYNAMIC_LUA_DLL=\\\"liblua${vi_cv_version_lua}.so$LUA_SONAME\\\" $LUA_CFLAGS" |
4728 fi | 4744 fi |
4745 fi | |
4746 if test "$fail_if_missing" = "yes" -a -z "$LUA_SRC"; then | |
4747 as_fn_error "could not configure lua" "$LINENO" 5 | |
4729 fi | 4748 fi |
4730 | 4749 |
4731 | 4750 |
4732 | 4751 |
4733 | 4752 |
5138 $as_echo "#define DYNAMIC_PERL 1" >>confdefs.h | 5157 $as_echo "#define DYNAMIC_PERL 1" >>confdefs.h |
5139 | 5158 |
5140 PERL_CFLAGS="-DDYNAMIC_PERL_DLL=\\\"$libperl\\\" $PERL_CFLAGS" | 5159 PERL_CFLAGS="-DDYNAMIC_PERL_DLL=\\\"$libperl\\\" $PERL_CFLAGS" |
5141 fi | 5160 fi |
5142 fi | 5161 fi |
5162 | |
5163 if test "$fail_if_missing" = "yes" -a "$perl_ok" != "yes"; then | |
5164 as_fn_error "could not configure perl" "$LINENO" 5 | |
5165 fi | |
5143 fi | 5166 fi |
5144 | 5167 |
5145 | 5168 |
5146 | 5169 |
5147 | 5170 |
5426 fi | 5449 fi |
5427 else | 5450 else |
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: too old" >&5 | 5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: too old" >&5 |
5429 $as_echo "too old" >&6; } | 5452 $as_echo "too old" >&6; } |
5430 fi | 5453 fi |
5454 fi | |
5455 | |
5456 if test "$fail_if_missing" = "yes" -a "$python_ok" != "yes"; then | |
5457 as_fn_error "could not configure python" "$LINENO" 5 | |
5431 fi | 5458 fi |
5432 fi | 5459 fi |
5433 | 5460 |
5434 | 5461 |
5435 | 5462 |
6214 else | 6241 else |
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: too old; need Tcl version 8.0 or later" >&5 | 6242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: too old; need Tcl version 8.0 or later" >&5 |
6216 $as_echo "too old; need Tcl version 8.0 or later" >&6; } | 6243 $as_echo "too old; need Tcl version 8.0 or later" >&6; } |
6217 fi | 6244 fi |
6218 fi | 6245 fi |
6246 if test "$fail_if_missing" = "yes" -a -z "$TCL_SRC"; then | |
6247 as_fn_error "could not configure Tcl" "$LINENO" 5 | |
6248 fi | |
6219 fi | 6249 fi |
6220 | 6250 |
6221 | 6251 |
6222 | 6252 |
6223 | 6253 |
6350 fi | 6380 fi |
6351 else | 6381 else |
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: too old; need Ruby version 1.6.0 or later" >&5 | 6382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: too old; need Ruby version 1.6.0 or later" >&5 |
6353 $as_echo "too old; need Ruby version 1.6.0 or later" >&6; } | 6383 $as_echo "too old; need Ruby version 1.6.0 or later" >&6; } |
6354 fi | 6384 fi |
6385 fi | |
6386 | |
6387 if test "$fail_if_missing" = "yes" -a -z "$RUBY_OBJ"; then | |
6388 as_fn_error "could not configure Ruby" "$LINENO" 5 | |
6355 fi | 6389 fi |
6356 fi | 6390 fi |
6357 | 6391 |
6358 | 6392 |
6359 | 6393 |