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)