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

[Xen-changelog] [xen-unstable] Fix tools dependency-check scripts for *BSD.



# HG changeset patch
# User Keir Fraser <keir@xxxxxxxxxxxxx>
# Date 1190712067 -3600
# Node ID 974c00dec723b417c546c2c374e0c6604640f820
# Parent  1d74c55bb5735117bf1d2f598110d952ff81f120
Fix tools dependency-check scripts for *BSD.

zlib and crypto libs are part of the base system in *BSD.
So no need to check for them on *BSD. This conveniently avoids
executing a non-portable usage of ldconfig.

Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx>
---
 tools/check/check_crypto_lib |    8 ++++++++
 tools/check/check_zlib_lib   |    8 ++++++++
 2 files changed, 16 insertions(+)

diff -r 1d74c55bb573 -r 974c00dec723 tools/check/check_crypto_lib
--- a/tools/check/check_crypto_lib      Tue Sep 25 10:12:49 2007 +0100
+++ b/tools/check/check_crypto_lib      Tue Sep 25 10:21:07 2007 +0100
@@ -2,6 +2,14 @@
 # CHECK-BUILD CHECK-INSTALL
 
 RC=0
+
+case $(uname -s) in
+FreeBSD|NetBSD|OpenBSD)
+       exit 0
+       ;;
+*)
+       ;;
+esac
 
 PATH=/sbin:$PATH
 set -e
diff -r 1d74c55bb573 -r 974c00dec723 tools/check/check_zlib_lib
--- a/tools/check/check_zlib_lib        Tue Sep 25 10:12:49 2007 +0100
+++ b/tools/check/check_zlib_lib        Tue Sep 25 10:21:07 2007 +0100
@@ -2,6 +2,14 @@
 # CHECK-BUILD CHECK-INSTALL
 
 RC=0
+
+case $(uname -s) in
+FreeBSD|NetBSD|OpenBSD)
+       exit 0
+       ;;
+*)
+       ;;
+esac
 
 PATH=/sbin:$PATH
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.