improved check for libparted (thanks to Pete Shinners, see also #330776)

* configure.in: improved check for libparted (thanks to Pete Shinners,
  see also #330776)
This commit is contained in:
Bart Hakvoort 2006-02-16 10:34:22 +00:00
parent d7a16d3c2f
commit 2b773091af
2 changed files with 12 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2006-02-16 Bart Hakvoort <hakvoort@cvs.gnome.org>
* configure.in: improved check for libparted (thanks to Pete Shinners,
see also #330776)
2006-02-15 Bart Hakvoort <hakvoort@cvs.gnome.org>
* 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 <hakvoort@cvs.gnome.org>
* src/ntfs.cc: changed a few things after talking with Szaka
(ntfsprogs developer)
2006-02-15 Bart Hakvoort <hakvoort@cvs.gnome.org>
* wrap mount/umount/swapon/swapoff instead of implementing it

View File

@ -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 <parted/parted.h>])
PKG_CHECK_MODULES(GTKMM, gtkmm-2.4 > 2.6 )
AC_SUBST(GTKMM_LIBS)