SOURCES: hal-link.patch (NEW) - kill unnecessary libs linking

qboosh qboosh at pld-linux.org
Wed Oct 31 21:03:32 CET 2007


Author: qboosh                       Date: Wed Oct 31 20:03:32 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- kill unnecessary libs linking

---- Files affected:
SOURCES:
   hal-link.patch (1.2 -> 1.3)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/hal-link.patch
diff -u /dev/null SOURCES/hal-link.patch:1.3
--- /dev/null	Wed Oct 31 21:03:32 2007
+++ SOURCES/hal-link.patch	Wed Oct 31 21:03:27 2007
@@ -0,0 +1,22 @@
+--- hal-0.5.10/configure.in.orig	2007-10-31 20:02:08.847844000 +0100
++++ hal-0.5.10/configure.in	2007-10-31 20:20:27.462450588 +0100
+@@ -242,8 +242,8 @@
+ if test "x$use_parted" = "xyes" ; then
+    USE_PARTED=yes
+    AC_DEFINE(USE_PARTED,1,[Whether libparted is to be used])
+-   AC_CHECK_LIB(uuid, uuid_generate, [], AC_MSG_ERROR([*** uuid library (libuuid) not found]))
+-   AC_CHECK_LIB(dl, dlopen,          [], AC_MSG_ERROR([*** dl library (libdl) not found]))
++   AC_CHECK_LIB(uuid, uuid_generate, [:], AC_MSG_ERROR([*** uuid library (libuuid) not found]))
++   AC_CHECK_LIB(dl, dlopen,          [:], AC_MSG_ERROR([*** dl library (libdl) not found]))
+    AC_MSG_CHECKING([for libparted == 1.7.1, 1.8.0, 1.8.1, 1.8.2, 1.8.6, 1.8.7, 1.8.8])
+    LDFLAGS=-lparted
+    AC_RUN_IFELSE([AC_LANG_SOURCE([[
+@@ -386,7 +386,7 @@
+ dnl Check libusb
+ AC_CHECK_HEADERS([usb.h], [USE_LIBUSB=yes], [USE_LIBUSB=no])
+ if test "x$USE_LIBUSB" = "xyes"; then
+-	AC_CHECK_LIB([usb], [usb_find_devices], [], [USE_LIBUSB=no])
++	AC_CHECK_LIB([usb], [usb_find_devices], [:], [USE_LIBUSB=no])
+ fi
+ AM_CONDITIONAL([HAVE_LIBUSB],[test "x$USE_LIBUSB" = "xyes"])
+ 
================================================================


More information about the pld-cvs-commit mailing list