From: Martin Jansa <Martin.Jansa@gmail.com>

Date: Thu, 17 Nov 2011 09:45:19 +0100
Subject: [PATCH] eeze: use --with-sth arguments if they are passed to configure

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>

SVN revision: 65333
This commit is contained in:
Martin Jansa 2011-11-17 09:23:06 +00:00 committed by Mike Blumenkrantz
parent 997a3aa756
commit e946055b51
1 changed files with 3 additions and 6 deletions

View File

@ -106,12 +106,9 @@ PKG_CHECK_EXISTS([mount >= 2.18.0],
)
if test "x$eeze_mount" = "xyes";then
with_mount="detect"
with_umount="detect"
with_eject="detect"
AC_ARG_WITH([mount], AS_HELP_STRING([--with-mount], [specify mount bin @<:@default=detect@:>@]))
AC_ARG_WITH([umount], AS_HELP_STRING([--with-umount], [specify umount bin @<:@default=detect@:>@]))
AC_ARG_WITH([eject], AS_HELP_STRING([--with-eject], [specify eject bin @<:@default=detect@:>@]))
AC_ARG_WITH([mount], [AS_HELP_STRING([--with-mount], [specify mount bin @<:@default=detect@:>@])], [with_mount=$withval], [with_mount="detect"])
AC_ARG_WITH([umount], [AS_HELP_STRING([--with-umount], [specify umount bin @<:@default=detect@:>@])], [with_umount=$withval], [with_umount="detect"])
AC_ARG_WITH([eject], [AS_HELP_STRING([--with-eject], [specify eject bin @<:@default=detect@:>@])], [with_eject=$withval], [with_mount="detect"])
PKG_CHECK_MODULES([LIBMOUNT], [mount >= 2.18.0])
mount_v=$(pkg-config --modversion mount)
PKG_CHECK_MODULES([ECORE_FILE], [ecore-file >= 1.1.0])