Updated configure

This commit is contained in:
Sam Lantinga 2013-06-07 21:50:29 -07:00
parent b7c62a83d9
commit d8de838dfe
4 changed files with 39 additions and 57 deletions

2
configure vendored
View file

@ -15846,7 +15846,7 @@ find_lib()
host_lib_path="/usr/$base_libdir /usr/local/$base_libdir"
fi
for path in $gcc_bin_path $gcc_lib_path $env_lib_path $host_lib_path; do
lib=`ls -- $path/$1 2>/dev/null | sort | sed 's/.*\/\(.*\)/\1/; q'`
lib=`ls -- $path/$1 2>/dev/null | sed -e '/\.so\..*\./d' -e 's,.*/,,' | sort | tail -1`
if test x$lib != x; then
echo $lib
return