100-portability.patch 922 B

12345678910111213141516171819202122232425262728293031323334
  1. --- a/configure
  2. +++ b/configure
  3. @@ -5689,6 +5689,7 @@ printf %s "checking build system compile
  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. @@ -5721,6 +5722,7 @@ printf %s "checking build system compile
  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. @@ -5757,6 +5759,7 @@ printf %s "checking build system compile
  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. @@ -5808,6 +5811,7 @@ else $as_nop
  28. gmp_cv_prog_exeext_for_build="$EXEEXT"
  29. else
  30. cat >conftest.c <<EOF
  31. +#include <stdlib.h>
  32. int
  33. main ()
  34. {