backport fix for bug #3481. (from 2.0 branch commit 19fb1b19b512). SDL-1.2
authorOzkan Sezer <sezeroz@gmail.com>
Sun, 07 Oct 2018 01:51:50 +0300
branchSDL-1.2
changeset 882d19c15cded82
parent 881 6bf9b92cfad9
child 883 2ff5d3653db2
backport fix for bug #3481. (from 2.0 branch commit 19fb1b19b512).
acinclude/libtool.m4
aclocal.m4
configure
     1.1 --- a/acinclude/libtool.m4	Sun Oct 07 01:43:02 2018 +0300
     1.2 +++ b/acinclude/libtool.m4	Sun Oct 07 01:51:50 2018 +0300
     1.3 @@ -1302,7 +1302,10 @@
     1.4  	  x86_64-*linux*)
     1.5  	    LD="${LD-ld} -m elf_x86_64"
     1.6  	    ;;
     1.7 -	  ppc*-*linux*|powerpc*-*linux*)
     1.8 +	  powerpc64le-*linux*)
     1.9 +	    LD="${LD-ld} -m elf64lppc"
    1.10 +	    ;;
    1.11 +	  powerpc64-*linux*)
    1.12  	    LD="${LD-ld} -m elf64ppc"
    1.13  	    ;;
    1.14  	  s390*-*linux*|s390*-*tpf*)
     2.1 --- a/aclocal.m4	Sun Oct 07 01:43:02 2018 +0300
     2.2 +++ b/aclocal.m4	Sun Oct 07 01:51:50 2018 +0300
     2.3 @@ -1302,7 +1302,10 @@
     2.4  	  x86_64-*linux*)
     2.5  	    LD="${LD-ld} -m elf_x86_64"
     2.6  	    ;;
     2.7 -	  ppc*-*linux*|powerpc*-*linux*)
     2.8 +	  powerpc64le-*linux*)
     2.9 +	    LD="${LD-ld} -m elf64lppc"
    2.10 +	    ;;
    2.11 +	  powerpc64-*linux*)
    2.12  	    LD="${LD-ld} -m elf64ppc"
    2.13  	    ;;
    2.14  	  s390*-*linux*|s390*-*tpf*)
     3.1 --- a/configure	Sun Oct 07 01:43:02 2018 +0300
     3.2 +++ b/configure	Sun Oct 07 01:51:50 2018 +0300
     3.3 @@ -5055,7 +5055,10 @@
     3.4  	  x86_64-*linux*)
     3.5  	    LD="${LD-ld} -m elf_x86_64"
     3.6  	    ;;
     3.7 -	  ppc*-*linux*|powerpc*-*linux*)
     3.8 +	  powerpc64le-*linux*)
     3.9 +	    LD="${LD-ld} -m elf64lppc"
    3.10 +	    ;;
    3.11 +	  powerpc64-*linux*)
    3.12  	    LD="${LD-ld} -m elf64ppc"
    3.13  	    ;;
    3.14  	  s390*-*linux*|s390*-*tpf*)
    3.15 @@ -7138,11 +7141,11 @@
    3.16     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    3.17     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    3.18     -e 's:$: $lt_compiler_flag:'`
    3.19 -   (eval echo "\"\$as_me:7141: $lt_compile\"" >&5)
    3.20 +   (eval echo "\"\$as_me:7144: $lt_compile\"" >&5)
    3.21     (eval "$lt_compile" 2>conftest.err)
    3.22     ac_status=$?
    3.23     cat conftest.err >&5
    3.24 -   echo "$as_me:7145: \$? = $ac_status" >&5
    3.25 +   echo "$as_me:7148: \$? = $ac_status" >&5
    3.26     if (exit $ac_status) && test -s "$ac_outfile"; then
    3.27       # The compiler can only warn and ignore the option if not recognized
    3.28       # So say no if there are warnings other than the usual output.
    3.29 @@ -7477,11 +7480,11 @@
    3.30     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    3.31     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    3.32     -e 's:$: $lt_compiler_flag:'`
    3.33 -   (eval echo "\"\$as_me:7480: $lt_compile\"" >&5)
    3.34 +   (eval echo "\"\$as_me:7483: $lt_compile\"" >&5)
    3.35     (eval "$lt_compile" 2>conftest.err)
    3.36     ac_status=$?
    3.37     cat conftest.err >&5
    3.38 -   echo "$as_me:7484: \$? = $ac_status" >&5
    3.39 +   echo "$as_me:7487: \$? = $ac_status" >&5
    3.40     if (exit $ac_status) && test -s "$ac_outfile"; then
    3.41       # The compiler can only warn and ignore the option if not recognized
    3.42       # So say no if there are warnings other than the usual output.
    3.43 @@ -7582,11 +7585,11 @@
    3.44     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    3.45     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    3.46     -e 's:$: $lt_compiler_flag:'`
    3.47 -   (eval echo "\"\$as_me:7585: $lt_compile\"" >&5)
    3.48 +   (eval echo "\"\$as_me:7588: $lt_compile\"" >&5)
    3.49     (eval "$lt_compile" 2>out/conftest.err)
    3.50     ac_status=$?
    3.51     cat out/conftest.err >&5
    3.52 -   echo "$as_me:7589: \$? = $ac_status" >&5
    3.53 +   echo "$as_me:7592: \$? = $ac_status" >&5
    3.54     if (exit $ac_status) && test -s out/conftest2.$ac_objext
    3.55     then
    3.56       # The compiler can only warn and ignore the option if not recognized
    3.57 @@ -7637,11 +7640,11 @@
    3.58     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    3.59     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    3.60     -e 's:$: $lt_compiler_flag:'`
    3.61 -   (eval echo "\"\$as_me:7640: $lt_compile\"" >&5)
    3.62 +   (eval echo "\"\$as_me:7643: $lt_compile\"" >&5)
    3.63     (eval "$lt_compile" 2>out/conftest.err)
    3.64     ac_status=$?
    3.65     cat out/conftest.err >&5
    3.66 -   echo "$as_me:7644: \$? = $ac_status" >&5
    3.67 +   echo "$as_me:7647: \$? = $ac_status" >&5
    3.68     if (exit $ac_status) && test -s out/conftest2.$ac_objext
    3.69     then
    3.70       # The compiler can only warn and ignore the option if not recognized
    3.71 @@ -10439,7 +10442,7 @@
    3.72    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    3.73    lt_status=$lt_dlunknown
    3.74    cat > conftest.$ac_ext <<_LT_EOF
    3.75 -#line 10442 "configure"
    3.76 +#line 10445 "configure"
    3.77  #include "confdefs.h"
    3.78  
    3.79  #if HAVE_DLFCN_H
    3.80 @@ -10535,7 +10538,7 @@
    3.81    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    3.82    lt_status=$lt_dlunknown
    3.83    cat > conftest.$ac_ext <<_LT_EOF
    3.84 -#line 10538 "configure"
    3.85 +#line 10541 "configure"
    3.86  #include "confdefs.h"
    3.87  
    3.88  #if HAVE_DLFCN_H