https://github.com/termux/termux-packages/issues/15852 --- a/configure +++ b/configure @@ -1013,6 +1013,7 @@ #line 1014 "configure" #include "confdefs.h" +int main(){return(0);} EOF if { (eval echo configure:1019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then @@ -1338,6 +1339,7 @@ #line 1339 "configure" #include "confdefs.h" #include +int main() { FILE *f=fopen("conftestval", "w"); @@ -1377,6 +1379,7 @@ #line 1378 "configure" #include "confdefs.h" #include +int main() { FILE *f=fopen("conftestval", "w"); @@ -1416,6 +1419,7 @@ #line 1417 "configure" #include "confdefs.h" #include +int main() { FILE *f=fopen("conftestval", "w"); @@ -5812,6 +5816,7 @@ cat > conftest.$ac_ext < addr) ? 1 : -1; } +int main () { exit (find_stack_direction() < 0);