mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-20 10:40:09 +00:00
configure.ac: replace numeric expr with test
the operator <= actually did just lexicographic compare for number eg 2.1 - compare just major version now
This commit is contained in:
@@ -263,7 +263,8 @@ if test $system = MacOSX; then
|
||||
dyl_ver=$($DYLIBBUNDLER -V >/dev/null 2>&1 && dylibbundler -V | cut -d\ -f2 || echo unknown)
|
||||
AC_MSG_RESULT($dyl_ver);
|
||||
|
||||
if test "x$dyl_ver" = xunknown || expr "$dyl_ver" \<= 2 >/dev/null; then
|
||||
if test "x$dyl_ver" = xunknown || test "${dyl_ver%%.*}" -eq 1
|
||||
then
|
||||
UG_MSG_WARN([Original dylib bundler detected, recommending v2 instead (https://github.com/SCG82/macdylibbundler)])
|
||||
else
|
||||
DYLIBBUNDLER="$DYLIBBUNDLER -f" # bundle also frameworks
|
||||
|
||||
Reference in New Issue
Block a user