summaryrefslogtreecommitdiff
path: root/legacy/eeze/configure.ac
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2011-02-11 03:14:00 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2011-02-11 03:14:00 +0000
commit16b61622e63952f8566b043b3b7b1bee6cafc01d (patch)
treeb3a9b8d99769effd7d09320656a1b3ea922ace62 /legacy/eeze/configure.ac
parent4697916227358f4c96cd6882d69fa8f827496857 (diff)
support libmount 2.19, fix some bugs here and there, automatically grab fstab/mtab mount flags when using eeze_disk_mountopts_get with new libmount
SVN revision: 56947
Diffstat (limited to 'legacy/eeze/configure.ac')
-rw-r--r--legacy/eeze/configure.ac8
1 files changed, 6 insertions, 2 deletions
diff --git a/legacy/eeze/configure.ac b/legacy/eeze/configure.ac
index a1c6ed1b3e..67bab31dc2 100644
--- a/legacy/eeze/configure.ac
+++ b/legacy/eeze/configure.ac
@@ -96,7 +96,7 @@ elif test $udev_version -lt 148;then
96fi 96fi
97 97
98eeze_mount= 98eeze_mount=
99PKG_CHECK_EXISTS([mount == 2.18.0], 99PKG_CHECK_EXISTS([mount >= 2.18.0],
100 [ 100 [
101 AC_DEFINE([HAVE_EEZE_MOUNT], [1], [Eeze is mount-capable]) 101 AC_DEFINE([HAVE_EEZE_MOUNT], [1], [Eeze is mount-capable])
102 AM_CONDITIONAL([HAVE_EEZE_MOUNT], [true]) 102 AM_CONDITIONAL([HAVE_EEZE_MOUNT], [true])
@@ -110,6 +110,7 @@ if test "x$eeze_mount" = "xyes";then
110 AC_ARG_WITH([mount], AS_HELP_STRING([--with-mount], [specify mount bin @<:@default=detect@:>@])) 110 AC_ARG_WITH([mount], AS_HELP_STRING([--with-mount], [specify mount bin @<:@default=detect@:>@]))
111 AC_ARG_WITH([umount], AS_HELP_STRING([--with-umount], [specify umount bin @<:@default=detect@:>@])) 111 AC_ARG_WITH([umount], AS_HELP_STRING([--with-umount], [specify umount bin @<:@default=detect@:>@]))
112 PKG_CHECK_MODULES([LIBMOUNT], [mount >= 2.18.0]) 112 PKG_CHECK_MODULES([LIBMOUNT], [mount >= 2.18.0])
113 mount_v=$(pkg-config --modversion mount)
113 PKG_CHECK_MODULES([ECORE_FILE], [ecore-file >= 1.0.0]) 114 PKG_CHECK_MODULES([ECORE_FILE], [ecore-file >= 1.0.0])
114 115
115 if test "x$with_mount" = "xdetect";then 116 if test "x$with_mount" = "xdetect";then
@@ -122,7 +123,10 @@ if test "x$eeze_mount" = "xyes";then
122 fi 123 fi
123 AC_DEFINE_UNQUOTED([EEZE_UNMOUNT_BIN], ["$with_umount"], [umount bin to use]) 124 AC_DEFINE_UNQUOTED([EEZE_UNMOUNT_BIN], ["$with_umount"], [umount bin to use])
124fi 125fi
125 126AM_CONDITIONAL([OLD_LIBMOUNT], [test -n $mount_v -a $(echo $mount_v | cut -d'.' -f2) -lt 19])
127if test -z "$OLD_LIBMOUNT_TRUE" ; then
128 AC_DEFINE_UNQUOTED([OLD_LIBMOUNT], [1], [using first version of libmount])
129fi
126### Checks for header files 130### Checks for header files
127 131
128 132