comparison src/auto/configure @ 14401:6b3ad2849e24 v8.1.0215

patch 8.1.0215: no error if configure --with-x cannot configure X commit https://github.com/vim/vim/commit/d2a054910bf8f0888fac81e46a64a22dd4a763b5 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jul 27 22:35:15 2018 +0200 patch 8.1.0215: no error if configure --with-x cannot configure X Problem: No error if configure --with-x cannot configure X. Solution: Check that when --with-x is used X can be configured.
author Christian Brabandt <cb@256bit.org>
date Fri, 27 Jul 2018 22:45:05 +0200
parents e4d5726e1678
children f103c66ea515
comparison
equal deleted inserted replaced
14400:49e528d247d9 14401:6b3ad2849e24
4464 fi 4464 fi
4465 4465
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fail_if_missing" >&5 4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fail_if_missing" >&5
4467 $as_echo "$fail_if_missing" >&6; } 4467 $as_echo "$fail_if_missing" >&6; }
4468 4468
4469 with_x_arg="$with_x"
4470
4469 if test -z "$CFLAGS"; then 4471 if test -z "$CFLAGS"; then
4470 CFLAGS="-O" 4472 CFLAGS="-O"
4471 test "$GCC" = yes && CFLAGS="-O2 -fno-strength-reduce -Wall" 4473 test "$GCC" = yes && CFLAGS="-O2 -fno-strength-reduce -Wall"
4472 fi 4474 fi
4473 if test "$GCC" = yes; then 4475 if test "$GCC" = yes; then
9001 fi 9003 fi
9002 9004
9003 fi 9005 fi
9004 fi 9006 fi
9005 9007
9008 if test "x$with_x" = xno -a "x$with_x_arg" = xyes; then
9009 as_fn_error $? "could not configure X" "$LINENO" 5
9010 fi
9011
9006 test "x$with_x" = xno -a "x$MACOS_X" != "xyes" -a "x$QNX" != "xyes" && enable_gui=no 9012 test "x$with_x" = xno -a "x$MACOS_X" != "xyes" -a "x$QNX" != "xyes" && enable_gui=no
9007 9013
9008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking --enable-gui argument" >&5 9014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking --enable-gui argument" >&5
9009 $as_echo_n "checking --enable-gui argument... " >&6; } 9015 $as_echo_n "checking --enable-gui argument... " >&6; }
9010 # Check whether --enable-gui was given. 9016 # Check whether --enable-gui was given.