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 =) )
This commit is contained in:
Bart Hakvoort 2004-10-23 20:28:46 +00:00
parent bb8374433a
commit c4e970fe8c
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2004-10-22 Bart Hakvoort <gparted@users.sf.net>
* configure.in: libpartedcheck now looks for correct version number (finally i'll be rid off those stupid bugreports =) )
2004-10-22 Bart Hakvoort <gparted@users.sf.net> 2004-10-22 Bart Hakvoort <gparted@users.sf.net>
* src/Dialog_Partition_Info.cc: codecleanups.. Hey! i was bored :P * src/Dialog_Partition_Info.cc: codecleanups.. Hey! i was bored :P

View File

@ -29,8 +29,13 @@ AC_PROG_INTLTOOL
dnl====================== dnl======================
dnl checks for libs dnl checks for libs
dnl====================== 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 ) 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_LIBS)
AC_SUBST(GTKMM_CFLAGS) AC_SUBST(GTKMM_CFLAGS)