|
@@ -0,0 +1,40 @@
|
|
|
+diff --git a/configure b/configure
|
|
|
+index e82ad64..137989a 100755
|
|
|
+--- a/configure
|
|
|
++++ b/configure
|
|
|
+@@ -1617,7 +1617,7 @@ cat > conftest.$ac_ext << EOF
|
|
|
+ #line 1618 "configure"
|
|
|
+ #include "confdefs.h"
|
|
|
+
|
|
|
+-main(){return(0);}
|
|
|
++int main(){return(0);}
|
|
|
+ EOF
|
|
|
+ if { (eval echo configure:1623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
+ ac_cv_prog_cc_works=yes
|
|
|
+@@ -2313,7 +2313,7 @@ cat > conftest.$ac_ext << EOF
|
|
|
+ #line 2314 "configure"
|
|
|
+ #include "confdefs.h"
|
|
|
+
|
|
|
+-main(){return(0);}
|
|
|
++int main(){return(0);}
|
|
|
+ EOF
|
|
|
+ if { (eval echo configure:2319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
+ ac_cv_prog_cc_works=yes
|
|
|
+@@ -3573,7 +3573,7 @@ set dummy $CC; ac_cc="`echo $2 |
|
|
|
+ if eval "test \"`echo '$''{'ac_cv_prog_cc_${ac_cc}_c_o'+set}'`\" = set"; then
|
|
|
+ echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
+ else
|
|
|
+- echo 'foo(){}' > conftest.c
|
|
|
++ echo 'int foo(){}' > conftest.c
|
|
|
+ # Make sure it works both with $CC and with simple cc.
|
|
|
+ # We do the test twice because some compilers refuse to overwrite an
|
|
|
+ # existing .o file with -o, though they will create one.
|
|
|
+@@ -11149,7 +11149,7 @@ else
|
|
|
+ #line 11150 "configure"
|
|
|
+ #include "confdefs.h"
|
|
|
+
|
|
|
+-main()
|
|
|
++int main()
|
|
|
+ {
|
|
|
+ char c0 = 0x40, c1 = 0x80, c2 = 0x81;
|
|
|
+ exit(memcmp(&c0, &c2, 1) < 0 && memcmp(&c1, &c2, 1) < 0 ? 0 : 1);
|