isc-config.sh.in revision 0aec2246a17ece5bf15223795368162891dc7886
#
# Copyright (C) 2000, 2001 Internet Software Consortium.
#
# Permission to use, copy, modify, and distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
# DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
# INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
# $Id: isc-config.sh.in,v 1.10 2001/04/16 22:29:55 bwelling Exp $
usage()
{
cat << EOF
Usage: isc-config [OPTIONS] [LIBRARIES]
Options:
[--prefix[=DIR]]
[--exec-prefix[=DIR]]
[--version]
[--libs]
[--cflags]
Libraries:
isc
isccc
isccfg
dns
lwres
EOF
exit $1
}
if test $# -eq 0; then
fi
while test $# -gt 0; do
case "$1" in
*) optarg= ;;
esac
case "$1" in
--prefix=*)
if test "x$exec_prefix_set" = x ; then
fi
;;
--prefix)
echo_prefix=true
;;
--exec-prefix=*)
;;
--exec-prefix)
echo_exec_prefix=true
;;
--version)
echo @BIND9_VERSION@
exit 0
;;
--cflags)
echo_cflags=true
;;
--libs)
echo_libs=true;
;;
isc)
libisc=true;
;;
libisccc=true;
libisc=true;
;;
libisccfg=true;
libisc=true;
;;
dns)
libdns=true;
libisc=true;
;;
liblwres=true;
;;
*)
esac
shift
done
if test x"$echo_prefix" = x"true" ; then
echo $prefix
fi
if test x"$echo_exec_prefix" = x"true" ; then
echo $exec_prefix
fi
if test x"$echo_cflags" = x"true"; then
includes="-I${exec_prefix}/include"
if test x"$libisc" = x"true"; then
fi
echo $includes
fi
if test x"$echo_libs" = x"true"; then
if test x"$liblwres" = x"true" ; then
fi
if test x"$libdns" = x"true" ; then
fi
if test x"$libisccfg" = x"true" ; then
fi
if test x"$libisccc" = x"true" ; then
fi
if test x"$libisc" = x"true" ; then
needothers=true
fi
if test x"$needothers" = x"true" ; then
fi
echo $libs
fi