prereq.sh revision bf8267aa453e5d2a735ed732a043b77a0b355b20
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd#!/bin/sh
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd#
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd# Copyright (C) 2004, 2007 Internet Systems Consortium, Inc. ("ISC")
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd# Copyright (C) 2000, 2001 Internet Software Consortium.
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd#
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd# Permission to use, copy, modify, and/or distribute this software for any
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd# purpose with or without fee is hereby granted, provided that the above
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd# copyright notice and this permission notice appear in all copies.
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd#
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen# AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd# PERFORMANCE OF THIS SOFTWARE.
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd
d229f940abfb2490dee17979e9a5ff31b7012eb5rbowen# $Id: prereq.sh,v 1.7 2007/06/19 23:47:05 tbox Exp $
3f08db06526d6901aa08c110b5bc7dde6bc39905nd
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bndif $PERL -e 'use Net::DNS;' 2>/dev/null
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bndthen
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd :
3f08db06526d6901aa08c110b5bc7dde6bc39905ndelse
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd echo "I:This test requires the Net::DNS library." >&2
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bnd exit 1
8574d86b9ec3be36b7f54ed0547a0ee5d60dbd6bndfi
ad74a0524a06bfe11b7de9e3b4ce7233ab3bd3f7nd