summaryrefslogtreecommitdiff
blob: 984c2af17650a7eab784d5109747bd085ee9594d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Skip failing configure checks during cross-compile builds (bug #473372).

--- a/src/configure.ac
+++ b/src/configure.ac
@@ -3443,7 +3443,7 @@ else
 # include <stddef.h>
 #endif
 int main() {char *s; s=(char *)tgoto("%p1%d", 0, 1); exit(0); }])],
-			  res="OK", res="FAIL", res="FAIL")
+			  res="OK", res="FAIL", res="OK")
       if test "$res" = "OK"; then
 	break
       fi
@@ -3514,7 +3514,7 @@ int main()
     ],[
       vim_cv_tgetent=non-zero
     ],[
-      AC_MSG_ERROR(failed to compile test program.)
+      vim_cv_tgent=zero
     ])
   ])