Eeze: lets make it buildable once again

SVN revision: 74329
This commit is contained in:
Eduardo de Barros Lima 2012-07-23 14:23:59 +00:00
parent 0f50ef36b9
commit d288db2078
1 changed files with 2 additions and 0 deletions

View File

@ -145,11 +145,13 @@ if test "x$eeze_mount" = "xyes";then
fi
AC_DEFINE_UNQUOTED([EEZE_EJECT_BIN], ["$with_eject"], [eject bin to use])
fi
if test -n "$mount_v";then
AM_CONDITIONAL([OLD_LIBMOUNT], [test "$(echo $mount_v | cut -d'.' -f2)" -lt 19])
AM_CONDITIONAL([NEW_LIBMOUNT], [test "$(echo $mount_v | cut -d'.' -f2)" -gt 19])
else
AM_CONDITIONAL([OLD_LIBMOUNT], [false])
AM_CONDITIONAL([NEW_LIBMOUNT], [false])
fi
AM_COND_IF([OLD_LIBMOUNT], [
AC_DEFINE_UNQUOTED([OLD_LIBMOUNT], [1], [using first version of libmount])