gparted r848 - trunk



Author: gedakc
Date: Thu May  8 22:31:53 2008
New Revision: 848
URL: http://svn.gnome.org/viewvc/gparted?rev=848&view=rev

Log:
Added check for hal-lock program, and note about requirement for hal-lock in README

Modified:
   trunk/ChangeLog
   trunk/README
   trunk/configure.in

Modified: trunk/README
==============================================================================
--- trunk/README	(original)
+++ trunk/README	Thu May  8 22:31:53 2008
@@ -105,3 +105,9 @@
    xfsprogs
    NOTE:  If the vol_id command is in the search PATH, it will be
           used to read linux-swap volume labels.
+          
+The hal-lock program is required by the gparted script to acquire device
+locks prior to gpartedbin invocation.  hal-lock is part of the Hardware
+Abstraction Layer.  You can learn more about HAL at:
+
+http://people.freedesktop.org/~david/hal-spec/hal-spec.html

Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in	(original)
+++ trunk/configure.in	Thu May  8 22:31:53 2008
@@ -14,6 +14,13 @@
 AC_PROG_CXX
 AM_PROG_LIBTOOL
 
+dnl check for hal-lock program
+AC_CHECK_PROG([HAVE_HAL_LOCK], [hal-lock], [yes], [no])
+if test "x$HAVE_HAL_LOCK" = "xno"; then
+	AC_MSG_ERROR([*** hal-lock program not found])
+fi
+
+
 dnl======================
 dnl i18n stuff 
 dnl======================
@@ -28,8 +35,9 @@
 dnl======================
 dnl checks for libs 
 dnl======================
-AC_CHECK_LIB(uuid, uuid_generate, [], AC_MSG_ERROR([*** uuid library (libuuid) not found]))
-AC_CHECK_LIB(dl, dlopen,          [], AC_MSG_ERROR([*** dl library (libdl) not found]))
+AC_CHECK_LIB(uuid, uuid_generate,     [], AC_MSG_ERROR([*** uuid library (libuuid) not found]))
+AC_CHECK_LIB(dl, dlopen,              [], AC_MSG_ERROR([*** dl library (libdl) not found]))
+
 
 dnl libparted
 LIBPARTED_VERSION=1.7.1



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]