configure.in
changeset 9252 a11e8f6d82d1
parent 9164 494876610c49
child 9278 8900afb78a19
equal deleted inserted replaced
9251:198989b162d3 9252:a11e8f6d82d1
   140     if test "$cross_compiling" = yes; then
   140     if test "$cross_compiling" = yes; then
   141         host_lib_path=""
   141         host_lib_path=""
   142     else
   142     else
   143         host_lib_path="/usr/$base_libdir /usr/local/$base_libdir"
   143         host_lib_path="/usr/$base_libdir /usr/local/$base_libdir"
   144     fi
   144     fi
   145     for path in $gcc_bin_path $gcc_lib_path $env_lib_path $host_lib_path; do
   145     for path in $env_lib_path $gcc_bin_path $gcc_lib_path $host_lib_path; do
   146         lib=[`ls -- $path/$1 2>/dev/null | sed -e '/\.so\..*\./d' -e 's,.*/,,' | sort | tail -1`]
   146         lib=[`ls -- $path/$1 2>/dev/null | sed -e '/\.so\..*\./d' -e 's,.*/,,' | sort | tail -1`]
   147         if test x$lib != x; then
   147         if test x$lib != x; then
   148             echo $lib
   148             echo $lib
   149             return
   149             return
   150         fi
   150         fi