diff -urN fatresize-1.0.2.orig/configure.ac fatresize-1.0.2/configure.ac --- fatresize-1.0.2.orig/configure.ac 2005-09-20 11:30:35 +0300 +++ fatresize-1.0.2/configure.ac 2007-03-19 22:51:09 +0200 @@ -29,8 +29,7 @@ dnl libparted # hack LIBS="$LIBS -ldl" -PARTED_CHECK_LIBPARTED(1.6.0, , - [AC_MSG_ERROR([*** libparted >= 1.6.0 not installed - please install first ***])]) +AC_CHECK_LIB(parted, ped_malloc, [], AC_MSG_ERROR([*** libparted >= 1.6.0 not installed - please install first ***])) AC_SUBST(PARTED_LIBS)