]> xenbits.xensource.com Git - libvirt.git/commitdiff
configure: remove fallback check for parted
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 9 Nov 2016 17:29:20 +0000 (17:29 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 10 Nov 2016 16:00:02 +0000 (16:00 +0000)
Since we no longer support building on RHEL-5, we can
drop the non-pkg-config based check for parted.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
configure.ac

index b4292bab9149f4a6bc3e8b447daf736f31020c8b..3ff4c42a8f84f0bbc89e37c4d0ce722bcbb76a55 100644 (file)
@@ -1869,18 +1869,6 @@ if test "$with_storage_disk" = "yes" ||
     PKG_CHECK_MODULES([LIBPARTED], [libparted >= $PARTED_REQUIRED], [],
       [PARTED_FOUND=no])
   fi
-  if test "$PARTED_FOUND" = "no"; then
-    # RHEL-5 vintage parted is missing pkg-config files
-    save_LIBS="$LIBS"
-    save_CFLAGS="$CFLAGS"
-    PARTED_FOUND=yes
-    AC_CHECK_HEADER([parted/parted.h],,[PARTED_FOUND=no])
-    AC_CHECK_LIB([uuid], [uuid_generate],,[PARTED_FOUND=no])
-    AC_CHECK_LIB([parted], [ped_device_read],,[PARTED_FOUND=no])
-    LIBPARTED_LIBS="-luuid -lparted"
-    LIBS="$save_LIBS"
-    CFLAGS="$save_CFLAGS"
-  fi
 
   if test "$with_storage_disk" = "yes" &&
      test "$PARTED_FOUND" != "yes"; then