Ticket #30494: gf2x-1.3.0-cc_for_build_stdlib.patch

File gf2x-1.3.0-cc_for_build_stdlib.patch, 1.4 KB (added by Emmanuel Thomé, 2 years ago)
  • config/acinclude.m4

    diff -urN a/config/acinclude.m4 b/config/acinclude.m4
    a b  
    661661# remove anything that might look like compiler output to our "||" expression
    662662rm -f conftest* a.out b.out a.exe a_out.exe
    663663cat >conftest.c <<EOF
     664#include <stdlib.h>
    664665int
    665666main ()
    666667{
     
    699700AC_CACHE_CHECK([for build system executable suffix],
    700701               gf2x_cv_prog_exeext_for_build,
    701702[cat >conftest.c <<EOF
     703#include <stdlib.h>
    702704int
    703705main ()
    704706{
  • configure

    diff -urN a/configure b/configure
    a b  
    1733317333# remove anything that might look like compiler output to our "||" expression
    1733417334rm -f conftest* a.out b.out a.exe a_out.exe
    1733517335cat >conftest.c <<EOF
     17336#include <stdlib.h>
    1733617337int
    1733717338main ()
    1733817339{
     
    1736517366# remove anything that might look like compiler output to our "||" expression
    1736617367rm -f conftest* a.out b.out a.exe a_out.exe
    1736717368cat >conftest.c <<EOF
     17369#include <stdlib.h>
    1736817370int
    1736917371main ()
    1737017372{
     
    1739817400# remove anything that might look like compiler output to our "||" expression
    1739917401rm -f conftest* a.out b.out a.exe a_out.exe
    1740017402cat >conftest.c <<EOF
     17403#include <stdlib.h>
    1740117404int
    1740217405main ()
    1740317406{
     
    1744117444  $as_echo_n "(cached) " >&6
    1744217445else
    1744317446  cat >conftest.c <<EOF
     17447#include <stdlib.h>
    1744417448int
    1744517449main ()
    1744617450{