direct-io.hg

changeset 12386:d0eb5da1086b

[TOOLS] Add more checks for devel packages.

On different systems I ran into different build failures that can be
made more understandable by adding appropriate -devel package
installation checks.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
author kfraser@localhost.localdomain
date Mon Nov 13 14:01:17 2006 +0000 (2006-11-13)
parents bfe3f8f35e87
children f4be07b6ad61
files tools/check/check_crypto_lib tools/check/check_hotplug tools/check/check_openssl_devel tools/check/check_x11_devel
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tools/check/check_crypto_lib	Mon Nov 13 14:01:17 2006 +0000
     1.3 @@ -0,0 +1,11 @@
     1.4 +#!/bin/bash
     1.5 +# CHECK-BUILD CHECK-INSTALL
     1.6 +
     1.7 +function error {
     1.8 +    echo
     1.9 +    echo "  *** Check for crypto library FAILED"
    1.10 +    exit 1
    1.11 +}
    1.12 +
    1.13 +set -e
    1.14 +ldconfig -p | grep -q libcrypto.so || error
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/tools/check/check_openssl_devel	Mon Nov 13 14:01:17 2006 +0000
     3.3 @@ -0,0 +1,11 @@
     3.4 +#!/bin/bash
     3.5 +# CHECK-BUILD
     3.6 +
     3.7 +function error {
     3.8 +    echo
     3.9 +    echo "  *** Check for openssl headers FAILED"
    3.10 +    exit 1
    3.11 +}
    3.12 +
    3.13 +set -e
    3.14 +[ -e /usr/include/openssl/md5.h ] || error
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/tools/check/check_x11_devel	Mon Nov 13 14:01:17 2006 +0000
     4.3 @@ -0,0 +1,11 @@
     4.4 +#!/bin/bash
     4.5 +# CHECK-BUILD
     4.6 +
     4.7 +function error {
     4.8 +    echo
     4.9 +    echo "  *** Check for x11 headers FAILED"
    4.10 +    exit 1
    4.11 +}
    4.12 +
    4.13 +set -e
    4.14 +[ -e /usr/include/X11/keysymdef.h ] || error