File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -259,16 +259,18 @@ $TARGET: "$2" $4
259259# ---------------------------------------------------------------------
260260# Dylib bundler
261261# ---------------------------------------------------------------------
262- AC_PATH_PROGS ( DYLIBBUNDLER , dylibbundler , [ true] )
263- if test "$DYLIBBUNDLER" = true -a $system = MacOSX; then
264- AC_MSG_WARN ( [ *** echo "WARNING: Cannot find dylibbundler. We cannot put libraries into a bundle so it probably won't be portable."] )
265- else
266- AC_MSG_CHECKING ( [ dylibbundler version] )
267- dyl_ver=$($DYLIBBUNDLER -V >/dev/null 2>&1 && dylibbundler -V | cut -d\ -f2 || echo unknown)
268- AC_MSG_RESULT ( $dyl_ver ) ;
262+ if test $system = MacOSX; then
263+ AC_PATH_PROGS ( DYLIBBUNDLER , dylibbundler , [ true] )
264+ if test "$DYLIBBUNDLER" = true; then
265+ AC_MSG_WARN ( [ *** echo "WARNING: Cannot find dylibbundler. We cannot put libraries into a bundle so it probably won't be portable."] )
266+ else
267+ AC_MSG_CHECKING ( [ dylibbundler version] )
268+ dyl_ver=$($DYLIBBUNDLER -V >/dev/null 2>&1 && dylibbundler -V | cut -d\ -f2 || echo unknown)
269+ AC_MSG_RESULT ( $dyl_ver ) ;
269270
270- if test $dyl_ver = unknown || expr "$dyl_ver" \<= 2 >/dev/null; then
271- AC_MSG_WARN ( [ *** Original dylib bundler detected, recommending v2 instead (https://github.com/SCG82/macdylibbundler)] )
271+ if test $dyl_ver = unknown || expr "$dyl_ver" \<= 2 >/dev/null; then
272+ AC_MSG_WARN ( [ *** Original dylib bundler detected, recommending v2 instead (https://github.com/SCG82/macdylibbundler)] )
273+ fi
272274 fi
273275fi
274276
You can’t perform that action at this time.
0 commit comments