[libgtop] Dont add extra libs for kfreebsd



commit 0a265d05d44f9fbffc3b807b2e2b3847ab368170
Author: Petr Salinger <Petr Salinger seznam cz>
Date:   Tue Aug 30 18:05:33 2011 +0200

    Dont add extra libs for kfreebsd
    
    The current version fails to build on GNU/kFreeBSD.
    The problem is due to cleanup in GNU/kFreeBSD world
    
    https://bugzilla.gnome.org/show_bug.cgi?id=601319

 libgtop-sysdeps.m4 |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/libgtop-sysdeps.m4 b/libgtop-sysdeps.m4
index 7ef6639..161e1a6 100644
--- a/libgtop-sysdeps.m4
+++ b/libgtop-sysdeps.m4
@@ -155,13 +155,7 @@ AC_DEFUN([GNOME_LIBGTOP_SYSDEPS],[
 
 	case "$host_os" in
 	*bsd*)
-		case "$host_os" in
-		*kfreebsd*)
-		AC_CHECK_LIB(kvm, kvm_open, KVM_LIBS="-lkvm -lfreebsd -lbsd", KVM_LIBS=, -lfreebsd -lbsd);;
-		*) 
-	  	AC_CHECK_LIB(kvm, kvm_open, KVM_LIBS=-lkvm, KVM_LIBS=);;
-	  	esac
-	  
+	  AC_CHECK_LIB(kvm, kvm_open, KVM_LIBS=-lkvm, KVM_LIBS=)
 	  AC_SUBST(KVM_LIBS)
 
 	  case "$host_os" in



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