diff --git a/ChangeLog b/ChangeLog index f27c3ead..635b23be 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-02-16 Bart Hakvoort + + * configure.in: improved check for libparted (thanks to Pete Shinners, + see also #330776) + 2006-02-15 Bart Hakvoort * include/GParted_Core.h, @@ -9,6 +14,11 @@ src/Win_GParted.cc: support partitions with multiple mountpoints (see also #330327) +2006-02-15 Bart Hakvoort + + * src/ntfs.cc: changed a few things after talking with Szaka + (ntfsprogs developer) + 2006-02-15 Bart Hakvoort * wrap mount/umount/swapon/swapoff instead of implementing it diff --git a/configure.in b/configure.in index 104f807a..663961ae 100644 --- a/configure.in +++ b/configure.in @@ -32,11 +32,8 @@ 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_PATH_PROG(PARTED_PATH, parted, [], /sbin /usr/sbin /usr/local/sbin) -if ! (( ($( $PARTED_PATH --version | cut -d. -f3 | cut -d' ' -f1 )) >= 25 )) 2>/dev/null -then - AC_MSG_ERROR([*** libparted >= 1.6.25 not installed - get it from http://www.gnu.org/software/parted/ ***]) -fi +AC_CHECK_LIB(parted, ped_get_version, [], AC_MSG_ERROR([*** parted library (libparted) not found])) +AC_CHECK_DECL(PED_DEVICE_UBD, [], AC_MSG_ERROR([*** Requires libparted >= 1.6.25]), [#include ]) PKG_CHECK_MODULES(GTKMM, gtkmm-2.4 > 2.6 ) AC_SUBST(GTKMM_LIBS)