Do a second pass to find libraries without a single version digit after the .so
This finds libsndio.so.6.1 on Raspberry Pi
parent
872936a485
commit
bd0ae0a5dd
|
@ -15786,6 +15786,14 @@ find_lib()
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
# Try again, this time allowing more than one version digit after the .so
|
||||||
|
for path in $env_lib_path $gcc_bin_path $gcc_lib_path $host_lib_path; do
|
||||||
|
lib=`ls -- $path/$1 2>/dev/null | sed -e 's,.*/,,' | sort | tail -1`
|
||||||
|
if test x$lib != x; then
|
||||||
|
echo $lib
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
|
||||||
|
@ -19418,6 +19426,7 @@ _ACEOF
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
CheckNativeClient()
|
CheckNativeClient()
|
||||||
{
|
{
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||||
|
|
|
@ -156,6 +156,14 @@ find_lib()
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
# Try again, this time allowing more than one version digit after the .so
|
||||||
|
for path in $env_lib_path $gcc_bin_path $gcc_lib_path $host_lib_path; do
|
||||||
|
lib=[`ls -- $path/$1 2>/dev/null | sed -e 's,.*/,,' | sort | tail -1`]
|
||||||
|
if test x$lib != x; then
|
||||||
|
echo $lib
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
dnl Check for compiler characteristics
|
dnl Check for compiler characteristics
|
||||||
|
|
Loading…
Reference in New Issue