From c4e970fe8cafcd28649defd15ef81f7181529d17 Mon Sep 17 00:00:00 2001 From: Bart Hakvoort Date: Sat, 23 Oct 2004 20:28:46 +0000 Subject: [PATCH] libpartedcheck now looks for correct version number (finally i'll be rid * configure.in: libpartedcheck now looks for correct version number (finally i'll be rid off those stupid bugreports =) ) --- ChangeLog | 4 ++++ configure.in | 7 ++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 0b9792fa..a29b9457 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2004-10-22 Bart Hakvoort + + * configure.in: libpartedcheck now looks for correct version number (finally i'll be rid off those stupid bugreports =) ) + 2004-10-22 Bart Hakvoort * src/Dialog_Partition_Info.cc: codecleanups.. Hey! i was bored :P diff --git a/configure.in b/configure.in index 4bbce0d9..26f068e8 100644 --- a/configure.in +++ b/configure.in @@ -29,8 +29,13 @@ AC_PROG_INTLTOOL dnl====================== dnl checks for libs dnl====================== +AC_PATH_PROG(PARTED_PATH, parted, [], /sbin /usr/sbin /usr/local/sbin) +if ! (( ($( $PARTED_PATH --version | cut -d. -f3 )) > 12 )) 2>/dev/null +then + AC_MSG_ERROR([*** libparted >= 1.6.13 not installed - get it from http://www.gnu.org/software/parted/ ***]) +fi + PKG_CHECK_MODULES(GTKMM, gtkmm-2.4 ) -AC_CHECK_LIB(parted, ped_device_probe_all, [], AC_MSG_ERROR([*** libparted >= 1.6.13 not installed - please install first ***]), -luuid -ldl) AC_SUBST(GTKMM_LIBS) AC_SUBST(GTKMM_CFLAGS)