[PATCH] configure: remove fallback check for parted

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 configure.ac | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/configure.ac b/configure.ac
index b4292ba..3ff4c42 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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
-- 
2.9.3

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]