100-portability.patch 914 B

12345678910111213141516171819202122232425262728293031323334
  1. --- a/configure
  2. +++ b/configure
  3. @@ -4661,6 +4661,7 @@ $as_echo_n "checking build system compil
  4. # remove anything that might look like compiler output to our "||" expression
  5. rm -f conftest* a.out b.out a.exe a_out.exe
  6. cat >conftest.c <<EOF
  7. +#include <stdlib.h>
  8. int
  9. main ()
  10. {
  11. @@ -4693,6 +4694,7 @@ $as_echo_n "checking build system compil
  12. # remove anything that might look like compiler output to our "||" expression
  13. rm -f conftest* a.out b.out a.exe a_out.exe
  14. cat >conftest.c <<EOF
  15. +#include <stdlib.h>
  16. int
  17. main ()
  18. {
  19. @@ -4729,6 +4731,7 @@ $as_echo_n "checking build system compil
  20. # remove anything that might look like compiler output to our "||" expression
  21. rm -f conftest* a.out b.out a.exe a_out.exe
  22. cat >conftest.c <<EOF
  23. +#include <stdlib.h>
  24. int
  25. main ()
  26. {
  27. @@ -4779,6 +4782,7 @@ else
  28. gmp_cv_prog_exeext_for_build="$EXEEXT"
  29. else
  30. cat >conftest.c <<EOF
  31. +#include <stdlib.h>
  32. int
  33. main ()
  34. {