backport fix for bug #2795. (from 2.0 branch commit b28b41b93ba7). SDL-1.2
authorOzkan Sezer <sezeroz@gmail.com>
Sun, 07 Oct 2018 03:07:33 +0300
branchSDL-1.2
changeset 885dd251a0ec666
parent 884 4761ad17bdc6
child 886 cb08fb0976e6
backport fix for bug #2795. (from 2.0 branch commit b28b41b93ba7).
configure
configure.in
     1.1 --- a/configure	Sun Oct 07 02:30:28 2018 +0300
     1.2 +++ b/configure	Sun Oct 07 03:07:33 2018 +0300
     1.3 @@ -11983,7 +11983,7 @@
     1.4      else
     1.5          host_lib_path="/usr/$base_libdir /usr/local/$base_libdir"
     1.6      fi
     1.7 -    for path in $gcc_bin_path $gcc_lib_path $env_lib_path $host_lib_path; do
     1.8 +    for path in $env_lib_path $gcc_bin_path $gcc_lib_path $host_lib_path; do
     1.9          lib=`ls -- $path/$1 2>/dev/null | sort | sed 's/.*\/\(.*\)/\1/; q'`
    1.10          if test x$lib != x; then
    1.11              echo $lib
     2.1 --- a/configure.in	Sun Oct 07 02:30:28 2018 +0300
     2.2 +++ b/configure.in	Sun Oct 07 03:07:33 2018 +0300
     2.3 @@ -186,7 +186,7 @@
     2.4      else
     2.5          host_lib_path="/usr/$base_libdir /usr/local/$base_libdir"
     2.6      fi
     2.7 -    for path in $gcc_bin_path $gcc_lib_path $env_lib_path $host_lib_path; do
     2.8 +    for path in $env_lib_path $gcc_bin_path $gcc_lib_path $host_lib_path; do
     2.9          lib=[`ls -- $path/$1 2>/dev/null | sort | sed 's/.*\/\(.*\)/\1/; q'`]
    2.10          if test x$lib != x; then
    2.11              echo $lib